Help with motor

Hello! Basically, somethi’s not working right, it’s rotating, but not to where I want it to rotate.

local tk = Instance.new("Motor", script.Parent.SS)
tk.MaxVelocity = 0.03
tk.Part0 = script.Parent.Parent.Parent.Body.TK
tk.Part1 = tk.Parent
wait(1)
script:Destroy()

This script create motor, the SS is an invisible part.
This is SS position
image
And the TK is a part inside body, it’s position is: 249.004, -339.067, 191.563

For some reason, when I open trunk, it does something weird…
image

1 Like

what is the default orientation of that model/motor? could you send me a picture of it with orientation set to 0,0,0, after that I can write some compatible code for you.

1 Like