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
 

Re: Please HELP everyone has been HELPLESS and not responding

Previous Thread :: Next Thread 
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 07:53 PM
This script isn't working for Back flipping when jumping

game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait()end
local character=player.Character
local animateScript=character.Animate
animateScript.fall.FallAnim.AnimationId="http://www.roblox.com/asset/?id=253014225"
end)
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
26 Jul 2015 07:56 PM
connect to JumpRequest() event on UserInputService.

The setup you have sets it to do a backflip when the player enters not when they press space.


Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 07:59 PM
Where do I find UserInputService?
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
26 Jul 2015 08:00 PM
http://wiki.roblox.com/index.php?title=UserInputService

http://wiki.roblox.com/index.php?title=API:Class/UserInputService/JumpRequest


Use it in a local script.
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:08 PM
Where do I put the script at? Also kinda confused on how to do this since I'm not a LUA coder. I only code in Visual Basic
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:18 PM
??
Report Abuse
Sharpy033 is not online. Sharpy033
Joined: 02 Jul 2008
Total Posts: 3851
26 Jul 2015 08:22 PM
faze if you attempted to make a back flip script then you should know what hes talking about
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:24 PM
I've found the script in Toolbox and I'm temping to fix it myself but have failed many times so I'm asking for help.
Report Abuse
fualtyhellboy is not online. fualtyhellboy
Joined: 26 Aug 2012
Total Posts: 283
26 Jul 2015 08:33 PM
So you dont know how to code, and you want us to fix a broken free model?
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:35 PM
I guess you could say that. Since I've failed multiple times yes.
Report Abuse
fualtyhellboy is not online. fualtyhellboy
Joined: 26 Aug 2012
Total Posts: 283
26 Jul 2015 08:39 PM
Read the wiki...
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
26 Jul 2015 08:41 PM
game.Players.PlayerAdded:connect(function(player)
while not player.Character do wait()end
local character=player.Character
local animateScript=character.Animate
animateScript.fall.FallAnim.AnimationId="http://www.roblox.com/asset/?id=253014225"
end)

the problem with this script, (if it even works on the first time, but it looks like it would) is that it only changes the AnimationId of FallAnim every time they join the game. so it would only work once. you need to do it when they respawn too.

game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
local animScript = char:WaitForChild("Animate")
print("anim script loaded")
local fall = animScript:WaitForChild("fall")
print("fall loaded")
local fallAnim = fall:WaitForChild("FallAnim")
print("fallanim loaded")
fallAnim.AnimationId = "rbxassetid://253014225"
end)
end)

if that doesn't work, tell us what output you get
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:43 PM
Tried this it didn't work...
game.Players.PlayerAdded:GetService("UserInputService").JumpRequest:connect(function(player)
while not player.Character do wait()end
local character=player.Character
local animateScript=character.Animate
animateScript.fall.FallAnim.AnimationId="http://www.roblox.com/asset/?id=253014225"
end)

Also tried this and it didn't work
game:GetService("UserInputService").JumpRequest:connect(function(player)
while not player.Character do wait()end
local character=player.Character
local animateScript=character.Animate
animateScript.fall.FallAnim.AnimationId="http://www.roblox.com/asset/?id=253014225"
end)
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
26 Jul 2015 08:46 PM
did you not try my script?
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:47 PM
That doesn't work and the output..
Just a auto-save message is there a place I have to place this LocalScript?
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
26 Jul 2015 08:47 PM
also i suggest you read up on .JumpRequest:

http://wiki.roblox.com/index.php?title=API:Class/UserInputService/JumpRequest
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
26 Jul 2015 08:48 PM
oh dear god, don't tell my you posted my script in a local script

and your local script probably wasn't running either

put my script in a server script, in ServerScriptService
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:51 PM
Running your script I get...

anim script loaded
fall loaded
fallanim loaded
20:50:58.777 - httpGet http://www.roblox.com/asset/?id=253014225&serverplaceid=95206881&clientinsert=0 failed. Trying again. Error: HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place). Elapsed time: 0.235005
20:50:59.026 - Content failed for http://www.roblox.com/Asset/?id=253014225&serverplaceid=95206881&clientinsert=0 because HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place)
20:50:59.030 - Content failed because HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place)
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 08:58 PM
Errors above^^
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
26 Jul 2015 09:01 PM
"HTTP 403 (HTTP/1.1 403 Asset is not trusted for this place)"

that is because you don't own the asset, buddy
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 09:02 PM
Damn it...
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
26 Jul 2015 09:03 PM
Any suggestions so I can have a animation so when jumping u do a front flip or back flip?
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