Solved block 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.

OutRey

New Member
Feb 8, 2019
5
0
0
28
hello
I want the command to be executed when player click on the block
how i can make this
 
code_language.skript:
on click on dirt:
    player command "broadcast %player% is a noob .-."
Hope this heps, @OutRey
 
code_language.skript:
on rightclick on <block>:
make player excute command "<command>" #if make player excute command didn't work try excute player command "command"
or you can use like this:
on rightclick on <block>:
excute console command "give %player% <item> "
#if you need it




idk but this may work
 
code_language.skript:
on rightclick on <block>:
make player excute command "<command>" #if make player excute command didn't work try excute player command "command"
or you can use like this:
on rightclick on <block>:
excute console command "give %player% <item> "
#if you need it




idk but this may work
I already told him how, why repeat?
 
Vrgani i just wanted to write for him before you do but i forgot how to put the [.CODE=SKRIPT] [/CODE] but ok
 
Code:
on click on dirt:
    location of event-block is location at 100.5, 60.5, 100.5 in world "world" # dont forgot to add .5
    make player execute command "something"
 
thx
[doublepost=1549712112,1549711309][/doublepost]
1ABF222E-DF82-41AA-AE07-D03CB21C3BE4_png.jpg



why does not it work?
Try -101.5, 65.5, -17.5
 
Try
Code:
end portal frame
 
Status
Not open for further replies.