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: Difference between CharacterAdded and PlayerAdded?

Previous Thread :: Next Thread 
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 10:48 AM
What do they both do and whats the difference.
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
21 Aug 2013 10:50 AM
Player Added is when a client actually is added to the server

Character Added is fired when the player's character respawns into the workspace.
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
21 Aug 2013 10:50 AM
Player.CharacterAdded is fired when the character is loaded
Players.PlayerAdded is fired when a player joins the game
Report Abuse
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 10:51 AM
For making a game, Which one is more perfered?
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
21 Aug 2013 10:51 AM
Both
Report Abuse
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 10:54 AM
Character added would look something like this?

game.Players.CharacterAdded:connect(function(char)
print("Character Added")
end)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
21 Aug 2013 10:55 AM
CharacterAdded is not a member of players
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
21 Aug 2013 10:55 AM
CharacterAdded event is fired from a player


PlayerAdded event is fired from the players service
Report Abuse
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 10:57 AM
How fix?

Do I need to put Character added in PlayerAdded?

Report Abuse
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 11:06 AM
Bump?
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
21 Aug 2013 11:09 AM
game.Players.PlayerAdded:connect(function(player)

player.CharacterAdded:connect(function(character)
character.Humanoid.Health = 0
end)
end)
Report Abuse
Simpleism is not online. Simpleism
Joined: 17 Jun 2013
Total Posts: 158
21 Aug 2013 11:10 AM
Ok, I thought so, Thanks a ton.
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