ninja5566
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 5233 |
|
|
| 19 Jul 2013 11:49 PM |
enabled = true script.Parent.Touched:connect(function(hit) if not enabled then return end plr = hit.Parent:findFirstChild("Humanoid") if plr ~= nil then name = hit.Parent.Name enabled = false clone1 = game.Lighting.Motorcycle:clone() clone1.Parent = game.Players[name].Backpack enabled = true end end) ----------------------------------
It keeps spamming me with multiple motorcycles. I only want it to give me one and than lock until I respawn. |
|
|
| Report Abuse |
|
|
| 19 Jul 2013 11:51 PM |
enabled = true script.Parent.Touched:connect(function(hit) if enabled then enabled = false
plr = hit.Parent:findFirstChild("Humanoid")
if plr ~= nil then name = hit.Parent.Name clone1 = game.Lighting.Motorcycle:clone() clone1.Parent = game.Players[name].Backpack wait(1) end
enabled = true end end) |
|
|
| Report Abuse |
|