Universal Script 📌
2.4k Views
131 Executions

Spinner

Universal Script 📌
ryannesumera
ryannesumeraPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

You can fly

View Raw
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local infiniteJumpEnabled = true
local jumpPower = 50
local rotationSpeed = 5
local spinning = false
local spinDirection = 0

-- Enable infinite jump
UserInputService.JumpRequest:Connect(function()
	if infiniteJumpEnabled then
		humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
	end
end)

-- Handle keyboard inputs
UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end

	-- Toggle infinite jump with "J"
	if input.KeyCode == Enum.KeyCode.J then
		infiniteJumpEnabled = not infiniteJumpEnabled
		print("Infinite Jump:", infiniteJumpEnabled)
	end

	-- Start spinning clockwise with "+"
	if input.KeyCode == Enum.KeyCode.Equals then
		spinDirection = 1
		spinning = true
	end

	-- Start spinning counterclockwise with "-"
	if input.KeyCode == Enum.KeyCode.Minus then
		spinDirection = -1


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
178.8k
1.7M
Bumped 2 hours ago
Key System
Universal Script 📌
9.1k
31.5k
Bumped 3 hours ago
Script hub
49.8k
12.3k
Bumped 4 hours ago
Key System
Paid
Script hub
5.5M
1.1M
Bumped 8 hours ago
Key System
Script hub
20.5k
4.0k
Bumped 9 hours ago
Key System
Paid
Universal Script 📌
712
207
Approved 15 hours ago
Universal Script 📌
616
2.5k
Approved 15 hours ago
Universal Script 📌
577
586
Approved 15 hours ago