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
 

Re: Function Kick-started on Spawn

Previous Thread :: Next Thread 
davy545 is not online. davy545
Joined: 01 Sep 2008
Total Posts: 199
06 Mar 2013 10:04 PM
I'm not sure how to make a function execute whenever their character spawns.

Please help!
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
06 Mar 2013 10:20 PM
Well I'm pretty sure a character's model is momentarily deleted before they respawn so you use a ChildAdded event type of thing.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
06 Mar 2013 10:22 PM
    Game.Players.PlayerAdded:connect(function( Player )
      Player.CharacterAdded:connect(function( Character )
        --Code
      end )
    end )

¤ ¤ † K M <( •д• )> X D † ¤ ¤
Report Abuse
davy545 is not online. davy545
Joined: 01 Sep 2008
Total Posts: 199
06 Mar 2013 10:25 PM
Thanks!
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