Universal Script 📌
1.3k Views
6.4k Executions

universal fly script by SharkCreepy

Universal Script 📌
SharkCreepy
SharkCreepyFirst script
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

Universal Fly script

View Raw
-- SharkFly LocalScript (fly only)
-- Place in StarterPlayerScripts

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

local Player = Players.LocalPlayer
if not Player then
    warn("Script must run as a LocalScript (place in StarterPlayerScripts or StarterGui).")
    return
end

local playerGui = Player:WaitForChild("PlayerGui", 5)
if not playerGui then
    warn("PlayerGui not found.")
    return
end

-- GUI
local gui = Instance.new("ScreenGui")
gui.Name = "SharkFlyGUI"
gui.ResetOnSpawn = false
gui.Parent = playerGui

local function makeFrame(props)
    local f = Instance.new("Frame")
    f.Size = props.Size or UDim2.new(0,300,0,200)
    f.Position = props.Position or UDim2.new(0.02,0,0.02,0)
    f.BackgroundColor3 = props.BackgroundColor3 or Color3.fromRGB(30,30,30)
    f.BorderSizePixel = 0
    f.Parent = gui
    return f
end

local main = makeFrame({Size=UDim2.new(0,320,0,200)})
local title = Instance.new("TextLabel", main)
title.Size = UDim2.new(1,0,0,28)
title.BackgroundTransparency = 1
title.Text = "Fly Script — E to toggle"


Comments

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