|
| 19 Jun 2012 06:45 PM |
I haven't done scripting in a while and I don't know wht is wrong with this.
function onPlayerEntered(newPlayer) if newPlayer:IsInGroup(157284) then local item1 = game.Lighting.Turtle:clone() item1.Parent = newPlayer.Backpack end end
function onPlayerEntered(newPlayer) newPlayer.Changed:connect(function (property) if (property == "Character") then onPlayerRespawned(newPlayer) end end
game.Players.ChildAdded:connect(onPlayerEntered)
inb4urdumb |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 06:47 PM |
| The purpose of this script was to make it so if you are in that group, you would get a turtle hidden in the lighting. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 06:47 PM |
Lol.
A tutle xD
~Leave me in the city with 50 bucks and watch me come back a millionaire~ |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 06:48 PM |
Try this:
Game.Players.PlayerAdded:connect(function(newPlayer) newPlayer.CharacterAdded:connect(function(char) if newPlayer:IsInGroup(157284) then Game.Lighting.Turtle:Clone().Parent = newPlayer.Backpack end end) end)
† KMXD † |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 06:48 PM |
| That was of no help to me. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 06:48 PM |
| Thank you nightmare for trying. |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 19 Jun 2012 06:49 PM |
game.Players.PlayerAdded:connect(function(plyr) if not plyr:IsInGroup(157284) then return end plyr.CharacterAdded:wait() game.Lighting.Turtle:Clone().Parent = plyr.Backpack game.Lighting.Turtle:Clone().Parent = plyr.StarterGear end)
Maybe? |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 07:07 PM |
Nightmare's worked. Thanks for trying Spectrum! :P |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 07:08 PM |
K*
No problem, and there's no doubt in my mind that Spectrum's would have worked anyways.
† KMXD † |
|
|
| Report Abuse |
|
|