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