SuccoDiFrutta Posted March 18, 2022 Share Posted March 18, 2022 (edited) when a player kills another player 3 times he cannot kill him again for 5 minutes Edited March 18, 2022 by SuccoDiFrutta Link to comment Share on other sites More sharing options...
EmptyRooms_ Posted March 19, 2022 Share Posted March 19, 2022 (edited) I made this from scratch so send any errors you get on death: if victim is a player set %attackers-uuid% to {antispawnkill} wait 300 seconds remove %attackers-uuid% to {antispawnkill} ##300 seconds is 5 minutes## on hit: if {antispawnkill} contains %attackers-uuid% cancel event send "&l&cHey&7, You cant do that for another 5 minutes" Edited March 19, 2022 by EmptyRooms_ Sorry misspelled something Link to comment Share on other sites More sharing options...
Wyndexx Posted March 19, 2022 Share Posted March 19, 2022 Change {antispawnkill} to a list {antiSpawnKill::*} Main MC account: Gam3rBoi (VIP in MH) Alt MC account: *Gam3rBoi2147 Farcade server owner Skripter with 6+ months experience + time learning coding concepts Message me through the forums if you need anything! Link to comment Share on other sites More sharing options...
SuccoDiFrutta Posted March 19, 2022 Author Share Posted March 19, 2022 8 hours ago, EmptyRooms_ said: I made this from scratch so send any errors you get on death: if victim is a player set %attackers-uuid% to {antispawnkill} wait 300 seconds remove %attackers-uuid% to {antispawnkill} ##300 seconds is 5 minutes## on hit: if {antispawnkill} contains %attackers-uuid% cancel event send "&l&cHey&7, You cant do that for another 5 minutes" Link to comment Share on other sites More sharing options...
EmptyRooms_ Posted March 20, 2022 Share Posted March 20, 2022 10 hours ago, SuccoDiFrutta said: I made a mistake put {antispawnkill} to {antispawnkill::*} Link to comment Share on other sites More sharing options...
SuccoDiFrutta Posted March 20, 2022 Author Share Posted March 20, 2022 1 hour ago, EmptyRooms_ said: I made a mistake put {antispawnkill} to {antispawnkill::*} I did it and i have the same errors Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now