#Help with Wanted System Skript
1 messages · Page 1 of 1 (latest)
…
Hi! I need help writing my skript. In my server, there are 2 permissions. "team.wanted" and "team.innocent". If a player harms a player who has the "team.innocent" permission, I want the attacker to be placed on "team.wanted' for two minutes, and then revert back to innocent, unless they keep attacking people, then I need the timer to be reset and start counting down from two minutes all over again. any help would be very much appreciated!!! Thank you!
on damage:
if attacker has permission "team.innocent":
add "team.wanted" to player's permissions
remove "team.innocent" from player's permissions
wait 2 minutes
add "team.innocent" to player's permissions
remove "team.wanted" from player's permissions
"```

no errors i guess i am more so looking for advice
should i have posted this in help-2 or 3 if that is the case
Making like a timer system on the attacker's permissions that resets every time the attacker attacks
Idk what you mean but I’m gonna be the first person in existence to sleep
ok