This is not working. I need it in a function but when I change the string value in game.workspace this won't change
function example() data = game.Workspace.Numb while data.Value == 0 do print("same value") wait(1) end print("value = 1") end example()
Please help