poopiscool

Untitled

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