Jump to content

Please help me figure out how to fix this Skript!


BadBoiii

Recommended Posts

Hey, I was on my server and trying to make a farming system so I tried this skript and I'm determined to make it work.
 

every 1 second in "skymine": 
	set {_cropgrowthseconds} to random integer between 6 and 13
	set {_cropgrowthseconds} to "%{_cropgrowthseconds}% seconds"
	set {_cropgrowthseconds} to {_cropgrowthseconds} parsed as timespan
	wait {_cropgrowthseconds}
	loop all players:
		if farmland is within a 30 block radius of loop-player:
			set block above 1 random farmland block within a 30 block radius of loop-player to wheat[age=7]

 

There was 1 error while reloading this Skript:

  • loop-player is not a world (crops.sk, line 7: if farmland is within a 30 block radius of loop-player:')
Link to comment
Share on other sites

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