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