Advertisement
Mhammed_2013

Untitled

May 22nd, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. -- Medrotube's Fly Script
  2. local player = game.Players.LocalPlayer
  3. local mouse = player:GetMouse()
  4.  
  5. local flySpeed = 100 -- تعديل سرعة الطيران هنا
  6.  
  7. local function onKeyPress(input)
  8. if input.KeyCode == Enum.KeyCode.Space then
  9. local character = player.Character
  10. local humanoid = character:FindFirstChild("Humanoid")
  11. if humanoid then
  12. humanoid:Move(Vector3.new(0, flySpeed, 0))
  13. end
  14. end
  15. end
  16.  
  17. mouse.KeyDown:Connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement