Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

whats wrong with this script ?

no error.. when I change the numbers the model is in the same place when I run game

local model = game.Workspace.ManaStone
model.PrimaryPart = model.Union
    model:MoveTo(Vector3.new(model.PrimaryPart.Position + Vector3.new(20, -6.6, 4)))

1 comment

0

You are being too Vague.

1 answer

✓ Accepted answer

Using Vector Addition inside a Vector3 doesn't work out too well, most of the time it just returns (0,0,0);

Rather just remove the constructor:

local model = game.Workspace.ManaStone
model.PrimaryPart = model.Union
model:MoveTo(model.PrimaryPart.Position + Vector3.new(20, -6.6, 4))

1 comment

0

thank you :3

This discussion is preserved as it was. New answers, comments, and votes are closed.