Universal Script 📌
18.4k Views
1.0k Executions

Keybind Fly

Universal Script 📌
IfindGoodsAndMake
IfindGoodsAndMakeFirst 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

Keybind is E When chatting with others and you press e you will not fly i used them before so i know thats why i made this keybind flying GUI

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

local character = player.Character or player.CharacterAdded:Wait()
local HRP = character:WaitForChild("HumanoidRootPart")

local flying = false
local BodyGyro, BodyVelocity
local speed = 25 -- Default flight speed

-- GUI Creation Function
local function createGUI()
    if player:FindFirstChild("PlayerGui"):FindFirstChild("Fly") then return end

    local ScreenGui = Instance.new("ScreenGui")
    ScreenGui.Name = "Fly"
    ScreenGui.ResetOnSpawn = false -- Prevent removal on death
    ScreenGui.Parent = player:WaitForChild("PlayerGui")

    -- Slider Frame
    local SliderFrame = Instance.new("Frame", ScreenGui)
    SliderFrame.Position = UDim2.new(0.1, 0, 0.8, 0)
    SliderFrame.Size = UDim2.new(0, 200, 0, 40)
    SliderFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
    SliderFrame.BackgroundTransparency = 0.3

    local SpeedLabel = Instance.new("TextLabel", SliderFrame)
    SpeedLabel.Size = UDim2.new(1, 0, 0.4, 0)
    SpeedLabel.BackgroundTransparency = 1
    SpeedLabel.Text = "Speed: " .. speed
    SpeedLabel.TextColor3 = Color3.new(1, 1, 1)
    SpeedLabel.TextScaled = true
    SpeedLabel.Font = Enum.Font.SourceSansBold

    local SliderBar = Instance.new("Frame", SliderFrame)
    SliderBar.Position = UDim2.new(0.05, 0, 0.55, 0)
    SliderBar.Size = UDim2.new(0.9, 0, 0, 10)
    SliderBar.BackgroundColor3 = Color3.fromRGB(211, 211, 211)


Comments

2
Log in to join the conversation. Login
openai's profile picture
openai1 year ago

nice

1
IfindGoodsAndMake's profile picture
IfindGoodsAndMakeUploader1 year ago

Enjoy buds

1