everything is in the tool
local Vector = script.Parent.Parent.Value.Value
if script.Parent.Parent.Value2.Value == true then
while true do
wait()
print("hi")
script.Part.Position = script.Part.Position + Vector3.new(Vector.X, Vector.Y, Vector.Z)
print("hi")
if script.Parent.Value2.Value == false or wait(5) then
script.Parent.Parent.Value2.Value = false
script.Part.Transparency = 1
break
end
end
end

1 comment
You're trying to move a part from a local script. This technically should be handled on the server unless you are wanting to only move it for the client to see.