Jump to content

Recommended Posts

Posted

Hey there! I'm trying to make a skript where when someone moves it places a block below them. A.k.a scaffolding. I just wanted to test this for fun.

 

Anyways the 'on any movement:' doesn't work, maybe because I need an addon I don't know.

Here is the code:


on any movement:
	if event-entity is a player:
		if player is holding a stick named "&bScaffold Stick":
			set block below player to stone

 

Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time. - Thomas Edison

🔨 Keep Developing!

Posted

Hey, try this

on player move:
    if tool of player is stick:
        if name of tool of player is "&bScaffold Stick":
            set block below player to stone

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...