Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {Drop.pozwol.} = false
- {Ity.daj.} = true
- on login:
- if {Ity.daj.%player%} is true:
- clear player's inventory
- wait 2 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- give enchanted book named "&c&lMenu serwera" to slot 0 of player's inventory
- wait 0.8 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- give ender pearl named "&e&lMagiczna Perla" to slot 1 of player's inventory
- wait 0.8 tick
- play raw sound "note.snare" at player with pitch 1 volume 8
- give clock named "&7&lGracze: &a&lWidoczni" to slot 8 of player's inventory
- else:
- stop
- command /lobbyity [<text>]:
- trigger:
- if arg 1 is not set:
- send "/lobbyity drop lub wejscie- ustawia drop na true/false lub wejscie na true/false"
- if arg 1 is "drop":
- if {Drop.pozwol.%player%} is false:
- set {Drop.pozwol.%player%} to true
- send "drop ustawiono na %{Drop.pozwol.%player%}%"
- else:
- set {Drop.pozwol.%player%} to false
- send "drop ustawiono na %{Drop.pozwol.%player%}%"
- if arg 1 is "wejscie":
- if {Ity.daj.%player%} is false:
- set {Ity.daj.%player%} to true
- send "Ity dawane na wejsciu ustawiono na %{Ity.daj.%player%}%"
- else:
- set {Ity.daj.%player%} to false
- send "Ity dawane na wejsciu ustawiono na %{Ity.daj.%player%}%"
- on drop:
- if {Drop.pozwol.%player%} is false:
- cancel the event
- give air to slot 2 of player's inventory
- give air to slot 3 of player's inventory
- give air to slot 4 of player's inventory
- give air to slot 5 of player's inventory
- give air to slot 6 of player's inventory
- give air to slot 7 of player's inventory
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement