If player is in "world" not working??

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

bebeli555

Member
Feb 6, 2020
28
0
0
25
#Temporary /fly perk
On right click holding a barrier:
if player is in world "world":
remove 1 barrier from player's inventory
message "&6You can now fly around! &4(Flight will end in 5 Minutes!)"
make console execute "fly %player% enabled"
wait 5 minutes
make console execute "fly %player% disabled"
message "&6You're temporary flight perk has &4ran out of time!"


on place of barrier:
if player is in world "world":
set event-block to air

So i set "if player is in world "world":
but it doesnt seem to work i tested it and the skript
affects every world not just the "world"? how can i fix this
doesnt display any error messages. it works fine but it just affects every world when it
should only affect the players in "world"
[doublepost=1581425460,1581424876][/doublepost]Nvm i figured it out
 
Status
Not open for further replies.