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

How would setting velocity in a script be shown?

Asked by 6 years ago
Edited 6 years ago

game.Workspace.UnionRing.Velocity = -10,0,0

there's the code

0
why isnt code showing as code DuckMaster11211 13 — 6y
0
BECAUSE I MISSPELLED WORKSPACE LOL DuckMaster11211 13 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Values displayed in X,Y,Z format are usually changed by using Vector3()

game.Workspace.UnionRing.Velocity = Vector3.new(-10,0,0)
Ad

Answer this question