BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 11 Oct 2012 09:02 PM |
| Well recently i have been trying to make miniature humanoids but my scripting isn't helping, they wont move and i have tried over 100 times but all have failed so if you know how to help please post a reply! |
|
|
| Report Abuse |
|
|
| |
|
Sam3260
|
  |
| Joined: 07 Nov 2008 |
| Total Posts: 174 |
|
|
| 12 Oct 2012 02:01 AM |
| If you want to make your humanoid to walk around you need some scripts |
|
|
| Report Abuse |
|
|
Sam3260
|
  |
| Joined: 07 Nov 2008 |
| Total Posts: 174 |
|
|
| 12 Oct 2012 02:02 AM |
| Search "Follow script" in the free models if you want your humanoid to follow the closest player :D |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 12 Oct 2012 05:23 PM |
| I don't want it to follow the closest player i want it to wonder around, i have made humanoids that wonder around i just cant make a small miniature one. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
are31
|
  |
| Joined: 09 Nov 2007 |
| Total Posts: 13767 |
|
|
| 12 Oct 2012 05:27 PM |
| You would just put the script in a 'small character' like you want. Post the script. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 12 Oct 2012 05:39 PM |
Here is the script: local CurrentPart = nil local MaxInc = 16
function onTouched(hit) if hit.Parent == nil then return end
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid == nil then CurrentPart = hit end end
function waitForChild(parent, childName) local child = parent:findFirstChild(childName)
if child then return child end
while true do print(childName)
child = parent.ChildAdded:wait()
if child.Name==childName then return child end end end
local Figure = script.Parent local Humanoid = waitForChild(Figure, "Humanoid") local Torso = waitForChild(Figure, "Torso") local Left = waitForChild(Figure, "Left Leg") local Right = waitForChild(Figure, "Right Leg")
Humanoid.Jump = true
Left.Touched:connect(onTouched) Right.Touched:connect(onTouched)
while true do wait(math.random(2, 6))
if CurrentPart ~= nil then if math.random(1, 2) == 1 then Humanoid.Jump = true end
Humanoid:MoveTo(Torso.Position + Vector3.new(math.random(-MaxInc, MaxInc), 0, math.random(-MaxInc, MaxInc)), CurrentPart) end end |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
|
| 12 Oct 2012 05:40 PM |
| This worked for a larger humanoid but wont work for a smaller one. |
|
|
| Report Abuse |
|
|
BruceAB12
|
  |
| Joined: 19 Jan 2012 |
| Total Posts: 3238 |
|
| |
|