Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is my model only moving up half the time i test it out?

Asked by 5 years ago
Edited 5 years ago

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.

01local X=script.Parent
02 
03if game.ServerStorage.Folder.prep.Value == 0 then
04wait(5)
05print("ya")
06for i= 1, 275 do
07    wait(0.01)
08X:TranslateBy(Vector3.new(0, 0.1, 0))
09end
10 
11end

Any help is appreciated. Thank you

0
X.CanCollide = false KDarren12 705 — 5y
0
CanCollide isn't a valid member of models Zeppelin0330 38 — 5y

Answer this question