Universal Script 📌
2.2k Views
783 Executions

fly system

Universal Script 📌
gavinthesigma
gavinthesigmaPublished 5
7 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 is just a aim bot system

View Raw
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = char:WaitForChild("HumanoidRootPart")

local flying = false
local speed = 50

local bodyVelocity
local bodyGyro

local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local direction = Vector3.new()

-- Toggle fly with F
UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then return end
	
	if input.KeyCode == Enum.KeyCode.F then
		flying = not flying
		
		if flying then
			bodyVelocity = Instance.new("BodyVelocity")
			bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5)
			bodyVelocity.Velocity = Vector3.new()
			bodyVelocity.Parent = humanoidRootPart
			
			bodyGyro = Instance.new("BodyGyro")
			bodyGyro.MaxTorque = Vector3.new(1e5, 1e5, 1e5)
			bodyGyro.CFrame = humanoidRootPart.CFrame
			bodyGyro.Parent = humanoidRootPart
		else
			if bodyVelocity then bodyVelocity:Destroy() end
			if bodyGyro then bodyGyro:Destroy() end
		end
	end
end)

-- Movement controls


Comments

2
Log in to join the conversation. Login
gavinthesigma's profile picture
gavinthesigmaUploader7 months ago

I mean comment

1
gavinthesigma's profile picture
gavinthesigmaUploader7 months ago

pls commet to see how you like it

1

Tags

More universal scripts

See all
Universal Script 📌
2.7k
30.2k
Bumped 30 minutes ago
Universal Script 📌
6.1k
17.8k
Bumped 2 hours ago
Key System
Universal Script 📌
530.0k
336.7k
Bumped 3 hours ago
Script hub
2.5k
2.2k
Bumped 4 hours ago
Key System
Universal Script 📌
361
32
Approved 4 hours ago
Script hub
2.8M
661.6k
Bumped 5 hours ago
Key System

Script hub

#2 today

Verified script badgeFlow Hub | 35 Games | Updated