View difference between Paste ID: PZ8i9f0k and P3kfi4rN
SHOW: | | - or go back to the newest paste.
1-
--[[Genkadda_Omega (WIP) by Me]]--
1+
--[[Genkadda_Omega (WIP) by Citrus]]--
2
--[[Version 2]]--
3
4
5
--[[Thank you to Fang and Asriel/Frisk for helping fix cero and adding the nightshift blast]]--
6
--[[Thank you to PixelFir3 for the gauntlet]]--
7
--[[And thank you to TheDarkRevenant for making the original Genkadda!]]--
8
9
10
11
--[[	TODO List:
12
	
13
	Fix Cero beam angle (it's a bit off compared to the other one)
14
	Redo some animations entirely
15
	Make a toggle for turning future voice sfx on/off(?)
16
	More attacks, including alternate attacks when dashing
17
	Remove any redundant bits and generally clean up
18
	Make the charge (C) grab someone when Z or X is held
19
	
20
21
Changes:
22
23
	v2:
24
		- Added a few customization/configuration settings
25
		- Added basic alternating attacks (Q)
26
		- Added a charge attack
27
		- Added a boost jump
28
		- Hood n' cape
29
		- Added a throw and kick
30
			- While not grabbing someone, press X to kick.
31
			- While grabbing someone, press X to throw them.
32
33
		- Puncture attack with R in boosted mode, good for hitting low enemies if aimed correctly
34
		- Damage markers
35
		- Modified boosted mode's Q move to swing three times
36
		- Melee attacks leave you floating properly in boosted mode
37
38
39
	v1:
40
		- Added a boosted/holy mode that can be toggled with H
41
			- While in this mode, attacks are altered
42
			- Rushing spin attack
43
			- Different dashing animation
44
45
		- Added Cero Beam and Nightshift Blast from Zerioth
46
		- Added other, larger beam
47
		- Made the standard two swipes with q actually hit both times
48
49
Controls:
50
51
	Q = Two sword swipes/Alternating sword attacks
52
	E = Slap
53
	R = Overhead downwards swing/Sting jab
54
	T = Pelvic thrust
55
	Y = Nightshift blast 
56
	G = Spinning attack/Boost spin
57
	C = Cero beam/Charge attack
58
	V = Large beam
59
	Z = Grab
60
	X = Kick (When not holding someone)/Throw (When holding someone)
61
	Left Ctrl = Sprint/Dash
62
	N = Boost jump
63
	F = Toggle flight
64
65
	H = Switch between dark/light (boosted) mode
66
	
67
	
68
Configuration:]]
69
70
BoostedAlwaysDashes = false --[[ Set to true to always dash when boosted. ]]
71
72
BoostedColorScheme = "Pastel light blue" --[[ BrickColor for use in boosted mode ]]
73
74
Profanity = false --[[ Enables/disables Genkadda's profanity when slapping someone or pressing L ]]
75
76
AirHumpDamage = false --[[ Pressing T does damage. (Possibly buggy?) ]]
77
78
Hood = true --[[ Equips hood ]]
79
80
Cape = true --[[ Equips cape ]]
81
82
---------------------------------------------------------------------------------------------------------------------------
83
84
---------------------------------------------------------------------------------------------------------------------------
85-
local p = game.Players.LocalPlayer
85+
local p = game.Players.YScripter
86
local char = p.Character
87
local mouse = p:GetMouse()
88
local larm = char["Left Arm"]
89
local rarm = char["Right Arm"]
90
local lleg = char["Left Leg"]
91
local rleg = char["Right Leg"]
92
local hed = char.Head
93
local torso = char.Torso
94
----------------------------------------------
95
z = Instance.new("Sound", torso)
96-
z.SoundId = "rbxassetid://257575717" -- Put Music ID Here.
96+
z.SoundId = "rbxassetid://485935471" -- Put Music ID Here.
97
z.Looped = true
98
z.Volume = 1
99
wait(.1)
100
z:Play()
101
---------------------------------------------
102
local hum = char.Humanoid
103
local cam = game.Workspace.CurrentCamera
104
local root = char.HumanoidRootPart
105
local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
106
local vt=Vector3.new
107
local deb = false
108
local CanAttack = true
109
local shot = 0
110
local animpose = "Idle"
111
local lastanimpose = "Idle"
112
local stanceToggle = "Normal"
113
local l = game:GetService("Lighting")
114
local rs = game:GetService("RunService").RenderStepped
115
math.randomseed(os.time())
116
hum.MaxHealth = 9001
117
wait(1)
118
hum.Health = 9001
119
120
for i,v in pairs (hed:GetChildren()) do
121
	if v:IsA("Sound") then
122
		v:Destroy()
123
	end
124
end
125
--game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char
126
--char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813"
127
128
129
Mesh2 = function(par,num,x,y,z)
130
    local msh = _
131
    if num == 1 then
132
        msh = Instance.new("CylinderMesh",par)
133
    elseif num == 2 then
134
        msh = Instance.new("SpecialMesh",par)
135
        msh.MeshType = 3
136
    elseif num == 3 then
137
        msh = Instance.new("BlockMesh",par)
138
    elseif num == 4 then
139
        msh = Instance.new("SpecialMesh",par)
140
        msh.MeshType = "Torso"
141
    elseif type(num) == 'string' then
142
        msh = Instance.new("SpecialMesh",par)
143
        msh.MeshId = num
144
    end 
145
    msh.Scale = Vector3.new(x,y,z)
146
    return msh
147
end
148
149
Weld2 = function(p0,p1,x,y,z,rx,ry,rz,par)
150
    local w = Instance.new('Motor',par or p0)
151
    w.Part0 = p0
152
    w.Part1 = p1
153
    w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
154
    return w
155
end
156
157
function NoOutline(Part)
158
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
159
end
160
161
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
162
local fp=Instance.new("Part")
163
fp.formFactor=formfactor 
164
fp.Parent=parent
165
fp.Reflectance=reflectance
166
fp.Transparency=transparency
167
fp.CanCollide=false 
168
fp.Locked=true
169
fp.BrickColor=brickcolor
170
fp.Name=name
171
fp.Size=size
172
fp.Position=torso.Position 
173
NoOutline(fp)
174
fp.Material="SmoothPlastic"
175
fp:BreakJoints()
176
return fp 
177
end 
178
179
if Hood == true then
180
for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
181
local hat = part(3,char,0,0,BrickColor.new("Really black"),"Hood",vt(0.5,1,1.02))
182
Mesh2(hat,'http://www.roblox.com/asset/?id=16952952',1.05,1.05,1.05) --hood
183
Weld2(char.Head,hat,0,-.25,0,0,0,0,hat)
184
end
185
186
187
if Cape == true then
188
	
189
local verlet = {}
190
verlet.step_time = 1 / 50
191
verlet.gravity = Vector3.new(0, -150, 0)
192
193
local char = game.Players.LocalPlayer.Character
194
local torso = char:WaitForChild("Torso")
195
local parts = {}
196
local render = game:GetService("RunService").RenderStepped
197
198
wait()
199
200
local point = {}
201
local link = {}
202
local rope = {}
203
204
local function ccw(A,B,C)
205
    return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
206
end
207
208
local function intersect(A,B,C,D)
209
    return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
210
end
211
212
local function vec2(v)
213
	return Vector2.new(v.x, v.z)
214
end
215
216
function point:step()
217
	if not self.fixed then
218
		local derivative = (self.position - self.last_position) * 0.95
219
		self.last_position = self.position
220
		self.position = self.position + derivative + ((verlet.gravity + (torso.CFrame.lookVector * -90)) * verlet.step_time ^ 2) --//
221
		--[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
222
		local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
223
		local pointE = self.position + torso.CFrame.lookVector * 100
224
		local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
225
		if not doIntersect then
226
			self.postition = self.position - torso.CFrame.lookVector * 10
227
		end]]
228
	end
229
end
230
231
function link:step()
232
	for i = 1, 1 do
233
		local distance = self.point1.position - self.point2.position
234
		local magnitude = distance.magnitude
235
		local differance = (self.length - magnitude) / magnitude
236
		local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
237
		if not self.point1.fixed then
238
			self.point1.position = self.point1.position + translation
239
		end
240
		if not self.point2.fixed then
241
			self.point2.position = self.point2.position - translation
242
		end
243
	end
244
end
245
246
function verlet.new(class, a, b, c)
247
	if class == "Point" then
248
		local new = {}
249
		setmetatable(new, {__index = point})
250
		new.class = class
251
		new.position = a or Vector3.new()
252
		new.last_position = new.position
253
		new.velocity = verlet.gravity
254
		new.fixed = false
255
		return new
256
	elseif class == "Link" then
257
		local new = {}
258
		setmetatable(new, {__index = link})
259
		new.class = class
260
		new.point1 = a
261
		new.point2 = b
262
		new.length = c or (a.position - b.position).magnitude
263
		return new
264
	elseif class == "Rope" then
265
		local new = {}
266
		setmetatable(new, {__index = link})
267
		new.class = class
268
		new.start_point = a
269
		new.finish_point = b
270
		new.points = {}
271
		new.links = {}
272
		local inc = (b - a) / 10
273
		for i = 0, 10 do
274
			table.insert(new.points, verlet.new("Point", a + (i * inc)))
275
		end
276
		for i = 2, #new.points do
277
			table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
278
		end
279
		return new
280
	end
281
end
282
283
local tris = {}
284
local triParts = {}
285
286
local function GetDiscoColor(hue)
287
 local section = hue % 1 * 3
288
 local secondary = 0.5 * math.pi * (section % 1)
289
 if section < 1 then
290
  return Color3.new(0, 0, 0)
291
 elseif section < 2 then
292
  return Color3.new(0, 0, 0)
293
 else
294
  return Color3.new(0, 0, 0)
295
 end
296
end
297
298
local function setupPart(part)
299
	part.Anchored = true
300
	part.FormFactor = 3
301
	part.CanCollide = false
302
	part.TopSurface = 10
303
	part.BottomSurface = 10
304
	part.LeftSurface = 10
305
	part.RightSurface = 10
306
	part.FrontSurface = 10
307
	part.BackSurface = 10
308
	part.Material = "Neon"
309
	local m = Instance.new("SpecialMesh", part)
310
	m.MeshType = "Wedge"
311
	m.Scale = Vector3.new(0.2, 1, 1)
312
	return part
313
end
314
315
local function CFrameFromTopBack(at, top, back)
316
	local right = top:Cross(back)
317
	return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x,  right.y, top.y, back.y, right.z, top.z, back.z)
318
end
319
320
local function drawTri(parent, a, b, c)
321
	local this = {}
322
	local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
323
	local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
324
	function this:Set(a, b, c)
325
		local ab, bc, ca = b-a, c-b, a-c
326
		local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
327
		local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
328
		local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
329
		local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
330
		if edg1 < edg2 then
331
			if edg1 >= edg3 then		
332
				a, b, c = c, a, b
333
				ab, bc, ca = ca, ab, bc
334
				abm = cam
335
			end
336
		else
337
			if edg2 < edg3 then
338
				a, b, c = b, c, a
339
				ab, bc, ca = bc, ca, ab
340
				abm = bcm
341
			else
342
				a, b, c = c, a, b
343
				ab, bc, ca = ca, ab, bc
344
				abm = cam
345
			end
346
		end
347
	 
348
		local len1 = -ca:Dot(ab)/abm
349
		local len2 = abm - len1
350
		local width = (ca + ab.unit*len1).magnitude
351
	 
352
		local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
353
	 
354
		if len1 > 0.2 then
355
			mPart1.Parent = parent
356
			mPart1.Size = Vector3.new(0.2, width, len1)
357
			mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
358
		else
359
			mPart1.Parent = nil
360
		end
361
		
362
		if len2 > 0.2 then
363
			mPart2.Parent = parent
364
			mPart2.Size = Vector3.new(0.2, width, len2)
365
			mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
366
		else
367
			mPart2.Parent = nil
368
		end	
369
	end
370
	function this:SetProperty(prop, value)
371
		mPart1[prop] = value
372
		mPart2[prop] = value
373
	end
374
	this:Set(a, b, c)
375
	function this:Destroy()
376
		mPart1:Destroy()
377
		mPart2:Destroy()
378
	end
379
	this.p1 = mPart1
380
	this.p2 = mPart2
381
	this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
382
	this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
383
	return this
384
end
385
386
function verlet.draw(object, id)
387
	if object.class == "Point" then
388
		local part = parts[id]
389
		part.BrickColor = BrickColor.new(255, 0, 0)
390
		part.Transparency = 0
391
		part.formFactor = 3
392
		part.Anchored = true
393
		part.CanCollide = false
394
		part.TopSurface = 0
395
		part.BottomSurface = 0
396
		part.Size = Vector3.new(0.35, 0.35, 0.35)
397
		part.Material = "Neon"
398
		part.CFrame = CFrame.new(object.position)
399
		part.Parent = torso
400
		return part
401
	elseif object.class == "Link" then
402
		local part = parts[id]
403
		local dist = (object.point1.position - object.point2.position).magnitude
404
		part.Size = Vector3.new(0.2, 0.2, dist)
405
		part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
406
		part.Parent = torso
407
		return part
408
	end
409
end
410
411
function verlet.clear()
412
	for _, v in pairs(workspace:GetChildren()) do
413
		if v.Name == "Part" then
414
			v:Destroy()
415
		end
416
	end
417
end
418
419
local points = {}
420
local links = {}
421
422
for x = 0, 2 do
423
	points[x] = {}
424
	for y = 0, 3 do
425
		points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
426
		points[x][y].fixed = y == 0
427
	end
428
end
429
430
for x = 1, 2 do
431
	for y = 0, 3 do
432
		links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
433
	end
434
end
435
436
for x = 0, 2 do
437
	for y = 1, 3 do
438
		links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
439
	end
440
end
441
442
render:connect(function()
443
	for x = 0, 2 do
444
		for y = 0, 3 do
445
			if y == 0 then
446
				points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
447
			else
448
				points[x][y]:step()
449
			end
450
		end
451
	end
452
	for i = 1, #links do
453
		links[i]:step()
454
	end
455
	for i = 1, #tris do
456
		triParts[#triParts + 1] = tris[i].p1
457
		triParts[#triParts + 1] = tris[i].p2
458
	end
459
	tris = {}
460
	for x = 1, 2 do
461
		for y = 1, 3 do
462
			tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
463
			tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
464
		end
465
	end
466
end)
467
end
468
----------------------------------------------------
469
--[[Additional Variables]]
470
471
472
473
474
475
local lightspeed = math.random(0.1,0.2)
476
local holy = false -- Is in holy/boosted form?
477
local eColors = {"Dark indigo", "Really black"}
478
local idz = {"161006212", "161006195"}
479
local Effects={}
480
local attackvalue = 1
481
482
    hs = Instance.new("Sound",torso)
483
    hs.SoundId = "http://www.roblox.com/asset/?id=149560784"
484
    hs.Pitch = 1.2
485
    hs.Volume = 0.6
486
	hs.Looped = true
487
488
    ds = Instance.new("Sound",torso)
489
    ds.SoundId = "http://roblox.com/asset/?id=149560784"
490
    ds.Pitch = 0.3
491
    ds.Volume = 0.4
492
	ds.Looped = true
493
494
  
495
ds:play()
496
497
498
if holy == false then
499
eColors = {"Dark indigo", "Really black"}
500
else if holy == true then
501
eColors = {BoostedColorScheme} 
502
end
503
end
504
505
local ptz = {0.7, 0.8, 0.9, 1}
506
local ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
507
508
509
partic2 = Instance.new("ParticleEmitter",torso)
510
partic2.Color = ColorSequence.new(Color3.new(100/225,100/255,100/255),Color3.new(100/255,100/255,100/255))
511
partic2.LightEmission = .95
512
partic2.VelocityInheritance = 0.2
513
partic2.Rate = 300
514
partic2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" 
515
partic2.Lifetime = NumberRange.new(0.1,0.2)
516
partic2.RotSpeed = NumberRange.new(100,100)
517
partic2.Speed = NumberRange.new(2,6)
518
partic2.Enabled = false
519
partic2.LockedToPart = false 
520
521
522
523
524
----------------------------------------------------
525
--[[Additional Functions]]
526
527
	cf=CFrame.new
528
	vt=Vector3.new
529
530
	function swait(num)
531
    if num==0 or num==nil then
532
    game:service'RunService'.Stepped:wait(0)
533
    else
534
    for i=0,num do
535
    game:service'RunService'.Stepped:wait(0)
536
    end
537
    end
538
	end
539
540
so = function(id,par,vol,pit) 
541
coroutine.resume(coroutine.create(function()
542
local sou = Instance.new("Sound",par or workspace)
543
sou.Volume=vol
544
sou.Pitch=pit or 1
545
sou.SoundId=id
546
swait() 
547
sou:play() 
548
game:GetService("Debris"):AddItem(sou,6)
549
end))
550
end
551
552
----------------------------------------------------
553
function newRay(start,face,range,wat)
554
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
555
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
556
	return rey,hit,pos
557
end
558
559
----------------------------------------------------
560
561
lmod = Instance.new("Model",char)
562
563
function Landing()
564
    part=Instance.new('Part',lmod)
565
    part.Anchored=true
566
    part.CanCollide=false
567
    part.FormFactor='Custom'
568
    part.Size=Vector3.new(.2,.2,.2)
569
    part.CFrame=root.CFrame*CFrame.new(0,-2,0)
570
    part.Transparency=.7
571
    part.BrickColor=BrickColor.new('Institutional white')
572
    mesh=Instance.new('SpecialMesh',part)
573
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
574
    mesh.Scale=Vector3.new(8,3,8)
575
576
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,20))do
577
        if v:FindFirstChild('Humanoid') then
578
            v.Humanoid:TakeDamage(math.random(20,30))
579
            v.Humanoid.PlatformStand = true
580
		coroutine.resume(coroutine.create(function()
581
			wait(2)
582
			v.Humanoid.PlatformStand = false
583
		end))
584
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
585
        end
586
    end
587
588
    coroutine.resume(coroutine.create(function() 
589
        for i=0,3.8,0.05 do
590
            wait()
591
            part.CFrame=part.CFrame
592
            part.Transparency=i + 0.5
593
            mesh.Scale=mesh.Scale+Vector3.new(1, -0.1 ,1)
594
            end
595
        part.Parent = nil
596
    end))
597
end
598
----------------------------------------------------
599
hs1 = Instance.new("Sound",hed)
600
hs1.Volume=1
601
hs1.Looped = false
602
hs1.Pitch = 1 
603
hs1.SoundId = "http://roblox.com/asset/?id=419372077"
604
605
hs2 = Instance.new("Sound",hed)
606
hs2.Volume=1
607
hs2.Looped = false
608
hs2.Pitch = 1 
609
hs2.SoundId = "http://roblox.com/asset/?id=419378177"
610
611
612
local DGU = function(p,txt)
613
hs1:Play()
614
hs2:Play()
615
local par = Instance.new("Part",game.Workspace)
616
par.Transparency = 1
617
par.Anchored = true
618
par.CFrame = p.CFrame
619
par.CanCollide = false
620
game.Debris:AddItem(par,10)
621
local f = Instance.new("BillboardGui",par)
622
f.Size = UDim2.new(1.2,0,1.2,0)
623
f.AlwaysOnTop = true
624
f.StudsOffset = Vector3.new(0,2,0)
625
local fr = Instance.new("Frame",f)
626
fr.BackgroundTransparency = 1
627
fr.Size = UDim2.new(1,0,1,0)
628
fr.ClipsDescendants = true
629
local fe = Instance.new("TextLabel",fr)
630
fe.Size = UDim2.new(1,0,1,0)
631
fe.BackgroundTransparency = 1
632
633
if holy ~= true then
634
fe.TextColor3 = BrickColor.new("Royal purple").Color
635
else
636
fe.TextColor3 = BrickColor.new(BoostedColorScheme).Color
637
end
638
639
fe.TextStrokeTransparency = 0
640
fe.Text = txt
641
fe.TextScaled = true
642
fe.Font = "Legacy"
643
fe.Position = UDim2.new(0,0,1,0)
644
fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
645
wait(2)
646
fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
647
for i = 0,10 do
648
wait()
649
fe.TextTransparency = fe.TextTransparency + .1
650
end
651
end
652
653
654
655
makeui = function(color,txt)
656
	local par = Instance.new("Part",game.Workspace)
657
par.Transparency = 1
658
par.Anchored = true
659
par.CFrame = char.Head.CFrame
660
par.CanCollide = false
661
game.Debris:AddItem(par,10)
662
local f = Instance.new("BillboardGui",par)
663
f.Size = UDim2.new(1.2,0,1.2,0)
664
f.AlwaysOnTop = true
665
f.StudsOffset = Vector3.new(0,4,0)
666
local fr = Instance.new("Frame",f)
667
fr.BackgroundTransparency = 1
668
fr.Size = UDim2.new(2,0,2,0)
669
fr.ClipsDescendants = true
670
local fe = Instance.new("TextLabel",fr)
671
fe.Size = UDim2.new(1,0,1,0)
672
fe.BackgroundTransparency = 1
673
fe.TextColor3 = Color3.new(255,255,255)
674
fe.TextStrokeTransparency = 0
675
fe.Text = txt
676
fe.TextScaled = true
677
fe.Font = "SourceSansBold"
678
game.Debris:AddItem(f,4)
679
fe.Position = UDim2.new(0,0,1,0)
680
fe:TweenPosition(UDim2.new(0,0,0,0),"In","Linear",.5)
681
wait(2)
682
fe:TweenPosition(UDim2.new(0,0,-1,0),"In","Linear",.4)
683
for i = 0,10 do
684
wait()
685
fe.TextTransparency = fe.TextTransparency + .1
686
end
687
end
688
689
690
691
----------------------------------------------------
692
Debounces = {
693
CanAttack = true;
694
CanJoke = true;
695
NoIdl = false;
696
Slashing = false;
697
Slashed = false;
698
Slapping = false;
699
Slapped = false;
700
ks = false;
701
}
702
703
local Touche = {char.Name, }
704
----------------------------------------------------
705
function HasntTouched(plrname)
706
local ret = true
707
for _, v in pairs(Touche) do
708
if v == plrname then
709
ret = false
710
end
711
end
712
return ret
713
end
714
----------------------------------------------------
715
function weld5(part0, part1, c0, c1)
716
    weeld=Instance.new("Weld", part0)
717
    weeld.Part0=part0
718
    weeld.Part1=part1
719
    weeld.C0=c0
720
    weeld.C1=c1
721
    return weeld
722
end
723
----------------------------------------------------
724
mod=Instance.new('Model',char)
725
726
function Burst()
727
    part=Instance.new('Part',mod)
728
    part.Anchored=true
729
    part.CanCollide=false
730
    part.FormFactor='Custom'
731
    part.Size=Vector3.new(.2,.2,.2)
732
    part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
733
    part.Transparency=.7
734
735
if holy ~= true then
736
    part.BrickColor=BrickColor.new('Really black')
737
else
738
	part.BrickColor=BrickColor.new(BoostedColorScheme)
739
end
740
741
    mesh=Instance.new('SpecialMesh',part)
742
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
743
    mesh.Scale=Vector3.new(10,5,10)
744
    part2=part:clone()
745
    part2.Parent=mod
746
747
if holy ~= true then
748
    part2.BrickColor=BrickColor.new('Dark indigo')
749
else
750
	part2.BrickColor=BrickColor.new(BoostedColorScheme)
751
end
752
753
    mesh2=mesh:clone()
754
    mesh2.Parent=part2
755
    mesh2.Scale=Vector3.new(5,2.5,5)
756
    coroutine.resume(coroutine.create(function() 
757
        for i=0,1,0.1 do
758
            wait()
759
            part.CFrame=part.CFrame
760
            part.Transparency=i
761
            mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
762
            part2.CFrame=part2.CFrame
763
            part2.Transparency=i
764
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
765
            end
766
        part.Parent=nil
767
        part2.Parent=nil
768
    end))
769
end
770
----------------------------------------------------
771
mod4 = Instance.new("Model",char)
772
773
ptez = {0.7, 0.8, 0.9, 1}
774
775
function FindNearestTorso(Position,Distance,SinglePlayer)
776
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
777
        local List = {}
778
        for i,v in pairs(workspace:GetChildren())do
779
            if v:IsA("Model")then
780
                if v:findFirstChild("Torso")then
781
                    if v ~= char then
782
                        if(v.Torso.Position -Position).magnitude <= Distance then
783
                            table.insert(List,v)
784
                        end 
785
                    end 
786
                end 
787
            end 
788
        end
789
    return List
790
end
791
792
function Slam()
793
    part=Instance.new('Part',mod4)
794
    part.Anchored=true
795
    part.CanCollide=false
796
    part.FormFactor='Custom'
797
    part.Size=Vector3.new(.2,.2,.2)
798
    part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
799
    part.Transparency=.7
800
801
if holy ~= true then
802
    part.BrickColor=BrickColor.new('Really black')
803
else
804
    part.BrickColor=BrickColor.new(BoostedColorScheme)
805
end
806
	
807
    mesh=Instance.new('SpecialMesh',part)
808
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
809
    mesh.Scale=Vector3.new(3,3,3)
810
    part2=Instance.new('Part',mod4)
811
    part2.Anchored=true
812
    part2.CanCollide=false
813
    part2.FormFactor='Custom'
814
    part2.Size=Vector3.new(.2,.2,.2)
815
    part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
816
    part2.Transparency=.7
817
818
if holy ~= true then
819
    part2.BrickColor=BrickColor.new('Dark indigo')
820
else
821
    part2.BrickColor=BrickColor.new(BoostedColorScheme)
822
end
823
824
    mesh2=Instance.new('SpecialMesh',part2)
825
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
826
    mesh2.Scale=Vector3.new(3,1.5,3)
827
828
    wait(.1)
829
	--x:Play()
830
    --x1:Play()
831
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
832
        if v:FindFirstChild('Humanoid') and holy == true then
833
				holyslamdmg = math.random(99999999,99999999)
834
            v.Humanoid:TakeDamage(holyslamdmg)
835
				coroutine.resume(coroutine.create(function()
836
					wait(2)
837
					v.Humanoid.PlatformStand = false
838
				end))
839
		elseif v:FindFirstChild('Humanoid') and holy ~= true then
840
				slamdmg = math.random(65,75)
841
			v.Humanoid:TakeDamage(slamdmg) 
842
				coroutine.resume(coroutine.create(function()
843
					wait(2)
844
					v.Humanoid.PlatformStand = false
845
				end))
846
        end
847
	so("http://roblox.com/asset/?id=206082327", torso, 1, 1)
848
	so("http://roblox.com/asset/?id=142070127", torso, 1, 0.7)
849
	so("http://roblox.com/asset/?id=263610111", torso, 1, 1)
850
	so("http://roblox.com/asset/?id=263610131", torso, 1, 1)
851
	so("http://roblox.com/asset/?id=166221646",	torso,1,1) 
852
  	so("http://roblox.com/asset/?id=200632875", torso, 1, 1)
853
    end
854
	
855
856
857
    coroutine.resume(coroutine.create(function() 
858
        for i=0,0.62,0.13 do
859
            wait()
860
            part.CFrame=part.CFrame
861
            part.Transparency=i
862
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
863
            part2.CFrame=part2.CFrame
864
            part2.Transparency=i
865
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
866
            end
867
        part.Parent=nil
868
        part2.Parent=nil
869
    end)) 
870
end
871
----------------------------------------------------PUNCH FUNC
872
function Punch()
873
    part=Instance.new('Part',mod4)
874
    part.Anchored=true
875
    part.CanCollide=false
876
    part.FormFactor='Custom'
877
    part.Size=Vector3.new(.2,.2,.2)
878
    part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
879
    part.Transparency=.7
880
881
    part.BrickColor=BrickColor.new('Really black')
882
    mesh=Instance.new('SpecialMesh',part)
883
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
884
    mesh.Scale=Vector3.new(3,3,3)
885
    part2=Instance.new('Part',mod4)
886
    part2.Anchored=true
887
    part2.CanCollide=false
888
889
    part2.FormFactor='Custom'
890
    part2.Size=Vector3.new(.2,.2,.2)
891
    part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
892
    part2.Transparency=.7
893
    part2.BrickColor=BrickColor.new('Dark indigo')
894
    mesh2=Instance.new('SpecialMesh',part2)
895
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
896
    mesh2.Scale=Vector3.new(3,1.5,3)
897
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
898
        if v:FindFirstChild('Humanoid') then
899
            v.Humanoid:TakeDamage(math.random(2,6))
900
        end
901
    end
902
    coroutine.resume(coroutine.create(function()
903
        for i=0,0.62,0.4 do
904
            wait()
905
            part.CFrame=part.CFrame
906
            part.Transparency=i
907
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
908
            part2.CFrame=part2.CFrame
909
            part2.Transparency=i
910
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
911
            end
912
        part.Parent=nil
913
        part2.Parent=nil
914
    end))
915
end
916
----------------------------------------------------
917
GroundWave = function()
918
	local HandCF2 = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
919
	local Colors = {"Dark indigo", "Really black"} 
920
		local wave = Instance.new("Part", torso)
921
		
922
		if holy == false then
923
		wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])	
924
		else
925
		wave.BrickColor = BrickColor.new(BoostedColorScheme)		
926
		end
927
		
928
		wave.Anchored = true
929
		wave.CanCollide = false
930
		wave.Material = "Neon"
931
		wave.Locked = true
932
		wave.Size = Vector3.new(1, 1, 1)
933
		wave.TopSurface = "Smooth"
934
		wave.BottomSurface = "Smooth"
935
		wave.Transparency = 0.35
936
		wave.CFrame = HandCF2
937
		wm = Instance.new("SpecialMesh", wave)
938
		wm.MeshId = "rbxassetid://3270017"
939
		coroutine.wrap(function()
940
		for i = 1, 14, 1 do
941
		wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
942
		wave.Size = wm.Scale
943
		wave.CFrame = HandCF2
944
		wave.Transparency = i/14
945
		wait()
946
		end
947
		wait()
948
		wave:Destroy()
949
	end)()
950
end
951
--------------------------------------------------------------------
952
Magik = function()
953
	Spawn(function()
954
		local function lerp(a,b,c)
955
			return a+(b-a)*c	
956
		end
957
		local function rndRange(rng)
958
			return math.random(-rng*1000,rng*1000)/1000	
959
		end
960
		local magik = Instance.new("Part", larm)
961
		local Colors = {"Dark indigo", "Really black"}
962
		magik.Anchored = true
963
		magik.Locked = true
964
		magik.Material = "Neon"
965
		magik.FormFactor = "Custom"
966
		magik.Size = Vector3.new(1.2, 1.2, 1.2)
967
		magik.TopSurface = "Smooth"
968
		magik.BottomSurface = "Smooth"
969
		magik.Transparency = 0
970
		magik.CanCollide = false
971
		
972
		if holy == false then
973
		magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
974
		else
975
		magik.BrickColor = BrickColor.new(BoostedColorScheme)
976
		end
977
		
978
		local mr = math.rad
979
		local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
980
		local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
981
		magik.CFrame = cf
982
		for i = 0, 1, .05 do
983
			local newTrans = lerp(0.5, 1, i)
984
			local ns = lerp(1,1.2,i)
985
			magik.Transparency = newTrans
986
			magik.Size = Vector3.new(ns,ns,ns)
987
			magik.CFrame = cf
988
			rs:wait()
989
	    end
990
		magik:Destroy()
991
		wait()
992
    end)
993
end
994
----------------------------------------------------
995
Magik2 = function()
996
	Spawn(function()
997
		if stanceToggle == "Melee" then
998
		local function lerp(a,b,c)
999
			return a+(b-a)*c	
1000
		end
1001
		local function rndRange(rng)
1002
			return math.random(-rng*1000,rng*1000)/1000	
1003
		end
1004
		local magik2 = Instance.new("Part", rarm)
1005
		local Colors = {"Dark indigo", "Really black"}
1006
		magik2.Anchored = true
1007
		magik2.Locked = true
1008
		magik2.FormFactor = "Custom"
1009
		magik2.Size = Vector3.new(1.2, 1.2, 1.2)
1010
		magik2.TopSurface = "Smooth"
1011
		magik2.BottomSurface = "Smooth"
1012
		magik2.Transparency = 0
1013
		magik2.Material = "Neon"
1014
		magik2.CanCollide = false
1015
		
1016
		if holy == false then
1017
		magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1018
		else
1019
		magik2.BrickColor = BrickColor.new(BoostedColorScheme)
1020
		end
1021
		
1022
		local mr = math.rad
1023
		local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
1024
		local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
1025
		magik2.CFrame = cf
1026
		for i = 0, 1, .05 do
1027
			local newTrans = lerp(0.5, 1, i)
1028
			local ns = lerp(1,1.2,i)
1029
			magik2.Transparency = newTrans
1030
			magik2.Size = Vector3.new(ns,ns,ns)
1031
			magik2.CFrame = cf
1032
			rs:wait()
1033
	    end
1034
		magik2:Destroy()
1035
		elseif stanceToggle ~= "Melee" then
1036
		wait()
1037
		end
1038
    end)
1039
end
1040
----------------------------------------------------
1041
function lerp(a, b, t) -- Linear interpolation
1042
	return a + (b - a)*t
1043
end
1044
 
1045
function slerp(a, b, t) --Spherical interpolation
1046
	dot = a:Dot(b)
1047
	if dot > 0.99999 or dot < -0.99999 then
1048
		return t <= 0.5 and a or b
1049
	else
1050
		r = math.acos(dot)
1051
		return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
1052
	end
1053
end
1054
 
1055
function matrixInterpolate(a, b, t)
1056
	local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
1057
	local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
1058
	local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
1059
	local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
1060
	local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
1061
	local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
1062
	local t = v1:Dot(v2)
1063
	if not (t < 0 or t == 0 or t > 0) then 	-- Failsafe
1064
		return CFrame.new()
1065
	end
1066
	return CFrame.new(
1067
	v0.x, v0.y, v0.z,
1068
	v1.x, v1.y, v1.z,
1069
	v2.x, v2.y, v2.z,
1070
	v3.x, v3.y, v3.z)
1071
end
1072
1073
function Tween(a,b,c)
1074
return a+(b-a)*c
1075
end
1076
----------------------------------------------------
1077
function genWeld(a,b)
1078
    local w = Instance.new("Weld",a)
1079
    w.Part0 = a
1080
    w.Part1 = b
1081
    return w
1082
end
1083
function weld(a, b)
1084
    local weld = Instance.new("Weld")
1085
    weld.Name = "W"
1086
    weld.Part0 = a
1087
    weld.Part1 = b
1088
    weld.C0 = a.CFrame:inverse() * b.CFrame
1089
    weld.Parent = a
1090
    return weld;
1091
end
1092
----------------------------------------------------
1093
function Lerp(c1,c2,al)
1094
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
1095
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
1096
for i,v in pairs(com1) do 
1097
com1[i] = v+(com2[i]-v)*al
1098
end
1099
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
1100
end
1101
----------------------------------------------------
1102
1103
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
1104
local wld = Instance.new("Weld", wp1)
1105
wld.Part0 = wp0
1106
wld.Part1 = wp1
1107
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
1108
end
1109
----------------------------------------------------
1110
newWeld(torso, larm, -1.5, 0.5, 0)
1111
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
1112
newWeld(torso, rarm, 1.5, 0.5, 0)
1113
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
1114
newWeld(torso, hed, 0, 1.5, 0)
1115
newWeld(torso, lleg, -0.5, -1, 0)
1116
lleg.Weld.C1 = CFrame.new(0, 1, 0)
1117
newWeld(torso, rleg, 0.5, -1, 0)
1118
rleg.Weld.C1 = CFrame.new(0, 1, 0)
1119
newWeld(root, torso, 0, -1, 0)
1120
torso.Weld.C1 = CFrame.new(0, -1, 0)
1121
----------------------------------------------------
1122
--local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916
1123
z = Instance.new("Sound",char) --music
1124
z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)]
1125
z.Looped = true
1126
z.Volume = 1
1127
z.Pitch = .72
1128
wait(1)
1129
z:Play()
1130
1131
1132
hum.WalkSpeed = 10
1133
hum.JumpPower=70
1134
1135
1136
1137
1138
1139
--[[partic = Instance.new("ParticleEmitter",hed)
1140
partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255))
1141
partic.LightEmission = .95
1142
partic.VelocityInheritance = 0
1143
partic.Rate = 300
1144
partic.Texture = "rbxassetid:// 241650934" --56561915392079955
1145
partic.Lifetime = NumberRange.new(0.1,0.2)
1146
partic.RotSpeed = NumberRange.new(100,100)
1147
partic.Speed = NumberRange.new(2,6)
1148
partic.Enabled = true
1149
partic.LockedToPart = true]]
1150
1151
--Nah
1152
1153
----------------------------------------------------
1154
1155
----------------------------------------------------
1156
local m = Instance.new("Model")
1157
m.Name = "Genkadda"
1158
p1 = Instance.new("Part", m)
1159
p1.Material = "Metal"
1160
p1.BrickColor = BrickColor.new("Really black")
1161
p1.Name = "BladePart"
1162
p1.FormFactor = Enum.FormFactor.Symmetric
1163
p1.Size = Vector3.new(1, 1, 1)
1164
p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
1165
p1.CanCollide = false
1166
p1.Locked = true
1167
p1.Elasticity = 0
1168
p1.BottomSurface = Enum.SurfaceType.Smooth
1169
p1.TopSurface = Enum.SurfaceType.Smooth
1170
b1 = Instance.new("BlockMesh", p1)
1171
b1.Name = "Mesh"
1172
b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
1173
p2 = Instance.new("Part", m)
1174
p2.Material = "Metal"
1175
p2.BrickColor = BrickColor.new("Really black")
1176
p2.FormFactor = Enum.FormFactor.Symmetric
1177
p2.Size = Vector3.new(1, 1, 1)
1178
p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
1179
p2.CanCollide = false
1180
p2.Locked = true
1181
p2.Elasticity = 0
1182
p2.BottomSurface = Enum.SurfaceType.Smooth
1183
p2.TopSurface = Enum.SurfaceType.Smooth
1184
b2 = Instance.new("BlockMesh", p2)
1185
b2.Name = "Mesh"
1186
b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
1187
p3 = Instance.new("Part", m)
1188
p3.Material = "Metal"
1189
p3.BrickColor = BrickColor.new("Really black")
1190
p3.FormFactor = Enum.FormFactor.Symmetric
1191
p3.Size = Vector3.new(1, 2, 1)
1192
p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
1193
p3.CanCollide = false
1194
p3.Locked = true
1195
p3.Elasticity = 0
1196
p3.BottomSurface = Enum.SurfaceType.Smooth
1197
p3.TopSurface = Enum.SurfaceType.Smooth
1198
b3 = Instance.new("BlockMesh", p3)
1199
b3.Name = "Mesh"
1200
b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
1201
p4 = Instance.new("Part", m)
1202
p4.Material = "Metal"
1203
p4.BrickColor = BrickColor.new("Really black")
1204
p4.Name = "BladePart"
1205
p4.FormFactor = Enum.FormFactor.Symmetric
1206
p4.Size = Vector3.new(1, 1, 1)
1207
p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
1208
p4.CanCollide = false
1209
p4.Locked = true
1210
p4.Elasticity = 0
1211
p4.BottomSurface = Enum.SurfaceType.Smooth
1212
p4.TopSurface = Enum.SurfaceType.Smooth
1213
b4 = Instance.new("BlockMesh", p4)
1214
b4.Name = "Mesh"
1215
b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
1216
p5 = Instance.new("Part", m)
1217
p5.Material = "Metal"
1218
p5.BrickColor = BrickColor.new("Really black")
1219
p5.Name = "Hilt"
1220
p5.FormFactor = Enum.FormFactor.Custom
1221
p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
1222
p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
1223
p5.CanCollide = false
1224
p5.Locked = true
1225
p5.BottomSurface = Enum.SurfaceType.Smooth
1226
p5.TopSurface = Enum.SurfaceType.Smooth
1227
b5 = Instance.new("BlockMesh", p5)
1228
b5.Name = "Mesh"
1229
b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
1230
p6 = Instance.new("Part", m)
1231
p6.Material = "Metal"
1232
p6.BrickColor = BrickColor.new("Really black")
1233
p6.Name = "Handle"
1234
p6.FormFactor = Enum.FormFactor.Custom
1235
p6.Size = Vector3.new(1.29999995, 1, 1)
1236
p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
1237
p6.CanCollide = false
1238
p6.Locked = true
1239
p6.BottomSurface = Enum.SurfaceType.Smooth
1240
p6.TopSurface = Enum.SurfaceType.Smooth
1241
b6 = Instance.new("SpecialMesh", p6)
1242
b6.MeshType = Enum.MeshType.Cylinder
1243
b6.Name = "Mesh"
1244
b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
1245
p7 = Instance.new("Part", m)
1246
p7.Material = "Metal"
1247
p7.BrickColor = BrickColor.new("Really black")
1248
p7.FormFactor = Enum.FormFactor.Symmetric
1249
p7.Size = Vector3.new(1, 1, 1)
1250
p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
1251
p7.CanCollide = false
1252
p7.Locked = true
1253
b7 = Instance.new("SpecialMesh", p7)
1254
b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1255
b7.TextureId = ""
1256
b7.MeshType = Enum.MeshType.FileMesh
1257
b7.Name = "Mesh"
1258
b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
1259
p8 = Instance.new("Part", m)
1260
p8.Material = "Metal"
1261
p8.BrickColor = BrickColor.new("Really black")
1262
p8.Name = "BladePart"
1263
p8.FormFactor = Enum.FormFactor.Symmetric
1264
p8.Size = Vector3.new(1, 1, 1)
1265
p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
1266
p8.CanCollide = false
1267
p8.Locked = true
1268
p8.Elasticity = 0
1269
p8.BottomSurface = Enum.SurfaceType.Smooth
1270
p8.TopSurface = Enum.SurfaceType.Smooth
1271
b8 = Instance.new("BlockMesh", p8)
1272
b8.Name = "Mesh"
1273
b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
1274
p9 = Instance.new("Part", m)
1275
p9.Material = "Metal"
1276
p9.BrickColor = BrickColor.new("Really black")
1277
p9.Name = "BladePart"
1278
p9.FormFactor = Enum.FormFactor.Symmetric
1279
p9.Size = Vector3.new(1, 1, 1)
1280
p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
1281
p9.CanCollide = false
1282
p9.Locked = true
1283
p9.Elasticity = 0
1284
p9.BottomSurface = Enum.SurfaceType.Smooth
1285
p9.TopSurface = Enum.SurfaceType.Smooth
1286
b9 = Instance.new("BlockMesh", p9)
1287
b9.Name = "Mesh"
1288
b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
1289
p10 = Instance.new("Part", m)
1290
p10.Material = "Metal"
1291
p10.BrickColor = BrickColor.new("Really black")
1292
p10.Name = "BladeTip"
1293
p10.FormFactor = Enum.FormFactor.Symmetric
1294
p10.Size = Vector3.new(1, 1, 2)
1295
p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
1296
p10.CanCollide = false
1297
p10.Locked = true
1298
p10.Elasticity = 0
1299
p10.BottomSurface = Enum.SurfaceType.Smooth
1300
p10.TopSurface = Enum.SurfaceType.Smooth
1301
b10 = Instance.new("SpecialMesh", p10)
1302
b10.MeshType = Enum.MeshType.Wedge
1303
b10.Name = "Mesh"
1304
b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
1305
p11 = Instance.new("Part", m)
1306
p11.Material = "Metal"
1307
p11.BrickColor = BrickColor.new("Really black")
1308
p11.Name = "BladePart"
1309
p11.FormFactor = Enum.FormFactor.Symmetric
1310
p11.Size = Vector3.new(1, 1, 1)
1311
p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
1312
p11.CanCollide = false
1313
p11.Locked = true
1314
p11.Elasticity = 0
1315
p11.BottomSurface = Enum.SurfaceType.Smooth
1316
p11.TopSurface = Enum.SurfaceType.Smooth
1317
b11 = Instance.new("BlockMesh", p11)
1318
b11.Name = "Mesh"
1319
b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
1320
p12 = Instance.new("Part", m)
1321
p12.Material = "Metal"
1322
p12.BrickColor = BrickColor.new("Really black")
1323
p12.Name = "BladeTip2"
1324
p12.FormFactor = Enum.FormFactor.Custom
1325
p12.Size = Vector3.new(1, 1, 2.4000001)
1326
p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
1327
p12.CanCollide = false
1328
p12.Locked = true
1329
p12.Elasticity = 0
1330
p12.BottomSurface = Enum.SurfaceType.Smooth
1331
p12.TopSurface = Enum.SurfaceType.Smooth
1332
b12 = Instance.new("SpecialMesh", p12)
1333
b12.MeshType = Enum.MeshType.Wedge
1334
b12.Name = "Mesh"
1335
b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
1336
p13 = Instance.new("Part", m)
1337
p13.Material = "Metal"
1338
p13.BrickColor = BrickColor.new("Medium stone grey")
1339
p13.Transparency = 1
1340
p13.Name = "HitBox"
1341
p13.FormFactor = Enum.FormFactor.Custom
1342
p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
1343
p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
1344
p13.CanCollide = false
1345
p13.Locked = true
1346
p13.BottomSurface = Enum.SurfaceType.Smooth
1347
p13.TopSurface = Enum.SurfaceType.Smooth
1348
w1 = Instance.new("Weld", p1)
1349
w1.Name = "Part_Weld"
1350
w1.Part0 = p1
1351
w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
1352
w1.Part1 = p2
1353
w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
1354
w2 = Instance.new("Weld", p2)
1355
w2.Name = "Part_Weld"
1356
w2.Part0 = p2
1357
w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
1358
w2.Part1 = p3
1359
w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
1360
w3 = Instance.new("Weld", p3)
1361
w3.Name = "BladePart_Weld"
1362
w3.Part0 = p3
1363
w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
1364
w3.Part1 = p4
1365
w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
1366
w4 = Instance.new("Weld", p4)
1367
w4.Name = "Hilt_Weld"
1368
w4.Part0 = p4
1369
w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
1370
w4.Part1 = p5
1371
w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
1372
w5 = Instance.new("Weld", p5)
1373
w5.Name = "Handle_Weld"
1374
w5.Part0 = p5
1375
w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
1376
w5.Part1 = p6
1377
w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
1378
w6 = Instance.new("Weld", p6)
1379
w6.Name = "Part_Weld"
1380
w6.Part0 = p6
1381
w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
1382
w6.Part1 = p7
1383
w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
1384
w7 = Instance.new("Weld", p7)
1385
w7.Name = "BladePart_Weld"
1386
w7.Part0 = p7
1387
w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
1388
w7.Part1 = p8
1389
w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
1390
w8 = Instance.new("Weld", p8)
1391
w8.Name = "BladePart_Weld"
1392
w8.Part0 = p8
1393
w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
1394
w8.Part1 = p9
1395
w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
1396
w9 = Instance.new("Weld", p9)
1397
w9.Name = "BladeTip_Weld"
1398
w9.Part0 = p9
1399
w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
1400
w9.Part1 = p10
1401
w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
1402
w10 = Instance.new("Weld", p10)
1403
w10.Name = "BladePart_Weld"
1404
w10.Part0 = p10
1405
w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
1406
w10.Part1 = p11
1407
w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
1408
w11 = Instance.new("Weld", p11)
1409
w11.Name = "BladeTip2_Weld"
1410
w11.Part0 = p11
1411
w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
1412
w11.Part1 = p12
1413
w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
1414
w12 = Instance.new("Weld", p12)
1415
w12.Name = "HitBox_Weld"
1416
w12.Part0 = p12
1417
w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
1418
w12.Part1 = p13
1419
w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
1420
w13 = Instance.new("Weld", p13)
1421
w13.Name = "Weld"
1422
w13.Part0 = p13
1423
w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
1424
m.Parent = char
1425
m:MakeJoints()
1426
----------------------------------------------------
1427
local cor = Instance.new("Part", char.Genkadda)
1428
cor.Name = "Thingy"
1429
cor.Locked = true
1430
cor.BottomSurface = 0
1431
cor.CanCollide = false
1432
cor.Size = Vector3.new(1, 9, 1)
1433
cor.Transparency = 1
1434
cor.TopSurface = 0
1435
corw = Instance.new("Weld", cor)
1436
corw.Part0 = rarm
1437
corw.Part1 = cor
1438
corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
1439
corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1440
weld1 = Instance.new("Weld", char.Genkadda)
1441
weld1.Part0 = cor
1442
weld1.Part1 = p6
1443
weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1444
1445
----------------------------------------------------
1446
1447
1448
1449
cmod=Instance.new('Model',char)
1450
1451
function charge()
1452
    hed.Velocity=hed.CFrame.lookVector*200
1453
    part=Instance.new('Part',cmod)
1454
    part.Anchored=true
1455
    part.CanCollide=false
1456
    part.FormFactor='Custom'
1457
    part.Size=Vector3.new(.2,.2,.2)
1458
    part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
1459
    part.Transparency=.7
1460
    part.BrickColor=BrickColor.new('Institutional white')
1461
    mesh=Instance.new('SpecialMesh',part)
1462
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
1463
    mesh.Scale=Vector3.new(6,2,6)
1464
    part2=part:clone()
1465
    part2.Parent=cmod
1466
    part2.BrickColor=BrickColor.new(BoostedColorScheme)
1467
    mesh2=mesh:clone()
1468
    mesh2.Parent=part2
1469
    mesh2.Scale=Vector3.new(20,10,20)
1470
    part3=part2:clone()
1471
    part3.Parent = cmod
1472
    part3.BrickColor=BrickColor.new('Institutional white')
1473
    mesh3=mesh2:clone()
1474
    mesh2.Parent=part3
1475
    mesh3.Scale=Vector3.new(30,200,30)
1476
    coroutine.resume(coroutine.create(function() 
1477
        for i=0,1,0.1 do
1478
            wait()
1479
            part.CFrame=part.CFrame
1480
            part.Transparency=i
1481
            mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
1482
            part2.CFrame=part2.CFrame
1483
            part2.Transparency=i
1484
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
1485
            part3.CFrame=part3.CFrame
1486
            part3.Transparency=i
1487
            mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
1488
            end
1489
        part.Parent=nil
1490
        part2.Parent=nil
1491
        part3.Parent = nil
1492
    end))
1493
end
1494
1495
1496
1497
1498
1499
1500
function ChargeAttack()
1501
        if Debounces.CanAttack == true then
1502
        Debounces.CanAttack = false
1503
        Debounces.on = true
1504
        Debounces.NoIdl = true
1505
        chrg = lleg.Touched:connect(function(ht)
1506
        hit = ht.Parent
1507
            if ht and hit:IsA("Model") then
1508
                    if hit:FindFirstChild("Humanoid") then
1509
                        if hit.Name ~= p.Name then
1510
                            --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1511
                                    Debounces.Slashed = true]]--
1512
									chargedp = hit:FindFirstChild("Humanoid")
1513
                                    hit:FindFirstChild("Humanoid"):TakeDamage(5)
1514
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1515
										coroutine.resume(coroutine.create(function()
1516
											wait(2)
1517
											chargedp.PlatformStand = false
1518
										end))
1519
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
1520
                                    --Debounces.Slashed = false
1521
                            --end
1522
                        end
1523
                    end
1524
            elseif ht and hit:IsA("Hat") then
1525
                if hit.Parent.Name ~= p.Name then
1526
                    if hit.Parent:FindFirstChild("Humanoid") then
1527
                           --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
1528
                                    Debounces.Slashed = true]]--
1529
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
1530
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1531
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
1532
                        --Debounces.Slashed = false
1533
                    end
1534
                end
1535
            end    
1536
        end)
1537
1538
so("http://www.roblox.com/asset/?id=199145659",hed,1,1.5)
1539
1540
1541
        for i = 1, 14 do
1542
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
1543
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.6, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
1544
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
1545
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
1546
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, -0.7, -0.2) * CFrame.Angles(-0.2, 5, math.rad(5)), 0.2)
1547
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, -0.8, 0.1) * CFrame.Angles(-0.3, 0, math.rad(10)), 0.2)
1548
            if Debounces.on == false then break end
1549
            wait()
1550
        end
1551
	Debounces.Slashing = true
1552
	so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
1553
    coroutine.resume(coroutine.create(function() 
1554
        for i = 1, 14 do
1555
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (90),math.rad(-40),math.rad(80)), 0.35)
1556
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
1557
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)),   0.35)
1558
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
1559
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
1560
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
1561
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
1562
            if Debounces.on == false then break end
1563
            wait()
1564
        end
1565
    end))
1566
		partic2.Enabled = true
1567
        charge()
1568
        z = Instance.new("Sound",hed)
1569
        z.SoundId = "rbxassetid://200632875"
1570
        z.Volume = 1.5
1571
        z.Pitch = .8
1572
        z1 = Instance.new("Sound",hed)
1573
        z1.SoundId = "rbxassetid://200632875"
1574
        z1.Volume = 1.5
1575
        z1.Pitch = .9
1576
        z:Play()
1577
        z1:Play()
1578
        wait(0.5)
1579
partic2.Enabled = false
1580
        z:Destroy()
1581
        z1:Destroy()
1582
        chrg:disconnect()
1583
		Debounces.Slashing = false
1584
		cor.Weld.C1 = CFrame.Angles(0,0,0)
1585
        if Debounces.CanAttack == false then
1586
            Debounces.CanAttack = true
1587
            Debounces.on = false
1588
            Debounces.NoIdl = false
1589
            end
1590
        end
1591
end
1592
----------------------------------------------------
1593
----------------------------------------------------
1594
function CeroBeam()
1595
	if Debounces.CanAttack == true then
1596
			Debounces.CanAttack = false
1597
			Debounces.NoIdl = true
1598
			Debounces.on = true
1599
char.Humanoid.WalkSpeed = .01
1600
Debounces.on = true
1601
Vanish()
1602
1603
xx = Instance.new("Sound")
1604
xx.SoundId = "http://www.roblox.com/asset/?id=199145659"
1605
xx.Parent = char.Head
1606
xx.Looped = false
1607
xx.Pitch = .88
1608
xx.Volume = 1
1609
wait(.1)
1610
xx:Play()
1611
1612
if holy == true then
1613
so("http://roblox.com/asset/?id=231917788",hed,1,1)
1614
else
1615
end
1616
 
1617
1618
if holy ~= true then
1619
for i = 1, 20 do
1620
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3)
1621
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3)
1622
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3)
1623
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3)
1624
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6)
1625
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4)
1626
if Debounces.on==false then break end
1627
wait()
1628
end
1629
wait(1)
1630
else
1631
for i = 1, 5 do
1632
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3)
1633
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3)
1634
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3)
1635
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3)
1636
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6)
1637
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4)
1638
if Debounces.on==false then break end
1639
wait()
1640
end
1641
wait(1)
1642
end	
1643
	
1644
x = Instance.new("Sound")
1645
x.SoundId = "http://www.roblox.com/asset/?id=142070127"
1646
x2 = Instance.new("Sound")
1647
x2.SoundId = "http://www.roblox.com/asset/?id=183763506"
1648
x.Parent = char.Head
1649
x2.Parent = char.Head
1650
x.Looped = false
1651
x2.Looped = false
1652
x.Pitch = .88
1653
x.Volume = 1
1654
x2.Pitch = .88
1655
x2.Volume = 1
1656
wait(.1)
1657
x:Play()
1658
x2:Play()
1659
Debounces.on = false
1660
Debounces.Here = false
1661
1662
for i = 1, 6 do
1663
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4)
1664
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4)
1665
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4)
1666
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4)
1667
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4)
1668
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
1669
wait()
1670
end
1671
local rng = Instance.new("Part", char)
1672
rng.Anchored = true
1673
1674
if holy ~= true then
1675
rng.BrickColor = BrickColor.new("Really black")
1676
else 
1677
	rng.BrickColor = BrickColor.new(BoostedColorScheme)
1678
end
1679
1680
rng.CanCollide = false
1681
rng.FormFactor = 3
1682
rng.Name = "Ring"
1683
rng.Size = Vector3.new(1, 1, 1)
1684
rng.Transparency = 0.35
1685
rng.TopSurface = 0
1686
rng.BottomSurface = 0
1687
rng.Material = "Neon"
1688
local rngm = Instance.new("SpecialMesh", rng)
1689
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1690
rngm.Scale = Vector3.new(10, 10, 1)
1691
local bem = Instance.new("Part", char)
1692
bem.Anchored = true
1693
1694
if holy ~= true then
1695
bem.BrickColor = BrickColor.new("Really black")
1696
else 
1697
	bem.BrickColor = BrickColor.new(BoostedColorScheme)
1698
end
1699
1700
bem.Material = "Neon"
1701
bem.CanCollide = false
1702
bem.FormFactor = 3
1703
bem.Name = "Beam" .. shot
1704
bem.Size = Vector3.new(1, 1, 1)
1705
bem.Transparency = 0.35
1706
bem.TopSurface = 0
1707
bem.BottomSurface = 0
1708
local bemm = Instance.new("SpecialMesh", bem)
1709
bemm.MeshType = 4
1710
bemm.Scale = Vector3.new(1, 4, 4)
1711
local out = Instance.new("Part", char)
1712
out.Anchored = true
1713
1714
if holy ~= true then
1715
out.BrickColor = BrickColor.new("Really black")
1716
else 
1717
	out.BrickColor = BrickColor.new(BoostedColorScheme)
1718
end
1719
1720
out.Material = "Neon"
1721
out.CanCollide = false
1722
out.FormFactor = 3
1723
out.Name = "Out"
1724
out.Size = Vector3.new(1, 1, 1)
1725
out.Transparency = 0.35
1726
out.TopSurface = 0
1727
out.BottomSurface = 0
1728
local outm = Instance.new("SpecialMesh", out)
1729
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
1730
outm.Scale = Vector3.new(2, 2, 2)
1731
local bnd = Instance.new("Part", char)
1732
bnd.Anchored = true
1733
1734
if holy ~= true then
1735
bnd.BrickColor = BrickColor.new("Really black")
1736
else 
1737
	bnd.BrickColor = BrickColor.new(BoostedColorScheme)
1738
end
1739
1740
bnd.Material = "Neon"
1741
bnd.CanCollide = false
1742
bnd.FormFactor = 3
1743
bnd.Name = "BEnd"
1744
bnd.Size = Vector3.new(1, 1, 1)
1745
bnd.Transparency = 0.35
1746
bnd.TopSurface = 0
1747
bnd.BottomSurface = 0
1748
local bndm = Instance.new("SpecialMesh", bnd)
1749
bndm.MeshType = 3
1750
bndm.Scale = Vector3.new(4, 4, 4)
1751
out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0)
1752
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
1753
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
1754
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
1755
Debounces.Shewt = true
1756
coroutine.wrap(function()
1757
for i = 1, 20, 0.2 do
1758
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
1759
rng.Transparency = i/20
1760
wait()
1761
end
1762
wait()
1763
rng:Destroy()
1764
end)()
1765
if Debounces.Shewt == true then
1766
char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here
1767
print("Hit")
1768
hit = ht.Parent
1769
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
1770
print("Yes")
1771
if HasntTouched(hit.Name) == true and deb == false then
1772
deb = true
1773
coroutine.wrap(function()
1774
hit:FindFirstChild("Humanoid").PlatformStand = true
1775
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
1776
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63))
1777
wait(1)
1778
hit:FindFirstChild("Humanoid").PlatformStand = false
1779
end)()
1780
table.insert(Touche, hit.Name)
1781
deb = false
1782
end
1783
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
1784
print("Yes")
1785
if HasntTouched(hit.Parent.Name) == true and deb == false then
1786
deb = true
1787
coroutine.wrap(function()
1788
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
1789
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140
1790
wait(1)
1791
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
1792
end)()
1793
table.insert(Touche, hit.Parent.Name)
1794
deb = false
1795
for i, v in pairs(Touche) do
1796
print(v)
1797
end
1798
end
1799
end
1800
end)
1801
end
1802
for i = 0, 200, 7 do
1803
bem.Size = Vector3.new(i, 1, 1)
1804
bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
1805
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0)
1806
wait()
1807
end
1808
wait()
1809
Debounces.Shewt = false
1810
bem:Destroy()
1811
out:Destroy()
1812
bnd:Destroy()
1813
char.Humanoid.WalkSpeed = 10
1814
Debounces.Ready = false
1815
for i, v in pairs(Touche) do
1816
table.remove(Touche, i)
1817
end
1818
wait()
1819
table.insert(Touche, char.Name)
1820
Debounces.NoIdl = false
1821
			if Debounces.CanAttack == false then
1822
				Debounces.CanAttack = true
1823
				cor.Weld.C1 = CFrame.Angles(0,0,0)
1824
1825
1826
				Debounces.on = false
1827
				Appear()
1828
			end
1829
		end
1830
end
1831
----------------------------------------------------
1832
1833
function Kick()
1834
	
1835
        if Debounces.CanAttack == true then
1836
			Debounces.CanAttack = false
1837
			Debounces.NoIdl = true
1838
			Debounces.on = true
1839
			Debounces.ks = true
1840
	rleg.Touched:connect(function(ht)
1841
        hit = ht.Parent
1842
        if ht and hit:IsA("Model") then
1843
                if hit:FindFirstChild("Humanoid") then
1844
                    if hit.Name ~= p.Name then
1845
                        if Debounces.Slapping == true and Debounces.Slapped == false then
1846
                                Debounces.Slapped = true
1847
                                    if Debounces.ks==true then
1848
                                    z = Instance.new("Sound",hed)
1849
                                    z.SoundId = "rbxassetid://169380538"
1850
                                    z.Volume = 1
1851
                                    z:Play()
1852
                                    Debounces.ks=false
1853
                                    end
1854
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
1855
									hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
1856
                                wait(.5)
1857
                                Debounces.Slapped = false
1858
								z:Destroy()
1859
                        end
1860
                    end
1861
                end
1862
        elseif ht and hit:IsA("Hat") then
1863
            if hit.Parent.Name ~= p.Name then
1864
                if hit.Parent:FindFirstChild("Humanoid") then
1865
                       if Debounces.Slapping == true and Debounces.Slapped == false then
1866
                                Debounces.Slapped = true
1867
                                    if Debounces.ks==true then
1868
                                    z = Instance.new("Sound",hed)
1869
                                    z.SoundId = "rbxassetid://169380525"
1870
                                    z.Volume = 1
1871
                                    z:Play()
1872
                                    z2 = Instance.new("Sound",char)
1873
                                    z2.SoundId = "rbxassetid://200632136"
1874
									z2.Pitch = z1.Pitch
1875
                                    z2.Volume = 1
1876
                                    z3 = Instance.new("Sound",char)
1877
                                    z3.SoundId = "rbxassetid://200632136"
1878
									z3.Pitch = z1.Pitch
1879
                                    z3.Volume = 1
1880
                                    z1:Play()
1881
                                    z2:Play()
1882
                                    z3:Play()
1883
                                    Debounces.ks=false
1884
                                    end
1885
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
1886
                                wait(.5)
1887
                    Debounces.Slapped = false
1888
					z:Destroy()
1889
					z1:Destroy()
1890
					z2:Destroy()
1891
					z3:Destroy()
1892
					end
1893
                end
1894
            end
1895
        end    
1896
    end)
1897
1898
			if holy == true then
1899
				hum.WalkSpeed = 1
1900
				for i = 1, 14 do
1901
       				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.7)
1902
        			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16),math.rad(0), math.rad(0)), 0.7)
1903
        			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,math.rad(-20)), 0.7)
1904
        			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(20)), 0.7)
1905
        			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.6) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1906
        			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1907
					if Debounces.on==false then break end
1908
					rs:wait(2)
1909
				end
1910
				Debounces.Slapping = true
1911
				for i = 1, 20 do
1912
       				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(10),math.rad(-10),math.rad(10)),0.7)
1913
        			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(16),math.rad(0), math.rad(0)), 0.7)
1914
        			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,math.rad(-20)), 0.7)
1915
        			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(20)), 0.7)
1916
        			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1917
        			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(80), 0, 0), 0.7)
1918
					if Debounces.on==false then break end
1919
					rs:wait(2)
1920
				end
1921
			elseif holy ~= true then
1922
				hum.WalkSpeed = 1
1923
				for i = 1, 14 do
1924
       				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.7)
1925
        			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16),math.rad(0), math.rad(0)), 0.7)
1926
        			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,math.rad(-20)), 0.7)
1927
        			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(20)), 0.7)
1928
        			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.6) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1929
        			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1930
					if Debounces.on==false then break end
1931
					rs:wait(2)
1932
				end
1933
					z = Instance.new("Sound",hed)
1934
        			z.SoundId = "rbxassetid://169445092"
1935
        			z.Volume = 1
1936
        			wait(0.1)
1937
        			z:Play()
1938
				Debounces.Slapping = true
1939
				for i = 1, 20 do
1940
       				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(10),math.rad(-10),math.rad(10)),0.7)
1941
        			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(16),math.rad(0), math.rad(0)), 0.7)
1942
        			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,math.rad(-20)), 0.7)
1943
        			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),math.rad(0), math.rad(20)), 0.7)
1944
        			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
1945
        			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(80), 0, 0), 0.7)
1946
					if Debounces.on==false then break end
1947
					rs:wait(2)
1948
				end
1949
			end
1950
			
1951
			if BoostedAlwaysDashes == true and holy == true then
1952
				hum.WalkSpeed = 50
1953
			elseif BoostedAlwaysDashes == false and holy == true then
1954
				hum.WalkSpeed = 10
1955
			elseif holy == false then
1956
				hum.WalkSpeed = 10
1957
			end			
1958
			
1959
				Debounces.Slapping = false
1960
			if Debounces.CanAttack == false then
1961
				Debounces.CanAttack = true
1962
				Debounces.NoIdl = false
1963
				Debounces.on = false
1964
			end
1965
		end
1966
end
1967
1968
function Throw()
1969
	    if Grab == true then
1970
        Grab = false
1971
	stanceToggle = "Normal"
1972
			for i = 1, 16 do
1973
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
1974
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
1975
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
1976
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
1977
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
1978
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1979
			if Debounces.on == false then end
1980
			rs:wait()
1981
			end
1982
					for i = 1, 16 do
1983
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(20)), 0.3)
1984
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1.5,-.4)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(20)), 0.3)
1985
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(-10),0), 0.3)
1986
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
1987
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1988
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(-15), math.rad(20)), 0.3)
1989
			if Debounces.on == false then end
1990
			rs:wait()
1991
		end
1992
        if gp ~= nil then
1993
	
1994
				coroutine.resume(coroutine.create(function()
1995
					tossed = gp:FindFirstChild("Torso").Parent.Humanoid
1996
					wait(3)
1997
					tossed.PlatformStand = false
1998
				end))	
1999
	
2000
                                    z3 = Instance.new("Sound",torso)
2001
                                    z3.SoundId = "rbxassetid://200632136"
2002
									z3.Pitch = 0.7
2003
                                    z3.Volume = 1
2004
                                    z3:Play()	
2005
	
2006
        for i,v in pairs(larm:GetChildren()) do
2007
            if v.Name == "asd" and v:IsA("Weld") then
2008
                v:Remove()
2009
            end
2010
        end
2011
        bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
2012
        bv.maxForce = Vector3.new(400000, 400000, 400000)
2013
        bv.P = 125000
2014
        bv.velocity = char.Head.CFrame.lookVector * 70
2015
2016
2017
2018
        for i = 1, 12 do
2019
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6, 0, -.75)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(20)), 0.5)
2020
            if Debounces.on == false then end
2021
            wait()
2022
        end
2023
        ht=nil
2024
        Spawn(function()
2025
            wait(0.5)
2026
            bv:Destroy()
2027
        end)
2028
		stanceToggle = "Normal"
2029
        Debounces.on = false
2030
        Debounces.NoIdl = false
2031
        elseif ht == nil then wait()
2032
        Grab = false
2033
        Debounces.on = false
2034
        Debounces.NoIdl = false
2035
            end
2036
        end
2037
end
2038
2039
---------------------------------------------------- Gauntlet
2040
2041
m=Instance.new('Model',char)
2042
2043
2044
	local function weldBetween(a, b)
2045
	    local weldd = Instance.new("ManualWeld")
2046
	    weldd.Part0 = a
2047
	    weldd.Part1 = b
2048
	    weldd.C0 = CFrame.new()
2049
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
2050
	    weldd.Parent = a
2051
	    return weldd
2052
	end
2053
	
2054
	it=Instance.new
2055
	
2056
	function nooutline(part)
2057
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
2058
	end
2059
	
2060
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
2061
		local fp=it("Part")
2062
		fp.formFactor=formfactor
2063
		fp.Parent=parent
2064
		fp.Reflectance=reflectance
2065
		fp.Transparency=transparency
2066
		fp.CanCollide=false
2067
		fp.Locked=true
2068
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
2069
		fp.Name=name
2070
		fp.Size=size
2071
		fp.Position=char.Torso.Position
2072
		nooutline(fp)
2073
		fp.Material=material
2074
		fp:BreakJoints()
2075
		return fp
2076
	end
2077
	
2078
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
2079
		local mesh=it(Mesh)
2080
		mesh.Parent=part
2081
		if Mesh=="SpecialMesh" then
2082
			mesh.MeshType=meshtype
2083
			mesh.MeshId=meshid
2084
		end
2085
		mesh.Offset=offset
2086
		mesh.Scale=scale
2087
		return mesh
2088
	end
2089
	
2090
	function weld(parent,part0,part1,c0,c1)
2091
		local weld=it("Weld")
2092
		weld.Parent=parent
2093
		weld.Part0=part0
2094
		weld.Part1=part1
2095
		weld.C0=c0
2096
		weld.C1=c1
2097
		return weld
2098
	end
2099
2100
MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Royal purple","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854))
2101
MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935))
2102
TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2103
TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
2104
mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
2105
MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2106
MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158))
2107
mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
2108
MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116))
2109
MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
2110
mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2111
MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2112
MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2113
mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
2114
MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138))
2115
MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2116
mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
2117
MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138))
2118
MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2119
mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999))
2120
MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854))
2121
MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2122
mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
2123
MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2124
MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2125
mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
2126
MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2127
MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381))
2128
mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
2129
MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2130
MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2131
mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995))
2132
MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2133
MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
2134
mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
2135
MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2136
MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2137
mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998))
2138
MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116))
2139
MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
2140
mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2141
MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116))
2142
MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
2143
mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2144
MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116))
2145
MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668))
2146
mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2147
MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116))
2148
MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516))
2149
mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2150
MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116))
2151
MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079))
2152
mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999))
2153
MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2154
MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393))
2155
mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999))
2156
MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2157
MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2158
mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998))
2159
TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272))
2160
TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594))
2161
mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048))
2162
TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2163
TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277))
2164
mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
2165
TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2166
TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
2167
mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
2168
TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2169
TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775))
2170
mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994))
2171
TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854))
2172
TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2173
mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997))
2174
TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Eggplant","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854))
2175
TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799))
2176
mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997))
2177
MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272))
2178
MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847))
2179
mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036))
2180
2181
--[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603))
2182
TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367))
2183
mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]]
2184
2185
2186
local edit = function(name,mat,col)
2187
name.Material = mat
2188
name.BrickColor = BrickColor.new(col)
2189
end
2190
2191
local dark = function()
2192
edit(TR1,"Neon","Royal purple")
2193
edit(TR2,"Neon","Royal purple")
2194
edit(TR3,"Neon","Royal purple")
2195
edit(TR4,"Neon","Royal purple")
2196
edit(TR5,"Neon","Royal purple")
2197
edit(TR6,"Neon","Royal purple")
2198
edit(TR7,"Neon","Royal purple")
2199
edit(MN,"Neon","Royal purple")
2200
--
2201
2202
2203
end
2204
local light = function()
2205
edit(TR1,"Neon",BoostedColorScheme)
2206
edit(TR2,"Neon",BoostedColorScheme)
2207
edit(TR3,"Neon",BoostedColorScheme)
2208
edit(TR4,"Neon",BoostedColorScheme)
2209
edit(TR5,"Neon",BoostedColorScheme)
2210
edit(TR6,"Neon",BoostedColorScheme)
2211
edit(TR7,"Neon",BoostedColorScheme)
2212
edit(MN,"Neon",BoostedColorScheme)
2213
--
2214
2215
end
2216
2217
2218
dark()
2219
2220
2221
2222
----------------------------------------------------
2223
--ATTACK FUNCTIONS--
2224
----------------------------------------------------
2225
2226
function slashattack1()
2227
attackvalue = 2
2228
				
2229
if holy == true then
2230
			for i = 1, 10 do
2231
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
2232
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
2233
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2234
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2235
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2236
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2237
			if Debounces.on == false then break end
2238
			rs:wait(2)
2239
			end
2240
	else 
2241
		for i = 1, 20 do
2242
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
2243
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
2244
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2245
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2246
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2247
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2248
			if Debounces.on == false then break end
2249
			rs:wait(2)
2250
			end			
2251
	end		
2252
			
2253
				z = Instance.new("Sound", hed)
2254
				z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2255
				z.Pitch = ptz[math.random(1,#ptz)]
2256
				z.Volume = 1
2257
				wait(.01)
2258
				z:Play()
2259
				
2260
				if holy == true then
2261
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2262
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2263
				else
2264
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2265
				end
2266
				 
2267
				Debounces.Slashing = true
2268
				
2269
if holy == true then		
2270
			
2271
			for i = 1, 10 do
2272
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-50),math.rad(40)), 0.3)
2273
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2274
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
2275
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
2276
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
2277
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
2278
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(-50), math.rad(30), math.rad(0)), 0.35)
2279
			if Debounces.on == false then break end
2280
			rs:wait(2)
2281
			end
2282
			
2283
2284
                z1 = Instance.new("Sound", hed)
2285
                z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2286
                z1.Pitch = ptz[math.random(1,#ptz)]
2287
                z1.Volume = 1
2288
                wait(.01)
2289
				z1:Play()
2290
				
2291
				if holy == true then
2292
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2293
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2294
				else
2295
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2296
				end
2297
			
2298
else
2299
	
2300
end		
2301
2302
	if holy == true then
2303
		for i = 1, 360, 48 do
2304
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
2305
						rs:wait(4)
2306
						torso.Weld.C1 = CFrame.new(0, -1, 0)
2307
		end
2308
	else
2309
		end
2310
2311
	if holy == true then		
2312
			
2313
			for i = 1, 10 do
2314
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(40),math.rad(20),math.rad(-20)), 0.3)
2315
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
2316
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2317
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2318
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2319
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2320
			if Debounces.on == false then break end
2321
			rs:wait(2)
2322
			end
2323
			
2324
else
2325
	
2326
				for i = 1, 20 do
2327
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
2328
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2329
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
2330
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
2331
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
2332
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
2333
			if Debounces.on == false then break end
2334
			rs:wait(2)
2335
				end
2336
				
2337
end
2338
                z1 = Instance.new("Sound", hed)
2339
                z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2340
                z1.Pitch = ptz[math.random(1,#ptz)]
2341
                z1.Volume = 1
2342
                wait(.01)
2343
				z1:Play()
2344
				
2345
				if holy == true then
2346
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2347
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2348
				else
2349
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2350
				end
2351
				
2352
			Debounces.Slashing = true
2353
			
2354
			for i = 1, 26 do
2355
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (90),math.rad(-40),math.rad(80)), 0.35)
2356
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
2357
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)),   0.35)
2358
		if holy == true then
2359
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
2360
		else
2361
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
2362
		end
2363
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
2364
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
2365
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
2366
			if Debounces.on == false then break end
2367
			rs:wait(2)
2368
			end
2369
			
2370
end
2371
2372
---[[Secondary attack swipes]]
2373
2374
function slashattack2()
2375
attackvalue = 1
2376
			
2377
if holy == true then
2378
			for i = 1, 10 do
2379
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
2380
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
2381
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2382
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2383
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2384
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2385
			if Debounces.on == false then break end
2386
			rs:wait(2)
2387
			end
2388
	else 
2389
		for i = 1, 20 do
2390
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (60),math.rad(70),math.rad(70)), 0.2)
2391
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad  (-40)), 0.2)
2392
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2393
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2394
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2395
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2396
			if Debounces.on == false then break end
2397
			rs:wait(2)
2398
			end			
2399
	end		
2400
			
2401
				z = Instance.new("Sound", hed)
2402
				z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2403
				z.Pitch = ptz[math.random(1,#ptz)]
2404
				z.Volume = 1
2405
				wait(.01)
2406
				z:Play()
2407
				
2408
				if holy == true then
2409
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2410
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2411
				else
2412
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2413
				end
2414
				 
2415
				Debounces.Slashing = true
2416
				
2417
if holy == true then		
2418
			
2419
			for i = 1, 10 do
2420
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-50),math.rad(40)), 0.3)
2421
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2422
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
2423
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
2424
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
2425
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
2426
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(-50), math.rad(30), math.rad(0)), 0.35)
2427
			if Debounces.on == false then break end
2428
			rs:wait(2)
2429
			end
2430
			
2431
2432
                z1 = Instance.new("Sound", hed)
2433
                z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2434
                z1.Pitch = ptz[math.random(1,#ptz)]
2435
                z1.Volume = 1
2436
                wait(.01)
2437
				z1:Play()
2438
				
2439
				if holy == true then
2440
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2441
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2442
				else
2443
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2444
				end
2445
			
2446
else
2447
	
2448
end		
2449
2450
2451
2452
	if holy == true then		
2453
			
2454
			for i = 1, 10 do
2455
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
2456
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2457
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)),   0.2)
2458
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(70),   math.rad(0)), 0.2)
2459
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
2460
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
2461
			if Debounces.on == false then break end
2462
			rs:wait(2)
2463
			end
2464
			
2465
else
2466
	
2467
				for i = 1, 20 do
2468
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
2469
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2470
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
2471
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
2472
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
2473
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
2474
			if Debounces.on == false then break end
2475
			rs:wait(2)
2476
				end
2477
				
2478
end
2479
                z1 = Instance.new("Sound", hed)
2480
                z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2481
                z1.Pitch = ptz[math.random(1,#ptz)]
2482
                z1.Volume = 1
2483
                wait(.01)
2484
				z1:Play()
2485
				
2486
				if holy == true then
2487
				--so("http://roblox.com/asset/?id=231917788",hed,1,1.7)
2488
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2489
				else
2490
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2491
				end
2492
				
2493
			Debounces.Slashing = true
2494
			
2495
			for i = 1, 26 do
2496
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad  (90),math.rad(-40),math.rad(80)), 0.35)
2497
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
2498
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)),   0.35)
2499
		if holy == true then
2500
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
2501
		else
2502
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90),   math.rad(0)), 0.35)
2503
		end
2504
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
2505
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
2506
            cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
2507
			if Debounces.on == false then break end
2508
			rs:wait(2)
2509
			end
2510
			
2511
end
2512
----------------------------------------------------
2513
function Vanish()
2514
	for i = 1, 10 do wait()
2515
		for i,v in pairs(char.Genkadda:GetChildren()) do
2516
			if v:IsA("Part") or v:IsA("WedgePart") then
2517
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
2518
					v.Transparency = v.Transparency + 0.1
2519
				end
2520
			end
2521
		end
2522
	end
2523
end
2524
----------------------------------------------------
2525
function Appear()
2526
	for i = 1, 10 do wait()
2527
		for i,v in pairs(char.Genkadda:GetChildren()) do
2528
			if v:IsA("Part") or v:IsA("WedgePart") then
2529
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
2530
					v.Transparency = v.Transparency - 0.1
2531
				end
2532
			end
2533
		end
2534
	end
2535
end
2536
----------------------------------------------------
2537
local player = game.Players.LocalPlayer
2538
local pchar = player.Character
2539
local mouse = player:GetMouse()
2540
local cam = workspace.CurrentCamera
2541
2542
local rad = math.rad
2543
2544
local keysDown = {}
2545
local flySpeed = 0
2546
local MAX_FLY_SPEED = 150
2547
2548
local canFly = false
2549
local flyToggled = false
2550
2551
local forward, side = 0, 0
2552
local lastForward, lastSide = 0, 0
2553
2554
local floatBP = Instance.new("BodyPosition")
2555
floatBP.maxForce = Vector3.new(0, math.huge, 0)
2556
local flyBV = Instance.new("BodyVelocity")
2557
flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
2558
local turnBG = Instance.new("BodyGyro")
2559
turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
2560
2561
mouse.KeyDown:connect(function(key)
2562
	keysDown[key] = true
2563
	
2564
	if key == "f" then
2565
		flyToggled = not flyToggled
2566
		
2567
	if not flyToggled then
2568
		stanceToggle = "Normal"
2569
		floatBP.Parent = nil
2570
		flyBV.Parent = nil
2571
		turnBG.Parent = nil
2572
		root.Velocity = Vector3.new()
2573
		pchar.Humanoid.PlatformStand = false
2574
	end
2575
end
2576
	
2577
end)
2578
mouse.KeyUp:connect(function(key)
2579
	keysDown[key] = nil
2580
end)
2581
2582
local function updateFly()
2583
2584
	if not flyToggled then return end
2585
	
2586
	lastForward = forward
2587
	lastSide = side
2588
	
2589
	forward = 0
2590
	side = 0
2591
	
2592
	if keysDown.w then
2593
		forward = forward + 1
2594
	end
2595
	if keysDown.s then
2596
		forward = forward - 1
2597
	end
2598
	if keysDown.a then
2599
		side = side - 1
2600
	end
2601
	if keysDown.d then
2602
		side = side + 1
2603
	end
2604
2605
	
2606
	canFly = (forward ~= 0 or side ~= 0)
2607
	
2608
	if canFly then
2609
		stanceToggle = "Floating"
2610
		turnBG.Parent = root
2611
		floatBP.Parent = nil
2612
		flyBV.Parent = root
2613
		
2614
		flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
2615
		if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
2616
	else
2617
		floatBP.position = root.Position
2618
		floatBP.Parent = root
2619
		
2620
		flySpeed = flySpeed - 1
2621
		if flySpeed < 0 then flySpeed = 0 end
2622
	end
2623
	
2624
	local camCF = cam.CoordinateFrame
2625
	local in_forward = canFly and forward or lastForward
2626
	local in_side = canFly and side or lastSide
2627
	
2628
	flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, 
2629
in_forward * 0.2, 0).p) - camCF.p) * flySpeed
2630
	
2631
	turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 
2632
0)
2633
end
2634
2635
game:service'RunService'.RenderStepped:connect(function()
2636
	if flyToggled then
2637
		pchar.Humanoid.PlatformStand = true
2638
	end
2639
	updateFly()
2640
end)
2641-
					randmg = math.random(1000,2000)
2641+
2642
p13.Touched:connect(function(ht)
2643
    hit = ht.Parent
2644
    if ht and hit:IsA("Model") then
2645
            if hit:FindFirstChild("Humanoid") then
2646
                if hit.Name ~= p.Name then
2647
					randmg = math.random(20,25)
2648
                    if Debounces.Slashing == true and Debounces.Slashed == false then
2649
                            Debounces.Slashed = true
2650
                                hit:FindFirstChild("Humanoid"):TakeDamage(randmg)				 
2651
                            wait(.3)
2652
                            Debounces.Slashed = false
2653-
					randmg = math.random(1000,2000)
2653+
2654
                end
2655
            end
2656
    elseif ht and hit:IsA("Hat") then
2657
        if hit.Parent.Name ~= p.Name then
2658
            if hit.Parent:FindFirstChild("Humanoid") then
2659
					randmg = math.random(20,25)
2660
                   if Debounces.Slashing == true and Debounces.Slashed == false then
2661
                            Debounces.Slashed = true
2662
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(randmg)
2663
                            wait(.3)
2664
                Debounces.Slashed = false
2665
				end
2666
            end
2667
        end
2668
    end    
2669
end)
2670
2671
p13.Touched:connect(function(ht)
2672
    hit = ht.Parent
2673
    if ht and hit:IsA("Model") then
2674
            if hit:FindFirstChild("Humanoid") then
2675
                if hit.Name ~= p.Name and hit:FindFirstChild("Humanoid").Health > 0 then
2676
				if Debounces.Slashing == true and Debounces.Slashed == false then
2677
				DGU(hit:FindFirstChild("Head"),randmg)
2678
				else
2679
				end
2680
			else
2681
			end	
2682
		end	
2683
	end
2684
end)
2685
2686
								
2687
								
2688
----------------------------------------------------
2689
idz = {"161006212", "161006195"}
2690
mouse.KeyDown:connect(function(key)
2691
    if key == "q" then
2692
        if Debounces.CanAttack == true then
2693
			Debounces.CanAttack = false
2694
			Debounces.NoIdl = true
2695
			Debounces.on = true
2696
2697
		if attackvalue == 1 then
2698
						slashattack1()
2699
		elseif attackvalue == 2 then
2700
						slashattack2()
2701
		end
2702
	
2703
			Debounces.Slashing = false
2704
			z:Destroy()
2705
			z1:Destroy()
2706
			cor.Weld.C1 = CFrame.Angles(0,0,0)
2707
		if Debounces.CanAttack == false then
2708
			Debounces.CanAttack = true
2709
			Debounces.NoIdl = false
2710
			Debounces.on = false
2711
			end
2712
		end
2713
	end
2714
end)
2715
-------------------------------
2716
pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
2717
mouse.KeyDown:connect(function(key)
2718
    if key == "e" then
2719
        if Debounces.CanAttack == true then
2720
			Debounces.CanAttack = false
2721
			Debounces.NoIdl = true
2722
			Debounces.on = true
2723
			Debounces.ks = true
2724
	larm.Touched:connect(function(ht)
2725
        hit = ht.Parent
2726
        if ht and hit:IsA("Model") then
2727
                if hit:FindFirstChild("Humanoid") then
2728
                    if hit.Name ~= p.Name then
2729
                        if Debounces.Slapping == true and Debounces.Slapped == false then
2730
                                Debounces.Slapped = true
2731
                                    if Debounces.ks==true then
2732
                                    z = Instance.new("Sound",hed)
2733
                                    z.SoundId = "rbxassetid://169380525"
2734
                                    z.Volume = 1
2735
                                    z:Play()
2736
                                    z1 = Instance.new("Sound",char)
2737
                                    z1.SoundId = "rbxassetid://261010715"
2738
									z1.Pitch = pts[math.random(1,#pts)]
2739
                                    z1.Volume = 1
2740
                                    z2 = Instance.new("Sound",char)
2741
                                    z2.SoundId = "rbxassetid://261010715"
2742
									z2.Pitch = z1.Pitch
2743
                                    z2.Volume = 1
2744
                                    z3 = Instance.new("Sound",char)
2745
                                    z3.SoundId = "rbxassetid://261010715"
2746
									z3.Pitch = z1.Pitch
2747
                                    z3.Volume = 1
2748
if Profanity == true then
2749
                                    z1:Play()
2750
                                    z2:Play()
2751
                                    z3:Play()
2752
else end
2753
                                    Debounces.ks=false
2754
                                    end
2755
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
2756
									hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
2757
                                wait(.5)
2758
                                Debounces.Slapped = false
2759
								z:Destroy()
2760
								z1:Destroy()
2761
								z2:Destroy()
2762
								z3:Destroy()
2763
                        end
2764
                    end
2765
                end
2766
        elseif ht and hit:IsA("Hat") then
2767
            if hit.Parent.Name ~= p.Name then
2768
                if hit.Parent:FindFirstChild("Humanoid") then
2769
                       if Debounces.Slapping == true and Debounces.Slapped == false then
2770
                                Debounces.Slapped = true
2771
                                    if Debounces.ks==true then
2772
                                    z = Instance.new("Sound",hed)
2773
                                    z.SoundId = "rbxassetid://169380525"
2774
                                    z.Volume = 1
2775
                                    z:Play()
2776
                                    z1 = Instance.new("Sound",char)
2777
                                    z1.SoundId = "rbxassetid://261010715"
2778
									z1.Pitch = pts[math.random(1,#pts)]
2779
                                    z1.Volume = 1
2780
                                    z2 = Instance.new("Sound",char)
2781
                                    z2.SoundId = "rbxassetid://261010715"
2782
									z2.Pitch = z1.Pitch
2783
                                    z2.Volume = 1
2784
                                    z3 = Instance.new("Sound",char)
2785
                                    z3.SoundId = "rbxassetid://261010715"
2786
									z3.Pitch = z1.Pitch
2787
                                    z3.Volume = 1
2788
                                    z1:Play()
2789
                                    z2:Play()
2790
                                    z3:Play()
2791
                                    Debounces.ks=false
2792
                                    end
2793
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
2794
                                wait(.5)
2795
                    Debounces.Slapped = false
2796
					z:Destroy()
2797
					z1:Destroy()
2798
					z2:Destroy()
2799
					z3:Destroy()
2800
					end
2801
                end
2802
            end
2803
        end    
2804
    end)
2805
				for i = 1, 14 do
2806
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
2807
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
2808
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
2809
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
2810
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
2811
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
2812
					if Debounces.on==false then break end
2813
					rs:wait(2)
2814
				end
2815
				Debounces.Slapping = true
2816
				for i = 1, 20 do
2817
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
2818
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
2819
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
2820
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
2821
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
2822
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
2823
					if Debounces.on==false then break end
2824
					rs:wait(2)
2825
				end
2826
				Debounces.Slapping = false
2827
			if Debounces.CanAttack == false then
2828
				Debounces.CanAttack = true
2829
				Debounces.NoIdl = false
2830
				Debounces.on = false
2831
			end
2832
		end
2833
	end
2834
end)
2835
-------------------------------
2836
mouse.KeyDown:connect(function(key)
2837
    if key == "r" then
2838
        if Debounces.CanAttack == true then
2839
			Debounces.CanAttack = false
2840
			Debounces.NoIdl = true
2841
			Debounces.on = true
2842
			if holy ~= true then
2843
				for i = 1, 20 do
2844
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3)
2845
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3)
2846
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3)
2847
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3)
2848
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
2849
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
2850
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
2851
					if Debounces.on==false then break end
2852
					rs:wait(2)
2853
				end
2854
				else						
2855
					for i = 1, 10 do
2856
           		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
2857
            	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
2858
                lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0, -1) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.6)
2859
                rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.6)
2860
                hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(18), 0), 0.6)
2861
                torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-60), math.rad(-10)), 0.6)
2862
				cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35)
2863
					if Debounces.on==false then break end
2864
					rs:wait(2)
2865
					end
2866
					end
2867
				Debounces.Slashing = true
2868
				
2869
2870
				
2871
				z = Instance.new("Sound",hed)
2872
				z.SoundId = "rbxassetid://206083107"
2873
				z.Pitch = .75
2874
				z.Volume = .65
2875
				wait(0.1)
2876
				z:Play()
2877
				z1 = Instance.new("Sound", hed)
2878
				z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
2879
				z1.Pitch = ptz[math.random(1,#ptz)]
2880
				z1.Volume = 1
2881
				wait(.01)
2882
				z1:Play()
2883
				
2884
				if holy == true then
2885
				so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)])
2886
				else
2887
				so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)])
2888
				end
2889
				
2890
				if holy ~= true then
2891
				for i = 1, 20 do
2892
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3)
2893
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3)
2894
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
2895
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
2896
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2897
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3)
2898
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
2899
					if Debounces.on==false then break end
2900
					rs:wait(2)
2901
				end
2902
				else
2903
				for i = 1, 10 do
2904
                	larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-21), math.rad(50), math.rad(-40)), 0.46)
2905
                	rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(0), 0, math.rad(18)), 0.6)
2906
                	lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-14), 0, math.rad(-10)), 0.6)
2907
                	rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(6), 0, math.rad(10)), 0.6)
2908
                	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-14), math.rad(-36), 0), 0.6)
2909
                	torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(36), 0), 0.6)
2910
					cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35)
2911
					if Debounces.on==false then break end
2912
					rs:wait(2)
2913
					end
2914
				end
2915
				Debounces.Slashing = false
2916
				cor.Weld.C1 = CFrame.Angles(0,0,0)
2917
			if Debounces.CanAttack == false then
2918
				Debounces.CanAttack = true
2919
				Debounces.NoIdl = false
2920
				Debounces.on = false
2921
			end
2922
		end
2923
	end
2924
end)
2925
-------------------------------
2926
mouse.KeyDown:connect(function(key)
2927
    if key == "t" then
2928
        if Debounces.CanAttack == true then
2929
			Debounces.CanAttack = false
2930
			Debounces.NoIdl = true
2931
			Debounces.on = true
2932
			Debounces.ks = true
2933
2934
if AirHumpDamage == true then
2935
	torso.Touched:connect(function(ht)
2936
        hit = ht.Parent
2937
        if ht and hit:IsA("Model") then
2938
                if hit:FindFirstChild("Humanoid") then
2939
                    if hit.Name ~= p.Name then
2940
                        if Debounces.Slapping == true and Debounces.Slapped == false then
2941
                                Debounces.Slapped = true
2942
                                    if Debounces.ks==true then
2943
			so("http://www.roblox.com/asset/?id=169380528",torso,0.4,1)
2944
			so("http://www.roblox.com/asset/?id=169380538",torso,0.4,1)
2945
                                    Debounces.ks=false
2946
                                    end
2947
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
2948
									hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 1
2949
                                wait(.5)
2950
                                Debounces.Slapped = false
2951
                        end
2952
                    end
2953
                end
2954
        elseif ht and hit:IsA("Hat") then
2955
            if hit.Parent.Name ~= p.Name then
2956
                if hit.Parent:FindFirstChild("Humanoid") then
2957
                       if Debounces.Slapping == true and Debounces.Slapped == false then
2958
                                Debounces.Slapped = true
2959
                                    if Debounces.ks==true then
2960
   			so("http://www.roblox.com/asset/?id=169380528",torso,0.4,1)
2961
			so("http://www.roblox.com/asset/?id=169380538",torso,0.4,1)
2962
                                    Debounces.ks=false
2963
                                    end
2964
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
2965
                                wait(.5)
2966
                    Debounces.Slapped = false
2967
					end
2968
                end
2969
            end
2970
        end    
2971
	    end)
2972
end
2973
		for i = 1,20 do
2974
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
2975
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2)
2976
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2)
2977
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2)
2978
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2)
2979
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2)
2980
			if Debounces.on==false then break end
2981
			rs:wait(2)
2982
		end
2983
		
2984
if AirHumpDamage == true then
2985
				Debounces.Slapping = true
2986
end		
2987
	
2988
		for i = 1,20 do
2989
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
2990
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2)
2991
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2)
2992
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2)
2993
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2)
2994
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
2995
			if Debounces.on==false then break end
2996
			rs:wait(2)
2997
		end
2998
		
2999
		
3000
		if AirHumpDamage == true then
3001
			Debounces.Slapping = false
3002
		end			
3003
			if Debounces.CanAttack == false then
3004
				Debounces.CanAttack = true
3005
				Debounces.NoIdl = false
3006
				Debounces.on = false
3007
			end
3008
		end
3009
    end
3010
end)
3011
-------------------------------
3012
local ptz3 = {0.5, 0.6, 0.7}
3013
mouse.KeyDown:connect(function(key)
3014
    if key == "g" then
3015
        if Debounces.CanAttack == true then
3016
			Debounces.CanAttack = false
3017
			Debounces.NoIdl = true
3018
			Debounces.on = true
3019
			Debounces.Slashing = true
3020
						
3021
		z = Instance.new("Sound", hed)
3022
				z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
3023
				z.Pitch = ptz[math.random(1,#ptz)]
3024
				z.Volume = 1
3025
				
3026
			
3027
			if holy == true then
3028
			eColors = {BoostedColorScheme} 
3029
			
3030
3031
		for i,v in pairs(char.Genkadda:GetChildren()) do
3032
			if v:IsA("Part") or v:IsA("WedgePart") then
3033
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
3034
					v.BrickColor = BrickColor.new(BoostedColorScheme)
3035
					v.Material = "Neon"
3036
				end
3037
			end
3038
		end
3039
		
3040
	
3041
	char.Humanoid.WalkSpeed = 50
3042
	
3043
				GroundWave()	
3044
			so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)])
3045
			so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5)
3046
			so("http://www.roblox.com/asset/?id=241816017",hed,1,1)
3047
			 
3048
	
3049
			else
3050
			so("http://roblox.com/asset/?id=200633029",hed,1,0.9)
3051
			end
3052
			
3053
3054
				for i = 1, 8 do
3055
					z:play()
3056
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8)
3057
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8)
3058
				if holy ~= true then
3059
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8)
3060
				else
3061
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.2, 0) * CFrame.Angles(0, 0, 0), 0.8)
3062
				end
3063
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8)
3064
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
3065
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8)
3066
					if Debounces.on==false then break end
3067
					rs:wait(2)
3068
				end
3069
				if holy == true then
3070
					for i = 1, 2880, 48 do
3071
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
3072
						rs:wait(4)
3073
					end
3074
				else
3075
					for i = 1, 1440, 48 do
3076
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0))
3077
						rs:wait(4)
3078
					end
3079
				end			
3080
				
3081
				
3082
				
3083
				
3084
				torso.Weld.C1 = CFrame.new(0, -1, 0)
3085
				Debounces.Slashing = false
3086
				
3087
			if Debounces.CanAttack == false then
3088
				Debounces.CanAttack = true
3089
				Debounces.NoIdl = false
3090
				Debounces.on = false
3091
				
3092
3093
3094
		if BoostedAlwaysDashes == true and holy == true then	
3095
		char.Humanoid.WalkSpeed = 50
3096
		elseif BoostedAlwaysDashes == false and holy == true then
3097
		char.Humanoid.WalkSpeed = 10
3098
		elseif BoostedAlwaysDashes == true and holy == false then
3099
		char.Humanoid.WalkSpeed = 10
3100
		end
3101
		
3102
				
3103
				end
3104
				
3105
3106
				
3107
			end
3108
		
3109
	
3110
		
3111
		end
3112
3113
3114
end)
3115
----------------------------------------------------
3116
pt = {6.6, 6.8, 7, 7.2, 7.4}
3117
mouse.KeyDown:connect(function(key)
3118
    if key == "l" then
3119
        if Debounces.CanJoke == true then
3120
            Debounces.CanJoke = false
3121
if Profanity == true then
3122
            u = Instance.new("Sound",char)
3123
            u.SoundId = "http://www.roblox.com/asset/?id=261303790"
3124
            u.Pitch = pt[math.random(1,#pt)]
3125
            u.Volume = 1
3126
            u2 = Instance.new("Sound",char)
3127
            u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
3128
            u2.Pitch = u.Pitch
3129
            u2.Volume = 1
3130
            u3 = Instance.new("Sound",char)
3131
            u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
3132
            u3.Pitch = u.Pitch
3133
            u3.Volume = 1
3134
            wait(.01)
3135
            u:Play()
3136
            u2:Play()
3137
            u3:Play()
3138
            wait(1.5)
3139
            u:Destroy()
3140
            u2:Destroy()
3141
            u3:Destroy()
3142
else end
3143
            if Debounces.CanJoke == false then
3144
                Debounces.CanJoke = true
3145
            end
3146
        end
3147
    end
3148
end)
3149
------------------------------- Conditional Grab/Kick Key
3150
3151
mouse.KeyDown:connect(function(key)
3152
3153
    if key == "x" then
3154
		if Grab ~= true then
3155
			Kick()
3156
		elseif Grab == true then
3157
			Throw()
3158
		end
3159
	end
3160
3161
end)
3162
3163
3164
----------------------------------------------------Cero
3165
mouse.KeyDown:connect(function(key)
3166
    if key == "c" then
3167
        if holy ~= true then
3168
			CeroBeam()
3169
		else
3170
			ChargeAttack()
3171
		end
3172
	end
3173
end)
3174
-------------------------------
3175
3176
----------------------------------------------------EDIT END
3177
Grab = false
3178
mouse.KeyDown:connect(function(key)
3179
    if key == "z" then
3180
        Debounces.on = true
3181
        Debounces.NoIdl = true
3182
		Debounces.ks = true
3183
        if Grab == false then
3184
        gp = nil
3185
        for i = 1, 20 do
3186
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
3187
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
3188
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
3189
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
3190
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
3191
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
3192
            if Debounces.on == false then break end
3193
            rs:wait(2)
3194
        end
3195
        con1=larm.Touched:connect(function(hit) -- this is grab
3196
            ht = hit.Parent
3197
            hum1=ht:FindFirstChild('Humanoid')
3198
            if hum1 ~= nil then
3199
			    if Debounces.ks==true then
3200
                z = Instance.new("Sound",hed)
3201
                z.SoundId = "rbxassetid://200632821"
3202
                z.Volume = 1
3203
                z:Play()
3204
                Debounces.ks=false
3205
				end
3206
                hum1.PlatformStand=true
3207
                gp = ht
3208
                Grab = true
3209
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
3210
                asd.Parent = larm
3211
                asd.Name = "asd"
3212
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
3213
				stanceToggle = "Grabbed"
3214
            --[[elseif hum1 == nil then
3215
                con1:disconnect()
3216
                wait() return]]--
3217
            end
3218
        end)
3219
        for i = 1, 20 do
3220
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
3221
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
3222
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
3223
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
3224
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
3225
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
3226
            if Debounces.on == false then break end
3227
            rs:wait(2)
3228
        end
3229
    con1:disconnect()
3230
    Debounces.on = false
3231
    Debounces.NoIdl = false
3232
    elseif Grab == true then
3233
        Grab = false
3234
			--[[for i = 1, 16 do
3235
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
3236
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
3237
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
3238
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
3239
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
3240
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
3241
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
3242
			if Debounces.on == false then end
3243
			rs:wait()
3244
		end]]--
3245
			for i = 1, 16 do
3246
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
3247
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
3248
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
3249
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
3250
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
3251
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
3252
			if Debounces.on == false then end
3253
			rs:wait()
3254
		end
3255
3256
		Slam()
3257
			
3258
		coroutine.resume(coroutine.create(function()
3259
		if holy == true then
3260
			DGU(larm, holyslamdmg)
3261
		elseif holy ~= true then
3262
			DGU(larm, slamdmg)
3263
		end
3264
		end))
3265
		
3266
		if gp ~= nil then
3267
			for i,v in pairs(larm:GetChildren()) do
3268
				if v.Name == "asd" and v:IsA("Weld") then
3269
					v:Remove()
3270
				end
3271
			end
3272
		for i = 1, 16 do
3273
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
3274
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
3275
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
3276
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
3277
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
3278
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
3279
			if Debounces.on == false then end
3280
			rs:wait()
3281
		end
3282
		stanceToggle = "Normal"
3283
        --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
3284
        bv.maxForce = Vector3.new(400000, 400000, 400000)
3285
        bv.P = 125000
3286
        bv.velocity = char.Head.CFrame.lookVector * 200]]--
3287
        ht=nil
3288
        Debounces.on = false
3289
        Debounces.NoIdl = false
3290
        elseif ht == nil then wait()
3291
        Grab = false
3292
        Debounces.on = false
3293
        Debounces.NoIdl = false
3294
            end
3295
        end
3296
    end
3297
end)
3298
----------------------------------------------------
3299
Charging = false
3300
chargewait = false	
3301
mouse.KeyDown:connect(function(key)
3302
	if key == "h" then
3303
		if Charging == false and chargewait == false then
3304
			Charging = true
3305
			chargewait = true
3306
			if Debounces.CanAttack == true then
3307
				Debounces.CanAttack = false
3308
				Debounces.NoIdl = true
3309
				Debounces.on = true
3310
3311
			
3312
		if holy ~= true then
3313
		holy = true
3314
		else holy = false
3315
		end			
3316
3317
				
3318
				for i = 1,20 do
3319
					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)
3320
					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)
3321
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
3322
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
3323
					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)
3324
					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)
3325
					if Debounces.on == false then break end
3326
					rs:wait()
3327
				end
3328
pt=Instance.new('Part',torso)
3329
pt.Anchored=true
3330
pt.CanCollide=false
3331
pt.Locked = true
3332
pt.Material = "Neon"
3333
pt.FormFactor='Custom'
3334
pt.Size=Vector3.new(1,1,1)
3335
pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
3336
pt.Transparency=.6
3337
3338
if holy == true then
3339
pt.BrickColor=BrickColor.new(BoostedColorScheme)
3340
else
3341
pt.BrickColor = BrickColor.new("Really black")
3342
end
3343
3344
msh=Instance.new('SpecialMesh',pt)
3345
msh.MeshId='http://www.roblox.com/asset/?id=20329976'
3346
msh.Scale=Vector3.new(8,4,8)
3347
pt2=pt:clone()
3348
pt2.Parent = torso
3349
pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
3350
3351
if holy == true then
3352
pt2.BrickColor=BrickColor.new(BoostedColorScheme)
3353
else
3354
pt2.BrickColor = BrickColor.new("Royal purple")
3355
end
3356
3357
3358
msh2=msh:clone()
3359
msh2.Parent=pt2
3360
msh2.Scale=Vector3.new(10,5,10)
3361
3362
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}
3363
3364
bl = Instance.new("Part", char)
3365
bl.Locked = true
3366
bl.Name = "Shell"
3367
3368
if holy == true then
3369
bl.BrickColor = BrickColor.new(BoostedColorScheme)
3370
else
3371
	bl.BrickColor = BrickColor.new("Really black")
3372
end
3373
3374
bl.Anchored = true
3375
bl.Material = "Neon"
3376
bl.CanCollide = false
3377
bl.Transparency = 0
3378
bl.Reflectance = 0
3379
bl.BottomSurface = 0
3380
bl.TopSurface = 0
3381
bl.Shape = 0
3382
blm = Instance.new("SpecialMesh",bl)
3383
blm.MeshType = "Sphere"
3384
blm.Scale = Vector3.new(1,1,1)
3385
3386
			so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2) 
3387
			so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8) 
3388
			so("http://roblox.com/asset/?id=168586621",torso,1,0.5)
3389
3390
3391
3392
3393
if holy == true then
3394
	light()
3395
			ds:stop()
3396
			hs:play()
3397
			eColors = {BoostedColorScheme} 
3398
		for i,v in pairs(char.Genkadda:GetChildren()) do
3399
			if v:IsA("Part") or v:IsA("WedgePart") then
3400
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
3401
					v.BrickColor = BrickColor.new(BoostedColorScheme)
3402
					v.Material = "Neon"
3403
				end
3404
			end
3405
		end			
3406
3407
3408
else 
3409
	dark()
3410
		hs:stop()
3411
		ds:play()
3412
			eColors = {"Dark indigo", "Really black"} 
3413
			for i,v in pairs(char.Genkadda:GetChildren()) do
3414
			if v:IsA("Part") or v:IsA("WedgePart") then
3415
				if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
3416
					v.BrickColor = BrickColor.new("Really black")
3417
					v.Material = "Metal"
3418
				end
3419
			end
3420
			end
3421
			
3422
end
3423
			
3424
	coroutine.resume(coroutine.create(function()
3425
        for i=1, math.huge, 4 do
3426
			if Charging == true then
3427
				rs:wait()
3428
				bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
3429
				blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
3430
				bl.Transparency = bl.Transparency + 0.05
3431
				pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
3432
				pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
3433
				msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
3434
				msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
3435
				elseif Charging == false then break
3436
			end
3437
		end
3438
    end))
3439
3440
3441
repeat
3442
    local p = Instance.new('Part',torso)
3443
    p.formFactor = 'Custom'
3444
    p.Size = Vector3.new(1,1,1)
3445
3446
if holy == true then
3447
    p.BrickColor = BrickColor.new(BoostedColorScheme)
3448
else
3449
	p.BrickColor = BrickColor.new("Really black") 
3450
end
3451
3452
    p.CanCollide = false
3453
    p.Transparency = 0
3454
    p.Anchored = true
3455
    p.Locked=true
3456
    p.Material = "Neon"
3457
    s = math.random(1,40)/10
3458
    local m = Instance.new("BlockMesh",p)
3459
    m.Scale = Vector3.new(s,s,s)
3460
    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())
3461
	--[[coroutine.wrap(function()
3462
		wait(2)
3463
		while Charging == true do
3464
		wait(2)
3465
		GroundWave1()
3466
		wait(2)
3467
		end
3468
	end)()]]--
3469
	Spawn(function()
3470
		while rs:wait() do
3471
			if Charging == true then
3472
				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)))
3473
				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)))
3474
				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))
3475
				torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
3476
				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)))
3477
				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)))
3478
			elseif Charging == false then break
3479
			end
3480
		end
3481
	end)
3482
	Spawn(function()
3483
        while rs:wait() do
3484
            if p.Transparency >= 1 then p:Destroy() break end
3485
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
3486
            p.Transparency = p.Transparency+0.01
3487
        end
3488
    end)
3489
    wait(.3)
3490
3491
3492
until Charging == false
3493
			end
3494
		end
3495
	end
3496
end)
3497
3498
----------------------------------------------------
3499
mouse.KeyUp:connect(function(key)
3500
	if key == "h" then
3501
		if Charging == true and chargewait == true then
3502
			chargewait = false
3503
			wait(1)
3504
			Charging = false
3505
3506
--[[for i,v in pairs (torso:GetChildren()) do
3507
	if v:IsA("Sound") then
3508
		v:Destroy()
3509
	end
3510
end]]
3511
3512
		if holy == true and BoostedAlwaysDashes == true then
3513
		hum.WalkSpeed = 50
3514
		elseif holy == true and BoostedAlwaysDashes == false then
3515
		hum.WalkSpeed = 10
3516
		elseif holy == false then
3517
		hum.WalkSpeed = 10
3518
		end			
3519
3520
3521
			--so("http://roblox.com/asset/?id=160867463",torso,1,0.7)
3522
3523
				pt:Destroy()
3524
				pt2:Destroy()
3525
				bl:Destroy()
3526
			if Debounces.CanAttack == false then
3527
				Debounces.CanAttack = true
3528
				Debounces.NoIdl = false
3529
				Debounces.on = false
3530
				Debounces.grab = false
3531
3532
			end
3533
		end
3534
	end
3535
end)
3536
----------------------------------------------------
3537
Sit = false
3538
mouse.KeyDown:connect(function(key)
3539
    if key == "b" then
3540
        if Sit == false then
3541
            Sit = true
3542
            hum.WalkSpeed = 0.1
3543
        stanceToggle = "Sitting"
3544
    elseif Sit == true then
3545
        Sit = false
3546
		if holy ~= true then
3547
            hum.WalkSpeed = 10
3548
		elseif holy == true and BoostedAlwaysDashes == true then
3549
			hum.WalkSpeed = 50
3550
		elseif holy == true and BoostedAlwaysDashes == false then
3551
			hum.WalkSpeed = 10
3552
		end
3553
        stanceToggle = "Normal"
3554
        end
3555
    end
3556
end)
3557
-------------------------------
3558
Melee = false
3559
mouse.KeyDown:connect(function(key)
3560
    if key == "m" then
3561
        if Melee == false then
3562
            Melee = true
3563
			Vanish()
3564
        stanceToggle = "Melee"
3565
    elseif Melee == true then
3566
        Melee = false
3567
		Appear()
3568
        stanceToggle = "Normal"
3569
        end
3570
    end
3571
end)
3572
-------------------------------
3573
mouse.KeyDown:connect(function(key)
3574
if holy ~= true then
3575
    if string.byte(key) == 50 then
3576
    	if Debounces.CanAttack == true then
3577
			if stanceToggle ~= "Floating" then
3578
				char.Humanoid.WalkSpeed = 60
3579
				Burst()
3580
				elseif Debounces.CanAttack == false then
3581
					elseif stanceToggle == "Floating" then
3582
				wait()
3583
			end	
3584
        end
3585
	end
3586
3587
elseif holy == true then
3588
	    if string.byte(key) == 50 then
3589
    	if Debounces.CanAttack == true then
3590
			if stanceToggle ~= "Floating" then
3591
				char.Humanoid.WalkSpeed = 60
3592
				Burst()
3593
				elseif Debounces.CanAttack == false then
3594
					elseif stanceToggle == "Floating" then
3595
				wait()
3596
			end	
3597
        end
3598
	end
3599
end
3600
3601
end)
3602
3603
mouse.KeyUp:connect(function(key)
3604
    if string.byte(key) == 50 and holy ~= true then
3605
        char.Humanoid.WalkSpeed = 10
3606
	elseif string.byte(key) == 50 and holy == true then	
3607
	    char.Humanoid.WalkSpeed = 10
3608
    end
3609
end)
3610
-------------------------------
3611
mouse.KeyDown:connect(function(key)
3612
    if key == "p" then
3613
        if CanAttack == true then
3614
            CanAttack = false
3615
        Debounces.NoIdl = true
3616
        Debounces.on = true
3617
        for i = 1, 20 do
3618
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6)
3619
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.3)
3620
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(-40)), 0.3)
3621
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6)
3622
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6)
3623
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6)
3624
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
3625
              if Debounces.on == false then
3626
                      break
3627
              end
3628
              wait()
3629
                  end
3630
                  wait()
3631
                        z = Instance.new("Sound")
3632
                        z.SoundId = "http://www.roblox.com/asset/?id=159218913"
3633
                        z.Parent = char.Head
3634
                        z.Looped = false
3635
                        z.Pitch = 1
3636
                        z.Volume = 1
3637
                        wait(.01)
3638
                        z:Play()
3639
                        Debounces.Slashing = true
3640
        for i = 1, 20 do
3641
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6)
3642
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6)
3643
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), 0.6)
3644
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6)
3645
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6)
3646
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6)
3647
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6)
3648
        wait()
3649
        if Debounces.on == false then
3650
            break
3651
        end
3652
        wait()
3653
            end
3654
            Debounces.Slashing = false
3655
        Debounces.NoIdl = false
3656
        wait()
3657
        if CanAttack == false then
3658
            CanAttack = true
3659
            end
3660
                end
3661
        end
3662
    end)
3663
----------------------------------------------------
3664
----------------------------------------------------
3665
mouse.KeyDown:connect(function(key)
3666
	if key == "v" then
3667
		if Debounces.CanAttack == true then
3668
            Debounces.CanAttack = false
3669
            Debounces.on = true
3670
            Debounces.NoIdl = true
3671
3672
if holy ~= true then
3673
				for i = 1, 15 do
3674
					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)
3675
					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)
3676
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
3677
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
3678
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
3679
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
3680
                    if Debounces.on == false then break end
3681
                    rs:wait(2.7)
3682
                end
3683
				so("http://roblox.com/asset/?id=231917788",hed,1,0.7) 
3684
				x = Instance.new("Sound",char.Head) 
3685
				x.SoundId = "rbxassetid://183763515" 
3686
				x.Pitch = 0.7
3687
				x.Volume = .8
3688
				x3 = Instance.new("Sound",char.Head) 
3689
				x3.SoundId = "rbxassetid://183763487" 
3690
				x3.Pitch = 1
3691
				x3.Volume = .8
3692
				wait(.1)
3693
				x:Play()
3694
				x3:Play()
3695
				
3696
else 
3697
	
3698
					for i = 1, 15 do
3699
					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)
3700
					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)
3701
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
3702
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
3703
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.2, -0.5) * CFrame.Angles(-0.2, 0, math.rad(-10)), 0.2)
3704
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.7, 0.1) * CFrame.Angles(-0.3, 0, math.rad(10)), 0.2)
3705
                    if Debounces.on == false then break end
3706
                    rs:wait(2.7)
3707
                end
3708
				so("http://roblox.com/asset/?id=231917788",hed,1,0.7) 
3709
				x = Instance.new("Sound",char.Head) 
3710
				x.SoundId = "rbxassetid://183763515" 
3711
				x.Pitch = 0.7
3712
				x.Volume = .8
3713
				x3 = Instance.new("Sound",char.Head) 
3714
				x3.SoundId = "rbxassetid://183763487" 
3715
				x3.Pitch = 1
3716
				x3.Volume = .8
3717
				wait(.1)
3718
				x:Play()
3719
				x3:Play()
3720
				
3721
end
3722
				
3723
if holy == true then				
3724
so("http://roblox.com/asset/?id=233091161",hed,1,0.6)
3725
so("http://roblox.com/asset/?id=2233091183",hed,1,1)
3726
else
3727
end
3728
3729
				Debounces.on = false
3730
				Debounces.Here = false
3731
				shot = shot + 1
3732
local rng = Instance.new("Part", larm)
3733
rng.Anchored = true
3734
3735
if holy ~= true then
3736
rng.BrickColor = BrickColor.new("Dark indigo")
3737
else
3738
	rng.BrickColor = BrickColor.new(BoostedColorScheme)
3739
end
3740
3741
rng.Material = "Neon"
3742
rng.CanCollide = false
3743
rng.FormFactor = 3
3744
rng.Name = "Ring"
3745
rng.Size = Vector3.new(1, 1, 1)
3746
rng.Transparency = 0.35
3747
rng.TopSurface = 0
3748
rng.BottomSurface = 0
3749
rng2 = rng:clone()
3750
rng3 = rng2:clone()
3751
rng4 = rng2:clone()
3752
local rngm = Instance.new("SpecialMesh", rng)
3753
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3754
rngm.Scale = Vector3.new(10, 10, 1)
3755
rngm2 = rngm:clone()
3756
rngm2.Scale = Vector3.new(5, 5, 3)
3757
rngm3=rngm2:clone()
3758
rngm3.Parent = rng3
3759
rngm3.Scale = Vector3.new(8, 8, 1)
3760
rngm4 = rngm2:clone()
3761
rngm4.Parent = rng4
3762
rngm4.Scale = Vector3.new(6, 6, 1)
3763
local bem = Instance.new("Part", larm)
3764
bem.Anchored = true
3765
3766
if holy == false then
3767
bem.BrickColor = BrickColor.new("Really black")
3768
else 
3769
	bem.BrickColor = BrickColor.new(BoostedColorScheme)
3770
end
3771
3772
bem.CanCollide = false
3773
bem.Material = "Neon"
3774
bem.FormFactor = 3
3775
bem.Name = "Beam" .. shot
3776
bem.Size = Vector3.new(1, 1, 1)
3777
bem.Transparency = 0.35
3778
bem.TopSurface = 0
3779
bem.BottomSurface = 0
3780
local bemm = Instance.new("SpecialMesh", bem)
3781
bemm.MeshType = 4
3782
bemm.Scale = Vector3.new(1, 4, 4)
3783
local out = Instance.new("Part", larm)
3784
out.Anchored = true
3785
out.Material = "Neon"
3786
3787
coroutine.wrap(function()
3788
for i = 1, 10, 0.5 do
3789
bem.Transparency = (i/16)
3790
out.Transparency = (i/16)
3791
wait()
3792
end
3793
end)()
3794
3795
if holy == false then
3796
out.BrickColor = BrickColor.new("Really black")
3797
else 
3798
	out.BrickColor = BrickColor.new(BoostedColorScheme)
3799
end
3800
3801
out.CanCollide = false
3802
out.FormFactor = 3
3803
out.Name = "Out"
3804
out.Size = Vector3.new(4, 4, 4)
3805
out.Transparency = 0.35
3806
out.TopSurface = 0
3807
out.BottomSurface = 0
3808
local outm = Instance.new("SpecialMesh", out)
3809
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
3810
outm.Scale = Vector3.new(6, 4, 6)
3811
local bnd = Instance.new("Part", larm)
3812
bnd.Anchored = true
3813
bnd.BrickColor = BrickColor.new("Really red")
3814
bnd.CanCollide = false
3815
bnd.FormFactor = 3
3816
bnd.Name = "Bend"
3817
bnd.Size = Vector3.new(1, 1, 1)
3818
bnd.Transparency = 1
3819
bnd.TopSurface = 0
3820
bnd.BottomSurface = 0
3821
local bndm = Instance.new("SpecialMesh", bnd)
3822
bndm.MeshType = 3
3823
bndm.Scale = Vector3.new(8, 8, 8)
3824
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
3825
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
3826
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
3827
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
3828
rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
3829
rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
3830
Debounces.Shewt = true
3831
coroutine.wrap(function()
3832
for i = 1, 20, 0.2 do
3833
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
3834
rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
3835
rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
3836
rng.Transparency = i/20
3837
rng3.Transparency = 1/24
3838
rng4.Transparency = i/26
3839
wait()
3840
end
3841
wait()
3842
rng:Destroy()
3843
end)()
3844
if Debounces.Shewt == true then
3845
larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
3846
hit = ht.Parent
3847
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
3848
if HasntTouched(hit.Name) == true and deb == false then
3849
deb = true
3850
coroutine.wrap(function()
3851
hit:FindFirstChild("Humanoid").PlatformStand = true
3852
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
3853
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
3854
end)()
3855
table.insert(Touche, hit.Name)
3856
deb = false
3857
end
3858
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
3859
if HasntTouched(hit.Parent.Name) == true and deb == false then
3860
deb = true
3861
coroutine.wrap(function()
3862
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
3863
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
3864
wait(1)
3865
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
3866
end)()
3867
table.insert(Touche, hit.Parent.Name)
3868
deb = false
3869
for i, v in pairs(Touche) do
3870
print(v)
3871
end
3872
end
3873
end
3874
end)
3875
end
3876
for i = 0, 260, 8 do
3877
bem.Size = Vector3.new(i, 3, 3)
3878
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
3879
bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
3880
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
3881
bnd.Size = Vector3.new(1,1,1)
3882
bndm.Scale = Vector3.new(8,8,8)
3883
if i % 10 == 0 then
3884
local newRng = rng2:Clone()
3885
newRng.Parent = larm
3886
newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
3887
local newRngm = rngm2:clone()
3888
newRngm.Parent=newRng
3889
coroutine.wrap(function()
3890
for i = 1, 10, 0.5 do
3891
newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
3892
newRng.Transparency = i/10
3893
wait()
3894
end
3895
wait()
3896
newRng:Destroy()
3897
end)()
3898
coroutine.wrap(function()
3899
for i = 1, 10, 0.5 do
3900
bem.Transparency = bem.Transparency + 0.005
3901
out.Transparency = out.Transparency + 0.005
3902
wait()
3903
end
3904
end)()
3905
end
3906
wait()
3907
end
3908
wait()
3909
Debounces.Shewt = false
3910
bem:Destroy()
3911
out:Destroy()
3912
bnd:Destroy()
3913
Debounces.Ready = false
3914
for i, v in pairs(Touche) do
3915
table.remove(Touche, i)
3916
end
3917
wait()
3918
table.insert(Touche, char.Name)
3919
Debounces.NoIdl = false
3920
if Debounces.CanAttack == false then
3921
Debounces.CanAttack = true
3922
end
3923
end
3924
end
3925
end)
3926
----------------------------------------------------
3927
----------------------------------------------------
3928
mouse.KeyDown:connect(function(key)
3929
    if key == "n" then
3930
	if holy == true then
3931
		hum.WalkSpeed = 0
3932
        if Debounces.CanAttack == true then
3933
        Debounces.CanAttack = false
3934
        Debounces.on = true
3935
        Debounces.NoIdl = true
3936
            wait(.1)
3937
so("http://www.roblox.com/asset/?id=169445572",hed,1.5,1.5)
3938
so("http://www.roblox.com/asset/?id=169380495",hed,1.5,1.5)
3939
        for i = 1, 20 do
3940
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad    (45),math.rad(0),math.rad(32)), 0.2)
3941
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad     (0),math.rad(0),math.rad(-20)), 0.2)
3942
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-    8),math.rad(-40), math.rad(-8)),0.2)
3943
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles  (math.rad    (-50), math.rad(40), math.rad(0)), 0.2)
3944
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles  (math.rad    (30), 0, math.rad(20)), 0.2)
3945
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles  (math.rad(-    10), math.rad(-40), math.rad(0)), 0.2)
3946
            if Debounces.on == false then break end
3947
                wait()
3948
            end
3949
            wait(0.5)
3950
        local rng = Instance.new("Part", char)
3951
        rng.Anchored = true
3952
        rng.BrickColor = BrickColor.new("Institutional white")
3953
        rng.CanCollide = false
3954
        rng.FormFactor = 3
3955
        rng.Name = "Ring"
3956
        rng.Size = Vector3.new(1, 1, 1)
3957
        rng.Transparency = 0.5
3958
        rng.TopSurface = 0
3959
        rng.BottomSurface = 0
3960
        rng.Position = torso.Position - Vector3.new(0,2,0)
3961
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
3962
        local rngm = Instance.new("SpecialMesh", rng)
3963
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3964
        rngm.Scale = Vector3.new(1, 1, 2)
3965
            x = Instance.new("Sound",torso)
3966
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
3967
            x.Looped = false
3968
            x.Pitch = .7
3969
            x.Volume = 2
3970
            x:Play()
3971
			partic2.Enabled = true
3972
                coroutine.wrap(function()
3973
                for i = 1, 60, 8 do
3974
                rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
3975
                rng.Transparency = i/60
3976
                wait()
3977
                end
3978
                wait()
3979
                rng:Destroy()
3980
                end)()
3981
            hum.WalkSpeed = 50
3982
        BV = Instance.new("BodyVelocity", torso)
3983
        BV.maxForce = Vector3.new(0,200000,0)
3984
        BV.P = 100000
3985
        BV.velocity = Vector3.new(0,150,0)
3986
    for i = 1, 20 do
3987
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0),     math.rad(0)),0.7)
3988
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16),     math.rad(0), math.rad(0)), 0.7)
3989
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
3990
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
3991
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
3992
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
3993
		cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
3994
        if Debounces.on == false then break end
3995
        wait()
3996
    end
3997
x:Destroy()
3998
BV:Destroy()
3999
4000
		coroutine.resume(coroutine.create(function()
4001
					for i = 1, 2880, 48 do 
4002
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
4003
						rs:wait(4)
4004
					end
4005
					torso.Weld.C1 = CFrame.new(0, -1, 0)
4006
		end))
4007
		
4008
    for i = 1, 30 do
4009
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0),     math.rad(0)),0.3)
4010
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad    (0), math.rad(0)), 0.3)
4011
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-10)), 0.3)
4012
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(10)), 0.3)
4013
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
4014
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
4015
        if Debounces.on == false then break end
4016
        wait()
4017
    end
4018
4019
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
4020
    for i = 1, 30 do
4021
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4022
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4023
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4024
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4025
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4026
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4027
        if Debounces.on == false then break end
4028
        wait()
4029
    end
4030
end
4031
local ry,ht,ps=nil,nil,nil
4032
while ht==nil do
4033
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
4034
	wait()
4035
end
4036
Landing()
4037
z = Instance.new("Sound",torso)
4038
z.SoundId = "rbxassetid://142070127"
4039
z.Volume = 2
4040
wait(.1)
4041
z:Play()
4042
partic2.Enabled = false
4043
hum.WalkSpeed = 0
4044
for i = 1, 25 do
4045
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
4046
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
4047
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
4048
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
4049
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
4050
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
4051
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 229.5, 0), 0.3)
4052
            if Debounces.on == false then break end
4053
                wait()
4054
            end
4055
            wait(0.2)
4056
Debounces.on = false
4057
Debounces.NoIdl = false
4058
cor.Weld.C1 = CFrame.Angles(0,0,0)
4059
if holy == true and BoostedAlwaysDashes == true then
4060
hum.WalkSpeed = 50
4061
elseif holy == true and BoostedAlwaysDashes == false then
4062
hum.WalkSpeed = 10
4063
elseif holy ~= true then
4064
hum.WalkSpeed = 10
4065
end
4066
if Debounces.CanAttack == false then
4067
Debounces.CanAttack = true
4068
end
4069
end
4070
end
4071
	elseif holy ~= true then
4072
	end
4073
end)
4074
----------------------------------------------------
4075
----------------------------------------------------
4076
mouse.KeyDown:connect(function(key)
4077
    if key == "y" then
4078
        if CanAttack == true then
4079
            CanAttack = false
4080
            Debounces.NoIdl = true
4081
            Debounces.on = true
4082
            for i = 1, 20 do
4083
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.2)
4084
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.2)
4085
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
4086
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2)
4087
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2)
4088
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
4089
                  if Debounces.on == false then
4090
                          break
4091
                  end
4092
                  wait()
4093
                      end
4094
                      wait()
4095
                    if Daytime == true then
4096
                        Daytime = false
4097
                        l.TimeOfDay = 24
4098
                    else
4099
                        Daytime = true
4100
                        l.TimeOfDay = 12
4101
                        l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
4102
                    end
4103
                    char.Humanoid.MaxHealth = math.huge
4104
                    c = Instance.new("Sound")
4105
                    c.SoundId = "http://www.roblox.com/asset/?id=152758283"
4106
                    c.Parent = m
4107
                    c.Looped = false
4108
                    if Daytime == true then
4109
                        c.Pitch = -1
4110
                    elseif Daytime == false then
4111
                        c.Pitch = 1.12
4112
                    end
4113
                    c.Volume = 1
4114
                    wait(.01)
4115
                    c:Play()
4116
            local Shockwave = function()
4117
                local Wave = Instance.new("Part", game.Workspace--[[?]])
4118
                Wave.Name = "Shockwave"
4119
                Wave.BrickColor = BrickColor.new("Really black")
4120
                Wave.Size = Vector3.new(1, 1, 1)
4121
                Wave.Shape = "Ball"
4122
                Wave.CanCollide = false
4123
                Wave.Anchored = true
4124
                Wave.TopSurface = 0
4125
                Wave.BottomSurface = 0
4126
                Wave.Touched:connect(function(hit)
4127
                    print(hit.Name)
4128
                    if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
4129
                        if hit.Parent.Name ~= char.Name then
4130
                            print("Damaged " .. hit.Parent.Name)
4131
                            hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
4132
                            hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
4133
                        end
4134
                    end
4135
                end)
4136
                
4137
                Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
4138
                
4139
                Delay(0, function()
4140
                    -- 
4141
                    -- Okay.
4142
                    if Daytime == false then
4143
                       for i = 1, 38, 1 do
4144
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
4145
                            Wave.CFrame = char.Torso.CFrame
4146
                            local t = i / 38
4147
                            Wave.Transparency = t
4148
                            wait()
4149
                        end
4150
                    else
4151
                        for i = 38, 1, -1 do
4152
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
4153
                            Wave.CFrame = char.Torso.CFrame
4154
                            local t = i / 38
4155
                            Wave.Transparency = t
4156
                            wait()
4157
                        end
4158
                    end
4159
                    Wave:Destroy()
4160
                end)
4161
                Delay(0, function()
4162
                    while wait() do
4163
                        if Wave ~= nil then
4164
                            Wave.CFrame = char.Torso.CFrame
4165
                        else
4166
                            break
4167
                        end
4168
                    end
4169
                end)
4170
            end
4171
            
4172
            Shockwave()
4173
            
4174
            for i = 1, 20 do
4175
                larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6)
4176
                rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6)
4177
                lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6)
4178
                rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6)
4179
                hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6)
4180
                torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6)
4181
                wait()
4182
                if Debounces.on == false then
4183
                    break
4184
                end
4185
                wait()
4186
            end
4187
	    wait(2)
4188
            Debounces.NoIdl = false
4189
                    if CanAttack == false then
4190
                        CanAttack = true
4191
                wait()
4192
                    end
4193
            end -- for the canattack thing
4194
        end
4195
end)
4196
-------------------------------
4197
local animpose = "Idle"
4198
local lastanimpose = "Idle"
4199
local grab = false
4200
local sine = 0
4201
local change = 1
4202
local val = 0
4203
local ffing = false
4204
local jump = false
4205
-------------------------------
4206
--[[if stanceToggle == "Sitting" then
4207
	if wait(math.random(1,2)) == 1 then
4208
		stanceToggle = "Sitting2"
4209
		wait(8)
4210
		stanceToggle = "Sitting"
4211
	end
4212
end]]--
4213
-------------------------------
4214
game:GetService("RunService").RenderStepped:connect(function()
4215
if char.Humanoid.Jump == true then
4216
jump = true
4217
else
4218
jump = false
4219
end
4220
char.Humanoid.FreeFalling:connect(function(f)
4221
if f then
4222
ffing = true
4223
else
4224
ffing = false
4225
end
4226
end)
4227
sine = sine + change
4228
if jump == true then
4229
animpose = "Jumping" 
4230
elseif ffing == true then
4231
animpose = "Freefalling"
4232
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
4233
animpose = "Idle"
4234
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
4235
animpose = "Walking"
4236
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
4237
animpose = "Running"
4238
end
4239
if animpose ~= lastanimpose then
4240
sine = 0
4241
if Debounces.NoIdl == false then
4242
if stanceToggle == "Normal" and holy ~= true then
4243
for i = 1, 2 do
4244
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
4245
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
4246
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
4247
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
4248
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
4249
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
4250
cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
4251
end
4252
elseif stanceToggle == "Sitting" then
4253
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2)
4254
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
4255
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
4256
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3)
4257
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
4258
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
4259
elseif stanceToggle == "Floating" then
4260
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
4261
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
4262
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(0),0), 0.2)
4263
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
4264
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
4265
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
4266
wait()
4267
end
4268
else
4269
end
4270
end
4271
lastanimpose = animpose
4272
if Debounces.NoIdl == false then
4273
if animpose == "Idle" then
4274
if stanceToggle == "Normal" and holy ~= true then
4275
change = 0.5
4276
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
4277
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
4278
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(50),0), 0.2)
4279
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
4280
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
4281
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
4282
elseif stanceToggle == "Normal" and holy == true then
4283
change = 0.8
4284
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
4285
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
4286
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(0),0), 0.2)
4287
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
4288
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
4289
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(-0.5, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
4290
elseif stanceToggle == "Melee" and holy ~= true then
4291
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
4292
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
4293
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
4294
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
4295
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
4296
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
4297
elseif stanceToggle == "Melee" and holy == true then
4298
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
4299
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
4300
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(0),0), 0.2)
4301
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
4302
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
4303
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(-0.5, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
4304
elseif stanceToggle == "Sitting" then
4305
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
4306
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
4307
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
4308
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3)
4309
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
4310
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
4311
elseif stanceToggle == "Floating" then
4312
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
4313
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
4314
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(0),0), 0.2)
4315
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
4316
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
4317
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
4318
elseif stanceToggle == "Grabbed" and holy ~= true then
4319
grab = true
4320
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
4321
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
4322
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
4323
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
4324
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
4325
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
4326
elseif stanceToggle == "Grabbed" and holy == true then
4327
grab = true
4328
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
4329
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3)
4330
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
4331
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)
4332
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
4333
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(-0.5, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
4334
end
4335
elseif animpose == "Walking" then
4336
if stanceToggle == "Normal" and holy ~= true then
4337
change = 1
4338
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
4339
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
4340
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
4341
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
4342
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
4343
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
4344
elseif stanceToggle == "Normal" and holy == true then
4345
for i = 1, 2 do
4346
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)
4347
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)
4348
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
4349
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)
4350
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8+2*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
4351
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8+2*math.cos(sine/14)), 0, math.rad(8)), 0.4)
4352
end
4353
elseif stanceToggle == "Melee" and holy ~= true then
4354
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
4355
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
4356
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
4357
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
4358
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
4359
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
4360
elseif stanceToggle == "Melee" and holy == true then
4361
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)
4362
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)
4363
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
4364
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)
4365
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
4366
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
4367
elseif stanceToggle == "Floating" then
4368
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
4369
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
4370
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
4371
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
4372
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
4373
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
4374
elseif stanceToggle == "Grabbed" and holy ~= true then
4375
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
4376
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
4377
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
4378
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
4379
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
4380
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
4381
elseif stanceToggle == "Grabbed" and holy == true then
4382
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
4383
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
4384
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
4385
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
4386
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
4387
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)
4388
end
4389
elseif animpose == "Running" then
4390
if stanceToggle == "Normal" and holy ~= true then
4391
change = 1
4392
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles  (math.rad(44), math.rad (0), math.rad(0)), 0.15)
4393
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(-  80),  math.rad(0), 0), 0.15)
4394
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad  (0), math.rad(50),  math.rad(-40)), 0.15)
4395
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),   math.rad(-50),  math.rad(40)), 0.15)
4396
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8),   math.rad(0), math.rad(- 10)), .15)
4397
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8),   math.rad(0), math.rad(10)),  .15)
4398
elseif stanceToggle == "Normal" and holy == true then
4399
change = 1
4400
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(250),math.rad(350),math.rad(-30+2*math.cos(sine/14))), 0.2)--cfawm
4401
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
4402
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
4403
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
4404
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
4405
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
4406
elseif stanceToggle == "Floating" then
4407
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
4408
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
4409
hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
4410
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
4411
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
4412
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
4413
end
4414
4415
elseif animpose == "Jumping" then --JUMPING ANIM
4416
	
4417
if stanceToggle == "Normal" and holy ~= true then
4418
change = 0.8
4419
     	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),     math.rad(0)),0.7)
4420
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),     math.rad(0), math.rad(0)), 0.7)
4421
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
4422
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
4423
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
4424
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
4425
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4426
elseif stanceToggle == "Melee" and holy ~= true then
4427
     	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),     math.rad(0)),0.7)
4428
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),     math.rad(0), math.rad(0)), 0.7)
4429
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
4430
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
4431
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
4432
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
4433
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4434
elseif stanceToggle == "Melee" and holy == true then
4435
     	hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),     math.rad(0)),0.7)
4436
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),     math.rad(0), math.rad(0)), 0.7)
4437
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
4438
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
4439
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
4440
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
4441
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4442
elseif stanceToggle == "Grabbed" and holy ~= true then
4443
 		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4444
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4445
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4446
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4447
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4448
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4449
elseif stanceToggle == "Grabbed" and holy == true then
4450
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
4451
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
4452
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
4453
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
4454
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
4455
		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)
4456
end
4457
4458
elseif animpose == "Freefalling" then --FF ANIM
4459
	
4460
if stanceToggle == "Normal" and holy ~= true then
4461
  change = 0.8
4462
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4463
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4464
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4465
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4466
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4467
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4468
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4469
		end
4470
elseif stanceToggle == "Normal" and holy == true then
4471
change = 0.8
4472
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4473
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4474
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4475
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4476
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4477
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4478
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4479
elseif stanceToggle == "Melee" and holy ~= true then
4480
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4481
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4482
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4483
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4484
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4485
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4486
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4487
elseif stanceToggle == "Melee" and holy == true then
4488
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4489
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4490
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4491
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4492
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4493
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4494
		--cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3)
4495
elseif stanceToggle == "Grabbed" and holy ~= true then
4496
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4497
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4498
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4499
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4500
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4501
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4502
elseif stanceToggle == "Grabbed" and holy == true then
4503
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
4504
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
4505
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
4506
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
4507
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
4508
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
4509
	end
4510
end
4511
end)
4512
4513
Spawn(function() 
4514
	while wait() do
4515
		updateFly()
4516
	end
4517
end)
4518
4519
Spawn(function()
4520
	while wait(.1) do
4521
		Magik()	
4522
	end
4523
end)
4524
4525
Spawn(function()
4526
	while wait(.1) do
4527
		Magik2()	
4528
	end
4529
end)
4530
4531
Spawn(function() 
4532
	while wait(4) do
4533
		GroundWave()
4534
	end
4535
end)
4536
4537
4538
4539
4540
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
4541
    --[[Part0 = Vector3 (Start pos)
4542
		Part1 = Vector3 (End pos)
4543
		Times = number (Amount of lightning parts)
4544
		Offset = number (Offset)
4545
		Color = color (brickcolor value)
4546
		Thickness = number (thickness)
4547
		Trans = number (transparency)
4548
    ]]--
4549
    local magz = (Part0 - Part1).magnitude
4550
    local curpos = Part0
4551
    local trz = {-Offset,Offset}
4552
    for i=1,Times do
4553
        local li = Instance.new("Part", torso)
4554
		li.Name = "Lightning"
4555
		li.TopSurface =0
4556
		li.Material = "Neon"
4557
		li.BottomSurface = 0
4558
		li.Anchored = true
4559
		li.Locked = true
4560
		li.Transparency = Trans or 0.4
4561
		li.BrickColor = BrickColor.new(Color)
4562
		li.formFactor = "Custom"
4563
		li.CanCollide = false
4564
		li.Size = Vector3.new(Thickness,Thickness,magz/Times)
4565
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
4566
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
4567
        if Times == i then
4568
        local magz2 = (curpos - Part1).magnitude
4569
        li.Size = Vector3.new(Thickness,Thickness,magz2)
4570
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
4571
        else
4572
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
4573
        end
4574
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
4575
        game.Debris:AddItem(li,.1)
4576
    end
4577
end
4578
4579
BodyParts = {} -- Parts to emit lightning effects from
4580
for _, v in pairs(char.Genkadda:GetChildren()) do
4581
    if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then
4582
        table.insert(BodyParts, v)
4583
    end
4584
end
4585
4586
Bounding = {} -- Calculate the bounding boxes
4587
for _, v in pairs(BodyParts) do
4588
	local temp = {X=nil, Y=nil, Z=nil}
4589
	temp.X = v.Size.X/2 * 10
4590
	temp.Y = v.Size.Y/2 * 10
4591
	temp.Z = v.Size.Z/2 * 10
4592
	Bounding[v.Name] = temp
4593
	--table.insert(Bounding, v.Name, temp)
4594
end
4595
4596
4597
4598
while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10
4599
	
4600
	if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]]
4601
		
4602
		if holy == true then
4603
			lightspeed = math.random(0.1,0.2)
4604
		else
4605
			lightspeed = math.random(0.5,1)
4606
		end
4607
	
4608
	local Body1 = BodyParts[math.random(#BodyParts)]
4609
	local Body2 = BodyParts[math.random(#BodyParts)]
4610
	local Pos1 = Vector3.new(
4611
		math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
4612
		math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
4613
		math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
4614
)
4615
	local Pos2 = Vector3.new(
4616
		math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
4617
		math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
4618
		math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
4619
)
4620
	local SPos1 = Body1.Position + Pos1
4621
	local SPos2 = Body2.Position + Pos2
4622
	
4623
	
4624
	
4625
	Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) 
4626
4627
4628
	end 
4629
end