RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a whole model smoothly tilt side to side a little bit. CFrame Animation"
-- local script local model = script.Parent local startCFrame = model.CFrame local endCFrame = startCFrame * CFrame.Angles(0, math.rad(5), 0) local animation = TweenInfo.new( 1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut ) while true do TweenService:Create(model, animation, {CFrame = endCFrame}):Play() wait(1) TweenService:Create(model, animation, {CFrame = startCFrame}):Play() wait(1) end