Help With equip effect

  • 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 comminuty!

    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.

Nikunder

Member
Jan 29, 2022
1
0
1
23
I'm trying to create a Gear Upgrade script with variables. But the equip effect cant use the variable as a number for the enchant

Here is the function where it equips the helmet(It's the same as all the other armor pieces)


function tagkit(p: player):
if {_p} has permission "vagt":
give {_p} 1 golden helmet of protection {helprot.%{_p}%}

The whole script is the file below

It's in danish btw
 

Attachments

  • vagtkit.sk
    15.9 KB · Views: 123
Last edited:
Status
Not open for further replies.