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