Lem0nzz
|
  |
| Joined: 18 Jul 2011 |
| Total Posts: 926 |
|
|
| 17 Feb 2014 05:05 AM |
| I know how you would remove 1 players, anything. Like torso, Humanoid, change walkspeed. But I don't understand how you can't tell it to get all players to die, or change walkspeed, etc.. Can anyone tell me how you would type that?? |
|
|
| Report Abuse |
|
|
Lem0nzz
|
  |
| Joined: 18 Jul 2011 |
| Total Posts: 926 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 17 Feb 2014 05:12 AM |
for i,v in pairs(game.Players:GetChildren())do -- This is how you get all of the players, or you could use PlayerAdded, and some other events that I prob don't remember,
ex:
for i,v in pairs(game.Players:GetChildren())do -- you need to include Character after the Player, v.Character, to find what player, because 'for i,v in pairs' finds 'all' objects in the game or workspace v.Character:BreakJoints() -- kills, v.Character.Humanoid.WalkSpeed=0 -- frozen end -- end the event |
|
|
| Report Abuse |
|
|
Lem0nzz
|
  |
| Joined: 18 Jul 2011 |
| Total Posts: 926 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 17 Feb 2014 05:18 AM |
http://wiki.roblox.com/index.php/PlayerAdded_(Event) http://wiki.roblox.com/index.php/CharacterAdded_(Event) http://wiki.roblox.com/index.php?title=ChildAdded_(Event) http://wiki.roblox.com/index.php/Conditional_statement |
|
|
| Report Abuse |
|
|