Advertisement
Guest User

skript

a guest
Feb 6th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. command /vision:
  2. description: Vous permet d'être en gamemode spectateur pendant 15 sec
  3. aliases: /vis
  4. executable by: players
  5. trigger:
  6. if {cooldown.%player%} is set:
  7. stop
  8. if {cooldown.%player%} isn't set:
  9. set {cooldown.%player%} to false
  10. if {cooldown.%player%} is false:
  11. set {cooldown.%player%} to true
  12. set {pos.%player%} to location of player
  13. send message "&c&lTu as 15 Secondes pour voyager en mode spectateur"
  14. execute console command "/gamemode 3 %player%"
  15. wait 15 seconds
  16. teleport player to {pos.%player%}
  17. execute console command "/gamemode 0 %player%"
  18. send message "&c&lTemps ecoulé"
  19. wait 30 minutes
  20. set {cooldown.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement