do0mish

Invisible Fling

Mar 10th, 2020
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | None | 0 0
  1. Join 7Scripts for more scripts!
  2. https://discord.gg/VPj7f9v
  3.  
  4. General Instructions:
  5. Execute the script and press z to become an invisible flying block
  6. To respawn as your avatar and stop flinging, press x and itll respawn you
  7. This script wont work on all games, only some like Roblox High School (Legacy) or
  8.  
  9.  
  10. spawn(function()
  11. local message = Instance.new("Message",workspace)
  12. message.Text = "Loaded press z to execute inviseble , press x to respawn)"
  13. wait(0.5)
  14. message:Destroy()
  15. end)
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. local mouse = game.Players.LocalPlayer:GetMouse()
  25.  
  26. local groot = nil
  27.  
  28. mouse.KeyDown:connect(function(k)
  29.  
  30. if k == "z" then
  31.  
  32.  
  33.  
  34. spawn(function()
  35. local message = Instance.new("Message",workspace)
  36. message.Text = "Fe Invisible Fling By Diemiers#4209 Loaded (wait 11 seconds to load)"
  37. wait(11)
  38. message:Destroy()
  39. end)
  40.  
  41.  
  42. local ch = game.Players.LocalPlayer.Character
  43. local prt=Instance.new("Model", workspace)
  44. local z1 = Instance.new("Part", prt)
  45. z1.Name="Torso"
  46. z1.CanCollide = false
  47. z1.Anchored = true
  48. local z2 =Instance.new("Part", prt)
  49. z2.Name="Head"
  50. z2.Anchored = true
  51. z2.CanCollide = false
  52. local z3 =Instance.new("Humanoid", prt)
  53. z3.Name="Humanoid"
  54. z1.Position = Vector3.new(0,9999,0)
  55. z2.Position = Vector3.new(0,9991,0)
  56. game.Players.LocalPlayer.Character=prt
  57. wait(5)
  58. game.Players.LocalPlayer.Character=ch
  59. wait(6)
  60.  
  61.  
  62. local plr = game.Players.LocalPlayer
  63. mouse = plr:GetMouse()
  64.  
  65. local Hum = Instance.new("Humanoid")
  66. Hum.Parent = game.Players.LocalPlayer.Character
  67.  
  68.  
  69. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  70.  
  71.  
  72. for i,v in pairs(plr.Character:GetChildren()) do
  73.  
  74. if v ~= root and v.Name ~= "Humanoid" then
  75.  
  76. v:Destroy()
  77.  
  78. end
  79.  
  80.  
  81. end
  82.  
  83. workspace.CurrentCamera.CameraSubject = root
  84.  
  85. local se = Instance.new("SelectionBox",root)
  86. se.Adornee = root
  87.  
  88.  
  89. game:GetService('RunService').Stepped:connect(function()
  90. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  91. end)
  92. game:GetService('RunService').RenderStepped:connect(function()
  93. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  94. end)
  95.  
  96.  
  97. power = 999999 -- change this to make it more or less powerful
  98.  
  99. power = power*10
  100.  
  101. ---
  102. wait(.1)
  103. local bambam = Instance.new("BodyThrust")
  104. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  105. bambam.Force = Vector3.new(power,0,power)
  106. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  107.  
  108.  
  109.  
  110.  
  111.  
  112. local plr = game.Players.LocalPlayer
  113. local torso = root
  114. local flying = true
  115. local deb = true
  116. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  117. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  118. local maxspeed = 120
  119. local speed = 15
  120.  
  121.  
  122. ---local bambam = Instance.new("BodyThrust")
  123. ---bambam.Parent = torso
  124. --bambam.Force = Vector3.new(9999999,0,9999999)
  125. --bambam.Location = torso.Position
  126.  
  127.  
  128. ---
  129. groot = root
  130.  
  131. function Fly()
  132. local bg = Instance.new("BodyGyro", torso)
  133. bg.P = 9e4
  134. bg.maxTorque = Vector3.new(0, 0, 0)
  135. bg.cframe = torso.CFrame
  136. local bv = Instance.new("BodyVelocity", torso)
  137. bv.velocity = Vector3.new(0,0,0)
  138. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  139. repeat wait()
  140.  
  141. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  142. speed = speed+.2
  143. if speed > maxspeed then
  144. speed = maxspeed
  145. end
  146. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  147. speed = speed-1
  148. if speed < 0 then
  149. speed = 0
  150. end
  151. end
  152. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  153. 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
  154. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  155. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  156. 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
  157. else
  158. bv.velocity = Vector3.new(0,0.1,0)
  159. end
  160.  
  161. until not flying
  162. ctrl = {f = 0, b = 0, l = 0, r = 0}
  163. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  164. speed = 0
  165. bg:Destroy()
  166. bv:Destroy()
  167.  
  168. end
  169. mouse.KeyDown:connect(function(key)
  170. if key:lower() == "e" then
  171. if flying then flying = false
  172. else
  173. flying = true
  174. Fly()
  175. end
  176. elseif key:lower() == "w" then
  177. ctrl.f = 1
  178. elseif key:lower() == "s" then
  179. ctrl.b = -1
  180. elseif key:lower() == "a" then
  181. ctrl.l = -1
  182. elseif key:lower() == "d" then
  183. ctrl.r = 1
  184. end
  185. end)
  186. mouse.KeyUp:connect(function(key)
  187. if key:lower() == "w" then
  188. ctrl.f = 0
  189. elseif key:lower() == "s" then
  190. ctrl.b = 0
  191. elseif key:lower() == "a" then
  192. ctrl.l = 0
  193. elseif key:lower() == "d" then
  194. ctrl.r = 0
  195. elseif key:lower() == "r" then
  196.  
  197. end
  198. end)
  199. Fly()
  200.  
  201.  
  202.  
  203. elseif k == "x" then
  204.  
  205.  
  206. spawn(function()
  207. local message = Instance.new("Message",workspace)
  208. message.Text = "Respawning dont spam"
  209. wait(1)
  210. message:Destroy()
  211. end)
  212.  
  213. local saved = groot.Position
  214.  
  215. local ch = game.Players.LocalPlayer.Character
  216. local prt=Instance.new("Model", workspace)
  217. local z1 = Instance.new("Part", prt)
  218. z1.Name="Torso"
  219. z1.CanCollide = false
  220. z1.Anchored = true
  221. local z2 =Instance.new("Part", prt)
  222. z2.Name="Head"
  223. z2.Anchored = true
  224. z2.CanCollide = false
  225. local z3 =Instance.new("Humanoid", prt)
  226. z3.Name="Humanoid"
  227. z1.Position = Vector3.new(0,9999,0)
  228. z2.Position = Vector3.new(0,9991,0)
  229. game.Players.LocalPlayer.Character=prt
  230. wait(5)
  231. game.Players.LocalPlayer.Character=ch
  232. local poop = nil
  233. repeat wait() poop = game.Players.LocalPlayer.Character:FindFirstChild("Head") until poop ~= nil
  234. wait(1)
  235. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(saved)
  236.  
  237. end
  238.  
  239.  
  240. end)
Advertisement
Add Comment
Please, Sign In to add comment