Universal Script 📌
15.3k Views
65 Executions

Velocity fly script by GPT ig

Universal Script 📌
omegasalo1488
omegasalo1488First script
1 year 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

Use velocity to roll in a ball or lock by Y to fly!

View Raw
local UIS = game:GetService("UserInputService")
local RS = game:GetService("RunService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer

local char = player.Character or player.CharacterAdded:Wait()
local root = char:WaitForChild("HumanoidRootPart")
local humanoid = char:WaitForChild("Humanoid")

local velocityControl = Instance.new("BodyVelocity")
velocityControl.MaxForce = Vector3.new(1e5, 0, 1e5)
velocityControl.Velocity = Vector3.zero
velocityControl.P = 10000
velocityControl.Name = "JoystickVelocity"

local speed = 150
local enabled = false
local inputVector = Vector3.zero
local currentVelocity = Vector3.zero
local lerpSpeed = 5

local bodyFollowEnabled = false
local lockYEnabled = false
local upHeld = false
local downHeld = false
local lastLookDir = Vector3.new(0, 0, -1)
local ySpeed = 50
local ySpeedMultiplier = 1

local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "VelocityGui"
gui.ResetOnSpawn = false

local btn = Instance.new("TextButton")
btn.Text = "Velocity: OFF"
btn.Size = UDim2.new(0, 140, 0, 50)
btn.Position = UDim2.new(0, 10, 0, 10)
btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
btn.TextColor3 = Color3.new(1, 1, 1)
btn.Parent = gui


Comments

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

More universal scripts

See all
Script hub
159.8k
1.5M
Bumped 2 hours ago
Key System

Script hub

#15 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.3k
992
Bumped 2 hours ago
Script hub
1.6M
1.9M
Bumped 2 hours ago
Key System

Script hub

#10 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
40.4k
817.4k
Bumped 4 hours ago
Universal Script 📌
133.7k
24.2k
Bumped 5 hours ago
Key System