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