
KeylessUniversal

-- Script de voo visível para todos, com GUI para celular
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
-- Cria BodyVelocity para voo
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5)
bodyVelocity.Velocity = Vector3.new(0,0,0)
bodyVelocity.Parent = hrp
local flying = false
local speed = 50
local direction = Vector3.new(0,0,0)
-- Criar GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")
screenGui.Name = "VooGUI"
-- Função para criar botões
local function createButton(name, position, callback)
local btn = Instance.new("TextButton")
btn.Name = name
btn.Size = UDim2.new(0, 80, 0, 80)
btn.Position = position
btn.BackgroundColor3 = Color3.fromRGB(0,170,255)
btn.TextColor3 = Color3.new(1,1,1)
btn.TextScaled = true
btn.Text = name
btn.Parent = screenGui
btn.MouseButton1Click:Connect(callback)
return btn
end
-- Botões de controle
createButton("Voo", UDim2.new(0.05,0,0.7,0), function()
flying = not flying
end)
createButton("Cima", UDim2.new(0.15,0,0.6,0), function()
direction = Vector3.new(direction.X,1,direction.Z)
end)
createButton("Baixo", UDim2.new(0.15,0,0.8,0), function()
direction = Vector3.new(direction.X,-1,direction.Z)
end)
createButton("Frente", UDim2.new(0.25,0,0.7,0), function()
direction = Vector3.new(0, direction.Y, -1)
end)
createButton("Trás", UDim2.new(0.35,0,0.7,0), function()
direction = Vector3.new(0, direction.Y, 1)
end)
createButton("Esquerda", UDim2.new(0.15,0,0.7,0), function()
direction = Vector3.new(-1, direction.Y, 0)
end)
createButton("Direita", UDim2.new(0.35,0,0.7,0), function()
direction = Vector3.new(1, direction.Y, 0)
end)
-- Loop para atualizar movimento
RunService.Heartbeat:Connect(function()
if flying then
if direction.Magnitude > 0 then
bodyVelocity.Velocity = direction.Unit * speed
else
bodyVelocity.Velocity = Vector3.new(0,0,0)
end
else
bodyVelocity.Velocity = Vector3.new(0,0,0)
end
end)



holy ai