Need help

  • 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.

Duuck

New Member
Aug 19, 2021
6
0
1
23
command /travel:
trigger:
if player has permission "area1.buy"
If {strength.%player%} >= 200:
remove 200 from %{strength.%player%}%
set players spawn to 402 72 516.5
else:
send: "&cYou are too weak to travel"

This will not work, the strength thing is my currency and i want to make a location shop so that when a player buys a location it sets their spawn to a new area and teleports them there, also removing 200 of their strength (i would also like this to change as once they have used the command /travel once, the second time id like it to send them somewhere else and set their spawn there and also cost more (like prestiges) if theres an easier way to do this, im all ears!)
 
Status
Not open for further replies.