RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make me a roblox exploit script that makes me fly when I press E"
-- local script local player = game.Players.LocalPlayer local mouse = player:GetMouse() local function fly() local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.PlatformStand = true local force = Instance.new("BodyForce", humanoid.Torso) force.Name = "FlyForce" force.force = Vector3.new(0, humanoid.MaxJumpForce * 2, 0) end end end mouse.KeyDown:Connect(function(key) if key == "e" then fly() end end) mouse.KeyUp:Connect(function(key) if key == "e" then local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.PlatformStand = false local flyForce = humanoid.Torso:FindFirstChild("FlyForce") if flyForce then flyForce:Destroy() end end end end end)