
4.5k Views
451 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
so erm, it makes you rotate!!! Very cool huh -some guy that played with sugru a while ago
local Players = game:GetService("Players")
local player = Players.LocalPlayer
-- === SETTINGS ===
local spinning = true
local rotateX, rotateY, rotateZ = true, true, true
local angleX, angleY, angleZ = 90, 90, 90
local delayMin, delayMax = 5, 10
local spinThread = nil
-- === ROTATION FUNCTION ===
local function startSpinning(character)
local rootPart = character:WaitForChild("HumanoidRootPart")
while spinning and character and character.Parent do
local rx = rotateX and math.rad(math.random(-angleX, angleX)) or 0
local ry = rotateY and math.rad(math.random(-angleY, angleY)) or 0
local rz = rotateZ and math.rad(math.random(-angleZ, angleZ)) or 0
-- Cumulative rotation (adds on top of existing orientation)
rootPart.CFrame = rootPart.CFrame * CFrame.Angles(rx, ry, rz)
task.wait(math.random(delayMin, delayMax))
end
end
local function startOrStopSpinning(character)
if spinThread then
spinThread = nil
end
if spinning and character then
spinThread = coroutine.create(startSpinning)
coroutine.resume(spinThread, character)
end
end
-- === GUI CREATION ===
local function createUI()
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
screenGui.Name = "RotationControlGUI"
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








