Ichigo13

yesvoar

Feb 27th, 2021
881
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. spawn(function()
  2. local message = Instance.new("Message",workspace)
  3. message.Text = "Fe Invisible Fling By Diemiers#4209 Loaded (wait 11 seconds to load)"
  4. wait(11)
  5. message:Destroy()
  6. end)
  7.  
  8.  
  9. local ch = game.Players.LocalPlayer.Character
  10. local prt=Instance.new("Model", workspace)
  11. local z1 =  Instance.new("Part", prt)
  12. z1.Name="Torso"
  13. z1.CanCollide = false
  14. z1.Anchored = true
  15. local z2  =Instance.new("Part", prt)
  16. z2.Name="Head"
  17. z2.Anchored = true
  18. z2.CanCollide = false
  19. local z3 =Instance.new("Humanoid", prt)
  20. z3.Name="Humanoid"
  21. z1.Position = Vector3.new(0,9999,0)
  22. z2.Position = Vector3.new(0,9991,0)
  23.  game.Players.LocalPlayer.Character=prt
  24. wait(5)
  25. game.Players.LocalPlayer.Character=ch
  26. wait(6)
  27.  
  28.  
  29. local plr = game.Players.LocalPlayer
  30. mouse = plr:GetMouse()
  31.  
  32. local Hum = Instance.new("Humanoid")
  33. Hum.Parent = game.Players.LocalPlayer.Character
  34.  
  35.  
  36. local root =  game.Players.LocalPlayer.Character.HumanoidRootPart
  37.  
  38.  
  39. for i,v in pairs(plr.Character:GetChildren()) do
  40.    
  41.     if v ~= root and  v.Name ~= "Humanoid" then
  42.        
  43.         v:Destroy()
  44.        
  45.     end
  46.    
  47.    
  48. end
  49.            
  50. workspace.CurrentCamera.CameraSubject = root
  51.  
  52. local se = Instance.new("SelectionBox",root)
  53. se.Adornee = root
  54.  
  55.  
  56. game:GetService('RunService').Stepped:connect(function()
  57. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  58. end)
  59. game:GetService('RunService').RenderStepped:connect(function()
  60. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  61. end)
  62.  
  63.  
  64. power = 999999 -- change this to make it more or less powerful
  65.  
  66. power = power*10
  67.  
  68. ---
  69. wait(.1)
  70. local bambam = Instance.new("BodyThrust")
  71. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  72. bambam.Force = Vector3.new(power,0,power)
  73. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  74.  
  75.  
  76.  
  77.  
  78.  
  79. local plr = game.Players.LocalPlayer
  80. local torso = root
  81. local flying = true
  82. local deb = true
  83. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  84. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  85. local maxspeed = 120
  86. local speed = 15
  87.  
  88.  
  89. ---local bambam = Instance.new("BodyThrust")
  90. ---bambam.Parent = torso
  91. --bambam.Force = Vector3.new(9999999,0,9999999)
  92. --bambam.Location = torso.Position
  93.  
  94.  
  95. ---
  96. groot = root
  97.  
  98. function Fly()
  99. local bg = Instance.new("BodyGyro", torso)
  100. bg.P = 9e4
  101. bg.maxTorque = Vector3.new(0, 0, 0)
  102. bg.cframe = torso.CFrame
  103. local bv = Instance.new("BodyVelocity", torso)
  104. bv.velocity = Vector3.new(0,0,0)
  105. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  106. repeat wait()
  107.  
  108. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  109. speed = speed+.2
  110. if speed > maxspeed then
  111. speed = maxspeed
  112. end
  113. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  114. speed = speed-1
  115. if speed < 0 then
  116. speed = 0
  117. end
  118. end
  119. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  120. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  121. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  122. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  123. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  124. else
  125. bv.velocity = Vector3.new(0,0.1,0)
  126. end
  127.  
  128. until not flying
  129. ctrl = {f = 0, b = 0, l = 0, r = 0}
  130. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  131. speed = 0
  132. bg:Destroy()
  133. bv:Destroy()
  134.  
  135. end
  136. mouse.KeyDown:connect(function(key)
  137. if key:lower() == "e" then
  138. if flying then flying = false
  139. else
  140. flying = true
  141. Fly()
  142. end
  143. elseif key:lower() == "w" then
  144. ctrl.f = 1
  145. elseif key:lower() == "s" then
  146. ctrl.b = -1
  147. elseif key:lower() == "a" then
  148. ctrl.l = -1
  149. elseif key:lower() == "d" then
  150. ctrl.r = 1
  151. end
  152. end)
  153. mouse.KeyUp:connect(function(key)
  154. if key:lower() == "w" then
  155. ctrl.f = 0
  156. elseif key:lower() == "s" then
  157. ctrl.b = 0
  158. elseif key:lower() == "a" then
  159. ctrl.l = 0
  160. elseif key:lower() == "d" then
  161. ctrl.r = 0
  162. elseif key:lower() == "r" then
  163.  
  164. end
  165. end)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×