Jump to content

I need an antispawnkill skript


SuccoDiFrutta

Recommended Posts

  • SuccoDiFrutta changed the title to I need an antispawnkill skript

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 by EmptyRooms_
Sorry misspelled something
Link to comment
Share on other sites

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

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"

 

IMG_20220319_201614.jpg

IMG_20220319_201635.jpg

IMG_20220319_201736.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...