Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1.  
  2. Code:
  3. -- by fr34ky;
  4. local char = game.Players.LocalPlayer.Character
  5.  
  6.  
  7. local player = game.Players.LocalPlayer
  8. repeat wait() until player.Character.Humanoid
  9. local humanoid = player.Character.Humanoid
  10. local mouse = player:GetMouse()
  11.  
  12. local weld = Instance.new("Weld",char.Torso)
  13. weld.Part0 = char.Torso
  14.  
  15. local plane = Instance.new("Part",char.Torso)
  16. plane.Anchored = false
  17. plane.CanCollide = false
  18. plane.Size = Vector3.new(3,2,6)
  19. plane.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  20. weld.Part1 = plane
  21. weld.C1 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.rad(270),0)
  22.  
  23. local pf = Instance.new("ForceField")
  24. pf.Parent = game.Players.LocalPlayer.Character
  25.  
  26. for i,v in pairs(char.Torso:GetChildren()) do
  27. if v.ClassName == 'Decal' then
  28. v:Destroy()
  29. end
  30. end
  31. for i,v in pairs(char:GetChildren()) do
  32. if v.ClassName == 'Hat' then
  33. v:Destroy()
  34. end
  35. end
  36. for i,v in pairs(char.Head:GetChildren()) do
  37. if v.ClassName == 'Decal' then
  38. v:Destroy()
  39. end
  40. end
  41.  
  42. char.Humanoid.JumpPower = 200
  43. char.Humanoid.Jump = true
  44.  
  45. local plane = Instance.new('SpecialMesh', plane)
  46. plane.MeshType = 'FileMesh'
  47. plane.MeshId = 'http://www.roblox.com/asset/?id=498194022' --498194022
  48. plane.TextureId = 'http://www.roblox.com/asset/?id=498194025'
  49. plane.Scale = Vector3.new(0.2, 0.2, 0.2)
  50.  
  51.  
  52. planesound=Instance.new('Sound', char.Torso)
  53. planesound.SoundId = 'rbxassetid://439771510'
  54. planesound.Volume = 1
  55. planesound.Looped = true
  56.  
  57. pullup=Instance.new('Sound', char.Torso)
  58. pullup.SoundId = 'rbxassetid://144560522'
  59. pullup.Volume = 10
  60. pullup.Looped = true
  61.  
  62. alarm=Instance.new('Sound', char.Torso)
  63. alarm.SoundId = 'rbxassetid://384231761'
  64. alarm.Volume = 10
  65. alarm.Looped = true
  66.  
  67.  
  68. screech=Instance.new('Sound', char.Torso)
  69. screech.SoundId = 'rbxassetid://262353320'
  70. screech.Volume = 10
  71.  
  72. st=Instance.new('Sound', char.Torso)
  73. st.SoundId = 'rbxassetid://131353021'
  74. st.Volume = 20
  75.  
  76. allahuakbar=Instance.new('Sound', char)
  77. allahuakbar.SoundId = 'rbxassetid://293292782'
  78. allahuakbar.Volume = 10
  79.  
  80. moosic=Instance.new('Sound', char)
  81. moosic.SoundId = 'rbxassetid://504630746'
  82. moosic.Volume = 2
  83.  
  84. allahuakbar2=Instance.new('Sound', char)
  85. allahuakbar2.SoundId = 'rbxassetid://446824013' --446824013
  86. allahuakbar2.Volume = 1
  87.  
  88.  
  89. planesound:Play()
  90.  
  91. explosionf=Instance.new('ParticleEmitter', char.Torso)
  92. explosionf.Texture = 'http://www.roblox.com/asset/?id=244514357'
  93. explosionf.Size = NumberSequence.new(19)
  94. explosionf.Rate = 1000
  95. explosionf.LightEmission = 0.4
  96. explosionf.Lifetime = NumberRange.new(1)
  97. explosionf.VelocitySpread = 360
  98. explosionf.Enabled = false
  99.  
  100.  
  101.  
  102. char.Torso.Transparency = 1
  103. char.Head.Transparency = 1
  104. char['Left Arm'].Transparency = 1
  105. char['Right Arm'].Transparency = 1
  106. char['Left Leg'].Transparency = 1
  107. char['Right Leg'].Transparency = 1
  108.  
  109. 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
  110. local Me = game:GetService("Players").LocalPlayer
  111. local Char = Me.Character
  112. local Mouse = Me:GetMouse()
  113. local Cam = Workspace.CurrentCamera
  114. local Stop = false
  115. local Version = 0
  116. local MaxSpeed = 8
  117. local Speed = 8
  118. local Keys = {}
  119. local Force = 10000 -- 10000 = Fly, 1000000 = Noclip
  120.  
  121. local Fly, Rot = Char.Torso:FindFirstChild("LMMFly"), Char.Torso:FindFirstChild("LMMRot")
  122. if Fly then Fly:Destroy() end if Rot then Rot:Destroy() end
  123. 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
  124. 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
  125.  
  126. local Thread,Old = Version, nil
  127. Char.Humanoid.PlatformStand = true
  128.  
  129. function StopFly()
  130. Version = Version + 1 Stop = true Char.Humanoid.PlatformStand = false Fly:Destroy() Rot:Destroy() script.Disabled = true script:Destroy()
  131. end
  132.  
  133. Char.ChildAdded:connect(function(Obj) wait()
  134. if Obj.Name == "LM".."MFlyStop" then
  135. Obj:Destroy()
  136. StopFly()
  137. end
  138. end)
  139.  
  140. coroutine.wrap(function() while Thread == Version and Stop == false do
  141. local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
  142.  
  143. if Keys[string.char(48)] then Speed = 1 end
  144. if Keys.w then Vectoring = Vectoring + Cam.CoordinateFrame.lookVector * Speed end
  145. if Keys.s then Vectoring = Vectoring - Cam.CoordinateFrame.lookVector * Speed end
  146. if Keys.d then Vectoring = Vectoring * CFrame.new(Speed,0,0) end
  147. if Keys.a then Vectoring = Vectoring * CFrame.new(-Speed,0,0) end
  148. if Keys.e or Keys[" "] then Vectoring = Vectoring * CFrame.new(0,Speed,0) end
  149. if Keys.q then Vectoring = Vectoring * CFrame.new(0,-Speed,0) end
  150. if Keys.x then StopFly() end
  151.  
  152. if Old ~= Vectoring then
  153. Fly.position = Vectoring.p
  154. Old = Vectoring
  155. Speed = math.min(Speed + Speed*0.025,MaxSpeed)
  156. else
  157. Speed = 1;
  158. end
  159. Rot.cframe = Cam.CoordinateFrame
  160. wait(0.01)
  161. end end)()
  162.  
  163. Mouse.KeyDown:connect(function(Key)
  164. Keys[Key] = true
  165. end)
  166. Mouse.KeyUp:connect(function(Key)
  167. Keys[Key] = false
  168. end)
  169.  
  170.  
  171. mouse.KeyDown:connect(function(key)
  172. if key == "c" then
  173. planesound:Stop()
  174. screech:Play()
  175. allahuakbar2:Stop()
  176. pullup:Stop()
  177. explosionf.Enabled = false
  178. alarm:Stop()
  179. local e = Instance.new("Smoke", char.Torso)
  180. e.Size = 20
  181. char.Torso.Anchored = false
  182. wait(3)
  183. e.Enabled = false
  184.  
  185. end
  186. end)
  187.  
  188. mouse.KeyDown:connect(function(key)
  189. if key == "v" then
  190. explosionf.Enabled = true
  191. pullup:Play()
  192. alarm:Play()
  193. explosionf.Size = NumberSequence.new(5)
  194. end
  195. end)
  196.  
  197. mouse.KeyDown:connect(function(key)
  198. if key == "b" then
  199. moosic:Play()
  200. end
  201. end)
  202.  
  203. mouse.KeyDown:connect(function(key)
  204. if key == "n" then
  205. moosic:Stop()
  206. end
  207. end)
  208.  
  209. mouse.KeyDown:connect(function(key)
  210. if key == "z" then
  211. planesound:Play()
  212. screech:Stop()
  213. char.Torso.Anchored = false
  214. st:Play()
  215. allahuakbar2:Stop()
  216. pullup:Stop()
  217. explosionf.Enabled = false
  218. alarm:Stop()
  219.  
  220.  
  221. end
  222. end)
  223.  
  224. Enabled = false
  225. function onTouched(hit)
  226. if Enabled then
  227. return
  228. end
  229. Enabled=false
  230. local e = Instance.new("Explosion")
  231. e.BlastRadius = 260-- How much ground the explosion covers --
  232. e.BlastPressure = 51-- How powerful the explosion is --
  233. e.Parent = char.Torso -- Don't change this!
  234. e.Position = char.Torso.Position -- Don't change this!
  235. allahuakbar:Play()
  236. explosionf.Size = NumberSequence.new(50)
  237. explosionf.Speed = NumberRange.new(30)
  238. explosionf.Enabled = true
  239. char.Torso.Anchored = true
  240. explosionf.Lifetime = NumberRange.new(0.25)
  241. allahuakbar2:Play()
  242. allahuakbar2.Pitch = 0
  243. pullup:Stop()
  244. alarm:Stop()
  245. wait(1.25)
  246. allahuakbar2.Pitch = 0
  247. explosionf.Enabled = false
  248. planesound:Stop()
  249. wait(0.50)
  250. plr = game.Players.LocalPlayer.Name
  251. for i,v in pairs(game.Players:GetChildren()) do
  252. if v.Name ~= plr then
  253. game:GetService("Chat"):Chat(v.Character.Head, "ALLAHU AKBAR!!! HEIL PLANE CRASHES!!!", Enum.ChatColor.Blue)
  254. AKBAR=Instance.new('Sound', v.Character.Head)
  255. AKBAR.SoundId = 'rbxassetid://396873260'
  256. AKBAR.Volume = 15
  257. AKBAR.Pitch = 0.25
  258. AKBAR.Looped = false
  259. AKBAR:Play()
  260. wait(2.6)
  261. AKBAR:Play()
  262.  
  263. end
  264. end
  265.  
  266. end
  267. char.Torso.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement