|
| 29 Aug 2015 02:00 PM |
my animation never loads
repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character local player = game.Players.LocalPlayer
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=290865826"
local Humanoid = player.Character.Humanoid local UIS = game:GetService("UserInputService") local processed= false
function inputBegan(object, processed) if processed then return end processed=false if object.KeyCode == Enum.KeyCode.L then
game:GetService("Chat"):Chat(player.Character.Head, "Geppo!") for i= 1,3 do local animTrack = Humanoid:LoadAnimation(animation) animTrack:Play() local x=Instance.new("Part") x.Parent=workspace x.CFrame = player.Character.Torso.CFrame*CFrame.new(0,-4,0) x.Anchored=true x.CanCollide=false local z=Instance.new("SpecialMesh",x) z.MeshId="http://www.roblox.com/asset/?id=1095708" z.TextureId="http://www.roblox.com/asset/?id=1095709" z.Scale=Vector3.new(6,6,6) local y = Instance.new("BodyVelocity") y.maxForce = Vector3.new(math.huge, math.huge, math.huge) y.velocity = Vector3.new(0,20,0) y.Parent = player.Character.Torso game.Debris:AddItem(x,2) wait(1) y:Destroy() wait(0.4) end wait(5) processed=true end end
UIS.InputBegan:connect(inputBegan) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 30 Aug 2015 10:21 PM |
| this has been bugging me for days |
|
|
| Report Abuse |
|
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 30 Aug 2015 10:28 PM |
Try doing
http://www.roblox.com/Item.Aspx?ID=290865826
i have the same problems with animations
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$86 Tx914 |
|
|
| Report Abuse |
|
|
| |
|
xlaser23
|
  |
| Joined: 10 Dec 2011 |
| Total Posts: 20341 |
|
|
| 30 Aug 2015 10:41 PM |
Try looking at this example my friend showed
http://www.roblox.com/new-item?id=290813213
http://www.roblox.com/xla-item?id=290739801http://www.roblox.com/aser-item?id=290739819http://www.roblox.com/23-item?id=290739831 R$86 Tx914 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|