Jump to content

i really need help


Jessica907432

Recommended Posts

on damage of player:
    attacker's tool is gold axe named "&4Ban Hammer":
    if attacker has permission "banhammer.use":
    kick victim
    ban victim due to "U TRASH KID"
    else:
    send "YOU Cant use this L!" to attacker

this makes it so the player whos holding it bans anyone that comes into contact with the hit i tried it but it made it so if anyone hits anyone it bans them pls help (no errors btw)

Link to comment
Share on other sites

On 2/13/2022 at 12:36 AM, Jessica907432 said:
on damage of player:
    attacker's tool is gold axe named "&4Ban Hammer":
    if attacker has permission "banhammer.use":
    kick victim
    ban victim due to "U TRASH KID"
    else:
    send "YOU Cant use this L!" to attacker

this makes it so the player whos holding it bans anyone that comes into contact with the hit i tried it but it made it so if anyone hits anyone it bans them pls help (no errors btw)

let me know if this works

on damage of player:
	attacker's tool is gold axe named "&4Ban Hammer"
	if attacker has permission "banhammer.use":
		kick victim
		ban victim due to "U TRASH KID"
	else:
		send "YOU Cant use this L!" to attacker

 

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...