Solved HELP ON RIGHT CLICK!!

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

DaviPatrick

Member
Mar 16, 2018
23
0
0
25
CODE:

on right click:
if player is holding diamond sword named "&aMinigames":
open chest named "&aMinigames" with 3 rows to player

ERROR:
'chest' named "&aMinigames" with 3 rows to player is not an entity type
[doublepost=1521164884,1521164455][/doublepost]bump
 
CODE:

on right click:
if player is holding diamond sword named "&aMinigames":
open chest named "&aMinigames" with 3 rows to player

ERROR:
'chest' named "&aMinigames" with 3 rows to player is not an entity type
[doublepost=1521164884,1521164455][/doublepost]bump
Beleive the syntax should be
code_language.skript:
open chest with 3 rows named "name" to player
 
There's syntax for giving money or adding/taking from a balance in the documentation. If you want to have it give them money when you click something in the GUI, I would recommend using tuske instead. It's easier and less buggy.
 
There's syntax for giving money or adding/taking from a balance in the documentation. If you want to have it give them money when you click something in the GUI, I would recommend using tuske instead. It's easier and less buggy.
But i need to show his money.
 
Status
Not open for further replies.