local gyro = Instance.new("BodyGyro",hum.Parent.Torso) gyro.maxTorque = Vector3.new(0,math.huge,0); gyro.P = 10000 gyro.D = 250 gyro.cframe = part.CFrame while true do gyro.cframe = part.CFrame wait() end end ThrowKnife(script.Parent,game.Workspace.Part1)
Is it the script or is it the test dummy?
local gyro = Instance.new("BodyGyro",hum.Parent.Torso) gyro.maxTorque = Vector3.new(0,math.huge,0); gyro.P = 10000 gyro.D = 250 gyro.cframe = CFrame.new(gyro.Parent.Position, part.Position) while true do gyro.cframe = CFrame.new(gyro.Parent.Position, part.Position) wait() end end ThrowKnife(script.Parent,game.Workspace.Part1)
Explanation:
gyro.cframe requires 2 arguements, the current position its looking at, and the new position you want it to look at. in other words you need 1st position(start position) 2nd position(end position) and make sure the dummy is unachored