Solved Help me weaken/remove melee attacks from tridents on my server

  • Welcome to skUnity!

    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 community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

iLazer

Member
Apr 1, 2022
15
0
1
Hi, i want to make it so that when you melee with a trident that it does significantly less damage, or does not do damage at all. Here is the code i have written, but it does not work:

on left click:
if player's held item is trident:
send "You cant melee with this item" to player
cancel event
stop
 
Hi, i want to make it so that when you melee with a trident that it does significantly less damage, or does not do damage at all. Here is the code i have written, but it does not work:

on left click:
if player's held item is trident:
send "You cant melee with this item" to player
cancel event
stop
Instead of on left click try on damage
 
easy, just gave people weakness 255 when they hold trident (weakness only affects melee)
 
Status
Not open for further replies.