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