Universal Script 📌
2.4k Views
112 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
2.3k
2.2k
Bumped 15 minutes ago
Key System
Universal Script 📌
26
1
Approved 25 minutes ago
Script hub
2.8M
661.5k
Bumped 1 hour ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
95
14
Approved 3 hours ago
Universal Script 📌
4.2k
185.8k
Bumped 10 hours ago