generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

How to fix this script?

Previous Thread :: Next Thread 
weezywee55 is not online. weezywee55
Joined: 16 Dec 2010
Total Posts: 38
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
weezywee55 is not online. weezywee55
Joined: 16 Dec 2010
Total Posts: 38
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 is not online. 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
AdministratorRights is not online. AdministratorRights
Joined: 19 Sep 2015
Total Posts: 85
23 Sep 2015 02:31 PM
KeyDown is deprecated.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image