
CookFly V1
Universal Script 📌
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Description
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
-- CookFly V1 by cook45
-- LocalScript → StarterPlayerScripts
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
local flyEnabled = false
local flySpeed = 50
local bodyVelocity = nil
local bodyGyro = nil
local connection = nil
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CookFly V1"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
screenGui.Parent = player:WaitForChild("PlayerGui")
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 220, 0, 145)
mainFrame.Position = UDim2.new(0.5, -110, 0.3, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui
Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 5)
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 30)
titleBar.BackgroundColor3 = Color3.fromRGB(20, 20, 46)
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame
Instance.new("UICorner", titleBar).CornerRadius = UDim.new(0, 5)








