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 » Club Houses » Let's Make a Deal
Home Search
 

Re: @SCRIPTERS OF LMAD *URGENT, ANIMATION SCRIPT PLEASE READ*

Previous Thread :: Next Thread 
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:12 AM
local animation = game.Lighting.Animation
repeat wait() until game.Players.LocalPlayer
local player = game.Players.LocalPlayer
local loadanim = player.Character.Humanoid:LoadAnimation(animation)

player.Character.Humanoid.Jumping:connect(function()
wait(.1)

loadanim:Play()
end)

I tried SH, but they didn't have a solution.

I'm trying to make a script, where an animation plays .1 seconds after you jump.

Any help?

The output says that the player is a nil value.

It's in localscript in the startergui, I own the animation, everything is typed right, it just doesn't seem to be working.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:13 AM
This might not work because of how 'Animation' is set up in Lighting;

local animation = game.Lighting:WaitForChild("Animation")
repeat wait() until game.Players.LocalPlayer
local player = game.Players.LocalPlayer
local char = Workspace:WaitForChild(player.Name)
local loadanim = char:WaitForChild("Humanoid"):LoadAnimation(animation)
char:WaitForChild("Humanoid").Jumping:connect(function()
wait(0.1)
loadanim:Play()
end)
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:13 AM
b1


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:14 AM
@Sensei

ty, trying it brb


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:15 AM
I've gotten this output like 30 times before.

02:15:18.666 - Stack Begin
02:15:18.667 - Script 'Plugin_171376220.Script', Line 2
02:15:18.667 - Stack End
Loaded gloo library. Type _G.gloo.Help() for help.
02:15:20.682 - httpGet http://www.roblox.com/asset/?id=197481281&serverplaceid=196991271&clientinsert=0 failed. Trying again. Error: HTTP 403 (Asset is not trusted for this place). Elapsed time: 0.601036
02:15:21.350 - Content failed for http://www.roblox.com/Asset/?id=197481281&serverplaceid=196991271&clientinsert=0 because HTTP 403 (Asset is not trusted for this place)
02:15:21.352 - Content failed because HTTP 403 (Asset is not trusted for this place)


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:17 AM
doesn't work btw


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:18 AM
Thats from your plugins, there are no real errors. Real errors would be in red text and would also lead you to where the error came from. Lets say the error came from a script in BasePlate, it would look like this;


Red Text>>

...
"game.Workspace.BasePlate.Script," stack end

<<


Something like that^^
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:19 AM
Then why isn't it working qq


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:20 AM
the form it should be in is:

http://www.roblox.com/Asset?ID=197481281 right?

Should I try placing it somewhere else than lighting?


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:20 AM
Because of how the animation is set up, let me re-write it.

Also, tip, use ReplicatedStorage instead of Lighting to store things. Lighting is outdated and inefficient.
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:20 AM
Oh, ok.

So should I put it into replicatedstorage instead whilst waiting for your script?


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Salinas23 is not online. Salinas23
Joined: 28 Dec 2008
Total Posts: 37141
28 Dec 2014 02:22 AM
u fail at defining player

local animation = game.Lighting.Animation
repeat wait() until game.Players.LocalPlayer
local player = game.Players.LocalPlayer
local loadanim = player.Character.Humanoid:LoadAnimation(animation)

player.Character.Humanoid.Jumping:connect(function()
wait(.1)


wtff is that
clone the local script using another script everytime a player SPAWNS
so use

--script in ServerScriptService
game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
animscript:clone().Parent = plr.Character
end)
end)

--LocalScript in ServerStorage
player = game.Players.LocalPlayer
animation = game.ReplicatedStorage.Animation










use ur skills to finish the script


R$1,383
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:23 AM
local player = game.Players.LocalPlayer
repeat wait() until player
local char = Workspace:WaitForChild(player.Name)
char:WaitForChild("Humanoid").Jumping:connect(function()
local animation = Instance.new("Animation")

animation.AnimationId = "http://www.roblox.com/Asset?ID=PUT YOUR ID HERE"

local animTrack = char.Humanoid:LoadAnimation(animation)
animTrack:Play()
end)
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:24 AM
^local script in starterpack/startergui
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:27 AM
Still says it's not trusted for the place...


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:28 AM
It has to be your own animation, not others'
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:28 AM
But it is mine though.


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
28 Dec 2014 02:29 AM
id pls
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:30 AM
197493966

or

197481281


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:30 AM
I tried using both.

Everything works fine til i jump, then it says it's not trusted...


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:32 AM
bump


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:33 AM
kpls


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:35 AM
this happens everytime

i finally figure out how to use animations

then the script doesn't work, and nobody can fix it :/


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Pihs is not online. Pihs
Joined: 26 Dec 2014
Total Posts: 813
28 Dec 2014 02:37 AM
nobody?

qq


Xucs/Leveraged/Tixmaker101/Cuxe - Banned 12/26/2014 - + 55k Post Count
Report Abuse
Europeancow2 is not online. Europeancow2
Joined: 02 Aug 2009
Total Posts: 37979
28 Dec 2014 02:39 AM
gross

just make a script that swaps out a player's jump animation for yours
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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