Solved I can`t find the problem please help me!

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

Dennis12_op

Member
Apr 1, 2020
18
0
0
23
Im trying to mak it disiper when you right click with the name tag and execute 1 command and send "&a&lYou have Succfully claimed Level 1 Pass!"

Code:

Code:
on rightclick holding name tag:
    if name of event-item is "&e&lLevel 1 Pass":
        execute console command "pex user %player% add level1.use"
        send "&a&lYou have succfully claimed, Level 1 Pass!"
        remove name tag named "&e&lLevel 1 Pass" from the player

on rightclick holding name tag:
if name of event-item is "&e&lLevel 1 Pass":
execute console command "pex user %player% add level1.use"
send "&a&lYou have succfully claimed, Level 1 Pass!"
remove name tag named "&e&lLevel 1 Pass" from the player
 
Code:
on right click:
    if player's held item is a name tag:
        if name of player's held item is "&e&lLevel 1 Pass":
            execute console command "pex user %player% add level1.use"
            send "&a&lYou have succfully claimed, Level 1 Pass!"
            remove 1 of held item from player's held item
 
Status
Not open for further replies.