SHOW:
|
|
- or go back to the newest paste.
1 | -- Edit by eletronic007 | |
2 | -- Go ahead and leak little brats | |
3 | ---------------------------------------------------------------------------------------------------------------------- | |
4 | Hood = false --[[ 164414939 ]] | |
5 | ------------------------------------------------------------------------------------------------------------------------- | |
6 | --[[ | |
7 | ||
8 | A Power That Should Never Be Messed With... | |
9 | ||
10 | ||
11 | ||
12 | ||
13 | At ThIs MoMeNt YoU kNeW yOu ScReWeD uP!!! | |
14 | ]]-- | |
15 | ||
16 | ||
17 | ------------Don't Touch These Yet-------------- | |
18 | local colorone = "Really red" -- Crimson | |
19 | local colortwo = "Really black" -- Bright red | |
20 | local colorthree = "Really black" -- Really red | |
21 | ||
22 | local mode = "BerserkMode" | |
23 | ------------------------------------------------ | |
24 | ||
25 | ||
26 | wait(1 / 60) | |
27 | Effects = { } | |
28 | local Player = game.Players.localPlayer | |
29 | script.Parent = Player.PlayerGui | |
30 | script.Name = math.random(100, 100000)..[[ ]]..math.random(100000, 1000000000) | |
31 | local Character = Player.Character | |
32 | local Humanoid = Character.Humanoid | |
33 | local Mouse = Player:GetMouse() | |
34 | local LeftArm = Character["Left Arm"] | |
35 | local RightArm = Character["Right Arm"] | |
36 | local LeftLeg = Character["Left Leg"] | |
37 | local RightLeg = Character["Right Leg"] | |
38 | local Head = Character.Head | |
39 | local Torso = Character.Torso | |
40 | local Camera = game.Workspace.CurrentCamera | |
41 | local RootPart = Character.HumanoidRootPart | |
42 | local RootJoint = RootPart.RootJoint | |
43 | local attack = false | |
44 | local Anim = 'Idle' | |
45 | local attacktype = 1 | |
46 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
47 | local velocity = RootPart.Velocity.y | |
48 | local sine = 0 | |
49 | local change = 1 | |
50 | local hobb = 0 | |
51 | local rest = 0 | |
52 | local looprevive = false | |
53 | local revive = false | |
54 | local Create = LoadLibrary("RbxUtility").Create | |
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | function RemoveOutlines(part) | |
63 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
64 | end | |
65 | ||
66 | CFuncs = { | |
67 | ["Part"] = { | |
68 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
69 | local Part = Create("Part"){ | |
70 | Parent = Parent, | |
71 | Reflectance = Reflectance, | |
72 | Transparency = Transparency, | |
73 | CanCollide = false, | |
74 | Locked = true, | |
75 | BrickColor = BrickColor.new(tostring(BColor)), | |
76 | Name = Name, | |
77 | Size = Size, | |
78 | Material = Material, | |
79 | } | |
80 | --remove these lines if u want it purple-------- | |
81 | ||
82 | ------------------------------------------------ | |
83 | RemoveOutlines(Part) | |
84 | return Part | |
85 | end; | |
86 | }; | |
87 | ||
88 | ["Mesh"] = { | |
89 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
90 | local Msh = Create(Mesh){ | |
91 | Parent = Part, | |
92 | Offset = OffSet, | |
93 | Scale = Scale, | |
94 | } | |
95 | if Mesh == "SpecialMesh" then | |
96 | Msh.MeshType = MeshType | |
97 | Msh.MeshId = MeshId | |
98 | end | |
99 | return Msh | |
100 | end; | |
101 | }; | |
102 | ||
103 | ["Mesh"] = { | |
104 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
105 | local Msh = Create(Mesh){ | |
106 | Parent = Part, | |
107 | Offset = OffSet, | |
108 | Scale = Scale, | |
109 | } | |
110 | if Mesh == "SpecialMesh" then | |
111 | Msh.MeshType = MeshType | |
112 | Msh.MeshId = MeshId | |
113 | end | |
114 | return Msh | |
115 | end; | |
116 | }; | |
117 | ||
118 | ["Weld"] = { | |
119 | Create = function(Parent, Part0, Part1, C0, C1) | |
120 | local Weld = Create("Weld"){ | |
121 | Parent = Parent, | |
122 | Part0 = Part0, | |
123 | Part1 = Part1, | |
124 | C0 = C0, | |
125 | C1 = C1, | |
126 | } | |
127 | return Weld | |
128 | end; | |
129 | }; | |
130 | ||
131 | ["Sound"] = { | |
132 | Create = function(id, par, vol, pit) | |
133 | coroutine.resume(coroutine.create(function() | |
134 | local S = Create("Sound"){ | |
135 | Volume = vol, | |
136 | Pitch = pit or 1, | |
137 | SoundId = id, | |
138 | Parent = par or workspace, | |
139 | } | |
140 | wait() | |
141 | S:play() | |
142 | game:GetService("Debris"):AddItem(S, 6) | |
143 | end)) | |
144 | end; | |
145 | }; | |
146 | ||
147 | ["ParticleEmitter"] = { | |
148 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
149 | local fp = Create("ParticleEmitter"){ | |
150 | Parent = Parent, | |
151 | Color = ColorSequence.new(Color1, Color2), | |
152 | LightEmission = LightEmission, | |
153 | Size = Size, | |
154 | Texture = Texture, | |
155 | Transparency = Transparency, | |
156 | ZOffset = ZOffset, | |
157 | Acceleration = Accel, | |
158 | Drag = Drag, | |
159 | LockedToPart = LockedToPart, | |
160 | VelocityInheritance = VelocityInheritance, | |
161 | EmissionDirection = EmissionDirection, | |
162 | Enabled = Enabled, | |
163 | Lifetime = LifeTime, | |
164 | Rate = Rate, | |
165 | Rotation = Rotation, | |
166 | RotSpeed = RotSpeed, | |
167 | Speed = Speed, | |
168 | VelocitySpread = VelocitySpread, | |
169 | } | |
170 | return fp | |
171 | end; | |
172 | }; | |
173 | ||
174 | CreateTemplate = { | |
175 | ||
176 | }; | |
177 | } | |
178 | ||
179 | ||
180 | ||
181 | local p = game.Players.LocalPlayer | |
182 | --if p.Name~='UniversalDespair' and p.Name~='hasang1' then p.Character:Destroy() script:Destroy() return end | |
183 | local char = p.Character | |
184 | local mouse = p:GetMouse() | |
185 | local larm = char["Left Arm"] | |
186 | local rarm = char["Right Arm"] | |
187 | local lleg = char["Left Leg"] | |
188 | local rleg = char["Right Leg"] | |
189 | local hed = char.Head | |
190 | local torso = char.Torso | |
191 | local hum = char.Humanoid | |
192 | local cam = game.Workspace.CurrentCamera | |
193 | local root = char.HumanoidRootPart | |
194 | local deb = false | |
195 | local shot = 0 | |
196 | local debris=game:service"Debris" | |
197 | local l = game:GetService("Lighting") | |
198 | local rs = game:GetService("RunService").RenderStepped | |
199 | ||
200 | ||
201 | ||
202 | ||
203 | Debounces = { | |
204 | CanAttack = true; | |
205 | NoIdl = false; | |
206 | Slashing = false; | |
207 | Slashed = false; | |
208 | RPunch = false; | |
209 | RPunched = false; | |
210 | LPunch = false; | |
211 | LPunched = false; | |
212 | } | |
213 | local Touche = {Character.Name, } | |
214 | ||
215 | ||
216 | ---------------------------------------------------- | |
217 | function genWeld(a,b) | |
218 | local w = Instance.new("Weld",a) | |
219 | w.Part0 = a | |
220 | w.Part1 = b | |
221 | return w | |
222 | end | |
223 | function weld(a, b) | |
224 | local weld = Instance.new("Weld") | |
225 | weld.Name = "W" | |
226 | weld.Part0 = a | |
227 | weld.Part1 = b | |
228 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
229 | weld.Parent = a | |
230 | return weld; | |
231 | end | |
232 | ---------------------------------------------------- | |
233 | function Lerp(c1,c2,al) | |
234 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
235 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
236 | for i,v in pairs(com1) do | |
237 | com1[i] = v+(com2[i]-v)*al | |
238 | end | |
239 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
240 | end | |
241 | ---------------------------------------------------- | |
242 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
243 | local wld = Instance.new("Weld", wp1) | |
244 | wld.Part0 = wp0 | |
245 | wld.Part1 = wp1 | |
246 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
247 | end | |
248 | ---------------------------------------------------- | |
249 | function weld5(part0, part1, c0, c1) | |
250 | weeld=Instance.new("Weld", part0) | |
251 | weeld.Part0=part0 | |
252 | weeld.Part1=part1 | |
253 | weeld.C0=c0 | |
254 | weeld.C1=c1 | |
255 | return weeld | |
256 | end | |
257 | ---------------------------------------------------- | |
258 | function HasntTouched(plrname) | |
259 | local ret = true | |
260 | for _, v in pairs(Touche) do | |
261 | if v == plrname then | |
262 | ret = false | |
263 | end | |
264 | end | |
265 | return ret | |
266 | end | |
267 | ---------------------------------------------------- | |
268 | ||
269 | function chatfunc(text) | |
270 | local chat = coroutine.wrap(function() | |
271 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
272 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
273 | end | |
274 | local naeeym2 = Instance.new("BillboardGui",Character) | |
275 | naeeym2.Size = UDim2.new(0,100,0,40) | |
276 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
277 | naeeym2.Adornee = Head | |
278 | naeeym2.Name = "TalkingBillBoard" | |
279 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
280 | tecks2.BackgroundTransparency = 1 | |
281 | tecks2.BorderSizePixel = 0 | |
282 | tecks2.Text = "" | |
283 | tecks2.Font = "Fantasy" | |
284 | tecks2.FontSize = "Size24" | |
285 | tecks2.TextStrokeTransparency = 0 | |
286 | tecks2.TextColor3 = BrickColor.new(colortwo).Color | |
287 | tecks2.TextStrokeColor3 = BrickColor.new(colorone).Color | |
288 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
289 | local shk = coroutine.wrap(function() | |
290 | while tecks2 ~= nil do | |
291 | wait(.05) | |
292 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
293 | end | |
294 | end) | |
295 | shk() | |
296 | for i = 1,string.len(text),1 do | |
297 | CFuncs.Sound.Create("rbxassetid://358280695", Torso, 2, 0.5) | |
298 | tecks2.Text = string.sub(text,1,i) | |
299 | wait(0.01) | |
300 | end | |
301 | wait(1) | |
302 | for i = 1, 5 do | |
303 | wait(.01) | |
304 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
305 | tecks2.Rotation = tecks2.Rotation + 2 | |
306 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
307 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
308 | end | |
309 | naeeym2:Destroy() | |
310 | end) | |
311 | chat() | |
312 | end | |
313 | function onChatted(msg) | |
314 | chatfunc(msg) | |
315 | end | |
316 | ---Player.Chatted:connect(onChatted) | |
317 | ||
318 | ||
319 | ||
320 | ||
321 | ||
322 | ||
323 | ||
324 | ||
325 | ||
326 | ||
327 | ||
328 | ||
329 | ||
330 | ||
331 | ||
332 | function chatfunc2(text) | |
333 | local chat = coroutine.wrap(function() | |
334 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
335 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
336 | end | |
337 | local naeeym2 = Instance.new("BillboardGui",Character) | |
338 | naeeym2.Size = UDim2.new(0,100,0,40) | |
339 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
340 | naeeym2.Adornee = Head | |
341 | naeeym2.Name = "TalkingBillBoard" | |
342 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
343 | tecks2.BackgroundTransparency = 1 | |
344 | tecks2.BorderSizePixel = 0 | |
345 | tecks2.Text = "" | |
346 | tecks2.Font = "Fantasy" | |
347 | tecks2.FontSize = "Size24" | |
348 | tecks2.TextStrokeTransparency = 0 | |
349 | tecks2.TextColor3 = BrickColor.new(colortwo).Color | |
350 | tecks2.TextStrokeColor3 = BrickColor.new(colorthree).Color | |
351 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
352 | local shk = coroutine.wrap(function() | |
353 | while tecks2 ~= nil do | |
354 | wait(.05) | |
355 | tecks2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
356 | end | |
357 | end) | |
358 | shk() | |
359 | for i = 1,string.len(text),1 do | |
360 | CFuncs.Sound.Create("rbxassetid://358280695", Torso, 2, 0.5) | |
361 | tecks2.Text = string.sub(text,1,i) | |
362 | wait(0.01) | |
363 | end | |
364 | wait(1) | |
365 | for i = 1, 5 do | |
366 | wait(.01) | |
367 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
368 | tecks2.Rotation = tecks2.Rotation + 2 | |
369 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
370 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
371 | end | |
372 | naeeym2:Destroy() | |
373 | end) | |
374 | chat() | |
375 | end | |
376 | function onChatted(msg) | |
377 | chatfunc(msg) | |
378 | end | |
379 | ||
380 | ||
381 | ||
382 | ||
383 | ||
384 | ||
385 | local Transforming = false | |
386 | Transforming = true | |
387 | ||
388 | chatfunc("In this world...") | |
389 | ||
390 | wait(3) | |
391 | ||
392 | chatfunc("Some things need be erased...") | |
393 | ||
394 | wait(4) | |
395 | ||
396 | chatfunc("And one of these things...") | |
397 | ||
398 | wait(3) | |
399 | ||
400 | chatfunc("Is you...") | |
401 | ||
402 | wait(2) | |
403 | ||
404 | chatfunc("But..") | |
405 | ||
406 | wait(2) | |
407 | ||
408 | chatfunc("Don't get me and angry.") | |
409 | ||
410 | wait(2) | |
411 | ||
412 | chatfunc("Do you know who needs to be erased form this world?") | |
413 | ||
414 | wait(2) | |
415 | ||
416 | chatfunc("You...") | |
417 | ||
418 | wait(2) | |
419 | ||
420 | chatfunc("Here comes my true power.") | |
421 | ||
422 | wait(2) | |
423 | ||
424 | ----------- | |
425 | ||
426 | ----- | |
427 | local p = game.Players.LocalPlayer | |
428 | local char = p.Character | |
429 | local mouse = p:GetMouse() | |
430 | local larm = char["Left Arm"] | |
431 | local rarm = char["Right Arm"] | |
432 | local lleg = char["Left Leg"] | |
433 | local rleg = char["Right Leg"] | |
434 | local hed = char.Head | |
435 | local torso = char.Torso | |
436 | plr=game:service'Players'.LocalPlayer | |
437 | chr=plr.Character | |
438 | local ms = plr:GetMouse() | |
439 | CV="Really red" | |
440 | local hum = char.Humanoid | |
441 | local cam = game.Workspace.CurrentCamera | |
442 | local root = char.HumanoidRootPart | |
443 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
444 | local vt=Vector3.new | |
445 | local deb = false | |
446 | local CanAttack = true | |
447 | local shot = 0 | |
448 | local animpose = "Idle" | |
449 | local lastanimpose = "Idle" | |
450 | local stanceToggle = "Normal" | |
451 | local l = game:GetService("Lighting") | |
452 | local rs = game:GetService("RunService").RenderStepped | |
453 | math.randomseed(os.time()) | |
454 | hum.MaxHealth = 9001 | |
455 | wait(1) | |
456 | hum.Health = 9001 | |
457 | ||
458 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
459 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
460 | ||
461 | ||
462 | Mesh2 = function(par,num,x,y,z) | |
463 | local msh = _ | |
464 | if num == 1 then | |
465 | msh = Instance.new("CylinderMesh",par) | |
466 | elseif num == 2 then | |
467 | msh = Instance.new("SpecialMesh",par) | |
468 | msh.MeshType = 3 | |
469 | elseif num == 3 then | |
470 | msh = Instance.new("BlockMesh",par) | |
471 | elseif num == 4 then | |
472 | msh = Instance.new("SpecialMesh",par) | |
473 | msh.MeshType = "Torso" | |
474 | elseif type(num) == 'string' then | |
475 | msh = Instance.new("SpecialMesh",par) | |
476 | msh.MeshId = num | |
477 | end | |
478 | msh.Scale = Vector3.new(x,y,z) | |
479 | return msh | |
480 | end | |
481 | ||
482 | Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par) | |
483 | local w = Instance.new('Motor',par or p0) | |
484 | w.Part0 = p0 | |
485 | w.Part1 = p1 | |
486 | w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz) | |
487 | return w | |
488 | end | |
489 | ||
490 | function NoOutline(Part) | |
491 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
492 | end | |
493 | ||
494 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
495 | local fp=Instance.new("Part") | |
496 | fp.formFactor=formfactor | |
497 | fp.Parent=parent | |
498 | fp.Reflectance=reflectance | |
499 | fp.Transparency=transparency | |
500 | fp.CanCollide=false | |
501 | fp.Locked=true | |
502 | fp.BrickColor=brickcolor | |
503 | fp.Name=name | |
504 | fp.Size=size | |
505 | fp.Position=torso.Position | |
506 | NoOutline(fp) | |
507 | fp.Material="SmoothPlastic" | |
508 | fp:BreakJoints() | |
509 | return fp | |
510 | end | |
511 | ||
512 | if Hood == true then | |
513 | for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end | |
514 | local hat = part(3,char,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02)) | |
515 | Mesh2(hat,'http://www.roblox.com/asset/?id=16952952',1.05,1.05,1.05) --hood | |
516 | Weld2(char.Head,hat,0,-.25,0,0,0,0,hat) | |
517 | end | |
518 | ||
519 | ||
520 | local p = game.Players.LocalPlayer | |
521 | local char = p.Character | |
522 | local mouse = p:GetMouse() | |
523 | local larm = char["Left Arm"] | |
524 | local rarm = char["Right Arm"] | |
525 | local lleg = char["Left Leg"] | |
526 | local rleg = char["Right Leg"] | |
527 | local hed = char.Head | |
528 | hed.face.Texture = "574157327" | |
529 | local torso = char.Torso | |
530 | local hum = char.Humanoid | |
531 | local cam = game.Workspace.CurrentCamera | |
532 | local root = char.HumanoidRootPart | |
533 | local deb = false | |
534 | local shot = 0 | |
535 | local l = game:GetService("Lighting") | |
536 | local rs = game:GetService("RunService").RenderStepped | |
537 | local stanceToggle = "Normal" | |
538 | math.randomseed(os.time()) | |
539 | ||
540 | ||
541 | ---------------------------------------------------- | |
542 | local Player = game.Players.LocalPlayer | |
543 | local Character = Player.Character | |
544 | local Humanoid = Character.Humanoid | |
545 | local Head = Character.Head | |
546 | local Torso = Character.Torso | |
547 | local RootPart = Character.HumanoidRootPart | |
548 | local RightArm = Character["Right Arm"] | |
549 | local LeftArm = Character["Left Arm"] | |
550 | local RightLeg = Character["Right Leg"] | |
551 | local LeftLeg = Character["Left Leg"] | |
552 | local Neck = Torso.Neck | |
553 | local RootJoint = RootPart.RootJoint | |
554 | local RightShoulder = Torso["Right Shoulder"] | |
555 | local LeftShoulder = Torso["Left Shoulder"] | |
556 | local RightHip = Torso["Right Hip"] | |
557 | local LeftHip = Torso["Left Hip"] | |
558 | local Insert = table.insert | |
559 | local Mouse = Player:GetMouse() | |
560 | VFXList = {} | |
561 | ||
562 | ||
563 | ---------------- | |
564 | New = function(Object, Parent, Name, Data) | |
565 | local Object = Instance.new(Object) | |
566 | for Index, Value in pairs(Data or {}) do | |
567 | Object[Index] = Value | |
568 | end | |
569 | Object.Parent = Parent | |
570 | Object.Name = Name | |
571 | return Object | |
572 | end | |
573 | ||
574 | ||
575 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
576 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
577 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
578 | ||
579 | ||
580 | wait(.1) | |
581 | local Models = New("Model",Character,"Model",{}) | |
582 | local eyesz = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8319473, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = BrickColor.new("Really red").Color,}) | |
583 | Meshs = New("SpecialMesh",eyesz,"Mesh",{MeshType = Enum.MeshType.Sphere,}) | |
584 | mots = New("Weld",eyesz,"mot",{Part0 = eyesz,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.54234314, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
585 | ||
586 | ||
587 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.791954, 0, 3.89999987e-005, 1, 0, -1, 3.89999987e-005, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
588 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
589 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 3.89999987e-005, -1, 0, 1, 3.89999987e-005, 0),C1 = CFrame.new(0.0999984741, 0.230003357, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
590 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1781769, 1.47783697, -44.791954, 0, 0.383733064, 0.923444092, 0, -0.923444092, 0.383733094, 1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
591 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,}) | |
592 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0.383733064, -0.923444092, 0, 0.923444092, 0.383733094, 0),C1 = CFrame.new(0.249305725, 0.146293998, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
593 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.1935196, 1.51477695, -44.791954, 0, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, -1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
594 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,}) | |
595 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.383726001, 0.923447013, 0, 0.923447013, 0.383726001, 0),C1 = CFrame.new(0.264648438, 0.183233976, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
596 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8642044, 1.60829198, -44.791954, 0, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, -1, -0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
597 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,}) | |
598 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0.383726001, -0.923447013, 0, -0.923447013, -0.383726001, 0),C1 = CFrame.new(-0.064666748, 0.276749015, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
599 | local eye = New("Part",Models,"eye",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.8795433, 1.64523494, -44.791954, 0, -0.383733064, -0.923444092, 0, 0.923444092, -0.383733094, 1, 0, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
600 | Mesh = New("SpecialMesh",eye,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 1),MeshType = Enum.MeshType.Wedge,}) | |
601 | mot = New("Weld",eye,"mot",{Part0 = eye,Part1 = Head,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.383733064, 0.923444092, 0, -0.923444092, -0.383733094, 0),C1 = CFrame.new(-0.0493278503, 0.313691974, -0.582336426, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
602 | local eye1 = New("Part",Models,"eye1",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-56.0288696, 1.56154633, -44.8119507, -1.00000036, 3.95500101e-005, -5.96046945e-008, -3.95501265e-005, -1.00000024, -4.44026066e-011, 2.98024041e-008, -3.24078958e-012, 1),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
603 | Mesh = New("SpecialMesh",eye1,"Mesh",{Scale = Vector3.new(0.3, 0.8, 0.9),MeshType = Enum.MeshType.Sphere,}) | |
604 | mot = New("Weld",eye1,"mot",{Part0 = eye1,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1.00000036, -3.95501265e-005, 2.98024041e-008, 3.95500101e-005, -1.00000024, -3.24078958e-012, -5.96046945e-008, -4.44026066e-011, 1),C1 = CFrame.new(0.0999984741, 0.230003357, -0.562339783, -1, 0, 0, 0, 1, 0, 0, 0, -1),}) | |
605 | ||
606 | DeathClaw = New("Model",Character,"DeathClaw",{}) | |
607 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 1.301, 1.00999999),CFrame = CFrame.new(-8.18999767, 2.64003253, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
608 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.359999895, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
609 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-7.58999872, 2.16453266, -8.08500957, -9.61124897e-07, 6.97365886e-06, -1, 9.77374555e-08, 1, 6.97365886e-06, 1, -9.77312951e-08, -9.61124897e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
610 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
611 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -9.61124897e-07, 9.77374413e-08, 1, 6.97365886e-06, 1, -9.77313022e-08, -1, 6.97365886e-06, -9.61124897e-07),C1 = CFrame.new(0.600004673, -0.835495472, 0.0150003433, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
612 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-7.58999777, 1.77453327, -8.08500767, 9.61683781e-07, -6.97418636e-06, -1, 1.04010105e-05, -1, 6.97419773e-06, -1.00000036, -1.0356307e-05, -9.61610908e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
613 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
614 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 9.61683781e-07, 1.04010105e-05, -1.00000036, -6.97418636e-06, -1, -1.0356307e-05, -1, 6.97419773e-06, -9.61610908e-07),C1 = CFrame.new(0.600008488, -1.22549498, 0.0150022507, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
615 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.18999958, 2.16453195, -7.51500511, -1, -1.86969225e-14, 0, 1.86969208e-14, 1, -1.42108547e-14, 0, 1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
616 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
617 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(3.81469727e-06, -0.835500479, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
618 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.18999767, 1.77453327, -7.51500511, 1, 1.86969225e-14, 0, -1.86969208e-14, -1, -1.42108547e-14, 0, -1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
619 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
620 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(8.58306885e-06, -1.22549915, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
621 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.77497768, 2.16453099, -8.06999302, 0, -1.86969225e-14, 1, -1.42108547e-14, 1, -1.86969208e-14, -1, 1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
622 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
623 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, -7.10542736e-15, -1, -1.86969208e-14, 1, 7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584974289, -0.835505486, 0.0300168991, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
624 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.77498817, 1.77453351, -8.06999683, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
625 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
626 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584981918, -1.22550297, 0.0300130844, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
627 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.17498684, 1.77453244, -8.6399889, -1, 1.86969225e-14, 0, 1.86969208e-14, -1, 1.42108547e-14, 0, -1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
628 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
629 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150194168, -1.22549987, -0.539978981, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
630 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.17498493, 2.16453147, -8.63999176, 1, -1.86969225e-14, 0, -1.86969208e-14, 1, 1.42108547e-14, 0, 1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
631 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
632 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150184631, -0.835500717, -0.539981842, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
633 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550999999, 1.00999999),CFrame = CFrame.new(-8.19000053, 1.96503329, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
634 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(4.76837158e-06, -1.03499913, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
635 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.5, 0.5),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
636 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Cylinder,}) | |
637 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
638 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.879999995, 0.25999999),CFrame = CFrame.new(-8.80498791, 3.55953217, -8.09999657, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
639 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
640 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.614994049, 0.559495449, 1.33514404e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
641 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.65498829, 4.29453278, -8.09999752, -3.88175249e-06, 6.16863917e-06, 1.00000167, -7.53802908e-07, 1, -6.168651e-06, -1.00000167, -7.53825816e-07, -3.88175249e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
642 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
643 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.88175249e-06, -7.53802908e-07, -1.00000167, 6.16863917e-06, 1, -7.53825816e-07, 1.00000167, -6.168651e-06, -3.88175249e-06),C1 = CFrame.new(-0.464999199, 1.29449725, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
644 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.11498737, 4.29453278, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
645 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
646 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.0750017166, 1.29450107, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
647 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.370000005, 0.73999989),CFrame = CFrame.new(-8.02498817, 4.17453337, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
648 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
649 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.165000916, 1.17450213, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
650 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -7.69499397, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
651 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
652 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, 0.405015945, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
653 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -8.5049963, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
654 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
655 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
656 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774792, 4.42557859, -8.5049963, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
657 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
658 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377607346, 1.42554593, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
659 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774982, 4.42557859, -7.69499588, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
660 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,}) | |
661 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377616882, 1.42554593, 0.405014038, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
662 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.550999999, 0.200000003),CFrame = CFrame.new(-8.59500027, 2.89503574, -8.1300106, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
663 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,}) | |
664 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(-0.40500164, -0.104999542, -0.0300006866, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
665 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 3.06003571, -8.04001141, 1, 6.13489965e-06, 3.32129116e-06, -6.97362293e-06, 0.866024673, 0.500001252, 1.91137516e-07, -0.500001252, 0.866024673),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
666 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,}) | |
667 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91137516e-07, 6.13489919e-06, 0.866024673, -0.500001252, 3.32129093e-06, 0.500001252, 0.866024673),C1 = CFrame.new(-0.40500164, 0.0600004196, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
668 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.73003602, -8.04001141, 1, 5.94368294e-06, -3.65236247e-06, -6.97355335e-06, 0.866026044, -0.500001729, 1.91185379e-07, 0.500001729, 0.866026044),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
669 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,}) | |
670 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355335e-06, 1.91185379e-07, 5.94368294e-06, 0.866026044, 0.500001729, -3.65236247e-06, -0.500001729, 0.866026044),C1 = CFrame.new(-0.404999733, -0.269999266, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
671 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.200000003, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.89053583, -7.98001146, 1, 6.97355881e-06, -1.91176355e-07, -6.97355881e-06, 1, 1.86264515e-07, 1.91177477e-07, -1.86264515e-07, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
672 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,}) | |
673 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355881e-06, 1.91177477e-07, 6.97355881e-06, 1, -1.86264515e-07, -1.91176355e-07, 1.86264515e-07, 1),C1 = CFrame.new(-0.405000687, -0.109499454, 0.119998455, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
674 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.64528942, 2.08194613, -7.50872564, 0.57357645, -0.409576029, 0.709406495, 2.84217094e-14, 0.866025388, 0.5, -0.819152057, -0.286788225, 0.496731758),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
675 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.57357645, 2.84217094e-14, -0.819152057, -0.409576029, 0.866025388, -0.286788225, 0.709406495, 0.5, 0.496731758),C1 = CFrame.new(0.544714928, -0.918082476, 0.591284275, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
676 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.46966791, 1.04344952, -7.39113998, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
677 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.72034359, -1.95657802, 0.708869457, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
678 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.72338438, 0.601107359, -7.56879187, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
679 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
680 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.466629982, -2.39892173, 0.531217575, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
681 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.68504524, 2.08194637, -8.59320354, -0.707107365, -0.353553772, 0.612371683, -5.68434189e-14, 0.866024971, 0.500000894, -0.707106352, 0.353554249, -0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
682 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, -0.353553772, 0.866024971, 0.353554249, 0.612371683, 0.500000894, -0.612372518),C1 = CFrame.new(0.50495863, -0.918082476, -0.493193626, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
683 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.53874874, 1.0434494, -8.74573803, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
684 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.651262283, -1.95657837, -0.645728111, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
685 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.75776386, 0.601107359, -8.52672577, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
686 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
687 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.4322505, -2.39892197, -0.426715851, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
688 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.1899929, 3.28953266, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
689 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, 0.289500237, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
690 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.18999863, 2.47953296, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
691 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.520499468, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
692 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.731000006, 1.00999999),CFrame = CFrame.new(-8.189991, 3.64503241, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
693 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(1.90734863e-06, 0.644999981, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
694 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.699999988, 0.699999988),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
695 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.980000019, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
696 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
697 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.76894283, 2.02194643, -8.5701561, -0.573575079, 0.409577131, -0.709406972, -3.83693077e-13, 0.86602509, 0.500000715, 0.81915313, 0.286787927, -0.496730298),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
698 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, 0.409577131, 0.86602509, 0.286787927, -0.709406972, 0.500000715, -0.496730298),C1 = CFrame.new(-0.578938484, -0.978090048, -0.470146179, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
699 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.94456291, 0.983449459, -8.68774033, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
700 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.754550934, -2.01658821, -0.587730408, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
701 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.69085026, 0.541107416, -8.51008987, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
702 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
703 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.500835419, -2.45892859, -0.410079956, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
704 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.8754797, 0.983449221, -7.33314657, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
705 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.68546772, -2.01658797, 0.766863346, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
706 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.65646744, 0.541107178, -7.55215645, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),}) | |
707 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,}) | |
708 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.466452599, -2.45892859, 0.54785347, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
709 | Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.72918701, 2.02194619, -7.48567963, 0.707107365, 0.353553772, -0.612371683, 5.68434189e-14, 0.866024971, 0.500000834, 0.707106352, -0.353554249, 0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
710 | mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, 0.353553772, 0.866024971, -0.353554249, -0.612371683, 0.500000834, 0.612372518),C1 = CFrame.new(-0.539182663, -0.978090048, 0.614330292, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),}) | |
711 | ||
712 | ||
713 | ---------------- | |
714 | -------------------------------------------- | |
715 | Debounces = { | |
716 | CanAttack = true; | |
717 | NoIdl = false; | |
718 | Slashing = false; | |
719 | Slashed = false; | |
720 | RPunch = false; | |
721 | RPunched = false; | |
722 | LPunch = false; | |
723 | LPunched = false; | |
724 | } | |
725 | local Touche = {char.Name, } | |
726 | ---------------------------------------------------- | |
727 | ||
728 | wait() | |
729 | local Player = game.Players.LocalPlayer | |
730 | local Character = Player.Character | |
731 | local Humanoid = Character.Humanoid | |
732 | local Head = Character.Head | |
733 | local Torso = Character.Torso | |
734 | local RootPart = Character.HumanoidRootPart | |
735 | local RightArm = Character["Right Arm"] | |
736 | local LeftArm = Character["Left Arm"] | |
737 | local RightLeg = Character["Right Leg"] | |
738 | local LeftLeg = Character["Left Leg"] | |
739 | local Neck = Torso.Neck | |
740 | local RootJoint = RootPart.RootJoint | |
741 | local RightShoulder = Torso["Right Shoulder"] | |
742 | local LeftShoulder = Torso["Left Shoulder"] | |
743 | local RightHip = Torso["Right Hip"] | |
744 | local LeftHip = Torso["Left Hip"] | |
745 | local Insert = table.insert | |
746 | local Mouse = Player:GetMouse() | |
747 | VFXList = {} | |
748 | local CharaterAnimate, CharacterAnimator = Character:FindFirstChild("Animate"), Humanoid:FindFirstChild("Animator") | |
749 | if CharaterAnimate and CharacterAnimator then | |
750 | CharaterAnimate.Parent = nil | |
751 | CharacterAnimator.Parent = nil | |
752 | end | |
753 | ||
754 | ||
755 | ---------------------------------------------------- | |
756 | ||
757 | ||
758 | ||
759 | ||
760 | ||
761 | ArtificialHB = Create("BindableEvent", script){ | |
762 | Parent = script, | |
763 | Name = "Heartbeat", | |
764 | } | |
765 | ||
766 | script:WaitForChild("Heartbeat") | |
767 | ||
768 | frame = 1 / 30 | |
769 | tf = 0 | |
770 | allowframeloss = false | |
771 | tossremainder = false | |
772 | lastframe = tick() | |
773 | script.Heartbeat:Fire() | |
774 | ||
775 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
776 | tf = tf + s | |
777 | if tf >= frame then | |
778 | if allowframeloss then | |
779 | script.Heartbeat:Fire() | |
780 | lastframe = tick() | |
781 | else | |
782 | for i = 1, math.floor(tf / frame) do | |
783 | script.Heartbeat:Fire() | |
784 | end | |
785 | lastframe = tick() | |
786 | end | |
787 | if tossremainder then | |
788 | tf = 0 | |
789 | else | |
790 | tf = tf - frame * math.floor(tf / frame) | |
791 | end | |
792 | end | |
793 | end) | |
794 | ||
795 | ||
796 | ||
797 | function swait(num) | |
798 | if num == 0 or num == nil then | |
799 | ArtificialHB.Event:wait() | |
800 | else | |
801 | for i = 0, num do | |
802 | ArtificialHB.Event:wait() | |
803 | end | |
804 | end | |
805 | end | |
806 | ||
807 | ||
808 | ||
809 | ||
810 | local m = Create("Model"){ | |
811 | Parent = Character, | |
812 | Name = "WeaponModel", | |
813 | } | |
814 | ||
815 | Effects = { } | |
816 | ||
817 | ||
818 | ||
819 | ||
820 | EffectModel = Create("Model"){ | |
821 | Parent = Character, | |
822 | Name = "Effects", | |
823 | } | |
824 | ||
825 | Effects = { | |
826 | Block = { | |
827 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
828 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
829 | prt.Anchored = true | |
830 | prt.CFrame = cframe | |
831 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
832 | game:GetService("Debris"):AddItem(prt, 10) | |
833 | if Type == 1 or Type == nil then | |
834 | table.insert(Effects, { | |
835 | prt, | |
836 | "Block1", | |
837 | delay, | |
838 | x3, | |
839 | y3, | |
840 | z3, | |
841 | msh | |
842 | }) | |
843 | elseif Type == 2 then | |
844 | table.insert(Effects, { | |
845 | prt, | |
846 | "Block2", | |
847 | delay, | |
848 | x3, | |
849 | y3, | |
850 | z3, | |
851 | msh | |
852 | }) | |
853 | end | |
854 | end; | |
855 | }; | |
856 | ||
857 | Cylinder = { | |
858 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
859 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
860 | prt.Anchored = true | |
861 | prt.CFrame = cframe | |
862 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
863 | game:GetService("Debris"):AddItem(prt, 10) | |
864 | table.insert(Effects, { | |
865 | prt, | |
866 | "Cylinder", | |
867 | delay, | |
868 | x3, | |
869 | y3, | |
870 | z3, | |
871 | msh | |
872 | }) | |
873 | end; | |
874 | }; | |
875 | Head = { | |
876 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
877 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
878 | prt.Anchored = true | |
879 | prt.CFrame = cframe | |
880 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
881 | game:GetService("Debris"):AddItem(prt, 10) | |
882 | table.insert(Effects, { | |
883 | prt, | |
884 | "Cylinder", | |
885 | delay, | |
886 | x3, | |
887 | y3, | |
888 | z3, | |
889 | msh | |
890 | }) | |
891 | end; | |
892 | }; | |
893 | ||
894 | Sphere = { | |
895 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
896 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
897 | prt.Anchored = true | |
898 | prt.CFrame = cframe | |
899 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
900 | game:GetService("Debris"):AddItem(prt, 10) | |
901 | table.insert(Effects, { | |
902 | prt, | |
903 | "Cylinder", | |
904 | delay, | |
905 | x3, | |
906 | y3, | |
907 | z3, | |
908 | msh | |
909 | }) | |
910 | end; | |
911 | }; | |
912 | ||
913 | Elect = { | |
914 | Create = function(cff, x, y, z) | |
915 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
916 | prt.Anchored = true | |
917 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
918 | prt.CFrame = CFrame.new(prt.Position) | |
919 | game:GetService("Debris"):AddItem(prt, 2) | |
920 | local xval = math.random() / 2 | |
921 | local yval = math.random() / 2 | |
922 | local zval = math.random() / 2 | |
923 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
924 | table.insert(Effects, { | |
925 | prt, | |
926 | "Elec", | |
927 | 0.1, | |
928 | x, | |
929 | y, | |
930 | z, | |
931 | xval, | |
932 | yval, | |
933 | zval | |
934 | }) | |
935 | end; | |
936 | ||
937 | }; | |
938 | ||
939 | Ring = { | |
940 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
941 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
942 | prt.Anchored = true | |
943 | prt.CFrame = cframe | |
944 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
945 | game:GetService("Debris"):AddItem(prt, 10) | |
946 | table.insert(Effects, { | |
947 | prt, | |
948 | "Cylinder", | |
949 | delay, | |
950 | x3, | |
951 | y3, | |
952 | z3, | |
953 | msh | |
954 | }) | |
955 | end; | |
956 | }; | |
957 | ||
958 | ||
959 | Wave = { | |
960 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
961 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
962 | prt.Anchored = true | |
963 | prt.CFrame = cframe | |
964 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
965 | game:GetService("Debris"):AddItem(prt, 10) | |
966 | table.insert(Effects, { | |
967 | prt, | |
968 | "Cylinder", | |
969 | delay, | |
970 | x3, | |
971 | y3, | |
972 | z3, | |
973 | msh | |
974 | }) | |
975 | end; | |
976 | }; | |
977 | ||
978 | Break = { | |
979 | Create = function(brickcolor, cframe, x1, y1, z1) | |
980 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
981 | prt.Anchored = true | |
982 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
983 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
984 | local num = math.random(10, 50) / 1000 | |
985 | game:GetService("Debris"):AddItem(prt, 10) | |
986 | table.insert(Effects, { | |
987 | prt, | |
988 | "Shatter", | |
989 | num, | |
990 | prt.CFrame, | |
991 | math.random() - math.random(), | |
992 | 0, | |
993 | math.random(50, 100) / 100 | |
994 | }) | |
995 | end; | |
996 | }; | |
997 | ||
998 | Fire = { | |
999 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1000 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1001 | prt.Anchored = true | |
1002 | prt.CFrame = cframe | |
1003 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1004 | game:GetService("Debris"):AddItem(prt, 10) | |
1005 | table.insert(Effects, { | |
1006 | prt, | |
1007 | "Fire", | |
1008 | delay, | |
1009 | 1, | |
1010 | 1, | |
1011 | 1, | |
1012 | msh | |
1013 | }) | |
1014 | end; | |
1015 | }; | |
1016 | ||
1017 | FireWave = { | |
1018 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1019 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1020 | prt.Anchored = true | |
1021 | prt.CFrame = cframe | |
1022 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1023 | local d = Create("Decal"){ | |
1024 | Parent = prt, | |
1025 | Texture = "rbxassetid://26356434", | |
1026 | Face = "Top", | |
1027 | } | |
1028 | local d = Create("Decal"){ | |
1029 | Parent = prt, | |
1030 | Texture = "rbxassetid://26356434", | |
1031 | Face = "Bottom", | |
1032 | } | |
1033 | game:GetService("Debris"):AddItem(prt, 10) | |
1034 | table.insert(Effects, { | |
1035 | prt, | |
1036 | "FireWave", | |
1037 | 1, | |
1038 | 30, | |
1039 | math.random(400, 600) / 100, | |
1040 | msh | |
1041 | }) | |
1042 | end; | |
1043 | }; | |
1044 | ||
1045 | Lightning = { | |
1046 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1047 | local magz = (p0 - p1).magnitude | |
1048 | local curpos = p0 | |
1049 | local trz = { | |
1050 | -ofs, | |
1051 | ofs | |
1052 | } | |
1053 | for i = 1, tym do | |
1054 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1055 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1056 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1057 | li.Material = "Neon" | |
1058 | if tym == i then | |
1059 | local magz2 = (curpos - p1).magnitude | |
1060 | li.Size = Vector3.new(th, th, magz2) | |
1061 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1062 | table.insert(Effects, { | |
1063 | li, | |
1064 | "Disappear", | |
1065 | last | |
1066 | }) | |
1067 | else | |
1068 | do | |
1069 | do | |
1070 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1071 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1072 | game.Debris:AddItem(li, 10) | |
1073 | table.insert(Effects, { | |
1074 | li, | |
1075 | "Disappear", | |
1076 | last | |
1077 | }) | |
1078 | end | |
1079 | end | |
1080 | end | |
1081 | end | |
1082 | end | |
1083 | }; | |
1084 | ||
1085 | EffectTemplate = { | |
1086 | ||
1087 | }; | |
1088 | } | |
1089 | ||
1090 | ||
1091 | ||
1092 | ||
1093 | ||
1094 | ||
1095 | ||
1096 | function rayCast(Position, Direction, Range, Ignore) | |
1097 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
1098 | end | |
1099 | ||
1100 | FindNearestTorso = function(pos) | |
1101 | local list = (game.Workspace:children()) | |
1102 | local torso = nil | |
1103 | local dist = 1000 | |
1104 | local temp, human, temp2 = nil, nil, nil | |
1105 | for x = 1, #list do | |
1106 | temp2 = list[x] | |
1107 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
1108 | temp = temp2:findFirstChild("Torso") | |
1109 | human = temp2:findFirstChild("Humanoid") | |
1110 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
1111 | local dohit = true | |
1112 | if dohit == true then | |
1113 | torso = temp | |
1114 | dist = (temp.Position - pos).magnitude | |
1115 | end | |
1116 | end | |
1117 | end | |
1118 | end | |
1119 | return torso, dist | |
1120 | end | |
1121 | ||
1122 | ||
1123 | ||
1124 | ||
1125 | ||
1126 | ||
1127 | ||
1128 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
1129 | if hit.Parent == nil then | |
1130 | return | |
1131 | end | |
1132 | local h = hit.Parent:FindFirstChild("Humanoid") | |
1133 | for _, v in pairs(hit.Parent:children()) do | |
1134 | if v:IsA("Humanoid") then | |
1135 | h = v | |
1136 | end | |
1137 | end | |
1138 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
1139 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
1140 | if hit.Parent.DebounceHit.Value == true then | |
1141 | return | |
1142 | end | |
1143 | end | |
1144 | local c = Create("ObjectValue"){ | |
1145 | Name = "creator", | |
1146 | Value = game:service("Players").LocalPlayer, | |
1147 | Parent = h, | |
1148 | } | |
1149 | game:GetService("Debris"):AddItem(c, .5) | |
1150 | if HitSound ~= nil and HitPitch ~= nil then | |
1151 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
1152 | end | |
1153 | local Damage = math.random(minim, maxim) | |
1154 | local blocked = false | |
1155 | local block = hit.Parent:findFirstChild("Block") | |
1156 | if block ~= nil then | |
1157 | if block.className == "IntValue" then | |
1158 | if block.Value > 0 then | |
1159 | blocked = true | |
1160 | block.Value = block.Value - 1 | |
1161 | print(block.Value) | |
1162 | end | |
1163 | end | |
1164 | end | |
1165 | if blocked == false then | |
1166 | h.Health = h.Health - Damage | |
1167 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
1168 | else | |
1169 | h.Health = h.Health - (Damage / 2) | |
1170 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
1171 | end | |
1172 | if Type == "Knockdown" then | |
1173 | local hum = hit.Parent.Humanoid | |
1174 | hum.PlatformStand = true | |
1175 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1176 | swait(1) | |
1177 | HHumanoid.PlatformStand = false | |
1178 | end), hum) | |
1179 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
1180 | local bodvol = Create("BodyVelocity"){ | |
1181 | velocity = angle * knockback, | |
1182 | P = 5000, | |
1183 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1184 | Parent = hit, | |
1185 | } | |
1186 | local rl = Create("BodyAngularVelocity"){ | |
1187 | P = 3000, | |
1188 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
1189 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
1190 | Parent = hit, | |
1191 | } | |
1192 | game:GetService("Debris"):AddItem(bodvol, .5) | |
1193 | game:GetService("Debris"):AddItem(rl, .5) | |
1194 | elseif Type == "Normal" then | |
1195 | local vp = Create("BodyVelocity"){ | |
1196 | P = 500, | |
1197 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
1198 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
1199 | } | |
1200 | if knockback > 0 then | |
1201 | vp.Parent = hit.Parent.Torso | |
1202 | end | |
1203 | game:GetService("Debris"):AddItem(vp, .5) | |
1204 | elseif Type == "Up" then | |
1205 | local bodyVelocity = Create("BodyVelocity"){ | |
1206 | velocity = Vector3.new(0, 20, 0), | |
1207 | P = 5000, | |
1208 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1209 | Parent = hit, | |
1210 | } | |
1211 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
1212 | elseif Type == "DarkUp" then | |
1213 | coroutine.resume(coroutine.create(function() | |
1214 | for i = 0, 1, 0.1 do | |
1215 | swait() | |
1216 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
1217 | end | |
1218 | end)) | |
1219 | local bodyVelocity = Create("BodyVelocity"){ | |
1220 | velocity = Vector3.new(0, 20, 0), | |
1221 | P = 5000, | |
1222 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
1223 | Parent = hit, | |
1224 | } | |
1225 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
1226 | elseif Type == "Snare" then | |
1227 | local bp = Create("BodyPosition"){ | |
1228 | P = 2000, | |
1229 | D = 100, | |
1230 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1231 | position = hit.Parent.Torso.Position, | |
1232 | Parent = hit.Parent.Torso, | |
1233 | } | |
1234 | game:GetService("Debris"):AddItem(bp, 1) | |
1235 | elseif Type == "Freeze" then | |
1236 | local BodPos = Create("BodyPosition"){ | |
1237 | P = 50000, | |
1238 | D = 1000, | |
1239 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
1240 | position = hit.Parent.Torso.Position, | |
1241 | Parent = hit.Parent.Torso, | |
1242 | } | |
1243 | local BodGy = Create("BodyGyro") { | |
1244 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
1245 | P = 20e+003, | |
1246 | Parent = hit.Parent.Torso, | |
1247 | cframe = hit.Parent.Torso.CFrame, | |
1248 | } | |
1249 | hit.Parent.Torso.Anchored = true | |
1250 | coroutine.resume(coroutine.create(function(Part) | |
1251 | swait(1.5) | |
1252 | Part.Anchored = false | |
1253 | end), hit.Parent.Torso) | |
1254 | game:GetService("Debris"):AddItem(BodPos, 3) | |
1255 | game:GetService("Debris"):AddItem(BodGy, 3) | |
1256 | end | |
1257 | local debounce = Create("BoolValue"){ | |
1258 | Name = "DebounceHit", | |
1259 | Parent = hit.Parent, | |
1260 | Value = true, | |
1261 | } | |
1262 | game:GetService("Debris"):AddItem(debounce, Delay) | |
1263 | c = Create("ObjectValue"){ | |
1264 | Name = "creator", | |
1265 | Value = p, | |
1266 | Parent = h, | |
1267 | } | |
1268 | game:GetService("Debris"):AddItem(c, .5) | |
1269 | end | |
1270 | end | |
1271 | ||
1272 | function ShowDamage(Pos, Text, Time, Color) | |
1273 | local Rate = (1 / 30) | |
1274 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
1275 | local Text = (Text or "") | |
1276 | local Time = (Time or 2) | |
1277 | local Color = (Color or Color3.new(1, 0, 1)) | |
1278 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
1279 | EffectPart.Anchored = true | |
1280 | local BillboardGui = Create("BillboardGui"){ | |
1281 | Size = UDim2.new(3, 0, 3, 0), | |
1282 | Adornee = EffectPart, | |
1283 | Parent = EffectPart, | |
1284 | } | |
1285 | local TextLabel = Create("TextLabel"){ | |
1286 | BackgroundTransparency = 1, | |
1287 | Size = UDim2.new(1, 0, 1, 0), | |
1288 | Text = Text, | |
1289 | Font = "SciFi", | |
1290 | TextColor3 = Color, | |
1291 | TextScaled = true, | |
1292 | Parent = BillboardGui, | |
1293 | } | |
1294 | game.Debris:AddItem(EffectPart, (Time)) | |
1295 | EffectPart.Parent = game:GetService("Workspace") | |
1296 | delay(0, function() | |
1297 | local Frames = (Time / Rate) | |
1298 | for Frame = 1, Frames do | |
1299 | wait(Rate) | |
1300 | local Percent = (Frame / Frames) | |
1301 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1302 | TextLabel.TextTransparency = Percent | |
1303 | end | |
1304 | if EffectPart and EffectPart.Parent then | |
1305 | EffectPart:Destroy() | |
1306 | end | |
1307 | end) | |
1308 | end | |
1309 | ||
1310 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1311 | for _, c in pairs(workspace:children()) do | |
1312 | local hum = c:findFirstChild("Humanoid") | |
1313 | if hum ~= nil then | |
1314 | local head = c:findFirstChild("Torso") | |
1315 | if head ~= nil then | |
1316 | local targ = head.Position - Part.Position | |
1317 | local mag = targ.magnitude | |
1318 | if mag <= Magnitude and c.Name ~= p.Name then | |
1319 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, root, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1320 | end | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | end | |
1325 | ||
1326 | ||
1327 | ||
1328 | ||
1329 | ||
1330 | ||
1331 | ||
1332 | ||
1333 | ||
1334 | ||
1335 | ||
1336 | SkyBeam = function() | |
1337 | ||
1338 | attack = true | |
1339 | ||
1340 | local sbs = Instance.new("BodyPosition", root) | |
1341 | sbs.P = 3000 | |
1342 | sbs.D = 1000 | |
1343 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
1344 | sbs.position = root.CFrame.p + Vector3.new(0, 100, 0) | |
1345 | ||
1346 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=159882578", Character, 5, 0.75) | |
1347 | wait(2) | |
1348 | CFuncs.Sound.Create("rbxassetid://215395388", Character, 11, 0.85) | |
1349 | local seen = Instance.new("Sound",Character) | |
1350 | seen.SoundId = "rbxassetid://445796828" | |
1351 | seen.Pitch = 0.75 | |
1352 | seen.Volume = 3.8 | |
1353 | seen.Looped = true | |
1354 | seen:Play() | |
1355 | CFuncs.Sound.Create("rbxassetid://289315275", Character, 3.8, 0.75) | |
1356 | bb = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Black", "hot", Vector3.new()) | |
1357 | bb.Anchored=true | |
1358 | bb.CFrame=CFrame.new(Torso.Position) * CFrame.Angles(0, 0, 1.57) | |
1359 | msh = CFuncs.Mesh.Create("SpecialMesh", bb, "Cylinder", "", Vector3.new(0, 0, 0), Vector3.new(1000000, 10, 10)) | |
1360 | sp = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Really black", "hot", Vector3.new()) | |
1361 | sp.Anchored=true | |
1362 | ||
1363 | sp2 = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, "Really black", "hot", Vector3.new()) | |
1364 | sp2.Anchored=true | |
1365 | ||
1366 | dang = CFuncs.Mesh.Create("SpecialMesh", sp, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(10, 10, 10)) | |
1367 | ref = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "White", "Reference", Vector3.new()) | |
1368 | ref.Anchored=true | |
1369 | cf=CFrame.new | |
1370 | vt=Vector3.new | |
1371 | local TheHit = root.Position + vt(0, -1, 0) | |
1372 | local MouseLook = cf((root.Position + TheHit) / 2, TheHit) | |
1373 | local hit, pos = rayCast(root.Position, MouseLook.lookVector, 999, Character) | |
1374 | local mag = (root.Position - pos).magnitude | |
1375 | ref.CFrame = CFrame.new(pos) | |
1376 | for i = 0, 450 do | |
1377 | swait() | |
1378 | ref.CFrame = CFrame.new(pos) | |
1379 | if ref.CFrame ~= CFrame.new(pos) then | |
1380 | ref.CFrame = CFrame.new(pos) | |
1381 | else | |
1382 | ref.CFrame = CFrame.new(pos) | |
1383 | end | |
1384 | MagnitudeDamage(ref, 150, 999, 999999, 7, "Normal", "0", 1) | |
1385 | bb.Position = Torso.Position + Vector3.new(math.random(-1, 1), 0, math.random(-1, 1)) | |
1386 | bb.Transparency=bb.Transparency+0.0025 | |
1387 | msh.Scale = msh.Scale:lerp(Vector3.new(1000000, 500, 500),.025) | |
1388 | sp.Position = ref.Position + vt(math.random(-1, 1), 0, math.random(-1, 1)) | |
1389 | sp.Transparency = sp.Transparency+0.0025 | |
1390 | sp2.Position = ref.Position + vt(math.random(-4, 4), 0, math.random(-4, 4)) | |
1391 | sp2.Transparency = sp.Transparency+0.0025 | |
1392 | dang.Scale = dang.Scale:lerp(Vector3.new(1500, 1500, 1500),.025) | |
1393 | ||
1394 | end | |
1395 | sp:Destroy() | |
1396 | bb:Destroy() | |
1397 | ref:Destroy() | |
1398 | seen:Destroy() | |
1399 | sbs:Destroy() | |
1400 | attack = false | |
1401 | end | |
1402 | ||
1403 | ||
1404 | ||
1405 | ------------------------ | |
1406 | hed.face.Texture = "rbxassetid://58820113" | |
1407 | ||
1408 | char["Body Colors"].TorsoColor = BrickColor.new("Really red") | |
1409 | char["Body Colors"].LeftArmColor = BrickColor.new("Really black") | |
1410 | char["Body Colors"].RightArmColor = BrickColor.new("Really black") | |
1411 | ---------------------------------------------------- | |
1412 | ||
1413 | ------------ | |
1414 | ypcall(function() | |
1415 | char.Shirt:Destroy() | |
1416 | char.Pants:Destroy() | |
1417 | shirt = Instance.new("Shirt", char) | |
1418 | shirt.Name = "Shirt" | |
1419 | pants = Instance.new("Pants", char) | |
1420 | pants.Name = "Pants" | |
1421 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=166273878" | |
1422 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=166273938" | |
1423 | end) | |
1424 | ---------------------------------------------------- | |
1425 | local Transforming = true | |
1426 | hum.WalkSpeed = 0 | |
1427 | local fx = Instance.new("Part",torso) | |
1428 | wit = torso.BrickColor.Color | |
1429 | wit2 = Color3.new(0,0,0) | |
1430 | local glowz = Instance.new("ParticleEmitter",fx) | |
1431 | glowz.LightEmission = 1 | |
1432 | glowz.Texture = "rbxassetid://284205403" | |
1433 | glowz.Color = ColorSequence.new(wit) | |
1434 | glowz.Size = NumberSequence.new(5) | |
1435 | glowz.Speed = NumberRange.new(25,50) | |
1436 | glowz.LockedToPart = false | |
1437 | glowz.Transparency = NumberSequence.new(0.75) | |
1438 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1439 | glowz.Lifetime = NumberRange.new(1) | |
1440 | glowz.Rate = 50000 | |
1441 | glowz.VelocitySpread = 9001 | |
1442 | fx.Anchored = true | |
1443 | fx.Material = "Neon" | |
1444 | fx.CanCollide = false | |
1445 | fx.Locked = true | |
1446 | fx.Transparency = 1 | |
1447 | fx.Material = "Neon" | |
1448 | fx.Size = Vector3.new(1,1,1) | |
1449 | fx.TopSurface = "SmoothNoOutlines" | |
1450 | fx.BottomSurface = "SmoothNoOutlines" | |
1451 | fx.BrickColor = BrickColor.new("Really black") | |
1452 | fxm = Instance.new("SpecialMesh",fx) | |
1453 | fxm.MeshType = "Sphere" | |
1454 | local sa2 = Instance.new("Sound",torso) | |
1455 | sa2.SoundId = "rbxassetid://93724183" | |
1456 | sa2.Pitch = 0.5 | |
1457 | sa2.Volume = 5 | |
1458 | sa2.Looped = false | |
1459 | sa2:Play() | |
1460 | local value = 1 | |
1461 | fxm.Scale = Vector3.new(1,1,1) | |
1462 | for i = 1, 20 do rs:wait() | |
1463 | value = value - 0.05 | |
1464 | fx.Transparency = fx.Transparency - (1/20) | |
1465 | fx.CFrame = torso.CFrame | |
1466 | fxm.Scale = fxm.Scale + Vector3.new(value,value,value) | |
1467 | rs:wait() | |
1468 | end | |
1469 | ---------------------------------------------------- | |
1470 | GroundWave1 = function() | |
1471 | local Transforming = true | |
1472 | hum.WalkSpeed = 0 | |
1473 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1474 | local Colors = {"White", "Really black"} | |
1475 | local wave = Instance.new("Part", torso) | |
1476 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1477 | wave.Anchored = true | |
1478 | wave.CanCollide = false | |
1479 | wave.Locked = true | |
1480 | wave.Size = Vector3.new(1, 1, 1) | |
1481 | wave.TopSurface = "Smooth" | |
1482 | wave.BottomSurface = "Smooth" | |
1483 | wave.Transparency = 0.35 | |
1484 | wave.CFrame = HandCF | |
1485 | wm = Instance.new("SpecialMesh", wave) | |
1486 | wm.MeshId = "rbxassetid://3270017" | |
1487 | coroutine.wrap(function() | |
1488 | for i = 1, 30, 1 do | |
1489 | wm.Scale = Vector3.new(50, 50, 1 + i*50) | |
1490 | wave.Size = wm.Scale | |
1491 | wave.CFrame = HandCF | |
1492 | wave.Transparency = i/30 | |
1493 | wait() | |
1494 | end | |
1495 | wait() | |
1496 | wave:Destroy() | |
1497 | end)() | |
1498 | end | |
1499 | ---------------------------------------------------- | |
1500 | GroundWave = function() | |
1501 | if Transforming == true then | |
1502 | local value = 5 | |
1503 | local value2 = 10 | |
1504 | local value3 = 20 | |
1505 | local sa2 = Instance.new("Sound",torso) | |
1506 | sa2.SoundId = "rbxassetid://413682983" | |
1507 | sa2.Pitch = 1 | |
1508 | sa2.Volume = 10 | |
1509 | sa2.Looped = false | |
1510 | sa2:Play() | |
1511 | local wave = Instance.new("Part", torso) | |
1512 | local glowz = Instance.new("ParticleEmitter",wave) | |
1513 | glowz.LightEmission = 1 | |
1514 | glowz.Texture = "0" | |
1515 | glowz.Color = ColorSequence.new(wit) | |
1516 | glowz.Size = NumberSequence.new(30) | |
1517 | glowz.Speed = NumberRange.new(25,100) | |
1518 | glowz.LockedToPart = false | |
1519 | glowz.Transparency = NumberSequence.new(0.75) | |
1520 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1521 | glowz.Lifetime = NumberRange.new(1) | |
1522 | glowz.Rate = 50000 | |
1523 | glowz.VelocitySpread = 9001 | |
1524 | ||
1525 | wave.BrickColor = BrickColor.new("Really red") | |
1526 | wave.Anchored = true | |
1527 | wave.CanCollide = false | |
1528 | wave.Locked = true | |
1529 | wave.Size = Vector3.new(1, 1, 1) | |
1530 | wave.TopSurface = "Smooth" | |
1531 | wave.BottomSurface = "Smooth" | |
1532 | wave.Transparency = 0.35 | |
1533 | wave.CFrame = fx.CFrame | |
1534 | wave.Material = "Neon" | |
1535 | wm = Instance.new("SpecialMesh", wave) | |
1536 | wm.MeshType = "Sphere" | |
1537 | wm.Scale = Vector3.new(1,1,1) | |
1538 | local wave2 = Instance.new("Part", torso) | |
1539 | wave2.BrickColor = BrickColor.new("Really red") | |
1540 | wave2.Anchored = true | |
1541 | wave2.CanCollide = false | |
1542 | wave2.Locked = true | |
1543 | wave2.Size = Vector3.new(1, 1, 1) | |
1544 | wave2.TopSurface = "Smooth" | |
1545 | wave2.BottomSurface = "Smooth" | |
1546 | wave2.Transparency = 0.35 | |
1547 | wave2.CFrame = fx.CFrame | |
1548 | wave2.Material = "Neon" | |
1549 | wm2 = Instance.new("SpecialMesh", wave2) | |
1550 | wm2.MeshType = "FileMesh" | |
1551 | wm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1552 | wm2.Scale = Vector3.new(1,1,1) | |
1553 | local wave3 = Instance.new("Part", torso) | |
1554 | wave3.BrickColor = BrickColor.new("Really black") | |
1555 | wave3.Anchored = true | |
1556 | wave3.CanCollide = false | |
1557 | wave3.Locked = true | |
1558 | wave3.Size = Vector3.new(1, 1, 1) | |
1559 | wave3.TopSurface = "Smooth" | |
1560 | wave3.BottomSurface = "Smooth" | |
1561 | wave3.Transparency = 0.35 | |
1562 | wave3.CFrame = fx.CFrame | |
1563 | wave3.Material = "Neon" | |
1564 | wm3 = Instance.new("SpecialMesh", wave3) | |
1565 | wm3.MeshType = "FileMesh" | |
1566 | wm3.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1567 | wm3.Scale = Vector3.new(1,1,1) | |
1568 | coroutine.wrap(function() | |
1569 | for i = 1, 18, 1 do | |
1570 | value = value - 0.5 | |
1571 | value2 = value2 - 0.75*1.5 | |
1572 | value3 = value3 - 0.475*1.5 | |
1573 | wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5) | |
1574 | wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5) | |
1575 | wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25) | |
1576 | --wave.Size = wm.Scale | |
1577 | wave.CFrame = fx.CFrame | |
1578 | wave.Transparency = i/14 | |
1579 | --wave2.Size = wm2.Scale | |
1580 | wave2.CFrame = fx.CFrame | |
1581 | wave2.Rotation = Vector3.new(90, 0, 0) | |
1582 | wave2.Transparency = i/14 | |
1583 | --wave3.Size = wm3.Scale | |
1584 | wave3.CFrame = fx.CFrame | |
1585 | wave3.Rotation = Vector3.new(90, 0, 0) | |
1586 | wave3.Transparency = i/14 | |
1587 | wait() | |
1588 | glowz.Rate = 0 | |
1589 | ||
1590 | end | |
1591 | wait() | |
1592 | wave:Destroy() | |
1593 | wave2:Destroy() | |
1594 | wave3:Destroy() | |
1595 | end)() | |
1596 | elseif Transforming == false then | |
1597 | wait() | |
1598 | end | |
1599 | end | |
1600 | ||
1601 | for i = 1, 100 do rs:wait() | |
1602 | fx.CFrame = torso.CFrame | |
1603 | end | |
1604 | ||
1605 | Spawn(function() | |
1606 | while wait(1) do | |
1607 | GroundWave() | |
1608 | end | |
1609 | end) | |
1610 | ||
1611 | wait(4) | |
1612 | ||
1613 | Transforming = false | |
1614 | ||
1615 | local value2 = 1 | |
1616 | for i = 1, 20 do rs:wait() | |
1617 | value2 = value2 - 0.05 | |
1618 | glowz.Rate = 0 | |
1619 | ||
1620 | fx.Transparency = fx.Transparency + (1/20) | |
1621 | fx.CFrame = torso.CFrame | |
1622 | fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2) | |
1623 | rs:wait() | |
1624 | end | |
1625 | glowz:Destroy() | |
1626 | ||
1627 | ||
1628 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1629 | local valuer = 5 | |
1630 | local valuer2 = 10 | |
1631 | local valuer3 = 15 | |
1632 | local sa2 = Instance.new("Sound",torso) | |
1633 | sa2.SoundId = "rbxassetid://130972023" | |
1634 | sa2.Pitch = 1 | |
1635 | sa2.Volume = 5 | |
1636 | sa2.Looped = false | |
1637 | sa2:Play() | |
1638 | local sar2 = Instance.new("Sound",torso) | |
1639 | sar2.SoundId = "rbxassetid://153274423" | |
1640 | sar2.Pitch = 1 | |
1641 | sar2.Volume = 5 | |
1642 | sar2.Looped = false | |
1643 | sar2:Play() | |
1644 | local wave = Instance.new("Part", torso) | |
1645 | wave.BrickColor = BrickColor.new("Really red") | |
1646 | wave.Anchored = true | |
1647 | wave.CanCollide = false | |
1648 | wave.Locked = true | |
1649 | wave.Size = Vector3.new(1, 1, 1) | |
1650 | wave.TopSurface = "Smooth" | |
1651 | wave.BottomSurface = "Smooth" | |
1652 | wave.Transparency = 0.35 | |
1653 | wave.CFrame = HandCF | |
1654 | wm = Instance.new("SpecialMesh", wave) | |
1655 | wm.MeshId = "rbxassetid://3270017" | |
1656 | local wave2 = Instance.new("Part", torso) | |
1657 | wave2.BrickColor = BrickColor.new("Really black") | |
1658 | wave2.Anchored = true | |
1659 | wave2.CanCollide = false | |
1660 | wave2.Locked = true | |
1661 | wave2.Size = Vector3.new(1, 1, 1) | |
1662 | wave2.TopSurface = "Smooth" | |
1663 | wave2.BottomSurface = "Smooth" | |
1664 | wave2.Transparency = 0.35 | |
1665 | wave2.CFrame = HandCF | |
1666 | wm2 = Instance.new("SpecialMesh", wave2) | |
1667 | wm2.MeshId = "rbxassetid://3270017" | |
1668 | local wave3 = Instance.new("Part", torso) | |
1669 | wave3.BrickColor = BrickColor.new("Really red") | |
1670 | wave3.Anchored = true | |
1671 | wave3.CanCollide = false | |
1672 | wave3.Locked = true | |
1673 | wave3.Size = Vector3.new(1, 1, 1) | |
1674 | wave3.TopSurface = "Smooth" | |
1675 | wave3.BottomSurface = "Smooth" | |
1676 | wave3.Transparency = 0.35 | |
1677 | wave3.CFrame = HandCF | |
1678 | wm3 = Instance.new("SpecialMesh", wave3) | |
1679 | wm3.MeshId = "rbxassetid://3270017" | |
1680 | coroutine.wrap(function() | |
1681 | for i = 1, 14, 1 do | |
1682 | valuer = valuer - 0.35 | |
1683 | valuer2 = valuer - 0.45 | |
1684 | valuer3 = valuer3 - 0.475 | |
1685 | wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200) | |
1686 | wave.Size = wm.Scale | |
1687 | wave.CFrame = HandCF | |
1688 | wave.Transparency = i/14 | |
1689 | wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10) | |
1690 | wave2.Size = wm2.Scale | |
1691 | wave2.CFrame = HandCF | |
1692 | wave2.Transparency = i/14 | |
1693 | wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1) | |
1694 | wave3.Size = wm2.Scale | |
1695 | wave3.CFrame = HandCF | |
1696 | wave3.Transparency = i/14 | |
1697 | wait() | |
1698 | end | |
1699 | wait() | |
1700 | wave:Destroy() | |
1701 | wave2:Destroy() | |
1702 | end)() | |
1703 | hum.WalkSpeed = 16 | |
1704 | ----------------- | |
1705 | function lerp(a, b, t) -- Linear interpolation | |
1706 | return a + (b - a)*t | |
1707 | end | |
1708 | ||
1709 | function slerp(a, b, t) --Spherical interpolation | |
1710 | dot = a:Dot(b) | |
1711 | if dot > 0.99999 or dot < -0.99999 then | |
1712 | return t <= 0.5 and a or b | |
1713 | else | |
1714 | r = math.acos(dot) | |
1715 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
1716 | end | |
1717 | end | |
1718 | ||
1719 | function matrixInterpolate(a, b, t) | |
1720 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
1721 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
1722 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
1723 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
1724 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
1725 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
1726 | local t = v1:Dot(v2) | |
1727 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
1728 | return CFrame.new() | |
1729 | end | |
1730 | return CFrame.new( | |
1731 | v0.x, v0.y, v0.z, | |
1732 | v1.x, v1.y, v1.z, | |
1733 | v2.x, v2.y, v2.z, | |
1734 | v3.x, v3.y, v3.z) | |
1735 | end | |
1736 | ---------------------------------------------------- | |
1737 | function genWeld(a,b) | |
1738 | local w = Instance.new("Weld",a) | |
1739 | w.Part0 = a | |
1740 | w.Part1 = b | |
1741 | return w | |
1742 | end | |
1743 | function weld(a, b) | |
1744 | local weld = Instance.new("Weld") | |
1745 | weld.Name = "W" | |
1746 | weld.Part0 = a | |
1747 | weld.Part1 = b | |
1748 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
1749 | weld.Parent = a | |
1750 | return weld; | |
1751 | end | |
1752 | ---------------------------------------------------- | |
1753 | function Lerp(c1,c2,al) | |
1754 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
1755 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
1756 | for i,v in pairs(com1) do | |
1757 | com1[i] = v+(com2[i]-v)*al | |
1758 | end | |
1759 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
1760 | end | |
1761 | ---------------------------------------------------- | |
1762 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
1763 | local wld = Instance.new("Weld", wp1) | |
1764 | wld.Part0 = wp0 | |
1765 | wld.Part1 = wp1 | |
1766 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
1767 | end | |
1768 | ---------------------------------------------------- | |
1769 | function weld5(part0, part1, c0, c1) | |
1770 | weeld=Instance.new("Weld", part0) | |
1771 | weeld.Part0=part0 | |
1772 | weeld.Part1=part1 | |
1773 | weeld.C0=c0 | |
1774 | weeld.C1=c1 | |
1775 | return weeld | |
1776 | end | |
1777 | ---------------------------------------------------- | |
1778 | function HasntTouched(plrname) | |
1779 | local ret = true | |
1780 | for _, v in pairs(Touche) do | |
1781 | if v == plrname then | |
1782 | ret = false | |
1783 | end | |
1784 | end | |
1785 | return ret | |
1786 | end | |
1787 | ---------------------------------------------------- | |
1788 | newWeld(torso, larm, -1.5, 0.5, 0) | |
1789 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1790 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
1791 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
1792 | newWeld(torso, hed, 0, 1.5, 0) | |
1793 | newWeld(torso, lleg, -0.5, -1, 0) | |
1794 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1795 | newWeld(torso, rleg, 0.5, -1, 0) | |
1796 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
1797 | newWeld(root, torso, 0, -1, 0) | |
1798 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1799 | ---------------------------------------------------- | |
1800 | z = Instance.new("Sound", char) | |
1801 | z.SoundId = "rbxassetid://301657013" | |
1802 | z.Looped = true | |
1803 | z.Pitch = 1 | |
1804 | z.Volume = 2 | |
1805 | wait(.1) | |
1806 | z:Play() | |
1807 | ---------------------------------------------------- | |
1808 | ------------------------------------------------------------------------------------------------- | |
1809 | ---------------------------------------------------- | |
1810 | ---------------------------------------------------- | |
1811 | ||
1812 | ||
1813 | ---------------------------------------------------- | |
1814 | ||
1815 | ||
1816 | ||
1817 | ||
1818 | ---------------------------------------------------- | |
1819 | ||
1820 | local txt = Instance.new("BillboardGui", chr) | |
1821 | txt.Adornee = chr.Head | |
1822 | txt.Name = "_status" | |
1823 | txt.Size = UDim2.new(4, 0, 2.5, 0) | |
1824 | txt.StudsOffset = Vector3.new(-4, 2, 0) | |
1825 | local text = Instance.new("TextLabel", txt) | |
1826 | text.Size = UDim2.new(3, 0, 0.5, 0) | |
1827 | text.FontSize = "Size24" | |
1828 | text.TextScaled = true | |
1829 | text.TextTransparency = 0 | |
1830 | text.BackgroundTransparency = 1 | |
1831 | text.TextTransparency = 0 | |
1832 | text.TextStrokeTransparency = 0 | |
1833 | text.Font = "Cartoon" | |
1834 | text.TextStrokeColor3 = Color3.new(1,1,1) | |
1835 | text.Text = "Death Claw." | |
1836 | ---------------------------------------------------- | |
1837 | paly = game.Players.LocalPlayer | |
1838 | p = game.Players.LocalPlayer | |
1839 | char = paly.Character | |
1840 | vt = Vector3.new | |
1841 | rarm = char["Right Arm"] | |
1842 | larm = char["Left Arm"] | |
1843 | local maincolor = char.Torso.BrickColor | |
1844 | ||
1845 | local orb = Instance.new("Part") | |
1846 | orb.Parent = char | |
1847 | orb.Size = Vector3.new(0.2, 0.2, 0.2) | |
1848 | orb.Archivable = true | |
1849 | orb.Transparency = 1 | |
1850 | orb.BrickColor = maincolor | |
1851 | orb.Material = "Neon" | |
1852 | orb.CanCollide = false | |
1853 | local weld1 = Instance.new("Weld") | |
1854 | weld1.Parent = rarm | |
1855 | weld1.Part0 = rarm | |
1856 | weld1.Part1 = orb | |
1857 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
1858 | local pt1 = NumberSequenceKeypoint.new(0,0.85,0) | |
1859 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
1860 | local effecto = Instance.new("ParticleEmitter",orb) | |
1861 | effecto.LightEmission = 1 | |
1862 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1863 | effecto.Color = ColorSequence.new(maincolor.Color) | |
1864 | effecto.Rate = 10000 | |
1865 | effecto.Lifetime = NumberRange.new(1) | |
1866 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
1867 | effecto.Speed = NumberRange.new(0,0) | |
1868 | effecto.RotSpeed = NumberRange.new(100,100) | |
1869 | ||
1870 | local orbz = Instance.new("Part") | |
1871 | orbz.Parent = char | |
1872 | orbz.Size = Vector3.new(0.2, 0.2, 0.2) | |
1873 | orbz.Archivable = true | |
1874 | orbz.Transparency = 1 | |
1875 | orbz.BrickColor = maincolor | |
1876 | orbz.Material = "Neon" | |
1877 | orbz.CanCollide = false | |
1878 | local weldz1 = Instance.new("Weld") | |
1879 | weldz1.Parent = larm | |
1880 | weldz1.Part0 = larm | |
1881 | weldz1.Part1 = orbz | |
1882 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
1883 | local effecton = Instance.new("ParticleEmitter",orbz) | |
1884 | effecton.LightEmission = 1 | |
1885 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
1886 | effecton.Color = ColorSequence.new(maincolor.Color) | |
1887 | effecton.Rate = 10000 | |
1888 | effecton.Lifetime = NumberRange.new(1) | |
1889 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
1890 | effecton.Speed = NumberRange.new(0,0) | |
1891 | effecton.RotSpeed = NumberRange.new(100,100) | |
1892 | ---------------------------------------------------- | |
1893 | Blast = function() | |
1894 | local Colors = {"Really red", "Really black"} | |
1895 | local wave = Instance.new("Part", torso) | |
1896 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1897 | wave.Anchored = true | |
1898 | wave.CanCollide = false | |
1899 | wave.Locked = true | |
1900 | wave.Size = Vector3.new(1, 1, 1) | |
1901 | wave.TopSurface = "Smooth" | |
1902 | wave.BottomSurface = "Smooth" | |
1903 | wave.Transparency = 0.35 | |
1904 | wave.CFrame = rarm.CFrame | |
1905 | wm = Instance.new("SpecialMesh", wave) | |
1906 | wm.MeshType = "Sphere" | |
1907 | wm.Scale = Vector3.new(1,1,1) | |
1908 | z = Instance.new("Sound",wave) | |
1909 | z.SoundId = "rbxassetid://237035051" | |
1910 | z.Volume = 1 | |
1911 | z.Pitch = .9 | |
1912 | z:Play() | |
1913 | coroutine.wrap(function() | |
1914 | for i = 1, 30, 1 do | |
1915 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1916 | --wave.Size = wm.Scale | |
1917 | wave.CFrame = rarm.CFrame | |
1918 | wave.Transparency = (1/14) | |
1919 | rs:wait() | |
1920 | end | |
1921 | rs:wait() | |
1922 | wave:Destroy() | |
1923 | z:Destroy() | |
1924 | end)() | |
1925 | end | |
1926 | ---------------------------------------------------- | |
1927 | rarm.Touched:connect(function(ht) | |
1928 | hit = ht.Parent | |
1929 | if ht and hit:IsA("Model") then | |
1930 | if hit:FindFirstChild("Humanoid") then | |
1931 | if hit.Name ~= p.Name then | |
1932 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1933 | Debounces.RPunched = true | |
1934 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,15)) | |
1935 | if Debounces.ks==true then | |
1936 | z = Instance.new("Sound",hed) | |
1937 | z.SoundId = "rbxassetid://169380525" | |
1938 | z.Pitch = ptz[math.random(1,#ptz)] | |
1939 | z.Volume = 1 | |
1940 | z:Play() | |
1941 | end | |
1942 | wait(.2) | |
1943 | Debounces.RPunched = false | |
1944 | end | |
1945 | end | |
1946 | end | |
1947 | elseif ht and hit:IsA("Hat") then | |
1948 | if hit.Parent.Name ~= p.Name then | |
1949 | if hit.Parent:FindFirstChild("Humanoid") then | |
1950 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1951 | Debounces.RPunched = true | |
1952 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,15)) | |
1953 | if Debounces.ks==true then | |
1954 | z = Instance.new("Sound",hed) | |
1955 | z.SoundId = "rbxassetid://169380525" | |
1956 | z.Pitch = ptz[math.random(1,#ptz)] | |
1957 | z.Volume = 1 | |
1958 | z:Play() | |
1959 | end | |
1960 | wait(.2) | |
1961 | Debounces.RPunched = false | |
1962 | end | |
1963 | end | |
1964 | end | |
1965 | end | |
1966 | end) | |
1967 | larm.Touched:connect(function(ht) | |
1968 | hit = ht.Parent | |
1969 | if ht and hit:IsA("Model") then | |
1970 | if hit:FindFirstChild("Humanoid") then | |
1971 | if hit.Name ~= p.Name then | |
1972 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1973 | Debounces.LPunched = true | |
1974 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,15)) | |
1975 | if Debounces.ks2==true then | |
1976 | z = Instance.new("Sound",hed) | |
1977 | z.SoundId = "rbxassetid://169380525" | |
1978 | z.Pitch = ptz[math.random(1,#ptz)] | |
1979 | z.Volume = 1 | |
1980 | z:Play() | |
1981 | end | |
1982 | wait(.2) | |
1983 | Debounces.LPunched = false | |
1984 | end | |
1985 | end | |
1986 | end | |
1987 | elseif ht and hit:IsA("Hat") then | |
1988 | if hit.Parent.Name ~= p.Name then | |
1989 | if hit.Parent:FindFirstChild("Humanoid") then | |
1990 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1991 | Debounces.LPunched = true | |
1992 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,15)) | |
1993 | if Debounces.ks2==true then | |
1994 | z = Instance.new("Sound",hed) | |
1995 | z.SoundId = "rbxassetid://169380525" | |
1996 | z.Pitch = ptz[math.random(1,#ptz)] | |
1997 | z.Volume = 1 | |
1998 | z:Play() | |
1999 | end | |
2000 | wait(.2) | |
2001 | Debounces.LPunched = false | |
2002 | end | |
2003 | end | |
2004 | end | |
2005 | end | |
2006 | end) | |
2007 | ---------------------------------------------------- | |
2008 | mod4 = Instance.new("Model",char) | |
2009 | ||
2010 | ptez = {0.7, 0.8, 0.9, 1} | |
2011 | ||
2012 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2013 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2014 | local List = {} | |
2015 | for i,v in pairs(workspace:GetChildren())do | |
2016 | if v:IsA("Model")then | |
2017 | if v:findFirstChild("Torso")then | |
2018 | if v ~= char then | |
2019 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2020 | table.insert(List,v) | |
2021 | end | |
2022 | end | |
2023 | end | |
2024 | end | |
2025 | end | |
2026 | return List | |
2027 | end | |
2028 | ||
2029 | function Punch() | |
2030 | part=Instance.new('Part',mod4) | |
2031 | part.Anchored=true | |
2032 | part.CanCollide=false | |
2033 | part.FormFactor='Custom' | |
2034 | part.Size=Vector3.new(.2,.2,.2) | |
2035 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
2036 | part.Transparency=.7 | |
2037 | part.BrickColor=BrickColor.new('Really red') | |
2038 | mesh=Instance.new('SpecialMesh',part) | |
2039 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
2040 | mesh.Scale=Vector3.new(3,3,3) | |
2041 | part2=Instance.new('Part',mod4) | |
2042 | part2.Anchored=true | |
2043 | part2.CanCollide=false | |
2044 | part2.FormFactor='Custom' | |
2045 | part2.Size=Vector3.new(.2,.2,.2) | |
2046 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
2047 | part2.Transparency=.7 | |
2048 | part2.BrickColor=BrickColor.new('Really red') | |
2049 | mesh2=Instance.new('SpecialMesh',part2) | |
2050 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2051 | mesh2.Scale=Vector3.new(3,1.5,3) | |
2052 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
2053 | if v:FindFirstChild('Humanoid') then | |
2054 | v.Humanoid:TakeDamage(math.random(3,8)) | |
2055 | end | |
2056 | end | |
2057 | coroutine.resume(coroutine.create(function() | |
2058 | for i=0,0.62,0.4 do | |
2059 | wait() | |
2060 | part.CFrame=part.CFrame | |
2061 | part.Transparency=i | |
2062 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
2063 | part2.CFrame=part2.CFrame | |
2064 | part2.Transparency=i | |
2065 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
2066 | end | |
2067 | part.Parent=nil | |
2068 | part2.Parent=nil | |
2069 | end)) | |
2070 | end | |
2071 | ---------------------------------------------------- | |
2072 | rarm.Touched:connect(function(ht) | |
2073 | hit = ht.Parent | |
2074 | if ht and hit:IsA("Model") then | |
2075 | if hit:FindFirstChild("Humanoid") then | |
2076 | if hit.Name ~= p.Name then | |
2077 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2078 | Debounces.RPunched = true | |
2079 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(7,9)) | |
2080 | if Debounces.ks==true then | |
2081 | z = Instance.new("Sound",hed) | |
2082 | z.SoundId = "rbxassetid://169380525" | |
2083 | z.Pitch = ptz[math.random(1,#ptz)] | |
2084 | z.Volume = 1 | |
2085 | z:Play() | |
2086 | end | |
2087 | wait(.2) | |
2088 | Debounces.RPunched = false | |
2089 | end | |
2090 | end | |
2091 | end | |
2092 | elseif ht and hit:IsA("Hat") then | |
2093 | if hit.Parent.Name ~= p.Name then | |
2094 | if hit.Parent:FindFirstChild("Humanoid") then | |
2095 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
2096 | Debounces.RPunched = true | |
2097 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(7,9)) | |
2098 | if Debounces.ks==true then | |
2099 | z = Instance.new("Sound",hed) | |
2100 | z.SoundId = "rbxassetid://169380525" | |
2101 | z.Pitch = ptz[math.random(1,#ptz)] | |
2102 | z.Volume = 1 | |
2103 | z:Play() | |
2104 | end | |
2105 | wait(.2) | |
2106 | Debounces.RPunched = false | |
2107 | end | |
2108 | end | |
2109 | end | |
2110 | end | |
2111 | end) | |
2112 | larm.Touched:connect(function(ht) | |
2113 | hit = ht.Parent | |
2114 | if ht and hit:IsA("Model") then | |
2115 | if hit:FindFirstChild("Humanoid") then | |
2116 | if hit.Name ~= p.Name then | |
2117 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2118 | Debounces.LPunched = true | |
2119 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(7,10)) | |
2120 | if Debounces.ks2==true then | |
2121 | z = Instance.new("Sound",hed) | |
2122 | z.SoundId = "rbxassetid://169380525" | |
2123 | z.Pitch = ptz[math.random(1,#ptz)] | |
2124 | z.Volume = 1 | |
2125 | z:Play() | |
2126 | end | |
2127 | wait(.2) | |
2128 | Debounces.LPunched = false | |
2129 | end | |
2130 | end | |
2131 | end | |
2132 | elseif ht and hit:IsA("Hat") then | |
2133 | if hit.Parent.Name ~= p.Name then | |
2134 | if hit.Parent:FindFirstChild("Humanoid") then | |
2135 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
2136 | Debounces.LPunched = true | |
2137 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(7,15)) | |
2138 | if Debounces.ks2==true then | |
2139 | z = Instance.new("Sound",hed) | |
2140 | z.SoundId = "rbxassetid://169380525" | |
2141 | z.Pitch = ptz[math.random(1,#ptz)] | |
2142 | z.Volume = 1 | |
2143 | z:Play() | |
2144 | end | |
2145 | wait(.2) | |
2146 | Debounces.LPunched = false | |
2147 | end | |
2148 | end | |
2149 | end | |
2150 | end | |
2151 | end) | |
2152 | ---------------------------------------------------- | |
2153 | local player = game.Players.LocalPlayer | |
2154 | local pchar = player.Character | |
2155 | local mouse = player:GetMouse() | |
2156 | local cam = workspace.CurrentCamera | |
2157 | ||
2158 | local rad = math.rad | |
2159 | ||
2160 | local keysDown = {} | |
2161 | local flySpeed = 0 | |
2162 | local MAX_FLY_SPEED = 150 | |
2163 | ||
2164 | local canFly = false | |
2165 | local flyToggled = false | |
2166 | ||
2167 | local forward, side = 0, 0 | |
2168 | local lastForward, lastSide = 0, 0 | |
2169 | ||
2170 | local floatBP = Instance.new("BodyPosition") | |
2171 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
2172 | local flyBV = Instance.new("BodyVelocity") | |
2173 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2174 | local turnBG = Instance.new("BodyGyro") | |
2175 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
2176 | ||
2177 | mouse.KeyDown:connect(function(key) | |
2178 | keysDown[key] = true | |
2179 | ||
2180 | if key == "f" then | |
2181 | flyToggled = not flyToggled | |
2182 | ||
2183 | if not flyToggled then | |
2184 | stanceToggle = "Normal" | |
2185 | floatBP.Parent = nil | |
2186 | flyBV.Parent = nil | |
2187 | turnBG.Parent = nil | |
2188 | root.Velocity = Vector3.new() | |
2189 | pchar.Humanoid.PlatformStand = false | |
2190 | end | |
2191 | end | |
2192 | ||
2193 | end) | |
2194 | mouse.KeyUp:connect(function(key) | |
2195 | keysDown[key] = nil | |
2196 | end) | |
2197 | ||
2198 | local function updateFly() | |
2199 | ||
2200 | if not flyToggled then return end | |
2201 | ||
2202 | lastForward = forward | |
2203 | lastSide = side | |
2204 | ||
2205 | forward = 0 | |
2206 | side = 0 | |
2207 | ||
2208 | if keysDown.w then | |
2209 | forward = forward + 1 | |
2210 | end | |
2211 | if keysDown.s then | |
2212 | forward = forward - 1 | |
2213 | end | |
2214 | if keysDown.a then | |
2215 | side = side - 1 | |
2216 | end | |
2217 | if keysDown.d then | |
2218 | side = side + 1 | |
2219 | end | |
2220 | ||
2221 | canFly = (forward ~= 0 or side ~= 0) | |
2222 | ||
2223 | if canFly then | |
2224 | stanceToggle = "Floating" | |
2225 | turnBG.Parent = root | |
2226 | floatBP.Parent = nil | |
2227 | flyBV.Parent = root | |
2228 | ||
2229 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
2230 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
2231 | else | |
2232 | floatBP.position = root.Position | |
2233 | floatBP.Parent = root | |
2234 | ||
2235 | flySpeed = flySpeed - 1 | |
2236 | if flySpeed < 0 then flySpeed = 0 end | |
2237 | end | |
2238 | ||
2239 | local camCF = cam.CoordinateFrame | |
2240 | local in_forward = canFly and forward or lastForward | |
2241 | local in_side = canFly and side or lastSide | |
2242 | ||
2243 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
2244 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
2245 | ||
2246 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
2247 | 0) | |
2248 | end | |
2249 | ||
2250 | game:service'RunService'.RenderStepped:connect(function() | |
2251 | if flyToggled then | |
2252 | pchar.Humanoid.PlatformStand = true | |
2253 | end | |
2254 | updateFly() | |
2255 | end) | |
2256 | ------------------------------- | |
2257 | ||
2258 | mouse.KeyDown:connect(function(key) | |
2259 | if key == "x" then | |
2260 | chatfunc("Lets change the time!") | |
2261 | hum.WalkSpeed = 0.01 | |
2262 | if Debounces.CanAttack == true then | |
2263 | Debounces.CanAttack = false | |
2264 | Debounces.NoIdl = true | |
2265 | Debounces.on = true | |
2266 | for i = 1, 30 do | |
2267 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2268 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2269 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2270 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2271 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2272 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2273 | if Debounces.on == false then break end | |
2274 | rs:wait(20) | |
2275 | end | |
2276 | v = Instance.new("Sound") | |
2277 | v.SoundId = "rbxassetid://181384451" | |
2278 | v.Parent = char | |
2279 | v.Looped = false | |
2280 | v.Pitch = 1.1 | |
2281 | v.Volume = 5 | |
2282 | wait(.01) | |
2283 | v:Play() | |
2284 | ||
2285 | if Daytime == true then | |
2286 | Daytime = false | |
2287 | l.TimeOfDay = 00 | |
2288 | else | |
2289 | Daytime = true | |
2290 | l.TimeOfDay = 12 | |
2291 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2292 | end | |
2293 | ||
2294 | local Shockwave = function() | |
2295 | local rng1 = Instance.new("Part", char) | |
2296 | rng1.Anchored = true | |
2297 | rng1.BrickColor = BrickColor.new("Really black") | |
2298 | rng1.CanCollide = false | |
2299 | rng1.FormFactor = 3 | |
2300 | rng1.Name = "Ring" | |
2301 | rng1.Material = "Neon" | |
2302 | rng1.Size = Vector3.new(1, 1, 1) | |
2303 | rng1.Transparency = 0.35 | |
2304 | rng1.TopSurface = 0 | |
2305 | rng1.BottomSurface = 0 | |
2306 | local rngm1 = Instance.new("SpecialMesh", rng) | |
2307 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2308 | rngm1.Scale = Vector3.new(10, 10, 1) | |
2309 | rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0) | |
2310 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2311 | Wave.Name = "Shockwave" | |
2312 | Wave.BrickColor = BrickColor.new("Really black") | |
2313 | Wave.Material = "Neon" | |
2314 | Wave.Size = Vector3.new(1, 1, 1) | |
2315 | Wave.Shape = "Ball" | |
2316 | Wave.CanCollide = false | |
2317 | Wave.Anchored = true | |
2318 | Wave.TopSurface = 0 | |
2319 | Wave.BottomSurface = 0 | |
2320 | local Wave2 = Instance.new("Part", game.Workspace--[[?]]) | |
2321 | Wave2.Name = "Shockwave2" | |
2322 | Wave2.BrickColor = BrickColor.new("Really red") | |
2323 | Wave2.Material = "Neon" | |
2324 | Wave2.Size = Vector3.new(1, 1, 1) | |
2325 | Wave2.Shape = "Ball" | |
2326 | Wave2.CanCollide = false | |
2327 | Wave2.Anchored = true | |
2328 | Wave2.TopSurface = 0 | |
2329 | Wave2.BottomSurface = 0 | |
2330 | Wave2.Touched:connect(function(hit) | |
2331 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2332 | local Occlude = true | |
2333 | local NotOccludes = { | |
2334 | char.Name; | |
2335 | "Wings"; | |
2336 | "Scythe"; | |
2337 | "Thingy"; | |
2338 | "Thingy2"; -- put all of the names in a table pls | |
2339 | } | |
2340 | for i,v in pairs(NotOccludes) do | |
2341 | if hit.Parent.Name == v then | |
2342 | Occlude = false | |
2343 | end | |
2344 | end | |
2345 | --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then | |
2346 | if Occlude then | |
2347 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2348 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2349 | end | |
2350 | end | |
2351 | end) | |
2352 | ||
2353 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2354 | ||
2355 | coroutine.wrap(function() | |
2356 | for i = 1, 20, 0.2 do | |
2357 | rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20) | |
2358 | rng1.Transparency = i/20 | |
2359 | wait() | |
2360 | end | |
2361 | wait() | |
2362 | rng1:Destroy() | |
2363 | end)() | |
2364 | ||
2365 | Delay(0, function() | |
2366 | ||
2367 | if Daytime == false then | |
2368 | for i = 3, 50, 1 do | |
2369 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
2370 | Wave.CFrame = char.Torso.CFrame | |
2371 | local t = i / 50 | |
2372 | Wave.Transparency = t | |
2373 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
2374 | Wave2.CFrame = char.Torso.CFrame | |
2375 | local tq = i / 50 | |
2376 | Wave2.Transparency = tq | |
2377 | wait() | |
2378 | end | |
2379 | else | |
2380 | for i = 3, 50, 1 do | |
2381 | Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3) | |
2382 | Wave.CFrame = char.Torso.CFrame | |
2383 | local t = i / 50 | |
2384 | Wave.Transparency = t | |
2385 | Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5) | |
2386 | Wave2.CFrame = char.Torso.CFrame | |
2387 | local tq = i / 50 | |
2388 | Wave2.Transparency = tq | |
2389 | wait() | |
2390 | end | |
2391 | end | |
2392 | Wave:Destroy() | |
2393 | Wave2:Destroy() | |
2394 | end) | |
2395 | Delay(0, function() | |
2396 | while wait() do | |
2397 | if Wave ~= nil then | |
2398 | Wave.CFrame = char.Torso.CFrame | |
2399 | else | |
2400 | break | |
2401 | end | |
2402 | end | |
2403 | end) | |
2404 | end | |
2405 | Shockwave() | |
2406 | for i = 1, 30 do | |
2407 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
2408 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
2409 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
2410 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
2411 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
2412 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
2413 | if Debounces.on == false then break end | |
2414 | rs:wait() | |
2415 | end | |
2416 | wait(2.4) | |
2417 | Debounces.NoIdl = false | |
2418 | hum.WalkSpeed = 16 | |
2419 | Debounces.on = false | |
2420 | wait() | |
2421 | if Debounces.CanAttack == false then | |
2422 | Debounces.CanAttack = true | |
2423 | v:Destroy() | |
2424 | end | |
2425 | end | |
2426 | end | |
2427 | end) | |
2428 | ||
2429 | ||
2430 | mouse.KeyDown:connect(function(key) | |
2431 | if key == "q" then | |
2432 | ||
2433 | chatfunc("Suck it...") | |
2434 | ||
2435 | if Debounces.CanAttack == true then | |
2436 | Debounces.CanAttack = false | |
2437 | Debounces.NoIdl = true | |
2438 | Debounces.on = true | |
2439 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
2440 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
2441 | local List = {} | |
2442 | for i,v in pairs(workspace:GetChildren())do | |
2443 | if v:IsA("Model")then | |
2444 | if v:findFirstChild("Torso")then | |
2445 | if v ~= char then | |
2446 | if(v.Torso.Position -Position).magnitude <= Distance then | |
2447 | table.insert(List,v) | |
2448 | end | |
2449 | end | |
2450 | end | |
2451 | end | |
2452 | end | |
2453 | return List | |
2454 | end | |
2455 | z = Instance.new("Sound",hed) | |
2456 | z.SoundId = "rbxassetid://232213955" | |
2457 | z.Pitch = 1 | |
2458 | z.Volume = 1 | |
2459 | wait(0.2) | |
2460 | z:Play() | |
2461 | sp = Instance.new("Part",rarm) | |
2462 | sp.Anchored = true | |
2463 | sp.CanCollide = false | |
2464 | sp.Locked = true | |
2465 | sp.Transparency = 0 | |
2466 | sp.Material = "Neon" | |
2467 | sp.Size = Vector3.new(1,1,1) | |
2468 | sp.TopSurface = "SmoothNoOutlines" | |
2469 | sp.BottomSurface = "SmoothNoOutlines" | |
2470 | sp.BrickColor = BrickColor.new("Really red") | |
2471 | spm = Instance.new("SpecialMesh",sp) | |
2472 | spm.MeshType = "Sphere" | |
2473 | spm.Scale = Vector3.new(21,21,21) | |
2474 | sp2 = Instance.new("Part", rarm) | |
2475 | sp2.Name = "Energy" | |
2476 | sp2.BrickColor = BrickColor.new("Really red") | |
2477 | sp2.Size = Vector3.new(1, 1, 1) | |
2478 | sp2.Shape = "Ball" | |
2479 | sp2.CanCollide = false | |
2480 | sp2.Anchored = true | |
2481 | sp2.Locked = true | |
2482 | sp2.TopSurface = 0 | |
2483 | sp2.BottomSurface = 0 | |
2484 | sp2.Transparency = 1 | |
2485 | spm2 = Instance.new("SpecialMesh",sp2) | |
2486 | spm2.MeshId = "rbxassetid://9982590" | |
2487 | spm2.Scale = Vector3.new(2,2,2) | |
2488 | for i = 1, 20 do | |
2489 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
2490 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2491 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
2492 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
2493 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
2494 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2495 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2496 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2497 | if Debounces.on == false then break end | |
2498 | rs:wait() | |
2499 | end | |
2500 | for i = 1, 100, 20 do rs:wait() | |
2501 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2502 | end | |
2503 | for i = 1, 20 do | |
2504 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
2505 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2506 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
2507 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
2508 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
2509 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2510 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2511 | if Debounces.on == false then break end | |
2512 | rs:wait() | |
2513 | end | |
2514 | sp.Transparency = 1 | |
2515 | for i = 1, 20 do | |
2516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2517 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
2518 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
2519 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
2520 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
2521 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
2522 | if Debounces.on == false then break end | |
2523 | rs:wait() | |
2524 | end | |
2525 | wait(1) | |
2526 | sp.Transparency = 0 | |
2527 | sp2.Transparency = 0.84 | |
2528 | for i = 1, 20 do | |
2529 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
2530 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2531 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
2532 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
2533 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
2534 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
2535 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
2536 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
2537 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
2538 | if Debounces.on == false then break end | |
2539 | rs:wait() | |
2540 | end | |
2541 | for i = 1, 2880, 50 do | |
2542 | rs:wait() | |
2543 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
2544 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2545 | rs:wait() | |
2546 | end | |
2547 | sp:Destroy() | |
2548 | sp2:Destroy() | |
2549 | local X = Instance.new("Part",char) | |
2550 | local O = Instance.new("ObjectValue",X) | |
2551 | O.Name = "creator" | |
2552 | X.Locked = true | |
2553 | X.Name = "Shell" | |
2554 | X.Anchored = false | |
2555 | X.CanCollide = false | |
2556 | X.Transparency = 0 | |
2557 | X.Reflectance = 0 | |
2558 | X.BottomSurface = 0 | |
2559 | X.TopSurface = 0 | |
2560 | X.Shape = 0 | |
2561 | local V = Instance.new("ObjectValue",X) | |
2562 | V.Value = char | |
2563 | V.Name = "creator" | |
2564 | X.BrickColor = BrickColor.new("Really red") | |
2565 | X.Size = Vector3.new(2,2,2) | |
2566 | X.Material = "Neon" | |
2567 | local Z = Instance.new("SpecialMesh",X) | |
2568 | Z.MeshType = "Sphere" | |
2569 | Z.Scale = Vector3.new(0.5,0.5,1) | |
2570 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
2571 | local bv = Instance.new("BodyVelocity",X) | |
2572 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2573 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
2574 | bv.velocity = X.CFrame.lookVector*65 | |
2575 | ||
2576 | Explode = X.Touched:connect(function(hit) | |
2577 | if hit ~= char and hit.Name ~= "Shell" then | |
2578 | local cf = X.CFrame | |
2579 | bv:Destroy() | |
2580 | X.Anchored = true | |
2581 | Z:Remove() | |
2582 | Explode:disconnect() | |
2583 | X.Size = Vector3.new(3,3,3) | |
2584 | X.Touched:connect(function(hit) end) | |
2585 | X.CanCollide = false | |
2586 | local part3 = Instance.new("Part", rarm) | |
2587 | part3.Anchored=true | |
2588 | part3.CanCollide=false | |
2589 | part3.Locked = true | |
2590 | part3.TopSurface = "SmoothNoOutlines" | |
2591 | part3.BottomSurface = "SmoothNoOutlines" | |
2592 | part3.FormFactor='Custom' | |
2593 | part3.Size=Vector3.new(1,1, 1) | |
2594 | part3.CFrame=X.CFrame | |
2595 | part3.Transparency=0 | |
2596 | part3.BrickColor=BrickColor.new("Really red") | |
2597 | local mesh3 = Instance.new("SpecialMesh",part3) | |
2598 | mesh3.MeshType = "Sphere" | |
2599 | mesh3.Scale = Vector3.new(1,1,1) | |
2600 | --debris:AddItem(X,8) | |
2601 | local part4 = Instance.new("Part", rarm) | |
2602 | part4.Material = "Neon" | |
2603 | part4.Anchored=true | |
2604 | part4.CanCollide=false | |
2605 | part4.Locked = true | |
2606 | part4.TopSurface = "SmoothNoOutlines" | |
2607 | part4.BottomSurface = "SmoothNoOutlines" | |
2608 | part4.FormFactor='Custom' | |
2609 | part4.Size=Vector3.new(1,1, 1) | |
2610 | part4.CFrame=X.CFrame | |
2611 | part4.Transparency=0 | |
2612 | part4.BrickColor=BrickColor.new("Really red") | |
2613 | local mesh4 = Instance.new("SpecialMesh",part4) | |
2614 | mesh4.MeshType = "Sphere" | |
2615 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
2616 | local part7 = Instance.new("Part", rarm) | |
2617 | part7.Material = "Neon" | |
2618 | part7.Anchored=true | |
2619 | part7.CanCollide=false | |
2620 | part7.Locked = true | |
2621 | part7.TopSurface = "SmoothNoOutlines" | |
2622 | part7.BottomSurface = "SmoothNoOutlines" | |
2623 | part7.FormFactor='Custom' | |
2624 | part7.Size=Vector3.new(1,1, 1) | |
2625 | part7.CFrame=X.CFrame | |
2626 | part7.Transparency=0 | |
2627 | part7.BrickColor=BrickColor.new("Really black") | |
2628 | local mesh7 = Instance.new("SpecialMesh",part7) | |
2629 | mesh7.MeshType = "Sphere" | |
2630 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
2631 | --[[X.Touched:connect(function(ht) | |
2632 | hit = ht.Parent | |
2633 | if ht and hit:IsA("Model") then | |
2634 | if hit:FindFirstChild("Humanoid") then | |
2635 | if hit.Name ~= p.Name then | |
2636 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(15,20)) | |
2637 | wait(.3) | |
2638 | end | |
2639 | end | |
2640 | elseif ht and hit:IsA("Hat") then | |
2641 | if hit.Parent.Name ~= p.Name then | |
2642 | if hit.Parent:FindFirstChild("Humanoid") then | |
2643 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(15,20)) | |
2644 | wait(.3) | |
2645 | end | |
2646 | end | |
2647 | end | |
2648 | end) | |
2649 | part3.Touched:connect(function(ht) | |
2650 | hit = ht.Parent | |
2651 | if ht and hit:IsA("Model") then | |
2652 | if hit:FindFirstChild("Humanoid") then | |
2653 | if hit.Name ~= p.Name then | |
2654 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(8,12)) | |
2655 | wait(.3) | |
2656 | end | |
2657 | end | |
2658 | elseif ht and hit:IsA("Hat") then | |
2659 | if hit.Parent.Name ~= p.Name then | |
2660 | if hit.Parent:FindFirstChild("Humanoid") then | |
2661 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(8,12)) | |
2662 | wait(.3) | |
2663 | end | |
2664 | end | |
2665 | end | |
2666 | end)]]-- | |
2667 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
2668 | if v:FindFirstChild('Humanoid') then | |
2669 | v.Humanoid:TakeDamage(math.random(60,90)) | |
2670 | v.Humanoid.PlatformStand = true | |
2671 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
2672 | end | |
2673 | end | |
2674 | ||
2675 | local acos = math.acos | |
2676 | local sqrt = math.sqrt | |
2677 | local Vec3 = Vector3.new | |
2678 | local fromAxisAngle = CFrame.fromAxisAngle | |
2679 | ||
2680 | local function toAxisAngle(CFr) | |
2681 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
2682 | local Angle = math.acos((R00+R11+R22-1)/2) | |
2683 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2684 | A = A == 0 and 0.00001 or A | |
2685 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2686 | B = B == 0 and 0.00001 or B | |
2687 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
2688 | C = C == 0 and 0.00001 or C | |
2689 | local x = (R21-R12)/sqrt(A) | |
2690 | local y = (R02-R20)/sqrt(B) | |
2691 | local z = (R10-R01)/sqrt(C) | |
2692 | return Vec3(x,y,z),Angle | |
2693 | end | |
2694 | ||
2695 | function ApplyTrig(Num,Func) | |
2696 | local Min,Max = Func(0),Func(1) | |
2697 | local i = Func(Num) | |
2698 | return (i-Min)/(Max-Min) | |
2699 | end | |
2700 | ||
2701 | function LerpCFrame(CFrame1,CFrame2,Num) | |
2702 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
2703 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
2704 | end | |
2705 | ||
2706 | function Crater(Torso,Radius) | |
2707 | Spawn(function() | |
2708 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
2709 | local Ignore = {} | |
2710 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
2711 | if v.Character ~= nil then | |
2712 | Ignore[#Ignore+1] = v.Character | |
2713 | end | |
2714 | end | |
2715 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
2716 | if Hit == nil then return end | |
2717 | local Parts = {} | |
2718 | for i = 1,360,10 do | |
2719 | local P = Instance.new("Part",Torso.Parent) | |
2720 | P.Anchored = true | |
2721 | P.FormFactor = "Custom" | |
2722 | P.BrickColor = Hit.BrickColor | |
2723 | P.Material = Hit.Material | |
2724 | P.TopSurface = "Smooth" | |
2725 | P.BottomSurface = "Smooth" | |
2726 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
2727 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2728 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
2729 | if math.random(0,5) == 0 then -- rubble | |
2730 | local P = Instance.new("Part",Torso.Parent) | |
2731 | P.Anchored = true | |
2732 | P.FormFactor = "Custom" | |
2733 | P.BrickColor = Hit.BrickColor | |
2734 | P.Material = Hit.Material | |
2735 | P.TopSurface = "Smooth" | |
2736 | P.BottomSurface = "Smooth" | |
2737 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
2738 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
2739 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
2740 | end | |
2741 | end | |
2742 | for i = 0,1,0.05 do | |
2743 | for i2,v in pairs(Parts) do | |
2744 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
2745 | end | |
2746 | wait(0.02) | |
2747 | end | |
2748 | for i,v in pairs(Parts) do | |
2749 | if v[1].Size.X > 2.1 then | |
2750 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
2751 | end | |
2752 | v[1].Anchored = false | |
2753 | end | |
2754 | for i = 0,1,0.05 do | |
2755 | for i2,v in pairs(Parts) do | |
2756 | v[1].Transparency = i | |
2757 | if i == 1 then | |
2758 | v[1]:Destroy() | |
2759 | elseif i >= 0.25 then | |
2760 | v[1].CanCollide = false | |
2761 | end | |
2762 | end | |
2763 | wait(0.02) | |
2764 | end | |
2765 | Parts = nil | |
2766 | end) | |
2767 | end | |
2768 | ||
2769 | ROW = function(out, trans, s, wt, t, ang, plus) | |
2770 | for i = 1, 360, 360/t do | |
2771 | local c = Instance.new("Part", game.Workspace) | |
2772 | c.FormFactor = 3 | |
2773 | c.TopSurface = 0 | |
2774 | c.BottomSurface = 0 | |
2775 | c.Size = s | |
2776 | c.Anchored = true | |
2777 | c.CanCollide = wt | |
2778 | c.Material=workspace.Base.Material | |
2779 | c.Transparency = trans | |
2780 | c.BrickColor = workspace.Base.BrickColor | |
2781 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2782 | c.Locked=true | |
2783 | game.Debris:AddItem(c,15) | |
2784 | end | |
2785 | end | |
2786 | ||
2787 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2788 | local p = Instance.new('Part',parent or Weapon) | |
2789 | p.formFactor = 'Custom' | |
2790 | p.Size = Vector3.new(x,y,z) | |
2791 | p.BrickColor = BrickColor.new(color) | |
2792 | p.CanCollide = cc | |
2793 | p.Transparency = tr | |
2794 | p.Anchored = an | |
2795 | p.TopSurface,p.BottomSurface = 0,0 | |
2796 | p.Locked=true | |
2797 | p:BreakJoints() | |
2798 | return p end | |
2799 | ||
2800 | Mesh = function(par,num,x,y,z) | |
2801 | local msh = _ | |
2802 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2803 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2804 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2805 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2806 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2807 | end msh.Scale = Vector3.new(x,y,z) | |
2808 | return msh end | |
2809 | ||
2810 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2811 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2812 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2813 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2814 | v1,v2,v3=sz.x,sz.y,sz.z | |
2815 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2816 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2817 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2818 | a.CFrame=cfr | |
2819 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2820 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2821 | ||
2822 | Spawn(function() | |
2823 | while wait() do | |
2824 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2825 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2826 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2827 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2828 | a.Transparency=a.Transparency+0.05 | |
2829 | a2.Transparency=a2.Transparency+0.05 | |
2830 | a3.Transparency=a3.Transparency+0.05 | |
2831 | end | |
2832 | end) | |
2833 | end | |
2834 | ||
2835 | Crater(X,20) | |
2836 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2837 | z = Instance.new("Sound",X) | |
2838 | z.SoundId = "rbxassetid://231917744" | |
2839 | z.Pitch = .5 | |
2840 | z.Volume = 10 | |
2841 | z1 = Instance.new("Sound",X) | |
2842 | z1.SoundId = "rbxassetid://231917744" | |
2843 | z1.Pitch = .5 | |
2844 | z1.Volume = 10 | |
2845 | z2 = Instance.new("Sound",X) | |
2846 | z2.SoundId = "rbxassetid://231917744" | |
2847 | z2.Pitch = .5 | |
2848 | z2.Volume = 10 | |
2849 | z3 = Instance.new("Sound",X) | |
2850 | z3.SoundId = "rbxassetid://245537790" | |
2851 | z3.Pitch = .7 | |
2852 | z3.Volume = 1 | |
2853 | z4 = Instance.new("Sound",X) | |
2854 | z4.SoundId = "rbxassetid://245537790" | |
2855 | z4.Pitch = .7 | |
2856 | z4.Volume = 1 | |
2857 | wait(0.1) | |
2858 | z:Play() | |
2859 | z1:Play() | |
2860 | z2:Play() | |
2861 | z3:Play() | |
2862 | z4:Play() | |
2863 | ||
2864 | local part=Instance.new('Part',rarm) | |
2865 | part.Anchored=true | |
2866 | part.CanCollide=false | |
2867 | part.Locked = true | |
2868 | part.FormFactor='Custom' | |
2869 | part.Size=Vector3.new(1,1,1) | |
2870 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2871 | part.Transparency=0 | |
2872 | part.BrickColor=BrickColor.new('Really black') | |
2873 | local mesh=Instance.new('SpecialMesh',part) | |
2874 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2875 | mesh.Scale=Vector3.new(2,2,2) | |
2876 | local part2=part:clone() | |
2877 | part2.Parent = rarm | |
2878 | part2.BrickColor=BrickColor.new("Really red") | |
2879 | local part5=part:clone() | |
2880 | part5.Parent = rarm | |
2881 | part5.BrickColor=BrickColor.new("Really red") | |
2882 | local part6=part:clone() | |
2883 | part6.Parent = rarm | |
2884 | part6.BrickColor=BrickColor.new("Black") | |
2885 | local mesh2=mesh:clone() | |
2886 | mesh2.Parent=part2 | |
2887 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2888 | local mesh5=mesh:clone() | |
2889 | mesh5.Parent=part5 | |
2890 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2891 | local mesh6=mesh:clone() | |
2892 | mesh6.Parent=part6 | |
2893 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2894 | local blast = Instance.new("Part", rarm) | |
2895 | blast.BrickColor = BrickColor.new("Really black") | |
2896 | blast.Anchored = true | |
2897 | blast.CanCollide = false | |
2898 | blast.Locked = true | |
2899 | blast.Size = Vector3.new(1, 1, 1) | |
2900 | blast.TopSurface = "Smooth" | |
2901 | blast.BottomSurface = "Smooth" | |
2902 | blast.Transparency = 0 | |
2903 | blast.CFrame = HandCF | |
2904 | local bm = Instance.new("SpecialMesh", blast) | |
2905 | bm.Scale = Vector3.new(5,1,5) | |
2906 | bm.MeshId = "rbxassetid://3270017" | |
2907 | local blast2 = Instance.new("Part", rarm) | |
2908 | blast2.BrickColor = BrickColor.new("Really black") | |
2909 | blast2.Anchored = true | |
2910 | blast2.CanCollide = false | |
2911 | blast2.Locked = true | |
2912 | blast2.Size = Vector3.new(1, 1, 1) | |
2913 | blast2.TopSurface = "Smooth" | |
2914 | blast2.BottomSurface = "Smooth" | |
2915 | blast2.Transparency = 0 | |
2916 | blast2.CFrame = HandCF | |
2917 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2918 | bm2.Scale = Vector3.new(3,1,3) | |
2919 | bm2.MeshId = "rbxassetid://3270017" | |
2920 | local blast3 = Instance.new("Part", rarm) | |
2921 | blast3.BrickColor = BrickColor.new("Really black") | |
2922 | blast3.Anchored = true | |
2923 | blast3.CanCollide = false | |
2924 | blast3.Locked = true | |
2925 | blast3.Size = Vector3.new(1, 1, 1) | |
2926 | blast3.TopSurface = "Smooth" | |
2927 | blast3.BottomSurface = "Smooth" | |
2928 | blast3.Transparency = 0 | |
2929 | blast3.CFrame = HandCF | |
2930 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2931 | bm3.Scale = Vector3.new(3,1,3) | |
2932 | bm3.MeshId = "rbxassetid://3270017" | |
2933 | for i = 1,120 do rs:wait() | |
2934 | X.Transparency = X.Transparency + (1/120) | |
2935 | part.Transparency = part.Transparency + (1/120) | |
2936 | part2.Transparency = part2.Transparency + (1/120) | |
2937 | part3.Transparency = part3.Transparency + (1/120) | |
2938 | part4.Transparency = part4.Transparency + (1/120) | |
2939 | part5.Transparency = part5.Transparency + (1/120) | |
2940 | part6.Transparency = part6.Transparency + (1/120) | |
2941 | part7.Transparency = part7.Transparency + (1/120) | |
2942 | blast.Transparency = blast.Transparency + (1/120) | |
2943 | blast2.Transparency = blast2.Transparency + (1/120) | |
2944 | blast3.Transparency = blast3.Transparency + (1/120) | |
2945 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2946 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2947 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2948 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2949 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2950 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2951 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2952 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2953 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2954 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2955 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2956 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2957 | X.CFrame = cf | |
2958 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2959 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2960 | part3.CFrame=X.CFrame | |
2961 | part4.CFrame=X.CFrame | |
2962 | part7.CFrame=X.CFrame | |
2963 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2964 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2965 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2966 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2967 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2968 | rs:wait() | |
2969 | end | |
2970 | X:Destroy() | |
2971 | part:Destroy() | |
2972 | part2:Destroy() | |
2973 | part3:Destroy() | |
2974 | part4:Destroy() | |
2975 | part5:Destroy() | |
2976 | part6:Destroy() | |
2977 | blast:Destroy() | |
2978 | blast2:Destroy() | |
2979 | blast3:Destroy() | |
2980 | z:Destroy() | |
2981 | z1:Destroy() | |
2982 | z2:Destroy() | |
2983 | z3:Destroy() | |
2984 | z4:Destroy() | |
2985 | end | |
2986 | end) | |
2987 | for i = 1, 20 do | |
2988 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
2989 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
2990 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2991 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
2992 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
2993 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
2994 | if Debounces.on == false then break end | |
2995 | rs:wait() | |
2996 | end | |
2997 | if Debounces.CanAttack == false then | |
2998 | Debounces.CanAttack = true | |
2999 | Debounces.NoIdl = false | |
3000 | Debounces.on = false | |
3001 | end | |
3002 | end | |
3003 | end | |
3004 | end) | |
3005 | ---------------------------------------------------- | |
3006 | mouse.KeyDown:connect(function(key) | |
3007 | if key == "e" then | |
3008 | if Debounces.CanAttack == true then | |
3009 | Debounces.CanAttack = false | |
3010 | Debounces.on = true | |
3011 | Debounces.NoIdl = true | |
3012 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
3013 | z = Instance.new("Sound", rarm) | |
3014 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3015 | z.Volume = .6 | |
3016 | z.Pitch = pt[math.random(1,#pt)] | |
3017 | z.Looped = false | |
3018 | z:Play() | |
3019 | Debounces.RPunch = true | |
3020 | Debounces.LPunch = true | |
3021 | Debounces.ks = true | |
3022 | Debounces.ks2 = true | |
3023 | for i = 1, 3 do | |
3024 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3025 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3026 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3027 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3028 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3029 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3030 | if Debounces.on == false then break end | |
3031 | wait() | |
3032 | end | |
3033 | z2 = Instance.new("Sound", larm) | |
3034 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3035 | z2.Volume = .6 | |
3036 | z2.Pitch = pt[math.random(1,#pt)] | |
3037 | z2.Looped = false | |
3038 | z2:Play() | |
3039 | for i = 1, 3 do | |
3040 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3041 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3042 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3043 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3044 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3045 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3046 | if Debounces.on == false then break end | |
3047 | wait() | |
3048 | end | |
3049 | z3 = Instance.new("Sound", rarm) | |
3050 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3051 | z3.Volume = 0.6 | |
3052 | z3.Pitch = pt[math.random(1,#pt)] | |
3053 | z3.Looped = false | |
3054 | z3:Play() | |
3055 | for i = 1, 3 do | |
3056 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3057 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3058 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3059 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3060 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3061 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3062 | if Debounces.on == false then break end | |
3063 | wait() | |
3064 | end | |
3065 | z4 = Instance.new("Sound", larm) | |
3066 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3067 | z4.Volume = .6 | |
3068 | z4.Pitch = pt[math.random(1,#pt)] | |
3069 | z4.Looped = false | |
3070 | z4:Play() | |
3071 | for i = 1, 3 do | |
3072 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3073 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3074 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3075 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3076 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3077 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3078 | if Debounces.on == false then break end | |
3079 | wait() | |
3080 | end | |
3081 | z5 = Instance.new("Sound", rarm) | |
3082 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3083 | z5.Volume = .6 | |
3084 | z5.Pitch = pt[math.random(1,#pt)] | |
3085 | z5.Looped = false | |
3086 | z5:Play() | |
3087 | for i = 1, 3 do | |
3088 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3089 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3090 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3091 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3092 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3093 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3094 | if Debounces.on == false then break end | |
3095 | wait() | |
3096 | end | |
3097 | z6 = Instance.new("Sound", larm) | |
3098 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3099 | z6.Volume = .6 | |
3100 | z6.Pitch = pt[math.random(1,#pt)] | |
3101 | z6.Looped = false | |
3102 | z6:Play() | |
3103 | for i = 1, 3 do | |
3104 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3105 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3106 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3107 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3108 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3109 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3110 | if Debounces.on == false then break end | |
3111 | wait() | |
3112 | end | |
3113 | z7 = Instance.new("Sound", rarm) | |
3114 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3115 | z7.Volume = .6 | |
3116 | z7.Pitch = pt[math.random(1,#pt)] | |
3117 | z7.Looped = false | |
3118 | z7:Play() | |
3119 | for i = 1, 3 do | |
3120 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3121 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3122 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3123 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3124 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3125 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3126 | if Debounces.on == false then break end | |
3127 | wait() | |
3128 | end | |
3129 | z8 = Instance.new("Sound", larm) | |
3130 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3131 | z8.Volume = .6 | |
3132 | z8.Pitch = pt[math.random(1,#pt)] | |
3133 | z8.Looped = false | |
3134 | z8:Play() | |
3135 | for i = 1, 3 do | |
3136 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3137 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3138 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3139 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3140 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3141 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3142 | if Debounces.on == false then break end | |
3143 | wait() | |
3144 | end | |
3145 | z9 = Instance.new("Sound", rarm) | |
3146 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3147 | z9.Volume = 0.6 | |
3148 | z9.Pitch = pt[math.random(1,#pt)] | |
3149 | z9.Looped = false | |
3150 | z9:Play() | |
3151 | for i = 1, 3 do | |
3152 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3153 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3154 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3155 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3156 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3157 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3158 | if Debounces.on == false then break end | |
3159 | wait() | |
3160 | end | |
3161 | z10 = Instance.new("Sound", larm) | |
3162 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3163 | z10.Volume = .6 | |
3164 | z10.Pitch = pt[math.random(1,#pt)] | |
3165 | z10.Looped = false | |
3166 | z10:Play() | |
3167 | for i = 1, 3 do | |
3168 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3169 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3170 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3171 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3172 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3173 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3174 | if Debounces.on == false then break end | |
3175 | wait() | |
3176 | end | |
3177 | z11 = Instance.new("Sound", rarm) | |
3178 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3179 | z11.Volume = .6 | |
3180 | z11.Pitch = pt[math.random(1,#pt)] | |
3181 | z11.Looped = false | |
3182 | z11:Play() | |
3183 | for i = 1, 3 do | |
3184 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3185 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3186 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3187 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3188 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3189 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3190 | if Debounces.on == false then break end | |
3191 | wait() | |
3192 | end | |
3193 | z12 = Instance.new("Sound", larm) | |
3194 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3195 | z12.Volume = .6 | |
3196 | z12.Pitch = pt[math.random(1,#pt)] | |
3197 | z12.Looped = false | |
3198 | z12:Play() | |
3199 | for i = 1, 3 do | |
3200 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3201 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3202 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3203 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3204 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3205 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3206 | if Debounces.on == false then break end | |
3207 | wait() | |
3208 | end | |
3209 | z13 = Instance.new("Sound", rarm) | |
3210 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3211 | z13.Volume = 0.6 | |
3212 | z13.Pitch = pt[math.random(1,#pt)] | |
3213 | z13.Looped = false | |
3214 | z13:Play() | |
3215 | for i = 1, 3 do | |
3216 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3217 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3218 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3219 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3220 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3221 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3222 | if Debounces.on == false then break end | |
3223 | wait() | |
3224 | end | |
3225 | z14 = Instance.new("Sound", larm) | |
3226 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3227 | z14.Volume = .6 | |
3228 | z14.Pitch = pt[math.random(1,#pt)] | |
3229 | z14.Looped = false | |
3230 | z14:Play() | |
3231 | for i = 1, 3 do | |
3232 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3233 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3234 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3235 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3236 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3237 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3238 | if Debounces.on == false then break end | |
3239 | wait() | |
3240 | end | |
3241 | z15 = Instance.new("Sound", rarm) | |
3242 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3243 | z15.Volume = .6 | |
3244 | z15.Pitch = pt[math.random(1,#pt)] | |
3245 | z15.Looped = false | |
3246 | z15:Play() | |
3247 | for i = 1, 3 do | |
3248 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
3249 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
3250 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
3251 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
3252 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
3253 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
3254 | if Debounces.on == false then break end | |
3255 | wait() | |
3256 | end | |
3257 | z16 = Instance.new("Sound", larm) | |
3258 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3259 | z16.Volume = .6 | |
3260 | z16.Pitch = pt[math.random(1,#pt)] | |
3261 | z16.Looped = false | |
3262 | z16:Play() | |
3263 | for i = 1, 3 do | |
3264 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3265 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3266 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3267 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3268 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3269 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3270 | if Debounces.on == false then break end | |
3271 | wait() | |
3272 | end | |
3273 | z17 = Instance.new("Sound", rarm) | |
3274 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
3275 | z17.Volume = .6 | |
3276 | z17.Pitch = pt[math.random(1,#pt)] | |
3277 | z17.Looped = false | |
3278 | z17:Play() | |
3279 | for i = 1, 3 do | |
3280 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
3281 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
3282 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3283 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3284 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3285 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3286 | if Debounces.on == false then break end | |
3287 | wait() | |
3288 | end | |
3289 | z18 = Instance.new("Sound", larm) | |
3290 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3291 | z18.Volume = .6 | |
3292 | z18.Pitch = pt[math.random(1,#pt)] | |
3293 | z18.Looped = false | |
3294 | z18:Play() | |
3295 | for i = 1, 3 do | |
3296 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3297 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
3298 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3299 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3300 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3301 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3302 | if Debounces.on == false then break end | |
3303 | wait() | |
3304 | end | |
3305 | z19 = Instance.new("Sound", rarm) | |
3306 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3307 | z19.Volume = 0.6 | |
3308 | z19.Pitch = pt[math.random(1,#pt)] | |
3309 | z19.Looped = false | |
3310 | z19:Play() | |
3311 | for i = 1, 3 do | |
3312 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
3313 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
3314 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
3315 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
3316 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
3317 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
3318 | if Debounces.on == false then break end | |
3319 | wait() | |
3320 | end | |
3321 | z20 = Instance.new("Sound", larm) | |
3322 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
3323 | z20.Volume = .6 | |
3324 | z20.Pitch = pt[math.random(1,#pt)] | |
3325 | z20.Looped = false | |
3326 | z20:Play() | |
3327 | for i = 1, 3 do | |
3328 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
3329 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
3330 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
3331 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
3332 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
3333 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
3334 | if Debounces.on == false then break end | |
3335 | wait() | |
3336 | end | |
3337 | z:Destroy() | |
3338 | z2:Destroy() | |
3339 | z3:Destroy() | |
3340 | z4:Destroy() | |
3341 | z5:Destroy() | |
3342 | z6:Destroy() | |
3343 | z7:Destroy() | |
3344 | z8:Destroy() | |
3345 | z9:Destroy() | |
3346 | z10:Destroy() | |
3347 | z11:Destroy() | |
3348 | z12:Destroy() | |
3349 | z13:Destroy() | |
3350 | z14:Destroy() | |
3351 | z15:Destroy() | |
3352 | z16:Destroy() | |
3353 | z17:Destroy() | |
3354 | z18:Destroy() | |
3355 | z19:Destroy() | |
3356 | z20:Destroy() | |
3357 | Debounces.LPunch = false | |
3358 | Debounces.RPunch = false | |
3359 | Debounces.ks = false | |
3360 | Debounces.ks2 = false | |
3361 | if Debounces.CanAttack == false then | |
3362 | Debounces.CanAttack = true | |
3363 | Debounces.on = false | |
3364 | Debounces.NoIdl = false | |
3365 | end | |
3366 | end | |
3367 | end | |
3368 | end) | |
3369 | ------------------------------- | |
3370 | mouse.KeyDown:connect(function(key) | |
3371 | if key == "t" then | |
3372 | if Debounces.CanAttack == true then | |
3373 | Debounces.CanAttack = false | |
3374 | Debounces.NoIdl = true | |
3375 | Debounces.on = true | |
3376 | Debounces.ks = true | |
3377 | kik = rleg.Touched:connect(function(ht) | |
3378 | hit = ht.Parent | |
3379 | if ht and hit:IsA("Model") then | |
3380 | if hit:FindFirstChild("Humanoid") then | |
3381 | if hit.Name ~= p.Name then | |
3382 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3383 | Debounces.Slashed = true]]-- | |
3384 | if Debounces.ks==true then | |
3385 | z = Instance.new("Sound",hed) | |
3386 | z.SoundId = "rbxassetid://169380525" | |
3387 | z.Volume = 1 | |
3388 | z:Play() | |
3389 | Debounces.ks=false | |
3390 | end | |
3391 | hit:FindFirstChild("Humanoid"):TakeDamage(6) | |
3392 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3393 | --Debounces.Slashed = false | |
3394 | --end | |
3395 | end | |
3396 | end | |
3397 | elseif ht and hit:IsA("Hat") then | |
3398 | if hit.Parent.Name ~= p.Name then | |
3399 | if hit.Parent:FindFirstChild("Humanoid") then | |
3400 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
3401 | Debounces.Slashed = true]]-- | |
3402 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(6) | |
3403 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
3404 | --Debounces.Slashed = false | |
3405 | --end | |
3406 | end | |
3407 | end | |
3408 | end | |
3409 | end) | |
3410 | for i = 1,20 do | |
3411 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
3412 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
3413 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3414 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
3415 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
3416 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
3417 | if Debounces.on == false then break end | |
3418 | rs:wait() | |
3419 | end | |
3420 | kik:disconnect() | |
3421 | if Debounces.CanAttack == false then | |
3422 | Debounces.CanAttack = true | |
3423 | Debounces.NoIdl = false | |
3424 | Debounces.on = false | |
3425 | end | |
3426 | end | |
3427 | end | |
3428 | end) | |
3429 | ---------------------------------------------------- | |
3430 | mouse.KeyDown:connect(function(key) | |
3431 | if key == "y" then | |
3432 | ||
3433 | chatfunc("Get rekt...") | |
3434 | ||
3435 | if Debounces.CanAttack == true then | |
3436 | Debounces.CanAttack = false | |
3437 | Debounces.on = true | |
3438 | Debounces.NoIdl = true | |
3439 | for i = 1, 15 do | |
3440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
3441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
3442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
3443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
3444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
3445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
3446 | if Debounces.on == false then break end | |
3447 | rs:wait(2.7) | |
3448 | end | |
3449 | z = Instance.new("Sound",char) | |
3450 | z.SoundId = "rbxassetid://864314263" | |
3451 | z.Pitch = 0.72 | |
3452 | z.Volume = 10 | |
3453 | wait(.1) | |
3454 | z:Play() | |
3455 | ||
3456 | wait(5) | |
3457 | z = Instance.new("Sound",char) | |
3458 | z.SoundId = "rbxassetid://228343271" | |
3459 | z.Pitch = 0.70 | |
3460 | z.Volume = 10 | |
3461 | wait(.1) | |
3462 | z:Play() | |
3463 | Debounces.on = false | |
3464 | Debounces.Here = false | |
3465 | shot = shot + 1 | |
3466 | local rng = Instance.new("Part", larm) | |
3467 | rng.Anchored = true | |
3468 | rng.BrickColor = BrickColor.new("Really red") | |
3469 | rng.CanCollide = false | |
3470 | rng.FormFactor = 3 | |
3471 | rng.Name = "Ring" | |
3472 | rng.Size = Vector3.new(10, 10, 10) | |
3473 | rng.Transparency = 0.35 | |
3474 | rng.TopSurface = 0 | |
3475 | rng.BottomSurface = 0 | |
3476 | rng2 = rng:clone() | |
3477 | rng3 = rng2:clone() | |
3478 | rng4 = rng2:clone() | |
3479 | local rngm = Instance.new("SpecialMesh", rng) | |
3480 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3481 | rngm.Scale = Vector3.new(10, 10, 1) | |
3482 | rngm2 = rngm:clone() | |
3483 | rngm2.Scale = Vector3.new(5, 5, 3) | |
3484 | rngm3=rngm2:clone() | |
3485 | rngm3.Parent = rng3 | |
3486 | rngm3.Scale = Vector3.new(8, 8, 1) | |
3487 | rngm4 = rngm2:clone() | |
3488 | rngm4.Parent = rng4 | |
3489 | rngm4.Scale = Vector3.new(6, 6, 1) | |
3490 | local bem = Instance.new("Part", larm) | |
3491 | bem.Anchored = true | |
3492 | bem.BrickColor = BrickColor.new("Really black") | |
3493 | bem.CanCollide = false | |
3494 | bem.FormFactor = 3 | |
3495 | bem.Name = "Beam" .. shot | |
3496 | bem.Size = Vector3.new(10, 10, 10) | |
3497 | bem.Transparency = 0.35 | |
3498 | bem.TopSurface = 0 | |
3499 | bem.BottomSurface = 0 | |
3500 | local bemm = Instance.new("SpecialMesh", bem) | |
3501 | bemm.MeshType = 4 | |
3502 | bemm.Scale = Vector3.new(1, 4, 4) | |
3503 | local out = Instance.new("Part", larm) | |
3504 | out.Anchored = true | |
3505 | out.BrickColor = BrickColor.new("Really black") | |
3506 | out.CanCollide = false | |
3507 | out.FormFactor = 3 | |
3508 | out.Name = "Out" | |
3509 | out.Size = Vector3.new(10, 10, 10) | |
3510 | out.Transparency = 0.35 | |
3511 | out.TopSurface = 0 | |
3512 | out.BottomSurface = 0 | |
3513 | local outm = Instance.new("SpecialMesh", out) | |
3514 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
3515 | outm.Scale = Vector3.new(6, 4, 6) | |
3516 | local bnd = Instance.new("Part", larm) | |
3517 | bnd.Anchored = true | |
3518 | bnd.BrickColor = BrickColor.new("Really red") | |
3519 | bnd.CanCollide = false | |
3520 | bnd.FormFactor = 3 | |
3521 | bnd.Name = "Bend" | |
3522 | bnd.Size = Vector3.new(10, 10, 10) | |
3523 | bnd.Transparency = 1 | |
3524 | bnd.TopSurface = 0 | |
3525 | bnd.BottomSurface = 0 | |
3526 | local bndm = Instance.new("SpecialMesh", bnd) | |
3527 | bndm.MeshType = 3 | |
3528 | bndm.Scale = Vector3.new(8, 8, 8) | |
3529 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3530 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3531 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3532 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3533 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
3534 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
3535 | Debounces.Shewt = true | |
3536 | coroutine.wrap(function() | |
3537 | for i = 1, 20, 0.2 do | |
3538 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3539 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
3540 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
3541 | rng.Transparency = i/20 | |
3542 | rng3.Transparency = 1/24 | |
3543 | rng4.Transparency = i/26 | |
3544 | wait() | |
3545 | end | |
3546 | wait() | |
3547 | rng:Destroy() | |
3548 | end)() | |
3549 | if Debounces.Shewt == true then | |
3550 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3551 | hit = ht.Parent | |
3552 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3553 | if HasntTouched(hit.Name) == true and deb == false then | |
3554 | deb = true | |
3555 | coroutine.wrap(function() | |
3556 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3557 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3558 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3559 | end)() | |
3560 | table.insert(Touche, hit.Name) | |
3561 | deb = false | |
3562 | end | |
3563 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3564 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3565 | deb = true | |
3566 | coroutine.wrap(function() | |
3567 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3568 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3569 | wait(1) | |
3570 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3571 | end)() | |
3572 | table.insert(Touche, hit.Parent.Name) | |
3573 | deb = false | |
3574 | for i, v in pairs(Touche) do | |
3575 | print(v) | |
3576 | end | |
3577 | end | |
3578 | end | |
3579 | end) | |
3580 | end | |
3581 | for i = 0, 260, 8 do | |
3582 | bem.Size = Vector3.new(i, 3, 3) | |
3583 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
3584 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3585 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3586 | bnd.Size = Vector3.new(1,1,1) | |
3587 | bndm.Scale = Vector3.new(8,8,8) | |
3588 | if i % 10 == 0 then | |
3589 | local newRng = rng2:Clone() | |
3590 | newRng.Parent = larm | |
3591 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
3592 | local newRngm = rngm2:clone() | |
3593 | newRngm.Parent=newRng | |
3594 | coroutine.wrap(function() | |
3595 | for i = 1, 10, 0.2 do | |
3596 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
3597 | newRng.Transparency = i/10 | |
3598 | wait() | |
3599 | end | |
3600 | wait() | |
3601 | newRng:Destroy() | |
3602 | end)() | |
3603 | end | |
3604 | wait() | |
3605 | end | |
3606 | wait() | |
3607 | Debounces.Shewt = false | |
3608 | bem:Destroy() | |
3609 | out:Destroy() | |
3610 | bnd:Destroy() | |
3611 | Debounces.Ready = false | |
3612 | for i, v in pairs(Touche) do | |
3613 | table.remove(Touche, i) | |
3614 | end | |
3615 | wait() | |
3616 | table.insert(Touche, char.Name) | |
3617 | Debounces.NoIdl = false | |
3618 | if Debounces.CanAttack == false then | |
3619 | Debounces.CanAttack = true | |
3620 | end | |
3621 | end | |
3622 | end | |
3623 | end) | |
3624 | ---------------------------------------------------- | |
3625 | --[[mouse.KeyDown:connect(function(key) | |
3626 | if key == "y" then | |
3627 | ||
3628 | z = Instance.new("Sound",char) | |
3629 | z.SoundId = "rbxassetid://864314263" | |
3630 | z.Pitch = 0.72 | |
3631 | z.Volume = 10 | |
3632 | wait(.1) | |
3633 | z:Play() | |
3634 | wait(5) | |
3635 | if Debounces.CanAttack == true then | |
3636 | Debounces.CanAttack = false | |
3637 | Debounces.NoIdl = true | |
3638 | Debounces.on = true | |
3639 | local shell = Instance.new("Part",torso) | |
3640 | shell.BrickColor = BrickColor.new("Really red") | |
3641 | shell.Anchored = false | |
3642 | shell.CanCollide = false | |
3643 | shell.Locked = true | |
3644 | shell.TopSurface = "SmoothNoOutlines" | |
3645 | shell.BottomSurface = "SmoothNoOutlines" | |
3646 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
3647 | shell.FormFactor = 3 | |
3648 | local shellm = Instance.new("SpecialMesh",shell) | |
3649 | shellm.MeshType = "Sphere" | |
3650 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
3651 | Omega = function() | |
3652 | local X = Instance.new("Part",char) | |
3653 | local O = Instance.new("ObjectValue",X) | |
3654 | O.Name = "creator" | |
3655 | X.Locked = true | |
3656 | X.Name = "Shell" | |
3657 | X.Anchored = false | |
3658 | X.CanCollide = false | |
3659 | X.Transparency = 0.5 | |
3660 | X.Reflectance = 0 | |
3661 | X.BottomSurface = 0 | |
3662 | X.TopSurface = 0 | |
3663 | X.Shape = 0 | |
3664 | local V = Instance.new("ObjectValue",X) | |
3665 | V.Value = char | |
3666 | V.Name = "creator" | |
3667 | X.BrickColor = BrickColor.new("Really red") | |
3668 | X.Size = Vector3.new(40,40,40) | |
3669 | --X.Material = "Neon" | |
3670 | local Z = Instance.new("SpecialMesh",X) | |
3671 | Z.MeshType = "Sphere" | |
3672 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
3673 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
3674 | local bv = Instance.new("BodyVelocity",X) | |
3675 | bv.maxForce = Vector3.new(99999,99999,99999) | |
3676 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
3677 | bv.velocity = root.CFrame.lookVector*10 | |
3678 | Explode = X.Touched:connect(function(hit) | |
3679 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then | |
3680 | local cf = X.CFrame | |
3681 | bv:Destroy() | |
3682 | X.Anchored = true | |
3683 | Z:Remove() | |
3684 | Explode:disconnect() | |
3685 | X.Size = Vector3.new(3,3,3) | |
3686 | X.Touched:connect(function(hit) end) | |
3687 | X.CanCollide = false | |
3688 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
3689 | if v:FindFirstChild('Humanoid') then | |
3690 | v.Humanoid:TakeDamage(math.random(120,120)) | |
3691 | end | |
3692 | end | |
3693 | for i = 1, (40) do rs:wait() | |
3694 | X.Transparency = X.Transparency + (1/40) | |
3695 | X.Size = X.Size + Vector3.new(1,1,1) | |
3696 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
3697 | end | |
3698 | X:Destroy() | |
3699 | end | |
3700 | end) | |
3701 | end | |
3702 | for i = 1,200 do | |
3703 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
3704 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
3705 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
3706 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3707 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3708 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3709 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3710 | if Debounces.on == false then break end | |
3711 | rs:wait() | |
3712 | end | |
3713 | for i = 1,30 do | |
3714 | shell.CFrame = torso.CFrame * CFrame.new(0,8,0) | |
3715 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
3716 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
3717 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3718 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3719 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3720 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3721 | if Debounces.on == false then break end | |
3722 | rs:wait() | |
3723 | end | |
3724 | for i = 1,40 do | |
3725 | shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
3726 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
3727 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
3728 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
3729 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3730 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3731 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3732 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3733 | if Debounces.on == false then break end | |
3734 | rs:wait() | |
3735 | end | |
3736 | for i = 1,40 do | |
3737 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
3738 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
3739 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
3740 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3741 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3742 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3743 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3744 | if Debounces.on == false then break end | |
3745 | rs:wait() | |
3746 | end | |
3747 | for i = 1,60 do | |
3748 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3749 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
3750 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
3751 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3752 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3753 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3754 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3755 | if Debounces.on == false then break end | |
3756 | rs:wait() | |
3757 | end | |
3758 | for i = 1,60 do | |
3759 | shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3760 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
3761 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
3762 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
3763 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3764 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3765 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3766 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3767 | if Debounces.on == false then break end | |
3768 | rs:wait() | |
3769 | end | |
3770 | if Debounces.CanAttack == false then | |
3771 | Debounces.CanAttack = true | |
3772 | Debounces.NoIdl = false | |
3773 | Debounces.on = false | |
3774 | end | |
3775 | end | |
3776 | end | |
3777 | end)]]-- | |
3778 | ---------------------------------------------------- | |
3779 | ||
3780 | Mouse.KeyDown:connect(function(key) | |
3781 | if key == "n" then | |
3782 | chatfunc("LETS ERASE EVERYTHING!!!") | |
3783 | SkyBeam() | |
3784 | end | |
3785 | end) | |
3786 | ||
3787 | ---------------- | |
3788 | Charging = false | |
3789 | mouse.KeyDown:connect(function(key) | |
3790 | if key == "r" then | |
3791 | v = Instance.new("Sound") | |
3792 | v.SoundId = "rbxassetid://447225089" | |
3793 | v.Parent = char | |
3794 | v.Looped = false | |
3795 | v.Pitch = 1 | |
3796 | v.Volume = 8 | |
3797 | wait(.01) | |
3798 | v:Play() | |
3799 | if Charging == false then | |
3800 | Charging = true | |
3801 | if Debounces.CanAttack == true then | |
3802 | Debounces.CanAttack = false | |
3803 | Debounces.NoIdl = true | |
3804 | Debounces.on = true | |
3805 | for i = 1,20 do | |
3806 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
3807 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
3808 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
3809 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
3810 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3811 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
3812 | if Debounces.on == false then break end | |
3813 | rs:wait() | |
3814 | end | |
3815 | --[[for i = 1,20 do | |
3816 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
3817 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
3818 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
3819 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
3820 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
3821 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
3822 | if Debounces.on == false then break end | |
3823 | rs:wait() | |
3824 | end]]-- | |
3825 | pt=Instance.new('Part',torso) | |
3826 | pt.Anchored=true | |
3827 | pt.CanCollide=false | |
3828 | pt.Locked = true | |
3829 | pt.FormFactor='Custom' | |
3830 | pt.Size=Vector3.new(1,1,1) | |
3831 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3832 | pt.Transparency=.6 | |
3833 | pt.BrickColor=BrickColor.new('Really black') | |
3834 | msh=Instance.new('SpecialMesh',pt) | |
3835 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
3836 | msh.Scale=Vector3.new(8,4,8) | |
3837 | pt2=pt:clone() | |
3838 | pt2.Parent = torso | |
3839 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3840 | pt2.BrickColor=BrickColor.new("Really red") | |
3841 | msh2=msh:clone() | |
3842 | msh2.Parent=pt2 | |
3843 | msh2.Scale=Vector3.new(10,5,10) | |
3844 | ||
3845 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
3846 | ||
3847 | bl = Instance.new("Part", char) | |
3848 | bl.Locked = true | |
3849 | bl.Name = "Shell" | |
3850 | bl.BrickColor = BrickColor.new("Really black") | |
3851 | bl.Anchored = true | |
3852 | bl.CanCollide = false | |
3853 | bl.Transparency = 0 | |
3854 | bl.Reflectance = 0 | |
3855 | bl.BottomSurface = 0 | |
3856 | bl.TopSurface = 0 | |
3857 | bl.Shape = 0 | |
3858 | blm = Instance.new("SpecialMesh",bl) | |
3859 | blm.MeshType = "Sphere" | |
3860 | blm.Scale = Vector3.new(1,1,1) | |
3861 | blm.MeshId = "rbxassetid://9982590" | |
3862 | ||
3863 | coroutine.resume(coroutine.create(function() | |
3864 | for i=1, math.huge, 4 do | |
3865 | if Charging == true then | |
3866 | rs:wait() | |
3867 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
3868 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
3869 | bl.Transparency = bl.Transparency + 0.005 | |
3870 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
3871 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
3872 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
3873 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
3874 | elseif Charging == false then break | |
3875 | end | |
3876 | end | |
3877 | end)) | |
3878 | ||
3879 | repeat | |
3880 | local p = Instance.new('Part',torso) | |
3881 | p.formFactor = 'Custom' | |
3882 | p.Size = Vector3.new(1,1,1) | |
3883 | p.BrickColor = workspace.Base.BrickColor | |
3884 | p.CanCollide = false | |
3885 | p.Transparency = 0 | |
3886 | p.Anchored = true | |
3887 | p.Locked=true | |
3888 | p.Material = workspace.Base.Material | |
3889 | s = math.random(1,40)/10 | |
3890 | local m = Instance.new("BlockMesh",p) | |
3891 | m.Scale = Vector3.new(s,s,s) | |
3892 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
3893 | --[[coroutine.wrap(function() | |
3894 | wait(2) | |
3895 | while Charging == true do | |
3896 | wait(2) | |
3897 | GroundWave1() | |
3898 | wait(2) | |
3899 | end | |
3900 | end)()]]-- | |
3901 | Spawn(function() | |
3902 | while rs:wait() do | |
3903 | if Charging == true then | |
3904 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
3905 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
3906 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
3907 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
3908 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
3909 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
3910 | elseif Charging == false then break | |
3911 | end | |
3912 | end | |
3913 | end) | |
3914 | Spawn(function() | |
3915 | while rs:wait() do | |
3916 | if p.Transparency >= 1 then p:Destroy() break end | |
3917 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
3918 | p.Transparency = p.Transparency+0.01 | |
3919 | end | |
3920 | end) | |
3921 | wait(.3) | |
3922 | until Charging == false | |
3923 | end | |
3924 | end | |
3925 | end | |
3926 | end) | |
3927 | ---------------------------------------------------- | |
3928 | mouse.KeyUp:connect(function(key) | |
3929 | if key == "r" then | |
3930 | if Charging == true then | |
3931 | Charging = false | |
3932 | pt:Destroy() | |
3933 | pt2:Destroy() | |
3934 | bl:Destroy() | |
3935 | if Debounces.CanAttack == false then | |
3936 | Debounces.CanAttack = true | |
3937 | Debounces.NoIdl = false | |
3938 | Debounces.on = false | |
3939 | end | |
3940 | end | |
3941 | end | |
3942 | end) | |
3943 | ---------------------------------------------------- | |
3944 | mouse.KeyDown:connect(function(key) | |
3945 | if key == "g" then | |
3946 | if Debounces.CanAttack == true then | |
3947 | Debounces.CanAttack = false | |
3948 | Debounces.NoIdl = true | |
3949 | Debounces.on = true | |
3950 | local shell = Instance.new("Part",torso) | |
3951 | shell.BrickColor = BrickColor.new("Really red") | |
3952 | shell.Anchored = true | |
3953 | shell.CanCollide = false | |
3954 | shell.Locked = true | |
3955 | shell.TopSurface = "SmoothNoOutlines" | |
3956 | shell.BottomSurface = "SmoothNoOutlines" | |
3957 | shell.Size = Vector3.new(1,1,1) | |
3958 | shellm = Instance.new("SpecialMesh",shell) | |
3959 | shellm.MeshType = "Sphere" | |
3960 | shellm.Scale = Vector3.new(1,1,1) | |
3961 | local shell2 = Instance.new("Part",torso) | |
3962 | shell2.BrickColor = BrickColor.new("Really red") | |
3963 | shell2.Anchored = true | |
3964 | shell2.CanCollide = false | |
3965 | shell2.Locked = true | |
3966 | shell2.TopSurface = "SmoothNoOutlines" | |
3967 | shell2.BottomSurface = "SmoothNoOutlines" | |
3968 | shell2.Size = Vector3.new(1,1,1) | |
3969 | shellm2 = Instance.new("SpecialMesh",shell2) | |
3970 | shellm2.MeshType = "Sphere" | |
3971 | shellm2.Scale = Vector3.new(1,1,1) | |
3972 | ||
3973 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
3974 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
3975 | local List = {} | |
3976 | for i,v in pairs(workspace:GetChildren())do | |
3977 | if v:IsA("Model")then | |
3978 | if v:findFirstChild("Torso")then | |
3979 | if v ~= char then | |
3980 | if(v.Torso.Position -Position).magnitude <= Distance then | |
3981 | table.insert(List,v) | |
3982 | end | |
3983 | end | |
3984 | end | |
3985 | end | |
3986 | end | |
3987 | return List | |
3988 | end | |
3989 | ||
3990 | Shell = function() | |
3991 | local X = Instance.new("Part",char) | |
3992 | local O = Instance.new("ObjectValue",X) | |
3993 | O.Name = "creator" | |
3994 | X.Locked = true | |
3995 | X.Name = "Shell" | |
3996 | X.Anchored = false | |
3997 | X.CanCollide = false | |
3998 | X.Transparency = 0 | |
3999 | X.Reflectance = 0 | |
4000 | X.BottomSurface = 0 | |
4001 | X.TopSurface = 0 | |
4002 | X.Shape = 0 | |
4003 | local V = Instance.new("ObjectValue",X) | |
4004 | V.Value = char | |
4005 | V.Name = "creator" | |
4006 | X.BrickColor = BrickColor.new("Really red") | |
4007 | X.Size = Vector3.new(1,1,1) | |
4008 | --X.Material = "Neon" | |
4009 | local Z = Instance.new("SpecialMesh",X) | |
4010 | Z.MeshType = "Sphere" | |
4011 | Z.Scale = Vector3.new(1,1,1) | |
4012 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
4013 | local bv = Instance.new("BodyVelocity",X) | |
4014 | bv.maxForce = Vector3.new(99999,99999,99999) | |
4015 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
4016 | bv.velocity = root.CFrame.lookVector*65 | |
4017 | Explode = X.Touched:connect(function(hit) | |
4018 | if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then | |
4019 | local cf = X.CFrame | |
4020 | bv:Destroy() | |
4021 | X.Anchored = true | |
4022 | Z:Remove() | |
4023 | Explode:disconnect() | |
4024 | X.Size = Vector3.new(3,3,3) | |
4025 | X.Touched:connect(function(hit) end) | |
4026 | X.CanCollide = false | |
4027 | for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do | |
4028 | if v:FindFirstChild('Humanoid') then | |
4029 | v.Humanoid:TakeDamage(math.random(15,18)) | |
4030 | end | |
4031 | end | |
4032 | for i = 1, (40) do rs:wait() | |
4033 | X.Transparency = X.Transparency + (1/40) | |
4034 | X.Size = X.Size + Vector3.new(1,1,1) | |
4035 | X.CFrame = cf | |
4036 | end | |
4037 | X:Destroy() | |
4038 | end | |
4039 | end) | |
4040 | end | |
4041 | Shell() | |
4042 | for i = 1, 10 do | |
4043 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4044 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4045 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4046 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4047 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7) | |
4048 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7) | |
4049 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7) | |
4050 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7) | |
4051 | if Debounces.on == false then break end | |
4052 | rs:wait() | |
4053 | end | |
4054 | Shell() | |
4055 | shell.Transparency = 1 | |
4056 | for i = 1, 10 do | |
4057 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4058 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4059 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4060 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4061 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4062 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4063 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4064 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4065 | if Debounces.on == false then break end | |
4066 | rs:wait() | |
4067 | end | |
4068 | Shell() | |
4069 | shell.Transparency = 0 | |
4070 | shell2.Transparency = 1 | |
4071 | for i = 1, 10 do | |
4072 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4073 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4074 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4075 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4076 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4077 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4078 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4079 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4080 | if Debounces.on == false then break end | |
4081 | rs:wait() | |
4082 | end | |
4083 | Shell() | |
4084 | shell2.Transparency = 0 | |
4085 | shell.Transparency = 1 | |
4086 | for i = 1, 10 do | |
4087 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4088 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4089 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4090 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4091 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4092 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4093 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4094 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4095 | if Debounces.on == false then break end | |
4096 | rs:wait() | |
4097 | end | |
4098 | Shell() | |
4099 | shell.Transparency = 0 | |
4100 | shell2.Transparency = 1 | |
4101 | for i = 1, 10 do | |
4102 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4103 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4104 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4105 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4106 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4107 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4108 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4109 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4110 | if Debounces.on == false then break end | |
4111 | rs:wait() | |
4112 | end | |
4113 | Shell() | |
4114 | shell2.Transparency = 0 | |
4115 | shell.Transparency = 1 | |
4116 | for i = 1, 10 do | |
4117 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4118 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4119 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4120 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4121 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4122 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4123 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4124 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4125 | if Debounces.on == false then break end | |
4126 | rs:wait() | |
4127 | end | |
4128 | Shell() | |
4129 | shell.Transparency = 0 | |
4130 | shell2.Transparency = 1 | |
4131 | for i = 1, 10 do | |
4132 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4133 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4134 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4135 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5) | |
4136 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4137 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4138 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4139 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4140 | if Debounces.on == false then break end | |
4141 | rs:wait() | |
4142 | end | |
4143 | Shell() | |
4144 | shell2.Transparency = 0 | |
4145 | shell.Transparency = 1 | |
4146 | for i = 1, 10 do | |
4147 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4148 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4149 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4150 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4151 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4152 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4153 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4154 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4155 | if Debounces.on == false then break end | |
4156 | rs:wait() | |
4157 | end | |
4158 | Shell() | |
4159 | shell.Transparency = 0 | |
4160 | shell2.Transparency = 1 | |
4161 | for i = 1, 10 do | |
4162 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4163 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4164 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4165 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4166 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4167 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4168 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4169 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4170 | if Debounces.on == false then break end | |
4171 | rs:wait() | |
4172 | end | |
4173 | Shell() | |
4174 | shell2.Transparency = 0 | |
4175 | shell.Transparency = 1 | |
4176 | for i = 1, 10 do | |
4177 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4178 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4179 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4180 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4181 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4182 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4183 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4184 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4185 | if Debounces.on == false then break end | |
4186 | rs:wait() | |
4187 | end | |
4188 | Shell() | |
4189 | shell.Transparency = 0 | |
4190 | shell2.Transparency = 1 | |
4191 | for i = 1, 10 do | |
4192 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4193 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4194 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4195 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4196 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4197 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4198 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4199 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4200 | if Debounces.on == false then break end | |
4201 | rs:wait() | |
4202 | end | |
4203 | Shell() | |
4204 | shell2.Transparency = 0 | |
4205 | shell.Transparency = 1 | |
4206 | for i = 1, 10 do | |
4207 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4208 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4209 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7) | |
4210 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7) | |
4211 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7) | |
4212 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7) | |
4213 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7) | |
4214 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7) | |
4215 | if Debounces.on == false then break end | |
4216 | rs:wait() | |
4217 | end | |
4218 | Shell() | |
4219 | shell.Transparency = 0 | |
4220 | shell2.Transparency = 1 | |
4221 | for i = 1, 10 do | |
4222 | shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0) | |
4223 | shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0) | |
4224 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7) | |
4225 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7) | |
4226 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7) | |
4227 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7) | |
4228 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7) | |
4229 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7) | |
4230 | if Debounces.on == false then break end | |
4231 | rs:wait() | |
4232 | end | |
4233 | shell.Transparency = 1 | |
4234 | if Debounces.CanAttack == false then | |
4235 | Debounces.CanAttack = true | |
4236 | Debounces.NoIdl = false | |
4237 | Debounces.on = false | |
4238 | end | |
4239 | end | |
4240 | end | |
4241 | end) | |
4242 | ---------------------------------------------------- | |
4243 | Search = false | |
4244 | mouse.KeyDown:connect(function(key) | |
4245 | if key == "n" then | |
4246 | if Search == false then | |
4247 | Search = true | |
4248 | for i,v in pairs(game.Players:getPlayers()) do | |
4249 | if v.Name~=char.Name then | |
4250 | for j,k in pairs(v.Character:GetChildren()) do | |
4251 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
4252 | bawx=Instance.new("SelectionBox",cam) | |
4253 | bawx.Color = BrickColor.new("Bright red") | |
4254 | bawx.Transparency = .5 | |
4255 | bawx.Adornee = k | |
4256 | end | |
4257 | end | |
4258 | end | |
4259 | end | |
4260 | elseif Search == true then | |
4261 | Search = false | |
4262 | for i, v in pairs(cam:GetChildren()) do | |
4263 | if v:IsA("SelectionBox") then | |
4264 | v:Destroy() | |
4265 | end | |
4266 | end | |
4267 | end | |
4268 | end | |
4269 | end) | |
4270 | ---------------------------------------------------- | |
4271 | ||
4272 | ------------------------------------------ | |
4273 | mouse.KeyDown:connect(function(key) | |
4274 | if string.byte(key) == 52 then | |
4275 | char.Humanoid.WalkSpeed = 60 | |
4276 | end | |
4277 | end) | |
4278 | mouse.KeyUp:connect(function(key) | |
4279 | if string.byte(key) == 52 then | |
4280 | char.Humanoid.WalkSpeed = 8 | |
4281 | end | |
4282 | end) | |
4283 | ------------------------------- | |
4284 | local animpose = "Idle" | |
4285 | local lastanimpose = "Idle" | |
4286 | local sine = 0 | |
4287 | local change = 1 | |
4288 | local val = 0 | |
4289 | local ffing = false | |
4290 | ------------------------------- | |
4291 | game:GetService("RunService").RenderStepped:connect(function() | |
4292 | --[[if char.Humanoid.Jump == true then | |
4293 | jump = true | |
4294 | else | |
4295 | jump = false | |
4296 | end]] | |
4297 | char.Humanoid.FreeFalling:connect(function(f) | |
4298 | if f then | |
4299 | ffing = true | |
4300 | else | |
4301 | ffing = false | |
4302 | end | |
4303 | end) | |
4304 | sine = sine + change | |
4305 | if jumpn == true then | |
4306 | animpose = "Jumping" | |
4307 | elseif ffing == true then | |
4308 | animpose = "Freefalling" | |
4309 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
4310 | animpose = "Idle" | |
4311 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
4312 | animpose = "Walking" | |
4313 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
4314 | animpose = "Running" | |
4315 | end | |
4316 | if animpose ~= lastanimpose then | |
4317 | sine = 0 | |
4318 | if Debounces.NoIdl == false then | |
4319 | if animpose == "Idle" then | |
4320 | for i = 1, 2 do | |
4321 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
4322 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
4323 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
4324 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
4325 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
4326 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
4327 | end | |
4328 | elseif animpose == "Walking" then | |
4329 | for i = 1, 2 do | |
4330 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
4331 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
4332 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
4333 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
4334 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
4335 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
4336 | end | |
4337 | elseif animpose == "Running" then | |
4338 | for i = 1, 2 do | |
4339 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
4340 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
4341 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
4342 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
4343 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
4344 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
4345 | wait() | |
4346 | end | |
4347 | end | |
4348 | else | |
4349 | end | |
4350 | end | |
4351 | lastanimpose = animpose | |
4352 | if Debounces.NoIdl == false then | |
4353 | if animpose == "Idle" then | |
4354 | change = 0.5 | |
4355 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(17.5),math.rad(90+2*math.cos(sine/14))), 0.4) | |
4356 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.51+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(31),math.rad(-32),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
4357 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(-70),0), 0.2) | |
4358 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(70), math.rad(0)), 0.05) | |
4359 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35-0.05*math.cos(sine/14), 0, 0), 0.4) | |
4360 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.25+0.05*math.cos(sine/14),0,0), 0.4) | |
4361 | elseif animpose == "Walking" then | |
4362 | change = 1 | |
4363 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
4364 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
4365 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
4366 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
4367 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
4368 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
4369 | elseif animpose == "Running" then | |
4370 | change = 1 | |
4371 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-22),math.rad(20+2*math.cos(sine/14))), 0.2) | |
4372 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-10),math.rad(10),math.rad(-14-2*math.cos(sine/14))), 0.2) | |
4373 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(20),0,0), 0.4) | |
4374 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
4375 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-40),0, math.rad(0)), 0.05) | |
4376 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(-8)), 0.4) | |
4377 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(8)), 0.4) | |
4378 | end | |
4379 | end | |
4380 | end) | |
4381 | ||
4382 | hum.MaxHealth = 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
4383 | wait(3) | |
4384 | hum.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999 |