|
| 25 Nov 2012 02:08 AM |
print 'Hello world!' game.Players.PlayerAdded:connect(function(player) script.clone = LocalPlayer.StarterGear
Instance.new("IntValue") = player.StarterGear
while true do if player.TeamColor == BrickColor.new("White") then wait(5) script.Parent.IntValue = script.Parent.IntValue = 5
elseif player.TeamColor == BrickColor.new("Bright blue") then wait(5) script.Parent.IntValue = script.Parent.IntValue = 100 elseif player.TeamColor == BrickColor.new("Bright red") then wait(3) script.Parent.IntValue = script.Parent.IntValue = 50 elseif player.TeamColor == BrickColor.new("Bright yellow") then wait(3) script.Parent.IntValue = script.Parent.IntValue = 10000 end end it says Workspace.Script:5:unexpected symbol near =
|
|
|
| Report Abuse |
|
|
|
| 25 Nov 2012 02:41 AM |
I'll give you a quick rescript, might work might not. This should give you a different error if there is one.
print("Hello World!") game.Players.PlayerAdded:connect(function(p) script = p.StarterGear v = Instance.new("IntValue", p.StarterGear) v.Value = 5 while wait() do if p.TeamColor == BrickColor.new("White") then wait(5) v.Value = 100 elseif p.TeamColor== BrickColor.new("Bright red") then wait(3) v.Value = 50 elseif p.TeamColor == BrickColor.new("Bright yellow") then wait(3) v.Value = 1000 end end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Nov 2012 10:10 AM |
| no errors but doesnt ddo anything |
|
|
| Report Abuse |
|
|