xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 24 Mar 2016 10:00 PM |
uis.InputBegan:connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.F then local id = "http://www.roblox.com/asset?id=387152305" local human = char.Humanoid if human then local load = human:LoadAnimation(id) if load then load:Play() end end end end)
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$11,100 Tx651 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 10:25 PM |
| Can you give us the error? |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2016 10:27 PM |
Nevermind.
You are calling the LoadAnimation with a string parameter. You need to pass it an Animation parameter. You need to create a new instance of an Animation and pass that as the parameter instead:
http://wiki.roblox.com/index.php?title=API:Class/Animation |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 24 Mar 2016 10:37 PM |
ya i used a pre-existing one
thx bro
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$11,100 Tx651 (づ ゚ ³ ゚)づ |
|
|
| Report Abuse |
|
|