Valgard
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 1508 |
|
|
| 09 Jul 2013 07:57 PM |
It works for some members, but for others it doesn't. It makes no sense to me, and I can't see what's wrong.
local player = game.Players.LocalPlayer
script.Parent.Allies.Visible = false
script.Parent.IC.MouseButton1Click:connect(function() if player:IsInGroup(766723) then --//RS player.TeamColor = BrickColor.new("Bright blue") x = Instance.new("IntValue",player) x.Name = "RAN" script.Parent.Loading.Visible = true wait(.5) -- Time between text changing script.Parent.Loading.Text = "Loading" wait(1) script.Parent.Loading.Text = "Loading." wait(1) script.Parent.Loading.Text = "Loading.." wait(1) script.Parent.Loading.Text = "Loading..." wait(1) script.Parent.Loading.Text = "Entering" wait(.5) player.Character:BreakJoints() else script.Parent.IC.Visible = false end end)
script.Parent.Raiders.MouseButton1Click:connect(function() if player:IsInGroup(766723) then --//RS HERE script.Parent.Raiders.Visible = false else player.TeamColor = BrickColor.new("Bright red")
x = Instance.new("IntValue",player) x.Name = "RAN" script.Parent.Loading.Visible = true wait(2) -- Time between text changing script.Parent.Loading.Text = "Loading" wait(.5) script.Parent.Loading.Text = "Loading." wait(.5) script.Parent.Loading.Text = "Loading.." wait(.5) script.Parent.Loading.Text = "Loading..." wait(.5) script.Parent.Loading.Text = "Entering" wait(.5) player.Character:BreakJoints() player.Character:BreakJoints() wait(3) end end)
script.Parent.Allies.MouseButton1Click:connect(function() if player:IsInGroup(667) then --//ALLIES player.TeamColor = BrickColor.new("Bright yellow") x = Instance.new("IntValue",player) x.Name = "RAN" script.Parent.Loading.Visible = true wait(2) -- Time between text changing script.Parent.Loading.Text = "Loading" wait(.5) script.Parent.Loading.Text = "Loading." wait(.5) script.Parent.Loading.Text = "Loading.." wait(.5) script.Parent.Loading.Text = "Loading..." wait(.5) script.Parent.Loading.Text = "Entering" wait(.5) player.Character:BreakJoints() player.Character:BreakJoints() else script.Parent.Allies.Visible = false end end) |
|
|
| Report Abuse |
|
|
Valgard
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 1508 |
|
|
| 09 Jul 2013 08:00 PM |
| No one can find a problem? |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2013 08:02 PM |
| Atleast tell us what the output says. |
|
|
| Report Abuse |
|
|
Valgard
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 1508 |
|
|
| 09 Jul 2013 08:04 PM |
18:03:40.853 - local player = game.Players.LocalPlayer
script.Parent.Alli:3: attempt to index global 'script' (a nil value) 18:03:40.856 - Script "local player = game.Players.LocalPlayer
script.Parent.Alli", Line 3 18:03:40.857 - stack end
I have no clue what that means. |
|
|
| Report Abuse |
|
|
Valgard
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 1508 |
|
| |
|
Valgard
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 1508 |
|
|
| 09 Jul 2013 08:06 PM |
| Some players can click it, others can't. |
|
|
| Report Abuse |
|
|