Skript version 2.3.5
Please help, my skript is not working.
If you delete delete the check for the name and id, it will work.
Please help, my skript is not working.
If you delete delete the check for the name and id, it will work.
Code:
# Kallians
on place:
if player's tool is a brewing stand:
if name of player's tool contains "&c&l☩ &a&lKallian &c&l☩":
remove player's tool from player
set {brewing.stand.%location of event-block%} to 1
message "&7[&6&l!&7]&f You placed Kallian"
stop
on right click on brewing stand:
if event-block is a brewing stand named "&c&l☩ &a&lKallian &c&l☩":
if {brewing.stand.%location of event-block%} is 1:
cancel event
loop players in radius 20 around player:
show 200 "cloud" particles at location of player for loop-player offset by 2, 2, 2
remove Jump from player
remove slowness from player
remove regeneration from player
remove night Vision from player
wait 1 tick
apply slowness 2 to the player for 10 seconds
apply jump 1 to the player for 5 seconds
apply Regeneration 2 to the player for 5 seconds
apply Night Vision to the player for 20 seconds
on break:
if event-block is a brewing stand named "&c&l☩ &a&lKallian &c&l☩":
if {brewing.stand.%location of event-block%} is 1:
cancel event
set event-block to air
delete {brewing.stand.%location of event-block%}
message "&7[&6&l!&7]&f You removed Kallian"
stop