Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
on damage:
victim is a player:
if player has permission "staff.gamemode":
set gamemode of player to adventure
Else:
stop
on damage:
victim is not a player:
if attacker has permission "staff.gamemode":
set gamemode of attacker to adventure
else:
stop
Is it possible to only do with players?
on damage:
victim is a player:
if attacker has permission "staff.gamemode":
set gamemode of attacker to adventure
else:
stop
Thank you for the information.
I mean it should only activate when the victim is a player not a animal or mob
Best regards Simon
on damage:
victim is a player:
if attacker has permission "staff.gamemode":
set gamemode of attacker to adventure
else:
stop