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