solved

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

mrzakarea

New Member
Dec 21, 2020
9
0
1
25
need : if player has more 100 {ffapoints.%player%}:
give golden apple 2
else :
if player has less 100 {ffapoints.%player%}:
message "Don't have points"




skript :





command /apple19191919:
world is "ffa"
trigger:
if {ffapoints.%player%} is less 100:
cancel event
message "&cYou Don`t Have Enough Point &4!"
else:
if {ffapoints.%player%} is more 100:
give player Golden apple 3
 
Code:
command /apple19191919:
    trigger:
        player's world is "ffa":
            if {ffapoints.%player%} is greater than 99: #that means if they have 100 or more points it will give them 3 golden apples
                give player 3 golden apple
            else:
                send "&cYou Don't Have Enough Points&4!" to player

(Please use code blocks)
 
Code:
command /apple19191919:
    trigger:
        player's world is "ffa":
            if {ffapoints.%player%} is greater than 99: #that means if they have 100 or more points it will give them 3 golden apples
                give player 3 golden apple
                remove 100 from {ffapoints.%player%}
            else:
                send "&cYou Don't Have Enough Points&4!" to player
 
Remember to mark your thread as solved, and you can look-up some simple skripting tutorials to help you or use the SkUnity Docs for additional help

:^)
 
Status
Not open for further replies.