How do you make a falling block from the block your looking at?

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

Cozmicweb

Member
Apr 5, 2021
3
0
1
19
This is what I have so far:

command /fall:
trigger:
spawn falling iron block 5 meters above and 2 meter horizontally in front of the player

When I change iron block to targeted block I get an error. Can anyone help me?
 
Code:
on right click with stick:
  set {_loc} to block 2 infront of player's eyes
  spawn falling block of iron at {_loc}
 
Try this
Code:
set {_type} to type of targeted block
spawn falling {_type}...
 
Status
Not open for further replies.