This works in test studio but not in real game script:
game.Players.PlayerAdded:connect(function(plr) _G.leader = Instance.new("IntValue", plr) _G.leader.Name = "leaderstats" _G.Melexp = Instance.new("IntValue", leader) _G.Melexp.Value = 1000 _G.Melee = Instance.new("IntValue", leader) _G.Melee.Name = "Melee" While true do _G.Melee.Value = Melexp.Value / 1000 wait(3) end end) Textlabel that displays Melee level local script: wait(7) while true do script.Parent.Text = Melee.Value wait(3) end
So this would display 1 in test studio mode but in real game IT would Say that Melee = nil. Like IT never loaded in, but IT shuld load in before the Textlabel loads. I got 5 other scripts like this With stamina, staminaexp and more