How to hide a Leaderboard stats without removing it?
Thanks
function oa(object) local player = game.Players:playerFromCharacter(object) if player ~= nil then local ls = player.leaderstats local sl = game.Workspace:FindFirstChild(ls.CodeCracked.Value) print("gah") object.Torso.CFrame = object.Torso.CFrame + Vector3.new(0,3,0) wait() object.Torso.CFrame = sl.CFrame + Vector3.new(0,3,0) end end function oe(object) if object.className == "Player" then local ack = Instance.new("IntValue") ack.Name = "leaderstats" local ack2 = Instance.new("IntValue") ack2.Name = "CodeCracked" ack2.Value = 1 ack2.Parent = ack ack.Parent = object local cash = Instance.new("IntValue") cash.Parent = ack.Parent.Visible == false -- This line isn't working cash.Name = "Credits" cash.Value = 0 local HighScor = Instance.new("IntValue") HighScor.Parent = ack HighScor.Name = "HighScore" HighScor.Value = 0 local NorSco = Instance.new("IntValue") NorSco.Parent = ack NorSco.Name = "Score" NorSco.Value = 0 while true do wait(120) cash.Value = cash.Value + 1 end end end game.Players.ChildAdded:connect(oe) game.Workspace.ChildAdded:connect(oa)
Locked by Shawnyg and User#5978
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?