command /sala:
trigger:
if player has permission "sala.use":
chance of 35%:
message "&c+1 (poza lui DarkHacks)" to player
give player magma with name "&c+1 Viata"
else if player has permission "sala.use":
chace of 65%:
send "&a&lNope"
else if player doesn't have permission "sala.use":
send "&c&lNu ai abonament la sala"
wait 15 seconds
trigger:
if player has permission "sala.use":
chance of 35%:
message "&c+1 (poza lui DarkHacks)" to player
give player magma with name "&c+1 Viata"
else if player has permission "sala.use":
chace of 65%:
send "&a&lNope"
else if player doesn't have permission "sala.use":
send "&c&lNu ai abonament la sala"
wait 15 seconds
Thats what i did there but when a player without the permission execute the command and have the chance he can execute it without the permission. Sorry if you dont understand. What i did wrong?
I use skript on version » 1.12.2
Last edited: