Jump to content

Elytra thing


BOXEY

Recommended Posts

i made a skript that give the player a elytra till they land and it will give them there last chestplate back

 

Code

on walk on diamond block:
	if player's facing is east:
		if player is in world "castle-spawn":
			push player forward at speed 1
			push player up at speed 25
			set {lastchest.%player%} to player's chestplate
			wait 1 second
			set player's chestplate to elytra
			wait 2 seconds
			set {elytra.%player%} to true
			
			
		
		
		
on any movement:
	if {elytra.%player%} is set:
		if block below player is not air:
			remove elytra from player
			set player's chestplate to {lastchest.%player%}
			delete {elytra.%player%}

 

Video on next page

 


Video of it

 

 

 

 

Edited by Boxmonkey
New Page
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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