Fly script no key create by me
Tấm đế Keyless
Fly script no key create by me
👤 alexriderr 👁 257 views ❤️ 0 likes ⏱ May 17, 2026
This script allows you to fly with an Iron Man-style pose. Press **F** to activate the flying feature. + To more speed - To slow
✨ Features
FLY
📋 Script Code
-- Iron Man Fly (Xeno OK)
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local plr = Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

local flying = false
local bv, bg
local speed = 80
local minSpeed = 20
local maxSpeed = 250

local function startFly()
	if flying then return end
	flying = true

	bv = Instance.new("BodyVelocity")
	bv.MaxForce = Vector3.new(1e6,1e6,1e6)
	bv.Velocity = Vector3.zero
	bv.Parent = hrp

	bg = Instance.new("BodyGyro")
	bg.MaxTorque = Vector3.new(1e6,1e6,1e6)
	bg.Parent = hrp
end

local function stopFly()
	flying = false
	if bv then bv:Destroy() end
	if bg then bg:Destroy() end
	bv, bg = nil, nil
end

-- PHÍM ĐIỀU KHIỂN
UIS.InputBegan:Connect(function(input, gpe)
	if gpe then return end

	if input.KeyCode == Enum.KeyCode.F then
		if flying then stopFly() else startFly() end
	end

	-- tăng tốc
	if input.KeyCode == Enum.KeyCode.Equals or input.KeyCode == Enum.KeyCode.KeypadPlus then
		speed = math.clamp(speed + 10, minSpeed, maxSpeed)
	end

	-- giảm tốc
	if input.KeyCode == Enum.KeyCode.Minus or input.KeyCode == Enum.KeyCode.KeypadMinus then
		speed = math.clamp(speed - 10, minSpeed, maxSpeed)
	end
end)

RunService.Heartbeat:Connect(function()
	if flying and bv and bg then
		local cam = workspace.CurrentCamera
		local look = cam.CFrame.LookVector

		-- bay theo hướng nhìn + hơi ngửa người (Iron Man)
		bv.Velocity = look * speed
		bg.CFrame =
			CFrame.new(hrp.Position, hrp.Position + look)
			* CFrame.Angles(math.rad(-25), 0, 0)
	end
end)

-- reset khi respawn
plr.CharacterAdded:Connect(function(c)
	char = c
	hrp = char:WaitForChild("HumanoidRootPart")
	stopFly()
end)
🎮 Similar Scripts
💬 Comments (0)
Login to post a comment
No comments yet. Be the first!
Script Info
Game Tấm đế
TypeKeyless
Authoralexriderr
Views257
Likes0
PublishedMay 17, 2026
🎮 Play Game on Roblox
🕐 Recent Scripts
Fish an Anime RNG script keyless | Auto fish
Fish an Anime RNG script keyless | Auto fish
Fish an Anime RNG • 👁 5
Keyless
Burgerz script – Smart Auto Order and Fixed Store
Burgerz script – Smart Auto Order and Fixed Store
Burgerz • 👁 5
Keyless
Grow a Colony script OP | Auto farm bugs or NPCs
Grow a Colony script OP | Auto farm bugs or NPCs
Grow A Colony🐜 • 👁 5
Keyless
Merge a Spinner script (No Keys) – Auto merge and place
Merge a Spinner script (No Keys) – Auto merge and place
Merge a Spinner! • 👁 5
Keyless
TNT to Earth’s Core script keyless – Auto dig
TNT to Earth’s Core script keyless – Auto dig
TNT to Earth's Core! • 👁 4
Keyless