SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | function sandbox(var,func) | |
4 | local env = getfenv(func) | |
5 | local newenv = setmetatable({},{ | |
6 | __index = function(self,k) | |
7 | if k=="script" then | |
8 | return var | |
9 | else | |
10 | return env[k] | |
11 | end | |
12 | end, | |
13 | }) | |
14 | setfenv(func,newenv) | |
15 | return func | |
16 | end | |
17 | cors = {} | |
18 | mas = Instance.new("Model",game:GetService("Lighting")) | |
19 | Model0 = Instance.new("Model") | |
20 | Part1 = Instance.new("Part") | |
21 | Sound2 = Instance.new("Sound") | |
22 | Fire3 = Instance.new("Fire") | |
23 | Sound4 = Instance.new("Sound") | |
24 | BodyGyro5 = Instance.new("BodyGyro") | |
25 | Motor6D6 = Instance.new("Motor6D") | |
26 | Motor6D7 = Instance.new("Motor6D") | |
27 | Motor6D8 = Instance.new("Motor6D") | |
28 | Sound9 = Instance.new("Sound") | |
29 | Fire10 = Instance.new("Fire") | |
30 | Script11 = Instance.new("Script") | |
31 | Motor6D12 = Instance.new("Motor6D") | |
32 | Motor6D13 = Instance.new("Motor6D") | |
33 | Motor6D14 = Instance.new("Motor6D") | |
34 | Motor6D15 = Instance.new("Motor6D") | |
35 | VehicleSeat16 = Instance.new("VehicleSeat") | |
36 | Motor6D17 = Instance.new("Motor6D") | |
37 | Part18 = Instance.new("Part") | |
38 | ClickDetector19 = Instance.new("ClickDetector") | |
39 | Script20 = Instance.new("Script") | |
40 | BoolValue21 = Instance.new("BoolValue") | |
41 | Motor6D22 = Instance.new("Motor6D") | |
42 | Sound23 = Instance.new("Sound") | |
43 | Fire24 = Instance.new("Fire") | |
44 | Script25 = Instance.new("Script") | |
45 | SpotLight26 = Instance.new("SpotLight") | |
46 | Motor6D27 = Instance.new("Motor6D") | |
47 | Part28 = Instance.new("Part") | |
48 | Part29 = Instance.new("Part") | |
49 | Script30 = Instance.new("Script") | |
50 | Sound31 = Instance.new("Sound") | |
51 | Script32 = Instance.new("Script") | |
52 | Script33 = Instance.new("Script") | |
53 | Sound34 = Instance.new("Sound") | |
54 | Model35 = Instance.new("Model") | |
55 | Script36 = Instance.new("Script") | |
56 | Script37 = Instance.new("Script") | |
57 | Script38 = Instance.new("Script") | |
58 | Script39 = Instance.new("Script") | |
59 | Script40 = Instance.new("Script") | |
60 | Sound41 = Instance.new("Sound") | |
61 | Script42 = Instance.new("Script") | |
62 | Fire43 = Instance.new("Fire") | |
63 | Script44 = Instance.new("Script") | |
64 | Humanoid45 = Instance.new("Humanoid") | |
65 | Script46 = Instance.new("Script") | |
66 | Script47 = Instance.new("Script") | |
67 | Script48 = Instance.new("Script") | |
68 | Script49 = Instance.new("Script") | |
69 | Script50 = Instance.new("Script") | |
70 | Script51 = Instance.new("Script") | |
71 | Script52 = Instance.new("Script") | |
72 | Script53 = Instance.new("Script") | |
73 | Script54 = Instance.new("Script") | |
74 | Script55 = Instance.new("Script") | |
75 | Script56 = Instance.new("Script") | |
76 | Part57 = Instance.new("Part") | |
77 | Sound58 = Instance.new("Sound") | |
78 | Script59 = Instance.new("Script") | |
79 | Script60 = Instance.new("Script") | |
80 | Sound61 = Instance.new("Sound") | |
81 | Fire62 = Instance.new("Fire") | |
82 | Script63 = Instance.new("Script") | |
83 | Part64 = Instance.new("Part") | |
84 | Sound65 = Instance.new("Sound") | |
85 | Script66 = Instance.new("Script") | |
86 | Configuration67 = Instance.new("Configuration") | |
87 | NumberValue68 = Instance.new("NumberValue") | |
88 | NumberValue69 = Instance.new("NumberValue") | |
89 | NumberValue70 = Instance.new("NumberValue") | |
90 | Configuration71 = Instance.new("Configuration") | |
91 | NumberValue72 = Instance.new("NumberValue") | |
92 | Motor6D73 = Instance.new("Motor6D") | |
93 | Sound74 = Instance.new("Sound") | |
94 | Fire75 = Instance.new("Fire") | |
95 | Script76 = Instance.new("Script") | |
96 | ForceField77 = Instance.new("ForceField") | |
97 | Script78 = Instance.new("Script") | |
98 | Part79 = Instance.new("Part") | |
99 | Sound80 = Instance.new("Sound") | |
100 | Fire81 = Instance.new("Fire") | |
101 | Script82 = Instance.new("Script") | |
102 | Part83 = Instance.new("Part") | |
103 | Sound84 = Instance.new("Sound") | |
104 | Fire85 = Instance.new("Fire") | |
105 | Script86 = Instance.new("Script") | |
106 | Part87 = Instance.new("Part") | |
107 | Sound88 = Instance.new("Sound") | |
108 | Fire89 = Instance.new("Fire") | |
109 | Script90 = Instance.new("Script") | |
110 | Part91 = Instance.new("Part") | |
111 | Sound92 = Instance.new("Sound") | |
112 | Fire93 = Instance.new("Fire") | |
113 | Script94 = Instance.new("Script") | |
114 | Part95 = Instance.new("Part") | |
115 | Script96 = Instance.new("Script") | |
116 | Script97 = Instance.new("Script") | |
117 | Sound98 = Instance.new("Sound") | |
118 | - | ClickDetector99 = Instance.new("ClickDetector") |
118 | + | Script99 = Instance.new("Script") |
119 | - | Sound100 = Instance.new("Sound") |
119 | + | ClickDetector100 = Instance.new("ClickDetector") |
120 | - | Part101 = Instance.new("Part") |
120 | + | Sound101 = Instance.new("Sound") |
121 | - | Sound102 = Instance.new("Sound") |
121 | + | Part102 = Instance.new("Part") |
122 | - | Script103 = Instance.new("Script") |
122 | + | Sound103 = Instance.new("Sound") |
123 | - | ParticleEmitter104 = Instance.new("ParticleEmitter") |
123 | + | Script104 = Instance.new("Script") |
124 | - | Fire105 = Instance.new("Fire") |
124 | + | ParticleEmitter105 = Instance.new("ParticleEmitter") |
125 | - | Part106 = Instance.new("Part") |
125 | + | Fire106 = Instance.new("Fire") |
126 | - | Sound107 = Instance.new("Sound") |
126 | + | Part107 = Instance.new("Part") |
127 | - | Script108 = Instance.new("Script") |
127 | + | Sound108 = Instance.new("Sound") |
128 | - | ParticleEmitter109 = Instance.new("ParticleEmitter") |
128 | + | Script109 = Instance.new("Script") |
129 | - | Fire110 = Instance.new("Fire") |
129 | + | ParticleEmitter110 = Instance.new("ParticleEmitter") |
130 | - | Part111 = Instance.new("Part") |
130 | + | Fire111 = Instance.new("Fire") |
131 | - | Sound112 = Instance.new("Sound") |
131 | + | Part112 = Instance.new("Part") |
132 | - | Script113 = Instance.new("Script") |
132 | + | Sound113 = Instance.new("Sound") |
133 | - | ParticleEmitter114 = Instance.new("ParticleEmitter") |
133 | + | Script114 = Instance.new("Script") |
134 | - | Fire115 = Instance.new("Fire") |
134 | + | ParticleEmitter115 = Instance.new("ParticleEmitter") |
135 | - | Part116 = Instance.new("Part") |
135 | + | Fire116 = Instance.new("Fire") |
136 | - | Sound117 = Instance.new("Sound") |
136 | + | Part117 = Instance.new("Part") |
137 | - | Script118 = Instance.new("Script") |
137 | + | Sound118 = Instance.new("Sound") |
138 | - | ParticleEmitter119 = Instance.new("ParticleEmitter") |
138 | + | Script119 = Instance.new("Script") |
139 | - | Fire120 = Instance.new("Fire") |
139 | + | ParticleEmitter120 = Instance.new("ParticleEmitter") |
140 | Fire121 = Instance.new("Fire") | |
141 | Model122 = Instance.new("Model") | |
142 | Part123 = Instance.new("Part") | |
143 | Sound124 = Instance.new("Sound") | |
144 | Fire125 = Instance.new("Fire") | |
145 | Sound126 = Instance.new("Sound") | |
146 | BodyGyro127 = Instance.new("BodyGyro") | |
147 | Motor6D128 = Instance.new("Motor6D") | |
148 | Motor6D129 = Instance.new("Motor6D") | |
149 | - | Part1.CFrame = CFrame.new(20.287981, 1.01002681, 15.0551071, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036) |
149 | + | Motor6D130 = Instance.new("Motor6D") |
150 | Sound131 = Instance.new("Sound") | |
151 | Fire132 = Instance.new("Fire") | |
152 | Script133 = Instance.new("Script") | |
153 | - | Part1.Position = Vector3.new(20.287981, 1.01002681, 15.0551071) |
153 | + | Motor6D134 = Instance.new("Motor6D") |
154 | Motor6D135 = Instance.new("Motor6D") | |
155 | Motor6D136 = Instance.new("Motor6D") | |
156 | Motor6D137 = Instance.new("Motor6D") | |
157 | VehicleSeat138 = Instance.new("VehicleSeat") | |
158 | Motor6D139 = Instance.new("Motor6D") | |
159 | Part140 = Instance.new("Part") | |
160 | ClickDetector141 = Instance.new("ClickDetector") | |
161 | Script142 = Instance.new("Script") | |
162 | BoolValue143 = Instance.new("BoolValue") | |
163 | Motor6D144 = Instance.new("Motor6D") | |
164 | Sound145 = Instance.new("Sound") | |
165 | Fire146 = Instance.new("Fire") | |
166 | Script147 = Instance.new("Script") | |
167 | SpotLight148 = Instance.new("SpotLight") | |
168 | Motor6D149 = Instance.new("Motor6D") | |
169 | Part150 = Instance.new("Part") | |
170 | Part151 = Instance.new("Part") | |
171 | Script152 = Instance.new("Script") | |
172 | Sound153 = Instance.new("Sound") | |
173 | Script154 = Instance.new("Script") | |
174 | Script155 = Instance.new("Script") | |
175 | Sound156 = Instance.new("Sound") | |
176 | Model157 = Instance.new("Model") | |
177 | Script158 = Instance.new("Script") | |
178 | Script159 = Instance.new("Script") | |
179 | Script160 = Instance.new("Script") | |
180 | Script161 = Instance.new("Script") | |
181 | Script162 = Instance.new("Script") | |
182 | Sound163 = Instance.new("Sound") | |
183 | Script164 = Instance.new("Script") | |
184 | Fire165 = Instance.new("Fire") | |
185 | Script166 = Instance.new("Script") | |
186 | Humanoid167 = Instance.new("Humanoid") | |
187 | Script168 = Instance.new("Script") | |
188 | Script169 = Instance.new("Script") | |
189 | Script170 = Instance.new("Script") | |
190 | Script171 = Instance.new("Script") | |
191 | Script172 = Instance.new("Script") | |
192 | Script173 = Instance.new("Script") | |
193 | Script174 = Instance.new("Script") | |
194 | Script175 = Instance.new("Script") | |
195 | Script176 = Instance.new("Script") | |
196 | Script177 = Instance.new("Script") | |
197 | Script178 = Instance.new("Script") | |
198 | Part179 = Instance.new("Part") | |
199 | Sound180 = Instance.new("Sound") | |
200 | Script181 = Instance.new("Script") | |
201 | Script182 = Instance.new("Script") | |
202 | Sound183 = Instance.new("Sound") | |
203 | Fire184 = Instance.new("Fire") | |
204 | Script185 = Instance.new("Script") | |
205 | Part186 = Instance.new("Part") | |
206 | Sound187 = Instance.new("Sound") | |
207 | Script188 = Instance.new("Script") | |
208 | Configuration189 = Instance.new("Configuration") | |
209 | NumberValue190 = Instance.new("NumberValue") | |
210 | NumberValue191 = Instance.new("NumberValue") | |
211 | NumberValue192 = Instance.new("NumberValue") | |
212 | Configuration193 = Instance.new("Configuration") | |
213 | - | Motor6D12.Part1 = Part116 |
213 | + | NumberValue194 = Instance.new("NumberValue") |
214 | Motor6D195 = Instance.new("Motor6D") | |
215 | Sound196 = Instance.new("Sound") | |
216 | Fire197 = Instance.new("Fire") | |
217 | - | Motor6D13.Part1 = Part111 |
217 | + | Script198 = Instance.new("Script") |
218 | ForceField199 = Instance.new("ForceField") | |
219 | Script200 = Instance.new("Script") | |
220 | Part201 = Instance.new("Part") | |
221 | - | Motor6D14.Part1 = Part106 |
221 | + | Sound202 = Instance.new("Sound") |
222 | Fire203 = Instance.new("Fire") | |
223 | Script204 = Instance.new("Script") | |
224 | Part205 = Instance.new("Part") | |
225 | - | Motor6D15.Part1 = Part101 |
225 | + | Sound206 = Instance.new("Sound") |
226 | Fire207 = Instance.new("Fire") | |
227 | Script208 = Instance.new("Script") | |
228 | Part209 = Instance.new("Part") | |
229 | Sound210 = Instance.new("Sound") | |
230 | Fire211 = Instance.new("Fire") | |
231 | Script212 = Instance.new("Script") | |
232 | - | VehicleSeat16.CFrame = CFrame.new(20.2880383, 2.01037002, 15.0548401, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1) |
232 | + | Part213 = Instance.new("Part") |
233 | Sound214 = Instance.new("Sound") | |
234 | Fire215 = Instance.new("Fire") | |
235 | Script216 = Instance.new("Script") | |
236 | Part217 = Instance.new("Part") | |
237 | Script218 = Instance.new("Script") | |
238 | Script219 = Instance.new("Script") | |
239 | - | VehicleSeat16.Position = Vector3.new(20.2880383, 2.01037002, 15.0548401) |
239 | + | Sound220 = Instance.new("Sound") |
240 | Script221 = Instance.new("Script") | |
241 | ClickDetector222 = Instance.new("ClickDetector") | |
242 | Sound223 = Instance.new("Sound") | |
243 | Part224 = Instance.new("Part") | |
244 | Sound225 = Instance.new("Sound") | |
245 | Script226 = Instance.new("Script") | |
246 | ParticleEmitter227 = Instance.new("ParticleEmitter") | |
247 | Fire228 = Instance.new("Fire") | |
248 | Part229 = Instance.new("Part") | |
249 | Sound230 = Instance.new("Sound") | |
250 | Script231 = Instance.new("Script") | |
251 | - | Part18.CFrame = CFrame.new(20.2879105, 2.51142883, 12.5517187, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048) |
251 | + | ParticleEmitter232 = Instance.new("ParticleEmitter") |
252 | Fire233 = Instance.new("Fire") | |
253 | Part234 = Instance.new("Part") | |
254 | Sound235 = Instance.new("Sound") | |
255 | - | Part18.Position = Vector3.new(20.2879105, 2.51142883, 12.5517187) |
255 | + | Script236 = Instance.new("Script") |
256 | ParticleEmitter237 = Instance.new("ParticleEmitter") | |
257 | Fire238 = Instance.new("Fire") | |
258 | Part239 = Instance.new("Part") | |
259 | Sound240 = Instance.new("Sound") | |
260 | Script241 = Instance.new("Script") | |
261 | ParticleEmitter242 = Instance.new("ParticleEmitter") | |
262 | Fire243 = Instance.new("Fire") | |
263 | Model244 = Instance.new("Model") | |
264 | Part245 = Instance.new("Part") | |
265 | Sound246 = Instance.new("Sound") | |
266 | Fire247 = Instance.new("Fire") | |
267 | Sound248 = Instance.new("Sound") | |
268 | BodyGyro249 = Instance.new("BodyGyro") | |
269 | Motor6D250 = Instance.new("Motor6D") | |
270 | Motor6D251 = Instance.new("Motor6D") | |
271 | Motor6D252 = Instance.new("Motor6D") | |
272 | Sound253 = Instance.new("Sound") | |
273 | Fire254 = Instance.new("Fire") | |
274 | Script255 = Instance.new("Script") | |
275 | Motor6D256 = Instance.new("Motor6D") | |
276 | Motor6D257 = Instance.new("Motor6D") | |
277 | Motor6D258 = Instance.new("Motor6D") | |
278 | Motor6D259 = Instance.new("Motor6D") | |
279 | VehicleSeat260 = Instance.new("VehicleSeat") | |
280 | Motor6D261 = Instance.new("Motor6D") | |
281 | Part262 = Instance.new("Part") | |
282 | ClickDetector263 = Instance.new("ClickDetector") | |
283 | Script264 = Instance.new("Script") | |
284 | BoolValue265 = Instance.new("BoolValue") | |
285 | Motor6D266 = Instance.new("Motor6D") | |
286 | Sound267 = Instance.new("Sound") | |
287 | Fire268 = Instance.new("Fire") | |
288 | Script269 = Instance.new("Script") | |
289 | SpotLight270 = Instance.new("SpotLight") | |
290 | Motor6D271 = Instance.new("Motor6D") | |
291 | Part272 = Instance.new("Part") | |
292 | Part273 = Instance.new("Part") | |
293 | Script274 = Instance.new("Script") | |
294 | Sound275 = Instance.new("Sound") | |
295 | Script276 = Instance.new("Script") | |
296 | Script277 = Instance.new("Script") | |
297 | Sound278 = Instance.new("Sound") | |
298 | Model279 = Instance.new("Model") | |
299 | Script280 = Instance.new("Script") | |
300 | Script281 = Instance.new("Script") | |
301 | Script282 = Instance.new("Script") | |
302 | Script283 = Instance.new("Script") | |
303 | Script284 = Instance.new("Script") | |
304 | Sound285 = Instance.new("Sound") | |
305 | Script286 = Instance.new("Script") | |
306 | Fire287 = Instance.new("Fire") | |
307 | Script288 = Instance.new("Script") | |
308 | Humanoid289 = Instance.new("Humanoid") | |
309 | Script290 = Instance.new("Script") | |
310 | Script291 = Instance.new("Script") | |
311 | Script292 = Instance.new("Script") | |
312 | Script293 = Instance.new("Script") | |
313 | Script294 = Instance.new("Script") | |
314 | Script295 = Instance.new("Script") | |
315 | - | Motor6D27.C1 = CFrame.new(7.62939453e-06, -3.49520397, 0.183175087, 1.00000417, -8.03884319e-08, -6.97378073e-06, 4.43805504e-07, 0.99862951, 0.0523359105, 6.96008874e-06, -0.0523357838, 0.998631895) |
315 | + | Script296 = Instance.new("Script") |
316 | Script297 = Instance.new("Script") | |
317 | Script298 = Instance.new("Script") | |
318 | Script299 = Instance.new("Script") | |
319 | Script300 = Instance.new("Script") | |
320 | Part301 = Instance.new("Part") | |
321 | Sound302 = Instance.new("Sound") | |
322 | Script303 = Instance.new("Script") | |
323 | Script304 = Instance.new("Script") | |
324 | - | Part28.CFrame = CFrame.new(20.2881603, 3.51226544, 16.0559158, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012) |
324 | + | Sound305 = Instance.new("Sound") |
325 | Fire306 = Instance.new("Fire") | |
326 | Script307 = Instance.new("Script") | |
327 | Part308 = Instance.new("Part") | |
328 | - | Part28.Position = Vector3.new(20.2881603, 3.51226544, 16.0559158) |
328 | + | Sound309 = Instance.new("Sound") |
329 | Script310 = Instance.new("Script") | |
330 | Configuration311 = Instance.new("Configuration") | |
331 | NumberValue312 = Instance.new("NumberValue") | |
332 | NumberValue313 = Instance.new("NumberValue") | |
333 | NumberValue314 = Instance.new("NumberValue") | |
334 | Configuration315 = Instance.new("Configuration") | |
335 | NumberValue316 = Instance.new("NumberValue") | |
336 | - | Part29.CFrame = CFrame.new(20.2878666, 3.01119304, 10.5513563, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083) |
336 | + | Motor6D317 = Instance.new("Motor6D") |
337 | Sound318 = Instance.new("Sound") | |
338 | Fire319 = Instance.new("Fire") | |
339 | Script320 = Instance.new("Script") | |
340 | - | Part29.Position = Vector3.new(20.2878666, 3.01119304, 10.5513563) |
340 | + | ForceField321 = Instance.new("ForceField") |
341 | Script322 = Instance.new("Script") | |
342 | Part323 = Instance.new("Part") | |
343 | Sound324 = Instance.new("Sound") | |
344 | Fire325 = Instance.new("Fire") | |
345 | Script326 = Instance.new("Script") | |
346 | Part327 = Instance.new("Part") | |
347 | Sound328 = Instance.new("Sound") | |
348 | Fire329 = Instance.new("Fire") | |
349 | Script330 = Instance.new("Script") | |
350 | Part331 = Instance.new("Part") | |
351 | Sound332 = Instance.new("Sound") | |
352 | Fire333 = Instance.new("Fire") | |
353 | Script334 = Instance.new("Script") | |
354 | Part335 = Instance.new("Part") | |
355 | Sound336 = Instance.new("Sound") | |
356 | Fire337 = Instance.new("Fire") | |
357 | Script338 = Instance.new("Script") | |
358 | Part339 = Instance.new("Part") | |
359 | Script340 = Instance.new("Script") | |
360 | Script341 = Instance.new("Script") | |
361 | Sound342 = Instance.new("Sound") | |
362 | Script343 = Instance.new("Script") | |
363 | ClickDetector344 = Instance.new("ClickDetector") | |
364 | Sound345 = Instance.new("Sound") | |
365 | Part346 = Instance.new("Part") | |
366 | Sound347 = Instance.new("Sound") | |
367 | Script348 = Instance.new("Script") | |
368 | ParticleEmitter349 = Instance.new("ParticleEmitter") | |
369 | Fire350 = Instance.new("Fire") | |
370 | Part351 = Instance.new("Part") | |
371 | Sound352 = Instance.new("Sound") | |
372 | Script353 = Instance.new("Script") | |
373 | ParticleEmitter354 = Instance.new("ParticleEmitter") | |
374 | Fire355 = Instance.new("Fire") | |
375 | Part356 = Instance.new("Part") | |
376 | Sound357 = Instance.new("Sound") | |
377 | Script358 = Instance.new("Script") | |
378 | ParticleEmitter359 = Instance.new("ParticleEmitter") | |
379 | Fire360 = Instance.new("Fire") | |
380 | Part361 = Instance.new("Part") | |
381 | Sound362 = Instance.new("Sound") | |
382 | Script363 = Instance.new("Script") | |
383 | ParticleEmitter364 = Instance.new("ParticleEmitter") | |
384 | Fire365 = Instance.new("Fire") | |
385 | Model366 = Instance.new("Model") | |
386 | Part367 = Instance.new("Part") | |
387 | Sound368 = Instance.new("Sound") | |
388 | Fire369 = Instance.new("Fire") | |
389 | Sound370 = Instance.new("Sound") | |
390 | BodyGyro371 = Instance.new("BodyGyro") | |
391 | Motor6D372 = Instance.new("Motor6D") | |
392 | Motor6D373 = Instance.new("Motor6D") | |
393 | Motor6D374 = Instance.new("Motor6D") | |
394 | Sound375 = Instance.new("Sound") | |
395 | Fire376 = Instance.new("Fire") | |
396 | Script377 = Instance.new("Script") | |
397 | Motor6D378 = Instance.new("Motor6D") | |
398 | Motor6D379 = Instance.new("Motor6D") | |
399 | Motor6D380 = Instance.new("Motor6D") | |
400 | Motor6D381 = Instance.new("Motor6D") | |
401 | VehicleSeat382 = Instance.new("VehicleSeat") | |
402 | Motor6D383 = Instance.new("Motor6D") | |
403 | Part384 = Instance.new("Part") | |
404 | ClickDetector385 = Instance.new("ClickDetector") | |
405 | Script386 = Instance.new("Script") | |
406 | BoolValue387 = Instance.new("BoolValue") | |
407 | Motor6D388 = Instance.new("Motor6D") | |
408 | Sound389 = Instance.new("Sound") | |
409 | Fire390 = Instance.new("Fire") | |
410 | Script391 = Instance.new("Script") | |
411 | SpotLight392 = Instance.new("SpotLight") | |
412 | Motor6D393 = Instance.new("Motor6D") | |
413 | Part394 = Instance.new("Part") | |
414 | Part395 = Instance.new("Part") | |
415 | Script396 = Instance.new("Script") | |
416 | Sound397 = Instance.new("Sound") | |
417 | Script398 = Instance.new("Script") | |
418 | Script399 = Instance.new("Script") | |
419 | Sound400 = Instance.new("Sound") | |
420 | Model401 = Instance.new("Model") | |
421 | Script402 = Instance.new("Script") | |
422 | Script403 = Instance.new("Script") | |
423 | Script404 = Instance.new("Script") | |
424 | Script405 = Instance.new("Script") | |
425 | Script406 = Instance.new("Script") | |
426 | Sound407 = Instance.new("Sound") | |
427 | Script408 = Instance.new("Script") | |
428 | Fire409 = Instance.new("Fire") | |
429 | Script410 = Instance.new("Script") | |
430 | Humanoid411 = Instance.new("Humanoid") | |
431 | Script412 = Instance.new("Script") | |
432 | Script413 = Instance.new("Script") | |
433 | Script414 = Instance.new("Script") | |
434 | Script415 = Instance.new("Script") | |
435 | Script416 = Instance.new("Script") | |
436 | Script417 = Instance.new("Script") | |
437 | Script418 = Instance.new("Script") | |
438 | Script419 = Instance.new("Script") | |
439 | Script420 = Instance.new("Script") | |
440 | Script421 = Instance.new("Script") | |
441 | Script422 = Instance.new("Script") | |
442 | Part423 = Instance.new("Part") | |
443 | Sound424 = Instance.new("Sound") | |
444 | Script425 = Instance.new("Script") | |
445 | Script426 = Instance.new("Script") | |
446 | Sound427 = Instance.new("Sound") | |
447 | Fire428 = Instance.new("Fire") | |
448 | Script429 = Instance.new("Script") | |
449 | Part430 = Instance.new("Part") | |
450 | Sound431 = Instance.new("Sound") | |
451 | Script432 = Instance.new("Script") | |
452 | Configuration433 = Instance.new("Configuration") | |
453 | NumberValue434 = Instance.new("NumberValue") | |
454 | NumberValue435 = Instance.new("NumberValue") | |
455 | NumberValue436 = Instance.new("NumberValue") | |
456 | Configuration437 = Instance.new("Configuration") | |
457 | NumberValue438 = Instance.new("NumberValue") | |
458 | Motor6D439 = Instance.new("Motor6D") | |
459 | Sound440 = Instance.new("Sound") | |
460 | Fire441 = Instance.new("Fire") | |
461 | Script442 = Instance.new("Script") | |
462 | ForceField443 = Instance.new("ForceField") | |
463 | Script444 = Instance.new("Script") | |
464 | Part445 = Instance.new("Part") | |
465 | Sound446 = Instance.new("Sound") | |
466 | Fire447 = Instance.new("Fire") | |
467 | Script448 = Instance.new("Script") | |
468 | Part449 = Instance.new("Part") | |
469 | Sound450 = Instance.new("Sound") | |
470 | Fire451 = Instance.new("Fire") | |
471 | Script452 = Instance.new("Script") | |
472 | Part453 = Instance.new("Part") | |
473 | Sound454 = Instance.new("Sound") | |
474 | Fire455 = Instance.new("Fire") | |
475 | Script456 = Instance.new("Script") | |
476 | Part457 = Instance.new("Part") | |
477 | Sound458 = Instance.new("Sound") | |
478 | Fire459 = Instance.new("Fire") | |
479 | Script460 = Instance.new("Script") | |
480 | Part461 = Instance.new("Part") | |
481 | Script462 = Instance.new("Script") | |
482 | Script463 = Instance.new("Script") | |
483 | Sound464 = Instance.new("Sound") | |
484 | Script465 = Instance.new("Script") | |
485 | ClickDetector466 = Instance.new("ClickDetector") | |
486 | Sound467 = Instance.new("Sound") | |
487 | Part468 = Instance.new("Part") | |
488 | Sound469 = Instance.new("Sound") | |
489 | Script470 = Instance.new("Script") | |
490 | ParticleEmitter471 = Instance.new("ParticleEmitter") | |
491 | Fire472 = Instance.new("Fire") | |
492 | Part473 = Instance.new("Part") | |
493 | Sound474 = Instance.new("Sound") | |
494 | Script475 = Instance.new("Script") | |
495 | ParticleEmitter476 = Instance.new("ParticleEmitter") | |
496 | Fire477 = Instance.new("Fire") | |
497 | Part478 = Instance.new("Part") | |
498 | Sound479 = Instance.new("Sound") | |
499 | Script480 = Instance.new("Script") | |
500 | ParticleEmitter481 = Instance.new("ParticleEmitter") | |
501 | Fire482 = Instance.new("Fire") | |
502 | Part483 = Instance.new("Part") | |
503 | Sound484 = Instance.new("Sound") | |
504 | Script485 = Instance.new("Script") | |
505 | ParticleEmitter486 = Instance.new("ParticleEmitter") | |
506 | Fire487 = Instance.new("Fire") | |
507 | Model488 = Instance.new("Model") | |
508 | Part489 = Instance.new("Part") | |
509 | Sound490 = Instance.new("Sound") | |
510 | Fire491 = Instance.new("Fire") | |
511 | Sound492 = Instance.new("Sound") | |
512 | BodyGyro493 = Instance.new("BodyGyro") | |
513 | Motor6D494 = Instance.new("Motor6D") | |
514 | Motor6D495 = Instance.new("Motor6D") | |
515 | Motor6D496 = Instance.new("Motor6D") | |
516 | Sound497 = Instance.new("Sound") | |
517 | Fire498 = Instance.new("Fire") | |
518 | - | Humanoid45.RightLeg = Part111 |
518 | + | Script499 = Instance.new("Script") |
519 | - | Humanoid45.LeftLeg = Part101 |
519 | + | Motor6D500 = Instance.new("Motor6D") |
520 | Motor6D501 = Instance.new("Motor6D") | |
521 | Motor6D502 = Instance.new("Motor6D") | |
522 | Motor6D503 = Instance.new("Motor6D") | |
523 | VehicleSeat504 = Instance.new("VehicleSeat") | |
524 | Motor6D505 = Instance.new("Motor6D") | |
525 | Part506 = Instance.new("Part") | |
526 | ClickDetector507 = Instance.new("ClickDetector") | |
527 | Script508 = Instance.new("Script") | |
528 | BoolValue509 = Instance.new("BoolValue") | |
529 | Motor6D510 = Instance.new("Motor6D") | |
530 | Sound511 = Instance.new("Sound") | |
531 | Fire512 = Instance.new("Fire") | |
532 | Script513 = Instance.new("Script") | |
533 | SpotLight514 = Instance.new("SpotLight") | |
534 | Motor6D515 = Instance.new("Motor6D") | |
535 | Part516 = Instance.new("Part") | |
536 | Part517 = Instance.new("Part") | |
537 | Script518 = Instance.new("Script") | |
538 | Sound519 = Instance.new("Sound") | |
539 | Script520 = Instance.new("Script") | |
540 | Script521 = Instance.new("Script") | |
541 | Sound522 = Instance.new("Sound") | |
542 | Model523 = Instance.new("Model") | |
543 | Script524 = Instance.new("Script") | |
544 | Script525 = Instance.new("Script") | |
545 | Script526 = Instance.new("Script") | |
546 | Script527 = Instance.new("Script") | |
547 | Script528 = Instance.new("Script") | |
548 | Sound529 = Instance.new("Sound") | |
549 | Script530 = Instance.new("Script") | |
550 | Fire531 = Instance.new("Fire") | |
551 | Script532 = Instance.new("Script") | |
552 | Humanoid533 = Instance.new("Humanoid") | |
553 | Script534 = Instance.new("Script") | |
554 | Script535 = Instance.new("Script") | |
555 | Script536 = Instance.new("Script") | |
556 | Script537 = Instance.new("Script") | |
557 | Script538 = Instance.new("Script") | |
558 | Script539 = Instance.new("Script") | |
559 | Script540 = Instance.new("Script") | |
560 | Script541 = Instance.new("Script") | |
561 | Script542 = Instance.new("Script") | |
562 | Script543 = Instance.new("Script") | |
563 | Script544 = Instance.new("Script") | |
564 | Part545 = Instance.new("Part") | |
565 | Sound546 = Instance.new("Sound") | |
566 | Script547 = Instance.new("Script") | |
567 | Script548 = Instance.new("Script") | |
568 | Sound549 = Instance.new("Sound") | |
569 | Fire550 = Instance.new("Fire") | |
570 | Script551 = Instance.new("Script") | |
571 | Part552 = Instance.new("Part") | |
572 | Sound553 = Instance.new("Sound") | |
573 | Script554 = Instance.new("Script") | |
574 | Configuration555 = Instance.new("Configuration") | |
575 | NumberValue556 = Instance.new("NumberValue") | |
576 | NumberValue557 = Instance.new("NumberValue") | |
577 | NumberValue558 = Instance.new("NumberValue") | |
578 | Configuration559 = Instance.new("Configuration") | |
579 | NumberValue560 = Instance.new("NumberValue") | |
580 | Motor6D561 = Instance.new("Motor6D") | |
581 | Sound562 = Instance.new("Sound") | |
582 | Fire563 = Instance.new("Fire") | |
583 | Script564 = Instance.new("Script") | |
584 | ForceField565 = Instance.new("ForceField") | |
585 | Script566 = Instance.new("Script") | |
586 | Part567 = Instance.new("Part") | |
587 | Sound568 = Instance.new("Sound") | |
588 | Fire569 = Instance.new("Fire") | |
589 | Script570 = Instance.new("Script") | |
590 | Part571 = Instance.new("Part") | |
591 | Sound572 = Instance.new("Sound") | |
592 | Fire573 = Instance.new("Fire") | |
593 | Script574 = Instance.new("Script") | |
594 | Part575 = Instance.new("Part") | |
595 | Sound576 = Instance.new("Sound") | |
596 | Fire577 = Instance.new("Fire") | |
597 | Script578 = Instance.new("Script") | |
598 | Part579 = Instance.new("Part") | |
599 | Sound580 = Instance.new("Sound") | |
600 | Fire581 = Instance.new("Fire") | |
601 | Script582 = Instance.new("Script") | |
602 | Part583 = Instance.new("Part") | |
603 | Script584 = Instance.new("Script") | |
604 | Script585 = Instance.new("Script") | |
605 | Sound586 = Instance.new("Sound") | |
606 | Script587 = Instance.new("Script") | |
607 | ClickDetector588 = Instance.new("ClickDetector") | |
608 | Sound589 = Instance.new("Sound") | |
609 | Part590 = Instance.new("Part") | |
610 | Sound591 = Instance.new("Sound") | |
611 | Script592 = Instance.new("Script") | |
612 | ParticleEmitter593 = Instance.new("ParticleEmitter") | |
613 | Fire594 = Instance.new("Fire") | |
614 | Part595 = Instance.new("Part") | |
615 | Sound596 = Instance.new("Sound") | |
616 | Script597 = Instance.new("Script") | |
617 | ParticleEmitter598 = Instance.new("ParticleEmitter") | |
618 | Fire599 = Instance.new("Fire") | |
619 | Part600 = Instance.new("Part") | |
620 | Sound601 = Instance.new("Sound") | |
621 | Script602 = Instance.new("Script") | |
622 | ParticleEmitter603 = Instance.new("ParticleEmitter") | |
623 | Fire604 = Instance.new("Fire") | |
624 | Part605 = Instance.new("Part") | |
625 | Sound606 = Instance.new("Sound") | |
626 | Script607 = Instance.new("Script") | |
627 | ParticleEmitter608 = Instance.new("ParticleEmitter") | |
628 | Fire609 = Instance.new("Fire") | |
629 | Model0.Name = "JJK83's Car" | |
630 | Model0.Parent = mas | |
631 | Model0.PrimaryPart = Part1 | |
632 | Part1.Name = "Base" | |
633 | Part1.Parent = Model0 | |
634 | Part1.Material = Enum.Material.DiamondPlate | |
635 | Part1.BrickColor = BrickColor.new("Bright bluish green") | |
636 | Part1.Locked = true | |
637 | Part1.Size = Vector3.new(5, 1, 5) | |
638 | Part1.CFrame = CFrame.new(10.2879829, 1.01004469, 123.055122, 1.00000727, 9.57246939e-08, -3.51678455e-06, -9.82811912e-08, 1, -1.82309577e-07, 3.51679137e-06, 1.88365149e-07, 1.00000417) | |
639 | Part1.BottomSurface = Enum.SurfaceType.Smooth | |
640 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
641 | Part1.Color = Color3.new(0, 0.560784, 0.611765) | |
642 | Part1.Position = Vector3.new(10.2879829, 1.01004469, 123.055122) | |
643 | Part1.Color = Color3.new(0, 0.560784, 0.611765) | |
644 | Sound2.Parent = Part1 | |
645 | Sound2.Pitch = 1.2000000476837 | |
646 | Sound2.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
647 | Sound2.Volume = 1 | |
648 | Fire3.Parent = Part1 | |
649 | Fire3.Size = 30 | |
650 | Fire3.Enabled = false | |
651 | Fire3.Heat = 25 | |
652 | Fire3.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
653 | Sound4.Name = "Sound2" | |
654 | Sound4.Parent = Part1 | |
655 | Sound4.Pitch = 0.60000002384186 | |
656 | Sound4.SoundId = "rbxassetid://138185473 " | |
657 | Sound4.Volume = 1 | |
658 | Sound4.Looped = true | |
659 | BodyGyro5.Parent = Part1 | |
660 | BodyGyro5.maxTorque = Vector3.new(0, 0, 0) | |
661 | BodyGyro5.MaxTorque = Vector3.new(0, 0, 0) | |
662 | Motor6D6.Parent = Part1 | |
663 | Motor6D6.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024) | |
664 | Motor6D6.Part0 = Part1 | |
665 | Motor6D6.Part1 = Part64 | |
666 | Motor6D7.Parent = Part1 | |
667 | Motor6D7.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012) | |
668 | Motor6D7.Part0 = Part1 | |
669 | Motor6D7.Part1 = Part18 | |
670 | Motor6D8.Parent = Part1 | |
671 | Motor6D8.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036) | |
672 | Motor6D8.Part0 = Part1 | |
673 | Motor6D8.Part1 = VehicleSeat16 | |
674 | Sound9.Name = "Sound3" | |
675 | Sound9.Parent = Part1 | |
676 | Sound9.SoundId = "rbxassetid://191040613" | |
677 | Sound9.Volume = 1 | |
678 | Fire10.Name = "Fire2" | |
679 | Fire10.Parent = Part1 | |
680 | Fire10.Size = 10 | |
681 | Fire10.Enabled = false | |
682 | Fire10.Heat = -5 | |
683 | Fire10.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
684 | Script11.Name = "On contact, thud" | |
685 | Script11.Parent = Part1 | |
686 | table.insert(cors,sandbox(Script11,function() | |
687 | function onTouched(hit) | |
688 | if hit.CanCollide == false then return end | |
689 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
690 | if HitPower >= 600 then | |
691 | script.Parent.Fire2.Enabled = true | |
692 | - | script.Parent.Parent.Torso.SurfaceLight.Enabled = false |
692 | + | |
693 | wait(0.2) | |
694 | script.Parent.Fire2.Enabled = false | |
695 | end | |
696 | end | |
697 | script.Parent.Touched:connect(onTouched) | |
698 | end)) | |
699 | Motor6D12.Parent = Part1 | |
700 | Motor6D12.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1) | |
701 | Motor6D12.Part0 = Part1 | |
702 | Motor6D12.Part1 = Part117 | |
703 | Motor6D13.Parent = Part1 | |
704 | - | Part57.CFrame = CFrame.new(20.2877903, 4.71093988, 19.0579109, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107) |
704 | + | |
705 | Motor6D13.Part0 = Part1 | |
706 | Motor6D13.Part1 = Part112 | |
707 | Motor6D14.Parent = Part1 | |
708 | - | Part57.Position = Vector3.new(20.2877903, 4.71093988, 19.0579109) |
708 | + | |
709 | Motor6D14.Part0 = Part1 | |
710 | Motor6D14.Part1 = Part107 | |
711 | Motor6D15.Parent = Part1 | |
712 | Motor6D15.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1) | |
713 | Motor6D15.Part0 = Part1 | |
714 | Motor6D15.Part1 = Part102 | |
715 | VehicleSeat16.Name = "Car Seat" | |
716 | VehicleSeat16.Parent = Model0 | |
717 | VehicleSeat16.Material = Enum.Material.Fabric | |
718 | VehicleSeat16.BrickColor = BrickColor.new("Black") | |
719 | VehicleSeat16.Locked = true | |
720 | VehicleSeat16.Size = Vector3.new(3, 1, 3) | |
721 | VehicleSeat16.CFrame = CFrame.new(10.2880402, 2.0103879, 123.054855, 1.00000668, 1.42916283e-08, -8.70841177e-11, -1.66157186e-08, 1, -3.30651773e-08, 1.0390977e-10, 3.8654477e-08, 1.00000381) | |
722 | VehicleSeat16.BottomSurface = Enum.SurfaceType.Smooth | |
723 | VehicleSeat16.TopSurface = Enum.SurfaceType.Smooth | |
724 | VehicleSeat16.MaxSpeed = 150 | |
725 | VehicleSeat16.Torque = 12.5 | |
726 | VehicleSeat16.TurnSpeed = 2.5999999046326 | |
727 | VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
728 | VehicleSeat16.Position = Vector3.new(10.2880402, 2.0103879, 123.054855) | |
729 | VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
730 | Motor6D17.Parent = VehicleSeat16 | |
731 | Motor6D17.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012) | |
732 | Motor6D17.Part0 = VehicleSeat16 | |
733 | Motor6D17.Part1 = Part28 | |
734 | Part18.Name = "Torso" | |
735 | Part18.Parent = Model0 | |
736 | Part18.Material = Enum.Material.DiamondPlate | |
737 | Part18.BrickColor = BrickColor.new("Royal purple") | |
738 | Part18.Locked = true | |
739 | Part18.Size = Vector3.new(5, 2, 2) | |
740 | Part18.CFrame = CFrame.new(10.2879124, 2.51144695, 120.551727, 1.00000751, -6.78400909e-08, -6.97387986e-06, 6.52234746e-08, 1, -2.00237224e-07, 6.97387622e-06, 2.06525442e-07, 1.00000429) | |
741 | Part18.BottomSurface = Enum.SurfaceType.Smooth | |
742 | Part18.TopSurface = Enum.SurfaceType.Smooth | |
743 | Part18.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
744 | Part18.Position = Vector3.new(10.2879124, 2.51144695, 120.551727) | |
745 | Part18.Color = Color3.new(0.384314, 0.145098, 0.819608) | |
746 | ClickDetector19.Parent = Part18 | |
747 | ClickDetector19.MaxActivationDistance = 4 | |
748 | Script20.Name = "Flip when clicked" | |
749 | Script20.Parent = Part18 | |
750 | table.insert(cors,sandbox(Script20,function() | |
751 | debounce = false | |
752 | function onClicked() | |
753 | if script.Value.Value == false then | |
754 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
755 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000) | |
756 | script.Value.Value = true | |
757 | script.Parent.Material = "Neon" | |
758 | elseif script.Value.Value == true then | |
759 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
760 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0) | |
761 | script.Value.Value = false | |
762 | script.Parent.Material = "DiamondPlate" | |
763 | - | Part64.CFrame = CFrame.new(20.2880173, 2.61075759, 17.5574875, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006) |
763 | + | |
764 | end | |
765 | script.Parent.ClickDetector.MouseClick:connect(onClicked) | |
766 | end)) | |
767 | - | Part64.Position = Vector3.new(20.2880173, 2.61075759, 17.5574875) |
767 | + | |
768 | Motor6D22.Parent = Part18 | |
769 | Motor6D22.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036) | |
770 | Motor6D22.Part0 = Part18 | |
771 | Motor6D22.Part1 = Part29 | |
772 | Sound23.Name = "Sound3" | |
773 | Sound23.Parent = Part18 | |
774 | Sound23.SoundId = "rbxassetid://191040613" | |
775 | Sound23.Volume = 1 | |
776 | Fire24.Name = "Fire2" | |
777 | Fire24.Parent = Part18 | |
778 | Fire24.Size = 10 | |
779 | Fire24.Enabled = false | |
780 | Fire24.Heat = -5 | |
781 | Fire24.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
782 | Script25.Name = "On contact, thud" | |
783 | Script25.Parent = Part18 | |
784 | table.insert(cors,sandbox(Script25,function() | |
785 | function onTouched(hit) | |
786 | if hit.CanCollide == false then return end | |
787 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
788 | if HitPower >= 600 then | |
789 | script.Parent.Fire2.Enabled = true | |
790 | script.Parent.Sound3:Play() | |
791 | wait(0.2) | |
792 | script.Parent.Fire2.Enabled = false | |
793 | end | |
794 | end | |
795 | script.Parent.Touched:connect(onTouched) | |
796 | end)) | |
797 | SpotLight26.Parent = Part18 | |
798 | SpotLight26.Color = Color3.new(0.54902, 0, 1) | |
799 | SpotLight26.Brightness = 60 | |
800 | SpotLight26.Range = 60 | |
801 | SpotLight26.Shadows = true | |
802 | SpotLight26.Color = Color3.new(0.54902, 0, 1) | |
803 | Motor6D27.Parent = Part18 | |
804 | Motor6D27.C1 = CFrame.new(7.56978989e-06, -3.49980855, 0.0366503, 1.00000083, -6.66775577e-08, -6.9738403e-06, 1.39410474e-07, 0.999945164, 0.0104715852, 6.97276209e-06, -0.0104715796, 0.999945641) | |
805 | Motor6D27.Part0 = Part18 | |
806 | Motor6D27.Part1 = Part95 | |
807 | Part28.Name = "Backrest" | |
808 | Part28.Parent = Model0 | |
809 | Part28.Material = Enum.Material.Fabric | |
810 | Part28.BrickColor = BrickColor.new("Bright bluish green") | |
811 | Part28.Locked = true | |
812 | Part28.Size = Vector3.new(3, 2, 1) | |
813 | Part28.CFrame = CFrame.new(10.2881622, 3.51228333, 124.055939, 1.00000679, -3.17028594e-07, -3.56148848e-06, 3.14643955e-07, 1, -2.30738337e-07, 3.56149508e-06, 2.36561277e-07, 1.00000393) | |
814 | Part28.BottomSurface = Enum.SurfaceType.Smooth | |
815 | Part28.TopSurface = Enum.SurfaceType.Smooth | |
816 | Part28.Color = Color3.new(0, 0.560784, 0.611765) | |
817 | Part28.Position = Vector3.new(10.2881622, 3.51228333, 124.055939) | |
818 | Part28.Color = Color3.new(0, 0.560784, 0.611765) | |
819 | Part29.Name = "Head" | |
820 | Part29.Parent = Model0 | |
821 | Part29.Material = Enum.Material.CorrodedMetal | |
822 | Part29.BrickColor = BrickColor.new("Bright bluish green") | |
823 | Part29.Locked = true | |
824 | Part29.Size = Vector3.new(3, 3, 2) | |
825 | Part29.CFrame = CFrame.new(10.2878685, 3.01121116, 118.551353, 1.00000799, -3.85192034e-05, -8.61302215e-06, 3.85161547e-05, 1, 4.52203403e-06, 8.61302215e-06, -4.51556843e-06, 1.00000465) | |
826 | Part29.BottomSurface = Enum.SurfaceType.Smooth | |
827 | Part29.TopSurface = Enum.SurfaceType.Smooth | |
828 | Part29.Color = Color3.new(0, 0.560784, 0.611765) | |
829 | Part29.Position = Vector3.new(10.2878685, 3.01121116, 118.551353) | |
830 | Part29.Color = Color3.new(0, 0.560784, 0.611765) | |
831 | Script30.Name = "On contact, damage" | |
832 | Script30.Parent = Part29 | |
833 | table.insert(cors,sandbox(Script30,function() | |
834 | function onTouched(hit) | |
835 | if hit.Parent == nil then return end | |
836 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
837 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
838 | if HitPower <= 150 then return end | |
839 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower) | |
840 | end | |
841 | script.Parent.Touched:connect(onTouched) | |
842 | end)) | |
843 | Sound31.Parent = Part29 | |
844 | Sound31.SoundId = "rbxassetid://356659053" | |
845 | Sound31.Volume = 1 | |
846 | Script32.Name = "On contact, clang" | |
847 | Script32.Parent = Part29 | |
848 | table.insert(cors,sandbox(Script32,function() | |
849 | function onTouched(hit) | |
850 | if hit.CanCollide == false then return end | |
851 | script.Parent.Sound:Play() | |
852 | end | |
853 | script.Parent.Touched:connect(onTouched) | |
854 | end)) | |
855 | Script33.Name = "On contact, explode" | |
856 | - | Part79.CFrame = CFrame.new(23.7879944, 1.51001799, 12.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
856 | + | |
857 | table.insert(cors,sandbox(Script33,function() | |
858 | function onTouched(hit) | |
859 | if hit.CanCollide == false then return end | |
860 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
861 | - | Part79.Position = Vector3.new(23.7879944, 1.51001799, 12.5550385) |
861 | + | |
862 | if HitPower >= 1200 then | |
863 | local BANG = Instance.new("Explosion") | |
864 | BANG.Position = script.Parent.Position | |
865 | BANG.DestroyJointRadiusPercent = 0 | |
866 | BANG.Parent = script.Parent | |
867 | script.Parent.Sound2:Play() | |
868 | print "# SUPREME SLAM #" | |
869 | end | |
870 | end | |
871 | script.Parent.Touched:connect(onTouched) | |
872 | end)) | |
873 | Sound34.Name = "Sound2" | |
874 | Sound34.Parent = Part29 | |
875 | Sound34.SoundId = "rbxassetid://168485325" | |
876 | Sound34.Volume = 1 | |
877 | Model35.Name = "Bunch of scripts" | |
878 | Model35.Parent = Part29 | |
879 | Script36.Name = "On contact, hint 151-299 dmg" | |
880 | Script36.Parent = Model35 | |
881 | table.insert(cors,sandbox(Script36,function() | |
882 | function onTouched(hit) | |
883 | if hit.Parent == nil then return end | |
884 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
885 | if hit.Parent.Humanoid.Health == 0 then return end | |
886 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
887 | if HitPower >= 151 and HitPower <= 299 then | |
888 | local hint = Instance.new("Hint") | |
889 | hint.Parent = script | |
890 | hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."." | |
891 | wait(2) | |
892 | hint:Destroy() | |
893 | else return end | |
894 | end | |
895 | - | Part83.CFrame = CFrame.new(16.7879753, 1.51001799, 17.5550232, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
895 | + | |
896 | end)) | |
897 | Script37.Name = "On contact, hint 300-599 dmg" | |
898 | Script37.Parent = Model35 | |
899 | table.insert(cors,sandbox(Script37,function() | |
900 | - | Part83.Position = Vector3.new(16.7879753, 1.51001799, 17.5550232) |
900 | + | |
901 | if hit.Parent == nil then return end | |
902 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
903 | if hit.Parent.Humanoid.Health == 0 then return end | |
904 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
905 | if HitPower >= 300 and HitPower <= 599 then | |
906 | local hint = Instance.new("Hint") | |
907 | hint.Parent = script | |
908 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."." | |
909 | wait(2) | |
910 | hint:Destroy() | |
911 | else return end | |
912 | end | |
913 | script.Parent.Parent.Touched:connect(onTouched) | |
914 | end)) | |
915 | Script38.Name = "On contact, hint 600-899 dmg" | |
916 | Script38.Parent = Model35 | |
917 | table.insert(cors,sandbox(Script38,function() | |
918 | function onTouched(hit) | |
919 | if hit.Parent == nil then return end | |
920 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
921 | if hit.Parent.Humanoid.Health == 0 then return end | |
922 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
923 | if HitPower >= 600 and HitPower <= 899 then | |
924 | local hint = Instance.new("Hint") | |
925 | hint.Parent = script | |
926 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."." | |
927 | wait(2) | |
928 | hint:Destroy() | |
929 | else return end | |
930 | end | |
931 | script.Parent.Parent.Touched:connect(onTouched) | |
932 | end)) | |
933 | Script39.Name = "On contact, hint 900-1199 dmg" | |
934 | - | Part87.CFrame = CFrame.new(23.7879791, 1.51001799, 17.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
934 | + | |
935 | table.insert(cors,sandbox(Script39,function() | |
936 | function onTouched(hit) | |
937 | if hit.Parent == nil then return end | |
938 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
939 | - | Part87.Position = Vector3.new(23.7879791, 1.51001799, 17.5550385) |
939 | + | |
940 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
941 | if HitPower >= 900 and HitPower <= 1199 then | |
942 | local hint = Instance.new("Hint") | |
943 | hint.Parent = script | |
944 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."." | |
945 | wait(2) | |
946 | hint:Destroy() | |
947 | else return end | |
948 | end | |
949 | script.Parent.Parent.Touched:connect(onTouched) | |
950 | end)) | |
951 | Script40.Name = "On contact, hint 1200 or greater dmg" | |
952 | Script40.Parent = Model35 | |
953 | table.insert(cors,sandbox(Script40,function() | |
954 | function onTouched(hit) | |
955 | if hit.Parent == nil then return end | |
956 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
957 | if hit.Parent.Humanoid.Health == 0 then return end | |
958 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
959 | if HitPower >= 1200 then | |
960 | local hint = Instance.new("Hint") | |
961 | hint.Parent = script | |
962 | hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!" | |
963 | wait(2) | |
964 | hint:Destroy() | |
965 | else return end | |
966 | end | |
967 | script.Parent.Parent.Touched:connect(onTouched) | |
968 | end)) | |
969 | Sound41.Name = "Sound3" | |
970 | Sound41.Parent = Part29 | |
971 | Sound41.SoundId = "rbxassetid://191040613" | |
972 | Sound41.Volume = 1 | |
973 | - | Part91.CFrame = CFrame.new(16.7879925, 1.51001799, 12.5550222, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
973 | + | |
974 | Script42.Parent = Part29 | |
975 | table.insert(cors,sandbox(Script42,function() | |
976 | function onTouched(hit) | |
977 | if hit.Parent == nil then return end | |
978 | - | Part91.Position = Vector3.new(16.7879925, 1.51001799, 12.5550222) |
978 | + | |
979 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
980 | if HitPower >= 400 then hit:BreakJoints() | |
981 | end | |
982 | end | |
983 | script.Parent.Touched:connect(onTouched) | |
984 | end)) | |
985 | Fire43.Name = "Fire2" | |
986 | Fire43.Parent = Part29 | |
987 | Fire43.Size = 10 | |
988 | Fire43.Enabled = false | |
989 | Fire43.Heat = -5 | |
990 | Fire43.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
991 | Script44.Name = "On contact, thud" | |
992 | Script44.Parent = Part29 | |
993 | table.insert(cors,sandbox(Script44,function() | |
994 | function onTouched(hit) | |
995 | if hit.CanCollide == false then return end | |
996 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
997 | if HitPower >= 600 then | |
998 | script.Parent.Fire2.Enabled = true | |
999 | script.Parent.Sound3:Play() | |
1000 | wait(0.2) | |
1001 | script.Parent.Fire2.Enabled = false | |
1002 | end | |
1003 | end | |
1004 | script.Parent.Touched:connect(onTouched) | |
1005 | end)) | |
1006 | Humanoid45.Parent = Model0 | |
1007 | Humanoid45.RightLeg = Part112 | |
1008 | Humanoid45.LeftLeg = Part102 | |
1009 | - | Part95.Rotation = Vector3.new(3, 0, 0) |
1009 | + | |
1010 | Humanoid45.Health = 1200 | |
1011 | - | Part95.CFrame = CFrame.new(20.2879028, 6.01142931, 12.5517197, 1.00000501, 1.22374217e-08, -7.14862836e-10, -1.40011789e-08, 0.99862951, -0.052335985, 8.50377546e-11, 0.0523361415, 0.998632371) |
1011 | + | |
1012 | Script46.Name = "Auto sit" | |
1013 | Script46.Parent = Humanoid45 | |
1014 | table.insert(cors,sandbox(Script46,function() | |
1015 | - | Part95.Position = Vector3.new(20.2879028, 6.01142931, 12.5517197) |
1015 | + | |
1016 | - | Part95.Orientation = Vector3.new(3, 0, 0) |
1016 | + | |
1017 | script.Parent.Sit = true | |
1018 | end | |
1019 | end)) | |
1020 | Script47.Name = "When demolished, name, disable bumper, destroy cannon and print to log" | |
1021 | Script47.Parent = Humanoid45 | |
1022 | table.insert(cors,sandbox(Script47,function() | |
1023 | function Die() | |
1024 | - | Ammo.BrickColor = BrickColor.new("Really red") |
1024 | + | |
1025 | if script.Parent.Parent:FindFirstChild("Head") == nil then return end | |
1026 | script.Parent.Parent.Head["On contact, damage"].Disabled = true | |
1027 | - | Ammo.Velocity = script.Parent.CFrame.lookVector * 600 |
1027 | + | |
1028 | script.Parent.Parent.Head["On contact, break stuff"].Disabled = true | |
1029 | script.Parent.Parent.Head["Bunch of scripts"]:Destroy() | |
1030 | if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end | |
1031 | - | Ammo.Name = "Flaming Cannonball" |
1031 | + | |
1032 | wait(4) | |
1033 | script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <" | |
1034 | end | |
1035 | ||
1036 | script.Parent.Died:connect(Die) | |
1037 | end)) | |
1038 | Script48.Name = "When demolished, wait 3 min then remove" | |
1039 | Script48.Parent = Humanoid45 | |
1040 | table.insert(cors,sandbox(Script48,function() | |
1041 | function Die() | |
1042 | wait(180) | |
1043 | script.Parent.Parent:remove() | |
1044 | end | |
1045 | ||
1046 | script.Parent.Died:connect(Die) | |
1047 | end)) | |
1048 | Script49.Name = "When demolished, sound" | |
1049 | Script49.Parent = Humanoid45 | |
1050 | table.insert(cors,sandbox(Script49,function() | |
1051 | function Die() | |
1052 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
1053 | script.Parent.Parent.Base.Sound:Play() | |
1054 | script.Parent.Parent.Base.Sound2:Play() | |
1055 | end | |
1056 | script.Parent.Died:connect(Die) | |
1057 | end)) | |
1058 | Script50.Name = "Auto heal" | |
1059 | Script50.Parent = Humanoid45 | |
1060 | table.insert(cors,sandbox(Script50,function() | |
1061 | while true do | |
1062 | if script.Parent.Health == script.Parent.MaxHealth then return end | |
1063 | if script.Parent.Health == 0 then return end | |
1064 | script.Parent.Health = script.Parent.Health + 3 | |
1065 | wait(0.5) | |
1066 | end | |
1067 | end)) | |
1068 | Script51.Name = "When demolished, hollywood" | |
1069 | Script51.Parent = Humanoid45 | |
1070 | table.insert(cors,sandbox(Script51,function() | |
1071 | - | ClickDetector99.Parent = Part95 |
1071 | + | |
1072 | - | ClickDetector99.MaxActivationDistance = 4 |
1072 | + | |
1073 | - | Sound100.Name = "Sound3" |
1073 | + | |
1074 | - | Sound100.Parent = Part95 |
1074 | + | |
1075 | - | Sound100.SoundId = "rbxassetid://191040613" |
1075 | + | |
1076 | - | Sound100.Volume = 1 |
1076 | + | |
1077 | - | Part101.Name = "Left Leg" |
1077 | + | |
1078 | - | Part101.Parent = Model0 |
1078 | + | |
1079 | - | Part101.Material = Enum.Material.DiamondPlate |
1079 | + | |
1080 | - | Part101.BrickColor = BrickColor.new("Dark stone grey") |
1080 | + | |
1081 | - | Part101.Locked = true |
1081 | + | |
1082 | - | Part101.Size = Vector3.new(1, 1, 3) |
1082 | + | |
1083 | - | Part101.CFrame = CFrame.new(18.287817, 3.01002693, 19.0552959, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036) |
1083 | + | |
1084 | - | Part101.BottomSurface = Enum.SurfaceType.Smooth |
1084 | + | |
1085 | - | Part101.TopSurface = Enum.SurfaceType.Smooth |
1085 | + | |
1086 | - | Part101.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1086 | + | |
1087 | - | Part101.Position = Vector3.new(18.287817, 3.01002693, 19.0552959) |
1087 | + | |
1088 | - | Part101.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1088 | + | |
1089 | - | Sound102.Name = "Sound3" |
1089 | + | |
1090 | - | Sound102.Parent = Part101 |
1090 | + | |
1091 | - | Sound102.SoundId = "rbxassetid://191040613" |
1091 | + | |
1092 | - | Sound102.Volume = 1 |
1092 | + | |
1093 | - | Script103.Name = "On contact, thud" |
1093 | + | |
1094 | - | Script103.Parent = Part101 |
1094 | + | |
1095 | - | table.insert(cors,sandbox(Script103,function() |
1095 | + | |
1096 | wait(0.2) | |
1097 | f.Size = f.Size - 1 | |
1098 | wait(0.2) | |
1099 | f.Size = f.Size - 1 | |
1100 | wait(0.2) | |
1101 | f.Size = f.Size - 1 | |
1102 | wait(0.2) | |
1103 | f.Size = f.Size - 1 | |
1104 | wait(0.2) | |
1105 | f.Size = f.Size - 1 | |
1106 | wait(0.2) | |
1107 | f.Size = f.Size - 1 | |
1108 | - | ParticleEmitter104.Parent = Part101 |
1108 | + | |
1109 | - | ParticleEmitter104.Transparency = NumberSequence.new(0,0,1) |
1109 | + | |
1110 | - | ParticleEmitter104.Size = NumberSequence.new(0,1.9999998807907) |
1110 | + | |
1111 | - | ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1111 | + | |
1112 | - | ParticleEmitter104.Acceleration = Vector3.new(0, 1, 0) |
1112 | + | |
1113 | - | ParticleEmitter104.Lifetime = NumberRange.new(0.5, 2.5) |
1113 | + | |
1114 | - | ParticleEmitter104.Rate = 10 |
1114 | + | |
1115 | - | ParticleEmitter104.RotSpeed = NumberRange.new(0, 30) |
1115 | + | |
1116 | - | ParticleEmitter104.Speed = NumberRange.new(-3, -3) |
1116 | + | |
1117 | - | ParticleEmitter104.VelocitySpread = 5 |
1117 | + | |
1118 | - | ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1118 | + | |
1119 | - | Fire105.Name = "Fire2" |
1119 | + | |
1120 | - | Fire105.Parent = Part101 |
1120 | + | |
1121 | - | Fire105.Size = 10 |
1121 | + | |
1122 | - | Fire105.Enabled = false |
1122 | + | |
1123 | - | Fire105.Heat = -5 |
1123 | + | |
1124 | - | Fire105.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) |
1124 | + | |
1125 | - | Part106.Name = "Left Arm" |
1125 | + | |
1126 | - | Part106.Parent = Model0 |
1126 | + | |
1127 | - | Part106.Material = Enum.Material.DiamondPlate |
1127 | + | |
1128 | - | Part106.BrickColor = BrickColor.new("Dark stone grey") |
1128 | + | |
1129 | - | Part106.Locked = true |
1129 | + | |
1130 | - | Part106.Size = Vector3.new(1, 1, 3) |
1130 | + | |
1131 | - | Part106.CFrame = CFrame.new(18.2878361, 2.01002836, 18.0552406, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036) |
1131 | + | |
1132 | - | Part106.BottomSurface = Enum.SurfaceType.Smooth |
1132 | + | |
1133 | - | Part106.TopSurface = Enum.SurfaceType.Smooth |
1133 | + | |
1134 | - | Part106.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1134 | + | |
1135 | - | Part106.Position = Vector3.new(18.2878361, 2.01002836, 18.0552406) |
1135 | + | |
1136 | - | Part106.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1136 | + | |
1137 | - | Sound107.Name = "Sound3" |
1137 | + | |
1138 | - | Sound107.Parent = Part106 |
1138 | + | |
1139 | - | Sound107.SoundId = "rbxassetid://191040613" |
1139 | + | |
1140 | - | Sound107.Volume = 1 |
1140 | + | |
1141 | - | Script108.Name = "On contact, thud" |
1141 | + | |
1142 | - | Script108.Parent = Part106 |
1142 | + | |
1143 | - | table.insert(cors,sandbox(Script108,function() |
1143 | + | |
1144 | table.insert(cors,sandbox(Script53,function() | |
1145 | function Die() | |
1146 | if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end | |
1147 | script.Parent.Parent["Car Seat"].Disabled = true | |
1148 | end | |
1149 | ||
1150 | script.Parent.Died:connect(Die) | |
1151 | end)) | |
1152 | Script54.Name = "When demolished, hint" | |
1153 | Script54.Parent = Humanoid45 | |
1154 | table.insert(cors,sandbox(Script54,function() | |
1155 | function Die() | |
1156 | - | ParticleEmitter109.Parent = Part106 |
1156 | + | |
1157 | - | ParticleEmitter109.Transparency = NumberSequence.new(0,0,1) |
1157 | + | |
1158 | - | ParticleEmitter109.Size = NumberSequence.new(0,1.9999998807907) |
1158 | + | |
1159 | - | ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1159 | + | |
1160 | - | ParticleEmitter109.Acceleration = Vector3.new(0, 1, 0) |
1160 | + | |
1161 | - | ParticleEmitter109.Lifetime = NumberRange.new(0.5, 2.5) |
1161 | + | |
1162 | - | ParticleEmitter109.Rate = 10 |
1162 | + | |
1163 | - | ParticleEmitter109.RotSpeed = NumberRange.new(0, 30) |
1163 | + | |
1164 | - | ParticleEmitter109.Speed = NumberRange.new(-3, -3) |
1164 | + | |
1165 | - | ParticleEmitter109.VelocitySpread = 5 |
1165 | + | |
1166 | - | ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1166 | + | |
1167 | - | Fire110.Name = "Fire2" |
1167 | + | |
1168 | - | Fire110.Parent = Part106 |
1168 | + | |
1169 | - | Fire110.Size = 10 |
1169 | + | |
1170 | - | Fire110.Enabled = false |
1170 | + | |
1171 | - | Fire110.Heat = -5 |
1171 | + | |
1172 | - | Fire110.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) |
1172 | + | |
1173 | - | Part111.Name = "Right Leg" |
1173 | + | |
1174 | - | Part111.Parent = Model0 |
1174 | + | |
1175 | - | Part111.Material = Enum.Material.DiamondPlate |
1175 | + | |
1176 | - | Part111.BrickColor = BrickColor.new("Dark stone grey") |
1176 | + | |
1177 | - | Part111.Locked = true |
1177 | + | |
1178 | - | Part111.Size = Vector3.new(1, 1, 3) |
1178 | + | |
1179 | - | Part111.CFrame = CFrame.new(22.288166, 3.01002502, 19.0553646, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036) |
1179 | + | |
1180 | - | Part111.BottomSurface = Enum.SurfaceType.Smooth |
1180 | + | |
1181 | - | Part111.TopSurface = Enum.SurfaceType.Smooth |
1181 | + | |
1182 | - | Part111.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1182 | + | script.Parent.Parent.Torso.SpotLight.Enabled = false |
1183 | - | Part111.Position = Vector3.new(22.288166, 3.01002502, 19.0553646) |
1183 | + | |
1184 | - | Part111.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1184 | + | |
1185 | - | Sound112.Name = "Sound3" |
1185 | + | |
1186 | - | Sound112.Parent = Part111 |
1186 | + | |
1187 | - | Sound112.SoundId = "rbxassetid://191040613" |
1187 | + | |
1188 | - | Sound112.Volume = 1 |
1188 | + | |
1189 | - | Script113.Name = "On contact, thud" |
1189 | + | |
1190 | - | Script113.Parent = Part111 |
1190 | + | |
1191 | - | table.insert(cors,sandbox(Script113,function() |
1191 | + | |
1192 | Part57.Locked = true | |
1193 | Part57.Size = Vector3.new(1, 2, 3) | |
1194 | Part57.CFrame = CFrame.new(10.2877932, 4.71095753, 127.057938, -1.00000799, -3.92584334e-05, 7.55048677e-05, -3.9255774e-05, 1, -6.60108572e-06, -7.54897483e-05, -6.59730495e-06, -1.00000489) | |
1195 | Part57.BottomSurface = Enum.SurfaceType.Smooth | |
1196 | Part57.TopSurface = Enum.SurfaceType.Smooth | |
1197 | Part57.Color = Color3.new(0, 0.560784, 0.611765) | |
1198 | Part57.Position = Vector3.new(10.2877932, 4.71095753, 127.057938) | |
1199 | Part57.Orientation = Vector3.new(0, 180, 0) | |
1200 | Part57.Color = Color3.new(0, 0.560784, 0.611765) | |
1201 | Sound58.Parent = Part57 | |
1202 | Sound58.Pitch = 1.5 | |
1203 | Sound58.SoundId = "rbxassetid://356659053" | |
1204 | - | ParticleEmitter114.Parent = Part111 |
1204 | + | |
1205 | - | ParticleEmitter114.Transparency = NumberSequence.new(0,0,1) |
1205 | + | |
1206 | - | ParticleEmitter114.Size = NumberSequence.new(0,1.9999998807907) |
1206 | + | |
1207 | - | ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1207 | + | |
1208 | - | ParticleEmitter114.Acceleration = Vector3.new(0, 1, 0) |
1208 | + | |
1209 | - | ParticleEmitter114.Lifetime = NumberRange.new(0.5, 2.5) |
1209 | + | |
1210 | - | ParticleEmitter114.Rate = 10 |
1210 | + | |
1211 | - | ParticleEmitter114.RotSpeed = NumberRange.new(0, 30) |
1211 | + | |
1212 | - | ParticleEmitter114.Speed = NumberRange.new(-3, -3) |
1212 | + | |
1213 | - | ParticleEmitter114.VelocitySpread = 5 |
1213 | + | |
1214 | - | ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1214 | + | |
1215 | - | Fire115.Name = "Fire2" |
1215 | + | |
1216 | - | Fire115.Parent = Part111 |
1216 | + | |
1217 | - | Fire115.Size = 10 |
1217 | + | |
1218 | - | Fire115.Enabled = false |
1218 | + | |
1219 | - | Fire115.Heat = -5 |
1219 | + | |
1220 | - | Fire115.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) |
1220 | + | |
1221 | - | Part116.Name = "Right Arm" |
1221 | + | |
1222 | - | Part116.Parent = Model0 |
1222 | + | |
1223 | - | Part116.Material = Enum.Material.DiamondPlate |
1223 | + | |
1224 | - | Part116.BrickColor = BrickColor.new("Dark stone grey") |
1224 | + | |
1225 | - | Part116.Locked = true |
1225 | + | |
1226 | - | Part116.Size = Vector3.new(1, 1, 3) |
1226 | + | |
1227 | - | Part116.CFrame = CFrame.new(22.2881355, 2.01002836, 18.0552864, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036) |
1227 | + | |
1228 | - | Part116.BottomSurface = Enum.SurfaceType.Smooth |
1228 | + | |
1229 | - | Part116.TopSurface = Enum.SurfaceType.Smooth |
1229 | + | |
1230 | - | Part116.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1230 | + | |
1231 | - | Part116.Position = Vector3.new(22.2881355, 2.01002836, 18.0552864) |
1231 | + | |
1232 | - | Part116.Color = Color3.new(0.388235, 0.372549, 0.384314) |
1232 | + | |
1233 | - | Sound117.Name = "Sound3" |
1233 | + | |
1234 | - | Sound117.Parent = Part116 |
1234 | + | |
1235 | - | Sound117.SoundId = "rbxassetid://191040613" |
1235 | + | |
1236 | - | Sound117.Volume = 1 |
1236 | + | |
1237 | - | Script118.Name = "On contact, thud" |
1237 | + | |
1238 | - | Script118.Parent = Part116 |
1238 | + | |
1239 | - | table.insert(cors,sandbox(Script118,function() |
1239 | + | |
1240 | script.Parent.Sound3:Play() | |
1241 | wait(0.2) | |
1242 | script.Parent.Fire2.Enabled = false | |
1243 | end | |
1244 | end | |
1245 | script.Parent.Touched:connect(onTouched) | |
1246 | end)) | |
1247 | Part64.Name = "Engine" | |
1248 | Part64.Parent = Model0 | |
1249 | Part64.Material = Enum.Material.CorrodedMetal | |
1250 | Part64.BrickColor = BrickColor.new("Royal purple") | |
1251 | Part64.Locked = true | |
1252 | - | ParticleEmitter119.Parent = Part116 |
1252 | + | |
1253 | - | ParticleEmitter119.Transparency = NumberSequence.new(0,0,1) |
1253 | + | Part64.CFrame = CFrame.new(10.2880192, 2.61077547, 125.55751, 1.00000751, -4.0901894e-05, -7.21967372e-05, 4.08994019e-05, 1, 6.39330028e-06, 7.21965334e-05, -6.38997062e-06, 1.00000441) |
1254 | - | ParticleEmitter119.Size = NumberSequence.new(0,1.9999998807907) |
1254 | + | |
1255 | - | ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1255 | + | |
1256 | - | ParticleEmitter119.Acceleration = Vector3.new(0, 1, 0) |
1256 | + | |
1257 | - | ParticleEmitter119.Lifetime = NumberRange.new(0.5, 2.5) |
1257 | + | Part64.Position = Vector3.new(10.2880192, 2.61077547, 125.55751) |
1258 | - | ParticleEmitter119.Rate = 10 |
1258 | + | |
1259 | - | ParticleEmitter119.RotSpeed = NumberRange.new(0, 30) |
1259 | + | |
1260 | - | ParticleEmitter119.Speed = NumberRange.new(-3, -3) |
1260 | + | |
1261 | - | ParticleEmitter119.VelocitySpread = 5 |
1261 | + | |
1262 | - | ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) |
1262 | + | |
1263 | - | Fire120.Name = "Fire2" |
1263 | + | |
1264 | - | Fire120.Parent = Part116 |
1264 | + | |
1265 | - | Fire120.Size = 10 |
1265 | + | |
1266 | - | Fire120.Enabled = false |
1266 | + | |
1267 | - | Fire120.Heat = -5 |
1267 | + | |
1268 | - | Fire120.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) |
1268 | + | |
1269 | e = script.Parent.Engine | |
1270 | maxrevs = script.Parent.Advanced.MaxRevs.Value | |
1271 | minrevs = script.Parent.Advanced.MinRevs.Value | |
1272 | mod = v.MaxSpeed/130 | |
1273 | e:Play() | |
1274 | while true do | |
1275 | wait(0.1) | |
1276 | mod = v.MaxSpeed/150 | |
1277 | if v.Throttle == 1 and e.Pitch < maxrevs then | |
1278 | e.Pitch = e.Pitch + (0.09/mod) | |
1279 | end | |
1280 | if v.Throttle == 0 and e.Pitch > minrevs then | |
1281 | e.Pitch = e.Pitch - (0.17/mod) | |
1282 | end | |
1283 | if v.Throttle == -1 and e.Pitch > minrevs then | |
1284 | e.Pitch = e.Pitch - (0.22/mod) | |
1285 | end | |
1286 | end | |
1287 | end)) | |
1288 | Configuration67.Name = "Advanced" | |
1289 | Configuration67.Parent = Part64 | |
1290 | NumberValue68.Name = "EngineVolume" | |
1291 | NumberValue68.Parent = Configuration67 | |
1292 | NumberValue68.Value = 0.7 | |
1293 | NumberValue69.Name = "MaxRevs" | |
1294 | NumberValue69.Parent = Configuration67 | |
1295 | NumberValue69.Value = 1.79 | |
1296 | NumberValue70.Name = "MinRevs" | |
1297 | NumberValue70.Parent = Configuration67 | |
1298 | NumberValue70.Value = 0.9 | |
1299 | Configuration71.Parent = Part64 | |
1300 | NumberValue72.Name = "MaxSpeed" | |
1301 | NumberValue72.Parent = Configuration71 | |
1302 | NumberValue72.Value = 150 | |
1303 | Motor6D73.Parent = Part64 | |
1304 | Motor6D73.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048) | |
1305 | Motor6D73.Part0 = Part64 | |
1306 | Motor6D73.Part1 = Part57 | |
1307 | Sound74.Name = "Sound3" | |
1308 | Sound74.Parent = Part64 | |
1309 | Sound74.SoundId = "rbxassetid://191040613" | |
1310 | Sound74.Volume = 1 | |
1311 | Fire75.Name = "Fire2" | |
1312 | Fire75.Parent = Part64 | |
1313 | Fire75.Size = 10 | |
1314 | Fire75.Enabled = false | |
1315 | Fire75.Heat = -5 | |
1316 | Fire75.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1317 | Script76.Name = "On contact, thud" | |
1318 | Script76.Parent = Part64 | |
1319 | table.insert(cors,sandbox(Script76,function() | |
1320 | function onTouched(hit) | |
1321 | if hit.CanCollide == false then return end | |
1322 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1323 | if HitPower >= 600 then | |
1324 | script.Parent.Fire2.Enabled = true | |
1325 | script.Parent.Sound3:Play() | |
1326 | wait(0.2) | |
1327 | script.Parent.Fire2.Enabled = false | |
1328 | end | |
1329 | end | |
1330 | script.Parent.Touched:connect(onTouched) | |
1331 | end)) | |
1332 | ForceField77.Parent = Model0 | |
1333 | Script78.Name = "Wait 10 sec then remove" | |
1334 | Script78.Parent = ForceField77 | |
1335 | table.insert(cors,sandbox(Script78,function() | |
1336 | wait(10) | |
1337 | script.Parent:Destroy() | |
1338 | end)) | |
1339 | Part79.Name = "Wheel" | |
1340 | Part79.Parent = Model0 | |
1341 | Part79.Material = Enum.Material.Concrete | |
1342 | Part79.BrickColor = BrickColor.new("Dark stone grey") | |
1343 | Part79.Locked = true | |
1344 | Part79.Shape = Enum.PartType.Cylinder | |
1345 | Part79.Size = Vector3.new(2, 3, 3) | |
1346 | Part79.CFrame = CFrame.new(13.7879944, 1.51002705, 120.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1347 | Part79.BottomSurface = Enum.SurfaceType.Smooth | |
1348 | Part79.LeftSurface = Enum.SurfaceType.Hinge | |
1349 | Part79.TopSurface = Enum.SurfaceType.Smooth | |
1350 | Part79.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1351 | Part79.Position = Vector3.new(13.7879944, 1.51002705, 120.555038) | |
1352 | Part79.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1353 | Sound80.Name = "Sound3" | |
1354 | Sound80.Parent = Part79 | |
1355 | Sound80.SoundId = "rbxassetid://262353320" | |
1356 | Sound80.Volume = 1 | |
1357 | Fire81.Parent = Part79 | |
1358 | Fire81.Color = Color3.new(1, 1, 1) | |
1359 | Fire81.Enabled = false | |
1360 | Fire81.Heat = -3 | |
1361 | Fire81.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
1362 | Fire81.Color = Color3.new(1, 1, 1) | |
1363 | Script82.Name = "On contact, screech" | |
1364 | Script82.Parent = Part79 | |
1365 | table.insert(cors,sandbox(Script82,function() | |
1366 | function onTouched(hit) | |
1367 | if hit.CanCollide == false then return end | |
1368 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
1369 | if HitPower >= 4075 then | |
1370 | script.Parent.Fire.Enabled = true | |
1371 | script.Parent.Sound3:Play() | |
1372 | wait(0.1) | |
1373 | script.Parent.Fire.Enabled = false | |
1374 | end | |
1375 | end | |
1376 | script.Parent.Touched:connect(onTouched) | |
1377 | end)) | |
1378 | Part83.Name = "Wheel" | |
1379 | Part83.Parent = Model0 | |
1380 | Part83.Material = Enum.Material.Concrete | |
1381 | Part83.BrickColor = BrickColor.new("Dark stone grey") | |
1382 | Part83.Locked = true | |
1383 | Part83.Shape = Enum.PartType.Cylinder | |
1384 | Part83.Size = Vector3.new(2, 3, 3) | |
1385 | Part83.CFrame = CFrame.new(6.78797913, 1.51002705, 125.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1386 | Part83.BottomSurface = Enum.SurfaceType.Smooth | |
1387 | Part83.RightSurface = Enum.SurfaceType.Hinge | |
1388 | Part83.TopSurface = Enum.SurfaceType.Smooth | |
1389 | Part83.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1390 | Part83.Position = Vector3.new(6.78797913, 1.51002705, 125.555023) | |
1391 | Part83.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1392 | Sound84.Name = "Sound3" | |
1393 | Sound84.Parent = Part83 | |
1394 | Sound84.SoundId = "rbxassetid://262353320" | |
1395 | Sound84.Volume = 1 | |
1396 | Fire85.Parent = Part83 | |
1397 | Fire85.Color = Color3.new(1, 1, 1) | |
1398 | Fire85.Enabled = false | |
1399 | Fire85.Heat = -3 | |
1400 | Fire85.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
1401 | Fire85.Color = Color3.new(1, 1, 1) | |
1402 | Script86.Name = "On contact, screech" | |
1403 | Script86.Parent = Part83 | |
1404 | table.insert(cors,sandbox(Script86,function() | |
1405 | function onTouched(hit) | |
1406 | if hit.CanCollide == false then return end | |
1407 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
1408 | if HitPower >= 4075 then | |
1409 | script.Parent.Fire.Enabled = true | |
1410 | script.Parent.Sound3:Play() | |
1411 | wait(0.1) | |
1412 | script.Parent.Fire.Enabled = false | |
1413 | end | |
1414 | end | |
1415 | script.Parent.Touched:connect(onTouched) | |
1416 | end)) | |
1417 | Part87.Name = "Wheel" | |
1418 | Part87.Parent = Model0 | |
1419 | Part87.Material = Enum.Material.Concrete | |
1420 | Part87.BrickColor = BrickColor.new("Dark stone grey") | |
1421 | Part87.Locked = true | |
1422 | Part87.Shape = Enum.PartType.Cylinder | |
1423 | Part87.Size = Vector3.new(2, 3, 3) | |
1424 | Part87.CFrame = CFrame.new(13.7879782, 1.51002705, 125.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1425 | Part87.BottomSurface = Enum.SurfaceType.Smooth | |
1426 | Part87.LeftSurface = Enum.SurfaceType.Hinge | |
1427 | Part87.TopSurface = Enum.SurfaceType.Smooth | |
1428 | Part87.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1429 | Part87.Position = Vector3.new(13.7879782, 1.51002705, 125.555038) | |
1430 | Part87.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1431 | Sound88.Name = "Sound3" | |
1432 | Sound88.Parent = Part87 | |
1433 | Sound88.SoundId = "rbxassetid://262353320" | |
1434 | Sound88.Volume = 1 | |
1435 | Fire89.Parent = Part87 | |
1436 | Fire89.Color = Color3.new(1, 1, 1) | |
1437 | Fire89.Enabled = false | |
1438 | Fire89.Heat = -3 | |
1439 | Fire89.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
1440 | Fire89.Color = Color3.new(1, 1, 1) | |
1441 | Script90.Name = "On contact, screech" | |
1442 | Script90.Parent = Part87 | |
1443 | table.insert(cors,sandbox(Script90,function() | |
1444 | function onTouched(hit) | |
1445 | if hit.CanCollide == false then return end | |
1446 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
1447 | if HitPower >= 4075 then | |
1448 | script.Parent.Fire.Enabled = true | |
1449 | script.Parent.Sound3:Play() | |
1450 | wait(0.1) | |
1451 | script.Parent.Fire.Enabled = false | |
1452 | end | |
1453 | end | |
1454 | script.Parent.Touched:connect(onTouched) | |
1455 | end)) | |
1456 | Part91.Name = "Wheel" | |
1457 | Part91.Parent = Model0 | |
1458 | Part91.Material = Enum.Material.Concrete | |
1459 | Part91.BrickColor = BrickColor.new("Dark stone grey") | |
1460 | Part91.Locked = true | |
1461 | Part91.Shape = Enum.PartType.Cylinder | |
1462 | Part91.Size = Vector3.new(2, 3, 3) | |
1463 | Part91.CFrame = CFrame.new(6.78799486, 1.51002705, 120.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1464 | Part91.BottomSurface = Enum.SurfaceType.Smooth | |
1465 | Part91.RightSurface = Enum.SurfaceType.Hinge | |
1466 | Part91.TopSurface = Enum.SurfaceType.Smooth | |
1467 | Part91.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1468 | Part91.Position = Vector3.new(6.78799486, 1.51002705, 120.555023) | |
1469 | Part91.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1470 | Sound92.Name = "Sound3" | |
1471 | Sound92.Parent = Part91 | |
1472 | Sound92.SoundId = "rbxassetid://262353320" | |
1473 | Sound92.Volume = 1 | |
1474 | Fire93.Parent = Part91 | |
1475 | Fire93.Color = Color3.new(1, 1, 1) | |
1476 | Fire93.Enabled = false | |
1477 | Fire93.Heat = -3 | |
1478 | Fire93.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
1479 | Fire93.Color = Color3.new(1, 1, 1) | |
1480 | Script94.Name = "On contact, screech" | |
1481 | Script94.Parent = Part91 | |
1482 | table.insert(cors,sandbox(Script94,function() | |
1483 | function onTouched(hit) | |
1484 | if hit.CanCollide == false then return end | |
1485 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
1486 | if HitPower >= 4075 then | |
1487 | script.Parent.Fire.Enabled = true | |
1488 | script.Parent.Sound3:Play() | |
1489 | wait(0.1) | |
1490 | script.Parent.Fire.Enabled = false | |
1491 | end | |
1492 | end | |
1493 | script.Parent.Touched:connect(onTouched) | |
1494 | end)) | |
1495 | Part95.Name = "FIRE!" | |
1496 | Part95.Parent = Model0 | |
1497 | Part95.Material = Enum.Material.DiamondPlate | |
1498 | Part95.BrickColor = BrickColor.new("Lime green") | |
1499 | Part95.Rotation = Vector3.new(0.599999964, 0, 0) | |
1500 | Part95.Locked = true | |
1501 | Part95.Size = Vector3.new(1, 1, 2) | |
1502 | Part95.CFrame = CFrame.new(10.2879047, 6.01144743, 120.551727, 1.00000834, -1.45242041e-09, 2.41016096e-11, -1.45262979e-09, 0.999945164, -0.0104717799, 1.18234311e-11, 0.0104718367, 0.999949932) | |
1503 | Part95.BottomSurface = Enum.SurfaceType.Smooth | |
1504 | Part95.TopSurface = Enum.SurfaceType.Smooth | |
1505 | Part95.Color = Color3.new(0, 1, 0) | |
1506 | Part95.Position = Vector3.new(10.2879047, 6.01144743, 120.551727) | |
1507 | Part95.Orientation = Vector3.new(0.599999964, 0, 0) | |
1508 | Part95.Color = Color3.new(0, 1, 0) | |
1509 | Script96.Name = "Fire" | |
1510 | Script96.Parent = Part95 | |
1511 | table.insert(cors,sandbox(Script96,function() | |
1512 | local Colour = script.Parent.Parent.Base.BrickColor | |
1513 | function Clicked() | |
1514 | script.Parent.Sound3:Play() | |
1515 | local Ammo = Instance.new("Part") | |
1516 | Ammo.BrickColor = Colour | |
1517 | Ammo.Material = "Neon" | |
1518 | Ammo.Parent = game.Workspace | |
1519 | Ammo.Velocity = script.Parent.CFrame.lookVector * 1200 | |
1520 | Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6) | |
1521 | Ammo.Size = Vector3.new(3,3,3) | |
1522 | Ammo.Shape = "Ball" | |
1523 | Ammo.Name = script.Parent.Parent.Name.."'s cannonball" | |
1524 | Ammo.TopSurface = "Smooth" | |
1525 | Ammo.BottomSurface = "Smooth" | |
1526 | local explosive = script["On contact, explode"]:Clone() | |
1527 | explosive.Parent = Ammo | |
1528 | explosive.Disabled = false | |
1529 | local damager = script["Hint if humanoid hit and damage"]:Clone() | |
1530 | damager.Parent = Ammo | |
1531 | damager.Disabled = false | |
1532 | local sound = script.Sound:Clone() | |
1533 | sound.Parent = Ammo | |
1534 | script.Parent.BrickColor = BrickColor.new("Really red") | |
1535 | script.Disabled = true | |
1536 | wait(1) | |
1537 | script.Parent.BrickColor = BrickColor.new("New Yeller") | |
1538 | wait(1) | |
1539 | script.Parent.BrickColor = BrickColor.new("Lime green") | |
1540 | script.Disabled = false | |
1541 | end | |
1542 | script.Parent.ClickDetector.MouseClick:connect(Clicked) | |
1543 | end)) | |
1544 | Script97.Name = "On contact, explode" | |
1545 | Script97.Parent = Script96 | |
1546 | Script97.Disabled = true | |
1547 | table.insert(cors,sandbox(Script97,function() | |
1548 | function onTouched(hit) | |
1549 | if hit == nil then return end | |
1550 | if hit.CanCollide == false then return end | |
1551 | script.Parent.Anchored = true | |
1552 | wait(0) | |
1553 | local BOOM = Instance.new("Explosion") | |
1554 | BOOM.Parent = game.Workspace | |
1555 | BOOM.Position = script.Parent.Position | |
1556 | BOOM.BlastRadius = 10 | |
1557 | script.Parent.Sound:Play() | |
1558 | script.Disabled = true | |
1559 | script.Parent.CanCollide = false | |
1560 | script.Parent.Transparency = 1 | |
1561 | wait(2) | |
1562 | script.Parent:Destroy() | |
1563 | end | |
1564 | script.Parent.Touched:connect(onTouched) | |
1565 | end)) | |
1566 | Sound98.Parent = Script96 | |
1567 | Sound98.Pitch = 1.2000000476837 | |
1568 | Sound98.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
1569 | Sound98.Volume = 1 | |
1570 | Script99.Name = "Hint if humanoid hit and damage" | |
1571 | Script99.Parent = Script96 | |
1572 | Script99.Disabled = true | |
1573 | table.insert(cors,sandbox(Script99,function() | |
1574 | function onTouched(hit) | |
1575 | if hit == nil then script.Disabled = true return end | |
1576 | if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end | |
1577 | local damage = math.random(500,5000) | |
1578 | hit.Parent.Humanoid:TakeDamage(damage) | |
1579 | local hint = Instance.new("Hint") | |
1580 | hint.Text = script.Parent.Name.." hit "..hit.Parent.Name.." with "..damage.." damage with an explosion!" | |
1581 | hint.Parent = script | |
1582 | script.Disabled = true | |
1583 | end | |
1584 | script.Parent.Touched:connect(onTouched) | |
1585 | end)) | |
1586 | ClickDetector100.Parent = Part95 | |
1587 | ClickDetector100.MaxActivationDistance = 4 | |
1588 | Sound101.Name = "Sound3" | |
1589 | Sound101.Parent = Part95 | |
1590 | Sound101.SoundId = "rbxassetid://191040613" | |
1591 | Sound101.Volume = 1 | |
1592 | Part102.Name = "Left Leg" | |
1593 | Part102.Parent = Model0 | |
1594 | Part102.Material = Enum.Material.DiamondPlate | |
1595 | Part102.BrickColor = BrickColor.new("Dark stone grey") | |
1596 | Part102.Locked = true | |
1597 | Part102.Size = Vector3.new(1, 1, 3) | |
1598 | Part102.CFrame = CFrame.new(8.28780556, 3.01004457, 127.055328, 1.00000727, 8.61928342e-08, -3.51685071e-06, -8.87493172e-08, 1, -1.60417869e-07, 3.51685753e-06, 1.66473328e-07, 1.00000417) | |
1599 | Part102.BottomSurface = Enum.SurfaceType.Smooth | |
1600 | Part102.TopSurface = Enum.SurfaceType.Smooth | |
1601 | Part102.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1602 | Part102.Position = Vector3.new(8.28780556, 3.01004457, 127.055328) | |
1603 | Part102.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1604 | Sound103.Name = "Sound3" | |
1605 | Sound103.Parent = Part102 | |
1606 | Sound103.SoundId = "rbxassetid://191040613" | |
1607 | Sound103.Volume = 1 | |
1608 | Script104.Name = "On contact, thud" | |
1609 | Script104.Parent = Part102 | |
1610 | table.insert(cors,sandbox(Script104,function() | |
1611 | function onTouched(hit) | |
1612 | if hit.CanCollide == false then return end | |
1613 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1614 | if HitPower >= 600 then | |
1615 | script.Parent.Fire2.Enabled = true | |
1616 | script.Parent.Sound3:Play() | |
1617 | wait(0.2) | |
1618 | script.Parent.Fire2.Enabled = false | |
1619 | end | |
1620 | end | |
1621 | script.Parent.Touched:connect(onTouched) | |
1622 | end)) | |
1623 | ParticleEmitter105.Parent = Part102 | |
1624 | ParticleEmitter105.Transparency = NumberSequence.new(0,0,1) | |
1625 | ParticleEmitter105.Size = NumberSequence.new(0,1.9999998807907) | |
1626 | ParticleEmitter105.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1627 | ParticleEmitter105.Acceleration = Vector3.new(0, 1, 0) | |
1628 | ParticleEmitter105.Lifetime = NumberRange.new(0.5, 2.5) | |
1629 | ParticleEmitter105.Rate = 10 | |
1630 | ParticleEmitter105.RotSpeed = NumberRange.new(0, 30) | |
1631 | ParticleEmitter105.Speed = NumberRange.new(-3, -3) | |
1632 | ParticleEmitter105.VelocitySpread = 5 | |
1633 | ParticleEmitter105.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1634 | Fire106.Name = "Fire2" | |
1635 | Fire106.Parent = Part102 | |
1636 | Fire106.Size = 10 | |
1637 | Fire106.Enabled = false | |
1638 | Fire106.Heat = -5 | |
1639 | Fire106.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1640 | Part107.Name = "Left Arm" | |
1641 | Part107.Parent = Model0 | |
1642 | Part107.Material = Enum.Material.DiamondPlate | |
1643 | Part107.BrickColor = BrickColor.new("Dark stone grey") | |
1644 | Part107.Locked = true | |
1645 | Part107.Size = Vector3.new(1, 1, 3) | |
1646 | Part107.CFrame = CFrame.new(8.28782463, 2.01004648, 126.055267, 1.00000727, 8.14884515e-08, -3.51687049e-06, -8.40449417e-08, 1, -1.49470978e-07, 3.51687731e-06, 1.55526351e-07, 1.00000417) | |
1647 | Part107.BottomSurface = Enum.SurfaceType.Smooth | |
1648 | Part107.TopSurface = Enum.SurfaceType.Smooth | |
1649 | Part107.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1650 | Part107.Position = Vector3.new(8.28782463, 2.01004648, 126.055267) | |
1651 | Part107.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1652 | Sound108.Name = "Sound3" | |
1653 | Sound108.Parent = Part107 | |
1654 | Sound108.SoundId = "rbxassetid://191040613" | |
1655 | Sound108.Volume = 1 | |
1656 | Script109.Name = "On contact, thud" | |
1657 | Script109.Parent = Part107 | |
1658 | table.insert(cors,sandbox(Script109,function() | |
1659 | function onTouched(hit) | |
1660 | if hit.CanCollide == false then return end | |
1661 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1662 | if HitPower >= 600 then | |
1663 | script.Parent.Fire2.Enabled = true | |
1664 | script.Parent.Sound3:Play() | |
1665 | wait(0.2) | |
1666 | script.Parent.Fire2.Enabled = false | |
1667 | end | |
1668 | end | |
1669 | script.Parent.Touched:connect(onTouched) | |
1670 | end)) | |
1671 | ParticleEmitter110.Parent = Part107 | |
1672 | ParticleEmitter110.Transparency = NumberSequence.new(0,0,1) | |
1673 | ParticleEmitter110.Size = NumberSequence.new(0,1.9999998807907) | |
1674 | ParticleEmitter110.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1675 | ParticleEmitter110.Acceleration = Vector3.new(0, 1, 0) | |
1676 | ParticleEmitter110.Lifetime = NumberRange.new(0.5, 2.5) | |
1677 | ParticleEmitter110.Rate = 10 | |
1678 | ParticleEmitter110.RotSpeed = NumberRange.new(0, 30) | |
1679 | ParticleEmitter110.Speed = NumberRange.new(-3, -3) | |
1680 | ParticleEmitter110.VelocitySpread = 5 | |
1681 | ParticleEmitter110.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1682 | Fire111.Name = "Fire2" | |
1683 | Fire111.Parent = Part107 | |
1684 | Fire111.Size = 10 | |
1685 | Fire111.Enabled = false | |
1686 | Fire111.Heat = -5 | |
1687 | Fire111.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1688 | Part112.Name = "Right Leg" | |
1689 | Part112.Parent = Model0 | |
1690 | Part112.Material = Enum.Material.DiamondPlate | |
1691 | Part112.BrickColor = BrickColor.new("Dark stone grey") | |
1692 | Part112.Locked = true | |
1693 | Part112.Size = Vector3.new(1, 1, 3) | |
1694 | Part112.CFrame = CFrame.new(12.2881823, 3.01004267, 127.055397, 1.00000727, 9.11866067e-08, -3.51684025e-06, -9.37431039e-08, 1, -1.72063622e-07, 3.51684707e-06, 1.78119137e-07, 1.00000417) | |
1695 | Part112.BottomSurface = Enum.SurfaceType.Smooth | |
1696 | Part112.TopSurface = Enum.SurfaceType.Smooth | |
1697 | Part112.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1698 | Part112.Position = Vector3.new(12.2881823, 3.01004267, 127.055397) | |
1699 | Part112.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1700 | Sound113.Name = "Sound3" | |
1701 | Sound113.Parent = Part112 | |
1702 | Sound113.SoundId = "rbxassetid://191040613" | |
1703 | Sound113.Volume = 1 | |
1704 | Script114.Name = "On contact, thud" | |
1705 | Script114.Parent = Part112 | |
1706 | table.insert(cors,sandbox(Script114,function() | |
1707 | function onTouched(hit) | |
1708 | if hit.CanCollide == false then return end | |
1709 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1710 | if HitPower >= 600 then | |
1711 | script.Parent.Fire2.Enabled = true | |
1712 | script.Parent.Sound3:Play() | |
1713 | wait(0.2) | |
1714 | script.Parent.Fire2.Enabled = false | |
1715 | end | |
1716 | end | |
1717 | script.Parent.Touched:connect(onTouched) | |
1718 | end)) | |
1719 | ParticleEmitter115.Parent = Part112 | |
1720 | ParticleEmitter115.Transparency = NumberSequence.new(0,0,1) | |
1721 | ParticleEmitter115.Size = NumberSequence.new(0,1.9999998807907) | |
1722 | ParticleEmitter115.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1723 | ParticleEmitter115.Acceleration = Vector3.new(0, 1, 0) | |
1724 | ParticleEmitter115.Lifetime = NumberRange.new(0.5, 2.5) | |
1725 | ParticleEmitter115.Rate = 10 | |
1726 | ParticleEmitter115.RotSpeed = NumberRange.new(0, 30) | |
1727 | ParticleEmitter115.Speed = NumberRange.new(-3, -3) | |
1728 | ParticleEmitter115.VelocitySpread = 5 | |
1729 | ParticleEmitter115.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1730 | Fire116.Name = "Fire2" | |
1731 | Fire116.Parent = Part112 | |
1732 | Fire116.Size = 10 | |
1733 | Fire116.Enabled = false | |
1734 | Fire116.Heat = -5 | |
1735 | Fire116.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1736 | Part117.Name = "Right Arm" | |
1737 | Part117.Parent = Model0 | |
1738 | Part117.Material = Enum.Material.DiamondPlate | |
1739 | Part117.BrickColor = BrickColor.new("Dark stone grey") | |
1740 | Part117.Locked = true | |
1741 | Part117.Size = Vector3.new(1, 1, 3) | |
1742 | Part117.CFrame = CFrame.new(12.2881508, 2.01004624, 126.055313, 1.00000727, 8.84574689e-08, -3.51684616e-06, -9.10139661e-08, 1, -1.6577529e-07, 3.51685298e-06, 1.71830763e-07, 1.00000417) | |
1743 | Part117.BottomSurface = Enum.SurfaceType.Smooth | |
1744 | Part117.TopSurface = Enum.SurfaceType.Smooth | |
1745 | Part117.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1746 | Part117.Position = Vector3.new(12.2881508, 2.01004624, 126.055313) | |
1747 | Part117.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
1748 | Sound118.Name = "Sound3" | |
1749 | Sound118.Parent = Part117 | |
1750 | Sound118.SoundId = "rbxassetid://191040613" | |
1751 | Sound118.Volume = 1 | |
1752 | Script119.Name = "On contact, thud" | |
1753 | Script119.Parent = Part117 | |
1754 | table.insert(cors,sandbox(Script119,function() | |
1755 | function onTouched(hit) | |
1756 | if hit.CanCollide == false then return end | |
1757 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1758 | if HitPower >= 600 then | |
1759 | script.Parent.Fire2.Enabled = true | |
1760 | script.Parent.Sound3:Play() | |
1761 | wait(0.2) | |
1762 | script.Parent.Fire2.Enabled = false | |
1763 | end | |
1764 | end | |
1765 | script.Parent.Touched:connect(onTouched) | |
1766 | end)) | |
1767 | ParticleEmitter120.Parent = Part117 | |
1768 | ParticleEmitter120.Transparency = NumberSequence.new(0,0,1) | |
1769 | ParticleEmitter120.Size = NumberSequence.new(0,1.9999998807907) | |
1770 | ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1771 | ParticleEmitter120.Acceleration = Vector3.new(0, 1, 0) | |
1772 | ParticleEmitter120.Lifetime = NumberRange.new(0.5, 2.5) | |
1773 | ParticleEmitter120.Rate = 10 | |
1774 | ParticleEmitter120.RotSpeed = NumberRange.new(0, 30) | |
1775 | ParticleEmitter120.Speed = NumberRange.new(-3, -3) | |
1776 | ParticleEmitter120.VelocitySpread = 5 | |
1777 | ParticleEmitter120.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
1778 | Fire121.Name = "Fire2" | |
1779 | Fire121.Parent = Part117 | |
1780 | Fire121.Size = 10 | |
1781 | Fire121.Enabled = false | |
1782 | Fire121.Heat = -5 | |
1783 | Fire121.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1784 | Model122.Name = "Car 1" | |
1785 | Model122.Parent = mas | |
1786 | Model122.PrimaryPart = Part123 | |
1787 | Part123.Name = "Base" | |
1788 | Part123.Parent = Model122 | |
1789 | Part123.Material = Enum.Material.DiamondPlate | |
1790 | Part123.BrickColor = BrickColor.new("Really red") | |
1791 | Part123.Locked = true | |
1792 | Part123.Size = Vector3.new(5, 1, 5) | |
1793 | Part123.CFrame = CFrame.new(20.2879829, 1.01003587, 123.055122, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036) | |
1794 | Part123.BottomSurface = Enum.SurfaceType.Smooth | |
1795 | Part123.TopSurface = Enum.SurfaceType.Smooth | |
1796 | Part123.Color = Color3.new(1, 0, 0) | |
1797 | Part123.Position = Vector3.new(20.2879829, 1.01003587, 123.055122) | |
1798 | Part123.Color = Color3.new(1, 0, 0) | |
1799 | Sound124.Parent = Part123 | |
1800 | Sound124.Pitch = 1.2000000476837 | |
1801 | Sound124.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
1802 | Sound124.Volume = 1 | |
1803 | Fire125.Parent = Part123 | |
1804 | Fire125.Size = 30 | |
1805 | Fire125.Enabled = false | |
1806 | Fire125.Heat = 25 | |
1807 | Fire125.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1808 | Sound126.Name = "Sound2" | |
1809 | Sound126.Parent = Part123 | |
1810 | Sound126.Pitch = 0.60000002384186 | |
1811 | Sound126.SoundId = "rbxassetid://138185473 " | |
1812 | Sound126.Volume = 1 | |
1813 | Sound126.Looped = true | |
1814 | BodyGyro127.Parent = Part123 | |
1815 | BodyGyro127.maxTorque = Vector3.new(0, 0, 0) | |
1816 | BodyGyro127.MaxTorque = Vector3.new(0, 0, 0) | |
1817 | Motor6D128.Parent = Part123 | |
1818 | Motor6D128.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024) | |
1819 | Motor6D128.Part0 = Part123 | |
1820 | Motor6D128.Part1 = Part186 | |
1821 | Motor6D129.Parent = Part123 | |
1822 | Motor6D129.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012) | |
1823 | Motor6D129.Part0 = Part123 | |
1824 | Motor6D129.Part1 = Part140 | |
1825 | Motor6D130.Parent = Part123 | |
1826 | Motor6D130.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036) | |
1827 | Motor6D130.Part0 = Part123 | |
1828 | Motor6D130.Part1 = VehicleSeat138 | |
1829 | Sound131.Name = "Sound3" | |
1830 | Sound131.Parent = Part123 | |
1831 | Sound131.SoundId = "rbxassetid://191040613" | |
1832 | Sound131.Volume = 1 | |
1833 | Fire132.Name = "Fire2" | |
1834 | Fire132.Parent = Part123 | |
1835 | Fire132.Size = 10 | |
1836 | Fire132.Enabled = false | |
1837 | Fire132.Heat = -5 | |
1838 | Fire132.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1839 | Script133.Name = "On contact, thud" | |
1840 | Script133.Parent = Part123 | |
1841 | table.insert(cors,sandbox(Script133,function() | |
1842 | function onTouched(hit) | |
1843 | if hit.CanCollide == false then return end | |
1844 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1845 | if HitPower >= 600 then | |
1846 | script.Parent.Fire2.Enabled = true | |
1847 | script.Parent.Sound3:Play() | |
1848 | wait(0.2) | |
1849 | script.Parent.Fire2.Enabled = false | |
1850 | end | |
1851 | end | |
1852 | script.Parent.Touched:connect(onTouched) | |
1853 | end)) | |
1854 | Motor6D134.Parent = Part123 | |
1855 | Motor6D134.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1) | |
1856 | Motor6D134.Part0 = Part123 | |
1857 | Motor6D134.Part1 = Part239 | |
1858 | Motor6D135.Parent = Part123 | |
1859 | Motor6D135.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1) | |
1860 | Motor6D135.Part0 = Part123 | |
1861 | Motor6D135.Part1 = Part234 | |
1862 | Motor6D136.Parent = Part123 | |
1863 | Motor6D136.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1) | |
1864 | Motor6D136.Part0 = Part123 | |
1865 | Motor6D136.Part1 = Part229 | |
1866 | Motor6D137.Parent = Part123 | |
1867 | Motor6D137.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1) | |
1868 | Motor6D137.Part0 = Part123 | |
1869 | Motor6D137.Part1 = Part224 | |
1870 | VehicleSeat138.Name = "Car Seat" | |
1871 | VehicleSeat138.Parent = Model122 | |
1872 | VehicleSeat138.Material = Enum.Material.Fabric | |
1873 | VehicleSeat138.BrickColor = BrickColor.new("Black") | |
1874 | VehicleSeat138.Locked = true | |
1875 | VehicleSeat138.Size = Vector3.new(3, 1, 3) | |
1876 | VehicleSeat138.CFrame = CFrame.new(20.2880402, 2.01037908, 123.054855, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1) | |
1877 | VehicleSeat138.BottomSurface = Enum.SurfaceType.Smooth | |
1878 | VehicleSeat138.TopSurface = Enum.SurfaceType.Smooth | |
1879 | VehicleSeat138.MaxSpeed = 150 | |
1880 | VehicleSeat138.Torque = 12.5 | |
1881 | VehicleSeat138.TurnSpeed = 2.5999999046326 | |
1882 | VehicleSeat138.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1883 | VehicleSeat138.Position = Vector3.new(20.2880402, 2.01037908, 123.054855) | |
1884 | VehicleSeat138.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1885 | Motor6D139.Parent = VehicleSeat138 | |
1886 | Motor6D139.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012) | |
1887 | Motor6D139.Part0 = VehicleSeat138 | |
1888 | Motor6D139.Part1 = Part150 | |
1889 | Part140.Name = "Torso" | |
1890 | Part140.Parent = Model122 | |
1891 | Part140.Material = Enum.Material.DiamondPlate | |
1892 | Part140.BrickColor = BrickColor.new("Maroon") | |
1893 | Part140.Locked = true | |
1894 | Part140.Size = Vector3.new(5, 2, 2) | |
1895 | Part140.CFrame = CFrame.new(20.2879124, 2.51143789, 120.551735, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048) | |
1896 | Part140.BottomSurface = Enum.SurfaceType.Smooth | |
1897 | Part140.TopSurface = Enum.SurfaceType.Smooth | |
1898 | Part140.Color = Color3.new(0.458824, 0, 0) | |
1899 | Part140.Position = Vector3.new(20.2879124, 2.51143789, 120.551735) | |
1900 | Part140.Color = Color3.new(0.458824, 0, 0) | |
1901 | ClickDetector141.Parent = Part140 | |
1902 | ClickDetector141.MaxActivationDistance = 4 | |
1903 | Script142.Name = "Flip when clicked" | |
1904 | Script142.Parent = Part140 | |
1905 | table.insert(cors,sandbox(Script142,function() | |
1906 | debounce = false | |
1907 | function onClicked() | |
1908 | if script.Value.Value == false then | |
1909 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
1910 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000) | |
1911 | script.Value.Value = true | |
1912 | script.Parent.Material = "Neon" | |
1913 | elseif script.Value.Value == true then | |
1914 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
1915 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0) | |
1916 | script.Value.Value = false | |
1917 | script.Parent.Material = "DiamondPlate" | |
1918 | end | |
1919 | end | |
1920 | script.Parent.ClickDetector.MouseClick:connect(onClicked) | |
1921 | end)) | |
1922 | BoolValue143.Parent = Script142 | |
1923 | Motor6D144.Parent = Part140 | |
1924 | Motor6D144.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036) | |
1925 | Motor6D144.Part0 = Part140 | |
1926 | Motor6D144.Part1 = Part151 | |
1927 | Sound145.Name = "Sound3" | |
1928 | Sound145.Parent = Part140 | |
1929 | Sound145.SoundId = "rbxassetid://191040613" | |
1930 | Sound145.Volume = 1 | |
1931 | Fire146.Name = "Fire2" | |
1932 | Fire146.Parent = Part140 | |
1933 | Fire146.Size = 10 | |
1934 | Fire146.Enabled = false | |
1935 | Fire146.Heat = -5 | |
1936 | Fire146.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
1937 | Script147.Name = "On contact, thud" | |
1938 | Script147.Parent = Part140 | |
1939 | table.insert(cors,sandbox(Script147,function() | |
1940 | function onTouched(hit) | |
1941 | if hit.CanCollide == false then return end | |
1942 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1943 | if HitPower >= 600 then | |
1944 | script.Parent.Fire2.Enabled = true | |
1945 | script.Parent.Sound3:Play() | |
1946 | wait(0.2) | |
1947 | script.Parent.Fire2.Enabled = false | |
1948 | end | |
1949 | end | |
1950 | script.Parent.Touched:connect(onTouched) | |
1951 | end)) | |
1952 | SpotLight148.Parent = Part140 | |
1953 | SpotLight148.Color = Color3.new(1, 0, 0.0156863) | |
1954 | SpotLight148.Brightness = 60 | |
1955 | SpotLight148.Range = 60 | |
1956 | SpotLight148.Shadows = true | |
1957 | SpotLight148.Color = Color3.new(1, 0, 0.0156863) | |
1958 | Motor6D149.Parent = Part140 | |
1959 | Motor6D149.C1 = CFrame.new(7.56978989e-06, -3.49980855, 0.0366503, 1.00000083, -6.66775577e-08, -6.9738403e-06, 1.39410474e-07, 0.999945164, 0.0104715852, 6.97276209e-06, -0.0104715796, 0.999945641) | |
1960 | Motor6D149.Part0 = Part140 | |
1961 | Motor6D149.Part1 = Part217 | |
1962 | Part150.Name = "Backrest" | |
1963 | Part150.Parent = Model122 | |
1964 | Part150.Material = Enum.Material.Fabric | |
1965 | Part150.BrickColor = BrickColor.new("Really red") | |
1966 | Part150.Locked = true | |
1967 | Part150.Size = Vector3.new(3, 2, 1) | |
1968 | Part150.CFrame = CFrame.new(20.2881622, 3.5122745, 124.055931, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012) | |
1969 | Part150.BottomSurface = Enum.SurfaceType.Smooth | |
1970 | Part150.TopSurface = Enum.SurfaceType.Smooth | |
1971 | Part150.Color = Color3.new(1, 0, 0) | |
1972 | Part150.Position = Vector3.new(20.2881622, 3.5122745, 124.055931) | |
1973 | Part150.Color = Color3.new(1, 0, 0) | |
1974 | Part151.Name = "Head" | |
1975 | Part151.Parent = Model122 | |
1976 | Part151.Material = Enum.Material.CorrodedMetal | |
1977 | Part151.BrickColor = BrickColor.new("Really red") | |
1978 | Part151.Locked = true | |
1979 | Part151.Size = Vector3.new(3, 3, 2) | |
1980 | Part151.CFrame = CFrame.new(20.2878685, 3.0112021, 118.551369, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083) | |
1981 | Part151.BottomSurface = Enum.SurfaceType.Smooth | |
1982 | Part151.TopSurface = Enum.SurfaceType.Smooth | |
1983 | Part151.Color = Color3.new(1, 0, 0) | |
1984 | Part151.Position = Vector3.new(20.2878685, 3.0112021, 118.551369) | |
1985 | Part151.Color = Color3.new(1, 0, 0) | |
1986 | Script152.Name = "On contact, damage" | |
1987 | Script152.Parent = Part151 | |
1988 | table.insert(cors,sandbox(Script152,function() | |
1989 | function onTouched(hit) | |
1990 | if hit.Parent == nil then return end | |
1991 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
1992 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
1993 | if HitPower <= 150 then return end | |
1994 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower) | |
1995 | end | |
1996 | script.Parent.Touched:connect(onTouched) | |
1997 | end)) | |
1998 | Sound153.Parent = Part151 | |
1999 | Sound153.SoundId = "rbxassetid://356659053" | |
2000 | Sound153.Volume = 1 | |
2001 | Script154.Name = "On contact, clang" | |
2002 | Script154.Parent = Part151 | |
2003 | table.insert(cors,sandbox(Script154,function() | |
2004 | function onTouched(hit) | |
2005 | if hit.CanCollide == false then return end | |
2006 | script.Parent.Sound:Play() | |
2007 | end | |
2008 | script.Parent.Touched:connect(onTouched) | |
2009 | end)) | |
2010 | Script155.Name = "On contact, explode" | |
2011 | Script155.Parent = Part151 | |
2012 | table.insert(cors,sandbox(Script155,function() | |
2013 | function onTouched(hit) | |
2014 | if hit.CanCollide == false then return end | |
2015 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2016 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2017 | if HitPower >= 1200 then | |
2018 | local BANG = Instance.new("Explosion") | |
2019 | BANG.Position = script.Parent.Position | |
2020 | BANG.DestroyJointRadiusPercent = 0 | |
2021 | BANG.Parent = script.Parent | |
2022 | script.Parent.Sound2:Play() | |
2023 | print "# SUPREME SLAM #" | |
2024 | end | |
2025 | end | |
2026 | script.Parent.Touched:connect(onTouched) | |
2027 | end)) | |
2028 | Sound156.Name = "Sound2" | |
2029 | Sound156.Parent = Part151 | |
2030 | Sound156.SoundId = "rbxassetid://168485325" | |
2031 | Sound156.Volume = 1 | |
2032 | Model157.Name = "Bunch of scripts" | |
2033 | Model157.Parent = Part151 | |
2034 | Script158.Name = "On contact, hint 151-299 dmg" | |
2035 | Script158.Parent = Model157 | |
2036 | table.insert(cors,sandbox(Script158,function() | |
2037 | function onTouched(hit) | |
2038 | if hit.Parent == nil then return end | |
2039 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2040 | if hit.Parent.Humanoid.Health == 0 then return end | |
2041 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
2042 | if HitPower >= 151 and HitPower <= 299 then | |
2043 | local hint = Instance.new("Hint") | |
2044 | hint.Parent = script | |
2045 | hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."." | |
2046 | wait(2) | |
2047 | hint:Destroy() | |
2048 | else return end | |
2049 | end | |
2050 | script.Parent.Parent.Touched:connect(onTouched) | |
2051 | end)) | |
2052 | Script159.Name = "On contact, hint 300-599 dmg" | |
2053 | Script159.Parent = Model157 | |
2054 | table.insert(cors,sandbox(Script159,function() | |
2055 | function onTouched(hit) | |
2056 | if hit.Parent == nil then return end | |
2057 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2058 | if hit.Parent.Humanoid.Health == 0 then return end | |
2059 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
2060 | if HitPower >= 300 and HitPower <= 599 then | |
2061 | local hint = Instance.new("Hint") | |
2062 | hint.Parent = script | |
2063 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."." | |
2064 | wait(2) | |
2065 | hint:Destroy() | |
2066 | else return end | |
2067 | end | |
2068 | script.Parent.Parent.Touched:connect(onTouched) | |
2069 | end)) | |
2070 | Script160.Name = "On contact, hint 600-899 dmg" | |
2071 | Script160.Parent = Model157 | |
2072 | table.insert(cors,sandbox(Script160,function() | |
2073 | function onTouched(hit) | |
2074 | if hit.Parent == nil then return end | |
2075 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2076 | if hit.Parent.Humanoid.Health == 0 then return end | |
2077 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
2078 | if HitPower >= 600 and HitPower <= 899 then | |
2079 | local hint = Instance.new("Hint") | |
2080 | hint.Parent = script | |
2081 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."." | |
2082 | wait(2) | |
2083 | hint:Destroy() | |
2084 | else return end | |
2085 | end | |
2086 | script.Parent.Parent.Touched:connect(onTouched) | |
2087 | end)) | |
2088 | Script161.Name = "On contact, hint 900-1199 dmg" | |
2089 | Script161.Parent = Model157 | |
2090 | table.insert(cors,sandbox(Script161,function() | |
2091 | function onTouched(hit) | |
2092 | if hit.Parent == nil then return end | |
2093 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2094 | if hit.Parent.Humanoid.Health == 0 then return end | |
2095 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
2096 | if HitPower >= 900 and HitPower <= 1199 then | |
2097 | local hint = Instance.new("Hint") | |
2098 | hint.Parent = script | |
2099 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."." | |
2100 | wait(2) | |
2101 | hint:Destroy() | |
2102 | else return end | |
2103 | end | |
2104 | script.Parent.Parent.Touched:connect(onTouched) | |
2105 | end)) | |
2106 | Script162.Name = "On contact, hint 1200 or greater dmg" | |
2107 | Script162.Parent = Model157 | |
2108 | table.insert(cors,sandbox(Script162,function() | |
2109 | function onTouched(hit) | |
2110 | if hit.Parent == nil then return end | |
2111 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
2112 | if hit.Parent.Humanoid.Health == 0 then return end | |
2113 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
2114 | if HitPower >= 1200 then | |
2115 | local hint = Instance.new("Hint") | |
2116 | hint.Parent = script | |
2117 | hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!" | |
2118 | wait(2) | |
2119 | hint:Destroy() | |
2120 | else return end | |
2121 | end | |
2122 | script.Parent.Parent.Touched:connect(onTouched) | |
2123 | end)) | |
2124 | Sound163.Name = "Sound3" | |
2125 | Sound163.Parent = Part151 | |
2126 | Sound163.SoundId = "rbxassetid://191040613" | |
2127 | Sound163.Volume = 1 | |
2128 | Script164.Name = "On contact, break stuff" | |
2129 | Script164.Parent = Part151 | |
2130 | table.insert(cors,sandbox(Script164,function() | |
2131 | function onTouched(hit) | |
2132 | if hit.Parent == nil then return end | |
2133 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end | |
2134 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2135 | if HitPower >= 400 then hit:BreakJoints() | |
2136 | end | |
2137 | end | |
2138 | script.Parent.Touched:connect(onTouched) | |
2139 | end)) | |
2140 | Fire165.Name = "Fire2" | |
2141 | Fire165.Parent = Part151 | |
2142 | Fire165.Size = 10 | |
2143 | Fire165.Enabled = false | |
2144 | Fire165.Heat = -5 | |
2145 | Fire165.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2146 | Script166.Name = "On contact, thud" | |
2147 | Script166.Parent = Part151 | |
2148 | table.insert(cors,sandbox(Script166,function() | |
2149 | function onTouched(hit) | |
2150 | if hit.CanCollide == false then return end | |
2151 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2152 | if HitPower >= 600 then | |
2153 | script.Parent.Fire2.Enabled = true | |
2154 | script.Parent.Sound3:Play() | |
2155 | wait(0.2) | |
2156 | script.Parent.Fire2.Enabled = false | |
2157 | end | |
2158 | end | |
2159 | script.Parent.Touched:connect(onTouched) | |
2160 | end)) | |
2161 | Humanoid167.Parent = Model122 | |
2162 | Humanoid167.RightLeg = Part234 | |
2163 | Humanoid167.LeftLeg = Part224 | |
2164 | Humanoid167.Torso = Part140 | |
2165 | Humanoid167.Health = 1200 | |
2166 | Humanoid167.MaxHealth = 1200 | |
2167 | Script168.Name = "Auto sit" | |
2168 | Script168.Parent = Humanoid167 | |
2169 | table.insert(cors,sandbox(Script168,function() | |
2170 | while true do | |
2171 | wait(0.1) | |
2172 | script.Parent.Sit = true | |
2173 | end | |
2174 | end)) | |
2175 | Script169.Name = "When demolished, name, disable bumper, destroy cannon and print to log" | |
2176 | Script169.Parent = Humanoid167 | |
2177 | table.insert(cors,sandbox(Script169,function() | |
2178 | function Die() | |
2179 | print (script.Parent.Parent.Name.." GOT WRECKED!") | |
2180 | if script.Parent.Parent:FindFirstChild("Head") == nil then return end | |
2181 | script.Parent.Parent.Head["On contact, damage"].Disabled = true | |
2182 | script.Parent.Parent.Head["On contact, explode"].Disabled = true | |
2183 | script.Parent.Parent.Head["On contact, break stuff"].Disabled = true | |
2184 | script.Parent.Parent.Head["Bunch of scripts"]:Destroy() | |
2185 | if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end | |
2186 | script.Parent.Parent["FIRE!"]:Destroy() | |
2187 | wait(4) | |
2188 | script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <" | |
2189 | end | |
2190 | ||
2191 | script.Parent.Died:connect(Die) | |
2192 | end)) | |
2193 | Script170.Name = "When demolished, wait 3 min then remove" | |
2194 | Script170.Parent = Humanoid167 | |
2195 | table.insert(cors,sandbox(Script170,function() | |
2196 | function Die() | |
2197 | wait(180) | |
2198 | script.Parent.Parent:remove() | |
2199 | end | |
2200 | ||
2201 | script.Parent.Died:connect(Die) | |
2202 | end)) | |
2203 | Script171.Name = "When demolished, sound" | |
2204 | Script171.Parent = Humanoid167 | |
2205 | table.insert(cors,sandbox(Script171,function() | |
2206 | function Die() | |
2207 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
2208 | script.Parent.Parent.Base.Sound:Play() | |
2209 | script.Parent.Parent.Base.Sound2:Play() | |
2210 | end | |
2211 | script.Parent.Died:connect(Die) | |
2212 | end)) | |
2213 | Script172.Name = "Auto heal" | |
2214 | Script172.Parent = Humanoid167 | |
2215 | table.insert(cors,sandbox(Script172,function() | |
2216 | while true do | |
2217 | if script.Parent.Health == script.Parent.MaxHealth then return end | |
2218 | if script.Parent.Health == 0 then return end | |
2219 | script.Parent.Health = script.Parent.Health + 3 | |
2220 | wait(0.5) | |
2221 | end | |
2222 | end)) | |
2223 | Script173.Name = "When demolished, hollywood" | |
2224 | Script173.Parent = Humanoid167 | |
2225 | table.insert(cors,sandbox(Script173,function() | |
2226 | function Die() | |
2227 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
2228 | e = Instance.new("Explosion") | |
2229 | e.Parent = script.Parent.Parent | |
2230 | e.DestroyJointRadiusPercent = 1 | |
2231 | e.Position = script.Parent.Parent.Base.Position | |
2232 | e.ExplosionType = "NoCraters" | |
2233 | e.BlastRadius = 2.6 | |
2234 | e.BlastPressure = 1000000 | |
2235 | f = script.Parent.Parent.Base.Fire | |
2236 | f.Enabled = true | |
2237 | wait(0.2) | |
2238 | f.Size = f.Size - 1 | |
2239 | wait(0.2) | |
2240 | f.Size = f.Size - 1 | |
2241 | wait(0.2) | |
2242 | f.Size = f.Size - 1 | |
2243 | wait(0.2) | |
2244 | f.Size = f.Size - 1 | |
2245 | wait(0.2) | |
2246 | f.Size = f.Size - 1 | |
2247 | wait(0.2) | |
2248 | f.Size = f.Size - 1 | |
2249 | wait(0.2) | |
2250 | f.Size = f.Size - 1 | |
2251 | wait(0.2) | |
2252 | f.Size = f.Size - 1 | |
2253 | wait(0.2) | |
2254 | f.Size = f.Size - 1 | |
2255 | wait(0.2) | |
2256 | f.Size = f.Size - 1 | |
2257 | wait(0.2) | |
2258 | f.Size = f.Size - 1 | |
2259 | wait(0.2) | |
2260 | f.Size = f.Size - 1 | |
2261 | wait(0.2) | |
2262 | f.Size = f.Size - 1 | |
2263 | wait(0.2) | |
2264 | f.Size = f.Size - 1 | |
2265 | wait(0.2) | |
2266 | f.Size = f.Size - 1 | |
2267 | wait(0.2) | |
2268 | f.Size = f.Size - 1 | |
2269 | wait(0.2) | |
2270 | f.Size = f.Size - 1 | |
2271 | wait(0.2) | |
2272 | f.Size = f.Size - 1 | |
2273 | wait(0.2) | |
2274 | f.Size = f.Size - 1 | |
2275 | wait(0.2) | |
2276 | f.Size = f.Size - 1 | |
2277 | wait(0.2) | |
2278 | f.Size = f.Size - 1 | |
2279 | wait(0.2) | |
2280 | f.Size = f.Size - 1 | |
2281 | wait(0.2) | |
2282 | f.Size = f.Size - 1 | |
2283 | wait(0.2) | |
2284 | f.Size = f.Size - 1 | |
2285 | end | |
2286 | script.Parent.Died:connect(Die) | |
2287 | end)) | |
2288 | Script174.Name = "When demolished, remove the engine" | |
2289 | Script174.Parent = Humanoid167 | |
2290 | table.insert(cors,sandbox(Script174,function() | |
2291 | function Die() | |
2292 | if script.Parent.Parent:FindFirstChild("Engine") == nil then return end | |
2293 | script.Parent.Parent.Engine:Destroy() | |
2294 | end | |
2295 | script.Parent.Died:connect(Die) | |
2296 | end)) | |
2297 | Script175.Name = "When demolished, disable chair" | |
2298 | Script175.Parent = Humanoid167 | |
2299 | table.insert(cors,sandbox(Script175,function() | |
2300 | function Die() | |
2301 | if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end | |
2302 | script.Parent.Parent["Car Seat"].Disabled = true | |
2303 | end | |
2304 | ||
2305 | script.Parent.Died:connect(Die) | |
2306 | end)) | |
2307 | Script176.Name = "When demolished, hint" | |
2308 | Script176.Parent = Humanoid167 | |
2309 | table.insert(cors,sandbox(Script176,function() | |
2310 | function Die() | |
2311 | wait(2) | |
2312 | local hint = Instance.new("Hint") | |
2313 | hint.Parent = script.Parent.Parent | |
2314 | hint.Text = script.Parent.Parent.Name.." has been wrecked!" | |
2315 | wait(1) | |
2316 | hint:Destroy() | |
2317 | end | |
2318 | script.Parent.Died:connect(Die) | |
2319 | end)) | |
2320 | Script177.Name = "When demolished, remove instantly if bumper gone." | |
2321 | Script177.Parent = Humanoid167 | |
2322 | table.insert(cors,sandbox(Script177,function() | |
2323 | function Die() | |
2324 | wait(6) | |
2325 | if script.Parent.Parent:FindFirstChild("Head") == nil then | |
2326 | print ("Looks like "..script.Parent.Parent.Name.." got nil.") | |
2327 | script.Parent.Parent:Destroy() | |
2328 | elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end | |
2329 | end | |
2330 | script.Parent.Died:connect(Die) | |
2331 | end)) | |
2332 | Script178.Name = "When demolished, disable light" | |
2333 | Script178.Parent = Humanoid167 | |
2334 | table.insert(cors,sandbox(Script178,function() | |
2335 | function Die() | |
2336 | if script.Parent.Parent:FindFirstChild("Torso") == nil then return end | |
2337 | script.Parent.Parent.Torso.SpotLight.Enabled = false | |
2338 | end | |
2339 | ||
2340 | script.Parent.Died:connect(Die) | |
2341 | end)) | |
2342 | Part179.Name = "Neon Flag" | |
2343 | Part179.Parent = Model122 | |
2344 | Part179.Material = Enum.Material.Neon | |
2345 | Part179.BrickColor = BrickColor.new("Really red") | |
2346 | Part179.Rotation = Vector3.new(180, 0, 180) | |
2347 | Part179.Locked = true | |
2348 | Part179.Size = Vector3.new(1, 2, 3) | |
2349 | Part179.CFrame = CFrame.new(20.2877922, 4.71094894, 127.057922, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107) | |
2350 | Part179.BottomSurface = Enum.SurfaceType.Smooth | |
2351 | Part179.TopSurface = Enum.SurfaceType.Smooth | |
2352 | Part179.Color = Color3.new(1, 0, 0) | |
2353 | Part179.Position = Vector3.new(20.2877922, 4.71094894, 127.057922) | |
2354 | Part179.Orientation = Vector3.new(0, 180, 0) | |
2355 | Part179.Color = Color3.new(1, 0, 0) | |
2356 | Sound180.Parent = Part179 | |
2357 | Sound180.Pitch = 1.5 | |
2358 | Sound180.SoundId = "rbxassetid://356659053" | |
2359 | Sound180.Volume = 1 | |
2360 | Script181.Name = "On contact, sound" | |
2361 | Script181.Parent = Part179 | |
2362 | table.insert(cors,sandbox(Script181,function() | |
2363 | function onTouched(hit) | |
2364 | if hit.CanCollide == false then return end | |
2365 | script.Parent.Sound:Play() | |
2366 | end | |
2367 | script.Parent.Touched:connect(onTouched) | |
2368 | end)) | |
2369 | Script182.Name = "On contact, heal" | |
2370 | Script182.Parent = Part179 | |
2371 | table.insert(cors,sandbox(Script182,function() | |
2372 | function onTouched() | |
2373 | script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3 | |
2374 | end | |
2375 | script.Parent.Touched:connect(onTouched) | |
2376 | end)) | |
2377 | Sound183.Name = "Sound3" | |
2378 | Sound183.Parent = Part179 | |
2379 | Sound183.SoundId = "rbxassetid://191040613" | |
2380 | Sound183.Volume = 1 | |
2381 | Fire184.Name = "Fire2" | |
2382 | Fire184.Parent = Part179 | |
2383 | Fire184.Size = 10 | |
2384 | Fire184.Enabled = false | |
2385 | Fire184.Heat = -5 | |
2386 | Fire184.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2387 | Script185.Name = "On contact, thud" | |
2388 | Script185.Parent = Part179 | |
2389 | table.insert(cors,sandbox(Script185,function() | |
2390 | function onTouched(hit) | |
2391 | if hit.CanCollide == false then return end | |
2392 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2393 | if HitPower >= 600 then | |
2394 | script.Parent.Fire2.Enabled = true | |
2395 | script.Parent.Sound3:Play() | |
2396 | wait(0.2) | |
2397 | script.Parent.Fire2.Enabled = false | |
2398 | end | |
2399 | end | |
2400 | script.Parent.Touched:connect(onTouched) | |
2401 | end)) | |
2402 | Part186.Name = "Engine" | |
2403 | Part186.Parent = Model122 | |
2404 | Part186.Material = Enum.Material.CorrodedMetal | |
2405 | Part186.BrickColor = BrickColor.new("Maroon") | |
2406 | Part186.Locked = true | |
2407 | Part186.Size = Vector3.new(3, 2.19999981, 2) | |
2408 | Part186.CFrame = CFrame.new(20.2880192, 2.61076665, 125.557503, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006) | |
2409 | Part186.BottomSurface = Enum.SurfaceType.Smooth | |
2410 | Part186.TopSurface = Enum.SurfaceType.Smooth | |
2411 | Part186.Color = Color3.new(0.458824, 0, 0) | |
2412 | Part186.Position = Vector3.new(20.2880192, 2.61076665, 125.557503) | |
2413 | Part186.Color = Color3.new(0.458824, 0, 0) | |
2414 | Sound187.Name = "Engine" | |
2415 | Sound187.Parent = Part186 | |
2416 | Sound187.Pitch = 0.76000678539276 | |
2417 | Sound187.SoundId = "rbxassetid://130091914" | |
2418 | Sound187.Volume = 0.69999998807907 | |
2419 | Sound187.Looped = true | |
2420 | Script188.Name = "SoundScript" | |
2421 | Script188.Parent = Part186 | |
2422 | table.insert(cors,sandbox(Script188,function() | |
2423 | v = script.Parent.Parent["Car Seat"] | |
2424 | e = script.Parent.Engine | |
2425 | maxrevs = script.Parent.Advanced.MaxRevs.Value | |
2426 | minrevs = script.Parent.Advanced.MinRevs.Value | |
2427 | mod = v.MaxSpeed/130 | |
2428 | e:Play() | |
2429 | while true do | |
2430 | wait(0.1) | |
2431 | mod = v.MaxSpeed/150 | |
2432 | if v.Throttle == 1 and e.Pitch < maxrevs then | |
2433 | e.Pitch = e.Pitch + (0.09/mod) | |
2434 | end | |
2435 | if v.Throttle == 0 and e.Pitch > minrevs then | |
2436 | e.Pitch = e.Pitch - (0.17/mod) | |
2437 | end | |
2438 | if v.Throttle == -1 and e.Pitch > minrevs then | |
2439 | e.Pitch = e.Pitch - (0.22/mod) | |
2440 | end | |
2441 | end | |
2442 | end)) | |
2443 | Configuration189.Name = "Advanced" | |
2444 | Configuration189.Parent = Part186 | |
2445 | NumberValue190.Name = "EngineVolume" | |
2446 | NumberValue190.Parent = Configuration189 | |
2447 | NumberValue190.Value = 0.7 | |
2448 | NumberValue191.Name = "MaxRevs" | |
2449 | NumberValue191.Parent = Configuration189 | |
2450 | NumberValue191.Value = 1.79 | |
2451 | NumberValue192.Name = "MinRevs" | |
2452 | NumberValue192.Parent = Configuration189 | |
2453 | NumberValue192.Value = 0.9 | |
2454 | Configuration193.Parent = Part186 | |
2455 | NumberValue194.Name = "MaxSpeed" | |
2456 | NumberValue194.Parent = Configuration193 | |
2457 | NumberValue194.Value = 150 | |
2458 | Motor6D195.Parent = Part186 | |
2459 | Motor6D195.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048) | |
2460 | Motor6D195.Part0 = Part186 | |
2461 | Motor6D195.Part1 = Part179 | |
2462 | Sound196.Name = "Sound3" | |
2463 | Sound196.Parent = Part186 | |
2464 | Sound196.SoundId = "rbxassetid://191040613" | |
2465 | Sound196.Volume = 1 | |
2466 | Fire197.Name = "Fire2" | |
2467 | Fire197.Parent = Part186 | |
2468 | Fire197.Size = 10 | |
2469 | Fire197.Enabled = false | |
2470 | Fire197.Heat = -5 | |
2471 | Fire197.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2472 | Script198.Name = "On contact, thud" | |
2473 | Script198.Parent = Part186 | |
2474 | table.insert(cors,sandbox(Script198,function() | |
2475 | function onTouched(hit) | |
2476 | if hit.CanCollide == false then return end | |
2477 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2478 | if HitPower >= 600 then | |
2479 | script.Parent.Fire2.Enabled = true | |
2480 | script.Parent.Sound3:Play() | |
2481 | wait(0.2) | |
2482 | script.Parent.Fire2.Enabled = false | |
2483 | end | |
2484 | end | |
2485 | script.Parent.Touched:connect(onTouched) | |
2486 | end)) | |
2487 | ForceField199.Parent = Model122 | |
2488 | Script200.Name = "Wait 10 sec then remove" | |
2489 | Script200.Parent = ForceField199 | |
2490 | table.insert(cors,sandbox(Script200,function() | |
2491 | wait(10) | |
2492 | script.Parent:Destroy() | |
2493 | end)) | |
2494 | Part201.Name = "Wheel" | |
2495 | Part201.Parent = Model122 | |
2496 | Part201.Material = Enum.Material.Concrete | |
2497 | Part201.BrickColor = BrickColor.new("Dark stone grey") | |
2498 | Part201.Locked = true | |
2499 | Part201.Shape = Enum.PartType.Cylinder | |
2500 | Part201.Size = Vector3.new(2, 3, 3) | |
2501 | Part201.CFrame = CFrame.new(23.7879944, 1.51002204, 120.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2502 | Part201.BottomSurface = Enum.SurfaceType.Smooth | |
2503 | Part201.LeftSurface = Enum.SurfaceType.Hinge | |
2504 | Part201.TopSurface = Enum.SurfaceType.Smooth | |
2505 | Part201.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2506 | Part201.Position = Vector3.new(23.7879944, 1.51002204, 120.555038) | |
2507 | Part201.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2508 | Sound202.Name = "Sound3" | |
2509 | Sound202.Parent = Part201 | |
2510 | Sound202.SoundId = "rbxassetid://262353320" | |
2511 | Sound202.Volume = 1 | |
2512 | Fire203.Parent = Part201 | |
2513 | Fire203.Color = Color3.new(1, 1, 1) | |
2514 | Fire203.Enabled = false | |
2515 | Fire203.Heat = -3 | |
2516 | Fire203.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
2517 | Fire203.Color = Color3.new(1, 1, 1) | |
2518 | Script204.Name = "On contact, screech" | |
2519 | Script204.Parent = Part201 | |
2520 | table.insert(cors,sandbox(Script204,function() | |
2521 | function onTouched(hit) | |
2522 | if hit.CanCollide == false then return end | |
2523 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
2524 | if HitPower >= 4075 then | |
2525 | script.Parent.Fire.Enabled = true | |
2526 | script.Parent.Sound3:Play() | |
2527 | wait(0.1) | |
2528 | script.Parent.Fire.Enabled = false | |
2529 | end | |
2530 | end | |
2531 | script.Parent.Touched:connect(onTouched) | |
2532 | end)) | |
2533 | Part205.Name = "Wheel" | |
2534 | Part205.Parent = Model122 | |
2535 | Part205.Material = Enum.Material.Concrete | |
2536 | Part205.BrickColor = BrickColor.new("Dark stone grey") | |
2537 | Part205.Locked = true | |
2538 | Part205.Shape = Enum.PartType.Cylinder | |
2539 | Part205.Size = Vector3.new(2, 3, 3) | |
2540 | Part205.CFrame = CFrame.new(16.7879791, 1.51002204, 125.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2541 | Part205.BottomSurface = Enum.SurfaceType.Smooth | |
2542 | Part205.RightSurface = Enum.SurfaceType.Hinge | |
2543 | Part205.TopSurface = Enum.SurfaceType.Smooth | |
2544 | Part205.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2545 | Part205.Position = Vector3.new(16.7879791, 1.51002204, 125.555023) | |
2546 | Part205.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2547 | Sound206.Name = "Sound3" | |
2548 | Sound206.Parent = Part205 | |
2549 | Sound206.SoundId = "rbxassetid://262353320" | |
2550 | Sound206.Volume = 1 | |
2551 | Fire207.Parent = Part205 | |
2552 | Fire207.Color = Color3.new(1, 1, 1) | |
2553 | Fire207.Enabled = false | |
2554 | Fire207.Heat = -3 | |
2555 | Fire207.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
2556 | Fire207.Color = Color3.new(1, 1, 1) | |
2557 | Script208.Name = "On contact, screech" | |
2558 | Script208.Parent = Part205 | |
2559 | table.insert(cors,sandbox(Script208,function() | |
2560 | function onTouched(hit) | |
2561 | if hit.CanCollide == false then return end | |
2562 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
2563 | if HitPower >= 4075 then | |
2564 | script.Parent.Fire.Enabled = true | |
2565 | script.Parent.Sound3:Play() | |
2566 | wait(0.1) | |
2567 | script.Parent.Fire.Enabled = false | |
2568 | end | |
2569 | end | |
2570 | script.Parent.Touched:connect(onTouched) | |
2571 | end)) | |
2572 | Part209.Name = "Wheel" | |
2573 | Part209.Parent = Model122 | |
2574 | Part209.Material = Enum.Material.Concrete | |
2575 | Part209.BrickColor = BrickColor.new("Dark stone grey") | |
2576 | Part209.Locked = true | |
2577 | Part209.Shape = Enum.PartType.Cylinder | |
2578 | Part209.Size = Vector3.new(2, 3, 3) | |
2579 | Part209.CFrame = CFrame.new(23.7879791, 1.51002204, 125.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2580 | Part209.BottomSurface = Enum.SurfaceType.Smooth | |
2581 | Part209.LeftSurface = Enum.SurfaceType.Hinge | |
2582 | Part209.TopSurface = Enum.SurfaceType.Smooth | |
2583 | Part209.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2584 | Part209.Position = Vector3.new(23.7879791, 1.51002204, 125.555038) | |
2585 | Part209.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2586 | Sound210.Name = "Sound3" | |
2587 | Sound210.Parent = Part209 | |
2588 | Sound210.SoundId = "rbxassetid://262353320" | |
2589 | Sound210.Volume = 1 | |
2590 | Fire211.Parent = Part209 | |
2591 | Fire211.Color = Color3.new(1, 1, 1) | |
2592 | Fire211.Enabled = false | |
2593 | Fire211.Heat = -3 | |
2594 | Fire211.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
2595 | Fire211.Color = Color3.new(1, 1, 1) | |
2596 | Script212.Name = "On contact, screech" | |
2597 | Script212.Parent = Part209 | |
2598 | table.insert(cors,sandbox(Script212,function() | |
2599 | function onTouched(hit) | |
2600 | if hit.CanCollide == false then return end | |
2601 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
2602 | if HitPower >= 4075 then | |
2603 | script.Parent.Fire.Enabled = true | |
2604 | script.Parent.Sound3:Play() | |
2605 | wait(0.1) | |
2606 | script.Parent.Fire.Enabled = false | |
2607 | end | |
2608 | end | |
2609 | script.Parent.Touched:connect(onTouched) | |
2610 | end)) | |
2611 | Part213.Name = "Wheel" | |
2612 | Part213.Parent = Model122 | |
2613 | Part213.Material = Enum.Material.Concrete | |
2614 | Part213.BrickColor = BrickColor.new("Dark stone grey") | |
2615 | Part213.Locked = true | |
2616 | Part213.Shape = Enum.PartType.Cylinder | |
2617 | Part213.Size = Vector3.new(2, 3, 3) | |
2618 | Part213.CFrame = CFrame.new(16.7879944, 1.51002204, 120.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
2619 | Part213.BottomSurface = Enum.SurfaceType.Smooth | |
2620 | Part213.RightSurface = Enum.SurfaceType.Hinge | |
2621 | Part213.TopSurface = Enum.SurfaceType.Smooth | |
2622 | Part213.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2623 | Part213.Position = Vector3.new(16.7879944, 1.51002204, 120.555023) | |
2624 | Part213.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2625 | Sound214.Name = "Sound3" | |
2626 | Sound214.Parent = Part213 | |
2627 | Sound214.SoundId = "rbxassetid://262353320" | |
2628 | Sound214.Volume = 1 | |
2629 | Fire215.Parent = Part213 | |
2630 | Fire215.Color = Color3.new(1, 1, 1) | |
2631 | Fire215.Enabled = false | |
2632 | Fire215.Heat = -3 | |
2633 | Fire215.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
2634 | Fire215.Color = Color3.new(1, 1, 1) | |
2635 | Script216.Name = "On contact, screech" | |
2636 | Script216.Parent = Part213 | |
2637 | table.insert(cors,sandbox(Script216,function() | |
2638 | function onTouched(hit) | |
2639 | if hit.CanCollide == false then return end | |
2640 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
2641 | if HitPower >= 4075 then | |
2642 | script.Parent.Fire.Enabled = true | |
2643 | script.Parent.Sound3:Play() | |
2644 | wait(0.1) | |
2645 | script.Parent.Fire.Enabled = false | |
2646 | end | |
2647 | end | |
2648 | script.Parent.Touched:connect(onTouched) | |
2649 | end)) | |
2650 | Part217.Name = "FIRE!" | |
2651 | Part217.Parent = Model122 | |
2652 | Part217.Material = Enum.Material.DiamondPlate | |
2653 | Part217.BrickColor = BrickColor.new("Lime green") | |
2654 | Part217.Rotation = Vector3.new(0.599999964, 0, 0) | |
2655 | Part217.Locked = true | |
2656 | Part217.Size = Vector3.new(1, 1, 2) | |
2657 | Part217.CFrame = CFrame.new(20.2879047, 6.01143837, 120.551735, 1.00000167, -2.9046987e-10, 5.00222086e-12, -2.90524771e-10, 0.999945164, -0.0104717826, 2.27373675e-12, 0.0104717938, 0.999946117) | |
2658 | Part217.BottomSurface = Enum.SurfaceType.Smooth | |
2659 | Part217.TopSurface = Enum.SurfaceType.Smooth | |
2660 | Part217.Color = Color3.new(0, 1, 0) | |
2661 | Part217.Position = Vector3.new(20.2879047, 6.01143837, 120.551735) | |
2662 | Part217.Orientation = Vector3.new(0.599999964, 0, 0) | |
2663 | Part217.Color = Color3.new(0, 1, 0) | |
2664 | Script218.Name = "Fire" | |
2665 | Script218.Parent = Part217 | |
2666 | table.insert(cors,sandbox(Script218,function() | |
2667 | local Colour = script.Parent.Parent.Base.BrickColor | |
2668 | function Clicked() | |
2669 | script.Parent.Sound3:Play() | |
2670 | local Ammo = Instance.new("Part") | |
2671 | Ammo.BrickColor = Colour | |
2672 | Ammo.Material = "Neon" | |
2673 | Ammo.Parent = game.Workspace | |
2674 | Ammo.Velocity = script.Parent.CFrame.lookVector * 1200 | |
2675 | Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6) | |
2676 | Ammo.Size = Vector3.new(3,3,3) | |
2677 | Ammo.Shape = "Ball" | |
2678 | Ammo.Name = script.Parent.Parent.Name.."'s cannonball" | |
2679 | Ammo.TopSurface = "Smooth" | |
2680 | Ammo.BottomSurface = "Smooth" | |
2681 | local explosive = script["On contact, explode"]:Clone() | |
2682 | explosive.Parent = Ammo | |
2683 | explosive.Disabled = false | |
2684 | local damager = script["Hint if humanoid hit and damage"]:Clone() | |
2685 | damager.Parent = Ammo | |
2686 | damager.Disabled = false | |
2687 | local sound = script.Sound:Clone() | |
2688 | sound.Parent = Ammo | |
2689 | script.Parent.BrickColor = BrickColor.new("Really red") | |
2690 | script.Disabled = true | |
2691 | wait(1) | |
2692 | script.Parent.BrickColor = BrickColor.new("New Yeller") | |
2693 | wait(1) | |
2694 | script.Parent.BrickColor = BrickColor.new("Lime green") | |
2695 | script.Disabled = false | |
2696 | end | |
2697 | script.Parent.ClickDetector.MouseClick:connect(Clicked) | |
2698 | end)) | |
2699 | Script219.Name = "On contact, explode" | |
2700 | Script219.Parent = Script218 | |
2701 | Script219.Disabled = true | |
2702 | table.insert(cors,sandbox(Script219,function() | |
2703 | function onTouched(hit) | |
2704 | if hit == nil then return end | |
2705 | if hit.CanCollide == false then return end | |
2706 | script.Parent.Anchored = true | |
2707 | wait(0) | |
2708 | local BOOM = Instance.new("Explosion") | |
2709 | BOOM.Parent = game.Workspace | |
2710 | BOOM.Position = script.Parent.Position | |
2711 | BOOM.BlastRadius = 10 | |
2712 | script.Parent.Sound:Play() | |
2713 | script.Disabled = true | |
2714 | script.Parent.CanCollide = false | |
2715 | script.Parent.Transparency = 1 | |
2716 | wait(2) | |
2717 | script.Parent:Destroy() | |
2718 | end | |
2719 | script.Parent.Touched:connect(onTouched) | |
2720 | end)) | |
2721 | Sound220.Parent = Script218 | |
2722 | Sound220.Pitch = 1.2000000476837 | |
2723 | Sound220.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
2724 | Sound220.Volume = 1 | |
2725 | Script221.Name = "Hint if humanoid hit and damage" | |
2726 | Script221.Parent = Script218 | |
2727 | Script221.Disabled = true | |
2728 | table.insert(cors,sandbox(Script221,function() | |
2729 | function onTouched(hit) | |
2730 | if hit == nil then script.Disabled = true return end | |
2731 | if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end | |
2732 | local damage = math.random(500,5000) | |
2733 | hit.Parent.Humanoid:TakeDamage(damage) | |
2734 | local hint = Instance.new("Hint") | |
2735 | hint.Text = script.Parent.Name.." hit "..hit.Parent.Name.." with "..damage.." damage with an explosion!" | |
2736 | hint.Parent = script | |
2737 | script.Disabled = true | |
2738 | end | |
2739 | script.Parent.Touched:connect(onTouched) | |
2740 | end)) | |
2741 | ClickDetector222.Parent = Part217 | |
2742 | ClickDetector222.MaxActivationDistance = 4 | |
2743 | Sound223.Name = "Sound3" | |
2744 | Sound223.Parent = Part217 | |
2745 | Sound223.SoundId = "rbxassetid://191040613" | |
2746 | Sound223.Volume = 1 | |
2747 | Part224.Name = "Left Leg" | |
2748 | Part224.Parent = Model122 | |
2749 | Part224.Material = Enum.Material.DiamondPlate | |
2750 | Part224.BrickColor = BrickColor.new("Dark stone grey") | |
2751 | Part224.Locked = true | |
2752 | Part224.Size = Vector3.new(1, 1, 3) | |
2753 | Part224.CFrame = CFrame.new(18.2878189, 3.01003599, 127.055313, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036) | |
2754 | Part224.BottomSurface = Enum.SurfaceType.Smooth | |
2755 | Part224.TopSurface = Enum.SurfaceType.Smooth | |
2756 | Part224.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2757 | Part224.Position = Vector3.new(18.2878189, 3.01003599, 127.055313) | |
2758 | Part224.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2759 | Sound225.Name = "Sound3" | |
2760 | Sound225.Parent = Part224 | |
2761 | Sound225.SoundId = "rbxassetid://191040613" | |
2762 | Sound225.Volume = 1 | |
2763 | Script226.Name = "On contact, thud" | |
2764 | Script226.Parent = Part224 | |
2765 | table.insert(cors,sandbox(Script226,function() | |
2766 | function onTouched(hit) | |
2767 | if hit.CanCollide == false then return end | |
2768 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2769 | if HitPower >= 600 then | |
2770 | script.Parent.Fire2.Enabled = true | |
2771 | script.Parent.Sound3:Play() | |
2772 | wait(0.2) | |
2773 | script.Parent.Fire2.Enabled = false | |
2774 | end | |
2775 | end | |
2776 | script.Parent.Touched:connect(onTouched) | |
2777 | end)) | |
2778 | ParticleEmitter227.Parent = Part224 | |
2779 | ParticleEmitter227.Transparency = NumberSequence.new(0,0,1) | |
2780 | ParticleEmitter227.Size = NumberSequence.new(0,1.9999998807907) | |
2781 | ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2782 | ParticleEmitter227.Acceleration = Vector3.new(0, 1, 0) | |
2783 | ParticleEmitter227.Lifetime = NumberRange.new(0.5, 2.5) | |
2784 | ParticleEmitter227.Rate = 10 | |
2785 | ParticleEmitter227.RotSpeed = NumberRange.new(0, 30) | |
2786 | ParticleEmitter227.Speed = NumberRange.new(-3, -3) | |
2787 | ParticleEmitter227.VelocitySpread = 5 | |
2788 | ParticleEmitter227.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2789 | Fire228.Name = "Fire2" | |
2790 | Fire228.Parent = Part224 | |
2791 | Fire228.Size = 10 | |
2792 | Fire228.Enabled = false | |
2793 | Fire228.Heat = -5 | |
2794 | Fire228.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2795 | Part229.Name = "Left Arm" | |
2796 | Part229.Parent = Model122 | |
2797 | Part229.Material = Enum.Material.DiamondPlate | |
2798 | Part229.BrickColor = BrickColor.new("Dark stone grey") | |
2799 | Part229.Locked = true | |
2800 | Part229.Size = Vector3.new(1, 1, 3) | |
2801 | Part229.CFrame = CFrame.new(18.287838, 2.01003742, 126.055252, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036) | |
2802 | Part229.BottomSurface = Enum.SurfaceType.Smooth | |
2803 | Part229.TopSurface = Enum.SurfaceType.Smooth | |
2804 | Part229.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2805 | Part229.Position = Vector3.new(18.287838, 2.01003742, 126.055252) | |
2806 | Part229.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2807 | Sound230.Name = "Sound3" | |
2808 | Sound230.Parent = Part229 | |
2809 | Sound230.SoundId = "rbxassetid://191040613" | |
2810 | Sound230.Volume = 1 | |
2811 | Script231.Name = "On contact, thud" | |
2812 | Script231.Parent = Part229 | |
2813 | table.insert(cors,sandbox(Script231,function() | |
2814 | function onTouched(hit) | |
2815 | if hit.CanCollide == false then return end | |
2816 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2817 | if HitPower >= 600 then | |
2818 | script.Parent.Fire2.Enabled = true | |
2819 | script.Parent.Sound3:Play() | |
2820 | wait(0.2) | |
2821 | script.Parent.Fire2.Enabled = false | |
2822 | end | |
2823 | end | |
2824 | script.Parent.Touched:connect(onTouched) | |
2825 | end)) | |
2826 | ParticleEmitter232.Parent = Part229 | |
2827 | ParticleEmitter232.Transparency = NumberSequence.new(0,0,1) | |
2828 | ParticleEmitter232.Size = NumberSequence.new(0,1.9999998807907) | |
2829 | ParticleEmitter232.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2830 | ParticleEmitter232.Acceleration = Vector3.new(0, 1, 0) | |
2831 | ParticleEmitter232.Lifetime = NumberRange.new(0.5, 2.5) | |
2832 | ParticleEmitter232.Rate = 10 | |
2833 | ParticleEmitter232.RotSpeed = NumberRange.new(0, 30) | |
2834 | ParticleEmitter232.Speed = NumberRange.new(-3, -3) | |
2835 | ParticleEmitter232.VelocitySpread = 5 | |
2836 | ParticleEmitter232.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2837 | Fire233.Name = "Fire2" | |
2838 | Fire233.Parent = Part229 | |
2839 | Fire233.Size = 10 | |
2840 | Fire233.Enabled = false | |
2841 | Fire233.Heat = -5 | |
2842 | Fire233.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2843 | Part234.Name = "Right Leg" | |
2844 | Part234.Parent = Model122 | |
2845 | Part234.Material = Enum.Material.DiamondPlate | |
2846 | Part234.BrickColor = BrickColor.new("Dark stone grey") | |
2847 | Part234.Locked = true | |
2848 | Part234.Size = Vector3.new(1, 1, 3) | |
2849 | Part234.CFrame = CFrame.new(22.288168, 3.01003408, 127.055382, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036) | |
2850 | Part234.BottomSurface = Enum.SurfaceType.Smooth | |
2851 | Part234.TopSurface = Enum.SurfaceType.Smooth | |
2852 | Part234.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2853 | Part234.Position = Vector3.new(22.288168, 3.01003408, 127.055382) | |
2854 | Part234.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2855 | Sound235.Name = "Sound3" | |
2856 | Sound235.Parent = Part234 | |
2857 | Sound235.SoundId = "rbxassetid://191040613" | |
2858 | Sound235.Volume = 1 | |
2859 | Script236.Name = "On contact, thud" | |
2860 | Script236.Parent = Part234 | |
2861 | table.insert(cors,sandbox(Script236,function() | |
2862 | function onTouched(hit) | |
2863 | if hit.CanCollide == false then return end | |
2864 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2865 | if HitPower >= 600 then | |
2866 | script.Parent.Fire2.Enabled = true | |
2867 | script.Parent.Sound3:Play() | |
2868 | wait(0.2) | |
2869 | script.Parent.Fire2.Enabled = false | |
2870 | end | |
2871 | end | |
2872 | script.Parent.Touched:connect(onTouched) | |
2873 | end)) | |
2874 | ParticleEmitter237.Parent = Part234 | |
2875 | ParticleEmitter237.Transparency = NumberSequence.new(0,0,1) | |
2876 | ParticleEmitter237.Size = NumberSequence.new(0,1.9999998807907) | |
2877 | ParticleEmitter237.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2878 | ParticleEmitter237.Acceleration = Vector3.new(0, 1, 0) | |
2879 | ParticleEmitter237.Lifetime = NumberRange.new(0.5, 2.5) | |
2880 | ParticleEmitter237.Rate = 10 | |
2881 | ParticleEmitter237.RotSpeed = NumberRange.new(0, 30) | |
2882 | ParticleEmitter237.Speed = NumberRange.new(-3, -3) | |
2883 | ParticleEmitter237.VelocitySpread = 5 | |
2884 | ParticleEmitter237.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2885 | Fire238.Name = "Fire2" | |
2886 | Fire238.Parent = Part234 | |
2887 | Fire238.Size = 10 | |
2888 | Fire238.Enabled = false | |
2889 | Fire238.Heat = -5 | |
2890 | Fire238.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2891 | Part239.Name = "Right Arm" | |
2892 | Part239.Parent = Model122 | |
2893 | Part239.Material = Enum.Material.DiamondPlate | |
2894 | Part239.BrickColor = BrickColor.new("Dark stone grey") | |
2895 | Part239.Locked = true | |
2896 | Part239.Size = Vector3.new(1, 1, 3) | |
2897 | Part239.CFrame = CFrame.new(22.2881374, 2.01003742, 126.055305, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036) | |
2898 | Part239.BottomSurface = Enum.SurfaceType.Smooth | |
2899 | Part239.TopSurface = Enum.SurfaceType.Smooth | |
2900 | Part239.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2901 | Part239.Position = Vector3.new(22.2881374, 2.01003742, 126.055305) | |
2902 | Part239.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
2903 | Sound240.Name = "Sound3" | |
2904 | Sound240.Parent = Part239 | |
2905 | Sound240.SoundId = "rbxassetid://191040613" | |
2906 | Sound240.Volume = 1 | |
2907 | Script241.Name = "On contact, thud" | |
2908 | Script241.Parent = Part239 | |
2909 | table.insert(cors,sandbox(Script241,function() | |
2910 | function onTouched(hit) | |
2911 | if hit.CanCollide == false then return end | |
2912 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
2913 | if HitPower >= 600 then | |
2914 | script.Parent.Fire2.Enabled = true | |
2915 | script.Parent.Sound3:Play() | |
2916 | wait(0.2) | |
2917 | script.Parent.Fire2.Enabled = false | |
2918 | end | |
2919 | end | |
2920 | script.Parent.Touched:connect(onTouched) | |
2921 | end)) | |
2922 | ParticleEmitter242.Parent = Part239 | |
2923 | ParticleEmitter242.Transparency = NumberSequence.new(0,0,1) | |
2924 | ParticleEmitter242.Size = NumberSequence.new(0,1.9999998807907) | |
2925 | ParticleEmitter242.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2926 | ParticleEmitter242.Acceleration = Vector3.new(0, 1, 0) | |
2927 | ParticleEmitter242.Lifetime = NumberRange.new(0.5, 2.5) | |
2928 | ParticleEmitter242.Rate = 10 | |
2929 | ParticleEmitter242.RotSpeed = NumberRange.new(0, 30) | |
2930 | ParticleEmitter242.Speed = NumberRange.new(-3, -3) | |
2931 | ParticleEmitter242.VelocitySpread = 5 | |
2932 | ParticleEmitter242.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
2933 | Fire243.Name = "Fire2" | |
2934 | Fire243.Parent = Part239 | |
2935 | Fire243.Size = 10 | |
2936 | Fire243.Enabled = false | |
2937 | Fire243.Heat = -5 | |
2938 | Fire243.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2939 | Model244.Name = "Car 2" | |
2940 | Model244.Parent = mas | |
2941 | Model244.PrimaryPart = Part245 | |
2942 | Part245.Name = "Base" | |
2943 | Part245.Parent = Model244 | |
2944 | Part245.Material = Enum.Material.DiamondPlate | |
2945 | Part245.BrickColor = BrickColor.new("Really blue") | |
2946 | Part245.Locked = true | |
2947 | Part245.Size = Vector3.new(5, 1, 5) | |
2948 | Part245.CFrame = CFrame.new(30.2879829, 1.01002085, 123.055122, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036) | |
2949 | Part245.BottomSurface = Enum.SurfaceType.Smooth | |
2950 | Part245.TopSurface = Enum.SurfaceType.Smooth | |
2951 | Part245.Color = Color3.new(0, 0, 1) | |
2952 | Part245.Position = Vector3.new(30.2879829, 1.01002085, 123.055122) | |
2953 | Part245.Color = Color3.new(0, 0, 1) | |
2954 | Sound246.Parent = Part245 | |
2955 | Sound246.Pitch = 1.2000000476837 | |
2956 | Sound246.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
2957 | Sound246.Volume = 1 | |
2958 | Fire247.Parent = Part245 | |
2959 | Fire247.Size = 30 | |
2960 | Fire247.Enabled = false | |
2961 | Fire247.Heat = 25 | |
2962 | Fire247.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2963 | Sound248.Name = "Sound2" | |
2964 | Sound248.Parent = Part245 | |
2965 | Sound248.Pitch = 0.60000002384186 | |
2966 | Sound248.SoundId = "rbxassetid://138185473 " | |
2967 | Sound248.Volume = 1 | |
2968 | Sound248.Looped = true | |
2969 | BodyGyro249.Parent = Part245 | |
2970 | BodyGyro249.maxTorque = Vector3.new(0, 0, 0) | |
2971 | BodyGyro249.MaxTorque = Vector3.new(0, 0, 0) | |
2972 | Motor6D250.Parent = Part245 | |
2973 | Motor6D250.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024) | |
2974 | Motor6D250.Part0 = Part245 | |
2975 | Motor6D250.Part1 = Part308 | |
2976 | Motor6D251.Parent = Part245 | |
2977 | Motor6D251.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012) | |
2978 | Motor6D251.Part0 = Part245 | |
2979 | Motor6D251.Part1 = Part262 | |
2980 | Motor6D252.Parent = Part245 | |
2981 | Motor6D252.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036) | |
2982 | Motor6D252.Part0 = Part245 | |
2983 | Motor6D252.Part1 = VehicleSeat260 | |
2984 | Sound253.Name = "Sound3" | |
2985 | Sound253.Parent = Part245 | |
2986 | Sound253.SoundId = "rbxassetid://191040613" | |
2987 | Sound253.Volume = 1 | |
2988 | Fire254.Name = "Fire2" | |
2989 | Fire254.Parent = Part245 | |
2990 | Fire254.Size = 10 | |
2991 | Fire254.Enabled = false | |
2992 | Fire254.Heat = -5 | |
2993 | Fire254.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
2994 | Script255.Name = "On contact, thud" | |
2995 | Script255.Parent = Part245 | |
2996 | table.insert(cors,sandbox(Script255,function() | |
2997 | function onTouched(hit) | |
2998 | if hit.CanCollide == false then return end | |
2999 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3000 | if HitPower >= 600 then | |
3001 | script.Parent.Fire2.Enabled = true | |
3002 | script.Parent.Sound3:Play() | |
3003 | wait(0.2) | |
3004 | script.Parent.Fire2.Enabled = false | |
3005 | end | |
3006 | end | |
3007 | script.Parent.Touched:connect(onTouched) | |
3008 | end)) | |
3009 | Motor6D256.Parent = Part245 | |
3010 | Motor6D256.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1) | |
3011 | Motor6D256.Part0 = Part245 | |
3012 | Motor6D256.Part1 = Part361 | |
3013 | Motor6D257.Parent = Part245 | |
3014 | Motor6D257.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1) | |
3015 | Motor6D257.Part0 = Part245 | |
3016 | Motor6D257.Part1 = Part356 | |
3017 | Motor6D258.Parent = Part245 | |
3018 | Motor6D258.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1) | |
3019 | Motor6D258.Part0 = Part245 | |
3020 | Motor6D258.Part1 = Part351 | |
3021 | Motor6D259.Parent = Part245 | |
3022 | Motor6D259.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1) | |
3023 | Motor6D259.Part0 = Part245 | |
3024 | Motor6D259.Part1 = Part346 | |
3025 | VehicleSeat260.Name = "Car Seat" | |
3026 | VehicleSeat260.Parent = Model244 | |
3027 | VehicleSeat260.Material = Enum.Material.Fabric | |
3028 | VehicleSeat260.BrickColor = BrickColor.new("Black") | |
3029 | VehicleSeat260.Locked = true | |
3030 | VehicleSeat260.Size = Vector3.new(3, 1, 3) | |
3031 | VehicleSeat260.CFrame = CFrame.new(30.2880402, 2.01036406, 123.054855, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1) | |
3032 | VehicleSeat260.BottomSurface = Enum.SurfaceType.Smooth | |
3033 | VehicleSeat260.TopSurface = Enum.SurfaceType.Smooth | |
3034 | VehicleSeat260.MaxSpeed = 150 | |
3035 | VehicleSeat260.Torque = 12.5 | |
3036 | VehicleSeat260.TurnSpeed = 2.5999999046326 | |
3037 | VehicleSeat260.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
3038 | VehicleSeat260.Position = Vector3.new(30.2880402, 2.01036406, 123.054855) | |
3039 | VehicleSeat260.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
3040 | Motor6D261.Parent = VehicleSeat260 | |
3041 | Motor6D261.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012) | |
3042 | Motor6D261.Part0 = VehicleSeat260 | |
3043 | Motor6D261.Part1 = Part272 | |
3044 | Part262.Name = "Torso" | |
3045 | Part262.Parent = Model244 | |
3046 | Part262.Material = Enum.Material.DiamondPlate | |
3047 | Part262.BrickColor = BrickColor.new("Navy blue") | |
3048 | Part262.Locked = true | |
3049 | Part262.Size = Vector3.new(5, 2, 2) | |
3050 | Part262.CFrame = CFrame.new(30.2879124, 2.51142311, 120.551735, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048) | |
3051 | Part262.BottomSurface = Enum.SurfaceType.Smooth | |
3052 | Part262.TopSurface = Enum.SurfaceType.Smooth | |
3053 | Part262.Color = Color3.new(0, 0.12549, 0.376471) | |
3054 | Part262.Position = Vector3.new(30.2879124, 2.51142311, 120.551735) | |
3055 | Part262.Color = Color3.new(0, 0.12549, 0.376471) | |
3056 | ClickDetector263.Parent = Part262 | |
3057 | ClickDetector263.MaxActivationDistance = 4 | |
3058 | Script264.Name = "Flip when clicked" | |
3059 | Script264.Parent = Part262 | |
3060 | table.insert(cors,sandbox(Script264,function() | |
3061 | debounce = false | |
3062 | function onClicked() | |
3063 | if script.Value.Value == false then | |
3064 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
3065 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000) | |
3066 | script.Value.Value = true | |
3067 | script.Parent.Material = "Neon" | |
3068 | elseif script.Value.Value == true then | |
3069 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
3070 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0) | |
3071 | script.Value.Value = false | |
3072 | script.Parent.Material = "DiamondPlate" | |
3073 | end | |
3074 | end | |
3075 | script.Parent.ClickDetector.MouseClick:connect(onClicked) | |
3076 | end)) | |
3077 | BoolValue265.Parent = Script264 | |
3078 | Motor6D266.Parent = Part262 | |
3079 | Motor6D266.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036) | |
3080 | Motor6D266.Part0 = Part262 | |
3081 | Motor6D266.Part1 = Part273 | |
3082 | Sound267.Name = "Sound3" | |
3083 | Sound267.Parent = Part262 | |
3084 | Sound267.SoundId = "rbxassetid://191040613" | |
3085 | Sound267.Volume = 1 | |
3086 | Fire268.Name = "Fire2" | |
3087 | Fire268.Parent = Part262 | |
3088 | Fire268.Size = 10 | |
3089 | Fire268.Enabled = false | |
3090 | Fire268.Heat = -5 | |
3091 | Fire268.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3092 | Script269.Name = "On contact, thud" | |
3093 | Script269.Parent = Part262 | |
3094 | table.insert(cors,sandbox(Script269,function() | |
3095 | function onTouched(hit) | |
3096 | if hit.CanCollide == false then return end | |
3097 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3098 | if HitPower >= 600 then | |
3099 | script.Parent.Fire2.Enabled = true | |
3100 | script.Parent.Sound3:Play() | |
3101 | wait(0.2) | |
3102 | script.Parent.Fire2.Enabled = false | |
3103 | end | |
3104 | end | |
3105 | script.Parent.Touched:connect(onTouched) | |
3106 | end)) | |
3107 | SpotLight270.Parent = Part262 | |
3108 | SpotLight270.Color = Color3.new(0, 0, 1) | |
3109 | SpotLight270.Brightness = 60 | |
3110 | SpotLight270.Range = 60 | |
3111 | SpotLight270.Shadows = true | |
3112 | SpotLight270.Color = Color3.new(0, 0, 1) | |
3113 | Motor6D271.Parent = Part262 | |
3114 | Motor6D271.C1 = CFrame.new(7.56978989e-06, -3.49980855, 0.0366503, 1.00000083, -6.66775577e-08, -6.9738403e-06, 1.39410474e-07, 0.999945164, 0.0104715852, 6.97276209e-06, -0.0104715796, 0.999945641) | |
3115 | Motor6D271.Part0 = Part262 | |
3116 | Motor6D271.Part1 = Part339 | |
3117 | Part272.Name = "Backrest" | |
3118 | Part272.Parent = Model244 | |
3119 | Part272.Material = Enum.Material.Fabric | |
3120 | Part272.BrickColor = BrickColor.new("Really blue") | |
3121 | Part272.Locked = true | |
3122 | Part272.Size = Vector3.new(3, 2, 1) | |
3123 | Part272.CFrame = CFrame.new(30.2881622, 3.51225948, 124.055931, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012) | |
3124 | Part272.BottomSurface = Enum.SurfaceType.Smooth | |
3125 | Part272.TopSurface = Enum.SurfaceType.Smooth | |
3126 | Part272.Color = Color3.new(0, 0, 1) | |
3127 | Part272.Position = Vector3.new(30.2881622, 3.51225948, 124.055931) | |
3128 | Part272.Color = Color3.new(0, 0, 1) | |
3129 | Part273.Name = "Head" | |
3130 | Part273.Parent = Model244 | |
3131 | Part273.Material = Enum.Material.CorrodedMetal | |
3132 | Part273.BrickColor = BrickColor.new("Really blue") | |
3133 | Part273.Locked = true | |
3134 | Part273.Size = Vector3.new(3, 3, 2) | |
3135 | Part273.CFrame = CFrame.new(30.2878685, 3.01118731, 118.551369, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083) | |
3136 | Part273.BottomSurface = Enum.SurfaceType.Smooth | |
3137 | Part273.TopSurface = Enum.SurfaceType.Smooth | |
3138 | Part273.Color = Color3.new(0, 0, 1) | |
3139 | Part273.Position = Vector3.new(30.2878685, 3.01118731, 118.551369) | |
3140 | Part273.Color = Color3.new(0, 0, 1) | |
3141 | Script274.Name = "On contact, damage" | |
3142 | Script274.Parent = Part273 | |
3143 | table.insert(cors,sandbox(Script274,function() | |
3144 | function onTouched(hit) | |
3145 | if hit.Parent == nil then return end | |
3146 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3147 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3148 | if HitPower <= 150 then return end | |
3149 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower) | |
3150 | end | |
3151 | script.Parent.Touched:connect(onTouched) | |
3152 | end)) | |
3153 | Sound275.Parent = Part273 | |
3154 | Sound275.SoundId = "rbxassetid://356659053" | |
3155 | Sound275.Volume = 1 | |
3156 | Script276.Name = "On contact, clang" | |
3157 | Script276.Parent = Part273 | |
3158 | table.insert(cors,sandbox(Script276,function() | |
3159 | function onTouched(hit) | |
3160 | if hit.CanCollide == false then return end | |
3161 | script.Parent.Sound:Play() | |
3162 | end | |
3163 | script.Parent.Touched:connect(onTouched) | |
3164 | end)) | |
3165 | Script277.Name = "On contact, explode" | |
3166 | Script277.Parent = Part273 | |
3167 | table.insert(cors,sandbox(Script277,function() | |
3168 | function onTouched(hit) | |
3169 | if hit.CanCollide == false then return end | |
3170 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3171 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3172 | if HitPower >= 1200 then | |
3173 | local BANG = Instance.new("Explosion") | |
3174 | BANG.Position = script.Parent.Position | |
3175 | BANG.DestroyJointRadiusPercent = 0 | |
3176 | BANG.Parent = script.Parent | |
3177 | script.Parent.Sound2:Play() | |
3178 | print "# SUPREME SLAM #" | |
3179 | end | |
3180 | end | |
3181 | script.Parent.Touched:connect(onTouched) | |
3182 | end)) | |
3183 | Sound278.Name = "Sound2" | |
3184 | Sound278.Parent = Part273 | |
3185 | Sound278.SoundId = "rbxassetid://168485325" | |
3186 | Sound278.Volume = 1 | |
3187 | Model279.Name = "Bunch of scripts" | |
3188 | Model279.Parent = Part273 | |
3189 | Script280.Name = "On contact, hint 151-299 dmg" | |
3190 | Script280.Parent = Model279 | |
3191 | table.insert(cors,sandbox(Script280,function() | |
3192 | function onTouched(hit) | |
3193 | if hit.Parent == nil then return end | |
3194 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3195 | if hit.Parent.Humanoid.Health == 0 then return end | |
3196 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
3197 | if HitPower >= 151 and HitPower <= 299 then | |
3198 | local hint = Instance.new("Hint") | |
3199 | hint.Parent = script | |
3200 | hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."." | |
3201 | wait(2) | |
3202 | hint:Destroy() | |
3203 | else return end | |
3204 | end | |
3205 | script.Parent.Parent.Touched:connect(onTouched) | |
3206 | end)) | |
3207 | Script281.Name = "On contact, hint 300-599 dmg" | |
3208 | Script281.Parent = Model279 | |
3209 | table.insert(cors,sandbox(Script281,function() | |
3210 | function onTouched(hit) | |
3211 | if hit.Parent == nil then return end | |
3212 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3213 | if hit.Parent.Humanoid.Health == 0 then return end | |
3214 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
3215 | if HitPower >= 300 and HitPower <= 599 then | |
3216 | local hint = Instance.new("Hint") | |
3217 | hint.Parent = script | |
3218 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."." | |
3219 | wait(2) | |
3220 | hint:Destroy() | |
3221 | else return end | |
3222 | end | |
3223 | script.Parent.Parent.Touched:connect(onTouched) | |
3224 | end)) | |
3225 | Script282.Name = "On contact, hint 600-899 dmg" | |
3226 | Script282.Parent = Model279 | |
3227 | table.insert(cors,sandbox(Script282,function() | |
3228 | function onTouched(hit) | |
3229 | if hit.Parent == nil then return end | |
3230 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3231 | if hit.Parent.Humanoid.Health == 0 then return end | |
3232 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
3233 | if HitPower >= 600 and HitPower <= 899 then | |
3234 | local hint = Instance.new("Hint") | |
3235 | hint.Parent = script | |
3236 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."." | |
3237 | wait(2) | |
3238 | hint:Destroy() | |
3239 | else return end | |
3240 | end | |
3241 | script.Parent.Parent.Touched:connect(onTouched) | |
3242 | end)) | |
3243 | Script283.Name = "On contact, hint 900-1199 dmg" | |
3244 | Script283.Parent = Model279 | |
3245 | table.insert(cors,sandbox(Script283,function() | |
3246 | function onTouched(hit) | |
3247 | if hit.Parent == nil then return end | |
3248 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3249 | if hit.Parent.Humanoid.Health == 0 then return end | |
3250 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
3251 | if HitPower >= 900 and HitPower <= 1199 then | |
3252 | local hint = Instance.new("Hint") | |
3253 | hint.Parent = script | |
3254 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."." | |
3255 | wait(2) | |
3256 | hint:Destroy() | |
3257 | else return end | |
3258 | end | |
3259 | script.Parent.Parent.Touched:connect(onTouched) | |
3260 | end)) | |
3261 | Script284.Name = "On contact, hint 1200 or greater dmg" | |
3262 | Script284.Parent = Model279 | |
3263 | table.insert(cors,sandbox(Script284,function() | |
3264 | function onTouched(hit) | |
3265 | if hit.Parent == nil then return end | |
3266 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
3267 | if hit.Parent.Humanoid.Health == 0 then return end | |
3268 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
3269 | if HitPower >= 1200 then | |
3270 | local hint = Instance.new("Hint") | |
3271 | hint.Parent = script | |
3272 | hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!" | |
3273 | wait(2) | |
3274 | hint:Destroy() | |
3275 | else return end | |
3276 | end | |
3277 | script.Parent.Parent.Touched:connect(onTouched) | |
3278 | end)) | |
3279 | Sound285.Name = "Sound3" | |
3280 | Sound285.Parent = Part273 | |
3281 | Sound285.SoundId = "rbxassetid://191040613" | |
3282 | Sound285.Volume = 1 | |
3283 | Script286.Name = "On contact, break stuff" | |
3284 | Script286.Parent = Part273 | |
3285 | table.insert(cors,sandbox(Script286,function() | |
3286 | function onTouched(hit) | |
3287 | if hit.Parent == nil then return end | |
3288 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end | |
3289 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3290 | if HitPower >= 400 then hit:BreakJoints() | |
3291 | end | |
3292 | end | |
3293 | script.Parent.Touched:connect(onTouched) | |
3294 | end)) | |
3295 | Fire287.Name = "Fire2" | |
3296 | Fire287.Parent = Part273 | |
3297 | Fire287.Size = 10 | |
3298 | Fire287.Enabled = false | |
3299 | Fire287.Heat = -5 | |
3300 | Fire287.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3301 | Script288.Name = "On contact, thud" | |
3302 | Script288.Parent = Part273 | |
3303 | table.insert(cors,sandbox(Script288,function() | |
3304 | function onTouched(hit) | |
3305 | if hit.CanCollide == false then return end | |
3306 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3307 | if HitPower >= 600 then | |
3308 | script.Parent.Fire2.Enabled = true | |
3309 | script.Parent.Sound3:Play() | |
3310 | wait(0.2) | |
3311 | script.Parent.Fire2.Enabled = false | |
3312 | end | |
3313 | end | |
3314 | script.Parent.Touched:connect(onTouched) | |
3315 | end)) | |
3316 | Humanoid289.Parent = Model244 | |
3317 | Humanoid289.RightLeg = Part356 | |
3318 | Humanoid289.LeftLeg = Part346 | |
3319 | Humanoid289.Torso = Part262 | |
3320 | Humanoid289.Health = 1200 | |
3321 | Humanoid289.MaxHealth = 1200 | |
3322 | Script290.Name = "Auto sit" | |
3323 | Script290.Parent = Humanoid289 | |
3324 | table.insert(cors,sandbox(Script290,function() | |
3325 | while true do | |
3326 | wait(0.1) | |
3327 | script.Parent.Sit = true | |
3328 | end | |
3329 | end)) | |
3330 | Script291.Name = "When demolished, name, disable bumper, destroy cannon and print to log" | |
3331 | Script291.Parent = Humanoid289 | |
3332 | table.insert(cors,sandbox(Script291,function() | |
3333 | function Die() | |
3334 | print (script.Parent.Parent.Name.." GOT WRECKED!") | |
3335 | if script.Parent.Parent:FindFirstChild("Head") == nil then return end | |
3336 | script.Parent.Parent.Head["On contact, damage"].Disabled = true | |
3337 | script.Parent.Parent.Head["On contact, explode"].Disabled = true | |
3338 | script.Parent.Parent.Head["On contact, break stuff"].Disabled = true | |
3339 | script.Parent.Parent.Head["Bunch of scripts"]:Destroy() | |
3340 | if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end | |
3341 | script.Parent.Parent["FIRE!"]:Destroy() | |
3342 | wait(4) | |
3343 | script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <" | |
3344 | end | |
3345 | ||
3346 | script.Parent.Died:connect(Die) | |
3347 | end)) | |
3348 | Script292.Name = "When demolished, wait 3 min then remove" | |
3349 | Script292.Parent = Humanoid289 | |
3350 | table.insert(cors,sandbox(Script292,function() | |
3351 | function Die() | |
3352 | wait(180) | |
3353 | script.Parent.Parent:remove() | |
3354 | end | |
3355 | ||
3356 | script.Parent.Died:connect(Die) | |
3357 | end)) | |
3358 | Script293.Name = "When demolished, sound" | |
3359 | Script293.Parent = Humanoid289 | |
3360 | table.insert(cors,sandbox(Script293,function() | |
3361 | function Die() | |
3362 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
3363 | script.Parent.Parent.Base.Sound:Play() | |
3364 | script.Parent.Parent.Base.Sound2:Play() | |
3365 | end | |
3366 | script.Parent.Died:connect(Die) | |
3367 | end)) | |
3368 | Script294.Name = "Auto heal" | |
3369 | Script294.Parent = Humanoid289 | |
3370 | table.insert(cors,sandbox(Script294,function() | |
3371 | while true do | |
3372 | if script.Parent.Health == script.Parent.MaxHealth then return end | |
3373 | if script.Parent.Health == 0 then return end | |
3374 | script.Parent.Health = script.Parent.Health + 3 | |
3375 | wait(0.5) | |
3376 | end | |
3377 | end)) | |
3378 | Script295.Name = "When demolished, hollywood" | |
3379 | Script295.Parent = Humanoid289 | |
3380 | table.insert(cors,sandbox(Script295,function() | |
3381 | function Die() | |
3382 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
3383 | e = Instance.new("Explosion") | |
3384 | e.Parent = script.Parent.Parent | |
3385 | e.DestroyJointRadiusPercent = 1 | |
3386 | e.Position = script.Parent.Parent.Base.Position | |
3387 | e.ExplosionType = "NoCraters" | |
3388 | e.BlastRadius = 2.6 | |
3389 | e.BlastPressure = 1000000 | |
3390 | f = script.Parent.Parent.Base.Fire | |
3391 | f.Enabled = true | |
3392 | wait(0.2) | |
3393 | f.Size = f.Size - 1 | |
3394 | wait(0.2) | |
3395 | f.Size = f.Size - 1 | |
3396 | wait(0.2) | |
3397 | f.Size = f.Size - 1 | |
3398 | wait(0.2) | |
3399 | f.Size = f.Size - 1 | |
3400 | wait(0.2) | |
3401 | f.Size = f.Size - 1 | |
3402 | wait(0.2) | |
3403 | f.Size = f.Size - 1 | |
3404 | wait(0.2) | |
3405 | f.Size = f.Size - 1 | |
3406 | wait(0.2) | |
3407 | f.Size = f.Size - 1 | |
3408 | wait(0.2) | |
3409 | f.Size = f.Size - 1 | |
3410 | wait(0.2) | |
3411 | f.Size = f.Size - 1 | |
3412 | wait(0.2) | |
3413 | f.Size = f.Size - 1 | |
3414 | wait(0.2) | |
3415 | f.Size = f.Size - 1 | |
3416 | wait(0.2) | |
3417 | f.Size = f.Size - 1 | |
3418 | wait(0.2) | |
3419 | f.Size = f.Size - 1 | |
3420 | wait(0.2) | |
3421 | f.Size = f.Size - 1 | |
3422 | wait(0.2) | |
3423 | f.Size = f.Size - 1 | |
3424 | wait(0.2) | |
3425 | f.Size = f.Size - 1 | |
3426 | wait(0.2) | |
3427 | f.Size = f.Size - 1 | |
3428 | wait(0.2) | |
3429 | f.Size = f.Size - 1 | |
3430 | wait(0.2) | |
3431 | f.Size = f.Size - 1 | |
3432 | wait(0.2) | |
3433 | f.Size = f.Size - 1 | |
3434 | wait(0.2) | |
3435 | f.Size = f.Size - 1 | |
3436 | wait(0.2) | |
3437 | f.Size = f.Size - 1 | |
3438 | wait(0.2) | |
3439 | f.Size = f.Size - 1 | |
3440 | end | |
3441 | script.Parent.Died:connect(Die) | |
3442 | end)) | |
3443 | Script296.Name = "When demolished, remove the engine" | |
3444 | Script296.Parent = Humanoid289 | |
3445 | table.insert(cors,sandbox(Script296,function() | |
3446 | function Die() | |
3447 | if script.Parent.Parent:FindFirstChild("Engine") == nil then return end | |
3448 | script.Parent.Parent.Engine:Destroy() | |
3449 | end | |
3450 | script.Parent.Died:connect(Die) | |
3451 | end)) | |
3452 | Script297.Name = "When demolished, disable chair" | |
3453 | Script297.Parent = Humanoid289 | |
3454 | table.insert(cors,sandbox(Script297,function() | |
3455 | function Die() | |
3456 | if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end | |
3457 | script.Parent.Parent["Car Seat"].Disabled = true | |
3458 | end | |
3459 | ||
3460 | script.Parent.Died:connect(Die) | |
3461 | end)) | |
3462 | Script298.Name = "When demolished, hint" | |
3463 | Script298.Parent = Humanoid289 | |
3464 | table.insert(cors,sandbox(Script298,function() | |
3465 | function Die() | |
3466 | wait(2) | |
3467 | local hint = Instance.new("Hint") | |
3468 | hint.Parent = script.Parent.Parent | |
3469 | hint.Text = script.Parent.Parent.Name.." has been wrecked!" | |
3470 | wait(1) | |
3471 | hint:Destroy() | |
3472 | end | |
3473 | script.Parent.Died:connect(Die) | |
3474 | end)) | |
3475 | Script299.Name = "When demolished, remove instantly if bumper gone." | |
3476 | Script299.Parent = Humanoid289 | |
3477 | table.insert(cors,sandbox(Script299,function() | |
3478 | function Die() | |
3479 | wait(6) | |
3480 | if script.Parent.Parent:FindFirstChild("Head") == nil then | |
3481 | print ("Looks like "..script.Parent.Parent.Name.." got nil.") | |
3482 | script.Parent.Parent:Destroy() | |
3483 | elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end | |
3484 | end | |
3485 | script.Parent.Died:connect(Die) | |
3486 | end)) | |
3487 | Script300.Name = "When demolished, disable light" | |
3488 | Script300.Parent = Humanoid289 | |
3489 | table.insert(cors,sandbox(Script300,function() | |
3490 | function Die() | |
3491 | if script.Parent.Parent:FindFirstChild("Torso") == nil then return end | |
3492 | script.Parent.Parent.Torso.SpotLight.Enabled = false | |
3493 | end | |
3494 | ||
3495 | script.Parent.Died:connect(Die) | |
3496 | end)) | |
3497 | Part301.Name = "Neon Flag" | |
3498 | Part301.Parent = Model244 | |
3499 | Part301.Material = Enum.Material.Neon | |
3500 | Part301.BrickColor = BrickColor.new("Really blue") | |
3501 | Part301.Rotation = Vector3.new(180, 0, 180) | |
3502 | Part301.Locked = true | |
3503 | Part301.Size = Vector3.new(1, 2, 3) | |
3504 | Part301.CFrame = CFrame.new(30.2877922, 4.71093369, 127.057922, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107) | |
3505 | Part301.BottomSurface = Enum.SurfaceType.Smooth | |
3506 | Part301.TopSurface = Enum.SurfaceType.Smooth | |
3507 | Part301.Color = Color3.new(0, 0, 1) | |
3508 | Part301.Position = Vector3.new(30.2877922, 4.71093369, 127.057922) | |
3509 | Part301.Orientation = Vector3.new(0, 180, 0) | |
3510 | Part301.Color = Color3.new(0, 0, 1) | |
3511 | Sound302.Parent = Part301 | |
3512 | Sound302.Pitch = 1.5 | |
3513 | Sound302.SoundId = "rbxassetid://356659053" | |
3514 | Sound302.Volume = 1 | |
3515 | Script303.Name = "On contact, sound" | |
3516 | Script303.Parent = Part301 | |
3517 | table.insert(cors,sandbox(Script303,function() | |
3518 | function onTouched(hit) | |
3519 | if hit.CanCollide == false then return end | |
3520 | script.Parent.Sound:Play() | |
3521 | end | |
3522 | script.Parent.Touched:connect(onTouched) | |
3523 | end)) | |
3524 | Script304.Name = "On contact, heal" | |
3525 | Script304.Parent = Part301 | |
3526 | table.insert(cors,sandbox(Script304,function() | |
3527 | function onTouched() | |
3528 | script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3 | |
3529 | end | |
3530 | script.Parent.Touched:connect(onTouched) | |
3531 | end)) | |
3532 | Sound305.Name = "Sound3" | |
3533 | Sound305.Parent = Part301 | |
3534 | Sound305.SoundId = "rbxassetid://191040613" | |
3535 | Sound305.Volume = 1 | |
3536 | Fire306.Name = "Fire2" | |
3537 | Fire306.Parent = Part301 | |
3538 | Fire306.Size = 10 | |
3539 | Fire306.Enabled = false | |
3540 | Fire306.Heat = -5 | |
3541 | Fire306.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3542 | Script307.Name = "On contact, thud" | |
3543 | Script307.Parent = Part301 | |
3544 | table.insert(cors,sandbox(Script307,function() | |
3545 | function onTouched(hit) | |
3546 | if hit.CanCollide == false then return end | |
3547 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3548 | if HitPower >= 600 then | |
3549 | script.Parent.Fire2.Enabled = true | |
3550 | script.Parent.Sound3:Play() | |
3551 | wait(0.2) | |
3552 | script.Parent.Fire2.Enabled = false | |
3553 | end | |
3554 | end | |
3555 | script.Parent.Touched:connect(onTouched) | |
3556 | end)) | |
3557 | Part308.Name = "Engine" | |
3558 | Part308.Parent = Model244 | |
3559 | Part308.Material = Enum.Material.CorrodedMetal | |
3560 | Part308.BrickColor = BrickColor.new("Navy blue") | |
3561 | Part308.Locked = true | |
3562 | Part308.Size = Vector3.new(3, 2.19999981, 2) | |
3563 | Part308.CFrame = CFrame.new(30.2880192, 2.61075163, 125.557503, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006) | |
3564 | Part308.BottomSurface = Enum.SurfaceType.Smooth | |
3565 | Part308.TopSurface = Enum.SurfaceType.Smooth | |
3566 | Part308.Color = Color3.new(0, 0.12549, 0.376471) | |
3567 | Part308.Position = Vector3.new(30.2880192, 2.61075163, 125.557503) | |
3568 | Part308.Color = Color3.new(0, 0.12549, 0.376471) | |
3569 | Sound309.Name = "Engine" | |
3570 | Sound309.Parent = Part308 | |
3571 | Sound309.Pitch = 0.76000678539276 | |
3572 | Sound309.SoundId = "rbxassetid://130091914" | |
3573 | Sound309.Volume = 0.69999998807907 | |
3574 | Sound309.Looped = true | |
3575 | Script310.Name = "SoundScript" | |
3576 | Script310.Parent = Part308 | |
3577 | table.insert(cors,sandbox(Script310,function() | |
3578 | v = script.Parent.Parent["Car Seat"] | |
3579 | e = script.Parent.Engine | |
3580 | maxrevs = script.Parent.Advanced.MaxRevs.Value | |
3581 | minrevs = script.Parent.Advanced.MinRevs.Value | |
3582 | mod = v.MaxSpeed/130 | |
3583 | e:Play() | |
3584 | while true do | |
3585 | wait(0.1) | |
3586 | mod = v.MaxSpeed/150 | |
3587 | if v.Throttle == 1 and e.Pitch < maxrevs then | |
3588 | e.Pitch = e.Pitch + (0.09/mod) | |
3589 | end | |
3590 | if v.Throttle == 0 and e.Pitch > minrevs then | |
3591 | e.Pitch = e.Pitch - (0.17/mod) | |
3592 | end | |
3593 | if v.Throttle == -1 and e.Pitch > minrevs then | |
3594 | e.Pitch = e.Pitch - (0.22/mod) | |
3595 | end | |
3596 | end | |
3597 | end)) | |
3598 | Configuration311.Name = "Advanced" | |
3599 | Configuration311.Parent = Part308 | |
3600 | NumberValue312.Name = "EngineVolume" | |
3601 | NumberValue312.Parent = Configuration311 | |
3602 | NumberValue312.Value = 0.7 | |
3603 | NumberValue313.Name = "MaxRevs" | |
3604 | NumberValue313.Parent = Configuration311 | |
3605 | NumberValue313.Value = 1.79 | |
3606 | NumberValue314.Name = "MinRevs" | |
3607 | NumberValue314.Parent = Configuration311 | |
3608 | NumberValue314.Value = 0.9 | |
3609 | Configuration315.Parent = Part308 | |
3610 | NumberValue316.Name = "MaxSpeed" | |
3611 | NumberValue316.Parent = Configuration315 | |
3612 | NumberValue316.Value = 150 | |
3613 | Motor6D317.Parent = Part308 | |
3614 | Motor6D317.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048) | |
3615 | Motor6D317.Part0 = Part308 | |
3616 | Motor6D317.Part1 = Part301 | |
3617 | Sound318.Name = "Sound3" | |
3618 | Sound318.Parent = Part308 | |
3619 | Sound318.SoundId = "rbxassetid://191040613" | |
3620 | Sound318.Volume = 1 | |
3621 | Fire319.Name = "Fire2" | |
3622 | Fire319.Parent = Part308 | |
3623 | Fire319.Size = 10 | |
3624 | Fire319.Enabled = false | |
3625 | Fire319.Heat = -5 | |
3626 | Fire319.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3627 | Script320.Name = "On contact, thud" | |
3628 | Script320.Parent = Part308 | |
3629 | table.insert(cors,sandbox(Script320,function() | |
3630 | function onTouched(hit) | |
3631 | if hit.CanCollide == false then return end | |
3632 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3633 | if HitPower >= 600 then | |
3634 | script.Parent.Fire2.Enabled = true | |
3635 | script.Parent.Sound3:Play() | |
3636 | wait(0.2) | |
3637 | script.Parent.Fire2.Enabled = false | |
3638 | end | |
3639 | end | |
3640 | script.Parent.Touched:connect(onTouched) | |
3641 | end)) | |
3642 | ForceField321.Parent = Model244 | |
3643 | Script322.Name = "Wait 10 sec then remove" | |
3644 | Script322.Parent = ForceField321 | |
3645 | table.insert(cors,sandbox(Script322,function() | |
3646 | wait(10) | |
3647 | script.Parent:Destroy() | |
3648 | end)) | |
3649 | Part323.Name = "Wheel" | |
3650 | Part323.Parent = Model244 | |
3651 | Part323.Material = Enum.Material.Concrete | |
3652 | Part323.BrickColor = BrickColor.new("Dark stone grey") | |
3653 | Part323.Locked = true | |
3654 | Part323.Shape = Enum.PartType.Cylinder | |
3655 | Part323.Size = Vector3.new(2, 3, 3) | |
3656 | Part323.CFrame = CFrame.new(33.7879944, 1.51001, 120.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3657 | Part323.BottomSurface = Enum.SurfaceType.Smooth | |
3658 | Part323.LeftSurface = Enum.SurfaceType.Hinge | |
3659 | Part323.TopSurface = Enum.SurfaceType.Smooth | |
3660 | Part323.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3661 | Part323.Position = Vector3.new(33.7879944, 1.51001, 120.555038) | |
3662 | Part323.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3663 | Sound324.Name = "Sound3" | |
3664 | Sound324.Parent = Part323 | |
3665 | Sound324.SoundId = "rbxassetid://262353320" | |
3666 | Sound324.Volume = 1 | |
3667 | Fire325.Parent = Part323 | |
3668 | Fire325.Color = Color3.new(1, 1, 1) | |
3669 | Fire325.Enabled = false | |
3670 | Fire325.Heat = -3 | |
3671 | Fire325.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
3672 | Fire325.Color = Color3.new(1, 1, 1) | |
3673 | Script326.Name = "On contact, screech" | |
3674 | Script326.Parent = Part323 | |
3675 | table.insert(cors,sandbox(Script326,function() | |
3676 | function onTouched(hit) | |
3677 | if hit.CanCollide == false then return end | |
3678 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
3679 | if HitPower >= 4075 then | |
3680 | script.Parent.Fire.Enabled = true | |
3681 | script.Parent.Sound3:Play() | |
3682 | wait(0.1) | |
3683 | script.Parent.Fire.Enabled = false | |
3684 | end | |
3685 | end | |
3686 | script.Parent.Touched:connect(onTouched) | |
3687 | end)) | |
3688 | Part327.Name = "Wheel" | |
3689 | Part327.Parent = Model244 | |
3690 | Part327.Material = Enum.Material.Concrete | |
3691 | Part327.BrickColor = BrickColor.new("Dark stone grey") | |
3692 | Part327.Locked = true | |
3693 | Part327.Shape = Enum.PartType.Cylinder | |
3694 | Part327.Size = Vector3.new(2, 3, 3) | |
3695 | Part327.CFrame = CFrame.new(26.7879791, 1.51001, 125.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3696 | Part327.BottomSurface = Enum.SurfaceType.Smooth | |
3697 | Part327.RightSurface = Enum.SurfaceType.Hinge | |
3698 | Part327.TopSurface = Enum.SurfaceType.Smooth | |
3699 | Part327.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3700 | Part327.Position = Vector3.new(26.7879791, 1.51001, 125.555023) | |
3701 | Part327.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3702 | Sound328.Name = "Sound3" | |
3703 | Sound328.Parent = Part327 | |
3704 | Sound328.SoundId = "rbxassetid://262353320" | |
3705 | Sound328.Volume = 1 | |
3706 | Fire329.Parent = Part327 | |
3707 | Fire329.Color = Color3.new(1, 1, 1) | |
3708 | Fire329.Enabled = false | |
3709 | Fire329.Heat = -3 | |
3710 | Fire329.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
3711 | Fire329.Color = Color3.new(1, 1, 1) | |
3712 | Script330.Name = "On contact, screech" | |
3713 | Script330.Parent = Part327 | |
3714 | table.insert(cors,sandbox(Script330,function() | |
3715 | function onTouched(hit) | |
3716 | if hit.CanCollide == false then return end | |
3717 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
3718 | if HitPower >= 4075 then | |
3719 | script.Parent.Fire.Enabled = true | |
3720 | script.Parent.Sound3:Play() | |
3721 | wait(0.1) | |
3722 | script.Parent.Fire.Enabled = false | |
3723 | end | |
3724 | end | |
3725 | script.Parent.Touched:connect(onTouched) | |
3726 | end)) | |
3727 | Part331.Name = "Wheel" | |
3728 | Part331.Parent = Model244 | |
3729 | Part331.Material = Enum.Material.Concrete | |
3730 | Part331.BrickColor = BrickColor.new("Dark stone grey") | |
3731 | Part331.Locked = true | |
3732 | Part331.Shape = Enum.PartType.Cylinder | |
3733 | Part331.Size = Vector3.new(2, 3, 3) | |
3734 | Part331.CFrame = CFrame.new(33.7879791, 1.51001, 125.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3735 | Part331.BottomSurface = Enum.SurfaceType.Smooth | |
3736 | Part331.LeftSurface = Enum.SurfaceType.Hinge | |
3737 | Part331.TopSurface = Enum.SurfaceType.Smooth | |
3738 | Part331.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3739 | Part331.Position = Vector3.new(33.7879791, 1.51001, 125.555038) | |
3740 | Part331.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3741 | Sound332.Name = "Sound3" | |
3742 | Sound332.Parent = Part331 | |
3743 | Sound332.SoundId = "rbxassetid://262353320" | |
3744 | Sound332.Volume = 1 | |
3745 | Fire333.Parent = Part331 | |
3746 | Fire333.Color = Color3.new(1, 1, 1) | |
3747 | Fire333.Enabled = false | |
3748 | Fire333.Heat = -3 | |
3749 | Fire333.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
3750 | Fire333.Color = Color3.new(1, 1, 1) | |
3751 | Script334.Name = "On contact, screech" | |
3752 | Script334.Parent = Part331 | |
3753 | table.insert(cors,sandbox(Script334,function() | |
3754 | function onTouched(hit) | |
3755 | if hit.CanCollide == false then return end | |
3756 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
3757 | if HitPower >= 4075 then | |
3758 | script.Parent.Fire.Enabled = true | |
3759 | script.Parent.Sound3:Play() | |
3760 | wait(0.1) | |
3761 | script.Parent.Fire.Enabled = false | |
3762 | end | |
3763 | end | |
3764 | script.Parent.Touched:connect(onTouched) | |
3765 | end)) | |
3766 | Part335.Name = "Wheel" | |
3767 | Part335.Parent = Model244 | |
3768 | Part335.Material = Enum.Material.Concrete | |
3769 | Part335.BrickColor = BrickColor.new("Dark stone grey") | |
3770 | Part335.Locked = true | |
3771 | Part335.Shape = Enum.PartType.Cylinder | |
3772 | Part335.Size = Vector3.new(2, 3, 3) | |
3773 | Part335.CFrame = CFrame.new(26.7879944, 1.51001, 120.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
3774 | Part335.BottomSurface = Enum.SurfaceType.Smooth | |
3775 | Part335.RightSurface = Enum.SurfaceType.Hinge | |
3776 | Part335.TopSurface = Enum.SurfaceType.Smooth | |
3777 | Part335.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3778 | Part335.Position = Vector3.new(26.7879944, 1.51001, 120.555023) | |
3779 | Part335.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3780 | Sound336.Name = "Sound3" | |
3781 | Sound336.Parent = Part335 | |
3782 | Sound336.SoundId = "rbxassetid://262353320" | |
3783 | Sound336.Volume = 1 | |
3784 | Fire337.Parent = Part335 | |
3785 | Fire337.Color = Color3.new(1, 1, 1) | |
3786 | Fire337.Enabled = false | |
3787 | Fire337.Heat = -3 | |
3788 | Fire337.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
3789 | Fire337.Color = Color3.new(1, 1, 1) | |
3790 | Script338.Name = "On contact, screech" | |
3791 | Script338.Parent = Part335 | |
3792 | table.insert(cors,sandbox(Script338,function() | |
3793 | function onTouched(hit) | |
3794 | if hit.CanCollide == false then return end | |
3795 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
3796 | if HitPower >= 4075 then | |
3797 | script.Parent.Fire.Enabled = true | |
3798 | script.Parent.Sound3:Play() | |
3799 | wait(0.1) | |
3800 | script.Parent.Fire.Enabled = false | |
3801 | end | |
3802 | end | |
3803 | script.Parent.Touched:connect(onTouched) | |
3804 | end)) | |
3805 | Part339.Name = "FIRE!" | |
3806 | Part339.Parent = Model244 | |
3807 | Part339.Material = Enum.Material.DiamondPlate | |
3808 | Part339.BrickColor = BrickColor.new("Lime green") | |
3809 | Part339.Rotation = Vector3.new(0.599999964, 0, 0) | |
3810 | Part339.Locked = true | |
3811 | Part339.Size = Vector3.new(1, 1, 2) | |
3812 | Part339.CFrame = CFrame.new(30.2879047, 6.01142359, 120.551735, 1.00000167, -2.9046987e-10, 5.00222086e-12, -2.90524771e-10, 0.999945164, -0.0104717826, 2.27373675e-12, 0.0104717938, 0.999946117) | |
3813 | Part339.BottomSurface = Enum.SurfaceType.Smooth | |
3814 | Part339.TopSurface = Enum.SurfaceType.Smooth | |
3815 | Part339.Color = Color3.new(0, 1, 0) | |
3816 | Part339.Position = Vector3.new(30.2879047, 6.01142359, 120.551735) | |
3817 | Part339.Orientation = Vector3.new(0.599999964, 0, 0) | |
3818 | Part339.Color = Color3.new(0, 1, 0) | |
3819 | Script340.Name = "Fire" | |
3820 | Script340.Parent = Part339 | |
3821 | table.insert(cors,sandbox(Script340,function() | |
3822 | local Colour = script.Parent.Parent.Base.BrickColor | |
3823 | function Clicked() | |
3824 | script.Parent.Sound3:Play() | |
3825 | local Ammo = Instance.new("Part") | |
3826 | Ammo.BrickColor = Colour | |
3827 | Ammo.Material = "Neon" | |
3828 | Ammo.Parent = game.Workspace | |
3829 | Ammo.Velocity = script.Parent.CFrame.lookVector * 1200 | |
3830 | Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6) | |
3831 | Ammo.Size = Vector3.new(3,3,3) | |
3832 | Ammo.Shape = "Ball" | |
3833 | Ammo.Name = script.Parent.Parent.Name.."'s cannonball" | |
3834 | Ammo.TopSurface = "Smooth" | |
3835 | Ammo.BottomSurface = "Smooth" | |
3836 | local explosive = script["On contact, explode"]:Clone() | |
3837 | explosive.Parent = Ammo | |
3838 | explosive.Disabled = false | |
3839 | local damager = script["Hint if humanoid hit and damage"]:Clone() | |
3840 | damager.Parent = Ammo | |
3841 | damager.Disabled = false | |
3842 | local sound = script.Sound:Clone() | |
3843 | sound.Parent = Ammo | |
3844 | script.Parent.BrickColor = BrickColor.new("Really red") | |
3845 | script.Disabled = true | |
3846 | wait(1) | |
3847 | script.Parent.BrickColor = BrickColor.new("New Yeller") | |
3848 | wait(1) | |
3849 | script.Parent.BrickColor = BrickColor.new("Lime green") | |
3850 | script.Disabled = false | |
3851 | end | |
3852 | script.Parent.ClickDetector.MouseClick:connect(Clicked) | |
3853 | end)) | |
3854 | Script341.Name = "On contact, explode" | |
3855 | Script341.Parent = Script340 | |
3856 | Script341.Disabled = true | |
3857 | table.insert(cors,sandbox(Script341,function() | |
3858 | function onTouched(hit) | |
3859 | if hit == nil then return end | |
3860 | if hit.CanCollide == false then return end | |
3861 | script.Parent.Anchored = true | |
3862 | wait(0) | |
3863 | local BOOM = Instance.new("Explosion") | |
3864 | BOOM.Parent = game.Workspace | |
3865 | BOOM.Position = script.Parent.Position | |
3866 | BOOM.BlastRadius = 10 | |
3867 | script.Parent.Sound:Play() | |
3868 | script.Disabled = true | |
3869 | script.Parent.CanCollide = false | |
3870 | script.Parent.Transparency = 1 | |
3871 | wait(2) | |
3872 | script.Parent:Destroy() | |
3873 | end | |
3874 | script.Parent.Touched:connect(onTouched) | |
3875 | end)) | |
3876 | Sound342.Parent = Script340 | |
3877 | Sound342.Pitch = 1.2000000476837 | |
3878 | Sound342.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
3879 | Sound342.Volume = 1 | |
3880 | Script343.Name = "Hint if humanoid hit and damage" | |
3881 | Script343.Parent = Script340 | |
3882 | Script343.Disabled = true | |
3883 | table.insert(cors,sandbox(Script343,function() | |
3884 | function onTouched(hit) | |
3885 | if hit == nil then script.Disabled = true return end | |
3886 | if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end | |
3887 | local damage = math.random(500,5000) | |
3888 | hit.Parent.Humanoid:TakeDamage(damage) | |
3889 | local hint = Instance.new("Hint") | |
3890 | hint.Text = script.Parent.Name.." hit "..hit.Parent.Name.." with "..damage.." damage with an explosion!" | |
3891 | hint.Parent = script | |
3892 | script.Disabled = true | |
3893 | end | |
3894 | script.Parent.Touched:connect(onTouched) | |
3895 | end)) | |
3896 | ClickDetector344.Parent = Part339 | |
3897 | ClickDetector344.MaxActivationDistance = 4 | |
3898 | Sound345.Name = "Sound3" | |
3899 | Sound345.Parent = Part339 | |
3900 | Sound345.SoundId = "rbxassetid://191040613" | |
3901 | Sound345.Volume = 1 | |
3902 | Part346.Name = "Left Leg" | |
3903 | Part346.Parent = Model244 | |
3904 | Part346.Material = Enum.Material.DiamondPlate | |
3905 | Part346.BrickColor = BrickColor.new("Dark stone grey") | |
3906 | Part346.Locked = true | |
3907 | Part346.Size = Vector3.new(1, 1, 3) | |
3908 | Part346.CFrame = CFrame.new(28.2878189, 3.01002073, 127.055313, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036) | |
3909 | Part346.BottomSurface = Enum.SurfaceType.Smooth | |
3910 | Part346.TopSurface = Enum.SurfaceType.Smooth | |
3911 | Part346.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3912 | Part346.Position = Vector3.new(28.2878189, 3.01002073, 127.055313) | |
3913 | Part346.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3914 | Sound347.Name = "Sound3" | |
3915 | Sound347.Parent = Part346 | |
3916 | Sound347.SoundId = "rbxassetid://191040613" | |
3917 | Sound347.Volume = 1 | |
3918 | Script348.Name = "On contact, thud" | |
3919 | Script348.Parent = Part346 | |
3920 | table.insert(cors,sandbox(Script348,function() | |
3921 | function onTouched(hit) | |
3922 | if hit.CanCollide == false then return end | |
3923 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3924 | if HitPower >= 600 then | |
3925 | script.Parent.Fire2.Enabled = true | |
3926 | script.Parent.Sound3:Play() | |
3927 | wait(0.2) | |
3928 | script.Parent.Fire2.Enabled = false | |
3929 | end | |
3930 | end | |
3931 | script.Parent.Touched:connect(onTouched) | |
3932 | end)) | |
3933 | ParticleEmitter349.Parent = Part346 | |
3934 | ParticleEmitter349.Transparency = NumberSequence.new(0,0,1) | |
3935 | ParticleEmitter349.Size = NumberSequence.new(0,1.9999998807907) | |
3936 | ParticleEmitter349.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
3937 | ParticleEmitter349.Acceleration = Vector3.new(0, 1, 0) | |
3938 | ParticleEmitter349.Lifetime = NumberRange.new(0.5, 2.5) | |
3939 | ParticleEmitter349.Rate = 10 | |
3940 | ParticleEmitter349.RotSpeed = NumberRange.new(0, 30) | |
3941 | ParticleEmitter349.Speed = NumberRange.new(-3, -3) | |
3942 | ParticleEmitter349.VelocitySpread = 5 | |
3943 | ParticleEmitter349.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
3944 | Fire350.Name = "Fire2" | |
3945 | Fire350.Parent = Part346 | |
3946 | Fire350.Size = 10 | |
3947 | Fire350.Enabled = false | |
3948 | Fire350.Heat = -5 | |
3949 | Fire350.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3950 | Part351.Name = "Left Arm" | |
3951 | Part351.Parent = Model244 | |
3952 | Part351.Material = Enum.Material.DiamondPlate | |
3953 | Part351.BrickColor = BrickColor.new("Dark stone grey") | |
3954 | Part351.Locked = true | |
3955 | Part351.Size = Vector3.new(1, 1, 3) | |
3956 | Part351.CFrame = CFrame.new(28.287838, 2.01002264, 126.055252, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036) | |
3957 | Part351.BottomSurface = Enum.SurfaceType.Smooth | |
3958 | Part351.TopSurface = Enum.SurfaceType.Smooth | |
3959 | Part351.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3960 | Part351.Position = Vector3.new(28.287838, 2.01002264, 126.055252) | |
3961 | Part351.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
3962 | Sound352.Name = "Sound3" | |
3963 | Sound352.Parent = Part351 | |
3964 | Sound352.SoundId = "rbxassetid://191040613" | |
3965 | Sound352.Volume = 1 | |
3966 | Script353.Name = "On contact, thud" | |
3967 | Script353.Parent = Part351 | |
3968 | table.insert(cors,sandbox(Script353,function() | |
3969 | function onTouched(hit) | |
3970 | if hit.CanCollide == false then return end | |
3971 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
3972 | if HitPower >= 600 then | |
3973 | script.Parent.Fire2.Enabled = true | |
3974 | script.Parent.Sound3:Play() | |
3975 | wait(0.2) | |
3976 | script.Parent.Fire2.Enabled = false | |
3977 | end | |
3978 | end | |
3979 | script.Parent.Touched:connect(onTouched) | |
3980 | end)) | |
3981 | ParticleEmitter354.Parent = Part351 | |
3982 | ParticleEmitter354.Transparency = NumberSequence.new(0,0,1) | |
3983 | ParticleEmitter354.Size = NumberSequence.new(0,1.9999998807907) | |
3984 | ParticleEmitter354.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
3985 | ParticleEmitter354.Acceleration = Vector3.new(0, 1, 0) | |
3986 | ParticleEmitter354.Lifetime = NumberRange.new(0.5, 2.5) | |
3987 | ParticleEmitter354.Rate = 10 | |
3988 | ParticleEmitter354.RotSpeed = NumberRange.new(0, 30) | |
3989 | ParticleEmitter354.Speed = NumberRange.new(-3, -3) | |
3990 | ParticleEmitter354.VelocitySpread = 5 | |
3991 | ParticleEmitter354.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
3992 | Fire355.Name = "Fire2" | |
3993 | Fire355.Parent = Part351 | |
3994 | Fire355.Size = 10 | |
3995 | Fire355.Enabled = false | |
3996 | Fire355.Heat = -5 | |
3997 | Fire355.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
3998 | Part356.Name = "Right Leg" | |
3999 | Part356.Parent = Model244 | |
4000 | Part356.Material = Enum.Material.DiamondPlate | |
4001 | Part356.BrickColor = BrickColor.new("Dark stone grey") | |
4002 | Part356.Locked = true | |
4003 | Part356.Size = Vector3.new(1, 1, 3) | |
4004 | Part356.CFrame = CFrame.new(32.2881699, 3.01001883, 127.055382, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036) | |
4005 | Part356.BottomSurface = Enum.SurfaceType.Smooth | |
4006 | Part356.TopSurface = Enum.SurfaceType.Smooth | |
4007 | Part356.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4008 | Part356.Position = Vector3.new(32.2881699, 3.01001883, 127.055382) | |
4009 | Part356.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4010 | Sound357.Name = "Sound3" | |
4011 | Sound357.Parent = Part356 | |
4012 | Sound357.SoundId = "rbxassetid://191040613" | |
4013 | Sound357.Volume = 1 | |
4014 | Script358.Name = "On contact, thud" | |
4015 | Script358.Parent = Part356 | |
4016 | table.insert(cors,sandbox(Script358,function() | |
4017 | function onTouched(hit) | |
4018 | if hit.CanCollide == false then return end | |
4019 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4020 | if HitPower >= 600 then | |
4021 | script.Parent.Fire2.Enabled = true | |
4022 | script.Parent.Sound3:Play() | |
4023 | wait(0.2) | |
4024 | script.Parent.Fire2.Enabled = false | |
4025 | end | |
4026 | end | |
4027 | script.Parent.Touched:connect(onTouched) | |
4028 | end)) | |
4029 | ParticleEmitter359.Parent = Part356 | |
4030 | ParticleEmitter359.Transparency = NumberSequence.new(0,0,1) | |
4031 | ParticleEmitter359.Size = NumberSequence.new(0,1.9999998807907) | |
4032 | ParticleEmitter359.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
4033 | ParticleEmitter359.Acceleration = Vector3.new(0, 1, 0) | |
4034 | ParticleEmitter359.Lifetime = NumberRange.new(0.5, 2.5) | |
4035 | ParticleEmitter359.Rate = 10 | |
4036 | ParticleEmitter359.RotSpeed = NumberRange.new(0, 30) | |
4037 | ParticleEmitter359.Speed = NumberRange.new(-3, -3) | |
4038 | ParticleEmitter359.VelocitySpread = 5 | |
4039 | ParticleEmitter359.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
4040 | Fire360.Name = "Fire2" | |
4041 | Fire360.Parent = Part356 | |
4042 | Fire360.Size = 10 | |
4043 | Fire360.Enabled = false | |
4044 | Fire360.Heat = -5 | |
4045 | Fire360.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4046 | Part361.Name = "Right Arm" | |
4047 | Part361.Parent = Model244 | |
4048 | Part361.Material = Enum.Material.DiamondPlate | |
4049 | Part361.BrickColor = BrickColor.new("Dark stone grey") | |
4050 | Part361.Locked = true | |
4051 | Part361.Size = Vector3.new(1, 1, 3) | |
4052 | Part361.CFrame = CFrame.new(32.2881393, 2.0100224, 126.055305, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036) | |
4053 | Part361.BottomSurface = Enum.SurfaceType.Smooth | |
4054 | Part361.TopSurface = Enum.SurfaceType.Smooth | |
4055 | Part361.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4056 | Part361.Position = Vector3.new(32.2881393, 2.0100224, 126.055305) | |
4057 | Part361.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4058 | Sound362.Name = "Sound3" | |
4059 | Sound362.Parent = Part361 | |
4060 | Sound362.SoundId = "rbxassetid://191040613" | |
4061 | Sound362.Volume = 1 | |
4062 | Script363.Name = "On contact, thud" | |
4063 | Script363.Parent = Part361 | |
4064 | table.insert(cors,sandbox(Script363,function() | |
4065 | function onTouched(hit) | |
4066 | if hit.CanCollide == false then return end | |
4067 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4068 | if HitPower >= 600 then | |
4069 | script.Parent.Fire2.Enabled = true | |
4070 | script.Parent.Sound3:Play() | |
4071 | wait(0.2) | |
4072 | script.Parent.Fire2.Enabled = false | |
4073 | end | |
4074 | end | |
4075 | script.Parent.Touched:connect(onTouched) | |
4076 | end)) | |
4077 | ParticleEmitter364.Parent = Part361 | |
4078 | ParticleEmitter364.Transparency = NumberSequence.new(0,0,1) | |
4079 | ParticleEmitter364.Size = NumberSequence.new(0,1.9999998807907) | |
4080 | ParticleEmitter364.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
4081 | ParticleEmitter364.Acceleration = Vector3.new(0, 1, 0) | |
4082 | ParticleEmitter364.Lifetime = NumberRange.new(0.5, 2.5) | |
4083 | ParticleEmitter364.Rate = 10 | |
4084 | ParticleEmitter364.RotSpeed = NumberRange.new(0, 30) | |
4085 | ParticleEmitter364.Speed = NumberRange.new(-3, -3) | |
4086 | ParticleEmitter364.VelocitySpread = 5 | |
4087 | ParticleEmitter364.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
4088 | Fire365.Name = "Fire2" | |
4089 | Fire365.Parent = Part361 | |
4090 | Fire365.Size = 10 | |
4091 | Fire365.Enabled = false | |
4092 | Fire365.Heat = -5 | |
4093 | Fire365.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4094 | Model366.Name = "Car 3" | |
4095 | Model366.Parent = mas | |
4096 | Model366.PrimaryPart = Part367 | |
4097 | Part367.Name = "Base" | |
4098 | Part367.Parent = Model366 | |
4099 | Part367.Material = Enum.Material.DiamondPlate | |
4100 | Part367.BrickColor = BrickColor.new("Lime green") | |
4101 | Part367.Locked = true | |
4102 | Part367.Size = Vector3.new(5, 1, 5) | |
4103 | Part367.CFrame = CFrame.new(40.2879829, 1.01003182, 123.055122, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036) | |
4104 | Part367.BottomSurface = Enum.SurfaceType.Smooth | |
4105 | Part367.TopSurface = Enum.SurfaceType.Smooth | |
4106 | Part367.Color = Color3.new(0, 1, 0) | |
4107 | Part367.Position = Vector3.new(40.2879829, 1.01003182, 123.055122) | |
4108 | Part367.Color = Color3.new(0, 1, 0) | |
4109 | Sound368.Parent = Part367 | |
4110 | Sound368.Pitch = 1.2000000476837 | |
4111 | Sound368.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
4112 | Sound368.Volume = 1 | |
4113 | Fire369.Parent = Part367 | |
4114 | Fire369.Size = 30 | |
4115 | Fire369.Enabled = false | |
4116 | Fire369.Heat = 25 | |
4117 | Fire369.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4118 | Sound370.Name = "Sound2" | |
4119 | Sound370.Parent = Part367 | |
4120 | Sound370.Pitch = 0.60000002384186 | |
4121 | Sound370.SoundId = "rbxassetid://138185473 " | |
4122 | Sound370.Volume = 1 | |
4123 | Sound370.Looped = true | |
4124 | BodyGyro371.Parent = Part367 | |
4125 | BodyGyro371.maxTorque = Vector3.new(0, 0, 0) | |
4126 | BodyGyro371.MaxTorque = Vector3.new(0, 0, 0) | |
4127 | Motor6D372.Parent = Part367 | |
4128 | Motor6D372.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024) | |
4129 | Motor6D372.Part0 = Part367 | |
4130 | Motor6D372.Part1 = Part430 | |
4131 | Motor6D373.Parent = Part367 | |
4132 | Motor6D373.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012) | |
4133 | Motor6D373.Part0 = Part367 | |
4134 | Motor6D373.Part1 = Part384 | |
4135 | Motor6D374.Parent = Part367 | |
4136 | Motor6D374.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036) | |
4137 | Motor6D374.Part0 = Part367 | |
4138 | Motor6D374.Part1 = VehicleSeat382 | |
4139 | Sound375.Name = "Sound3" | |
4140 | Sound375.Parent = Part367 | |
4141 | Sound375.SoundId = "rbxassetid://191040613" | |
4142 | Sound375.Volume = 1 | |
4143 | Fire376.Name = "Fire2" | |
4144 | Fire376.Parent = Part367 | |
4145 | Fire376.Size = 10 | |
4146 | Fire376.Enabled = false | |
4147 | Fire376.Heat = -5 | |
4148 | Fire376.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4149 | Script377.Name = "On contact, thud" | |
4150 | Script377.Parent = Part367 | |
4151 | table.insert(cors,sandbox(Script377,function() | |
4152 | function onTouched(hit) | |
4153 | if hit.CanCollide == false then return end | |
4154 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4155 | if HitPower >= 600 then | |
4156 | script.Parent.Fire2.Enabled = true | |
4157 | script.Parent.Sound3:Play() | |
4158 | wait(0.2) | |
4159 | script.Parent.Fire2.Enabled = false | |
4160 | end | |
4161 | end | |
4162 | script.Parent.Touched:connect(onTouched) | |
4163 | end)) | |
4164 | Motor6D378.Parent = Part367 | |
4165 | Motor6D378.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1) | |
4166 | Motor6D378.Part0 = Part367 | |
4167 | Motor6D378.Part1 = Part483 | |
4168 | Motor6D379.Parent = Part367 | |
4169 | Motor6D379.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1) | |
4170 | Motor6D379.Part0 = Part367 | |
4171 | Motor6D379.Part1 = Part478 | |
4172 | Motor6D380.Parent = Part367 | |
4173 | Motor6D380.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1) | |
4174 | Motor6D380.Part0 = Part367 | |
4175 | Motor6D380.Part1 = Part473 | |
4176 | Motor6D381.Parent = Part367 | |
4177 | Motor6D381.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1) | |
4178 | Motor6D381.Part0 = Part367 | |
4179 | Motor6D381.Part1 = Part468 | |
4180 | VehicleSeat382.Name = "Car Seat" | |
4181 | VehicleSeat382.Parent = Model366 | |
4182 | VehicleSeat382.Material = Enum.Material.Fabric | |
4183 | VehicleSeat382.BrickColor = BrickColor.new("Black") | |
4184 | VehicleSeat382.Locked = true | |
4185 | VehicleSeat382.Size = Vector3.new(3, 1, 3) | |
4186 | VehicleSeat382.CFrame = CFrame.new(40.2880402, 2.01037502, 123.054855, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1) | |
4187 | VehicleSeat382.BottomSurface = Enum.SurfaceType.Smooth | |
4188 | VehicleSeat382.TopSurface = Enum.SurfaceType.Smooth | |
4189 | VehicleSeat382.MaxSpeed = 150 | |
4190 | VehicleSeat382.Torque = 12.5 | |
4191 | VehicleSeat382.TurnSpeed = 2.5999999046326 | |
4192 | VehicleSeat382.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
4193 | VehicleSeat382.Position = Vector3.new(40.2880402, 2.01037502, 123.054855) | |
4194 | VehicleSeat382.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
4195 | Motor6D383.Parent = VehicleSeat382 | |
4196 | Motor6D383.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012) | |
4197 | Motor6D383.Part0 = VehicleSeat382 | |
4198 | Motor6D383.Part1 = Part394 | |
4199 | Part384.Name = "Torso" | |
4200 | Part384.Parent = Model366 | |
4201 | Part384.Material = Enum.Material.DiamondPlate | |
4202 | Part384.BrickColor = BrickColor.new("Parsley green") | |
4203 | Part384.Locked = true | |
4204 | Part384.Size = Vector3.new(5, 2, 2) | |
4205 | Part384.CFrame = CFrame.new(40.2879143, 2.51143408, 120.551735, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048) | |
4206 | Part384.BottomSurface = Enum.SurfaceType.Smooth | |
4207 | Part384.TopSurface = Enum.SurfaceType.Smooth | |
4208 | Part384.Color = Color3.new(0.172549, 0.396078, 0.113725) | |
4209 | Part384.Position = Vector3.new(40.2879143, 2.51143408, 120.551735) | |
4210 | Part384.Color = Color3.new(0.172549, 0.396078, 0.113725) | |
4211 | ClickDetector385.Parent = Part384 | |
4212 | ClickDetector385.MaxActivationDistance = 4 | |
4213 | Script386.Name = "Flip when clicked" | |
4214 | Script386.Parent = Part384 | |
4215 | table.insert(cors,sandbox(Script386,function() | |
4216 | debounce = false | |
4217 | function onClicked() | |
4218 | if script.Value.Value == false then | |
4219 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
4220 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000) | |
4221 | script.Value.Value = true | |
4222 | script.Parent.Material = "Neon" | |
4223 | elseif script.Value.Value == true then | |
4224 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
4225 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0) | |
4226 | script.Value.Value = false | |
4227 | script.Parent.Material = "DiamondPlate" | |
4228 | end | |
4229 | end | |
4230 | script.Parent.ClickDetector.MouseClick:connect(onClicked) | |
4231 | end)) | |
4232 | BoolValue387.Parent = Script386 | |
4233 | Motor6D388.Parent = Part384 | |
4234 | Motor6D388.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036) | |
4235 | Motor6D388.Part0 = Part384 | |
4236 | Motor6D388.Part1 = Part395 | |
4237 | Sound389.Name = "Sound3" | |
4238 | Sound389.Parent = Part384 | |
4239 | Sound389.SoundId = "rbxassetid://191040613" | |
4240 | Sound389.Volume = 1 | |
4241 | Fire390.Name = "Fire2" | |
4242 | Fire390.Parent = Part384 | |
4243 | Fire390.Size = 10 | |
4244 | Fire390.Enabled = false | |
4245 | Fire390.Heat = -5 | |
4246 | Fire390.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4247 | Script391.Name = "On contact, thud" | |
4248 | Script391.Parent = Part384 | |
4249 | table.insert(cors,sandbox(Script391,function() | |
4250 | function onTouched(hit) | |
4251 | if hit.CanCollide == false then return end | |
4252 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4253 | if HitPower >= 600 then | |
4254 | script.Parent.Fire2.Enabled = true | |
4255 | script.Parent.Sound3:Play() | |
4256 | wait(0.2) | |
4257 | script.Parent.Fire2.Enabled = false | |
4258 | end | |
4259 | end | |
4260 | script.Parent.Touched:connect(onTouched) | |
4261 | end)) | |
4262 | SpotLight392.Parent = Part384 | |
4263 | SpotLight392.Color = Color3.new(0, 1, 0) | |
4264 | SpotLight392.Brightness = 60 | |
4265 | SpotLight392.Range = 60 | |
4266 | SpotLight392.Shadows = true | |
4267 | SpotLight392.Color = Color3.new(0, 1, 0) | |
4268 | Motor6D393.Parent = Part384 | |
4269 | Motor6D393.C1 = CFrame.new(7.56978989e-06, -3.49980855, 0.0366503, 1.00000083, -6.66775577e-08, -6.9738403e-06, 1.39410474e-07, 0.999945164, 0.0104715852, 6.97276209e-06, -0.0104715796, 0.999945641) | |
4270 | Motor6D393.Part0 = Part384 | |
4271 | Motor6D393.Part1 = Part461 | |
4272 | Part394.Name = "Backrest" | |
4273 | Part394.Parent = Model366 | |
4274 | Part394.Material = Enum.Material.Fabric | |
4275 | Part394.BrickColor = BrickColor.new("Lime green") | |
4276 | Part394.Locked = true | |
4277 | Part394.Size = Vector3.new(3, 2, 1) | |
4278 | Part394.CFrame = CFrame.new(40.2881622, 3.51227045, 124.055931, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012) | |
4279 | Part394.BottomSurface = Enum.SurfaceType.Smooth | |
4280 | Part394.TopSurface = Enum.SurfaceType.Smooth | |
4281 | Part394.Color = Color3.new(0, 1, 0) | |
4282 | Part394.Position = Vector3.new(40.2881622, 3.51227045, 124.055931) | |
4283 | Part394.Color = Color3.new(0, 1, 0) | |
4284 | Part395.Name = "Head" | |
4285 | Part395.Parent = Model366 | |
4286 | Part395.Material = Enum.Material.CorrodedMetal | |
4287 | Part395.BrickColor = BrickColor.new("Lime green") | |
4288 | Part395.Locked = true | |
4289 | Part395.Size = Vector3.new(3, 3, 2) | |
4290 | Part395.CFrame = CFrame.new(40.2878685, 3.01119828, 118.551369, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083) | |
4291 | Part395.BottomSurface = Enum.SurfaceType.Smooth | |
4292 | Part395.TopSurface = Enum.SurfaceType.Smooth | |
4293 | Part395.Color = Color3.new(0, 1, 0) | |
4294 | Part395.Position = Vector3.new(40.2878685, 3.01119828, 118.551369) | |
4295 | Part395.Color = Color3.new(0, 1, 0) | |
4296 | Script396.Name = "On contact, damage" | |
4297 | Script396.Parent = Part395 | |
4298 | table.insert(cors,sandbox(Script396,function() | |
4299 | function onTouched(hit) | |
4300 | if hit.Parent == nil then return end | |
4301 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4302 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4303 | if HitPower <= 150 then return end | |
4304 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower) | |
4305 | end | |
4306 | script.Parent.Touched:connect(onTouched) | |
4307 | end)) | |
4308 | Sound397.Parent = Part395 | |
4309 | Sound397.SoundId = "rbxassetid://356659053" | |
4310 | Sound397.Volume = 1 | |
4311 | Script398.Name = "On contact, clang" | |
4312 | Script398.Parent = Part395 | |
4313 | table.insert(cors,sandbox(Script398,function() | |
4314 | function onTouched(hit) | |
4315 | if hit.CanCollide == false then return end | |
4316 | script.Parent.Sound:Play() | |
4317 | end | |
4318 | script.Parent.Touched:connect(onTouched) | |
4319 | end)) | |
4320 | Script399.Name = "On contact, explode" | |
4321 | Script399.Parent = Part395 | |
4322 | table.insert(cors,sandbox(Script399,function() | |
4323 | function onTouched(hit) | |
4324 | if hit.CanCollide == false then return end | |
4325 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4326 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4327 | if HitPower >= 1200 then | |
4328 | local BANG = Instance.new("Explosion") | |
4329 | BANG.Position = script.Parent.Position | |
4330 | BANG.DestroyJointRadiusPercent = 0 | |
4331 | BANG.Parent = script.Parent | |
4332 | script.Parent.Sound2:Play() | |
4333 | print "# SUPREME SLAM #" | |
4334 | end | |
4335 | end | |
4336 | script.Parent.Touched:connect(onTouched) | |
4337 | end)) | |
4338 | Sound400.Name = "Sound2" | |
4339 | Sound400.Parent = Part395 | |
4340 | Sound400.SoundId = "rbxassetid://168485325" | |
4341 | Sound400.Volume = 1 | |
4342 | Model401.Name = "Bunch of scripts" | |
4343 | Model401.Parent = Part395 | |
4344 | Script402.Name = "On contact, hint 151-299 dmg" | |
4345 | Script402.Parent = Model401 | |
4346 | table.insert(cors,sandbox(Script402,function() | |
4347 | function onTouched(hit) | |
4348 | if hit.Parent == nil then return end | |
4349 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4350 | if hit.Parent.Humanoid.Health == 0 then return end | |
4351 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
4352 | if HitPower >= 151 and HitPower <= 299 then | |
4353 | local hint = Instance.new("Hint") | |
4354 | hint.Parent = script | |
4355 | hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."." | |
4356 | wait(2) | |
4357 | hint:Destroy() | |
4358 | else return end | |
4359 | end | |
4360 | script.Parent.Parent.Touched:connect(onTouched) | |
4361 | end)) | |
4362 | Script403.Name = "On contact, hint 300-599 dmg" | |
4363 | Script403.Parent = Model401 | |
4364 | table.insert(cors,sandbox(Script403,function() | |
4365 | function onTouched(hit) | |
4366 | if hit.Parent == nil then return end | |
4367 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4368 | if hit.Parent.Humanoid.Health == 0 then return end | |
4369 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
4370 | if HitPower >= 300 and HitPower <= 599 then | |
4371 | local hint = Instance.new("Hint") | |
4372 | hint.Parent = script | |
4373 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."." | |
4374 | wait(2) | |
4375 | hint:Destroy() | |
4376 | else return end | |
4377 | end | |
4378 | script.Parent.Parent.Touched:connect(onTouched) | |
4379 | end)) | |
4380 | Script404.Name = "On contact, hint 600-899 dmg" | |
4381 | Script404.Parent = Model401 | |
4382 | table.insert(cors,sandbox(Script404,function() | |
4383 | function onTouched(hit) | |
4384 | if hit.Parent == nil then return end | |
4385 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4386 | if hit.Parent.Humanoid.Health == 0 then return end | |
4387 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
4388 | if HitPower >= 600 and HitPower <= 899 then | |
4389 | local hint = Instance.new("Hint") | |
4390 | hint.Parent = script | |
4391 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."." | |
4392 | wait(2) | |
4393 | hint:Destroy() | |
4394 | else return end | |
4395 | end | |
4396 | script.Parent.Parent.Touched:connect(onTouched) | |
4397 | end)) | |
4398 | Script405.Name = "On contact, hint 900-1199 dmg" | |
4399 | Script405.Parent = Model401 | |
4400 | table.insert(cors,sandbox(Script405,function() | |
4401 | function onTouched(hit) | |
4402 | if hit.Parent == nil then return end | |
4403 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4404 | if hit.Parent.Humanoid.Health == 0 then return end | |
4405 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
4406 | if HitPower >= 900 and HitPower <= 1199 then | |
4407 | local hint = Instance.new("Hint") | |
4408 | hint.Parent = script | |
4409 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."." | |
4410 | wait(2) | |
4411 | hint:Destroy() | |
4412 | else return end | |
4413 | end | |
4414 | script.Parent.Parent.Touched:connect(onTouched) | |
4415 | end)) | |
4416 | Script406.Name = "On contact, hint 1200 or greater dmg" | |
4417 | Script406.Parent = Model401 | |
4418 | table.insert(cors,sandbox(Script406,function() | |
4419 | function onTouched(hit) | |
4420 | if hit.Parent == nil then return end | |
4421 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
4422 | if hit.Parent.Humanoid.Health == 0 then return end | |
4423 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
4424 | if HitPower >= 1200 then | |
4425 | local hint = Instance.new("Hint") | |
4426 | hint.Parent = script | |
4427 | hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!" | |
4428 | wait(2) | |
4429 | hint:Destroy() | |
4430 | else return end | |
4431 | end | |
4432 | script.Parent.Parent.Touched:connect(onTouched) | |
4433 | end)) | |
4434 | Sound407.Name = "Sound3" | |
4435 | Sound407.Parent = Part395 | |
4436 | Sound407.SoundId = "rbxassetid://191040613" | |
4437 | Sound407.Volume = 1 | |
4438 | Script408.Name = "On contact, break stuff" | |
4439 | Script408.Parent = Part395 | |
4440 | table.insert(cors,sandbox(Script408,function() | |
4441 | function onTouched(hit) | |
4442 | if hit.Parent == nil then return end | |
4443 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end | |
4444 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4445 | if HitPower >= 400 then hit:BreakJoints() | |
4446 | end | |
4447 | end | |
4448 | script.Parent.Touched:connect(onTouched) | |
4449 | end)) | |
4450 | Fire409.Name = "Fire2" | |
4451 | Fire409.Parent = Part395 | |
4452 | Fire409.Size = 10 | |
4453 | Fire409.Enabled = false | |
4454 | Fire409.Heat = -5 | |
4455 | Fire409.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4456 | Script410.Name = "On contact, thud" | |
4457 | Script410.Parent = Part395 | |
4458 | table.insert(cors,sandbox(Script410,function() | |
4459 | function onTouched(hit) | |
4460 | if hit.CanCollide == false then return end | |
4461 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4462 | if HitPower >= 600 then | |
4463 | script.Parent.Fire2.Enabled = true | |
4464 | script.Parent.Sound3:Play() | |
4465 | wait(0.2) | |
4466 | script.Parent.Fire2.Enabled = false | |
4467 | end | |
4468 | end | |
4469 | script.Parent.Touched:connect(onTouched) | |
4470 | end)) | |
4471 | Humanoid411.Parent = Model366 | |
4472 | Humanoid411.RightLeg = Part478 | |
4473 | Humanoid411.LeftLeg = Part468 | |
4474 | Humanoid411.Torso = Part384 | |
4475 | Humanoid411.Health = 1200 | |
4476 | Humanoid411.MaxHealth = 1200 | |
4477 | Script412.Name = "Auto sit" | |
4478 | Script412.Parent = Humanoid411 | |
4479 | table.insert(cors,sandbox(Script412,function() | |
4480 | while true do | |
4481 | wait(0.1) | |
4482 | script.Parent.Sit = true | |
4483 | end | |
4484 | end)) | |
4485 | Script413.Name = "When demolished, name, disable bumper, destroy cannon and print to log" | |
4486 | Script413.Parent = Humanoid411 | |
4487 | table.insert(cors,sandbox(Script413,function() | |
4488 | function Die() | |
4489 | print (script.Parent.Parent.Name.." GOT WRECKED!") | |
4490 | if script.Parent.Parent:FindFirstChild("Head") == nil then return end | |
4491 | script.Parent.Parent.Head["On contact, damage"].Disabled = true | |
4492 | script.Parent.Parent.Head["On contact, explode"].Disabled = true | |
4493 | script.Parent.Parent.Head["On contact, break stuff"].Disabled = true | |
4494 | script.Parent.Parent.Head["Bunch of scripts"]:Destroy() | |
4495 | if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end | |
4496 | script.Parent.Parent["FIRE!"]:Destroy() | |
4497 | wait(4) | |
4498 | script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <" | |
4499 | end | |
4500 | ||
4501 | script.Parent.Died:connect(Die) | |
4502 | end)) | |
4503 | Script414.Name = "When demolished, wait 3 min then remove" | |
4504 | Script414.Parent = Humanoid411 | |
4505 | table.insert(cors,sandbox(Script414,function() | |
4506 | function Die() | |
4507 | wait(180) | |
4508 | script.Parent.Parent:remove() | |
4509 | end | |
4510 | ||
4511 | script.Parent.Died:connect(Die) | |
4512 | end)) | |
4513 | Script415.Name = "When demolished, sound" | |
4514 | Script415.Parent = Humanoid411 | |
4515 | table.insert(cors,sandbox(Script415,function() | |
4516 | function Die() | |
4517 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
4518 | script.Parent.Parent.Base.Sound:Play() | |
4519 | script.Parent.Parent.Base.Sound2:Play() | |
4520 | end | |
4521 | script.Parent.Died:connect(Die) | |
4522 | end)) | |
4523 | Script416.Name = "Auto heal" | |
4524 | Script416.Parent = Humanoid411 | |
4525 | table.insert(cors,sandbox(Script416,function() | |
4526 | while true do | |
4527 | if script.Parent.Health == script.Parent.MaxHealth then return end | |
4528 | if script.Parent.Health == 0 then return end | |
4529 | script.Parent.Health = script.Parent.Health + 3 | |
4530 | wait(0.5) | |
4531 | end | |
4532 | end)) | |
4533 | Script417.Name = "When demolished, hollywood" | |
4534 | Script417.Parent = Humanoid411 | |
4535 | table.insert(cors,sandbox(Script417,function() | |
4536 | function Die() | |
4537 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
4538 | e = Instance.new("Explosion") | |
4539 | e.Parent = script.Parent.Parent | |
4540 | e.DestroyJointRadiusPercent = 1 | |
4541 | e.Position = script.Parent.Parent.Base.Position | |
4542 | e.ExplosionType = "NoCraters" | |
4543 | e.BlastRadius = 2.6 | |
4544 | e.BlastPressure = 1000000 | |
4545 | f = script.Parent.Parent.Base.Fire | |
4546 | f.Enabled = true | |
4547 | wait(0.2) | |
4548 | f.Size = f.Size - 1 | |
4549 | wait(0.2) | |
4550 | f.Size = f.Size - 1 | |
4551 | wait(0.2) | |
4552 | f.Size = f.Size - 1 | |
4553 | wait(0.2) | |
4554 | f.Size = f.Size - 1 | |
4555 | wait(0.2) | |
4556 | f.Size = f.Size - 1 | |
4557 | wait(0.2) | |
4558 | f.Size = f.Size - 1 | |
4559 | wait(0.2) | |
4560 | f.Size = f.Size - 1 | |
4561 | wait(0.2) | |
4562 | f.Size = f.Size - 1 | |
4563 | wait(0.2) | |
4564 | f.Size = f.Size - 1 | |
4565 | wait(0.2) | |
4566 | f.Size = f.Size - 1 | |
4567 | wait(0.2) | |
4568 | f.Size = f.Size - 1 | |
4569 | wait(0.2) | |
4570 | f.Size = f.Size - 1 | |
4571 | wait(0.2) | |
4572 | f.Size = f.Size - 1 | |
4573 | wait(0.2) | |
4574 | f.Size = f.Size - 1 | |
4575 | wait(0.2) | |
4576 | f.Size = f.Size - 1 | |
4577 | wait(0.2) | |
4578 | f.Size = f.Size - 1 | |
4579 | wait(0.2) | |
4580 | f.Size = f.Size - 1 | |
4581 | wait(0.2) | |
4582 | f.Size = f.Size - 1 | |
4583 | wait(0.2) | |
4584 | f.Size = f.Size - 1 | |
4585 | wait(0.2) | |
4586 | f.Size = f.Size - 1 | |
4587 | wait(0.2) | |
4588 | f.Size = f.Size - 1 | |
4589 | wait(0.2) | |
4590 | f.Size = f.Size - 1 | |
4591 | wait(0.2) | |
4592 | f.Size = f.Size - 1 | |
4593 | wait(0.2) | |
4594 | f.Size = f.Size - 1 | |
4595 | end | |
4596 | script.Parent.Died:connect(Die) | |
4597 | end)) | |
4598 | Script418.Name = "When demolished, remove the engine" | |
4599 | Script418.Parent = Humanoid411 | |
4600 | table.insert(cors,sandbox(Script418,function() | |
4601 | function Die() | |
4602 | if script.Parent.Parent:FindFirstChild("Engine") == nil then return end | |
4603 | script.Parent.Parent.Engine:Destroy() | |
4604 | end | |
4605 | script.Parent.Died:connect(Die) | |
4606 | end)) | |
4607 | Script419.Name = "When demolished, disable chair" | |
4608 | Script419.Parent = Humanoid411 | |
4609 | table.insert(cors,sandbox(Script419,function() | |
4610 | function Die() | |
4611 | if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end | |
4612 | script.Parent.Parent["Car Seat"].Disabled = true | |
4613 | end | |
4614 | ||
4615 | script.Parent.Died:connect(Die) | |
4616 | end)) | |
4617 | Script420.Name = "When demolished, hint" | |
4618 | Script420.Parent = Humanoid411 | |
4619 | table.insert(cors,sandbox(Script420,function() | |
4620 | function Die() | |
4621 | wait(2) | |
4622 | local hint = Instance.new("Hint") | |
4623 | hint.Parent = script.Parent.Parent | |
4624 | hint.Text = script.Parent.Parent.Name.." has been wrecked!" | |
4625 | wait(1) | |
4626 | hint:Destroy() | |
4627 | end | |
4628 | script.Parent.Died:connect(Die) | |
4629 | end)) | |
4630 | Script421.Name = "When demolished, remove instantly if bumper gone." | |
4631 | Script421.Parent = Humanoid411 | |
4632 | table.insert(cors,sandbox(Script421,function() | |
4633 | function Die() | |
4634 | wait(6) | |
4635 | if script.Parent.Parent:FindFirstChild("Head") == nil then | |
4636 | print ("Looks like "..script.Parent.Parent.Name.." got nil.") | |
4637 | script.Parent.Parent:Destroy() | |
4638 | elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end | |
4639 | end | |
4640 | script.Parent.Died:connect(Die) | |
4641 | end)) | |
4642 | Script422.Name = "When demolished, disable light" | |
4643 | Script422.Parent = Humanoid411 | |
4644 | table.insert(cors,sandbox(Script422,function() | |
4645 | function Die() | |
4646 | if script.Parent.Parent:FindFirstChild("Torso") == nil then return end | |
4647 | script.Parent.Parent.Torso.SpotLight.Enabled = false | |
4648 | end | |
4649 | ||
4650 | script.Parent.Died:connect(Die) | |
4651 | end)) | |
4652 | Part423.Name = "Neon Flag" | |
4653 | Part423.Parent = Model366 | |
4654 | Part423.Material = Enum.Material.Neon | |
4655 | Part423.BrickColor = BrickColor.new("Lime green") | |
4656 | Part423.Rotation = Vector3.new(180, 0, 180) | |
4657 | Part423.Locked = true | |
4658 | Part423.Size = Vector3.new(1, 2, 3) | |
4659 | Part423.CFrame = CFrame.new(40.2877922, 4.71094513, 127.057922, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107) | |
4660 | Part423.BottomSurface = Enum.SurfaceType.Smooth | |
4661 | Part423.TopSurface = Enum.SurfaceType.Smooth | |
4662 | Part423.Color = Color3.new(0, 1, 0) | |
4663 | Part423.Position = Vector3.new(40.2877922, 4.71094513, 127.057922) | |
4664 | Part423.Orientation = Vector3.new(0, 180, 0) | |
4665 | Part423.Color = Color3.new(0, 1, 0) | |
4666 | Sound424.Parent = Part423 | |
4667 | Sound424.Pitch = 1.5 | |
4668 | Sound424.SoundId = "rbxassetid://356659053" | |
4669 | Sound424.Volume = 1 | |
4670 | Script425.Name = "On contact, sound" | |
4671 | Script425.Parent = Part423 | |
4672 | table.insert(cors,sandbox(Script425,function() | |
4673 | function onTouched(hit) | |
4674 | if hit.CanCollide == false then return end | |
4675 | script.Parent.Sound:Play() | |
4676 | end | |
4677 | script.Parent.Touched:connect(onTouched) | |
4678 | end)) | |
4679 | Script426.Name = "On contact, heal" | |
4680 | Script426.Parent = Part423 | |
4681 | table.insert(cors,sandbox(Script426,function() | |
4682 | function onTouched() | |
4683 | script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3 | |
4684 | end | |
4685 | script.Parent.Touched:connect(onTouched) | |
4686 | end)) | |
4687 | Sound427.Name = "Sound3" | |
4688 | Sound427.Parent = Part423 | |
4689 | Sound427.SoundId = "rbxassetid://191040613" | |
4690 | Sound427.Volume = 1 | |
4691 | Fire428.Name = "Fire2" | |
4692 | Fire428.Parent = Part423 | |
4693 | Fire428.Size = 10 | |
4694 | Fire428.Enabled = false | |
4695 | Fire428.Heat = -5 | |
4696 | Fire428.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4697 | Script429.Name = "On contact, thud" | |
4698 | Script429.Parent = Part423 | |
4699 | table.insert(cors,sandbox(Script429,function() | |
4700 | function onTouched(hit) | |
4701 | if hit.CanCollide == false then return end | |
4702 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4703 | if HitPower >= 600 then | |
4704 | script.Parent.Fire2.Enabled = true | |
4705 | script.Parent.Sound3:Play() | |
4706 | wait(0.2) | |
4707 | script.Parent.Fire2.Enabled = false | |
4708 | end | |
4709 | end | |
4710 | script.Parent.Touched:connect(onTouched) | |
4711 | end)) | |
4712 | Part430.Name = "Engine" | |
4713 | Part430.Parent = Model366 | |
4714 | Part430.Material = Enum.Material.CorrodedMetal | |
4715 | Part430.BrickColor = BrickColor.new("Parsley green") | |
4716 | Part430.Locked = true | |
4717 | Part430.Size = Vector3.new(3, 2.19999981, 2) | |
4718 | Part430.CFrame = CFrame.new(40.2880173, 2.6107626, 125.557503, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006) | |
4719 | Part430.BottomSurface = Enum.SurfaceType.Smooth | |
4720 | Part430.TopSurface = Enum.SurfaceType.Smooth | |
4721 | Part430.Color = Color3.new(0.172549, 0.396078, 0.113725) | |
4722 | Part430.Position = Vector3.new(40.2880173, 2.6107626, 125.557503) | |
4723 | Part430.Color = Color3.new(0.172549, 0.396078, 0.113725) | |
4724 | Sound431.Name = "Engine" | |
4725 | Sound431.Parent = Part430 | |
4726 | Sound431.Pitch = 0.76000678539276 | |
4727 | Sound431.SoundId = "rbxassetid://130091914" | |
4728 | Sound431.Volume = 0.69999998807907 | |
4729 | Sound431.Looped = true | |
4730 | Script432.Name = "SoundScript" | |
4731 | Script432.Parent = Part430 | |
4732 | table.insert(cors,sandbox(Script432,function() | |
4733 | v = script.Parent.Parent["Car Seat"] | |
4734 | e = script.Parent.Engine | |
4735 | maxrevs = script.Parent.Advanced.MaxRevs.Value | |
4736 | minrevs = script.Parent.Advanced.MinRevs.Value | |
4737 | mod = v.MaxSpeed/130 | |
4738 | e:Play() | |
4739 | while true do | |
4740 | wait(0.1) | |
4741 | mod = v.MaxSpeed/150 | |
4742 | if v.Throttle == 1 and e.Pitch < maxrevs then | |
4743 | e.Pitch = e.Pitch + (0.09/mod) | |
4744 | end | |
4745 | if v.Throttle == 0 and e.Pitch > minrevs then | |
4746 | e.Pitch = e.Pitch - (0.17/mod) | |
4747 | end | |
4748 | if v.Throttle == -1 and e.Pitch > minrevs then | |
4749 | e.Pitch = e.Pitch - (0.22/mod) | |
4750 | end | |
4751 | end | |
4752 | end)) | |
4753 | Configuration433.Name = "Advanced" | |
4754 | Configuration433.Parent = Part430 | |
4755 | NumberValue434.Name = "EngineVolume" | |
4756 | NumberValue434.Parent = Configuration433 | |
4757 | NumberValue434.Value = 0.7 | |
4758 | NumberValue435.Name = "MaxRevs" | |
4759 | NumberValue435.Parent = Configuration433 | |
4760 | NumberValue435.Value = 1.79 | |
4761 | NumberValue436.Name = "MinRevs" | |
4762 | NumberValue436.Parent = Configuration433 | |
4763 | NumberValue436.Value = 0.9 | |
4764 | Configuration437.Parent = Part430 | |
4765 | NumberValue438.Name = "MaxSpeed" | |
4766 | NumberValue438.Parent = Configuration437 | |
4767 | NumberValue438.Value = 150 | |
4768 | Motor6D439.Parent = Part430 | |
4769 | Motor6D439.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048) | |
4770 | Motor6D439.Part0 = Part430 | |
4771 | Motor6D439.Part1 = Part423 | |
4772 | Sound440.Name = "Sound3" | |
4773 | Sound440.Parent = Part430 | |
4774 | Sound440.SoundId = "rbxassetid://191040613" | |
4775 | Sound440.Volume = 1 | |
4776 | Fire441.Name = "Fire2" | |
4777 | Fire441.Parent = Part430 | |
4778 | Fire441.Size = 10 | |
4779 | Fire441.Enabled = false | |
4780 | Fire441.Heat = -5 | |
4781 | Fire441.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
4782 | Script442.Name = "On contact, thud" | |
4783 | Script442.Parent = Part430 | |
4784 | table.insert(cors,sandbox(Script442,function() | |
4785 | function onTouched(hit) | |
4786 | if hit.CanCollide == false then return end | |
4787 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
4788 | if HitPower >= 600 then | |
4789 | script.Parent.Fire2.Enabled = true | |
4790 | script.Parent.Sound3:Play() | |
4791 | wait(0.2) | |
4792 | script.Parent.Fire2.Enabled = false | |
4793 | end | |
4794 | end | |
4795 | script.Parent.Touched:connect(onTouched) | |
4796 | end)) | |
4797 | ForceField443.Parent = Model366 | |
4798 | Script444.Name = "Wait 10 sec then remove" | |
4799 | Script444.Parent = ForceField443 | |
4800 | table.insert(cors,sandbox(Script444,function() | |
4801 | wait(10) | |
4802 | script.Parent:Destroy() | |
4803 | end)) | |
4804 | Part445.Name = "Wheel" | |
4805 | Part445.Parent = Model366 | |
4806 | Part445.Material = Enum.Material.Concrete | |
4807 | Part445.BrickColor = BrickColor.new("Dark stone grey") | |
4808 | Part445.Locked = true | |
4809 | Part445.Shape = Enum.PartType.Cylinder | |
4810 | Part445.Size = Vector3.new(2, 3, 3) | |
4811 | Part445.CFrame = CFrame.new(43.7879944, 1.51001406, 120.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
4812 | Part445.BottomSurface = Enum.SurfaceType.Smooth | |
4813 | Part445.LeftSurface = Enum.SurfaceType.Hinge | |
4814 | Part445.TopSurface = Enum.SurfaceType.Smooth | |
4815 | Part445.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4816 | Part445.Position = Vector3.new(43.7879944, 1.51001406, 120.555038) | |
4817 | Part445.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4818 | Sound446.Name = "Sound3" | |
4819 | Sound446.Parent = Part445 | |
4820 | Sound446.SoundId = "rbxassetid://262353320" | |
4821 | Sound446.Volume = 1 | |
4822 | Fire447.Parent = Part445 | |
4823 | Fire447.Color = Color3.new(1, 1, 1) | |
4824 | Fire447.Enabled = false | |
4825 | Fire447.Heat = -3 | |
4826 | Fire447.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
4827 | Fire447.Color = Color3.new(1, 1, 1) | |
4828 | Script448.Name = "On contact, screech" | |
4829 | Script448.Parent = Part445 | |
4830 | table.insert(cors,sandbox(Script448,function() | |
4831 | function onTouched(hit) | |
4832 | if hit.CanCollide == false then return end | |
4833 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
4834 | if HitPower >= 4075 then | |
4835 | script.Parent.Fire.Enabled = true | |
4836 | script.Parent.Sound3:Play() | |
4837 | wait(0.1) | |
4838 | script.Parent.Fire.Enabled = false | |
4839 | end | |
4840 | end | |
4841 | script.Parent.Touched:connect(onTouched) | |
4842 | end)) | |
4843 | Part449.Name = "Wheel" | |
4844 | Part449.Parent = Model366 | |
4845 | Part449.Material = Enum.Material.Concrete | |
4846 | Part449.BrickColor = BrickColor.new("Dark stone grey") | |
4847 | Part449.Locked = true | |
4848 | Part449.Shape = Enum.PartType.Cylinder | |
4849 | Part449.Size = Vector3.new(2, 3, 3) | |
4850 | Part449.CFrame = CFrame.new(36.7879791, 1.51001406, 125.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
4851 | Part449.BottomSurface = Enum.SurfaceType.Smooth | |
4852 | Part449.RightSurface = Enum.SurfaceType.Hinge | |
4853 | Part449.TopSurface = Enum.SurfaceType.Smooth | |
4854 | Part449.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4855 | Part449.Position = Vector3.new(36.7879791, 1.51001406, 125.555023) | |
4856 | Part449.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4857 | Sound450.Name = "Sound3" | |
4858 | Sound450.Parent = Part449 | |
4859 | Sound450.SoundId = "rbxassetid://262353320" | |
4860 | Sound450.Volume = 1 | |
4861 | Fire451.Parent = Part449 | |
4862 | Fire451.Color = Color3.new(1, 1, 1) | |
4863 | Fire451.Enabled = false | |
4864 | Fire451.Heat = -3 | |
4865 | Fire451.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
4866 | Fire451.Color = Color3.new(1, 1, 1) | |
4867 | Script452.Name = "On contact, screech" | |
4868 | Script452.Parent = Part449 | |
4869 | table.insert(cors,sandbox(Script452,function() | |
4870 | function onTouched(hit) | |
4871 | if hit.CanCollide == false then return end | |
4872 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
4873 | if HitPower >= 4075 then | |
4874 | script.Parent.Fire.Enabled = true | |
4875 | script.Parent.Sound3:Play() | |
4876 | wait(0.1) | |
4877 | script.Parent.Fire.Enabled = false | |
4878 | end | |
4879 | end | |
4880 | script.Parent.Touched:connect(onTouched) | |
4881 | end)) | |
4882 | Part453.Name = "Wheel" | |
4883 | Part453.Parent = Model366 | |
4884 | Part453.Material = Enum.Material.Concrete | |
4885 | Part453.BrickColor = BrickColor.new("Dark stone grey") | |
4886 | Part453.Locked = true | |
4887 | Part453.Shape = Enum.PartType.Cylinder | |
4888 | Part453.Size = Vector3.new(2, 3, 3) | |
4889 | Part453.CFrame = CFrame.new(43.7879791, 1.51001406, 125.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
4890 | Part453.BottomSurface = Enum.SurfaceType.Smooth | |
4891 | Part453.LeftSurface = Enum.SurfaceType.Hinge | |
4892 | Part453.TopSurface = Enum.SurfaceType.Smooth | |
4893 | Part453.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4894 | Part453.Position = Vector3.new(43.7879791, 1.51001406, 125.555038) | |
4895 | Part453.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4896 | Sound454.Name = "Sound3" | |
4897 | Sound454.Parent = Part453 | |
4898 | Sound454.SoundId = "rbxassetid://262353320" | |
4899 | Sound454.Volume = 1 | |
4900 | Fire455.Parent = Part453 | |
4901 | Fire455.Color = Color3.new(1, 1, 1) | |
4902 | Fire455.Enabled = false | |
4903 | Fire455.Heat = -3 | |
4904 | Fire455.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
4905 | Fire455.Color = Color3.new(1, 1, 1) | |
4906 | Script456.Name = "On contact, screech" | |
4907 | Script456.Parent = Part453 | |
4908 | table.insert(cors,sandbox(Script456,function() | |
4909 | function onTouched(hit) | |
4910 | if hit.CanCollide == false then return end | |
4911 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
4912 | if HitPower >= 4075 then | |
4913 | script.Parent.Fire.Enabled = true | |
4914 | script.Parent.Sound3:Play() | |
4915 | wait(0.1) | |
4916 | script.Parent.Fire.Enabled = false | |
4917 | end | |
4918 | end | |
4919 | script.Parent.Touched:connect(onTouched) | |
4920 | end)) | |
4921 | Part457.Name = "Wheel" | |
4922 | Part457.Parent = Model366 | |
4923 | Part457.Material = Enum.Material.Concrete | |
4924 | Part457.BrickColor = BrickColor.new("Dark stone grey") | |
4925 | Part457.Locked = true | |
4926 | Part457.Shape = Enum.PartType.Cylinder | |
4927 | Part457.Size = Vector3.new(2, 3, 3) | |
4928 | Part457.CFrame = CFrame.new(36.7879944, 1.51001406, 120.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
4929 | Part457.BottomSurface = Enum.SurfaceType.Smooth | |
4930 | Part457.RightSurface = Enum.SurfaceType.Hinge | |
4931 | Part457.TopSurface = Enum.SurfaceType.Smooth | |
4932 | Part457.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4933 | Part457.Position = Vector3.new(36.7879944, 1.51001406, 120.555023) | |
4934 | Part457.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4935 | Sound458.Name = "Sound3" | |
4936 | Sound458.Parent = Part457 | |
4937 | Sound458.SoundId = "rbxassetid://262353320" | |
4938 | Sound458.Volume = 1 | |
4939 | Fire459.Parent = Part457 | |
4940 | Fire459.Color = Color3.new(1, 1, 1) | |
4941 | Fire459.Enabled = false | |
4942 | Fire459.Heat = -3 | |
4943 | Fire459.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
4944 | Fire459.Color = Color3.new(1, 1, 1) | |
4945 | Script460.Name = "On contact, screech" | |
4946 | Script460.Parent = Part457 | |
4947 | table.insert(cors,sandbox(Script460,function() | |
4948 | function onTouched(hit) | |
4949 | if hit.CanCollide == false then return end | |
4950 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
4951 | if HitPower >= 4075 then | |
4952 | script.Parent.Fire.Enabled = true | |
4953 | script.Parent.Sound3:Play() | |
4954 | wait(0.1) | |
4955 | script.Parent.Fire.Enabled = false | |
4956 | end | |
4957 | end | |
4958 | script.Parent.Touched:connect(onTouched) | |
4959 | end)) | |
4960 | Part461.Name = "FIRE!" | |
4961 | Part461.Parent = Model366 | |
4962 | Part461.Material = Enum.Material.DiamondPlate | |
4963 | Part461.BrickColor = BrickColor.new("Lime green") | |
4964 | Part461.Rotation = Vector3.new(0.599999964, 0, 0) | |
4965 | Part461.Locked = true | |
4966 | Part461.Size = Vector3.new(1, 1, 2) | |
4967 | Part461.CFrame = CFrame.new(40.2879066, 6.01143456, 120.551735, 1.00000167, -2.9046987e-10, 5.00222086e-12, -2.90524771e-10, 0.999945164, -0.0104717826, 2.27373675e-12, 0.0104717938, 0.999946117) | |
4968 | Part461.BottomSurface = Enum.SurfaceType.Smooth | |
4969 | Part461.TopSurface = Enum.SurfaceType.Smooth | |
4970 | Part461.Color = Color3.new(0, 1, 0) | |
4971 | Part461.Position = Vector3.new(40.2879066, 6.01143456, 120.551735) | |
4972 | Part461.Orientation = Vector3.new(0.599999964, 0, 0) | |
4973 | Part461.Color = Color3.new(0, 1, 0) | |
4974 | Script462.Name = "Fire" | |
4975 | Script462.Parent = Part461 | |
4976 | table.insert(cors,sandbox(Script462,function() | |
4977 | local Colour = script.Parent.Parent.Base.BrickColor | |
4978 | function Clicked() | |
4979 | script.Parent.Sound3:Play() | |
4980 | local Ammo = Instance.new("Part") | |
4981 | Ammo.BrickColor = Colour | |
4982 | Ammo.Material = "Neon" | |
4983 | Ammo.Parent = game.Workspace | |
4984 | Ammo.Velocity = script.Parent.CFrame.lookVector * 1200 | |
4985 | Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6) | |
4986 | Ammo.Size = Vector3.new(3,3,3) | |
4987 | Ammo.Shape = "Ball" | |
4988 | Ammo.Name = script.Parent.Parent.Name.."'s cannonball" | |
4989 | Ammo.TopSurface = "Smooth" | |
4990 | Ammo.BottomSurface = "Smooth" | |
4991 | local explosive = script["On contact, explode"]:Clone() | |
4992 | explosive.Parent = Ammo | |
4993 | explosive.Disabled = false | |
4994 | local damager = script["Hint if humanoid hit and damage"]:Clone() | |
4995 | damager.Parent = Ammo | |
4996 | damager.Disabled = false | |
4997 | local sound = script.Sound:Clone() | |
4998 | sound.Parent = Ammo | |
4999 | script.Parent.BrickColor = BrickColor.new("Really red") | |
5000 | script.Disabled = true | |
5001 | wait(1) | |
5002 | script.Parent.BrickColor = BrickColor.new("New Yeller") | |
5003 | wait(1) | |
5004 | script.Parent.BrickColor = BrickColor.new("Lime green") | |
5005 | script.Disabled = false | |
5006 | end | |
5007 | script.Parent.ClickDetector.MouseClick:connect(Clicked) | |
5008 | end)) | |
5009 | Script463.Name = "On contact, explode" | |
5010 | Script463.Parent = Script462 | |
5011 | Script463.Disabled = true | |
5012 | table.insert(cors,sandbox(Script463,function() | |
5013 | function onTouched(hit) | |
5014 | if hit == nil then return end | |
5015 | if hit.CanCollide == false then return end | |
5016 | script.Parent.Anchored = true | |
5017 | wait(0) | |
5018 | local BOOM = Instance.new("Explosion") | |
5019 | BOOM.Parent = game.Workspace | |
5020 | BOOM.Position = script.Parent.Position | |
5021 | BOOM.BlastRadius = 10 | |
5022 | script.Parent.Sound:Play() | |
5023 | script.Disabled = true | |
5024 | script.Parent.CanCollide = false | |
5025 | script.Parent.Transparency = 1 | |
5026 | wait(2) | |
5027 | script.Parent:Destroy() | |
5028 | end | |
5029 | script.Parent.Touched:connect(onTouched) | |
5030 | end)) | |
5031 | Sound464.Parent = Script462 | |
5032 | Sound464.Pitch = 1.2000000476837 | |
5033 | Sound464.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
5034 | Sound464.Volume = 1 | |
5035 | Script465.Name = "Hint if humanoid hit and damage" | |
5036 | Script465.Parent = Script462 | |
5037 | Script465.Disabled = true | |
5038 | table.insert(cors,sandbox(Script465,function() | |
5039 | function onTouched(hit) | |
5040 | if hit == nil then script.Disabled = true return end | |
5041 | if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end | |
5042 | local damage = math.random(500,5000) | |
5043 | hit.Parent.Humanoid:TakeDamage(damage) | |
5044 | local hint = Instance.new("Hint") | |
5045 | hint.Text = script.Parent.Name.." hit "..hit.Parent.Name.." with "..damage.." damage with an explosion!" | |
5046 | hint.Parent = script | |
5047 | script.Disabled = true | |
5048 | end | |
5049 | script.Parent.Touched:connect(onTouched) | |
5050 | end)) | |
5051 | ClickDetector466.Parent = Part461 | |
5052 | ClickDetector466.MaxActivationDistance = 4 | |
5053 | Sound467.Name = "Sound3" | |
5054 | Sound467.Parent = Part461 | |
5055 | Sound467.SoundId = "rbxassetid://191040613" | |
5056 | Sound467.Volume = 1 | |
5057 | Part468.Name = "Left Leg" | |
5058 | Part468.Parent = Model366 | |
5059 | Part468.Material = Enum.Material.DiamondPlate | |
5060 | Part468.BrickColor = BrickColor.new("Dark stone grey") | |
5061 | Part468.Locked = true | |
5062 | Part468.Size = Vector3.new(1, 1, 3) | |
5063 | Part468.CFrame = CFrame.new(38.2878189, 3.0100317, 127.055313, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036) | |
5064 | Part468.BottomSurface = Enum.SurfaceType.Smooth | |
5065 | Part468.TopSurface = Enum.SurfaceType.Smooth | |
5066 | Part468.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5067 | Part468.Position = Vector3.new(38.2878189, 3.0100317, 127.055313) | |
5068 | Part468.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5069 | Sound469.Name = "Sound3" | |
5070 | Sound469.Parent = Part468 | |
5071 | Sound469.SoundId = "rbxassetid://191040613" | |
5072 | Sound469.Volume = 1 | |
5073 | Script470.Name = "On contact, thud" | |
5074 | Script470.Parent = Part468 | |
5075 | table.insert(cors,sandbox(Script470,function() | |
5076 | function onTouched(hit) | |
5077 | if hit.CanCollide == false then return end | |
5078 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5079 | if HitPower >= 600 then | |
5080 | script.Parent.Fire2.Enabled = true | |
5081 | script.Parent.Sound3:Play() | |
5082 | wait(0.2) | |
5083 | script.Parent.Fire2.Enabled = false | |
5084 | end | |
5085 | end | |
5086 | script.Parent.Touched:connect(onTouched) | |
5087 | end)) | |
5088 | ParticleEmitter471.Parent = Part468 | |
5089 | ParticleEmitter471.Transparency = NumberSequence.new(0,0,1) | |
5090 | ParticleEmitter471.Size = NumberSequence.new(0,1.9999998807907) | |
5091 | ParticleEmitter471.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5092 | ParticleEmitter471.Acceleration = Vector3.new(0, 1, 0) | |
5093 | ParticleEmitter471.Lifetime = NumberRange.new(0.5, 2.5) | |
5094 | ParticleEmitter471.Rate = 10 | |
5095 | ParticleEmitter471.RotSpeed = NumberRange.new(0, 30) | |
5096 | ParticleEmitter471.Speed = NumberRange.new(-3, -3) | |
5097 | ParticleEmitter471.VelocitySpread = 5 | |
5098 | ParticleEmitter471.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5099 | Fire472.Name = "Fire2" | |
5100 | Fire472.Parent = Part468 | |
5101 | Fire472.Size = 10 | |
5102 | Fire472.Enabled = false | |
5103 | Fire472.Heat = -5 | |
5104 | Fire472.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5105 | Part473.Name = "Left Arm" | |
5106 | Part473.Parent = Model366 | |
5107 | Part473.Material = Enum.Material.DiamondPlate | |
5108 | Part473.BrickColor = BrickColor.new("Dark stone grey") | |
5109 | Part473.Locked = true | |
5110 | Part473.Size = Vector3.new(1, 1, 3) | |
5111 | Part473.CFrame = CFrame.new(38.287838, 2.01003361, 126.055252, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036) | |
5112 | Part473.BottomSurface = Enum.SurfaceType.Smooth | |
5113 | Part473.TopSurface = Enum.SurfaceType.Smooth | |
5114 | Part473.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5115 | Part473.Position = Vector3.new(38.287838, 2.01003361, 126.055252) | |
5116 | Part473.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5117 | Sound474.Name = "Sound3" | |
5118 | Sound474.Parent = Part473 | |
5119 | Sound474.SoundId = "rbxassetid://191040613" | |
5120 | Sound474.Volume = 1 | |
5121 | Script475.Name = "On contact, thud" | |
5122 | Script475.Parent = Part473 | |
5123 | table.insert(cors,sandbox(Script475,function() | |
5124 | function onTouched(hit) | |
5125 | if hit.CanCollide == false then return end | |
5126 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5127 | if HitPower >= 600 then | |
5128 | script.Parent.Fire2.Enabled = true | |
5129 | script.Parent.Sound3:Play() | |
5130 | wait(0.2) | |
5131 | script.Parent.Fire2.Enabled = false | |
5132 | end | |
5133 | end | |
5134 | script.Parent.Touched:connect(onTouched) | |
5135 | end)) | |
5136 | ParticleEmitter476.Parent = Part473 | |
5137 | ParticleEmitter476.Transparency = NumberSequence.new(0,0,1) | |
5138 | ParticleEmitter476.Size = NumberSequence.new(0,1.9999998807907) | |
5139 | ParticleEmitter476.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5140 | ParticleEmitter476.Acceleration = Vector3.new(0, 1, 0) | |
5141 | ParticleEmitter476.Lifetime = NumberRange.new(0.5, 2.5) | |
5142 | ParticleEmitter476.Rate = 10 | |
5143 | ParticleEmitter476.RotSpeed = NumberRange.new(0, 30) | |
5144 | ParticleEmitter476.Speed = NumberRange.new(-3, -3) | |
5145 | ParticleEmitter476.VelocitySpread = 5 | |
5146 | ParticleEmitter476.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5147 | Fire477.Name = "Fire2" | |
5148 | Fire477.Parent = Part473 | |
5149 | Fire477.Size = 10 | |
5150 | Fire477.Enabled = false | |
5151 | Fire477.Heat = -5 | |
5152 | Fire477.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5153 | Part478.Name = "Right Leg" | |
5154 | Part478.Parent = Model366 | |
5155 | Part478.Material = Enum.Material.DiamondPlate | |
5156 | Part478.BrickColor = BrickColor.new("Dark stone grey") | |
5157 | Part478.Locked = true | |
5158 | Part478.Size = Vector3.new(1, 1, 3) | |
5159 | Part478.CFrame = CFrame.new(42.2881699, 3.01002979, 127.055382, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036) | |
5160 | Part478.BottomSurface = Enum.SurfaceType.Smooth | |
5161 | Part478.TopSurface = Enum.SurfaceType.Smooth | |
5162 | Part478.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5163 | Part478.Position = Vector3.new(42.2881699, 3.01002979, 127.055382) | |
5164 | Part478.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5165 | Sound479.Name = "Sound3" | |
5166 | Sound479.Parent = Part478 | |
5167 | Sound479.SoundId = "rbxassetid://191040613" | |
5168 | Sound479.Volume = 1 | |
5169 | Script480.Name = "On contact, thud" | |
5170 | Script480.Parent = Part478 | |
5171 | table.insert(cors,sandbox(Script480,function() | |
5172 | function onTouched(hit) | |
5173 | if hit.CanCollide == false then return end | |
5174 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5175 | if HitPower >= 600 then | |
5176 | script.Parent.Fire2.Enabled = true | |
5177 | script.Parent.Sound3:Play() | |
5178 | wait(0.2) | |
5179 | script.Parent.Fire2.Enabled = false | |
5180 | end | |
5181 | end | |
5182 | script.Parent.Touched:connect(onTouched) | |
5183 | end)) | |
5184 | ParticleEmitter481.Parent = Part478 | |
5185 | ParticleEmitter481.Transparency = NumberSequence.new(0,0,1) | |
5186 | ParticleEmitter481.Size = NumberSequence.new(0,1.9999998807907) | |
5187 | ParticleEmitter481.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5188 | ParticleEmitter481.Acceleration = Vector3.new(0, 1, 0) | |
5189 | ParticleEmitter481.Lifetime = NumberRange.new(0.5, 2.5) | |
5190 | ParticleEmitter481.Rate = 10 | |
5191 | ParticleEmitter481.RotSpeed = NumberRange.new(0, 30) | |
5192 | ParticleEmitter481.Speed = NumberRange.new(-3, -3) | |
5193 | ParticleEmitter481.VelocitySpread = 5 | |
5194 | ParticleEmitter481.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5195 | Fire482.Name = "Fire2" | |
5196 | Fire482.Parent = Part478 | |
5197 | Fire482.Size = 10 | |
5198 | Fire482.Enabled = false | |
5199 | Fire482.Heat = -5 | |
5200 | Fire482.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5201 | Part483.Name = "Right Arm" | |
5202 | Part483.Parent = Model366 | |
5203 | Part483.Material = Enum.Material.DiamondPlate | |
5204 | Part483.BrickColor = BrickColor.new("Dark stone grey") | |
5205 | Part483.Locked = true | |
5206 | Part483.Size = Vector3.new(1, 1, 3) | |
5207 | Part483.CFrame = CFrame.new(42.2881393, 2.01003337, 126.055305, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036) | |
5208 | Part483.BottomSurface = Enum.SurfaceType.Smooth | |
5209 | Part483.TopSurface = Enum.SurfaceType.Smooth | |
5210 | Part483.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5211 | Part483.Position = Vector3.new(42.2881393, 2.01003337, 126.055305) | |
5212 | Part483.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5213 | Sound484.Name = "Sound3" | |
5214 | Sound484.Parent = Part483 | |
5215 | Sound484.SoundId = "rbxassetid://191040613" | |
5216 | Sound484.Volume = 1 | |
5217 | Script485.Name = "On contact, thud" | |
5218 | Script485.Parent = Part483 | |
5219 | table.insert(cors,sandbox(Script485,function() | |
5220 | function onTouched(hit) | |
5221 | if hit.CanCollide == false then return end | |
5222 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5223 | if HitPower >= 600 then | |
5224 | script.Parent.Fire2.Enabled = true | |
5225 | script.Parent.Sound3:Play() | |
5226 | wait(0.2) | |
5227 | script.Parent.Fire2.Enabled = false | |
5228 | end | |
5229 | end | |
5230 | script.Parent.Touched:connect(onTouched) | |
5231 | end)) | |
5232 | ParticleEmitter486.Parent = Part483 | |
5233 | ParticleEmitter486.Transparency = NumberSequence.new(0,0,1) | |
5234 | ParticleEmitter486.Size = NumberSequence.new(0,1.9999998807907) | |
5235 | ParticleEmitter486.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5236 | ParticleEmitter486.Acceleration = Vector3.new(0, 1, 0) | |
5237 | ParticleEmitter486.Lifetime = NumberRange.new(0.5, 2.5) | |
5238 | ParticleEmitter486.Rate = 10 | |
5239 | ParticleEmitter486.RotSpeed = NumberRange.new(0, 30) | |
5240 | ParticleEmitter486.Speed = NumberRange.new(-3, -3) | |
5241 | ParticleEmitter486.VelocitySpread = 5 | |
5242 | ParticleEmitter486.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
5243 | Fire487.Name = "Fire2" | |
5244 | Fire487.Parent = Part483 | |
5245 | Fire487.Size = 10 | |
5246 | Fire487.Enabled = false | |
5247 | Fire487.Heat = -5 | |
5248 | Fire487.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5249 | Model488.Name = "Car 4" | |
5250 | Model488.Parent = mas | |
5251 | Model488.PrimaryPart = Part489 | |
5252 | Part489.Name = "Base" | |
5253 | Part489.Parent = Model488 | |
5254 | Part489.Material = Enum.Material.DiamondPlate | |
5255 | Part489.BrickColor = BrickColor.new("New Yeller") | |
5256 | Part489.Locked = true | |
5257 | Part489.Size = Vector3.new(5, 1, 5) | |
5258 | Part489.CFrame = CFrame.new(50.2879829, 1.01003277, 123.055122, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036) | |
5259 | Part489.BottomSurface = Enum.SurfaceType.Smooth | |
5260 | Part489.TopSurface = Enum.SurfaceType.Smooth | |
5261 | Part489.Color = Color3.new(1, 1, 0) | |
5262 | Part489.Position = Vector3.new(50.2879829, 1.01003277, 123.055122) | |
5263 | Part489.Color = Color3.new(1, 1, 0) | |
5264 | Sound490.Parent = Part489 | |
5265 | Sound490.Pitch = 1.2000000476837 | |
5266 | Sound490.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
5267 | Sound490.Volume = 1 | |
5268 | Fire491.Parent = Part489 | |
5269 | Fire491.Size = 30 | |
5270 | Fire491.Enabled = false | |
5271 | Fire491.Heat = 25 | |
5272 | Fire491.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5273 | Sound492.Name = "Sound2" | |
5274 | Sound492.Parent = Part489 | |
5275 | Sound492.Pitch = 0.60000002384186 | |
5276 | Sound492.SoundId = "rbxassetid://138185473 " | |
5277 | Sound492.Volume = 1 | |
5278 | Sound492.Looped = true | |
5279 | BodyGyro493.Parent = Part489 | |
5280 | BodyGyro493.maxTorque = Vector3.new(0, 0, 0) | |
5281 | BodyGyro493.MaxTorque = Vector3.new(0, 0, 0) | |
5282 | Motor6D494.Parent = Part489 | |
5283 | Motor6D494.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024) | |
5284 | Motor6D494.Part0 = Part489 | |
5285 | Motor6D494.Part1 = Part552 | |
5286 | Motor6D495.Parent = Part489 | |
5287 | Motor6D495.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012) | |
5288 | Motor6D495.Part0 = Part489 | |
5289 | Motor6D495.Part1 = Part506 | |
5290 | Motor6D496.Parent = Part489 | |
5291 | Motor6D496.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036) | |
5292 | Motor6D496.Part0 = Part489 | |
5293 | Motor6D496.Part1 = VehicleSeat504 | |
5294 | Sound497.Name = "Sound3" | |
5295 | Sound497.Parent = Part489 | |
5296 | Sound497.SoundId = "rbxassetid://191040613" | |
5297 | Sound497.Volume = 1 | |
5298 | Fire498.Name = "Fire2" | |
5299 | Fire498.Parent = Part489 | |
5300 | Fire498.Size = 10 | |
5301 | Fire498.Enabled = false | |
5302 | Fire498.Heat = -5 | |
5303 | Fire498.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5304 | Script499.Name = "On contact, thud" | |
5305 | Script499.Parent = Part489 | |
5306 | table.insert(cors,sandbox(Script499,function() | |
5307 | function onTouched(hit) | |
5308 | if hit.CanCollide == false then return end | |
5309 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5310 | if HitPower >= 600 then | |
5311 | script.Parent.Fire2.Enabled = true | |
5312 | script.Parent.Sound3:Play() | |
5313 | wait(0.2) | |
5314 | script.Parent.Fire2.Enabled = false | |
5315 | end | |
5316 | end | |
5317 | script.Parent.Touched:connect(onTouched) | |
5318 | end)) | |
5319 | Motor6D500.Parent = Part489 | |
5320 | Motor6D500.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1) | |
5321 | Motor6D500.Part0 = Part489 | |
5322 | Motor6D500.Part1 = Part605 | |
5323 | Motor6D501.Parent = Part489 | |
5324 | Motor6D501.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1) | |
5325 | Motor6D501.Part0 = Part489 | |
5326 | Motor6D501.Part1 = Part600 | |
5327 | Motor6D502.Parent = Part489 | |
5328 | Motor6D502.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1) | |
5329 | Motor6D502.Part0 = Part489 | |
5330 | Motor6D502.Part1 = Part595 | |
5331 | Motor6D503.Parent = Part489 | |
5332 | Motor6D503.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1) | |
5333 | Motor6D503.Part0 = Part489 | |
5334 | Motor6D503.Part1 = Part590 | |
5335 | VehicleSeat504.Name = "Car Seat" | |
5336 | VehicleSeat504.Parent = Model488 | |
5337 | VehicleSeat504.Material = Enum.Material.Fabric | |
5338 | VehicleSeat504.BrickColor = BrickColor.new("Black") | |
5339 | VehicleSeat504.Locked = true | |
5340 | VehicleSeat504.Size = Vector3.new(3, 1, 3) | |
5341 | VehicleSeat504.CFrame = CFrame.new(50.2880402, 2.01037598, 123.054855, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1) | |
5342 | VehicleSeat504.BottomSurface = Enum.SurfaceType.Smooth | |
5343 | VehicleSeat504.TopSurface = Enum.SurfaceType.Smooth | |
5344 | VehicleSeat504.MaxSpeed = 150 | |
5345 | VehicleSeat504.Torque = 12.5 | |
5346 | VehicleSeat504.TurnSpeed = 2.5999999046326 | |
5347 | VehicleSeat504.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
5348 | VehicleSeat504.Position = Vector3.new(50.2880402, 2.01037598, 123.054855) | |
5349 | VehicleSeat504.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
5350 | Motor6D505.Parent = VehicleSeat504 | |
5351 | Motor6D505.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012) | |
5352 | Motor6D505.Part0 = VehicleSeat504 | |
5353 | Motor6D505.Part1 = Part516 | |
5354 | Part506.Name = "Torso" | |
5355 | Part506.Parent = Model488 | |
5356 | Part506.Material = Enum.Material.DiamondPlate | |
5357 | Part506.BrickColor = BrickColor.new("Deep orange") | |
5358 | Part506.Locked = true | |
5359 | Part506.Size = Vector3.new(5, 2, 2) | |
5360 | Part506.CFrame = CFrame.new(50.2879143, 2.51143503, 120.551735, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048) | |
5361 | Part506.BottomSurface = Enum.SurfaceType.Smooth | |
5362 | Part506.TopSurface = Enum.SurfaceType.Smooth | |
5363 | Part506.Color = Color3.new(1, 0.686275, 0) | |
5364 | Part506.Position = Vector3.new(50.2879143, 2.51143503, 120.551735) | |
5365 | Part506.Color = Color3.new(1, 0.686275, 0) | |
5366 | ClickDetector507.Parent = Part506 | |
5367 | ClickDetector507.MaxActivationDistance = 4 | |
5368 | Script508.Name = "Flip when clicked" | |
5369 | Script508.Parent = Part506 | |
5370 | table.insert(cors,sandbox(Script508,function() | |
5371 | debounce = false | |
5372 | function onClicked() | |
5373 | if script.Value.Value == false then | |
5374 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
5375 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000) | |
5376 | script.Value.Value = true | |
5377 | script.Parent.Material = "Neon" | |
5378 | elseif script.Value.Value == true then | |
5379 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
5380 | script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0) | |
5381 | script.Value.Value = false | |
5382 | script.Parent.Material = "DiamondPlate" | |
5383 | end | |
5384 | end | |
5385 | script.Parent.ClickDetector.MouseClick:connect(onClicked) | |
5386 | end)) | |
5387 | BoolValue509.Parent = Script508 | |
5388 | Motor6D510.Parent = Part506 | |
5389 | Motor6D510.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036) | |
5390 | Motor6D510.Part0 = Part506 | |
5391 | Motor6D510.Part1 = Part517 | |
5392 | Sound511.Name = "Sound3" | |
5393 | Sound511.Parent = Part506 | |
5394 | Sound511.SoundId = "rbxassetid://191040613" | |
5395 | Sound511.Volume = 1 | |
5396 | Fire512.Name = "Fire2" | |
5397 | Fire512.Parent = Part506 | |
5398 | Fire512.Size = 10 | |
5399 | Fire512.Enabled = false | |
5400 | Fire512.Heat = -5 | |
5401 | Fire512.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5402 | Script513.Name = "On contact, thud" | |
5403 | Script513.Parent = Part506 | |
5404 | table.insert(cors,sandbox(Script513,function() | |
5405 | function onTouched(hit) | |
5406 | if hit.CanCollide == false then return end | |
5407 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5408 | if HitPower >= 600 then | |
5409 | script.Parent.Fire2.Enabled = true | |
5410 | script.Parent.Sound3:Play() | |
5411 | wait(0.2) | |
5412 | script.Parent.Fire2.Enabled = false | |
5413 | end | |
5414 | end | |
5415 | script.Parent.Touched:connect(onTouched) | |
5416 | end)) | |
5417 | SpotLight514.Parent = Part506 | |
5418 | SpotLight514.Color = Color3.new(1, 1, 0) | |
5419 | SpotLight514.Brightness = 60 | |
5420 | SpotLight514.Range = 60 | |
5421 | SpotLight514.Shadows = true | |
5422 | SpotLight514.Color = Color3.new(1, 1, 0) | |
5423 | Motor6D515.Parent = Part506 | |
5424 | Motor6D515.C1 = CFrame.new(7.56978989e-06, -3.49980855, 0.0366503, 1.00000083, -6.66775577e-08, -6.9738403e-06, 1.39410474e-07, 0.999945164, 0.0104715852, 6.97276209e-06, -0.0104715796, 0.999945641) | |
5425 | Motor6D515.Part0 = Part506 | |
5426 | Motor6D515.Part1 = Part583 | |
5427 | Part516.Name = "Backrest" | |
5428 | Part516.Parent = Model488 | |
5429 | Part516.Material = Enum.Material.Fabric | |
5430 | Part516.BrickColor = BrickColor.new("New Yeller") | |
5431 | Part516.Locked = true | |
5432 | Part516.Size = Vector3.new(3, 2, 1) | |
5433 | Part516.CFrame = CFrame.new(50.2881622, 3.5122714, 124.055931, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012) | |
5434 | Part516.BottomSurface = Enum.SurfaceType.Smooth | |
5435 | Part516.TopSurface = Enum.SurfaceType.Smooth | |
5436 | Part516.Color = Color3.new(1, 1, 0) | |
5437 | Part516.Position = Vector3.new(50.2881622, 3.5122714, 124.055931) | |
5438 | Part516.Color = Color3.new(1, 1, 0) | |
5439 | Part517.Name = "Head" | |
5440 | Part517.Parent = Model488 | |
5441 | Part517.Material = Enum.Material.CorrodedMetal | |
5442 | Part517.BrickColor = BrickColor.new("New Yeller") | |
5443 | Part517.Locked = true | |
5444 | Part517.Size = Vector3.new(3, 3, 2) | |
5445 | Part517.CFrame = CFrame.new(50.2878685, 3.01119924, 118.551369, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083) | |
5446 | Part517.BottomSurface = Enum.SurfaceType.Smooth | |
5447 | Part517.TopSurface = Enum.SurfaceType.Smooth | |
5448 | Part517.Color = Color3.new(1, 1, 0) | |
5449 | Part517.Position = Vector3.new(50.2878685, 3.01119924, 118.551369) | |
5450 | Part517.Color = Color3.new(1, 1, 0) | |
5451 | Script518.Name = "On contact, damage" | |
5452 | Script518.Parent = Part517 | |
5453 | table.insert(cors,sandbox(Script518,function() | |
5454 | function onTouched(hit) | |
5455 | if hit.Parent == nil then return end | |
5456 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5457 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5458 | if HitPower <= 150 then return end | |
5459 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower) | |
5460 | end | |
5461 | script.Parent.Touched:connect(onTouched) | |
5462 | end)) | |
5463 | Sound519.Parent = Part517 | |
5464 | Sound519.SoundId = "rbxassetid://356659053" | |
5465 | Sound519.Volume = 1 | |
5466 | Script520.Name = "On contact, clang" | |
5467 | Script520.Parent = Part517 | |
5468 | table.insert(cors,sandbox(Script520,function() | |
5469 | function onTouched(hit) | |
5470 | if hit.CanCollide == false then return end | |
5471 | script.Parent.Sound:Play() | |
5472 | end | |
5473 | script.Parent.Touched:connect(onTouched) | |
5474 | end)) | |
5475 | Script521.Name = "On contact, explode" | |
5476 | Script521.Parent = Part517 | |
5477 | table.insert(cors,sandbox(Script521,function() | |
5478 | function onTouched(hit) | |
5479 | if hit.CanCollide == false then return end | |
5480 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5481 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5482 | if HitPower >= 1200 then | |
5483 | local BANG = Instance.new("Explosion") | |
5484 | BANG.Position = script.Parent.Position | |
5485 | BANG.DestroyJointRadiusPercent = 0 | |
5486 | BANG.Parent = script.Parent | |
5487 | script.Parent.Sound2:Play() | |
5488 | print "# SUPREME SLAM #" | |
5489 | end | |
5490 | end | |
5491 | script.Parent.Touched:connect(onTouched) | |
5492 | end)) | |
5493 | Sound522.Name = "Sound2" | |
5494 | Sound522.Parent = Part517 | |
5495 | Sound522.SoundId = "rbxassetid://168485325" | |
5496 | Sound522.Volume = 1 | |
5497 | Model523.Name = "Bunch of scripts" | |
5498 | Model523.Parent = Part517 | |
5499 | Script524.Name = "On contact, hint 151-299 dmg" | |
5500 | Script524.Parent = Model523 | |
5501 | table.insert(cors,sandbox(Script524,function() | |
5502 | function onTouched(hit) | |
5503 | if hit.Parent == nil then return end | |
5504 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5505 | if hit.Parent.Humanoid.Health == 0 then return end | |
5506 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
5507 | if HitPower >= 151 and HitPower <= 299 then | |
5508 | local hint = Instance.new("Hint") | |
5509 | hint.Parent = script | |
5510 | hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."." | |
5511 | wait(2) | |
5512 | hint:Destroy() | |
5513 | else return end | |
5514 | end | |
5515 | script.Parent.Parent.Touched:connect(onTouched) | |
5516 | end)) | |
5517 | Script525.Name = "On contact, hint 300-599 dmg" | |
5518 | Script525.Parent = Model523 | |
5519 | table.insert(cors,sandbox(Script525,function() | |
5520 | function onTouched(hit) | |
5521 | if hit.Parent == nil then return end | |
5522 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5523 | if hit.Parent.Humanoid.Health == 0 then return end | |
5524 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
5525 | if HitPower >= 300 and HitPower <= 599 then | |
5526 | local hint = Instance.new("Hint") | |
5527 | hint.Parent = script | |
5528 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."." | |
5529 | wait(2) | |
5530 | hint:Destroy() | |
5531 | else return end | |
5532 | end | |
5533 | script.Parent.Parent.Touched:connect(onTouched) | |
5534 | end)) | |
5535 | Script526.Name = "On contact, hint 600-899 dmg" | |
5536 | Script526.Parent = Model523 | |
5537 | table.insert(cors,sandbox(Script526,function() | |
5538 | function onTouched(hit) | |
5539 | if hit.Parent == nil then return end | |
5540 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5541 | if hit.Parent.Humanoid.Health == 0 then return end | |
5542 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
5543 | if HitPower >= 600 and HitPower <= 899 then | |
5544 | local hint = Instance.new("Hint") | |
5545 | hint.Parent = script | |
5546 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."." | |
5547 | wait(2) | |
5548 | hint:Destroy() | |
5549 | else return end | |
5550 | end | |
5551 | script.Parent.Parent.Touched:connect(onTouched) | |
5552 | end)) | |
5553 | Script527.Name = "On contact, hint 900-1199 dmg" | |
5554 | Script527.Parent = Model523 | |
5555 | table.insert(cors,sandbox(Script527,function() | |
5556 | function onTouched(hit) | |
5557 | if hit.Parent == nil then return end | |
5558 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5559 | if hit.Parent.Humanoid.Health == 0 then return end | |
5560 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
5561 | if HitPower >= 900 and HitPower <= 1199 then | |
5562 | local hint = Instance.new("Hint") | |
5563 | hint.Parent = script | |
5564 | hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."." | |
5565 | wait(2) | |
5566 | hint:Destroy() | |
5567 | else return end | |
5568 | end | |
5569 | script.Parent.Parent.Touched:connect(onTouched) | |
5570 | end)) | |
5571 | Script528.Name = "On contact, hint 1200 or greater dmg" | |
5572 | Script528.Parent = Model523 | |
5573 | table.insert(cors,sandbox(Script528,function() | |
5574 | function onTouched(hit) | |
5575 | if hit.Parent == nil then return end | |
5576 | if hit.Parent:FindFirstChild("Humanoid") == nil then return end | |
5577 | if hit.Parent.Humanoid.Health == 0 then return end | |
5578 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20 | |
5579 | if HitPower >= 1200 then | |
5580 | local hint = Instance.new("Hint") | |
5581 | hint.Parent = script | |
5582 | hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!" | |
5583 | wait(2) | |
5584 | hint:Destroy() | |
5585 | else return end | |
5586 | end | |
5587 | script.Parent.Parent.Touched:connect(onTouched) | |
5588 | end)) | |
5589 | Sound529.Name = "Sound3" | |
5590 | Sound529.Parent = Part517 | |
5591 | Sound529.SoundId = "rbxassetid://191040613" | |
5592 | Sound529.Volume = 1 | |
5593 | Script530.Name = "On contact, break stuff" | |
5594 | Script530.Parent = Part517 | |
5595 | table.insert(cors,sandbox(Script530,function() | |
5596 | function onTouched(hit) | |
5597 | if hit.Parent == nil then return end | |
5598 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end | |
5599 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5600 | if HitPower >= 400 then hit:BreakJoints() | |
5601 | end | |
5602 | end | |
5603 | script.Parent.Touched:connect(onTouched) | |
5604 | end)) | |
5605 | Fire531.Name = "Fire2" | |
5606 | Fire531.Parent = Part517 | |
5607 | Fire531.Size = 10 | |
5608 | Fire531.Enabled = false | |
5609 | Fire531.Heat = -5 | |
5610 | Fire531.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5611 | Script532.Name = "On contact, thud" | |
5612 | Script532.Parent = Part517 | |
5613 | table.insert(cors,sandbox(Script532,function() | |
5614 | function onTouched(hit) | |
5615 | if hit.CanCollide == false then return end | |
5616 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5617 | if HitPower >= 600 then | |
5618 | script.Parent.Fire2.Enabled = true | |
5619 | script.Parent.Sound3:Play() | |
5620 | wait(0.2) | |
5621 | script.Parent.Fire2.Enabled = false | |
5622 | end | |
5623 | end | |
5624 | script.Parent.Touched:connect(onTouched) | |
5625 | end)) | |
5626 | Humanoid533.Parent = Model488 | |
5627 | Humanoid533.RightLeg = Part600 | |
5628 | Humanoid533.LeftLeg = Part590 | |
5629 | Humanoid533.Torso = Part506 | |
5630 | Humanoid533.Health = 1200 | |
5631 | Humanoid533.MaxHealth = 1200 | |
5632 | Script534.Name = "Auto sit" | |
5633 | Script534.Parent = Humanoid533 | |
5634 | table.insert(cors,sandbox(Script534,function() | |
5635 | while true do | |
5636 | wait(0.1) | |
5637 | script.Parent.Sit = true | |
5638 | end | |
5639 | end)) | |
5640 | Script535.Name = "When demolished, name, disable bumper, destroy cannon and print to log" | |
5641 | Script535.Parent = Humanoid533 | |
5642 | table.insert(cors,sandbox(Script535,function() | |
5643 | function Die() | |
5644 | print (script.Parent.Parent.Name.." GOT WRECKED!") | |
5645 | if script.Parent.Parent:FindFirstChild("Head") == nil then return end | |
5646 | script.Parent.Parent.Head["On contact, damage"].Disabled = true | |
5647 | script.Parent.Parent.Head["On contact, explode"].Disabled = true | |
5648 | script.Parent.Parent.Head["On contact, break stuff"].Disabled = true | |
5649 | script.Parent.Parent.Head["Bunch of scripts"]:Destroy() | |
5650 | if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end | |
5651 | script.Parent.Parent["FIRE!"]:Destroy() | |
5652 | wait(4) | |
5653 | script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <" | |
5654 | end | |
5655 | ||
5656 | script.Parent.Died:connect(Die) | |
5657 | end)) | |
5658 | Script536.Name = "When demolished, wait 3 min then remove" | |
5659 | Script536.Parent = Humanoid533 | |
5660 | table.insert(cors,sandbox(Script536,function() | |
5661 | function Die() | |
5662 | wait(180) | |
5663 | script.Parent.Parent:remove() | |
5664 | end | |
5665 | ||
5666 | script.Parent.Died:connect(Die) | |
5667 | end)) | |
5668 | Script537.Name = "When demolished, sound" | |
5669 | Script537.Parent = Humanoid533 | |
5670 | table.insert(cors,sandbox(Script537,function() | |
5671 | function Die() | |
5672 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
5673 | script.Parent.Parent.Base.Sound:Play() | |
5674 | script.Parent.Parent.Base.Sound2:Play() | |
5675 | end | |
5676 | script.Parent.Died:connect(Die) | |
5677 | end)) | |
5678 | Script538.Name = "Auto heal" | |
5679 | Script538.Parent = Humanoid533 | |
5680 | table.insert(cors,sandbox(Script538,function() | |
5681 | while true do | |
5682 | if script.Parent.Health == script.Parent.MaxHealth then return end | |
5683 | if script.Parent.Health == 0 then return end | |
5684 | script.Parent.Health = script.Parent.Health + 3 | |
5685 | wait(0.5) | |
5686 | end | |
5687 | end)) | |
5688 | Script539.Name = "When demolished, hollywood" | |
5689 | Script539.Parent = Humanoid533 | |
5690 | table.insert(cors,sandbox(Script539,function() | |
5691 | function Die() | |
5692 | if script.Parent.Parent:FindFirstChild("Base") == nil then return end | |
5693 | e = Instance.new("Explosion") | |
5694 | e.Parent = script.Parent.Parent | |
5695 | e.DestroyJointRadiusPercent = 1 | |
5696 | e.Position = script.Parent.Parent.Base.Position | |
5697 | e.ExplosionType = "NoCraters" | |
5698 | e.BlastRadius = 2.6 | |
5699 | e.BlastPressure = 1000000 | |
5700 | f = script.Parent.Parent.Base.Fire | |
5701 | f.Enabled = true | |
5702 | wait(0.2) | |
5703 | f.Size = f.Size - 1 | |
5704 | wait(0.2) | |
5705 | f.Size = f.Size - 1 | |
5706 | wait(0.2) | |
5707 | f.Size = f.Size - 1 | |
5708 | wait(0.2) | |
5709 | f.Size = f.Size - 1 | |
5710 | wait(0.2) | |
5711 | f.Size = f.Size - 1 | |
5712 | wait(0.2) | |
5713 | f.Size = f.Size - 1 | |
5714 | wait(0.2) | |
5715 | f.Size = f.Size - 1 | |
5716 | wait(0.2) | |
5717 | f.Size = f.Size - 1 | |
5718 | wait(0.2) | |
5719 | f.Size = f.Size - 1 | |
5720 | wait(0.2) | |
5721 | f.Size = f.Size - 1 | |
5722 | wait(0.2) | |
5723 | f.Size = f.Size - 1 | |
5724 | wait(0.2) | |
5725 | f.Size = f.Size - 1 | |
5726 | wait(0.2) | |
5727 | f.Size = f.Size - 1 | |
5728 | wait(0.2) | |
5729 | f.Size = f.Size - 1 | |
5730 | wait(0.2) | |
5731 | f.Size = f.Size - 1 | |
5732 | wait(0.2) | |
5733 | f.Size = f.Size - 1 | |
5734 | wait(0.2) | |
5735 | f.Size = f.Size - 1 | |
5736 | wait(0.2) | |
5737 | f.Size = f.Size - 1 | |
5738 | wait(0.2) | |
5739 | f.Size = f.Size - 1 | |
5740 | wait(0.2) | |
5741 | f.Size = f.Size - 1 | |
5742 | wait(0.2) | |
5743 | f.Size = f.Size - 1 | |
5744 | wait(0.2) | |
5745 | f.Size = f.Size - 1 | |
5746 | wait(0.2) | |
5747 | f.Size = f.Size - 1 | |
5748 | wait(0.2) | |
5749 | f.Size = f.Size - 1 | |
5750 | end | |
5751 | script.Parent.Died:connect(Die) | |
5752 | end)) | |
5753 | Script540.Name = "When demolished, remove the engine" | |
5754 | Script540.Parent = Humanoid533 | |
5755 | table.insert(cors,sandbox(Script540,function() | |
5756 | function Die() | |
5757 | if script.Parent.Parent:FindFirstChild("Engine") == nil then return end | |
5758 | script.Parent.Parent.Engine:Destroy() | |
5759 | end | |
5760 | script.Parent.Died:connect(Die) | |
5761 | end)) | |
5762 | Script541.Name = "When demolished, disable chair" | |
5763 | Script541.Parent = Humanoid533 | |
5764 | table.insert(cors,sandbox(Script541,function() | |
5765 | function Die() | |
5766 | if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end | |
5767 | script.Parent.Parent["Car Seat"].Disabled = true | |
5768 | end | |
5769 | ||
5770 | script.Parent.Died:connect(Die) | |
5771 | end)) | |
5772 | Script542.Name = "When demolished, hint" | |
5773 | Script542.Parent = Humanoid533 | |
5774 | table.insert(cors,sandbox(Script542,function() | |
5775 | function Die() | |
5776 | wait(2) | |
5777 | local hint = Instance.new("Hint") | |
5778 | hint.Parent = script.Parent.Parent | |
5779 | hint.Text = script.Parent.Parent.Name.." has been wrecked!" | |
5780 | wait(1) | |
5781 | hint:Destroy() | |
5782 | end | |
5783 | script.Parent.Died:connect(Die) | |
5784 | end)) | |
5785 | Script543.Name = "When demolished, remove instantly if bumper gone." | |
5786 | Script543.Parent = Humanoid533 | |
5787 | table.insert(cors,sandbox(Script543,function() | |
5788 | function Die() | |
5789 | wait(6) | |
5790 | if script.Parent.Parent:FindFirstChild("Head") == nil then | |
5791 | print ("Looks like "..script.Parent.Parent.Name.." got nil.") | |
5792 | script.Parent.Parent:Destroy() | |
5793 | elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end | |
5794 | end | |
5795 | script.Parent.Died:connect(Die) | |
5796 | end)) | |
5797 | Script544.Name = "When demolished, disable light" | |
5798 | Script544.Parent = Humanoid533 | |
5799 | table.insert(cors,sandbox(Script544,function() | |
5800 | function Die() | |
5801 | if script.Parent.Parent:FindFirstChild("Torso") == nil then return end | |
5802 | script.Parent.Parent.Torso.SpotLight.Enabled = false | |
5803 | end | |
5804 | ||
5805 | script.Parent.Died:connect(Die) | |
5806 | end)) | |
5807 | Part545.Name = "Neon Flag" | |
5808 | Part545.Parent = Model488 | |
5809 | Part545.Material = Enum.Material.Neon | |
5810 | Part545.BrickColor = BrickColor.new("New Yeller") | |
5811 | Part545.Rotation = Vector3.new(180, 0, 180) | |
5812 | Part545.Locked = true | |
5813 | Part545.Size = Vector3.new(1, 2, 3) | |
5814 | Part545.CFrame = CFrame.new(50.2877922, 4.71094608, 127.057922, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107) | |
5815 | Part545.BottomSurface = Enum.SurfaceType.Smooth | |
5816 | Part545.TopSurface = Enum.SurfaceType.Smooth | |
5817 | Part545.Color = Color3.new(1, 1, 0) | |
5818 | Part545.Position = Vector3.new(50.2877922, 4.71094608, 127.057922) | |
5819 | Part545.Orientation = Vector3.new(0, 180, 0) | |
5820 | Part545.Color = Color3.new(1, 1, 0) | |
5821 | Sound546.Parent = Part545 | |
5822 | Sound546.Pitch = 1.5 | |
5823 | Sound546.SoundId = "rbxassetid://356659053" | |
5824 | Sound546.Volume = 1 | |
5825 | Script547.Name = "On contact, sound" | |
5826 | Script547.Parent = Part545 | |
5827 | table.insert(cors,sandbox(Script547,function() | |
5828 | function onTouched(hit) | |
5829 | if hit.CanCollide == false then return end | |
5830 | script.Parent.Sound:Play() | |
5831 | end | |
5832 | script.Parent.Touched:connect(onTouched) | |
5833 | end)) | |
5834 | Script548.Name = "On contact, heal" | |
5835 | Script548.Parent = Part545 | |
5836 | table.insert(cors,sandbox(Script548,function() | |
5837 | function onTouched() | |
5838 | script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3 | |
5839 | end | |
5840 | script.Parent.Touched:connect(onTouched) | |
5841 | end)) | |
5842 | Sound549.Name = "Sound3" | |
5843 | Sound549.Parent = Part545 | |
5844 | Sound549.SoundId = "rbxassetid://191040613" | |
5845 | Sound549.Volume = 1 | |
5846 | Fire550.Name = "Fire2" | |
5847 | Fire550.Parent = Part545 | |
5848 | Fire550.Size = 10 | |
5849 | Fire550.Enabled = false | |
5850 | Fire550.Heat = -5 | |
5851 | Fire550.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5852 | Script551.Name = "On contact, thud" | |
5853 | Script551.Parent = Part545 | |
5854 | table.insert(cors,sandbox(Script551,function() | |
5855 | function onTouched(hit) | |
5856 | if hit.CanCollide == false then return end | |
5857 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5858 | if HitPower >= 600 then | |
5859 | script.Parent.Fire2.Enabled = true | |
5860 | script.Parent.Sound3:Play() | |
5861 | wait(0.2) | |
5862 | script.Parent.Fire2.Enabled = false | |
5863 | end | |
5864 | end | |
5865 | script.Parent.Touched:connect(onTouched) | |
5866 | end)) | |
5867 | Part552.Name = "Engine" | |
5868 | Part552.Parent = Model488 | |
5869 | Part552.Material = Enum.Material.CorrodedMetal | |
5870 | Part552.BrickColor = BrickColor.new("Deep orange") | |
5871 | Part552.Locked = true | |
5872 | Part552.Size = Vector3.new(3, 2.19999981, 2) | |
5873 | Part552.CFrame = CFrame.new(50.2880173, 2.61076355, 125.557503, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006) | |
5874 | Part552.BottomSurface = Enum.SurfaceType.Smooth | |
5875 | Part552.TopSurface = Enum.SurfaceType.Smooth | |
5876 | Part552.Color = Color3.new(1, 0.686275, 0) | |
5877 | Part552.Position = Vector3.new(50.2880173, 2.61076355, 125.557503) | |
5878 | Part552.Color = Color3.new(1, 0.686275, 0) | |
5879 | Sound553.Name = "Engine" | |
5880 | Sound553.Parent = Part552 | |
5881 | Sound553.Pitch = 0.76000678539276 | |
5882 | Sound553.SoundId = "rbxassetid://130091914" | |
5883 | Sound553.Volume = 0.69999998807907 | |
5884 | Sound553.Looped = true | |
5885 | Script554.Name = "SoundScript" | |
5886 | Script554.Parent = Part552 | |
5887 | table.insert(cors,sandbox(Script554,function() | |
5888 | v = script.Parent.Parent["Car Seat"] | |
5889 | e = script.Parent.Engine | |
5890 | maxrevs = script.Parent.Advanced.MaxRevs.Value | |
5891 | minrevs = script.Parent.Advanced.MinRevs.Value | |
5892 | mod = v.MaxSpeed/130 | |
5893 | e:Play() | |
5894 | while true do | |
5895 | wait(0.1) | |
5896 | mod = v.MaxSpeed/150 | |
5897 | if v.Throttle == 1 and e.Pitch < maxrevs then | |
5898 | e.Pitch = e.Pitch + (0.09/mod) | |
5899 | end | |
5900 | if v.Throttle == 0 and e.Pitch > minrevs then | |
5901 | e.Pitch = e.Pitch - (0.17/mod) | |
5902 | end | |
5903 | if v.Throttle == -1 and e.Pitch > minrevs then | |
5904 | e.Pitch = e.Pitch - (0.22/mod) | |
5905 | end | |
5906 | end | |
5907 | end)) | |
5908 | Configuration555.Name = "Advanced" | |
5909 | Configuration555.Parent = Part552 | |
5910 | NumberValue556.Name = "EngineVolume" | |
5911 | NumberValue556.Parent = Configuration555 | |
5912 | NumberValue556.Value = 0.7 | |
5913 | NumberValue557.Name = "MaxRevs" | |
5914 | NumberValue557.Parent = Configuration555 | |
5915 | NumberValue557.Value = 1.79 | |
5916 | NumberValue558.Name = "MinRevs" | |
5917 | NumberValue558.Parent = Configuration555 | |
5918 | NumberValue558.Value = 0.9 | |
5919 | Configuration559.Parent = Part552 | |
5920 | NumberValue560.Name = "MaxSpeed" | |
5921 | NumberValue560.Parent = Configuration559 | |
5922 | NumberValue560.Value = 150 | |
5923 | Motor6D561.Parent = Part552 | |
5924 | Motor6D561.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048) | |
5925 | Motor6D561.Part0 = Part552 | |
5926 | Motor6D561.Part1 = Part545 | |
5927 | Sound562.Name = "Sound3" | |
5928 | Sound562.Parent = Part552 | |
5929 | Sound562.SoundId = "rbxassetid://191040613" | |
5930 | Sound562.Volume = 1 | |
5931 | Fire563.Name = "Fire2" | |
5932 | Fire563.Parent = Part552 | |
5933 | Fire563.Size = 10 | |
5934 | Fire563.Enabled = false | |
5935 | Fire563.Heat = -5 | |
5936 | Fire563.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
5937 | Script564.Name = "On contact, thud" | |
5938 | Script564.Parent = Part552 | |
5939 | table.insert(cors,sandbox(Script564,function() | |
5940 | function onTouched(hit) | |
5941 | if hit.CanCollide == false then return end | |
5942 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
5943 | if HitPower >= 600 then | |
5944 | script.Parent.Fire2.Enabled = true | |
5945 | script.Parent.Sound3:Play() | |
5946 | wait(0.2) | |
5947 | script.Parent.Fire2.Enabled = false | |
5948 | end | |
5949 | end | |
5950 | script.Parent.Touched:connect(onTouched) | |
5951 | end)) | |
5952 | ForceField565.Parent = Model488 | |
5953 | Script566.Name = "Wait 10 sec then remove" | |
5954 | Script566.Parent = ForceField565 | |
5955 | table.insert(cors,sandbox(Script566,function() | |
5956 | wait(10) | |
5957 | script.Parent:Destroy() | |
5958 | end)) | |
5959 | Part567.Name = "Wheel" | |
5960 | Part567.Parent = Model488 | |
5961 | Part567.Material = Enum.Material.Concrete | |
5962 | Part567.BrickColor = BrickColor.new("Dark stone grey") | |
5963 | Part567.Locked = true | |
5964 | Part567.Shape = Enum.PartType.Cylinder | |
5965 | Part567.Size = Vector3.new(2, 3, 3) | |
5966 | Part567.CFrame = CFrame.new(53.7879944, 1.51001501, 120.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
5967 | Part567.BottomSurface = Enum.SurfaceType.Smooth | |
5968 | Part567.LeftSurface = Enum.SurfaceType.Hinge | |
5969 | Part567.TopSurface = Enum.SurfaceType.Smooth | |
5970 | Part567.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5971 | Part567.Position = Vector3.new(53.7879944, 1.51001501, 120.555038) | |
5972 | Part567.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
5973 | Sound568.Name = "Sound3" | |
5974 | Sound568.Parent = Part567 | |
5975 | Sound568.SoundId = "rbxassetid://262353320" | |
5976 | Sound568.Volume = 1 | |
5977 | Fire569.Parent = Part567 | |
5978 | Fire569.Color = Color3.new(1, 1, 1) | |
5979 | Fire569.Enabled = false | |
5980 | Fire569.Heat = -3 | |
5981 | Fire569.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
5982 | Fire569.Color = Color3.new(1, 1, 1) | |
5983 | Script570.Name = "On contact, screech" | |
5984 | Script570.Parent = Part567 | |
5985 | table.insert(cors,sandbox(Script570,function() | |
5986 | function onTouched(hit) | |
5987 | if hit.CanCollide == false then return end | |
5988 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
5989 | if HitPower >= 4075 then | |
5990 | script.Parent.Fire.Enabled = true | |
5991 | script.Parent.Sound3:Play() | |
5992 | wait(0.1) | |
5993 | script.Parent.Fire.Enabled = false | |
5994 | end | |
5995 | end | |
5996 | script.Parent.Touched:connect(onTouched) | |
5997 | end)) | |
5998 | Part571.Name = "Wheel" | |
5999 | Part571.Parent = Model488 | |
6000 | Part571.Material = Enum.Material.Concrete | |
6001 | Part571.BrickColor = BrickColor.new("Dark stone grey") | |
6002 | Part571.Locked = true | |
6003 | Part571.Shape = Enum.PartType.Cylinder | |
6004 | Part571.Size = Vector3.new(2, 3, 3) | |
6005 | Part571.CFrame = CFrame.new(46.7879791, 1.51001501, 125.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
6006 | Part571.BottomSurface = Enum.SurfaceType.Smooth | |
6007 | Part571.RightSurface = Enum.SurfaceType.Hinge | |
6008 | Part571.TopSurface = Enum.SurfaceType.Smooth | |
6009 | Part571.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6010 | Part571.Position = Vector3.new(46.7879791, 1.51001501, 125.555023) | |
6011 | Part571.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6012 | Sound572.Name = "Sound3" | |
6013 | Sound572.Parent = Part571 | |
6014 | Sound572.SoundId = "rbxassetid://262353320" | |
6015 | Sound572.Volume = 1 | |
6016 | Fire573.Parent = Part571 | |
6017 | Fire573.Color = Color3.new(1, 1, 1) | |
6018 | Fire573.Enabled = false | |
6019 | Fire573.Heat = -3 | |
6020 | Fire573.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
6021 | Fire573.Color = Color3.new(1, 1, 1) | |
6022 | Script574.Name = "On contact, screech" | |
6023 | Script574.Parent = Part571 | |
6024 | table.insert(cors,sandbox(Script574,function() | |
6025 | function onTouched(hit) | |
6026 | if hit.CanCollide == false then return end | |
6027 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
6028 | if HitPower >= 4075 then | |
6029 | script.Parent.Fire.Enabled = true | |
6030 | script.Parent.Sound3:Play() | |
6031 | wait(0.1) | |
6032 | script.Parent.Fire.Enabled = false | |
6033 | end | |
6034 | end | |
6035 | script.Parent.Touched:connect(onTouched) | |
6036 | end)) | |
6037 | Part575.Name = "Wheel" | |
6038 | Part575.Parent = Model488 | |
6039 | Part575.Material = Enum.Material.Concrete | |
6040 | Part575.BrickColor = BrickColor.new("Dark stone grey") | |
6041 | Part575.Locked = true | |
6042 | Part575.Shape = Enum.PartType.Cylinder | |
6043 | Part575.Size = Vector3.new(2, 3, 3) | |
6044 | Part575.CFrame = CFrame.new(53.7879791, 1.51001501, 125.555038, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
6045 | Part575.BottomSurface = Enum.SurfaceType.Smooth | |
6046 | Part575.LeftSurface = Enum.SurfaceType.Hinge | |
6047 | Part575.TopSurface = Enum.SurfaceType.Smooth | |
6048 | Part575.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6049 | Part575.Position = Vector3.new(53.7879791, 1.51001501, 125.555038) | |
6050 | Part575.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6051 | Sound576.Name = "Sound3" | |
6052 | Sound576.Parent = Part575 | |
6053 | Sound576.SoundId = "rbxassetid://262353320" | |
6054 | Sound576.Volume = 1 | |
6055 | Fire577.Parent = Part575 | |
6056 | Fire577.Color = Color3.new(1, 1, 1) | |
6057 | Fire577.Enabled = false | |
6058 | Fire577.Heat = -3 | |
6059 | Fire577.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
6060 | Fire577.Color = Color3.new(1, 1, 1) | |
6061 | Script578.Name = "On contact, screech" | |
6062 | Script578.Parent = Part575 | |
6063 | table.insert(cors,sandbox(Script578,function() | |
6064 | function onTouched(hit) | |
6065 | if hit.CanCollide == false then return end | |
6066 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
6067 | if HitPower >= 4075 then | |
6068 | script.Parent.Fire.Enabled = true | |
6069 | script.Parent.Sound3:Play() | |
6070 | wait(0.1) | |
6071 | script.Parent.Fire.Enabled = false | |
6072 | end | |
6073 | end | |
6074 | script.Parent.Touched:connect(onTouched) | |
6075 | end)) | |
6076 | Part579.Name = "Wheel" | |
6077 | Part579.Parent = Model488 | |
6078 | Part579.Material = Enum.Material.Concrete | |
6079 | Part579.BrickColor = BrickColor.new("Dark stone grey") | |
6080 | Part579.Locked = true | |
6081 | Part579.Shape = Enum.PartType.Cylinder | |
6082 | Part579.Size = Vector3.new(2, 3, 3) | |
6083 | Part579.CFrame = CFrame.new(46.7879944, 1.51001501, 120.555023, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
6084 | Part579.BottomSurface = Enum.SurfaceType.Smooth | |
6085 | Part579.RightSurface = Enum.SurfaceType.Hinge | |
6086 | Part579.TopSurface = Enum.SurfaceType.Smooth | |
6087 | Part579.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6088 | Part579.Position = Vector3.new(46.7879944, 1.51001501, 120.555023) | |
6089 | Part579.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6090 | Sound580.Name = "Sound3" | |
6091 | Sound580.Parent = Part579 | |
6092 | Sound580.SoundId = "rbxassetid://262353320" | |
6093 | Sound580.Volume = 1 | |
6094 | Fire581.Parent = Part579 | |
6095 | Fire581.Color = Color3.new(1, 1, 1) | |
6096 | Fire581.Enabled = false | |
6097 | Fire581.Heat = -3 | |
6098 | Fire581.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157) | |
6099 | Fire581.Color = Color3.new(1, 1, 1) | |
6100 | Script582.Name = "On contact, screech" | |
6101 | Script582.Parent = Part579 | |
6102 | table.insert(cors,sandbox(Script582,function() | |
6103 | function onTouched(hit) | |
6104 | if hit.CanCollide == false then return end | |
6105 | local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20 | |
6106 | if HitPower >= 4075 then | |
6107 | script.Parent.Fire.Enabled = true | |
6108 | script.Parent.Sound3:Play() | |
6109 | wait(0.1) | |
6110 | script.Parent.Fire.Enabled = false | |
6111 | end | |
6112 | end | |
6113 | script.Parent.Touched:connect(onTouched) | |
6114 | end)) | |
6115 | Part583.Name = "FIRE!" | |
6116 | Part583.Parent = Model488 | |
6117 | Part583.Material = Enum.Material.DiamondPlate | |
6118 | Part583.BrickColor = BrickColor.new("Lime green") | |
6119 | Part583.Rotation = Vector3.new(0.599999964, 0, 0) | |
6120 | Part583.Locked = true | |
6121 | Part583.Size = Vector3.new(1, 1, 2) | |
6122 | Part583.CFrame = CFrame.new(50.2879066, 6.01143551, 120.551735, 1.00000167, -2.9046987e-10, 5.00222086e-12, -2.90524771e-10, 0.999945164, -0.0104717826, 2.27373675e-12, 0.0104717938, 0.999946117) | |
6123 | Part583.BottomSurface = Enum.SurfaceType.Smooth | |
6124 | Part583.TopSurface = Enum.SurfaceType.Smooth | |
6125 | Part583.Color = Color3.new(0, 1, 0) | |
6126 | Part583.Position = Vector3.new(50.2879066, 6.01143551, 120.551735) | |
6127 | Part583.Orientation = Vector3.new(0.599999964, 0, 0) | |
6128 | Part583.Color = Color3.new(0, 1, 0) | |
6129 | Script584.Name = "Fire" | |
6130 | Script584.Parent = Part583 | |
6131 | table.insert(cors,sandbox(Script584,function() | |
6132 | local Colour = script.Parent.Parent.Base.BrickColor | |
6133 | function Clicked() | |
6134 | script.Parent.Sound3:Play() | |
6135 | local Ammo = Instance.new("Part") | |
6136 | Ammo.BrickColor = Colour | |
6137 | Ammo.Material = "Neon" | |
6138 | Ammo.Parent = game.Workspace | |
6139 | Ammo.Velocity = script.Parent.CFrame.lookVector * 1200 | |
6140 | Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6) | |
6141 | Ammo.Size = Vector3.new(3,3,3) | |
6142 | Ammo.Shape = "Ball" | |
6143 | Ammo.Name = script.Parent.Parent.Name.."'s cannonball" | |
6144 | Ammo.TopSurface = "Smooth" | |
6145 | Ammo.BottomSurface = "Smooth" | |
6146 | local explosive = script["On contact, explode"]:Clone() | |
6147 | explosive.Parent = Ammo | |
6148 | explosive.Disabled = false | |
6149 | local damager = script["Hint if humanoid hit and damage"]:Clone() | |
6150 | damager.Parent = Ammo | |
6151 | damager.Disabled = false | |
6152 | local sound = script.Sound:Clone() | |
6153 | sound.Parent = Ammo | |
6154 | script.Parent.BrickColor = BrickColor.new("Really red") | |
6155 | script.Disabled = true | |
6156 | wait(1) | |
6157 | script.Parent.BrickColor = BrickColor.new("New Yeller") | |
6158 | wait(1) | |
6159 | script.Parent.BrickColor = BrickColor.new("Lime green") | |
6160 | script.Disabled = false | |
6161 | end | |
6162 | script.Parent.ClickDetector.MouseClick:connect(Clicked) | |
6163 | end)) | |
6164 | Script585.Name = "On contact, explode" | |
6165 | Script585.Parent = Script584 | |
6166 | Script585.Disabled = true | |
6167 | table.insert(cors,sandbox(Script585,function() | |
6168 | function onTouched(hit) | |
6169 | if hit == nil then return end | |
6170 | if hit.CanCollide == false then return end | |
6171 | script.Parent.Anchored = true | |
6172 | wait(0) | |
6173 | local BOOM = Instance.new("Explosion") | |
6174 | BOOM.Parent = game.Workspace | |
6175 | BOOM.Position = script.Parent.Position | |
6176 | BOOM.BlastRadius = 10 | |
6177 | script.Parent.Sound:Play() | |
6178 | script.Disabled = true | |
6179 | script.Parent.CanCollide = false | |
6180 | script.Parent.Transparency = 1 | |
6181 | wait(2) | |
6182 | script.Parent:Destroy() | |
6183 | end | |
6184 | script.Parent.Touched:connect(onTouched) | |
6185 | end)) | |
6186 | Sound586.Parent = Script584 | |
6187 | Sound586.Pitch = 1.2000000476837 | |
6188 | Sound586.SoundId = "http://www.roblox.com/asset/?id=66868084 " | |
6189 | Sound586.Volume = 1 | |
6190 | Script587.Name = "Hint if humanoid hit and damage" | |
6191 | Script587.Parent = Script584 | |
6192 | Script587.Disabled = true | |
6193 | table.insert(cors,sandbox(Script587,function() | |
6194 | function onTouched(hit) | |
6195 | if hit == nil then script.Disabled = true return end | |
6196 | if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end | |
6197 | local damage = math.random(500,5000) | |
6198 | hit.Parent.Humanoid:TakeDamage(damage) | |
6199 | local hint = Instance.new("Hint") | |
6200 | hint.Text = script.Parent.Name.." hit "..hit.Parent.Name.." with "..damage.." damage with an explosion!" | |
6201 | hint.Parent = script | |
6202 | script.Disabled = true | |
6203 | end | |
6204 | script.Parent.Touched:connect(onTouched) | |
6205 | end)) | |
6206 | ClickDetector588.Parent = Part583 | |
6207 | ClickDetector588.MaxActivationDistance = 4 | |
6208 | Sound589.Name = "Sound3" | |
6209 | Sound589.Parent = Part583 | |
6210 | Sound589.SoundId = "rbxassetid://191040613" | |
6211 | Sound589.Volume = 1 | |
6212 | Part590.Name = "Left Leg" | |
6213 | Part590.Parent = Model488 | |
6214 | Part590.Material = Enum.Material.DiamondPlate | |
6215 | Part590.BrickColor = BrickColor.new("Dark stone grey") | |
6216 | Part590.Locked = true | |
6217 | Part590.Size = Vector3.new(1, 1, 3) | |
6218 | Part590.CFrame = CFrame.new(48.2878189, 3.01003265, 127.055313, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036) | |
6219 | Part590.BottomSurface = Enum.SurfaceType.Smooth | |
6220 | Part590.TopSurface = Enum.SurfaceType.Smooth | |
6221 | Part590.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6222 | Part590.Position = Vector3.new(48.2878189, 3.01003265, 127.055313) | |
6223 | Part590.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6224 | Sound591.Name = "Sound3" | |
6225 | Sound591.Parent = Part590 | |
6226 | Sound591.SoundId = "rbxassetid://191040613" | |
6227 | Sound591.Volume = 1 | |
6228 | Script592.Name = "On contact, thud" | |
6229 | Script592.Parent = Part590 | |
6230 | table.insert(cors,sandbox(Script592,function() | |
6231 | function onTouched(hit) | |
6232 | if hit.CanCollide == false then return end | |
6233 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
6234 | if HitPower >= 600 then | |
6235 | script.Parent.Fire2.Enabled = true | |
6236 | script.Parent.Sound3:Play() | |
6237 | wait(0.2) | |
6238 | script.Parent.Fire2.Enabled = false | |
6239 | end | |
6240 | end | |
6241 | script.Parent.Touched:connect(onTouched) | |
6242 | end)) | |
6243 | ParticleEmitter593.Parent = Part590 | |
6244 | ParticleEmitter593.Transparency = NumberSequence.new(0,0,1) | |
6245 | ParticleEmitter593.Size = NumberSequence.new(0,1.9999998807907) | |
6246 | ParticleEmitter593.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6247 | ParticleEmitter593.Acceleration = Vector3.new(0, 1, 0) | |
6248 | ParticleEmitter593.Lifetime = NumberRange.new(0.5, 2.5) | |
6249 | ParticleEmitter593.Rate = 10 | |
6250 | ParticleEmitter593.RotSpeed = NumberRange.new(0, 30) | |
6251 | ParticleEmitter593.Speed = NumberRange.new(-3, -3) | |
6252 | ParticleEmitter593.VelocitySpread = 5 | |
6253 | ParticleEmitter593.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6254 | Fire594.Name = "Fire2" | |
6255 | Fire594.Parent = Part590 | |
6256 | Fire594.Size = 10 | |
6257 | Fire594.Enabled = false | |
6258 | Fire594.Heat = -5 | |
6259 | Fire594.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
6260 | Part595.Name = "Left Arm" | |
6261 | Part595.Parent = Model488 | |
6262 | Part595.Material = Enum.Material.DiamondPlate | |
6263 | Part595.BrickColor = BrickColor.new("Dark stone grey") | |
6264 | Part595.Locked = true | |
6265 | Part595.Size = Vector3.new(1, 1, 3) | |
6266 | Part595.CFrame = CFrame.new(48.287838, 2.01003456, 126.055252, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036) | |
6267 | Part595.BottomSurface = Enum.SurfaceType.Smooth | |
6268 | Part595.TopSurface = Enum.SurfaceType.Smooth | |
6269 | Part595.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6270 | Part595.Position = Vector3.new(48.287838, 2.01003456, 126.055252) | |
6271 | Part595.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6272 | Sound596.Name = "Sound3" | |
6273 | Sound596.Parent = Part595 | |
6274 | Sound596.SoundId = "rbxassetid://191040613" | |
6275 | Sound596.Volume = 1 | |
6276 | Script597.Name = "On contact, thud" | |
6277 | Script597.Parent = Part595 | |
6278 | table.insert(cors,sandbox(Script597,function() | |
6279 | function onTouched(hit) | |
6280 | if hit.CanCollide == false then return end | |
6281 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
6282 | if HitPower >= 600 then | |
6283 | script.Parent.Fire2.Enabled = true | |
6284 | script.Parent.Sound3:Play() | |
6285 | wait(0.2) | |
6286 | script.Parent.Fire2.Enabled = false | |
6287 | end | |
6288 | end | |
6289 | script.Parent.Touched:connect(onTouched) | |
6290 | end)) | |
6291 | ParticleEmitter598.Parent = Part595 | |
6292 | ParticleEmitter598.Transparency = NumberSequence.new(0,0,1) | |
6293 | ParticleEmitter598.Size = NumberSequence.new(0,1.9999998807907) | |
6294 | ParticleEmitter598.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6295 | ParticleEmitter598.Acceleration = Vector3.new(0, 1, 0) | |
6296 | ParticleEmitter598.Lifetime = NumberRange.new(0.5, 2.5) | |
6297 | ParticleEmitter598.Rate = 10 | |
6298 | ParticleEmitter598.RotSpeed = NumberRange.new(0, 30) | |
6299 | ParticleEmitter598.Speed = NumberRange.new(-3, -3) | |
6300 | ParticleEmitter598.VelocitySpread = 5 | |
6301 | ParticleEmitter598.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6302 | Fire599.Name = "Fire2" | |
6303 | Fire599.Parent = Part595 | |
6304 | Fire599.Size = 10 | |
6305 | Fire599.Enabled = false | |
6306 | Fire599.Heat = -5 | |
6307 | Fire599.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
6308 | Part600.Name = "Right Leg" | |
6309 | Part600.Parent = Model488 | |
6310 | Part600.Material = Enum.Material.DiamondPlate | |
6311 | Part600.BrickColor = BrickColor.new("Dark stone grey") | |
6312 | Part600.Locked = true | |
6313 | Part600.Size = Vector3.new(1, 1, 3) | |
6314 | Part600.CFrame = CFrame.new(52.2881699, 3.01003075, 127.055382, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036) | |
6315 | Part600.BottomSurface = Enum.SurfaceType.Smooth | |
6316 | Part600.TopSurface = Enum.SurfaceType.Smooth | |
6317 | Part600.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6318 | Part600.Position = Vector3.new(52.2881699, 3.01003075, 127.055382) | |
6319 | Part600.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6320 | Sound601.Name = "Sound3" | |
6321 | Sound601.Parent = Part600 | |
6322 | Sound601.SoundId = "rbxassetid://191040613" | |
6323 | Sound601.Volume = 1 | |
6324 | Script602.Name = "On contact, thud" | |
6325 | Script602.Parent = Part600 | |
6326 | table.insert(cors,sandbox(Script602,function() | |
6327 | function onTouched(hit) | |
6328 | if hit.CanCollide == false then return end | |
6329 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
6330 | if HitPower >= 600 then | |
6331 | script.Parent.Fire2.Enabled = true | |
6332 | script.Parent.Sound3:Play() | |
6333 | wait(0.2) | |
6334 | script.Parent.Fire2.Enabled = false | |
6335 | end | |
6336 | end | |
6337 | script.Parent.Touched:connect(onTouched) | |
6338 | end)) | |
6339 | ParticleEmitter603.Parent = Part600 | |
6340 | ParticleEmitter603.Transparency = NumberSequence.new(0,0,1) | |
6341 | ParticleEmitter603.Size = NumberSequence.new(0,1.9999998807907) | |
6342 | ParticleEmitter603.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6343 | ParticleEmitter603.Acceleration = Vector3.new(0, 1, 0) | |
6344 | ParticleEmitter603.Lifetime = NumberRange.new(0.5, 2.5) | |
6345 | ParticleEmitter603.Rate = 10 | |
6346 | ParticleEmitter603.RotSpeed = NumberRange.new(0, 30) | |
6347 | ParticleEmitter603.Speed = NumberRange.new(-3, -3) | |
6348 | ParticleEmitter603.VelocitySpread = 5 | |
6349 | ParticleEmitter603.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6350 | Fire604.Name = "Fire2" | |
6351 | Fire604.Parent = Part600 | |
6352 | Fire604.Size = 10 | |
6353 | Fire604.Enabled = false | |
6354 | Fire604.Heat = -5 | |
6355 | Fire604.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
6356 | Part605.Name = "Right Arm" | |
6357 | Part605.Parent = Model488 | |
6358 | Part605.Material = Enum.Material.DiamondPlate | |
6359 | Part605.BrickColor = BrickColor.new("Dark stone grey") | |
6360 | Part605.Locked = true | |
6361 | Part605.Size = Vector3.new(1, 1, 3) | |
6362 | Part605.CFrame = CFrame.new(52.2881393, 2.01003432, 126.055305, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036) | |
6363 | Part605.BottomSurface = Enum.SurfaceType.Smooth | |
6364 | Part605.TopSurface = Enum.SurfaceType.Smooth | |
6365 | Part605.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6366 | Part605.Position = Vector3.new(52.2881393, 2.01003432, 126.055305) | |
6367 | Part605.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
6368 | Sound606.Name = "Sound3" | |
6369 | Sound606.Parent = Part605 | |
6370 | Sound606.SoundId = "rbxassetid://191040613" | |
6371 | Sound606.Volume = 1 | |
6372 | Script607.Name = "On contact, thud" | |
6373 | Script607.Parent = Part605 | |
6374 | table.insert(cors,sandbox(Script607,function() | |
6375 | function onTouched(hit) | |
6376 | if hit.CanCollide == false then return end | |
6377 | local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20 | |
6378 | if HitPower >= 600 then | |
6379 | script.Parent.Fire2.Enabled = true | |
6380 | script.Parent.Sound3:Play() | |
6381 | wait(0.2) | |
6382 | script.Parent.Fire2.Enabled = false | |
6383 | end | |
6384 | end | |
6385 | script.Parent.Touched:connect(onTouched) | |
6386 | end)) | |
6387 | ParticleEmitter608.Parent = Part605 | |
6388 | ParticleEmitter608.Transparency = NumberSequence.new(0,0,1) | |
6389 | ParticleEmitter608.Size = NumberSequence.new(0,1.9999998807907) | |
6390 | ParticleEmitter608.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6391 | ParticleEmitter608.Acceleration = Vector3.new(0, 1, 0) | |
6392 | ParticleEmitter608.Lifetime = NumberRange.new(0.5, 2.5) | |
6393 | ParticleEmitter608.Rate = 10 | |
6394 | ParticleEmitter608.RotSpeed = NumberRange.new(0, 30) | |
6395 | ParticleEmitter608.Speed = NumberRange.new(-3, -3) | |
6396 | ParticleEmitter608.VelocitySpread = 5 | |
6397 | ParticleEmitter608.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118)) | |
6398 | Fire609.Name = "Fire2" | |
6399 | Fire609.Parent = Part605 | |
6400 | Fire609.Size = 10 | |
6401 | Fire609.Enabled = false | |
6402 | Fire609.Heat = -5 | |
6403 | Fire609.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686) | |
6404 | for i,v in pairs(mas:GetChildren()) do | |
6405 | v.Parent = workspace | |
6406 | pcall(function() v:MakeJoints() end) | |
6407 | end | |
6408 | mas:Destroy() | |
6409 | for i,v in pairs(cors) do | |
6410 | spawn(function() | |
6411 | pcall(v) | |
6412 | end) | |
6413 | end |