My script which makes the model rise up from the ground when the value is at 1 is only working half the time and I don't understand why? When I look for errors there are none.
01 | local X = script.Parent |
02 |
03 | if game.ServerStorage.Folder.prep.Value = = 0 then |
04 | wait( 5 ) |
05 | print ( "ya" ) |
06 | for i = 1 , 275 do |
07 | wait( 0.01 ) |
08 | X:TranslateBy(Vector 3. new( 0 , 0.1 , 0 )) |
09 | end |
10 |
11 | end |
Any help is appreciated. Thank you