Universal Script 📌
19.9k Views
193 Executions

bypassed fly

Universal Script 📌
0vdi
0vdiPublished 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

follows your mouse toggible by E

Updates

  1. Script edited: Create script

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 rootPart = character:WaitForChild("HumanoidRootPart")

local flying = false

local function onKeyPress(input, gameProcessed)
    if gameProcessed then return end
    if input.KeyCode == Enum.KeyCode.E then
        flying = not flying
        if flying then
            humanoid.PlatformStand = true
            humanoid:ChangeState(Enum.HumanoidStateType.Physics)
        else
            humanoid.PlatformStand = false
            humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
        end
    end
end

local function followMouse()
    if flying then
        local mouse = player:GetMouse()
        local targetPosition = mouse.Hit.p
        rootPart.CFrame = CFrame.new(rootPart.Position, targetPosition)
        rootPart.Velocity = (targetPosition - rootPart.Position).unit * 50
    end
end

UserInputService.InputBegan:Connect(onKeyPress)
RunService.RenderStepped:Connect(followMouse)
-- made by 0vdi
-- https://discord.gg/58WXSujf94


Comments

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

Tags

More universal scripts

See all
Script hub
3.2M
752.6k
Bumped 18 minutes ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
335
1.0k
Bumped 2 hours ago
Key System
Universal Script 📌
7.0k
140.5k
Bumped 3 hours ago
Script hub
45.6k
114.1k
Bumped 4 hours ago
Key System
Script hub
3.5M
447.9k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*

Universal Script 📌
14.7k
70.0k
Bumped 6 hours ago