|
| 13 Aug 2014 07:05 PM |
I changed it back to a normal script, but it still refuses to function and its not giving me any output
game.Players.PlayerAdded:connect(function(player) plyrs = game.Players:GetPlayers() for a,b in pairs(plyrs) do new = script.Parent.NewPlayer:Clone() new.Parent = b.PlayerGui.Leaderboard.PlayerList b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Text = player.Name b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Visible = true if script.Parent.PlayerList:FindFirstChild("Last") then b.PlayerGui.Leaderboard.PlayerList.NewPlayer:TweenPosition(UDim2.new(0, 0, 0, script.Parent.PlayerList.Last.Position.Y.Offset + 25), "Out", "Quad", 3, true) b.PlayerGui.Leaderboard.PlayerList.Last.Name = "Player" b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" elseif script.Parent.PlayerList:FindFirstChild("Last") == nil then b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" end end end) |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2014 07:08 PM |
game.Players.PlayerAdded:connect(function(player) local plyrs = game.Players:GetPlayers() for a,b in pairs(plyrs) do local new = script.Parent.NewPlayer:Clone() new.Parent = b.PlayerGui.Leaderboard.PlayerList b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Text = player.Name b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Visible = true if script.Parent.PlayerList:FindFirstChild("Last") then b.PlayerGui.Leaderboard.PlayerList.NewPlayer:TweenPosition(UDim2.new(0, 0, 0, b.PlayerGui.Leaderboard.PlayerList.Last.Position.Y.Offset + 25), "Out", "Quad", 3, true) b.PlayerGui.Leaderboard.PlayerList.Last.Name = "Player" b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" else b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" end end end)
Developer at Enumeration | UndefinedVariable/MountainSnow |
|
|
| Report Abuse |
|
|
dslorde
|
  |
| Joined: 17 Aug 2009 |
| Total Posts: 12962 |
|
|
| 13 Aug 2014 07:12 PM |
since i cant be bothered reading these rn, what actually IS the problem? i mean you probably fixed it well but still
darude - sandstorm |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Aug 2014 07:24 PM |
game.Players.PlayerAdded:connect(function(player) local plyrs = game.Players:GetPlayers() for a,b in pairs(plyrs) do local new = b.PlayerGui.Leaderboard.PlayerList.NewPlayer:Clone() new.Parent = b.PlayerGui.Leaderboard.PlayerList b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Text = player.Name b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Visible = true if b.PlayerGui.Leaderboard.PlayerList:FindFirstChild("Last") then b.PlayerGui.Leaderboard.PlayerList.NewPlayer:TweenPosition(UDim2.new(0, 0, 0, b.PlayerGui.Leaderboard.PlayerList.Last.Position.Y.Offset + 25), "Out", "Quad", 3, true) b.PlayerGui.Leaderboard.PlayerList.Last.Name = "Player" b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" else b.PlayerGui.Leaderboard.PlayerList.NewPlayer.Name = "Last" end end end)
Developer at Enumeration | UndefinedVariable/MountainSnow |
|
|
| Report Abuse |
|
|
Stefan631
|
  |
| Joined: 23 Dec 2010 |
| Total Posts: 1350 |
|
| |
|
|
| 13 Aug 2014 07:25 PM |
Hey Stefan.
Developer at Enumeration | UndefinedVariable/MountainSnow |
|
|
| Report Abuse |
|
|
| |
|