I am trying to change a number value with a script. Can someone please help me? This is what I have now:
script.Parent.MouseButton1Click:Connect(function()
game.StarterGui.Frame.TextButton.Text = game.Workspace.Number.Value
end)
What is wrong with this script??

3 comments
why are you changing startergui
Oh god, thanks so much. I can't believe I did that lol.
Edited.