local Progress = script.Parent
local Player = game.Players.LocalPlayer
Player.EXP.Value.Changed:connect(function()
Progress.Size = Progress.Size + Progress.UDim2.new(0,40,0,0)
end)
Player.Level.Value.Changed:connect(function()
Progress.Size = Progress.UDim2.new(0,40,0,0)
script.Parent.Text = Player.Level.Value
end)
Output 16:21:51.904 - Players.Player1.PlayerGui.Level Up Bar.Holding Bar.Frame.LocalScript:6: attempt to index field 'Value' (a number value)

1 comment
Posting random code with no explanation at all doesn't help anyone.