My objective is to make a tracking part that swivels, following the movements of a projectile. This is my current failure of a script:
Stop = false
game.Workspace.ProjectilePhysicsTest.Projectile.Touched:connect(function (touched)
if touched.Name == "Baseplate" then
Stop = true
end
end)
repeat
wait()
script.Parent.Rotation = (script.Parent.Position - game.Workspace.ProjectilePhysicsTest.Projectile.Position).magnitude * game.Workspace.ProjectilePhysicsTest.Projectile.Position
until Stop == true
Any help would be appreciated.

4 comments
Goulstem am I allowed to overcomplicate things and use BodyGyro.CFrame = CFrame.new(pos,point) instead?
I'm not sure a BodyGyro would have the same effect but feel free to test.
It does work with BodyGyro, in fact that's exactly how you use BodyGyro.
Well sweet