block issue

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

DannyGamerDK

New Member
Jul 13, 2023
9
1
3
Code:
on leftclick:
    if clicked block = red stained clay:
        execute console command "eco give %player% 10"

whenever i put this on my sever, if they click any type of clay they get money, not just red stained clay but any colored clay
 
Uhh isnt it red hardened clay instead of stained clay?
Maybe try
Code:
on leftclick:
    if the clicked block is red hardened clay:
        make console execute command "eco give %player% 10
But im not sure with that block..