This script works in studio but not in real game? its like the Instances never loads.
This works in test studio but not in real game script:
01 | game.Players.PlayerAdded:connect( function (plr) |
04 | _G.leader = Instance.new( "IntValue" , plr) |
05 | _G.leader.Name = "leaderstats" |
07 | _G.Melexp = Instance.new( "IntValue" , leader) |
09 | _G.Melee = Instance.new( "IntValue" , leader) |
10 | _G.Melee.Name = "Melee" |
13 | _G.Melee.Value = Melexp.Value / 1000 |
18 | Textlabel that displays Melee level local script: |
21 | script.Parent.Text = Melee.Value |
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