RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Fly toggle on"
-- local script local player = game.Players.LocalPlayer local mouse = player:GetMouse() local flying = false mouse.KeyDown:Connect(function(key) if key == "e" then flying = not flying player.Character:FindFirstChildOfClass("Humanoid"):ChangeState(flying and Enum.HumanoidStateType.Flying or Enum.HumanoidStateType.Running) end end)