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