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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 158 |
|
|
| 21 Aug 2013 10:51 AM |
| For making a game, Which one is more perfered? |
|
|
| Report Abuse |
|
|
| |
|
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
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 21 Aug 2013 10:55 AM |
| CharacterAdded is not a member of players |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2013 10:55 AM |
CharacterAdded event is fired from a player
PlayerAdded event is fired from the players service |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 158 |
|
| |
|
|
| 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
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 158 |
|
|
| 21 Aug 2013 11:10 AM |
| Ok, I thought so, Thanks a ton. |
|
|
| Report Abuse |
|
|