H4xorus
|
  |
| Joined: 30 Jun 2012 |
| Total Posts: 10 |
|
|
| 03 Jul 2012 03:35 PM |
game.Players.PlayerAdded:connect(function (player) player.CharacterAdded:connect(function (character) if character.Name == "crazyzee" or if character.Name == "H4xorus" then new.Character.Torso.CFrame = CFrame.new(-50, 284.1, 23) end) end)
output says: 15:33:18 - Workspace.TP:5: unexpected symbol near 'if' |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 03 Jul 2012 03:36 PM |
No need for a second if. And you aare also missing and end.
game.Players.PlayerAdded:connect(function (player) player.CharacterAdded:connect(function (character) if character.Name == "crazyzee" or character.Name == "H4xorus" then new.Character.Torso.CFrame = CFrame.new(-50, 284.1, 23) end end) end) |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 03:36 PM |
if character.Name == "crazyzee" or if character.Name == "H4xorus" then
The 'if' in the middle should not be there. Also, just check the player name.
if player.Name == "crazyzee" or player.Name == "H4xorus" then |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 03 Jul 2012 03:37 PM |
| Nice latetoast there crazy xD |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2012 03:40 PM |
| also Character.Torso.CFrame = CFrame.new(-50, 284.1, 23) |
|
|
| Report Abuse |
|
|
WhiteRain
|
  |
| Joined: 24 Apr 2010 |
| Total Posts: 2723 |
|
|
| 03 Jul 2012 03:42 PM |
Actually it's character.Torso.... Anyways updated code: game.Players.PlayerAdded:connect(function (player) player.CharacterAdded:connect(function (character) if character.Name == "crazyzee" or character.Name == "H4xorus" then character.Torso.CFrame = CFrame.new(-50, 284.1, 23) end end) end) |
|
|
| Report Abuse |
|
|