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

Having trouble making AI's. Help! Please?

My friend has made AI's (humanoids that move around randomly and jump by themselves) and it's really cool, but I have tried to replicate it and not getting results! Help!

  1. How do I make the Humanoid (just a model of me) move (actually walk) to a certain point?
  2. How do I make the Humanoid actually jump? I know basic stuff, just don't know this. I would appreciate help!

2 answers

Randomness is the opposite of intelligence.

Humanoid:MoveTo(Vector3 location, Part part) will cause the character of the humanoid to walk to the location.

Humanoid.Jump=true causes the character to jump once and is set to false immediately after.

http://wiki.roblox.com/index.php?title=Humanoid

Look at the different methods and properties. If you want a humanoid to move just put this in:

humanoid = script.Parent:findFirstChild("Humanoid") humanoid:MoveTo(Vector3)

If I remember right, if you want a humanoid to jump you do:

humanoid.Jump = true

I may be wrong because this is just off the top of my head but those are the answers you were looking for correct?

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