Spinning Obstacle Script
Customize your variables, then fill in the blanks!
Your Custom Settings
Degrees per frame
Script (inside the spinning part)
This script makes a part spin continuously. Perfect for rotating platforms or spinning hazards! Make sure the part is Anchored.
local RunService = game:("RunService")
local part = script.
RunService.:Connect(function()
part. = part.CFrame * CFrame.(math.(0, 2, 0))
end)
