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