Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ss-teleport:
- description: Teleport all non-captains to their positions
- usage: /ssteleport
- permission: sharpshooter.admin
- permission message: &b&lNo.
- trigger:
- loop all players:
- heal the loop-player
- if {captain.%loop-player%} is false:
- set the loop-player's gamemode to adventure
- apply JUMP 250 to the loop-player for 50000 seconds
- apply SLOW 250 to the loop-player for 50000 seconds
- apply BLINDNESS 10 to the loop-player for 50000 seconds
- broadcast "{@Prefix} Teleporting players in 3 seconds!"
- wait 1 second
- broadcast "{@Prefix} Teleporting players in 2 seconds!"
- wait 1 second
- broadcast "{@Prefix} Teleporting players in 1 second!"
- wait 1 second
- broadcast "{@Prefix} Teleporting all players to their pads!"
- loop all players:
- if {captain.%loop-player%} is false:
- add 1 to {warps.count}
- broadcast "{@Prefix} Teleported &6%loop-player% &cto their pad!"
- damage the loop-player by 3.1 hearts
- if {warps.count} is equal to 1:
- command "/warp SS1 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 2:
- command "/warp SS2 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 3:
- command "/warp SS3 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 4:
- command "/warp SS4 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 5:
- command "/warp SS5 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 6:
- command "/warp SS6 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 7:
- command "/warp SS7 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 8:
- command "/warp SS8 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 9:
- command "/warp SS9 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 10:
- command "/warp SS10 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 11:
- command "/warp SS11 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 12:
- command "/warp SS12 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 13:
- command "/warp SS13 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 14:
- command "/warp SS14 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 15:
- command "/warp SS15 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 16:
- command "/warp SS16 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 17:
- command "/warp SS17 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 18:
- command "/warp SS18 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 19:
- command "/warp SS19 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 20:
- command "/warp SS20 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 21:
- command "/warp SS21 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 22:
- command "/warp SS22 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 23:
- command "/warp SS23 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 24:
- command "/warp SS24 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 25:
- command "/warp SS25 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 26:
- command "/warp SS26 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 27:
- command "/warp SS27 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 28:
- command "/warp SS28 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 29:
- command "/warp SS29 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 30:
- command "/warp SS30 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 31:
- command "/warp SS31 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 32:
- command "/warp SS32 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 33:
- command "/warp SS33 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 34:
- command "/warp SS34 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 35:
- command "/warp SS35 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 36:
- command "/warp SS36 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 37:
- command "/warp SS37 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 38:
- command "/warp SS38 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 39:
- command "/warp SS39 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 40:
- command "/warp SS40 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 41:
- command "/warp SS41 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 42:
- command "/warp SS42 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 43:
- command "/warp SS43 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 44:
- command "/warp SS44 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 45:
- command "/warp SS45 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 46:
- command "/warp SS46 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 47:
- command "/warp SS47 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 48:
- command "/warp SS48 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 49:
- command "/warp SS49 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 50:
- command "/warp SS50 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 51:
- command "/warp SS51 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 52:
- command "/warp SS52 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 53:
- command "/warp SS53 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 54:
- command "/warp SS54 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 55:
- command "/warp SS55 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 56:
- command "/warp SS56 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 57:
- command "/warp SS57 %loop-player%"
- wait 1 tick
- if {warps.count} is equal to 58:
- command "/warp SS58 %loop-player%"
- wait 1 tick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement