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 » Scripting Helpers
Home Search
 

Animations

Previous Thread :: Next Thread 
trogyssy is not online. trogyssy
Joined: 29 Oct 2010
Total Posts: 2322
03 Feb 2014 02:53 PM
Sorry, last time I posted this I accidentally turned off replies :P

I'm working on a script that replaces the default animation script within a player with a modified copy I made. Script below:

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)

character.Animate:Destroy()
local Animator = Script.Animations:Clone()
Animator.Parent = character

end)
end)

Everything works up to line 4, not sure about line 5, but line six certainly doesn't work. To complicate things, the script only works the first time a player spawns. Once the player dies, the normal animation script remains in the player. Any ideas?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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