Hi!
I need help with this error attempt to index nil with ‘GetPivot’ idk how to fix it .
I want the model to spin, if anyone knows how to fix it pls help!
The subject is a model,
here is the script:
local function spin(Subject)
while true do
Subject:PivotTo(Subject:GetPivot() * CFrame.Angles(0, math.rad(15), 0))
wait(0.01)
end
end
return spin()