but i want it rotate this way like a clock’s arrows or speedometer
local part = script.Parent
local endPart = workspace.End
while true do
task.wait()
local startPos = part.Position
local endPos = endPart.Position
local lookAtCF = CFrame.lookAt(startPos, endPos)
part.CFrame = lookAtCF
end
local part = script.Parent
local endPart = workspace.End
while true do
task.wait()
local startPos = part.Position
local endPos = endPart.Position
local lookAtCF = CFrame.lookAt(startPos, endPos)
part.CFrame = lookAtCF
end