Universal Script 📌
421 Views
324 Executions

Orbitation Chroma

Universal Script 📌
CryptoCodeSupreme
CryptoCodeSupreme10K executions
8 months 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

⚠️This script was inspired by another script, the orbit script from (skele) I made some improvements to his script!⚠️ Improvements⭐: 1. Nicer hub✅ 2. Has new ways to orbit✅ 3. Set the orbit distance✅ 4. Set the spinning speed through the hub itself✅ Thanks again Skele for sharing your script😊

View Raw
-- Orbitation Controller V1
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")

local player = Players.LocalPlayer

-- CONFIGURAÇÃO
local orbitSpeed = 10
local orbitRadius = 20 -- valor inicial maior que 10
local angle = 0
local orbitMode = "Player" -- "Player" ou "Block"
local orbiting = false
local blockVisible = true

-- VARIÁVEIS
local orbitConnection
local humanoidRootPart
local previewBlock
local orbitBlock
local previewConnection

--------------------------------------------------
-- TARGET PLAYER
--------------------------------------------------
local function getNearestPlayer()
	local nearest
	local dist = math.huge
	for _, p in pairs(Players:GetPlayers()) do
		if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
			local mag = (humanoidRootPart.Position - p.Character.HumanoidRootPart.Position).Magnitude
			if mag < dist then
				dist = mag
				nearest = p.Character.HumanoidRootPart
			end
		end
	end
	return nearest
end



Comments

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

Tags

More universal scripts

See all
Script hub
3.0M
1.1M
Bumped 3 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
167
7
22 hours ago
Script hub
277.5k
165.4k
Bumped 4 hours ago
Key System
Universal Script 📌
6.7k
17.0k
Bumped 4 hours ago
Script hub
1.7M
431.9k
Bumped 5 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
2.5k
7.1k
Bumped 10 hours ago
Script hub
5.9k
86.5k
Bumped 10 hours ago

Script hub

SAGAZx Hub

Script hub
77.7k
274.5k
Bumped 11 hours ago
Key System