My brains hurts I can’t explain anything just please try to fix this
Script
local Part = script.Parent::Part
local Tween = game:GetService('TweenService')
while true do
wait(0)
Part.CFrame *= CFrame.Angles(math.rad(5), 0, 0)
local Change = Part.Position + Part.CFrame.LookVector*2
local ChangeMin = Part.Position
Tween:Create(Part, TweenInfo.new(0.2), { Position = Change }):Play()
wait(0.2)
Tween:Create(Part, TweenInfo.new(0.2), { Position = ChangeMin }):Play()
end
you can’t make a player spin by using position because it does not have the rotation in it, also I’d suggest using a torque constraint for spinning instead
local RunService = game:GetService("RunService")
local Part = script.Parent :: Part
RunService.Heartbeat:Connect(function(deltaTime)
Part.CFrame *= CFrame.Angles(math.rad(5 * deltaTime), 0, 0)
-- Part.CFrame *= Part.Position + ((Part.CFrame.LookVector * 2) * deltaTime) -- not entirely sure about this
end)