|
| 23 Sep 2015 01:48 PM |
so i cant get this backflip animation to work when i press the key i set it to
wait(2)
player = game.Players.LocalPlayer Mouse = player:GetMouse() Anim = script.Animation s = player.Character.Humanoid:LoadAnimation(LocalScript.backflop)
Mouse.KeyDown:connect(function(key) if key == "q" then s:Play() end end)
the script is located in starter pack and backflip is in the local script.
also i have a jump animation to make you automaticly front flip can that be interfering with the backflip on key? |
|
|
| Report Abuse |
|
|
|
| 23 Sep 2015 01:49 PM |
| and i set the animations name to backflop because i felt like making an amazing world of gumball reference to hip flop :3 |
|
|
| Report Abuse |
|
|
tears3106
|
  |
| Joined: 15 Jul 2009 |
| Total Posts: 1396 |
|
|
| 23 Sep 2015 01:59 PM |
| Well I didn't have the animations so I commented it out and added a print to mine. I used key:lower() and it worked. |
|
|
| Report Abuse |
|
|
| |
|