Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
rootPart = character:()
flyEnabled =
flySpeed =
bodyVelocity =
bodyGyro =
connection =
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
screenGui.Parent = player:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Draggable =
mainFrame.Parent = screenGui
.(, mainFrame).CornerRadius = .(, )
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleBar.Parent = mainFrame
.(, titleBar).CornerRadius = .(, )
titleFix = .()
titleFix.Size = .(, , , )
titleFix.Position = .(, , , -)
titleFix.BackgroundColor3 = .(, , )
titleFix.BorderSizePixel =
titleFix.Parent = titleBar
titleLabel = .()
titleLabel.Text =
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.TextXAlignment = .TextXAlignment.Center
titleLabel.Parent = titleBar
minBtn = .()
minBtn.Text =
minBtn.Size = .(, , , )
minBtn.Position = .(, -, , -)
minBtn.BackgroundColor3 = .(, , )
minBtn.TextColor3 = .(, , )
minBtn.TextSize =
minBtn.Font = .Font.GothamBold
minBtn.BorderSizePixel =
minBtn.Parent = titleBar
.(, minBtn).CornerRadius = .(, )
closeBtn = .()
closeBtn.Text =
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , -)
closeBtn.BackgroundColor3 = .(, , )
closeBtn.TextColor3 = .(, , )
closeBtn.TextSize =
closeBtn.Font = .Font.GothamBold
closeBtn.BorderSizePixel =
closeBtn.Parent = titleBar
.(, closeBtn).CornerRadius = .(, )
toggleBtn = .()
toggleBtn.Text =
toggleBtn.Size = .(, -, , )
toggleBtn.Position = .(, , , )
toggleBtn.BackgroundColor3 = .(, , )
toggleBtn.TextColor3 = .(, , )
toggleBtn.TextSize =
toggleBtn.Font = .Font.GothamBold
toggleBtn.BorderSizePixel =
toggleBtn.Parent = mainFrame
.(, toggleBtn).CornerRadius = .(, )
speedLabel = .()
speedLabel.Text =
speedLabel.Size = .(, , , )
speedLabel.Position = .(, , , )
speedLabel.BackgroundTransparency =
speedLabel.TextColor3 = .(, , )
speedLabel.TextSize =
speedLabel.Font = .Font.Gotham
speedLabel.TextXAlignment = .TextXAlignment.Left
speedLabel.Parent = mainFrame
speedBox = .()
speedBox.Text = (flySpeed)
speedBox.Size = .(, , , )
speedBox.Position = .(, , , )
speedBox.BackgroundColor3 = .(, , )
speedBox.TextColor3 = .(, , )
speedBox.TextSize =
speedBox.Font = .Font.GothamBold
speedBox.BorderSizePixel =
speedBox.ClearTextOnFocus =
speedBox.PlaceholderText =
speedBox.PlaceholderColor3 = .(, , )
speedBox.Parent = mainFrame
.(, speedBox).CornerRadius = .(, )
()
flyEnabled =
toggleBtn.Text =
humanoid.PlatformStand =
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .zero
bodyVelocity.Parent = rootPart
bodyGyro = .()
bodyGyro.MaxTorque = .(, , )
bodyGyro.P =
bodyGyro.D =
bodyGyro.Parent = rootPart
camera = .CurrentCamera
connection = RunService.Heartbeat:(()
moveDir = .zero
camCF = camera.CFrame
UserInputService:(.KeyCode.W) moveDir = moveDir + camCF.LookVector
UserInputService:(.KeyCode.S) moveDir = moveDir - camCF.LookVector
UserInputService:(.KeyCode.A) moveDir = moveDir - camCF.RightVector
UserInputService:(.KeyCode.D) moveDir = moveDir + camCF.RightVector
UserInputService:(.KeyCode.Space) moveDir = moveDir + .(,,)
UserInputService:(.KeyCode.LeftControl) moveDir = moveDir - .(,,)
moveDir.Magnitude > moveDir = moveDir.Unit
bodyVelocity.Velocity = moveDir * flySpeed
bodyGyro.CFrame = camCF
)
()
flyEnabled =
toggleBtn.Text =
humanoid.PlatformStand =
connection connection:(); connection =
bodyVelocity bodyVelocity:(); bodyVelocity =
bodyGyro bodyGyro:(); bodyGyro =
player.CharacterAdded:((newChar)
character = newChar
humanoid = newChar:()
rootPart = newChar:()
flyEnabled = ; connection = ; bodyVelocity = ; bodyGyro =
toggleBtn.Text =
)
()
val = (speedBox.Text)
val
flySpeed = .(.(val), , )
speedBox.Text = (flySpeed)
speedBox.Text = (flySpeed)
speedBox.FocusLost:(()
()
)
toggleBtn.MouseButton1Click:(()
flyEnabled () ()
)
minimized =
minBtn.MouseButton1Click:(()
minimized = minimized
mainFrame.Size = minimized .(, , , ) .(, , , )
)
closeBtn.MouseButton1Click:(()
()
screenGui:()
)CookFly V1 — Features: 1. Fly — fly freely in all directions following the camera angle 2. ENABLE / DISABLE — toggle button to turn fly on/off 3. Speed Input — type any number (1–10000), press Enter or click outside to apply instantly 4. 6-directional movement — W/A/S/D to fly, Space to go up, LCtrl to go down 5. Draggable GUI — window can be dragged anywhere on screen 6. Minimize — - button collapses the GUI down to just the title bar 7. Close — X button disables fly + removes GUI from screen entirely 8. Auto respawn handler — die/respawn, script resets automatically without crashing 9. Input validation — type letters or invalid characters → automatically reverts to previous speed value

Universal