Universal Script 📌
546 Views
110 Executions

Op partfly script

Universal Script 📌
10 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

Allows player fly via making a part that pushes them up and lets them walk on it.

View Raw
--PartFly
--All creadits to Somebodythatyouusedtoknow @ scriptblox.com
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")

--CONFIG
local OFFSET = Vector3.new(0, -3, 0)
local PLATFORM_SIZE = Vector3.new(6, 0.5, 6)
local KEYBIND = Enum.KeyCode.LeftControl

--TRACKING
local isFalling = false
local platformActive = true
local platformPos = rootPart.Position + OFFSET

--UI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AirWalkGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local menuFrame = Instance.new("Frame")
menuFrame.Size = UDim2.new(0, 180, 0, 60)
menuFrame.Position = UDim2.new(0, 20, 0.5, -30) -- Center-left
menuFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
menuFrame.BorderSizePixel = 0
menuFrame.Parent = screenGui

local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 8)
uiCorner.Parent = menuFrame

local infoLabel = Instance.new("TextLabel")
infoLabel.Size = UDim2.new(1, 0, 1, 0)


Comments

1
Log in to join the conversation. Login
Bobluio554's profile picture
Bobluio5549 months ago

I see...

1