Universal Script 📌
2.2k Views
808 Executions

fly system

Universal Script 📌
gavinthesigma
gavinthesigmaPublished 5
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 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
gavinthesigmaUploader8 months ago

I mean comment

1
gavinthesigma's profile picture
gavinthesigmaUploader8 months ago

pls commet to see how you like it

1

Tags

More universal scripts

See all
Universal Script 📌
9.4k
34.0k
Bumped 11 minutes ago
Key System
Universal Script 📌
32
3
Approved 36 minutes ago
Script hub
51
1
Approved 59 minutes ago
Key System
Script hub
48
4
Approved 1 hour ago
Key System
Paid
Universal Script 📌
74
19
Approved 2 hours ago