RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Flying script"
-- local script local player = game.Players.LocalPlayer local humanoid = player.Character.Humanoid local fly = false local function toggleFly() if fly then fly = false humanoid.PlatformStand = false else fly = true humanoid.PlatformStand = true end end game:GetService("UserInputService").InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.Space then toggleFly() end end) game:GetService("RunService").RenderStepped:Connect(function() if fly then local force = Vector3.new(0, humanoid.JumpPower, 0) humanoid:AddForce(force) end end)