mXzVQpp = game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name).HumanoidRootPart local function spinBlock() mXzVQpp.CFrame = mXzVQpp.CFrame * CFrame.Angles(0, math.rad(50), 0) wait(0.001) mXzVQpp.CFrame = mXzVQpp.CFrame * CFrame.Angles(0, math.rad(54), 0) end local KeyDown = false local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.Space then -- If you use controller change "Space" to "ButtonY" KeyDown = true end end) UIS.InputEnded:Connect(function(key) if key.KeyCode == Enum.KeyCode.Space then -- If you use controller change "Space" to "ButtonY" KeyDown = false end end) while true do if KeyDown == true then repeat wait() spinBlock() until KeyDown == false end wait() end