SHOW:
|
|
- or go back to the newest paste.
1 | -- Created with Z_Vs M2S Plugin TouchTransmitter | |
2 | --CFrame is calling a model not in the script | |
3 | --Clipping isssues when firing bricks. | |
4 | Create = function(itemClass,tabl) | |
5 | local item = Instance.new(itemClass) | |
6 | for i,v in pairs(tabl) do | |
7 | local a,b = ypcall(function() return item[i] end) | |
8 | if a then | |
9 | item[i] = tabl[i] | |
10 | end | |
11 | end | |
12 | return item | |
13 | end | |
14 | function runDummyScript(f,scri) | |
15 | local oldenv = getfenv(f) | |
16 | local newenv = setmetatable({}, { | |
17 | __index = function(_, k) | |
18 | if k:lower() == 'script' then | |
19 | return scri | |
20 | else | |
21 | return oldenv[k] | |
22 | end | |
23 | end | |
24 | }) | |
25 | setfenv(f, newenv) | |
26 | ypcall(function() f() end) | |
27 | end | |
28 | cors = {} | |
29 | mas = Instance.new("Model",game:GetService("Lighting")) | |
30 | mas.Name = "CompiledModel" | |
31 | o1 = Create("Tool",{ | |
32 | ["Name"] = "Noobie McNoobington", | |
33 | ["Parent"] = mas, | |
34 | ["GripPos"] = Vector3.new(0, -1.60000002, -0.150000006), | |
35 | ["ToolTip"] = "A cuddly little noob.", | |
36 | }) | |
37 | o2 = Create("Part",{ | |
38 | ["Name"] = "Handle", | |
39 | ["Parent"] = o1, | |
40 | ["BrickColor"] = BrickColor.new("Bright blue"), | |
41 | ["Position"] = Vector3.new(330.49054, 87.0765381, -126.744385), | |
42 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
43 | ["RotVelocity"] = Vector3.new(1, 1, 1), | |
44 | ["Velocity"] = Vector3.new(-9.18760204, 0, 13.3689327), | |
45 | ["CFrame"] = CFrame.new(330.49054, 87.0765381, -126.744385, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
46 | ["Locked"] = true, | |
47 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
48 | ["Size"] = Vector3.new(2, 2, 1), | |
49 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
50 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
51 | ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451), | |
52 | }) | |
53 | o3 = Create("BlockMesh",{ | |
54 | ["Parent"] = o2, | |
55 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
56 | }) | |
57 | o4 = Create("Sound",{ | |
58 | ["Name"] = "FRESHMEAT", | |
59 | ["Parent"] = o2, | |
60 | ["Pitch"] = 1.0249999761581, | |
61 | ["SoundId"] = "http://www.roblox.com/asset/?id=2767085", | |
62 | ["Volume"] = 1, | |
63 | }) | |
64 | o5 = Create("Sound",{ | |
65 | ["Name"] = "KABOOOOM2", | |
66 | ["Parent"] = o2, | |
67 | ["Pitch"] = 0.80000001192093, | |
68 | ["SoundId"] = "http://www.roblox.com/asset/?id=2101159", | |
69 | ["Volume"] = 1, | |
70 | }) | |
71 | o6 = Create("Sound",{ | |
72 | ["Name"] = "RAWR", | |
73 | ["Parent"] = o2, | |
74 | ["Pitch"] = 0, | |
75 | ["SoundId"] = "http://roblox.com/asset/?id=2767096", | |
76 | ["Volume"] = 0, | |
77 | }) | |
78 | o7 = Create("Sound",{ | |
79 | ["Name"] = "NOM", | |
80 | ["Parent"] = o2, | |
81 | ["SoundId"] = "http://www.roblox.com/asset/?id=189652112", | |
82 | ["Volume"] = 1, | |
83 | }) | |
84 | o8 = Create("Sound",{ | |
85 | ["Name"] = "wee", | |
86 | ["Parent"] = o2, | |
87 | ["Pitch"] = 1.0499999523163, | |
88 | ["SoundId"] = "http://www.roblox.com/asset/?id=4700455", | |
89 | ["Volume"] = 1, | |
90 | }) | |
91 | o9 = Create("Sound",{ | |
92 | ["Name"] = "GETOVERHERE", | |
93 | ["Parent"] = o2, | |
94 | ["Pitch"] = 0.89999997615814, | |
95 | ["SoundId"] = "http://www.roblox.com/asset/?id=58435367", | |
96 | ["Volume"] = 1, | |
97 | }) | |
98 | o10 = Create("Sound",{ | |
99 | ["Name"] = "KABOOOOM1", | |
100 | ["Parent"] = o2, | |
101 | ["SoundId"] = "http://www.roblox.com/asset/?id=1994345", | |
102 | ["Volume"] = 1, | |
103 | }) | |
104 | o11 = Create("Sound",{ | |
105 | ["Name"] = "SWING", | |
106 | ["Parent"] = o2, | |
107 | ["Pitch"] = 1.1000000238419, | |
108 | ["SoundId"] = "http://www.roblox.com/asset/?id=189505649", | |
109 | ["Volume"] = 1, | |
110 | }) | |
111 | o12 = Create("Sound",{ | |
112 | ["Name"] = "OWNED", | |
113 | ["Parent"] = o2, | |
114 | ["Pitch"] = 0.30000001192093, | |
115 | ["SoundId"] = "http://roblox.com/asset/?id=2801263", | |
116 | ["Volume"] = 0.125, | |
117 | }) | |
118 | o13 = Create("Sound",{ | |
119 | ["Name"] = "FULL", | |
120 | ["Parent"] = o2, | |
121 | ["Pitch"] = 0.89999997615814, | |
122 | ["SoundId"] = "http://www.roblox.com/asset/?id=13075805", | |
123 | ["Volume"] = 1, | |
124 | }) | |
125 | o14 = Create("Sound",{ | |
126 | ["Name"] = "OPEN1", | |
127 | ["Parent"] = o2, | |
128 | ["SoundId"] = "http://www.roblox.com/asset/?id=90869127", | |
129 | ["Volume"] = 1, | |
130 | }) | |
131 | o15 = Create("Sound",{ | |
132 | ["Name"] = "OPEN3", | |
133 | ["Parent"] = o2, | |
134 | ["Pitch"] = 1.25, | |
135 | ["SoundId"] = "http://www.roblox.com/asset/?id=90110171", | |
136 | ["Volume"] = 0, | |
137 | }) | |
138 | o16 = Create("Sound",{ | |
139 | ["Name"] = "OPEN2", | |
140 | ["Parent"] = o2, | |
141 | ["Pitch"] = 0, | |
142 | ["SoundId"] = "http://www.roblox.com/asset/?id=11450310", | |
143 | ["Volume"] = 0, | |
144 | }) | |
145 | o17 = Create("Sound",{ | |
146 | ["Name"] = "SAUCE1", | |
147 | ["Parent"] = o2, | |
148 | ["Pitch"] = 0.69999998807907, | |
149 | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", | |
150 | ["Volume"] = 1, | |
151 | }) | |
152 | o18 = Create("Sound",{ | |
153 | ["Name"] = "SAUCE2", | |
154 | ["Parent"] = o2, | |
155 | ["Pitch"] = 0.77499997615814, | |
156 | ["SoundId"] = "http://www.roblox.com/asset/?id=2697295", | |
157 | ["Volume"] = 1, | |
158 | }) | |
159 | o19 = Create("Sound",{ | |
160 | ["Name"] = "Fire", | |
161 | ["Parent"] = o2, | |
162 | ["Pitch"] = 0.85000002384186, | |
163 | ["SoundId"] = "http://roblox.com/asset/?id=10209776", | |
164 | ["Volume"] = 1, | |
165 | }) | |
166 | o20 = Create("Sound",{ | |
167 | ["Name"] = "Startup", | |
168 | ["Parent"] = o2, | |
169 | ["Pitch"] = 0.85000002384186, | |
170 | ["SoundId"] = "http://roblox.com/asset/?id=10209788", | |
171 | ["Volume"] = 1, | |
172 | }) | |
173 | o21 = Create("Sound",{ | |
174 | ["Name"] = "Winddown", | |
175 | ["Parent"] = o2, | |
176 | ["Pitch"] = 0.85000002384186, | |
177 | ["SoundId"] = "http://roblox.com/asset/?id=10209786", | |
178 | ["Volume"] = 1, | |
179 | }) | |
180 | o22 = Create("Sound",{ | |
181 | ["Name"] = "InitialThrust", | |
182 | ["Parent"] = o2, | |
183 | ["Pitch"] = 0.60000002384186, | |
184 | ["SoundId"] = "http://www.roblox.com/asset/?id=30624262", | |
185 | ["Volume"] = 1, | |
186 | }) | |
187 | o23 = Create("Sound",{ | |
188 | ["Name"] = "Thrusting", | |
189 | ["Parent"] = o2, | |
190 | ["SoundId"] = "http://www.roblox.com/asset/?id=30624426", | |
191 | ["Volume"] = 1, | |
192 | }) | |
193 | o24 = Create("Sound",{ | |
194 | ["Name"] = "Equip", | |
195 | ["Parent"] = o2, | |
196 | ["SoundId"] = "http://www.roblox.com/asset/?id=189652125", | |
197 | ["Volume"] = 1, | |
198 | }) | |
199 | o25 = Create("Sound",{ | |
200 | ["Name"] = "NOM2", | |
201 | ["Parent"] = o2, | |
202 | ["Pitch"] = 0.97079998254776, | |
203 | ["SoundId"] = "http://www.roblox.com/asset/?id=1390349 ", | |
204 | }) | |
205 | o26 = Create("Sound",{ | |
206 | ["Name"] = "NOM1", | |
207 | ["Parent"] = o2, | |
208 | ["Pitch"] = 0.76563334465027, | |
209 | ["SoundId"] = "http://www.roblox.com/asset/?id=41410287", | |
210 | }) | |
211 | o28 = Create("Part",{ | |
212 | ["Name"] = "Handle2", | |
213 | ["Parent"] = o1, | |
214 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
215 | ["Position"] = Vector3.new(330.481354, 87.9005737, -126.731689), | |
216 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
217 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
218 | ["Velocity"] = Vector3.new(-9.18036747, 0, 13.4155693), | |
219 | ["CFrame"] = CFrame.new(330.481354, 87.9005737, -126.731689, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
220 | ["CanCollide"] = false, | |
221 | ["Locked"] = true, | |
222 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
223 | ["Size"] = Vector3.new(1, 1, 1), | |
224 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
225 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
226 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
227 | }) | |
228 | o29 = Create("SpecialMesh",{ | |
229 | ["Parent"] = o28, | |
230 | ["Scale"] = Vector3.new(1, 0.150000006, 0.75), | |
231 | ["MeshType"] = Enum.MeshType.Brick, | |
232 | }) | |
233 | o30 = Create("Script",{ | |
234 | ["Name"] = "Welds", | |
235 | ["Parent"] = o1, | |
236 | }) | |
237 | table.insert(cors,coroutine.create(function() | |
238 | wait() | |
239 | runDummyScript(function() | |
240 | wait() | |
241 | Tool=script.Parent | |
242 | ||
243 | Weld=function() | |
244 | for _,v in pairs(Tool.Handle:children()) do | |
245 | if v.className=="Weld" then | |
246 | v:Remove() | |
247 | end | |
248 | end | |
249 | ||
250 | w=Instance.new("Weld") | |
251 | w.Part0=Tool.Handle | |
252 | w.Part1=Tool.Handle2 | |
253 | w.C0=CFrame.new(0,.825,0) | |
254 | w.Parent=w.Part0 | |
255 | ||
256 | w=Instance.new("Weld") | |
257 | w.Part0=Tool.Handle | |
258 | w.Part1=Tool.Handle3 | |
259 | w.C0=CFrame.new(1.125,0,0) | |
260 | w.Parent=w.Part0 | |
261 | ||
262 | w=Instance.new("Weld") | |
263 | w.Part0=Tool.Handle | |
264 | w.Part1=Tool.Handle4 | |
265 | w.C0=CFrame.new(-1.125,0,0) | |
266 | w.Parent=w.Part0 | |
267 | ||
268 | w=Instance.new("Weld") | |
269 | w.Part0=Tool.Handle | |
270 | w.Part1=Tool.Handle5 | |
271 | w.C0=CFrame.new(.375,-1.5,0) | |
272 | w.Parent=w.Part0 | |
273 | ||
274 | w=Instance.new("Weld") | |
275 | w.Part0=Tool.Handle | |
276 | w.Part1=Tool.Handle6 | |
277 | w.C0=CFrame.new(-.375,-1.5,0) | |
278 | w.Parent=w.Part0 | |
279 | ||
280 | -- | |
281 | ||
282 | w=Instance.new("Weld") | |
283 | w.Name="CheekWeld1" | |
284 | w.Part0=Tool.Handle | |
285 | w.Part1=Tool.Cheek1 | |
286 | w.C0=CFrame.new(-.425,1.325,0) | |
287 | w.Parent=w.Part0 | |
288 | ||
289 | w=Instance.new("Weld") | |
290 | w.Name="CheekWeld2" | |
291 | w.Part0=Tool.Handle | |
292 | w.Part1=Tool.Cheek2 | |
293 | w.C0=CFrame.new(.425,1.325,0) | |
294 | w.Parent=w.Part0 | |
295 | ||
296 | w=Instance.new("Weld") | |
297 | w.Name="CheekWeld3" | |
298 | w.Part0=Tool.Handle | |
299 | w.Part1=Tool.Cheek3 | |
300 | w.C0=CFrame.new(0,1.325,.3) | |
301 | w.Parent=w.Part0 | |
302 | ||
303 | w=Instance.new("Weld") | |
304 | w.Name="CheekWeldTop" | |
305 | w.Part0=Tool.Handle | |
306 | w.Part1=Tool.Top | |
307 | w.C0=CFrame.new(0,1.675,-.0375) | |
308 | w.Parent=w.Part0 | |
309 | ||
310 | w=Instance.new("Weld") | |
311 | w.Name="CheekWeld4" | |
312 | w.Part0=Tool.Handle | |
313 | w.Part1=Tool.Cheek4 | |
314 | w.C0=CFrame.new(0,1.4,-.3) | |
315 | w.Parent=w.Part0 | |
316 | ||
317 | w=Instance.new("Weld") | |
318 | w.Name="CheekWeld5" | |
319 | w.Part0=Tool.Handle | |
320 | w.Part1=Tool.Cheek5 | |
321 | w.C0=CFrame.new(0,1.05,-.3) | |
322 | w.Parent=w.Part0 | |
323 | ||
324 | w=Instance.new("Weld") | |
325 | w.Name="FaceWeld" | |
326 | w.Part0=Tool.Handle | |
327 | w.Part1=Tool.Face | |
328 | w.C0=CFrame.new(0,1.3,-.39) | |
329 | w.Parent=w.Part0 | |
330 | ||
331 | w=Instance.new("Weld") | |
332 | w.Name="CheekWeld6" | |
333 | w.Part0=Tool.Handle | |
334 | w.Part1=Tool.Cheek6 | |
335 | w.C0=CFrame.new(0,.85,0) | |
336 | w.Parent=w.Part0 | |
337 | ||
338 | w=Instance.new("Weld") | |
339 | w.Name="CheekWeld7" | |
340 | w.Part0=Tool.Handle | |
341 | w.Part1=Tool.Cheek7 | |
342 | w.C0=CFrame.new(.4,1.25,0) | |
343 | w.Parent=w.Part0 | |
344 | ||
345 | w=Instance.new("Weld") | |
346 | w.Name="CheekWeld8" | |
347 | w.Part0=Tool.Handle | |
348 | w.Part1=Tool.Cheek8 | |
349 | w.C0=CFrame.new(0,1.325,.275) | |
350 | w.Parent=w.Part0 | |
351 | ||
352 | w=Instance.new("Weld") | |
353 | w.Name="CheekWeld9" | |
354 | w.Part0=Tool.Handle | |
355 | w.Part1=Tool.Cheek9 | |
356 | w.C0=CFrame.new(-.4,1.25,0) | |
357 | w.Parent=w.Part0 | |
358 | ||
359 | w=Instance.new("Weld") | |
360 | w.Name="CheekWeldTop2" | |
361 | w.Part0=Tool.Handle | |
362 | w.Part1=Tool.Top2 | |
363 | w.C0=CFrame.new(0,1.65,-.0375) | |
364 | w.Parent=w.Part0 | |
365 | ||
366 | w=Instance.new("Weld") | |
367 | w.Name="ChewWeld1" | |
368 | w.Part0=Tool.Handle | |
369 | w.Part1=Tool.Chew1 | |
370 | w.C0=CFrame.new(-.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
371 | w.Parent=w.Part0 | |
372 | ||
373 | w=Instance.new("Weld") | |
374 | w.Name="ChewWeld2" | |
375 | w.Part0=Tool.Handle | |
376 | w.Part1=Tool.Chew2 | |
377 | w.C0=CFrame.new(.65,1.25,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
378 | w.Parent=w.Part0 | |
379 | ||
380 | w=Instance.new("Weld") | |
381 | w.Name="CheekWeld10" | |
382 | w.Part0=Tool.Handle | |
383 | w.Part1=Tool.Cheek10 | |
384 | w.C0=CFrame.new(0,1.25,.8) | |
385 | w.Parent=w.Part0 | |
386 | ||
387 | end | |
388 | ||
389 | Weld() | |
390 | Tool.AncestryChanged:connect(Weld) | |
391 | end,o30) | |
392 | end)) | |
393 | o31 = Create("Part",{ | |
394 | ["Name"] = "Handle3", | |
395 | ["Parent"] = o1, | |
396 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
397 | ["Position"] = Vector3.new(329.581451, 87.0765381, -127.407104), | |
398 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
399 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
400 | ["Velocity"] = Vector3.new(-9.28361034, 0, 13.5006351), | |
401 | ["CFrame"] = CFrame.new(329.581451, 87.0765381, -127.407104, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
402 | ["CanCollide"] = false, | |
403 | ["Locked"] = true, | |
404 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
405 | ["Size"] = Vector3.new(1, 2, 1), | |
406 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
407 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
408 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
409 | }) | |
410 | o32 = Create("SpecialMesh",{ | |
411 | ["Parent"] = o31, | |
412 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
413 | ["MeshType"] = Enum.MeshType.Brick, | |
414 | }) | |
415 | o33 = Create("Part",{ | |
416 | ["Name"] = "Handle4", | |
417 | ["Parent"] = o1, | |
418 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
419 | ["Position"] = Vector3.new(331.399658, 87.0765381, -126.081665), | |
420 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
421 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
422 | ["Velocity"] = Vector3.new(-9.09159374, 0, 13.2372303), | |
423 | ["CFrame"] = CFrame.new(331.399658, 87.0765381, -126.081665, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
424 | ["CanCollide"] = false, | |
425 | ["Locked"] = true, | |
426 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
427 | ["Size"] = Vector3.new(1, 2, 1), | |
428 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
429 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
430 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
431 | }) | |
432 | o34 = Create("SpecialMesh",{ | |
433 | ["Parent"] = o33, | |
434 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
435 | ["MeshType"] = Enum.MeshType.Brick, | |
436 | }) | |
437 | o35 = Create("Part",{ | |
438 | ["Name"] = "Handle5", | |
439 | ["Parent"] = o1, | |
440 | ["BrickColor"] = BrickColor.new("Br. yellowish green"), | |
441 | ["Position"] = Vector3.new(330.202728, 85.5767822, -126.986076), | |
442 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
443 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
444 | ["Velocity"] = Vector3.new(-9.22261715, 0, 13.4106302), | |
445 | ["CFrame"] = CFrame.new(330.202728, 85.5767822, -126.986076, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
446 | ["CanCollide"] = false, | |
447 | ["Locked"] = true, | |
448 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
449 | ["Size"] = Vector3.new(1, 2, 1), | |
450 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
451 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
452 | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), | |
453 | }) | |
454 | o36 = Create("SpecialMesh",{ | |
455 | ["Parent"] = o35, | |
456 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
457 | ["MeshType"] = Enum.MeshType.Brick, | |
458 | }) | |
459 | o37 = Create("Part",{ | |
460 | ["Name"] = "Handle6", | |
461 | ["Parent"] = o1, | |
462 | ["BrickColor"] = BrickColor.new("Br. yellowish green"), | |
463 | ["Position"] = Vector3.new(330.808777, 85.5767822, -126.544312), | |
464 | ["Rotation"] = Vector3.new(-178.779846, 36.0838814, 179.281296), | |
465 | ["RotVelocity"] = Vector3.new(0, 0.144870773, 0), | |
466 | ["Velocity"] = Vector3.new(-9.15861702, 0, 13.3228292), | |
467 | ["CFrame"] = CFrame.new(330.808777, 85.5767822, -126.544312, -0.808091879, -0.0101370653, 0.588969052, -1.52181243e-014, 0.999851942, 0.0172089934, -0.589056253, 0.0139064481, -0.807972252), | |
468 | ["CanCollide"] = false, | |
469 | ["Locked"] = true, | |
470 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
471 | ["Size"] = Vector3.new(1, 2, 1), | |
472 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
473 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
474 | ["Color"] = Color3.new(0.643137, 0.741176, 0.278431), | |
475 | }) | |
476 | o38 = Create("SpecialMesh",{ | |
477 | ["Parent"] = o37, | |
478 | ["Scale"] = Vector3.new(0.75, 0.75, 0.75), | |
479 | ["MeshType"] = Enum.MeshType.Brick, | |
480 | }) | |
481 | o39 = Create("Part",{ | |
482 | ["Name"] = "Cheek1", | |
483 | ["Parent"] = o1, | |
484 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
485 | ["Position"] = Vector3.new(330.81955, 88.400444, -126.474121), | |
486 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
487 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
488 | ["Velocity"] = Vector3.new(-9.13731194, 0, 13.3590374), | |
489 | ["CFrame"] = CFrame.new(330.81955, 88.400444, -126.474121, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
490 | ["CanCollide"] = false, | |
491 | ["Locked"] = true, | |
492 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
493 | ["Size"] = Vector3.new(1, 1, 1), | |
494 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
495 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
496 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
497 | }) | |
498 | o40 = Create("SpecialMesh",{ | |
499 | ["Parent"] = o39, | |
500 | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), | |
501 | ["MeshType"] = Enum.MeshType.Brick, | |
502 | }) | |
503 | o41 = Create("Part",{ | |
504 | ["Name"] = "Cheek2", | |
505 | ["Parent"] = o1, | |
506 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
507 | ["Position"] = Vector3.new(330.13266, 88.400444, -126.974854), | |
508 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
509 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
510 | ["Velocity"] = Vector3.new(-9.22101402, 0, 13.4738541), | |
511 | ["CFrame"] = CFrame.new(330.13266, 88.400444, -126.974854, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
512 | ["CanCollide"] = false, | |
513 | ["Locked"] = true, | |
514 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
515 | ["Size"] = Vector3.new(1, 1, 1), | |
516 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
517 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
518 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
519 | }) | |
520 | o42 = Create("SpecialMesh",{ | |
521 | ["Parent"] = o41, | |
522 | ["Scale"] = Vector3.new(0.150000006, 0.850000024, 0.75), | |
523 | ["MeshType"] = Enum.MeshType.Brick, | |
524 | }) | |
525 | o43 = Create("Part",{ | |
526 | ["Name"] = "Cheek3", | |
527 | ["Parent"] = o1, | |
528 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
529 | ["Position"] = Vector3.new(330.652802, 88.4058228, -126.966919), | |
530 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
531 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
532 | ["Velocity"] = Vector3.new(-9.21968746, 0, 13.3869104), | |
533 | ["CFrame"] = CFrame.new(330.652802, 88.4058228, -126.966919, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
534 | ["CanCollide"] = false, | |
535 | ["Locked"] = true, | |
536 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
537 | ["Size"] = Vector3.new(1, 1, 1), | |
538 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
539 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
540 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
541 | }) | |
542 | o44 = Create("SpecialMesh",{ | |
543 | ["Parent"] = o43, | |
544 | ["Scale"] = Vector3.new(0.75, 0.850000024, 0.150000006), | |
545 | ["MeshType"] = Enum.MeshType.Brick, | |
546 | }) | |
547 | o45 = Create("Part",{ | |
548 | ["Name"] = "Top", | |
549 | ["Parent"] = o1, | |
550 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
551 | ["Position"] = Vector3.new(330.450348, 88.7497482, -126.689087), | |
552 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
553 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
554 | ["Velocity"] = Vector3.new(-9.17324543, 0, 13.4207516), | |
555 | ["CFrame"] = CFrame.new(330.450348, 88.7497482, -126.689087, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
556 | ["CanCollide"] = false, | |
557 | ["Locked"] = true, | |
558 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
559 | ["Size"] = Vector3.new(1, 1, 1), | |
560 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
561 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
562 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
563 | }) | |
564 | o46 = Create("SpecialMesh",{ | |
565 | ["Parent"] = o45, | |
566 | ["Scale"] = Vector3.new(0.925000012, 0.150000006, 0.675000012), | |
567 | ["MeshType"] = Enum.MeshType.Brick, | |
568 | }) | |
569 | o47 = Create("Part",{ | |
570 | ["Name"] = "Cheek4", | |
571 | ["Parent"] = o1, | |
572 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
573 | ["Position"] = Vector3.new(330.298645, 88.4700928, -126.480957), | |
574 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
575 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
576 | ["Velocity"] = Vector3.new(-9.13845539, 0, 13.4461126), | |
577 | ["CFrame"] = CFrame.new(330.298645, 88.4700928, -126.480957, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
578 | ["CanCollide"] = false, | |
579 | ["Locked"] = true, | |
580 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
581 | ["Size"] = Vector3.new(1, 1, 1), | |
582 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
583 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
584 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
585 | }) | |
586 | o48 = Create("SpecialMesh",{ | |
587 | ["Parent"] = o47, | |
588 | ["Scale"] = Vector3.new(0.75, 0.425000012, 0.150000006), | |
589 | ["MeshType"] = Enum.MeshType.Brick, | |
590 | }) | |
591 | o49 = Create("Part",{ | |
592 | ["Name"] = "Cheek5", | |
593 | ["Parent"] = o1, | |
594 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
595 | ["Position"] = Vector3.new(330.302307, 88.1201782, -126.486076), | |
596 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
597 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
598 | ["Velocity"] = Vector3.new(-9.13931179, 0, 13.4454994), | |
599 | ["CFrame"] = CFrame.new(330.302307, 88.1201782, -126.486076, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
600 | ["CanCollide"] = false, | |
601 | ["Locked"] = true, | |
602 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
603 | ["Size"] = Vector3.new(1, 1, 1), | |
604 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
605 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
606 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
607 | }) | |
608 | o50 = Create("SpecialMesh",{ | |
609 | ["Parent"] = o49, | |
610 | ["Scale"] = Vector3.new(0.725000024, 0.310000002, 0.150000006), | |
611 | ["MeshType"] = Enum.MeshType.Brick, | |
612 | }) | |
613 | o51 = Create("Part",{ | |
614 | ["Name"] = "Face", | |
615 | ["Parent"] = o1, | |
616 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
617 | ["Position"] = Vector3.new(330.246674, 88.3685303, -126.40966), | |
618 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
619 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
620 | ["Velocity"] = Vector3.new(-9.12653828, 0, 13.4547977), | |
621 | ["CFrame"] = CFrame.new(330.246674, 88.3685303, -126.40966, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
622 | ["CanCollide"] = false, | |
623 | ["Locked"] = true, | |
624 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
625 | ["Size"] = Vector3.new(1, 1, 1), | |
626 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
627 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
628 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
629 | }) | |
630 | o52 = Create("SpecialMesh",{ | |
631 | ["Parent"] = o51, | |
632 | ["Scale"] = Vector3.new(1, 1, 0.00200000009), | |
633 | ["MeshType"] = Enum.MeshType.Brick, | |
634 | }) | |
635 | o53 = Create("Decal",{ | |
636 | ["Parent"] = o51, | |
637 | ["Texture"] = "http://www.roblox.com/asset/?id=8056256", | |
638 | }) | |
639 | o54 = Create("IntValue",{ | |
640 | ["Name"] = "Nom", | |
641 | ["Parent"] = o1, | |
642 | ["Value"] = 204, | |
643 | }) | |
644 | o55 = Create("LocalScript",{ | |
645 | ["Parent"] = o1, | |
646 | }) | |
647 | table.insert(cors,coroutine.create(function() | |
648 | wait() | |
649 | runDummyScript(function() | |
650 | --Saz | |
651 | --Based off of Mario's Castle Collab 1/2 | |
652 | ||
653 | --My finest creation | |
654 | ||
655 | wait(2) | |
656 | ||
657 | Tool=script.Parent | |
658 | Scaling=0 | |
659 | ||
660 | Chewing=false | |
661 | canScale=true | |
662 | ||
663 | OnlyEyes="http://www.roblox.com/asset/?id=98704326" | |
664 | MouthToo="http://www.roblox.com/asset/?id=8056256" | |
665 | ||
666 | BESTSIZE=0 | |
667 | ||
668 | permobjects={} | |
669 | ||
670 | updateScaling=function() --updates the mouth. | |
671 | ||
672 | if canScale==false then return end | |
673 | ||
674 | Lol=Scaling/6 | |
675 | ||
676 | Tool.Handle2.Mesh.Scale=Vector3.new(1, 0.15, 0.75) + Vector3.new(Lol/10*2.5, 0, 0) | |
677 | Tool.Cheek6.Mesh.Scale=Vector3.new(0.85, 0.15, 0.6) + Vector3.new(Lol/10*2.5, 0, 0) | |
678 | ||
679 | Tool.Cheek1.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) | |
680 | Tool.Handle.CheekWeld1.C0=CFrame.new(-.425,1.325,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) | |
681 | Tool.Cheek9.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) | |
682 | Tool.Handle.CheekWeld9.C0=CFrame.new(-.4,1.25,0) * CFrame.new(-Lol/20*2.5, Lol/2, 0) | |
683 | ||
684 | Tool.Cheek2.Mesh.Scale=Vector3.new(0.15, 0.85, 0.75) + Vector3.new(0, Lol, 0) | |
685 | Tool.Handle.CheekWeld2.C0=CFrame.new(.425,1.325,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) | |
686 | Tool.Cheek7.Mesh.Scale=Vector3.new(0.15, 0.7, 0.6) + Vector3.new(0, Lol, 0) | |
687 | Tool.Handle.CheekWeld7.C0=CFrame.new(.4,1.25,0) * CFrame.new(Lol/20*2.5, Lol/2, 0) | |
688 | ||
689 | ||
690 | Tool.Top.Mesh.Scale=Vector3.new(0.925, 0.15, 0.675) + Vector3.new(Lol/10*2.5, 0, 0) | |
691 | Tool.Handle.CheekWeldTop.C0=CFrame.new(0,1.675,-.0375) * CFrame.new(0, Lol, 0) | |
692 | Tool.Top2.Mesh.Scale=Vector3.new(0.9, 0.15, 0.65) + Vector3.new(Lol/10*2.5, 0, 0) | |
693 | Tool.Handle.CheekWeldTop2.C0=CFrame.new(0,1.65,-.0375) * CFrame.new(0, Lol, 0) | |
694 | ||
695 | Tool.Cheek3.Mesh.Scale=Vector3.new(0.75, 0.85, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) | |
696 | Tool.Handle.CheekWeld3.C0=CFrame.new(0,1.325,.3) * CFrame.new(0, Lol/2, 0) | |
697 | ||
698 | Tool.Cheek8.Mesh.Scale=Vector3.new(0.75, 0.84, 0.15) + Vector3.new(Lol/10*2.5, Lol, 0) | |
699 | Tool.Handle.CheekWeld8.C0=CFrame.new(0,1.325,.275) * CFrame.new(0, Lol/2, 0) | |
700 | ||
701 | ||
702 | Tool.Handle.FaceWeld.C0=CFrame.new(0,1.3,-.39) * CFrame.new(0, Lol/1.01, 0) | |
703 | ||
704 | Tool.Cheek4.Mesh.Scale=Vector3.new(0.75, 0.425, 0.15) + Vector3.new(Lol/10*2.5, Lol/40, 0) | |
705 | Tool.Handle.CheekWeld4.C0=CFrame.new(0,1.4,-.3) * CFrame.new(0, Lol, 0) | |
706 | ||
707 | Tool.Cheek10.Mesh.Scale=Vector3.new(1,1,1) + Vector3.new(Lol/10*2.5, Lol, BESTSIZE/10) | |
708 | Tool.Handle.CheekWeld10.C0=CFrame.new(0,1.25,.8) * CFrame.new(0, Lol/2, BESTSIZE/20) | |
709 | ||
710 | if Scaling>0 then | |
711 | Tool.Face.Decal.Texture=OnlyEyes | |
712 | Tool.Cheek5.Transparency=1 | |
713 | else | |
714 | Tool.Face.Decal.Texture=MouthToo | |
715 | Tool.Cheek5.Transparency=0 | |
716 | end | |
717 | ||
718 | if BESTSIZE>0 then | |
719 | Tool.Cheek10.Transparency=0 | |
720 | else | |
721 | Tool.Cheek10.Transparency=1 | |
722 | end | |
723 | ||
724 | end | |
725 | ||
726 | Chew=function() --nomnom | |
727 | ||
728 | Chewing=true | |
729 | ||
730 | start=0 | |
731 | Tool.Chew1.Transparency=0 | |
732 | Tool.Chew2.Transparency=0 | |
733 | ||
734 | ||
735 | for lol=1, 3 do | |
736 | ||
737 | Tool.Handle.NOM1:Play() | |
738 | Tool.Handle.NOM2:Play() | |
739 | ||
740 | if math.random(1,3)~=1 then | |
741 | ||
742 | Tool.Handle.NOM1.Pitch=.7625 + math.random(-700,150)/15000 | |
743 | Tool.Handle.NOM2.Pitch=1 + math.random(-700,150)/15000 | |
744 | ||
745 | else | |
746 | ||
747 | Tool.Handle.NOM1.Pitch=.8 | |
748 | Tool.Handle.NOM2.Pitch=.95 | |
749 | ||
750 | end | |
751 | ||
752 | for i=1, 6 do | |
753 | ||
754 | Scaling=0-i/3 | |
755 | ||
756 | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
757 | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
758 | ||
759 | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
760 | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
761 | ||
762 | wait() | |
763 | end | |
764 | for i=1, 5 do | |
765 | Scaling=-(5/3)+i/3 | |
766 | ||
767 | Tool.Chew2.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
768 | Tool.Handle.ChewWeld2.C0=CFrame.new(.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
769 | ||
770 | Tool.Chew1.Mesh.Scale=Vector3.new(0.5, 0.65, 0.5) - Vector3.new(Scaling,Scaling/5,Scaling)/4 | |
771 | Tool.Handle.ChewWeld1.C0=CFrame.new(-.5,1.15,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) * CFrame.new(0, 0, -Scaling/150) | |
772 | ||
773 | wait() | |
774 | end | |
775 | end | |
776 | Tool.Chew1.Transparency=1 | |
777 | Tool.Chew2.Transparency=1 | |
778 | ||
779 | if Tool.Nom.Value>300 then Tool.Nom.Value=300 Tool.Handle.FULL:Play() end | |
780 | ||
781 | Chewing=false | |
782 | ||
783 | end | |
784 | ||
785 | EatObject=function(Object) --Attempts to eat the object, annihilate it and gain charges. | |
786 | ||
787 | end | |
788 | Attackdeb=true | |
789 | ||
790 | GetNearParts=function(Model) | |
791 | local pen={} | |
792 | for __,vv in pairs(Model:children()) do | |
793 | if vv.className=="Model" then | |
794 | for ___,vvv in pairs(GetNearParts(vv)) do | |
795 | table.insert(pen,vvv) | |
796 | end | |
797 | elseif vv:IsA("BasePart") then | |
798 | table.insert(pen,vv) | |
799 | end | |
800 | end | |
801 | return pen | |
802 | end | |
803 | ||
804 | Attack=function() --Click and hold readies the noob; releasing swings it. | |
805 | ||
806 | if Tool.Nom.Value<300 then | |
807 | ||
808 | if Attackdeb==false then return end | |
809 | if Chewing==true then return end | |
810 | ||
811 | arm=Tool.Parent.Torso:FindFirstChild([[Right Shoulder]]) | |
812 | ||
813 | if arm==nil then print("FUUUUUUUUUU") return end | |
814 | ||
815 | holdi=1 | |
816 | Waiting=true | |
817 | Attackdeb=false | |
818 | ||
819 | co=arm.C0 | |
820 | c1=arm.Part1["RightGrip"].C0 | |
821 | ||
822 | Tool.Handle.SAUCE2:Play() | |
823 | Tool.Handle.SAUCE1:Play() | |
824 | ||
825 | for i=1, 5 do | |
826 | ||
827 | Scaling=-i/2 | |
828 | ||
829 | wait() | |
830 | ||
831 | end | |
832 | ||
833 | Tool.Handle.OPEN1:Play() | |
834 | Tool.Handle.OPEN2:Play() | |
835 | Tool.Handle.OPEN3:Play() | |
836 | ||
837 | for i=1, 10 do --must be held for the full 20, or moot. | |
838 | if Waiting==false then break end | |
839 | ||
840 | Scaling=10*i | |
841 | ||
842 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/1.75/10) | |
843 | ||
844 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/45*2,0,0) | |
845 | ||
846 | wait() | |
847 | ||
848 | holdi=i*2 | |
849 | ||
850 | end | |
851 | ||
852 | while Waiting==true do | |
853 | wait() | |
854 | end | |
855 | ||
856 | if holdi==20 then --fully charged | |
857 | ||
858 | Tool.Parent.Torso.Anchored=true | |
859 | gg=Instance.new("BodyGyro") --no re | |
860 | gg.P=7000 | |
861 | gg.D=500 | |
862 | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 | |
863 | gg.cframe=Tool.Parent.Torso.CFrame | |
864 | ||
865 | gp=Instance.new("BodyPosition") | |
866 | gp.P=5000 | |
867 | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 | |
868 | gp.position=Tool.Parent.Torso.CFrame.p | |
869 | gp.Parent=Tool.Parent.Torso | |
870 | gg.Parent=Tool.Parent.Torso | |
871 | ||
872 | Tool.Handle.SWING:Play() | |
873 | ||
874 | didGrab=false | |
875 | ||
876 | objects={} | |
877 | players={} | |
878 | ||
879 | for i=1, 6 do | |
880 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/2.25/5) | |
881 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(-math.pi/60,0,0) | |
882 | ||
883 | dir=(Tool.Handle.Position-Tool.Handle2.Position).unit | |
884 | for peni=-2, 2 do | |
885 | hit,loc=workspace:FindPartOnRay(Ray.new(Tool.Handle2.Position+(Tool.Parent["Right Arm"].Position-Tool.Parent.Torso.Position).unit*peni+Tool.Handle.CFrame.lookVector*2.4,-dir*30),Tool.Parent) | |
886 | if hit~=nil and #objects<=12 then | |
887 | if hit.Parent~=nil then | |
888 | h=hit.Parent:FindFirstChild("Humanoid") | |
889 | if h~=nil and hit.Parent~=Tool.Parent then | |
890 | ||
891 | h.Parent.Head.Transparency=1 | |
892 | ||
893 | table.insert(permobjects,hit:clone()) | |
894 | table.insert(permobjects,h.Parent.Head:clone()) | |
895 | ||
896 | h.PlatformStand=true | |
897 | table.insert(players,h.Parent) | |
898 | ww=Instance.new("Weld") | |
899 | ww.Part0=Tool.Cheek3 | |
900 | ww.C0=CFrame.new(0,1.5,1)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0) | |
901 | ww.Part1=h.Parent.Head | |
902 | ww.Parent=ww.Part1 | |
903 | ||
904 | ww.Name="lolowned" | |
905 | ||
906 | Tool.Handle.GETOVERHERE:Play() | |
907 | ||
908 | if BESTSIZE < 8 then | |
909 | BESTSIZE = 8 | |
910 | end | |
911 | ||
912 | else | |
913 | ||
914 | for _,v in pairs(GetNearParts(hit.Parent)) do | |
915 | if v:GetMass()<=180 and v.Parent~=Tool.Parent and v.Parent~=Tool and (v.Position-hit.Position).magnitude<=7 then | |
916 | table.insert(objects,v) | |
917 | ||
918 | if BESTSIZE < v:GetMass() then | |
919 | BESTSIZE = v:GetMass() | |
920 | end | |
921 | ||
922 | table.insert(permobjects,v:clone()) | |
923 | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass(),0) x.Parent=v | |
924 | ||
925 | for __,vv in pairs(v:children()) do | |
926 | hasmesh=false | |
927 | if vv:IsA("DataModelMesh") then | |
928 | vv.Scale=vv.Scale | |
929 | hasmesh=true | |
930 | print("LOL") | |
931 | end | |
932 | if hasmesh==false then --give it one | |
933 | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(v.Size.x,v.Size.y,v.Size.z) m.Parent=v | |
934 | end | |
935 | end | |
936 | ||
937 | v.Size=Vector3.new(1,1,1) | |
938 | ||
939 | v:BreakJoints() | |
940 | v.CanCollide=false | |
941 | v.Anchored=false | |
942 | ||
943 | v:BreakJoints() | |
944 | v.CanCollide=false | |
945 | v.Anchored=false | |
946 | ||
947 | v.CFrame=Tool.Cheek3.CFrame | |
948 | ||
949 | ww=Instance.new("Weld") | |
950 | ww.Part0=Tool.Cheek3 | |
951 | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-50,50)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) | |
952 | ww.Part1=v | |
953 | ww.Parent=ww.Part1 | |
954 | ||
955 | ww.Name="lolowned" | |
956 | ||
957 | x=Instance.new("BodyForce") x.force=Vector3.new(0,v:GetMass()*186,0) x.Parent=v | |
958 | ||
959 | ss=Tool.Handle.OWNED:clone() ss.Pitch=.7 - v:GetMass()/70 ss.Parent=v ss:Play() | |
960 | ||
961 | end | |
962 | end | |
963 | ||
964 | end | |
965 | else --single part | |
966 | if hit:GetMass()<=220 then | |
967 | ||
968 | table.insert(permobjects,hit) | |
969 | table.insert(objects,hit) | |
970 | ||
971 | hit:BreakJoints() | |
972 | hit.CanCollide=false | |
973 | hit.Anchored=false | |
974 | ||
975 | x=Instance.new("BodyForce") x.force=Vector3.new(0,hit:GetMass()*186,0) x.Parent=hit | |
976 | ||
977 | hit.CFrame=Tool.Cheek3.CFrame | |
978 | ||
979 | ww=Instance.new("Weld") | |
980 | ww.Part0=Tool.Cheek3 | |
981 | ww.C0=CFrame.new(math.random(-10,10)/100,math.random(-10,10)/10,math.random(-10,10)/10)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),0) | |
982 | ww.Part1=hit | |
983 | ww.Parent=ww.Part1 | |
984 | ||
985 | ww.Name="lolowned" | |
986 | end | |
987 | end | |
988 | end | |
989 | end | |
990 | wait() | |
991 | end | |
992 | if #objects>0 or #players>0 then | |
993 | Tool.Handle.NOM:Play() | |
994 | end | |
995 | wait(.2) | |
996 | ||
997 | for _,v in pairs(objects) do | |
998 | ss=Tool.Handle.OWNED:clone() ss.Pitch=.6 - v:GetMass()/60 ss.Parent=v ss:Play() ss.Volume=ss.Volume+.2 | |
999 | end | |
1000 | ||
1001 | for i=1, 3 do | |
1002 | ||
1003 | Tool.Parent.Torso.CFrame=gg.cframe | |
1004 | ||
1005 | BESTSIZE=BESTSIZE/3 | |
1006 | ||
1007 | for _,v in pairs(objects) do | |
1008 | hasmesh=false | |
1009 | for __,vv in pairs(v:children()) do | |
1010 | if vv:IsA("DataModelMesh") then | |
1011 | vv.Scale=vv.Scale/2 | |
1012 | hasmesh=true | |
1013 | end | |
1014 | end | |
1015 | if hasmesh==false then --give it one | |
1016 | print("AAAAA") | |
1017 | m=Instance.new("SpecialMesh") m.MeshType="Brick" m.Scale=Vector3.new(.9,.9,.9) m.Parent=v | |
1018 | end | |
1019 | end | |
1020 | ||
1021 | for _,v in pairs(players) do | |
1022 | if v:FindFirstChild("Humanoid")~=nil then | |
1023 | v.Humanoid.PlatformStand=true | |
1024 | end | |
1025 | end | |
1026 | ||
1027 | Scaling=Scaling-33.33 | |
1028 | ||
1029 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/16,0,0) | |
1030 | ||
1031 | wait() | |
1032 | end | |
1033 | ||
1034 | Tool.Parent.Torso.Anchored=false | |
1035 | ||
1036 | num=0 | |
1037 | if #objects>0 or #players>0 then | |
1038 | for _,v in pairs(objects) do | |
1039 | ||
1040 | ||
1041 | ||
1042 | num=num+(v:GetMass()*2) | |
1043 | v:Remove() --lolgone | |
1044 | end | |
1045 | for _,v in pairs(players) do | |
1046 | num=num+40 | |
1047 | v.Torso:BreakJoints() | |
1048 | for __,vv in pairs(v:children()) do | |
1049 | if vv.className=="Part" then | |
1050 | coroutine.resume(coroutine.create(function(p) p.Transparency=1 wait(.1) p:Remove() end),vv) | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | Tool.Nom.Value=Tool.Nom.Value+math.floor(num) | |
1055 | BESTSIZE=0 | |
1056 | Scaling=0 | |
1057 | ||
1058 | Chew() | |
1059 | ||
1060 | for i=1, holdi/2 do | |
1061 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/2.25/100/2) | |
1062 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/40,0,0) | |
1063 | ||
1064 | wait() | |
1065 | end | |
1066 | ||
1067 | arm.Part1["RightGrip"].C0=c1 | |
1068 | arm.C0=co | |
1069 | ||
1070 | end | |
1071 | BestSize=0 | |
1072 | print(num) | |
1073 | ||
1074 | Tool.Parent.Torso.Anchored=false | |
1075 | gp.Parent=nil | |
1076 | gg.Parent=nil | |
1077 | ||
1078 | else --nope | |
1079 | ||
1080 | for i=1, holdi do | |
1081 | arm.C0=arm.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/1.75/20) | |
1082 | Scaling=Scaling-5 | |
1083 | arm.Part1["RightGrip"].C0=arm.Part1["RightGrip"].C0*CFrame.fromEulerAnglesXYZ(math.pi/45,0,0) | |
1084 | wait() | |
1085 | end | |
1086 | ||
1087 | end | |
1088 | arm.Part1["RightGrip"].C0=c1 | |
1089 | Attackdeb=true | |
1090 | arm.C0=co | |
1091 | Scaling=0 | |
1092 | ||
1093 | else | |
1094 | ||
1095 | Attackdeb=true | |
1096 | secondary() | |
1097 | ||
1098 | end | |
1099 | ||
1100 | end | |
1101 | ||
1102 | Tool.Activated:connect(Attack) | |
1103 | Tool.Deactivated:connect(function() Waiting=false end) | |
1104 | ||
1105 | secondary=function() | |
1106 | ||
1107 | if Chewing==true or Attackdeb==false or Tool.Nom.Value<50 or #permobjects<0 then return end | |
1108 | Attackdeb=false | |
1109 | ||
1110 | ||
1111 | gg=Instance.new("BodyGyro") --no re | |
1112 | gg.P=7000 | |
1113 | gg.D=500 | |
1114 | gg.maxTorque=Vector3.new(500000,500000,500000)*500000000000000000000000000000 | |
1115 | gg.cframe=Tool.Parent.Torso.CFrame | |
1116 | ||
1117 | gp=Instance.new("BodyPosition") | |
1118 | gp.P=5000 | |
1119 | gp.maxForce=Vector3.new(50000,50000,50000)*500000000000 | |
1120 | gp.position=Tool.Parent.Torso.CFrame.p | |
1121 | gp.Parent=Tool.Parent.Torso | |
1122 | gg.Parent=Tool.Parent.Torso | |
1123 | ||
1124 | ||
1125 | tofire={} | |
1126 | x=Tool.Nom.Value/4 | |
1127 | if #permobjects<Tool.Nom.Value/3 then x=#permobjects end | |
1128 | while (#tofire<x)do | |
1129 | for _,v in pairs(permobjects) do | |
1130 | if math.random(1,6)==1 and v:FindFirstChild("AAAA")==nil then | |
1131 | table.insert(tofire,v) | |
1132 | p=Instance.new("ObjectValue") p.Name="AAAA" p.Value=game.Players:GetPlayerFromCharacter(Tool.Parent) p.Parent=v | |
1133 | end | |
1134 | end | |
1135 | end | |
1136 | ||
1137 | Tool.Handle.Startup:Play() | |
1138 | ||
1139 | lolpos=Tool.Parent.Humanoid.TargetPoint | |
1140 | ||
1141 | for i=1, 8 do | |
1142 | Scaling=Scaling+10 | |
1143 | wait() | |
1144 | end | |
1145 | ||
1146 | wait(.5) | |
1147 | ||
1148 | Tool.Handle.Startup:Stop() | |
1149 | Tool.Handle.Fire:Play() | |
1150 | ||
1151 | firing={} | |
1152 | for _,v in pairs(tofire) do | |
1153 | ||
1154 | LOL=v:clone() | |
1155 | LOL.CFrame=Tool.Cheek3.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-5,5),0,math.random(-5,5)) | |
1156 | LOL.CanCollide=true | |
1157 | LOL.Anchored=false | |
1158 | LOL.Parent=workspace | |
1159 | vv=Instance.new("BodyVelocity") | |
1160 | vv.Parent=LOL | |
1161 | vv.P=6000 | |
1162 | vv.maxForce=Vector3.new(50000000000,50000000000,50000000000)*5000 | |
1163 | vv.velocity=Tool.Handle.CFrame.lookVector*200+Vector3.new(math.random(-10,10),math.random(-5,5),math.random(-10,10)) | |
1164 | game:GetService("Debris"):AddItem(vv,.33) | |
1165 | game:GetService("Debris"):AddItem(LOL,15) | |
1166 | ||
1167 | wait(.075) | |
1168 | ||
1169 | end | |
1170 | ||
1171 | Tool.Handle.Fire:Stop() | |
1172 | ||
1173 | wait(.25) | |
1174 | ||
1175 | Tool.Handle.Winddown:Play() | |
1176 | ||
1177 | for i=1, 8 do | |
1178 | Scaling=Scaling-10 | |
1179 | wait() | |
1180 | end | |
1181 | ||
1182 | gp.Parent=nil | |
1183 | gg.Parent=nil | |
1184 | permobjects={} | |
1185 | ||
1186 | Scaling=0 | |
1187 | ||
1188 | - | if Tool.Nom.Value==300 then --Yay |
1188 | + | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
1189 | - | canScale=false |
1189 | + | |
1190 | - | Noob=Instance.new("Model") |
1190 | + | |
1191 | - | Noob.Name="Tactical FUUUUUU" |
1191 | + | |
1192 | p.Parent=Noob | |
1193 | - | lol=v:clone() if lol.className=="Part" then lol.CanCollide=false end lol.Parent=Noob |
1193 | + | |
1194 | - | if v.className=="Part" then v.Transparency=1 end |
1194 | + | |
1195 | ||
1196 | end | |
1197 | - | Noob.Parent=workspace |
1197 | + | |
1198 | Noob.Handle.Thrusting:Play() | |
1199 | end | |
1200 | ||
1201 | - | smoke=Instance.new("Smoke") |
1201 | + | |
1202 | - | smoke.Color=Color3.new(.8,.8,.8) |
1202 | + | |
1203 | - | smoke.RiseVelocity=-5 |
1203 | + | |
1204 | - | smoke.Parent=Noob.Handle |
1204 | + | |
1205 | - | smoke.Opacity=.4 |
1205 | + | |
1206 | - | smoke.Size=2 |
1206 | + | |
1207 | ||
1208 | - | smoke2=Instance.new("Fire") |
1208 | + | |
1209 | - | smoke2.Heat=-8 |
1209 | + | |
1210 | - | smoke2.Parent=Noob.Handle |
1210 | + | |
1211 | - | smoke2.Enabled=false |
1211 | + | |
1212 | Tool.Ohgodno:Play() | |
1213 | - | Noob.Handle.InitialThrust:Play() |
1213 | + | |
1214 | - | move=Instance.new("BodyVelocity") |
1214 | + | |
1215 | - | move.P=6000 |
1215 | + | |
1216 | - | move.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
1216 | + | |
1217 | - | move.velocity=Vector3.new(0,-5,0) |
1217 | + | |
1218 | - | move.Parent=smoke.Parent |
1218 | + | |
1219 | while (elap<300 and (Noob.Handle.Position-lolpos).magnitude>=30) do | |
1220 | - | firecols={BrickColor:Red(),BrickColor.new("Bright orange"),BrickColor.new("Pastel yellow"),BrickColor.new("Bright yellow")} |
1220 | + | |
1221 | ||
1222 | - | for i=1, 130 do |
1222 | + | |
1223 | ||
1224 | - | move.velocity=move.velocity+Vector3.new(0,.52*(i/5),0) |
1224 | + | |
1225 | - | Noob.Handle.Thrusting.Pitch=1+i/50 |
1225 | + | |
1226 | - | if i>10 then |
1226 | + | |
1227 | - | smoke2.Enabled=true |
1227 | + | |
1228 | p.TopSurface=0 | |
1229 | - | if i/2==math.floor(i/2) then |
1229 | + | |
1230 | p.BrickColor=firecols[math.random(1,4)] | |
1231 | p.formFactor="Symmetric" | |
1232 | p.Size=Vector3.new(1,1,1) | |
1233 | p.Anchored=true | |
1234 | p.CanCollide=false | |
1235 | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,0,-1)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1236 | local mm=Instance.new("BlockMesh") | |
1237 | mm.Parent=p | |
1238 | mm.Scale=Vector3.new(8,8,8) | |
1239 | p.Parent=Noob | |
1240 | - | p.CFrame=Noob.Handle.CFrame*CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10),math.random(-10,10),math.random(-10,10)) |
1240 | + | |
1241 | ||
1242 | end | |
1243 | ||
1244 | if elap/5==math.floor(elap/5) then | |
1245 | Noob.Handle.Thrusting:Play() | |
1246 | end | |
1247 | ||
1248 | elap=elap+1 | |
1249 | ||
1250 | end | |
1251 | ||
1252 | wait(.25) | |
1253 | ||
1254 | Tool.Script.DoGui.Value=false | |
1255 | ||
1256 | Tool.Ohgodno:Stop() | |
1257 | ||
1258 | Noob.Handle.CFrame=CFrame.new(lolpos) | |
1259 | Noob.Handle.Anchored=true | |
1260 | Noob.Handle.Transparency=1 | |
1261 | s=script.NuclearBomb:clone() | |
1262 | s.Disabled=false | |
1263 | s.Parent=Noob.Handle | |
1264 | ||
1265 | for _,v in pairs(Tool:children()) do | |
1266 | if v.className=="Part" and v.Name~="Face" and v.Name~="Cheek10" and string.sub(v.Name,1,4)~="Chew" then v.Transparency=0 end | |
1267 | end | |
1268 | ||
1269 | Tool.Ohgodno:Stop() | |
1270 | ||
1271 | wait(10) | |
1272 | ||
1273 | Noob:Remove() | |
1274 | ||
1275 | end | |
1276 | ||
1277 | canScale=true | |
1278 | ||
1279 | Tool.Nom.Value=0 | |
1280 | ||
1281 | Attackdeb=true | |
1282 | ||
1283 | end | |
1284 | ||
1285 | eql=function(mouse) | |
1286 | Tool.Handle.Equip:Play() | |
1287 | mouse.KeyDown:connect(function(key) if key=="z" then secondary() end end) | |
1288 | end | |
1289 | Tool.Equipped:connect(eql) | |
1290 | ||
1291 | c=-1 | |
1292 | while true do | |
1293 | if Tool.Handle:FindFirstChild("CheekWeld1")~=nil then | |
1294 | updateScaling() | |
1295 | end | |
1296 | wait() | |
1297 | end | |
1298 | end,o55) | |
1299 | end)) | |
1300 | o56 = Create("ScreenGui",{ | |
1301 | ["Name"] = "DEATHGUI", | |
1302 | ["Parent"] = o55, | |
1303 | }) | |
1304 | o57 = Create("ImageLabel",{ | |
1305 | ["Parent"] = o56, | |
1306 | ["Transparency"] = 1, | |
1307 | ["Position"] = UDim2.new(0.3125,0,0.20000000298023,0), | |
1308 | ["Size"] = UDim2.new(0.050000000745058,0,0.050000000745058,0), | |
1309 | ["BackgroundTransparency"] = 1, | |
1310 | ["SizeConstraint"] = Enum.SizeConstraint.RelativeXX, | |
1311 | ["Image"] = "http://www.roblox.com/asset/?id=26533945", | |
1312 | }) | |
1313 | o58 = Create("Frame",{ | |
1314 | ["Parent"] = o56, | |
1315 | ["Transparency"] = 0.73750001192093, | |
1316 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
1317 | ["Size"] = UDim2.new(2,0,2,0), | |
1318 | ["BackgroundColor3"] = Color3.new(1, 0, 0), | |
1319 | ["BackgroundTransparency"] = 0.73750001192093, | |
1320 | ["ZIndex"] = 10, | |
1321 | }) | |
1322 | o59 = Create("TextLabel",{ | |
1323 | ["Parent"] = o56, | |
1324 | ["Position"] = UDim2.new(0.5,0,0.25,0), | |
1325 | ["Text"] = "WARNING: TACTICAL NOOB INBOUND", | |
1326 | ["Font"] = Enum.Font.ArialBold, | |
1327 | ["FontSize"] = Enum.FontSize.Size14, | |
1328 | ["TextColor3"] = Color3.new(1, 0, 0), | |
1329 | ["TextStrokeColor3"] = Color3.new(0.8, 0, 0), | |
1330 | ["TextStrokeTransparency"] = 0.94999998807907, | |
1331 | ["TextTransparency"] = 0.73750001192093, | |
1332 | }) | |
1333 | o60 = Create("ImageLabel",{ | |
1334 | ["Parent"] = o56, | |
1335 | ["Transparency"] = 1, | |
1336 | ["Position"] = UDim2.new(0.63749998807907,0,0.20000001788139,0), | |
1337 | ["Size"] = UDim2.new(0.050000000745058,0,0.050000000745058,0), | |
1338 | ["BackgroundTransparency"] = 1, | |
1339 | ["SizeConstraint"] = Enum.SizeConstraint.RelativeXX, | |
1340 | ["Image"] = "http://www.roblox.com/asset/?id=26533945", | |
1341 | }) | |
1342 | o61 = Create("Script",{ | |
1343 | ["Parent"] = o56, | |
1344 | ["Disabled"] = true, | |
1345 | }) | |
1346 | table.insert(cors,coroutine.create(function() | |
1347 | wait() | |
1348 | runDummyScript(function() | |
1349 | wait() | |
1350 | while true do | |
1351 | for i=1, 20 do | |
1352 | script.Parent.TextLabel.TextTransparency=.75-i/80 | |
1353 | script.Parent.TextLabel.TextStrokeTransparency=1-i/40 | |
1354 | script.Parent.Frame.BackgroundTransparency=.75-i/80 | |
1355 | wait() | |
1356 | end | |
1357 | for i=1, 20 do | |
1358 | script.Parent.TextLabel.TextTransparency=.5+i/80 | |
1359 | script.Parent.TextLabel.TextStrokeTransparency=i/20 | |
1360 | script.Parent.Frame.BackgroundTransparency=.5+i/80 | |
1361 | wait() | |
1362 | end | |
1363 | end | |
1364 | end,o61) | |
1365 | end)) | |
1366 | o62 = Create("Script",{ | |
1367 | ["Name"] = "NuclearBomb", | |
1368 | ["Parent"] = o55, | |
1369 | ["Disabled"] = true, | |
1370 | }) | |
1371 | table.insert(cors,coroutine.create(function() | |
1372 | wait() | |
1373 | runDummyScript(function() | |
1374 | wait(.2) | |
1375 | d=true | |
1376 | Asplode=function() | |
1377 | if d==false then return end | |
1378 | d=false | |
1379 | for _,v in pairs(game.Players:children()) do | |
1380 | if v.Character~=nil then | |
1381 | if v.Character:FindFirstChild("Torso")~=nil then | |
1382 | if (v.Character.Torso.Position-script.Parent.Position).magnitude<=800 then | |
1383 | s=script.ScreenGui:clone() | |
1384 | s.Frame.Script.Disabled=false | |
1385 | s.Parent=v.PlayerGui | |
1386 | s=script.ScreenGui2:clone() | |
1387 | s.Frame.Script.Disabled=false | |
1388 | s.Parent=v.PlayerGui | |
1389 | end | |
1390 | end | |
1391 | end | |
1392 | end | |
1393 | ex=Instance.new("Explosion") | |
1394 | ex.BlastRadius=40 | |
1395 | ex.BlastPressure=ex.BlastPressure*1.5 | |
1396 | ex.Position=script.Parent.Position | |
1397 | ex.Parent=workspace | |
1398 | p=Instance.new("Part") | |
1399 | p.TopSurface=0 | |
1400 | p.BottomSurface=0 | |
1401 | p.formFactor="Symmetric" | |
1402 | p.BrickColor=BrickColor.new("Cool yellow") | |
1403 | p.Size=Vector3.new(1,1,1) | |
1404 | p.Anchored=true | |
1405 | p.CanCollide=false | |
1406 | p.Name="Blast" | |
1407 | p.CFrame=CFrame.new(script.Parent.Position-Vector3.new(0,3,0)) | |
1408 | p.Parent=workspace | |
1409 | s=script.Asplosion:clone() | |
1410 | s.Disabled=false | |
1411 | s.Parent=p | |
1412 | m=Instance.new("SpecialMesh") | |
1413 | m.MeshType="Sphere" | |
1414 | m.Scale=Vector3.new(5,5,5) | |
1415 | m.Parent=p | |
1416 | p.CanCollide=false | |
1417 | script.Parent.Transparency=1 | |
1418 | script.Parent.Anchored=true | |
1419 | end | |
1420 | Asplode() | |
1421 | ||
1422 | end,o62) | |
1423 | end)) | |
1424 | o63 = Create("Script",{ | |
1425 | ["Name"] = "Asplosion", | |
1426 | ["Parent"] = o62, | |
1427 | ["Disabled"] = true, | |
1428 | }) | |
1429 | table.insert(cors,coroutine.create(function() | |
1430 | wait() | |
1431 | runDummyScript(function() | |
1432 | wait(.05) | |
1433 | ||
1434 | s=Instance.new("Sound") | |
1435 | s.SoundId="http://www.roblox.com/asset/?id=2101159" | |
1436 | s.Pitch=.37555 | |
1437 | s.Name="Kaboom" | |
1438 | s.Volume=1 | |
1439 | s.Parent=workspace | |
1440 | ||
1441 | wait(.05) | |
1442 | ||
1443 | s:Play() | |
1444 | ||
1445 | c=script.Parent.CFrame | |
1446 | ||
1447 | GetHumans=function() | |
1448 | Chars={} | |
1449 | Things=workspace:GetChildren() | |
1450 | for ii,v in pairs(Things) do | |
1451 | if v.className=="Model" then | |
1452 | Human=v:FindFirstChild("Humanoid") | |
1453 | PTorso=v:FindFirstChild("Torso") | |
1454 | vv=game.Players:GetPlayerFromCharacter(v) | |
1455 | if Human~=nil and PTorso~=nil then | |
1456 | table.insert(Chars,PTorso) | |
1457 | end | |
1458 | end | |
1459 | end | |
1460 | return Chars | |
1461 | end | |
1462 | ||
1463 | for i=1, 70 do | |
1464 | ||
1465 | local p=Instance.new("Part") | |
1466 | p2=Instance.new("Smoke") | |
1467 | p2.Color=Color3.new(.75,.7554,.7895) | |
1468 | p2.Size=20 | |
1469 | p2.Opacity=.8 | |
1470 | p2.RiseVelocity=10 | |
1471 | p2.Parent=p | |
1472 | p.Name="FadeTrail" | |
1473 | p.TopSurface=0 | |
1474 | p.BottomSurface=0 | |
1475 | p.formFactor="Symmetric" | |
1476 | p.Size=Vector3.new(1,1,1) | |
1477 | p.Anchored=true | |
1478 | p.CanCollide=false | |
1479 | p.Transparency=1 | |
1480 | p.CFrame=CFrame.new(script.Parent.Position,script.Parent.Position+Vector3.new(math.cos(90/70*i),0,math.sin(90/70*i)))*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0) | |
1481 | p.Parent=workspace | |
1482 | coroutine.resume(coroutine.create(function(p) for i=1, 140 do p.CFrame=p.CFrame*CFrame.new(0,6,0) wait() end p.Smoke.Enabled=false wait(5) p:Remove() end),p) | |
1483 | game:GetService("Debris"):AddItem(p,25) | |
1484 | ||
1485 | end | |
1486 | ||
1487 | cc=game.Lighting.Brightness | |
1488 | game.Lighting.Brightness=game.Lighting.Brightness+3 | |
1489 | ||
1490 | for i=1, 100 do | |
1491 | game.Lighting.Brightness=game.Lighting.Brightness-.01825 | |
1492 | script.Parent.Transparency=script.Parent.Transparency+1/100 | |
1493 | script.Parent.Size=script.Parent.Size+Vector3.new(4,4,4) | |
1494 | script.Parent.CFrame=c | |
1495 | ||
1496 | for _,v in pairs(game.Players:children()) do | |
1497 | s=script.LocalScript:clone() s.Disabled=false s.Parent=v.PlayerGui | |
1498 | end | |
1499 | ||
1500 | noobs=GetHumans() | |
1501 | ||
1502 | for _,v in pairs(noobs) do | |
1503 | ||
1504 | Dist=(v.Position-script.Parent.Position).magnitude | |
1505 | if Dist<script.Parent.Size.x*5 / 1.65 then | |
1506 | v:BreakJoints() | |
1507 | end | |
1508 | ||
1509 | Base=120 | |
1510 | Size=script.Parent.Size.x / 50 | |
1511 | Calc=(Base/Size - Dist/10) + 10 | |
1512 | if Calc<0 then Calc=1 end | |
1513 | ||
1514 | if i>=25 then | |
1515 | ||
1516 | for lolol,poo in pairs(v:children()) do | |
1517 | ||
1518 | vv=Instance.new("BodyVelocity") | |
1519 | vv.P=4000 | |
1520 | vv.maxForce=Vector3.new(50000000000,0,50000000000) | |
1521 | vv.velocity=(v.Position-script.Parent.Position).unit*(Calc+6) | |
1522 | vv.Parent=poo | |
1523 | game:GetService("Debris"):AddItem(vv,.25) | |
1524 | ||
1525 | end | |
1526 | ||
1527 | end | |
1528 | ||
1529 | end | |
1530 | ||
1531 | wait() | |
1532 | end | |
1533 | ||
1534 | game.Lighting.Brightness=cc | |
1535 | ||
1536 | wait(2) | |
1537 | ||
1538 | script.Parent.Parent=nil | |
1539 | ||
1540 | end,o63) | |
1541 | end)) | |
1542 | o64 = Create("LocalScript",{ | |
1543 | ["Parent"] = o63, | |
1544 | ["Disabled"] = true, | |
1545 | }) | |
1546 | table.insert(cors,coroutine.create(function() | |
1547 | wait() | |
1548 | runDummyScript(function() | |
1549 | wait(.05) | |
1550 | cam=workspace.CurrentCamera | |
1551 | cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(math.random(-50,50)/1000,math.random(-50,50)/100,math.random(-50,50)/100)*CFrame.fromEulerAnglesXYZ(math.random(-5,5)/10,math.random(-5,5)/10,math.random(-5,5)/10) | |
1552 | script:Remove() | |
1553 | end,o64) | |
1554 | end)) | |
1555 | o65 = Create("ScreenGui",{ | |
1556 | ["Parent"] = o62, | |
1557 | }) | |
1558 | o66 = Create("Frame",{ | |
1559 | ["Parent"] = o65, | |
1560 | ["Transparency"] = 1, | |
1561 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
1562 | ["Size"] = UDim2.new(3,0,3,0), | |
1563 | ["BackgroundColor3"] = Color3.new(1, 1, 0.941177), | |
1564 | ["BackgroundTransparency"] = 1, | |
1565 | ["BorderColor3"] = Color3.new(1, 1, 1), | |
1566 | }) | |
1567 | o67 = Create("Script",{ | |
1568 | ["Parent"] = o66, | |
1569 | ["Disabled"] = true, | |
1570 | }) | |
1571 | table.insert(cors,coroutine.create(function() | |
1572 | wait() | |
1573 | runDummyScript(function() | |
1574 | wait(.2) | |
1575 | ||
1576 | frame=script.Parent | |
1577 | for i=1, 10 do | |
1578 | frame.BackgroundTransparency=1-i*.1 | |
1579 | wait() | |
1580 | end | |
1581 | wait(.25) | |
1582 | for i=1, 200 do | |
1583 | frame.BackgroundTransparency=i/200 | |
1584 | wait() | |
1585 | end | |
1586 | script.Parent.Parent:Remove() | |
1587 | ||
1588 | end,o67) | |
1589 | end)) | |
1590 | o68 = Create("ScreenGui",{ | |
1591 | ["Name"] = "ScreenGui2", | |
1592 | ["Parent"] = o62, | |
1593 | }) | |
1594 | o69 = Create("Frame",{ | |
1595 | ["Parent"] = o68, | |
1596 | ["Transparency"] = 0.625, | |
1597 | ["Position"] = UDim2.new(-0.5,0,-0.5,0), | |
1598 | ["Size"] = UDim2.new(3,0,3,0), | |
1599 | ["BackgroundColor3"] = Color3.new(1, 1, 0.6), | |
1600 | ["BackgroundTransparency"] = 0.625, | |
1601 | ["BorderColor3"] = Color3.new(1, 1, 1), | |
1602 | }) | |
1603 | o70 = Create("Script",{ | |
1604 | ["Parent"] = o69, | |
1605 | ["Disabled"] = true, | |
1606 | }) | |
1607 | table.insert(cors,coroutine.create(function() | |
1608 | wait() | |
1609 | runDummyScript(function() | |
1610 | wait(.1) | |
1611 | for i=1, 100 do | |
1612 | wait() | |
1613 | end | |
1614 | script.Parent.Parent:Remove() | |
1615 | ||
1616 | end,o70) | |
1617 | end)) | |
1618 | o71 = Create("Part",{ | |
1619 | ["Name"] = "Cheek6", | |
1620 | ["Parent"] = o1, | |
1621 | ["BrickColor"] = BrickColor.new("Black"), | |
1622 | ["Reflectance"] = 0.125, | |
1623 | ["Position"] = Vector3.new(330.481079, 87.9255371, -126.731323), | |
1624 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
1625 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1626 | ["Velocity"] = Vector3.new(-9.18030548, 0, 13.4156132), | |
1627 | ["CFrame"] = CFrame.new(330.481079, 87.9255371, -126.731323, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
1628 | ["CanCollide"] = false, | |
1629 | ["Locked"] = true, | |
1630 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1631 | ["Size"] = Vector3.new(1, 1, 1), | |
1632 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1633 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1634 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1635 | }) | |
1636 | o72 = Create("SpecialMesh",{ | |
1637 | ["Parent"] = o71, | |
1638 | ["Scale"] = Vector3.new(0.850000024, 0.150000006, 0.600000024), | |
1639 | ["MeshType"] = Enum.MeshType.Brick, | |
1640 | }) | |
1641 | o73 = Create("Part",{ | |
1642 | ["Name"] = "Cheek7", | |
1643 | ["Parent"] = o1, | |
1644 | ["BrickColor"] = BrickColor.new("Black"), | |
1645 | ["Reflectance"] = 0.125, | |
1646 | ["Position"] = Vector3.new(330.153656, 88.3255005, -126.961182), | |
1647 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
1648 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1649 | ["Velocity"] = Vector3.new(-9.21872902, 0, 13.4703465), | |
1650 | ["CFrame"] = CFrame.new(330.153656, 88.3255005, -126.961182, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
1651 | ["CanCollide"] = false, | |
1652 | ["Locked"] = true, | |
1653 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1654 | ["Size"] = Vector3.new(1, 1, 1), | |
1655 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1656 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1657 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1658 | }) | |
1659 | o74 = Create("SpecialMesh",{ | |
1660 | ["Parent"] = o73, | |
1661 | ["Scale"] = Vector3.new(0.150000006, 0.699999988, 0.600000024), | |
1662 | ["MeshType"] = Enum.MeshType.Brick, | |
1663 | }) | |
1664 | o75 = Create("Part",{ | |
1665 | ["Name"] = "Cheek8", | |
1666 | ["Parent"] = o1, | |
1667 | ["BrickColor"] = BrickColor.new("Black"), | |
1668 | ["Reflectance"] = 0.125, | |
1669 | ["Position"] = Vector3.new(330.638062, 88.4053955, -126.946655), | |
1670 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
1671 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1672 | ["Velocity"] = Vector3.new(-9.21630001, 0, 13.3893719), | |
1673 | ["CFrame"] = CFrame.new(330.638062, 88.4053955, -126.946655, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
1674 | ["CanCollide"] = false, | |
1675 | ["Locked"] = true, | |
1676 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1677 | ["Size"] = Vector3.new(1, 1, 1), | |
1678 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1679 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1680 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1681 | }) | |
1682 | o76 = Create("SpecialMesh",{ | |
1683 | ["Parent"] = o75, | |
1684 | ["Scale"] = Vector3.new(0.75, 0.839999974, 0.150000006), | |
1685 | ["MeshType"] = Enum.MeshType.Brick, | |
1686 | }) | |
1687 | o77 = Create("Part",{ | |
1688 | ["Name"] = "Cheek9", | |
1689 | ["Parent"] = o1, | |
1690 | ["BrickColor"] = BrickColor.new("Black"), | |
1691 | ["Reflectance"] = 0.125, | |
1692 | ["Position"] = Vector3.new(330.80011, 88.3255005, -126.489868), | |
1693 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
1694 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1695 | ["Velocity"] = Vector3.new(-9.13994408, 0, 13.3622828), | |
1696 | ["CFrame"] = CFrame.new(330.80011, 88.3255005, -126.489868, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
1697 | ["CanCollide"] = false, | |
1698 | ["Locked"] = true, | |
1699 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1700 | ["Size"] = Vector3.new(1, 1, 1), | |
1701 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1702 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1703 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1704 | }) | |
1705 | o78 = Create("SpecialMesh",{ | |
1706 | ["Parent"] = o77, | |
1707 | ["Scale"] = Vector3.new(0.150000006, 0.699999988, 0.600000024), | |
1708 | ["MeshType"] = Enum.MeshType.Brick, | |
1709 | }) | |
1710 | o79 = Create("Part",{ | |
1711 | ["Name"] = "Top2", | |
1712 | ["Parent"] = o1, | |
1713 | ["BrickColor"] = BrickColor.new("Black"), | |
1714 | ["Position"] = Vector3.new(330.450623, 88.7247314, -126.689453), | |
1715 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
1716 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1717 | ["Velocity"] = Vector3.new(-9.17330647, 0, 13.4207077), | |
1718 | ["CFrame"] = CFrame.new(330.450623, 88.7247314, -126.689453, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
1719 | ["CanCollide"] = false, | |
1720 | ["Locked"] = true, | |
1721 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1722 | ["Size"] = Vector3.new(1, 1, 1), | |
1723 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1724 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1725 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1726 | }) | |
1727 | o80 = Create("SpecialMesh",{ | |
1728 | ["Parent"] = o79, | |
1729 | ["Scale"] = Vector3.new(0.899999976, 0.150000006, 0.649999976), | |
1730 | ["MeshType"] = Enum.MeshType.Brick, | |
1731 | }) | |
1732 | o81 = Create("Part",{ | |
1733 | ["Name"] = "Chew1", | |
1734 | ["Parent"] = o1, | |
1735 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
1736 | ["Transparency"] = 1, | |
1737 | ["Position"] = Vector3.new(330.881989, 88.2255249, -126.432495), | |
1738 | ["Rotation"] = Vector3.new(90.8242798, 0.600809634, -143.914261), | |
1739 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1740 | ["Velocity"] = Vector3.new(-9.13035393, 0, 13.3485985), | |
1741 | ["CFrame"] = CFrame.new(330.881989, 88.2255249, -126.432495, -0.808091879, 0.588962913, 0.0104859145, -1.50948132e-014, 0.0178012121, -0.999841571, -0.589056253, -0.807963848, -0.0143850138), | |
1742 | ["CanCollide"] = false, | |
1743 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1744 | ["Size"] = Vector3.new(1, 1, 1), | |
1745 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1746 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1747 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
1748 | }) | |
1749 | o82 = Create("CylinderMesh",{ | |
1750 | ["Parent"] = o81, | |
1751 | ["Scale"] = Vector3.new(0.5, 0.649999976, 0.5), | |
1752 | }) | |
1753 | o83 = Create("Part",{ | |
1754 | ["Name"] = "Chew2", | |
1755 | ["Parent"] = o1, | |
1756 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
1757 | ["Transparency"] = 1, | |
1758 | ["Position"] = Vector3.new(330.073883, 88.2255249, -127.021484), | |
1759 | ["Rotation"] = Vector3.new(90.8242798, 0.600809634, -143.914261), | |
1760 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
1761 | ["Velocity"] = Vector3.new(-9.2288084, 0, 13.4836798), | |
1762 | ["CFrame"] = CFrame.new(330.073883, 88.2255249, -127.021484, -0.808091879, 0.588962913, 0.0104859145, -1.50948132e-014, 0.0178012121, -0.999841571, -0.589056253, -0.807963848, -0.0143850138), | |
1763 | ["CanCollide"] = false, | |
1764 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1765 | ["Size"] = Vector3.new(1, 1, 1), | |
1766 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1767 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1768 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
1769 | }) | |
1770 | o84 = Create("CylinderMesh",{ | |
1771 | ["Parent"] = o83, | |
1772 | ["Scale"] = Vector3.new(0.5, 0.649999976, 0.5), | |
1773 | }) | |
1774 | o85 = Create("Model",{ | |
1775 | ["Name"] = "CannonLol", | |
1776 | ["Parent"] = o1, | |
1777 | }) | |
1778 | o86 = Create("Part",{ | |
1779 | ["Name"] = "Handle3", | |
1780 | ["Parent"] = o85, | |
1781 | ["BrickColor"] = BrickColor.new("Really black"), | |
1782 | ["Reflectance"] = 0.20000000298023, | |
1783 | ["Transparency"] = 1, | |
1784 | ["Position"] = Vector3.new(357.59201, 441.334045, 1019.901), | |
1785 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
1786 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
1787 | ["Velocity"] = Vector3.new(0.00399211096, 0.00265668612, -0.00679172343), | |
1788 | ["Anchored"] = true, | |
1789 | ["CFrame"] = CFrame.new(357.59201, 441.334045, 1019.901, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
1790 | ["CanCollide"] = false, | |
1791 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1792 | ["Size"] = Vector3.new(4, 6, 4), | |
1793 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1794 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1795 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1796 | }) | |
1797 | o87 = Create("CylinderMesh",{ | |
1798 | ["Parent"] = o86, | |
1799 | ["Scale"] = Vector3.new(1.04999995, 1.04999995, 1.04999995), | |
1800 | }) | |
1801 | o88 = Create("Part",{ | |
1802 | ["Name"] = "Handle", | |
1803 | ["Parent"] = o85, | |
1804 | ["Material"] = Enum.Material.DiamondPlate, | |
1805 | ["BrickColor"] = BrickColor.new("Black"), | |
1806 | ["Reflectance"] = 0.20000000298023, | |
1807 | ["Transparency"] = 1, | |
1808 | ["Position"] = Vector3.new(357.600006, 438.594055, 1022.90002), | |
1809 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
1810 | ["Anchored"] = true, | |
1811 | ["CFrame"] = CFrame.new(357.600006, 438.594055, 1022.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1812 | ["CanCollide"] = false, | |
1813 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1814 | ["Size"] = Vector3.new(4, 4, 2), | |
1815 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
1816 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
1817 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1818 | }) | |
1819 | o89 = Create("Part",{ | |
1820 | ["Name"] = "Handle", | |
1821 | ["Parent"] = o85, | |
1822 | ["Material"] = Enum.Material.DiamondPlate, | |
1823 | ["BrickColor"] = BrickColor.new("Black"), | |
1824 | ["Reflectance"] = 0.20000000298023, | |
1825 | ["Transparency"] = 1, | |
1826 | ["Position"] = Vector3.new(357.600006, 441.585022, 1022.90503), | |
1827 | ["Rotation"] = Vector3.new(-179.90416, 0.00742864469, -179.999832), | |
1828 | ["RotVelocity"] = Vector3.new(-0.0330850519, -0.00169609871, -0.00513586681), | |
1829 | ["Velocity"] = Vector3.new(0.00120087306, -0.00596932694, 0.00861900207), | |
1830 | ["Anchored"] = true, | |
1831 | ["CFrame"] = CFrame.new(357.600006, 441.585022, 1022.90503, -0.999999762, 3.03301886e-006, 0.000129654305, 3.24990719e-006, 0.999998629, 0.00167285791, -0.000129649023, 0.00167285791, -0.999998331), | |
1832 | ["CanCollide"] = false, | |
1833 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1834 | ["Size"] = Vector3.new(4, 2, 2), | |
1835 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1836 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1837 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1838 | }) | |
1839 | o90 = Create("SpecialMesh",{ | |
1840 | ["Parent"] = o89, | |
1841 | ["MeshType"] = Enum.MeshType.Torso, | |
1842 | }) | |
1843 | o91 = Create("Part",{ | |
1844 | ["Name"] = "Handle", | |
1845 | ["Parent"] = o85, | |
1846 | ["Material"] = Enum.Material.DiamondPlate, | |
1847 | ["BrickColor"] = BrickColor.new("Black"), | |
1848 | ["Reflectance"] = 0.20000000298023, | |
1849 | ["Transparency"] = 1, | |
1850 | ["Position"] = Vector3.new(357.600006, 438.594055, 1016.90002), | |
1851 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
1852 | ["Anchored"] = true, | |
1853 | ["CFrame"] = CFrame.new(357.600006, 438.594055, 1016.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1854 | ["CanCollide"] = false, | |
1855 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1856 | ["Size"] = Vector3.new(4, 4, 2), | |
1857 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
1858 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
1859 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1860 | }) | |
1861 | o92 = Create("Part",{ | |
1862 | ["Name"] = "Handle2", | |
1863 | ["Parent"] = o85, | |
1864 | ["Material"] = Enum.Material.DiamondPlate, | |
1865 | ["BrickColor"] = BrickColor.new("Black"), | |
1866 | ["Reflectance"] = 0.20000000298023, | |
1867 | ["Transparency"] = 1, | |
1868 | ["Position"] = Vector3.new(357.593994, 441.584045, 1016.901), | |
1869 | ["Rotation"] = Vector3.new(-179.999802, 0.0294249728, -179.999619), | |
1870 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
1871 | ["Velocity"] = Vector3.new(0.00441175839, -0.00544018392, -0.00746646244), | |
1872 | ["Anchored"] = true, | |
1873 | ["CFrame"] = CFrame.new(357.593994, 441.584045, 1016.901, -0.999999762, 6.71497992e-006, 0.000513562642, 6.71677162e-006, 1, 3.48654453e-006, -0.000513562583, 3.48999356e-006, -0.999999762), | |
1874 | ["CanCollide"] = false, | |
1875 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1876 | ["Size"] = Vector3.new(4, 2, 2), | |
1877 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1878 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1879 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
1880 | }) | |
1881 | o93 = Create("SpecialMesh",{ | |
1882 | ["Parent"] = o92, | |
1883 | ["MeshType"] = Enum.MeshType.Torso, | |
1884 | }) | |
1885 | o94 = Create("Motor",{ | |
1886 | ["Parent"] = o92, | |
1887 | ["Part0"] = o92, | |
1888 | ["Part1"] = o86, | |
1889 | }) | |
1890 | o95 = Create("Part",{ | |
1891 | ["Name"] = "Handle4", | |
1892 | ["Parent"] = o85, | |
1893 | ["BrickColor"] = BrickColor.new("Really black"), | |
1894 | ["Reflectance"] = 0.20000000298023, | |
1895 | ["Transparency"] = 1, | |
1896 | ["Position"] = Vector3.new(360.59201, 441.334045, 1019.90302), | |
1897 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
1898 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
1899 | ["Velocity"] = Vector3.new(0.00399211096, 0.00471514184, -0.00620053802), | |
1900 | ["Anchored"] = true, | |
1901 | ["CFrame"] = CFrame.new(360.59201, 441.334045, 1019.90302, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
1902 | ["CanCollide"] = false, | |
1903 | ["FormFactor"] = Enum.FormFactor.Plate, | |
1904 | ["Size"] = Vector3.new(4, 0.400000006, 4), | |
1905 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1906 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1907 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1908 | }) | |
1909 | o96 = Create("SpecialMesh",{ | |
1910 | ["Parent"] = o95, | |
1911 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
1912 | ["MeshType"] = Enum.MeshType.Sphere, | |
1913 | }) | |
1914 | o97 = Create("Part",{ | |
1915 | ["Name"] = "Handle6", | |
1916 | ["Parent"] = o85, | |
1917 | ["BrickColor"] = BrickColor.new("Really black"), | |
1918 | ["Reflectance"] = 0.20000000298023, | |
1919 | ["Transparency"] = 1, | |
1920 | ["Position"] = Vector3.new(352.34201, 441.334045, 1019.89899), | |
1921 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
1922 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
1923 | ["Velocity"] = Vector3.new(0.00399211096, -0.000945611391, -0.00782629754), | |
1924 | ["Anchored"] = true, | |
1925 | ["CFrame"] = CFrame.new(352.34201, 441.334045, 1019.89899, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
1926 | ["CanCollide"] = false, | |
1927 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1928 | ["Size"] = Vector3.new(6, 2, 6), | |
1929 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1930 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1931 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1932 | }) | |
1933 | o98 = Create("CylinderMesh",{ | |
1934 | ["Parent"] = o97, | |
1935 | ["Scale"] = Vector3.new(0.899999976, 1.14999998, 0.899999976), | |
1936 | }) | |
1937 | o99 = Create("Part",{ | |
1938 | ["Name"] = "Handle5", | |
1939 | ["Parent"] = o85, | |
1940 | ["BrickColor"] = BrickColor.new("Really black"), | |
1941 | ["Reflectance"] = 0.20000000298023, | |
1942 | ["Transparency"] = 1, | |
1943 | ["Position"] = Vector3.new(353.59201, 441.334045, 1019.89899), | |
1944 | ["Rotation"] = Vector3.new(-89.9998016, 0.000384738727, -90.0294189), | |
1945 | ["RotVelocity"] = Vector3.new(-0.00269895676, -0.000197061745, 0.000686151907), | |
1946 | ["Velocity"] = Vector3.new(0.00399211096, -8.79215077e-005, -0.00757997017), | |
1947 | ["Anchored"] = true, | |
1948 | ["CFrame"] = CFrame.new(353.59201, 441.334045, 1019.89899, -0.000513518928, 0.999999762, 6.71495764e-006, -3.53025621e-006, -6.71677162e-006, 1, 0.999999762, 0.000513518869, 3.53370501e-006), | |
1949 | ["CanCollide"] = false, | |
1950 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
1951 | ["Size"] = Vector3.new(4, 2, 4), | |
1952 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
1953 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
1954 | ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667), | |
1955 | }) | |
1956 | o100 = Create("CylinderMesh",{ | |
1957 | ["Parent"] = o99, | |
1958 | ["Scale"] = Vector3.new(1.14999998, 1.14999998, 1.14999998), | |
1959 | }) | |
1960 | o101 = Create("Part",{ | |
1961 | ["Name"] = "Handle8", | |
1962 | ["Parent"] = o85, | |
1963 | ["Material"] = Enum.Material.DiamondPlate, | |
1964 | ["Reflectance"] = 0.20000000298023, | |
1965 | ["Transparency"] = 1, | |
1966 | ["Position"] = Vector3.new(357.593994, 440.584045, 1015.70099), | |
1967 | ["Rotation"] = Vector3.new(90.0002594, -6.11382784e-005, 179.998169), | |
1968 | ["Anchored"] = true, | |
1969 | ["CFrame"] = CFrame.new(357.593994, 440.584045, 1015.70099, -0.999999821, -3.20675244e-005, -1.0670642e-006, 1.06691914e-006, 4.48937271e-006, -1, 3.20675717e-005, -0.999999821, -4.48933861e-006), | |
1970 | ["CanCollide"] = false, | |
1971 | ["FormFactor"] = Enum.FormFactor.Plate, | |
1972 | ["Size"] = Vector3.new(2, 0.400000006, 2), | |
1973 | ["BackSurface"] = Enum.SurfaceType.Weld, | |
1974 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
1975 | ["FrontSurface"] = Enum.SurfaceType.Weld, | |
1976 | ["LeftSurface"] = Enum.SurfaceType.Weld, | |
1977 | ["RightSurface"] = Enum.SurfaceType.Weld, | |
1978 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
1979 | }) | |
1980 | o102 = Create("SpecialMesh",{ | |
1981 | ["Parent"] = o101, | |
1982 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
1983 | ["MeshType"] = Enum.MeshType.Sphere, | |
1984 | }) | |
1985 | o103 = Create("Part",{ | |
1986 | ["Name"] = "Handle8", | |
1987 | ["Parent"] = o85, | |
1988 | ["Material"] = Enum.Material.DiamondPlate, | |
1989 | ["Reflectance"] = 0.20000000298023, | |
1990 | ["Transparency"] = 1, | |
1991 | ["Position"] = Vector3.new(357.600006, 440.583069, 1024.10303), | |
1992 | ["Rotation"] = Vector3.new(90.0958481, -0.000173780791, -179.983185), | |
1993 | ["Anchored"] = true, | |
1994 | ["CFrame"] = CFrame.new(357.600006, 440.583069, 1024.10303, -0.999999821, 0.000293433928, -3.03304705e-006, 3.52491816e-006, 0.00167288422, -0.999998629, -0.00029342834, -0.999998391, -0.00167283218), | |
1995 | ["CanCollide"] = false, | |
1996 | ["FormFactor"] = Enum.FormFactor.Plate, | |
1997 | ["Size"] = Vector3.new(2, 0.400000006, 2), | |
1998 | ["BackSurface"] = Enum.SurfaceType.Weld, | |
1999 | ["BottomSurface"] = Enum.SurfaceType.Weld, | |
2000 | ["FrontSurface"] = Enum.SurfaceType.Weld, | |
2001 | ["LeftSurface"] = Enum.SurfaceType.Weld, | |
2002 | ["RightSurface"] = Enum.SurfaceType.Weld, | |
2003 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2004 | }) | |
2005 | o104 = Create("SpecialMesh",{ | |
2006 | ["Parent"] = o103, | |
2007 | ["Scale"] = Vector3.new(1.05999994, 5.5, 1.05999994), | |
2008 | ["MeshType"] = Enum.MeshType.Sphere, | |
2009 | }) | |
2010 | o105 = Create("Script",{ | |
2011 | ["Parent"] = o85, | |
2012 | }) | |
2013 | table.insert(cors,coroutine.create(function() | |
2014 | wait() | |
2015 | runDummyScript(function() | |
2016 | wait() | |
2017 | ||
2018 | script.Parent:BreakJoints() | |
2019 | ||
2020 | lol=function() | |
2021 | ||
2022 | w=Instance.new("Motor") | |
2023 | w.Part0=script.Parent.Handle2 | |
2024 | w.Part1=script.Parent.Handle3 | |
2025 | w.C0=CFrame.new(0,-.25,-3)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,math.pi/2) | |
2026 | w.Parent=w.Part0 | |
2027 | ||
2028 | w=Instance.new("Weld") | |
2029 | w.Part0=script.Parent.Handle3 | |
2030 | w.Part1=script.Parent.Handle4 | |
2031 | w.C0=CFrame.new(0,3,0) | |
2032 | w.Parent=w.Part0 | |
2033 | ||
2034 | w=Instance.new("Weld") | |
2035 | w.Part0=script.Parent.Handle3 | |
2036 | w.Part1=script.Parent.Handle5 | |
2037 | w.C0=CFrame.new(0,-4,0) | |
2038 | w.Parent=w.Part0 | |
2039 | ||
2040 | w=Instance.new("Weld") | |
2041 | w.Part0=script.Parent.Handle3 | |
2042 | w.Part1=script.Parent.Handle6 | |
2043 | w.C0=CFrame.new(0,-5.25,0) | |
2044 | w.Parent=w.Part0 | |
2045 | ||
2046 | end | |
2047 | ||
2048 | script.Parent.AncestryChanged:connect(lol) | |
2049 | end,o105) | |
2050 | end)) | |
2051 | o106 = Create("Part",{ | |
2052 | ["Name"] = "Base", | |
2053 | ["Parent"] = o85, | |
2054 | ["Material"] = Enum.Material.DiamondPlate, | |
2055 | ["BrickColor"] = BrickColor.new("Black"), | |
2056 | ["Transparency"] = 1, | |
2057 | ["Position"] = Vector3.new(357.600006, 436.094055, 1019.90002), | |
2058 | ["Rotation"] = Vector3.new(-180, 0, -180), | |
2059 | ["Anchored"] = true, | |
2060 | ["CFrame"] = CFrame.new(357.600006, 436.094055, 1019.90002, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
2061 | ["CanCollide"] = false, | |
2062 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
2063 | ["Size"] = Vector3.new(6, 1, 8), | |
2064 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2065 | ["TopSurface"] = Enum.SurfaceType.Weld, | |
2066 | ["Color"] = Color3.new(0.105882, 0.164706, 0.207843), | |
2067 | }) | |
2068 | o107 = Create("Part",{ | |
2069 | ["Name"] = "Cheek10", | |
2070 | ["Parent"] = o1, | |
2071 | ["BrickColor"] = BrickColor.new("Bright yellow"), | |
2072 | ["Transparency"] = 1, | |
2073 | ["Position"] = Vector3.new(330.948059, 88.3397217, -127.371948), | |
2074 | ["Rotation"] = Vector3.new(-178.737854, 36.0834503, 179.256561), | |
2075 | ["RotVelocity"] = Vector3.new(0, 0.167158738, 0), | |
2076 | ["Velocity"] = Vector3.new(-9.28739166, 0, 13.3375549), | |
2077 | ["CFrame"] = CFrame.new(330.948059, 88.3397217, -127.371948, -0.808091879, -0.0104859406, 0.588962913, -1.50948132e-014, 0.999841571, 0.017801255, -0.589056253, 0.0143850492, -0.807963848), | |
2078 | ["CanCollide"] = false, | |
2079 | ["Locked"] = true, | |
2080 | ["FormFactor"] = Enum.FormFactor.Symmetric, | |
2081 | ["Size"] = Vector3.new(1, 1, 1), | |
2082 | ["BottomSurface"] = Enum.SurfaceType.Smooth, | |
2083 | ["TopSurface"] = Enum.SurfaceType.Smooth, | |
2084 | ["Color"] = Color3.new(0.960784, 0.803922, 0.188235), | |
2085 | }) | |
2086 | o108 = Create("SpecialMesh",{ | |
2087 | ["Parent"] = o107, | |
2088 | ["MeshType"] = Enum.MeshType.Brick, | |
2089 | }) | |
2090 | o109 = Create("Sound",{ | |
2091 | ["Name"] = "Ohgodno", | |
2092 | ["Parent"] = o1, | |
2093 | ["Pitch"] = 0.52999997138977, | |
2094 | ["SoundId"] = "http://www.roblox.com/asset/?id=28510547", | |
2095 | ["Volume"] = 1, | |
2096 | ["Looped"] = true, | |
2097 | }) | |
2098 | o110 = Create("Script",{ | |
2099 | ["Parent"] = o1, | |
2100 | }) | |
2101 | table.insert(cors,coroutine.create(function() | |
2102 | wait() | |
2103 | runDummyScript(function() | |
2104 | while true do --blargh | |
2105 | ||
2106 | ||
2107 | for _,v in pairs(game.Players:children()) do | |
2108 | if v:FindFirstChild("PlayerGui")~=nil then | |
2109 | if script.DoGui.Value==true then | |
2110 | ||
2111 | if v.PlayerGui:FindFirstChild("DEATHGUI")==nil then | |
2112 | s=script.Parent.LocalScript.DEATHGUI:clone() | |
2113 | s.Script.Disabled=false | |
2114 | s.Parent=v.PlayerGui | |
2115 | end | |
2116 | ||
2117 | else | |
2118 | ||
2119 | if v.PlayerGui:FindFirstChild("DEATHGUI")~=nil then | |
2120 | v.PlayerGui.DEATHGUI:Remove() | |
2121 | end | |
2122 | ||
2123 | end | |
2124 | ||
2125 | end | |
2126 | end | |
2127 | ||
2128 | wait(.1) | |
2129 | ||
2130 | end | |
2131 | end,o110) | |
2132 | end)) | |
2133 | o111 = Create("BoolValue",{ | |
2134 | ["Name"] = "DoGui", | |
2135 | ["Parent"] = o110, | |
2136 | }) | |
2137 | ||
2138 | mas.Parent = workspace | |
2139 | mas:MakeJoints() | |
2140 | local mas1 = mas:GetChildren() | |
2141 | for i=1,#mas1 do | |
2142 | mas1[i].Parent = game.Players.LocalPlayer.Backpack | |
2143 | ypcall(function() mas1[i]:MakeJoints() end) | |
2144 | end | |
2145 | mas:Destroy() | |
2146 | for i=1,#cors do | |
2147 | coroutine.resume(cors[i]) | |
2148 | end | |
2149 | ||
2150 | ||
2151 | -- yoo waddup |