right click detection doesnt work

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

awsome101

Member
Jan 9, 2024
2
0
1
24
I have a skript that detects if you right-click on gray wool using kelp. It works for me, even when I de-op myself. But for some reason, it doesn't teleport other players when they try. I'm not sure why this happens. But I'd like to fix it

Code:
on right click on gray wool:
    player is holding kelp
    command "/tp %player% 427 6 339"
    remove kelp from player
 
You can use Skript to teleport the player:

Code:
on right click on gray wool:
    player is holding kelp
    teleport the player to location 427, 6, 339 in world of player
    remove kelp from player
 
You can use Skript to teleport the player:

Code:
on right click on gray wool:
    player is holding kelp
    teleport the player to location 427, 6, 339 in world of player
    remove kelp from player
Alright, I'm currently out so I'll test it later and let you know how it goes.