The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Fe Fly script pastebin roblox
By Fe Fly on 2024-11-27 08:00 am | Syntax: LUA | Views: 26



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. --[[
  2.     fe fly script
  3.     required accessory:
  4.     https://www.roblox.com/catalog/6311978305
  5.     by MyWorld
  6.     discord.gg/pYVHtSJmEY
  7. ]]
  8.  
  9. local speed = 20
  10.  
  11. local lp = game:GetService("Players").LocalPlayer
  12. local c = lp.Character
  13. if not (c and c.Parent) then return nil end
  14. local uis = game:GetService("UserInputService")
  15. local function gp(parent, name, className)
  16.     if typeof(parent) == "Instance" then
  17.         for i, v in pairs(parent:GetChildren()) do
  18.             if (v.Name == name) and v:IsA(className) then
  19.                 return v
  20.             end
  21.         end
  22.     end
  23.     return nil
  24. end
  25. local Vector3_101 = Vector3.new(1, 0, 1)
  26. local netless_Y = Vector3.new(0, 25.1, 0)
  27. local function getNetlessVelocity(realPartVelocity)
  28.     local mag = realPartVelocity.Magnitude
  29.     if mag > 1 then
  30.         local unit = realPartVelocity.Unit
  31.         if (unit.Y > 0.25) or (unit.Y < -0.75) then
  32.             return realPartVelocity * (25.1 / realPartVelocity.Y)
  33.         end
  34.         realPartVelocity = unit * 125
  35.     end
  36.     return (realPartVelocity * Vector3_101) + netless_Y
  37. end
  38. local ws = game:GetService("Workspace")
  39. if not c:IsDescendantOf(ws) then return nil end
  40. local hat = gp(c, "Pet FlyAccessory", "Accessory")
  41. local handle = gp(hat, "Handle", "BasePart")
  42. if not handle then return "skill issue" end
  43. local hum = c:FindFirstChildOfClass("Humanoid")
  44. if not hum then return end
  45. local rs = game:GetService("RunService")
  46. local heartbeat, renderstepped = rs.Heartbeat, rs.RenderStepped
  47. pcall(c.Destroy, gp(handle, "AccessoryWeld", "Weld"))
  48. hum.WalkSpeed = 0
  49. local v3 = Vector3.new
  50. local v3_9e9 = v3(9e9, 9e9, 9e9)
  51. local pos = handle.Position
  52. local bg = nil
  53. local con = nil
  54. con = renderstepped:Connect(function(delta)
  55.     if not handle then
  56.         return con:Disconenct()
  57.     end
  58.     ws.CurrentCamera.CameraSubject = handle
  59.     if not uis:GetFocusedTextBox() then
  60.         if uis:IsKeyDown(Enum.KeyCode.W) then
  61.             pos += ws.CurrentCamera.CFrame.LookVector * speed * delta
  62.         end
  63.         if uis:IsKeyDown(Enum.KeyCode.S) then
  64.             pos -= ws.CurrentCamera.CFrame.LookVector * speed * delta
  65.         end
  66.         if uis:IsKeyDown(Enum.KeyCode.D) then
  67.             pos += ws.CurrentCamera.CFrame.RightVector * speed * delta
  68.         end
  69.         if uis:IsKeyDown(Enum.KeyCode.A) then
  70.             pos -= ws.CurrentCamera.CFrame.RightVector * speed * delta
  71.         end
  72.     end
  73.     handle.Velocity = (pos - handle.Position) / delta
  74.     if not bg then
  75.         bg = Instance.new("BodyGyro")
  76.     end
  77.     bg.Name = tostring(math.random(69, 6969))
  78.     bg.D = 50
  79.     bg.P = 200
  80.     bg.MaxTorque = v3_9e9
  81.     bg.Parent = handle
  82.     bg.CFrame = ws.CurrentCamera.CFrame
  83. end)
  84. local con = nil
  85. con = heartbeat:Connect(function()
  86.     if not handle then
  87.         return con:Disconnect()
  88.     end
  89.     handle.Velocity = getNetlessVelocity(handle.Velocity)
  90.  if bg then bg:Destroy() bg = nil end
  91. end)
  92. handle.AncestryChanged:Connect(function()
  93.     if (handle.Parent ~= c) or (not c:IsDescendantOf(ws)) then
  94.         handle = nil
  95.     end
  96. end)



  • Recent Roblox Scripts