I am using a local script. It is a TextLabel inside a ScreenGUI.
1 | player = game.Players.LocalPlayer |
2 | script.Parent.TextLabel.Text = (player.Backpack.Time.Value) |
Why doesn't it change with the players time?
You only made it change once when the game starts. Use the changed event to make it change whenever the time changes:
1 | player = game.Players.LocalPlayer |
2 | player.Backpack.Time.Value.Changed:Connect( function () |
3 | script.Parent.TextLabel.Text = (player.Backpack.Time.Value) |
4 | end ) |