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