Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Humanoid autojump not working?

I'm testing a random propertie of Humanoid and I'm attempting to empower humanoid auto jump, however it isn't working. There's also nothing in the output.

script:

 m = Instance.new("Humanoid", game.Workspace)
m.AutoJumpEnabled = true

Note:I'm a novice at scripting, so I feel stupid posting this since there's likely many individuals who could script this effortlessly with it working. >.<

1 answer

✓ Accepted answer

Humanoids are meant to be in characters (the bodies the players are controlling). Parenting the humanoid to workspace does absolutely nothing.

Also, AutoJumpEnabled makes mobile users automatically jump when hitting an obstacle.

...So you’re not getting any errors because the script is working like it’s supposed to. It’s just probably not working the way you want it to.

Oh, and I know you’re a new scripter, but what were you trying to accomplish? :P

3 comments

0

Ah, alright. Also, I'm not really endeavoring to achieve anything particular, simply practicing and attempting to get used to Lua, so I'll actually be able to think I can move onto more advance and larger scripts. XP.

0

At that point I'll be able to consider achieving something, yet currently, I'm too new to be in any way ready to be scripting something..

0

Thank you for answering!! ^.^

This discussion is preserved as it was. New answers, comments, and votes are closed.