
Key RequiredUniversal

-- XYZ HYBRID ANALOG FLY (STABLE + GOD MODE + CLOSE)
local player = game.Players.LocalPlayer
local runService = game:GetService("RunService")
local vfly = false
local speed = 100
-- GUI SETUP
local ScreenGui = Instance.new("ScreenGui", game:GetService("CoreGui"))
local Main = Instance.new("Frame", ScreenGui)
Main.Size = UDim2.new(0, 150, 0, 120)
Main.Position = UDim2.new(0.05, 0, 0.4, 0)
Main.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Main.Active = true
Main.Draggable = true
Instance.new("UICorner", Main)
local CloseBtn = Instance.new("TextButton", Main)
CloseBtn.Size = UDim2.new(0, 25, 0, 25)
CloseBtn.Position = UDim2.new(1, -30, 0, 5)
CloseBtn.Text = "X"
CloseBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
CloseBtn.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", CloseBtn)
local Toggle = Instance.new("TextButton", Main)
Toggle.Size = UDim2.new(0.9, 0, 0, 35)
Toggle.Position = UDim2.new(0.05, 0, 0.3, 0)
Toggle.Text = "FLY: OFF"
Toggle.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
Toggle.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", Toggle)
local SpeedInput = Instance.new("TextBox", Main)
SpeedInput.Size = UDim2.new(0.9, 0, 0, 25)
SpeedInput.Position = UDim2.new(0.05, 0, 0.65, 0)
SpeedInput.Text = "100"
SpeedInput.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
SpeedInput.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", SpeedInput)
-- TUTUP GUI
CloseBtn.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
vfly = false
end)
-- GOD MODE (ANTI MATI)
local function GodMode()
local char = player.Character
if char and char:FindFirstChild("Humanoid") then
char.Humanoid.MaxHealth = math.huge
char.Humanoid.Health = math.huge
end
end
Toggle.MouseButton1Click:Connect(function()
vfly = not vfly
Toggle.Text = vfly and "FLY: ON" or "FLY: OFF"
Toggle.BackgroundColor3 = vfly and Color3.fromRGB(0, 150, 0) or Color3.fromRGB(150, 0, 0)
if vfly then GodMode() end
end)
runService.RenderStepped:Connect(function()
if vfly then
local char = player.Character
local hum = char and char:FindFirstChildOfClass("Humanoid")
local root = char and char:FindFirstChild("HumanoidRootPart")
if root and hum then
local seat = hum.SeatPart
local target = (seat and seat:IsA("VehicleSeat")) and seat or root
local cam = workspace.CurrentCamera
speed = tonumber(SpeedInput.Text) or 100
-- BODY MOVERS
local bv = target:FindFirstChild("StableBV") or Instance.new("BodyVelocity", target)
bv.Name = "StableBV"
bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
local bg = target:FindFirstChild("StableBG") or Instance.new("BodyGyro", target)
bg.Name = "StableBG"
bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
-- STABILIZER: Kunci rotasi biar mobil tegak lurus (gak gerak-gerak ngaco)
local look = cam.CFrame.LookVector
bg.CFrame = CFrame.new(target.Position, target.Position + Vector3.new(look.X, 0, look.Z))
-- KONTROL ANALOG
if hum.MoveDirection.Magnitude > 0 then
bv.Velocity = cam.CFrame.LookVector * speed
else
bv.Velocity = Vector3.new(0, 0, 0)
end
-- NO NOCLIP: CanCollide dibiarin TRUE biar gak tembus lantai
if seat then
for _, p in pairs(seat.Parent:GetDescendants()) do
if p:IsA("BasePart") then p.Massless = true end
end
end
end
else
-- CLEANUP
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local hrp = player.Character.HumanoidRootPart
if hrp:FindFirstChild("StableBV") then hrp.StableBV:Destroy() hrp.StableBG:Destroy() end
end
end
end)No comments yet for this script.



