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

How do you set the position of a tool?

Asked by 7 years ago

This is what I've tried:

tool.Position = Vector3.new(0, 0 ,0)

tool:MoveTo(Vector3.new(0, 0, 0))

And I've also tried to make a model with a tool in it and then put the tool out of the model, but it just moves to tool back where it was from the start.

Please help

2 answers

Log in to vote
0
Answered by
Cesire 45
7 years ago
Edited 7 years ago

I'm not sure if this works for welded tools, but if your tool had the variable name "tool" it would look like this,

local tool = YOURTOOLNAME --Put the path to your tool here (i.e game.Workspace.Tool)

tool.Handle.Position = Vector3.new(0, 0 ,0)

Again, not sure it works if the tool is welded.

0
Thanks kokungen12345 15 — 7y
Ad
Log in to vote
0
Answered by 7 years ago

You can do this with or without a script. I do it by going into the Properties of the tool and there will be 4 buttons GripForward, GripPos, GripRight and GripUp. So you edit the values of those until it gets right. I know this isn't coding but i hope this helps!

Answer this question