Cant clone a gui?

I am trying to clone a GUI for a leaderboard but it isnt working

print("RAN")
					local NewLbFrame = game.ReplicatedStorage:WaitForChild("LeaderboardFrame"):Clone()
					NewLbFrame.Parent = game.StarterGui.ScreenGui.GameFinishe.Holder
					NewLbFrame.Name = Name
					for i, v in pairs(game.Players:GetChildren()) do
						if v.Name == Name then
							NewLbFrame.Presentage.Name = v:WaitForChild("leaderstats").Percentage .. "%"
							NewLbFrame.HighestScore.Name = v:WaitForChild("leaderstats").HighestScore
						end
					end
					NewLbFrame.Position = UDim2.new(0,0, NewLbFrame.Position.Y.Scale + (0.08 * #game.StarterGui.ScreenGui.GameFinishe.Holder:GetChildren()), 0)
					print("RAN")

Is “GameFinishe” the actual name of a GUI element or is that a typo?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.