DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
|
| 12 Jan 2014 07:07 PM |
-- Made by DailyTime id = 1017207
game.Players.ChildAdded:connect(function (child) while true do if child:GetRankInGroup(id)==tonumber(59)then game.Lighting.Taser:clone().Parent = child.Backpack end end end)
Because i had this before
-- Made by DailyTime id = 1017207
game.Players.ChildAdded:connect(function (child) if child:GetRankInGroup(id)==tonumber(59)then game.Lighting.Taser:clone().Parent = child.Backpack end end)
and it only did it to one person. |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 12 Jan 2014 07:09 PM |
id = 1017207
game.Players.PlayerAdded:connect(function(child) if child:GetRankInGroup(id)==tonumber(59)then -- What's the tonumber(59) for exactly? game.Lighting.Taser:clone().Parent = child.Backpack end end) |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 12 Jan 2014 07:09 PM |
Do this:
game.Players.PlayerAdded:connect(function(Player) print(Player.Name) --code end) |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 12 Jan 2014 07:10 PM |
| Oh wait never mind, I just realized what it was for. |
|
|
| Report Abuse |
|
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
|
| 12 Jan 2014 07:21 PM |
-- Made by DailyTime id = 1017207
game.Players.PlayerAdded:connect(function(Player) print(Player.Name) if Player:GetRankInGroup(id)==tonumber(59)then game.Lighting.Taser:clone().Parent = Player.Backpack end end)
only works once and if they reset they don't get it back. |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Jan 2014 07:34 PM |
| also why was you teleporting people to your game lol |
|
|
| Report Abuse |
|
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
|
| 12 Jan 2014 07:35 PM |
| because i do buy i want help not what i do in my life. |
|
|
| Report Abuse |
|
|
| |
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 12 Jan 2014 07:39 PM |
maybe cus tazer is in backpack not startergear
omg
taz = game.Lighting.Tazer taz:Clone().Parent = child.BackPack taz:Clone().Parent = child.StarterGear
boom
mindblown |
|
|
| Report Abuse |
|
|
DailyTime
|
  |
| Joined: 09 Nov 2013 |
| Total Posts: 285 |
|
|
| 12 Jan 2014 07:47 PM |
It works but it does not work when they reset:
-- Made by DailyTime id = 1017207
game.Players.PlayerAdded:connect(function(Player) if Player:GetRankInGroup(id)==tonumber(59)then game.Lighting.Taser:clone().Parent = Player.Backpack end end) |
|
|
| Report Abuse |
|
|