| |
|
| |
|
|
| 08 May 2013 10:00 PM |
| Erm? More information please. |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
| |
|
|
| 09 May 2013 04:55 PM |
I've found the code....
name = "player1" model = game.Workspace.OwnerOnly:Clone() game.Workspace.OwnerOnly:remove()
function spawnin(model) mname = model.Name:lower() if mname == name then wait() model.Torso.CFrame = Workspace.OwnerOnly.OwnerPlace.Lobby.OwnerSpawn.CFrame end end
game.Players.PlayerAdded:connect(function(player) if player.Name:lower() == name then model.Parent = Workspace Workspace.VipsPlace.VipsFloors.Owner.BrickColor = BrickColor.new("Medium stone grey") end player.CharacterAdded:connect(spawnin) end)
game.Players.PlayerRemoving:connect(function(player) if player.Name:lower() == name then model.Parent = nil Workspace.VipsPlace.VipsFloors.Owner.BrickColor = BrickColor.new("Really black") end end) |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 09 May 2013 04:57 PM |
| Try checking that model ~= nil when you work with it. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 13 May 2013 10:27 PM |
| There appears to be no error ._. |
|
|
| Report Abuse |
|
|