roblock59
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 155 |
|
|
| 28 Mar 2015 05:24 PM |
local mouse = game.Players.LocalPlayer:GetMouse() local player = game.Players:GetPlayerFromCharacter()
local animation = Instance.new("Animation", player) animation.AnimationId = "http://www.roblox.com/Asset?ID=144911345" animTrack = player:LoadAnimation(animation)
mouse.KeyDown:connect(function(key) if key == "e" then animTrack:Play() end end) |
|
|
| Report Abuse |
|
|
Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 28 Mar 2015 05:26 PM |
| You cant run animations that you dont own/make |
|
|
| Report Abuse |
|
|
roblock59
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 155 |
|
|
| 28 Mar 2015 05:27 PM |
| @ik I have it set 2 my animation |
|
|
| Report Abuse |
|
|
roblock59
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 155 |
|
|
| 28 Mar 2015 05:28 PM |
why doesnt this work?
local mouse = game.Players.LocalPlayer:GetMouse()
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=231269627" local player = game.Players.LocalPlayer.Character animTrack = player.Humanoid:LoadAnimation(animation)
mouse.KeyDown:connect(function(key) if key == "e" then animTrack:Play() end end) |
|
|
| Report Abuse |
|
|
Kalgard
|
  |
| Joined: 11 Nov 2011 |
| Total Posts: 308 |
|
|
| 28 Mar 2015 05:31 PM |
I'm not good with scripts but it looks fine
Perhaps its a animation problem? |
|
|
| Report Abuse |
|
|
roblock59
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 155 |
|
| |
|
|
| 28 Mar 2015 05:42 PM |
Put this before everything;
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
Offer on R$2,535 and send on 9,772 RAP |
|
|
| Report Abuse |
|
|
roblock59
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 155 |
|
|
| 28 Mar 2015 05:45 PM |
I got a error saying
Content failed because HTTP 403 (Asset is not trusted for this place)
even tho its my animation
|
|
|
| Report Abuse |
|
|
|
| 28 Mar 2015 05:48 PM |
You didnt even change the ID
Offer on R$2,535 and send on 9,772 RAP |
|
|
| Report Abuse |
|
|
|
| 28 Mar 2015 05:51 PM |
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character game.Players.LocalPlayer.Character:WaitForChild("Humanoid") local mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key) if key == "e" then local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=231269627" local player = game.Players.LocalPlayer.Character animTrack = player.Humanoid:LoadAnimation(animation) end end)
Offer on R$2,535 and send on 9,772 RAP |
|
|
| Report Abuse |
|
|