|
| 24 Oct 2015 07:21 PM |
Hey roblox community, i am just asking for a tiny bit of help with this walk animation script. This is the one off the forums but it keeps saying animate is not a valid member of model. The only thing i really changed was the id and idle to walk so i guess the wiki screwed me over.
This is in a script in ServerScriptStorage
game.Players.ChildAdded:connect(function(player) while not player.Character do wait() end local character = player.Character local animateScript = character.Animate animateScript.walk.Animation1.AnimationId = 'http://www.roblox.com/asset/id=313964912' end)
Thank You :D |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2015 07:25 PM |
game.Players.ChildAdded:connect(function(player) while not player.Character do wait() end local character = player.Character local animateScript = character:WaitForChild("Animate") animateScript:WaitForChild("walk"):WaitForChild("Animation1"):WaitForChild("AnimationId") = 'http://www.roblox.com/asset/id=313964912' end) |
|
|
| Report Abuse |
|
|
|
| 24 Oct 2015 07:36 PM |
| That does not seem to work. The "=" is underlined in red |
|
|
| Report Abuse |
|
|
| |
|
Zaxerion
|
  |
| Joined: 09 Feb 2013 |
| Total Posts: 2304 |
|
|
| 24 Oct 2015 08:25 PM |
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) c:WaitForChild('Animate'):WaitForChild('walk'):WaitForChild('Animation1').AnimationId='id here pls' end) end) |
|
|
| Report Abuse |
|
|