Advertisement
RiasGremory0100

Untitled

Jun 13th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. -- by fr34ky;
  2.  
  3. --Controls
  4.  
  5. -- Z = Plane engine sounds
  6. -- C Brake
  7.  
  8. -- B Allahu akbar music
  9.  
  10.  
  11.  
  12. local char = game.Players.LocalPlayer.Character
  13.  
  14.  
  15. local player = game.Players.LocalPlayer
  16. repeat wait() until player.Character.Humanoid
  17. local humanoid = player.Character.Humanoid
  18. local mouse = player:GetMouse()
  19.  
  20. local p = Instance.new("ForceField")
  21. p.Parent = game.Players.LocalPlayer.Character
  22.  
  23. for i,v in pairs(char.Torso:GetChildren()) do
  24. if v.ClassName == 'Decal' then
  25. v:Destroy()
  26. end
  27. end
  28. for i,v in pairs(char:GetChildren()) do
  29. if v.ClassName == 'Hat' then
  30. v:Destroy()
  31. end
  32. end
  33. for i,v in pairs(char.Head:GetChildren()) do
  34. if v.ClassName == 'Decal' then
  35. v:Destroy()
  36. end
  37. end
  38.  
  39. local plane = Instance.new('SpecialMesh', char.Torso)
  40. plane.MeshType = 'FileMesh'
  41. plane.MeshId = 'http://www.roblox.com/asset/?id=441716520'
  42. plane.TextureId = 'http://www.roblox.com/asset/?id=441716524'
  43. plane.Scale = Vector3.new(2, 2, 2)
  44.  
  45. planesound=Instance.new('Sound', char.Torso)
  46. planesound.SoundId = 'rbxassetid://439771510'
  47. planesound.Volume = 1
  48. planesound.Looped = true
  49.  
  50. pullup=Instance.new('Sound', char.Torso)
  51. pullup.SoundId = 'rbxassetid://144560522'
  52. pullup.Volume = 10
  53. pullup.Looped = true
  54.  
  55. alarm=Instance.new('Sound', char.Torso)
  56. alarm.SoundId = 'rbxassetid://384231761'
  57. alarm.Volume = 10
  58. alarm.Looped = true
  59.  
  60.  
  61. screech=Instance.new('Sound', char.Torso)
  62. screech.SoundId = 'rbxassetid://262353320'
  63. screech.Volume = 10
  64.  
  65. st=Instance.new('Sound', char.Torso)
  66. st.SoundId = 'rbxassetid://131353021'
  67. st.Volume = 10
  68.  
  69. allahuakbar=Instance.new('Sound', char)
  70. allahuakbar.SoundId = 'rbxassetid://293292782'
  71. allahuakbar.Volume = 10
  72.  
  73. moosic=Instance.new('Sound', char)
  74. moosic.SoundId = 'rbxassetid://449564941'
  75. moosic.Volume = 5
  76.  
  77. allahuakbar2=Instance.new('Sound', char)
  78. allahuakbar2.SoundId = 'rbxassetid://446824013' --446824013
  79. allahuakbar2.Volume = 1
  80.  
  81.  
  82. planesound:Play()
  83.  
  84. char.Head.Transparency = 1
  85. char['Left Arm'].Transparency = 1
  86. char['Right Arm'].Transparency = 1
  87. char['Left Leg'].Transparency = 1
  88. char['Right Leg'].Transparency = 1
  89.  
  90. repeat wait(1)until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:GetMouse() and game:FindService("Workspace") and game.Workspace.CurrentCamera
  91. local Me = game:GetService("Players").LocalPlayer
  92. local Char = Me.Character
  93. local Mouse = Me:GetMouse()
  94. local Cam = Workspace.CurrentCamera
  95. local Stop = false
  96. local Version = 0
  97. local MaxSpeed = 8
  98. local Speed = 8
  99. local Keys = {}
  100. local Force = 10000 -- 10000 = Fly, 1000000 = Noclip
  101.  
  102. local Fly, Rot = Char.Torso:FindFirstChild("LMMFly"), Char.Torso:FindFirstChild("LMMRot")
  103. if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
  104. Fly = Instance.new("BodyPosition", Char.Torso) Fly.Name = "LMMFly" Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge) Fly.P = Force Fly.position = Char.Torso.Position
  105. Rot = Instance.new("BodyGyro", Char.Torso) Rot.Name = "LMMRot" Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge) Rot.P = Force Rot.cframe = Cam.CoordinateFrame
  106.  
  107. local Thread,Old = Version, nil
  108. Char.Humanoid.PlatformStand = true
  109.  
  110. function StopFly()
  111. Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
  112. end
  113.  
  114. Char.ChildAdded:connect(function(Obj) wait()
  115. if Obj.Name == "LM".."MFlyStop" then
  116. Obj:Destroy()
  117. StopFly()
  118. end
  119. end)
  120.  
  121. coroutine.wrap(function() while Thread == Version and Stop == false do
  122. local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
  123.  
  124. if Keys[string.char(48)] then Speed = 1 end
  125. if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
  126. if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
  127. if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
  128. if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
  129. if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
  130. if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
  131. if Keys.x then StopFly() end
  132.  
  133. if Old ~= Vectoring then
  134. Fly.position = Vectoring.p
  135. Old = Vectoring
  136. Speed = math.min(Speed + Speed*0.025,MaxSpeed)
  137. else
  138. Speed = 1;
  139. end
  140. Rot.cframe = Cam.CoordinateFrame
  141. wait(0.01)
  142. end end)()
  143.  
  144. Mouse.KeyDown:connect(function(Key)
  145. Keys[Key] = true
  146. end)
  147. Mouse.KeyUp:connect(function(Key)
  148. Keys[Key] = false
  149. end)
  150.  
  151.  
  152. mouse.KeyDown:connect(function(key)
  153. if key == "c" then
  154. planesound:Stop()
  155. screech:Play()
  156. allahuakbar2:Stop()
  157. pullup:Stop()
  158. explosionf.Enabled = false
  159. alarm:Stop()
  160. local e = Instance.new("Smoke", char.Torso)
  161. e.Size = 20
  162. char.Torso.Anchored = true
  163. wait(3)
  164. e.Enabled = false
  165.  
  166. end
  167. end)
  168.  
  169. mouse.KeyDown:connect(function(key)
  170. if key == "v" then
  171. explosionf.Enabled = true
  172. pullup:Play()
  173. alarm:Play()
  174. explosionf.Size = NumberSequence.new(5)
  175. end
  176. end)
  177.  
  178. mouse.KeyDown:connect(function(key)
  179. if key == "b" then
  180. moosic:Play()
  181. end
  182. end)
  183.  
  184. mouse.KeyDown:connect(function(key)
  185. if key == "n" then
  186. moosic:Stop()
  187. end
  188. end)
  189.  
  190. mouse.KeyDown:connect(function(key)
  191. if key == "z" then
  192. planesound:Play()
  193. screech:Stop()
  194. char.Torso.Anchored = false
  195. st:Play()
  196. allahuakbar2:Stop()
  197. pullup:Stop()
  198. explosionf.Enabled = false
  199. alarm:Stop()
  200.  
  201.  
  202. end
  203. end)
  204.  
  205. char.Torso.Touched:connect(onTouched)
  206.  
  207. print(game.Workspace.FilteringEnabled)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement