I'm trying to implement a basic Level system for a test on a future project, I've tried solutions from multiple sources however none of them have worked for me. It's being called in a LocalScript.
This is the current script I'm using (doesn't update to what the value is, only shows what I put in the TextLabel as a placeholder):
while true do
game.PlayerGui.PlayerInfo.Level.Text = "Level ".. game.ReplicatedStorage.Level.Value
end
Originally I was using this and the value would show however it wouldn't update:
script.Parent.Text = "Level ".. game.ReplicatedStorage.Level.Value
Any help would be appreciated!

3 comments
Player.Level.Changed:Connect(function()
Player.Level.Changed:Connect(function() game.PlayerGui.PlayerInfo.Level.Text = "Level ".. Player.Level.Value end) Hope this Helps, sorry I didn't break the lines, I'm kinda new to this website and dont know how to in a comment
Alright cheers! I don't believe you can do a script box in comments however you can do it in answers the same way you do it in questions. All the best!