View difference between Paste ID: mab7vKe4 and VJR16XF9
SHOW: | | - or go back to the newest paste.
1
-- Remake of Armatae by Mii_BrawIer
2
wait(.1)
3
local play = game.Players.LocalPlayer
4
local char = play.Character
5
local LeftArm = char["Left Arm"]
6
local RightArm = char["Right Arm"]
7
local LeftLeg = char["Left Leg"]
8
local RightLeg = char["Right Leg"]
9
local spawned = false
10
local debounce = false
11
local asdrot = 0
12
local bouncing = false
13
local mode = "Combo"
14
local mana = 200
15
local change = 0
16
local rage = false
17
local explosion = false
18
local golden = false
19
local equipped = true
20
local parry = true
21
local equipcheck = false
22
local charge = 1
23
local orb = false
24
local throwing = false
25
local sped = 1
26
local riding = false
27
local sine = 0
28
local torsovel = 0
29
local sit = false
30
local ult = false
31
local charging = false
32
local combo = 1
33
local Anim = "wot"
34
local attack = false
35
local TauntChoose = {"Im Better Than You","Are You Sure About That Choice?"}
36
local NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
37
	char.Humanoid.Animator:Destroy()
38
	char.Animate:Destroy()
39
	local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
40
	local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
41
	local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
42
	RSH = nil
43
	RW = Instance.new("Weld")
44
	LW = Instance.new("Weld")
45
	RH = char.Torso["Right Hip"]
46
	LH = char.Torso["Left Hip"]
47
	RSH = char.Torso["Right Shoulder"]
48
	LSH = char.Torso["Left Shoulder"]
49
	RSH.Parent = nil
50
	LSH.Parent = nil
51
	RW.Name = "RW"
52
	RW.Part0 = char.Torso
53
	RW.C0 = CFrame.new(1.5, 0.5, 0)
54
	RW.C1 = CFrame.new(0, 0.5, 0)
55
	RW.Part1 = RightArm
56
	RW.Parent = char.Torso
57
	LW.Name = "LW"
58
	LW.Part0 = char.Torso
59
	LW.C0 = CFrame.new(-1.5, 0.5, 0)
60
	LW.C1 = CFrame.new(0, 0.5, 0)
61
	LW.Part1 = LeftArm
62
	LW.Parent = char.Torso
63
	
64
	clerp = function(a, b, t)
65
	
66
	return a:lerp(b, t)
67
	end
68
	
69
local model = Instance.new("Model", char)
70
model.Name = "weapon parts go here!"
71
local weapon = Instance.new("Model", model)
72
weapon.Name = "weapon"
73
local nolagplease = Instance.new("Model", char)
74
nolagplease.Name = "block spam goes here"
75
76
77
block = function(cfram,size,expansize,transp,color,kind)
78
local p = Instance.new("Part", nolagplease)
79
p.CFrame = cfram
80
p.Size = Vector3.new(1,1,1)
81
local pm = Instance.new("BlockMesh", p)
82
pm.Scale = size
83
p.Anchored = true
84
p.Material = "Neon"
85
p.CanCollide = false
86
p.BrickColor = color
87
if kind == 3 then
88
89
pm:Destroy()
90
p.Size = size
91
p.CanCollide = true
92
p.Touched:connect(function(hit)
93
if debounce == false then
94
if hit.Parent.Humanoid then
95
	debounce = true
96
	hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 5
97
	wait()
98
	debounce = false
99
end
100
end
101
end)
102
end
103
coroutine.resume(coroutine.create(function()
104
while p.Transparency < 1 do
105
if kind == 3 then
106
p.Transparency = p.Transparency + transp
107
p.Size = p.Size + expansize
108
else
109
110
p.Transparency = p.Transparency + transp
111
pm.Scale = pm.Scale + expansize
112
end
113
if kind == 1 then
114
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
115
end
116
wait()
117
end
118
p:Destroy()
119
end))
120
end
121
122
123
local wave = function(cframe,color,v1,v2,trans,typ) 
124
local p = Instance.new("Part", nolagplease) 
125
p.BrickColor = color 
126
p.Transparency = 0 
127
p.Anchored = true 
128
p.CFrame = cframe
129
if typ == 1 then
130
	p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
131
end
132
p.CanCollide = false 
133
local pm = Instance.new("SpecialMesh", p) 
134
pm.MeshType = "FileMesh" 
135
pm.MeshId = "http://www.roblox.com/asset/?id=20329976" 
136
pm.Scale = v1
137
coroutine.resume(coroutine.create(function()
138
while p.Transparency < 1 do
139
wait() 
140
pm.Scale = pm.Scale + v2
141
p.Transparency = p.Transparency + trans
142
if typ == 1 then
143
	p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,180)),math.rad(math.random(0,180)),math.rad(math.random(0,180)))
144
end
145
end 
146
p:Remove() 
147
end))
148
end 	
149
	
150
local screengu = Instance.new("ScreenGui", play.PlayerGui)
151
screengu.Enabled = true
152
153
local fram = Instance.new("Frame",screengu)
154
fram.Position = UDim2.new(0.83,0,.46, 0)
155
fram.Size = UDim2.new(0.156, 0,0.487, 0)
156
fram.Style = "RobloxRound"
157
158
local makegui = function(pos1,pos2,tex)
159
local a = Instance.new("TextLabel",fram)
160
a.Size = UDim2.new(1, 0,.05, 0)
161
a.Text = tex
162
a.Position = UDim2.new(pos1,0,pos2,0)
163
a.TextScaled = true
164
a.TextColor3 = char.Torso.Color
165
a.TextXAlignment = "Left"
166
a.BackgroundTransparency = 1
167
coroutine.resume(coroutine.create(function()
168
if tex == "[X]" then
169
while true do
170
if equipcheck == false then
171
if equipped == true then
172
	a.Text = "[X]  Spin Attack  [35]"
173
elseif equipped == false then
174
	if parry == true then
175
	a.Text = "[X]  Parry  [35]"
176
	elseif parry == false then
177
	a.Text = "[X]  Forced Parry  [15]"
178
	end
179
end
180
else
181
a.Text = "[X] Hexagon Trap [150]"
182
end
183
wait(.1)
184
end
185
end
186
187
if tex == "[E]" then
188
while true do
189
if ult == false then
190
if equipped == true then
191
	a.Text = "[E]  Unequip"
192
elseif equipped == false then
193
	a.Text = "[E]  Equip"
194
end
195
end
196
if ult == true then
197
	a.Text = "[E]  Exit Ult"
198
end
199
wait(.1)
200
end	
201
end
202
203
if tex == "[C]" then
204
while true do
205
if ult == false then
206
	a.Text = "[C]  Orbs  [7/s]"
207
end
208
if ult == true then
209
	if equipcheck == true then
210
	a.Text = "[C]  Orbs  [11/s]"
211
	else
212
	a.Text = "[C]  Ultimate Orbs  [11/s]"
213
	end
214
end
215
wait(.1)
216
end	
217
end
218
219
if tex == "[H]" then
220
while true do
221
if equipped == true then
222
	if ult == false then
223
	a.Text = "[H]  Sword Ult Mode	[200]"
224
	end
225
elseif equipped == false then
226
	if ult == false then
227
	a.Text = "[H]  Magic Ult Mode	[200]"
228
	else
229
	if equipcheck == false then
230
	a.Text = "[H]  Magic Ult	[400]"
231
	else
232
	a.Text = "[H]  Sword Ult	[400]"
233
	end
234
	end
235
end
236
wait(.1)
237
end	
238
end
239
if tex == "[T]" then
240
while true do
241
if equipped == true then
242
	if ult == false then
243
	a.Text = "[T]  Taunt [0]"
244
	end
245
elseif equipped == false then
246
	if ult == false then
247
	a.Text = "[T]  Taunt [0]"
248
	else
249
	if equipcheck == false then
250
	a.Text = "[T]  Taunt [0]"
251
	else
252
	a.Text = "[T]  Taunt [0]"
253
	end
254
	end
255
end
256
wait(.1)
257
end	
258
end
259
if tex == "[Z]" then
260
while true do
261
if ult == false then
262
	a.Text = "[Z]  Shield Dash  [25]"
263
else
264
	if equipcheck == true then
265
	a.Text = "[Z]  Sword Bounce  [25]"
266
	end
267
end
268
wait(.1)
269
end	
270
end
271
272
end))
273
end
274
275
local bar = Instance.new("Frame",screengu)
276
bar.Position = UDim2.new(.83,0,.385,0)
277
bar.Size = UDim2.new(0.156,0,0.055,0)
278
bar.Style = "RobloxRound"
279
280
local neg = Instance.new("Frame", bar)
281
neg.Position = UDim2.new(0,0,0,0)
282
neg.Size = UDim2.new(1,0,0.6,0)
283
neg.BackgroundColor3 = Color3.fromRGB(0,0,0)
284
neg.BorderColor3 = char.Torso.Color
285
286
local a = Instance.new("TextBox",neg)
287
a.Size = UDim2.new(1, 0,1, 0)
288
a.Position = UDim2.new(0, 0, 1, 0)
289
a.TextXAlignment = "Center"
290
coroutine.resume(coroutine.create(function()
291
while true do
292
a.Text = "Mana : "..math.floor(mana)..""
293
wait()
294
end
295
end))
296
a.TextScaled = true
297
a.TextColor3 = char.Torso.Color
298
a.BackgroundTransparency = 1
299
300
local manabar = Instance.new("Frame", neg)
301
manabar.Position = UDim2.new(0,0,0,0)
302
manabar.Size = UDim2.new(0,0,0,0)
303
manabar.BackgroundColor3 = char.Torso.Color
304
manabar.BorderColor3 = Color3.fromRGB(0,0,0)
305
coroutine.resume(coroutine.create(function()
306
while true do
307
manabar.Size = UDim2(0,mana*1.4,0,30)
308
wait()
309
end
310
end))
311
312
makegui(0,0,"[E]")
313
makegui(0,.12,"[Z]")
314
makegui(0,.18,"[X]")
315
makegui(0,.24,"[C]")
316
makegui(0,.36,"[H]")
317
makegui(0,.36,"[H]")
318
makegui(0,.50,"[T]")
319
320
321
322
323
part = function(wel,cancollid,size,shape,r,g,b,transp,mat,weldpart,c0,nam)
324
local mat2 = "wow"
325
if mat == 1 then
326
		mat2 = "Marble"
327
	end
328
	if mat == 2 then
329
		mat2 = "Granite"
330
	end
331
	if mat == 3 then
332
		mat2 = "Metal"
333
	end
334
	if mat == 4 then
335
		mat2 = "SmoothPlastic"
336
	end
337
	if mat == 5 then
338
		mat2 = "Wood"
339
	end
340
	if mat == 6 then
341
		mat2 = "Neon"
342
	end
343
if shape ~= "Wedge" then
344
local q = Instance.new("Part", weapon)
345
q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
346
q.Shape = shape
347
q.Size = size
348
q.Transparency = transp
349
q.Color = Color3.new(r,g,b)
350
q.Material = mat2
351
if r == 1 and g == 0 and b == 0 then
352
	q.BrickColor = char.Torso.BrickColor
353
end
354
q.FrontSurface = "Smooth"
355
q.BackSurface = "Smooth"
356
q.LeftSurface = "Smooth"
357
q.RightSurface = "Smooth"
358
q.BottomSurface = "Smooth"
359
q.TopSurface = "Smooth"
360
if cancollid == 1 then
361
q.CanCollide = false
362
end
363
q.Name = nam
364
if wel == 1 then
365
local qw = Instance.new("Weld", q)
366
qw.Part0 = weldpart
367
qw.Part1 = q
368
qw.C0 = c0
369
end
370
end
371
if shape == "Wedge" then
372
local q = Instance.new("WedgePart", weapon)
373
q.Size = size
374
q.Transparency = transp
375
q.Color = Color3.new(r,g,b)
376
if r == 1 and g == 0 and b == 0 then
377
	q.BrickColor = char.Torso.BrickColor
378
end
379
q.Material = mat2
380
if cancollid == 1 then
381
q.CanCollide = false
382
end
383
q.Name = nam
384
local qw = Instance.new("Weld", q)
385
qw.Part0 = weldpart
386
qw.Part1 = q
387
qw.C0 = c0
388
end
389
end
390
391
local sword1 = Instance.new("Part", weapon)
392
sword1.CanCollide = false
393
sword1.Transparency = 1
394
sword1.BrickColor = BrickColor.new("Institutional white")
395
local mesh1 = Instance.new("SpecialMesh", sword1)
396
mesh1.MeshType = "FileMesh"
397
mesh1.MeshId = "rbxasset://fonts/sword.mesh"
398
local weld1 = Instance.new("Weld", sword1)
399
weld1.Part0 = char.Torso
400
weld1.Part1 = sword1
401
weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
402
403
local sword2 = Instance.new("Part", weapon)
404
sword2.CanCollide = false
405
sword2.Transparency = 1
406
sword2.BrickColor = BrickColor.new("Institutional white")
407
local mesh2 = Instance.new("SpecialMesh", sword2)
408
mesh2.MeshType = "FileMesh"
409
mesh2.MeshId = "rbxasset://fonts/sword.mesh"
410
local weld2 = Instance.new("Weld", sword2)
411
weld2.Part0 = char.Torso
412
weld2.Part1 = sword2
413
weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
414
415
local sword11 = Instance.new("Part", weapon)
416
sword11.CanCollide = false
417
sword11.Transparency = 1
418
sword11.BrickColor = BrickColor.new("Institutional white")
419
local mesh11 = Instance.new("SpecialMesh", sword11)
420
mesh11.MeshType = "FileMesh"
421
mesh11.MeshId = "rbxasset://fonts/sword.mesh"
422
local weld11 = Instance.new("Weld", sword11)
423
weld11.Part0 = char.Torso
424
weld11.Part1 = sword11
425
weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
426
427
local sword21 = Instance.new("Part", weapon)
428
sword21.CanCollide = false
429
sword21.Transparency = 1
430
sword21.BrickColor = BrickColor.new("Institutional white")
431
local mesh21 = Instance.new("SpecialMesh", sword21)
432
mesh21.MeshType = "FileMesh"
433
mesh21.MeshId = "rbxasset://fonts/sword.mesh"
434
local weld21 = Instance.new("Weld", sword21)
435
weld21.Part0 = char.Torso
436
weld21.Part1 = sword21
437
weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
438
439
local sword12 = Instance.new("Part", weapon)
440
sword12.CanCollide = false
441
sword12.Transparency = 1
442
sword12.BrickColor = BrickColor.new("Institutional white")
443
local mesh12 = Instance.new("SpecialMesh", sword12)
444
mesh12.MeshType = "FileMesh"
445
mesh12.MeshId = "rbxasset://fonts/sword.mesh"
446
local weld12 = Instance.new("Weld", sword12)
447
weld12.Part0 = char.Torso
448
weld12.Part1 = sword12
449
weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
450
451
local sword22 = Instance.new("Part", weapon)
452
sword22.CanCollide = false
453
sword22.Transparency = 1
454
sword22.BrickColor = BrickColor.new("Institutional white")
455
local mesh22 = Instance.new("SpecialMesh", sword22)
456
mesh22.MeshType = "FileMesh"
457
mesh22.MeshId = "rbxasset://fonts/sword.mesh"
458
local weld22 = Instance.new("Weld", sword22)
459
weld22.Part0 = char.Torso
460
weld22.Part1 = sword22
461
weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
462
463
464
465
part(1,1,Vector3.new(1,1,1),"Block",0,0,0,1,2,LeftArm,CFrame.new(0,-1,0),"ST")
466
part(1,1,Vector3.new(1.3333345651627,0.66666728258133,1.3333345651627),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,RightArm,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Handle2")
467
part(1,1,Vector3.new(0.50000047683716,0.66666728258133,0.50000047683716),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,-0.71837568283081)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
468
part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,-1.5707963267949,1.5707963267949),"Wedge")
469
part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
470
part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
471
part(1,1,Vector3.new(0.50000047683716,1.0000009536743,1.0000009536743),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.50000047683716,-0.080000340938568,-1.5028941631317)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
472
part(1,1,Vector3.new(0.16666682064533,0.8333340883255,0.8333340883255),"Wedge",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.41666704416275,0.16999989748001,-1.2528940439224)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
473
part(1,1,Vector3.new(0.16666682064533,0.66666728258133,0.66666728258133),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.33333364129066,0.25333324074745,-1.0028936862946)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
474
part(1,1,Vector3.new(1.666668176651,0.50000047683716,1.666668176651),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.0033329725265503,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block")
475
part(1,1,Vector3.new(2.0000019073486,0.50000071525574,2.0000019073486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0,-0.080000519752502,-0.0028928816318512)*CFrame.fromOrientation(0,0,0),"Block")
476
part(1,1,Vector3.new(0.66666728258133,0.50000047683716,1.0000009536743),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(-0.88214945793152,0.0033442378044128,0.87925684452057)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
477
part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
478
part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(0.84344428777695,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,0.78539816339745,0),"Block")
479
part(1,1,Vector3.new(0.66666728258133,0.66666728258133,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0,0.086666345596313,0.080440580844879)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
480
part(1,1,Vector3.new(1.0000009536743,0.50000047683716,1.0000009536743),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(1.0000009536743,-0.079989075660706,0.9971079826355)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
481
part(1,1,Vector3.new(0.91666752099991,0.50000047683716,0.66666728258133),"Block",1,0,0,0,6,weapon.Handle2,CFrame.new(0.91161245107651,0.0033442378044128,0.90871953964233)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
482
part(1,1,Vector3.new(0.33333364129066,0.58333384990692,0.8333340883255),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle2,CFrame.new(-0.82322382926941,0.045011043548584,0.82033109664917)*CFrame.fromOrientation(0,-0.78539816339745,0),"Block")
483
484
part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Block",0.63921570777893,0.63529413938522,0.64705884456635,1,1,LeftArm,CFrame.new(0.15389770269394,-0.20993836224079,-0.37024655938148)*CFrame.fromOrientation(0.75258595481783,2.3242549329229,1.9734437799037),"Handle")
485
part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block")
486
part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block")
487
part(1,1,Vector3.new(0.89114737510681,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-0.0054092407226563)*CFrame.fromOrientation(0,1.5707963267949,0),"Cylinder")
488
part(1,1,Vector3.new(0.59409826993942,0.14852456748486,2.2278685569763),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block")
489
part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
490
part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
491
part(1,1,Vector3.new(0.29704913496971,0.14852456748486,0.29704913496971),"Wedge",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0.074262283742428,0,-3.1244254112244)*CFrame.fromOrientation(0,0,-1.5707963267949),"Wedge")
492
part(1,1,Vector3.new(0.089114740490913,0.59409826993942,0.59409826993942),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
493
part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.29704913496971),"Ball",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,4.4263770426767e-09,0.44016432762146)*CFrame.fromOrientation(0,0,0),"Ball")
494
part(1,1,Vector3.new(0.11881965398788,0.44557368755341,0.44557368755341),"Cylinder",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
495
part(1,1,Vector3.new(0.29704913496971,0.29704913496971,2.2278685569763),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,-1.8619664907455)*CFrame.fromOrientation(0,0,0),"Block")
496
part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.29704913496971),"Cylinder",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(0,0,0.66295099258423)*CFrame.fromOrientation(0,0,1.5707963267949),"Cylinder")
497
part(1,1,Vector3.new(0.14852456748486,0.29704913496971,0.59409826993942),"Wedge",1,0,0,0,6,weapon.Handle,CFrame.new(-0.14852456748486,0,-3.2729496955872)*CFrame.fromOrientation(0,0,1.5707963267949),"Wedge")
498
part(1,1,Vector3.new(1.4852457046509,0.14852456748486,0.14852456748486),"Block",1,0,0,0,6,weapon.Handle,CFrame.new(0,0,-0.59950757026672)*CFrame.fromOrientation(0,0,0),"Block")
499
part(1,1,Vector3.new(0.29704913496971,0.29704913496971,0.14852456748486),"Block",0.066666670143604,0.066666670143604,0.066666670143604,0,2,weapon.Handle,CFrame.new(-0.59409826993942,0,-0.59950757026672)*CFrame.fromOrientation(0,1.5707963267949,0),"Block")
500
501
	
502
--[[
503
coroutine.resume(coroutine.create(function()
504
.Touched:connect(function(hit)
505
game:service'RunService'.RenderStepped:connect(function() 
506
507
end)
508
game:GetService("Debris"):AddItem(p, 1)
509
local d = char:GetChildren()
510
for i=1, #d  do 
511
	d[i]
512
	end 
513
end
514
]]
515
516
CreateSound = function(id, par, vol, pit)
517
	
518
	coroutine.resume(coroutine.create(function()
519
		
520
		local sou = Instance.new("Sound", par)
521
		sou.Volume = vol
522
		sou.Pitch = pit
523
		sou.SoundId = id
524
		wait()
525
		sou:play()
526
		game:GetService("Debris"):AddItem(sou, 6)
527
	end
528
))
529
end
530
531
532
rayCast = function(Position, Direction, Range, Ignore)
533
	
534
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
535
end
536
537
Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
538
	
539
	local laza = Instance.new("Part", nolagplease)	
540
	laza.CanCollide = false
541
	if golden == false then
542
	laza.BrickColor = brickcolor
543
	end
544
	if golden == true then
545
	laza.BrickColor = BrickColor.new("New Yeller")
546
	end
547
	laza.Size = Vector3.new(0.5,0.5,0.5)
548
	laza.Anchored = true
549
	laza.CFrame = cframe
550
	laza.Material = "Neon"
551
	local msh = Instance.new("CylinderMesh",laza)
552
	msh.Scale = Vector3.new(x1,y1,z1)
553
	game:GetService("Debris"):AddItem(laza, 10)
554
	coroutine.resume(coroutine.create(function(Part, Mesh)
555
		
556
		for i = 0, 1, delay do
557
			wait()
558
			Part.Transparency = i
559
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
560
		end
561
		Part.Parent = nil
562
	end
563
	), laza, msh)
564
end
565
566
shoottrail = function(mouse, partt, SpreadAmount, multiply)
567
	
568
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
569
	local ActualPosition = partt.Position
570
	local MainPos2 = Vector3.new()
571
	if mouse == play:GetMouse() then
572
	MainPos2 = mouse.Hit.p + SpreadVectors
573
	else
574
		MainPos2 = mouse.Position
575
	end
576
	local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2)
577
	local distance = 150
578
	if rage == true then
579
		distance = distance * 2
580
	end
581
	local remainder = 1
582
	local charge2 = charge
583
	charge = 1
584
	coroutine.resume(coroutine.create(function()
585
		
586
		repeat
587
			wait()
588
			local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent)
589
			local magnitude = (ActualPosition - pos).magnitude
590
			Laser(char.Torso.BrickColor, CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(90), 0, 0), 3, magnitude *(-distance / (distance / 2)), 3, -.1, 0, -.1, .1)
591
			ActualPosition = ActualPosition + MouseLook.lookVector * distance
592
			remainder = remainder - 1
593
			--MouseLook = MouseLook * CFrame.Angles(-.01,0, 0)
594
			if hit ~= nil then
595
				remainder = 0
596
			end
597
			do
598
				if remainder <= 0 then
599
					local magnblock = Instance.new("Part", nolagplease)
600
					magnblock.Transparency = 1
601
					magnblock.CanCollide = false
602
					magnblock.Anchored = true
603
					magnblock.CFrame = CFrame.new(pos)
604
					block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,char.Torso.BrickColor,1)
605
					magn(10,magnblock,7)
606
					game:GetService("Debris"):AddItem(magnblock, 0.1)
607
				end
608
			end
609
		until remainder <= 0
610
	end
611
))
612
end
613
614
shoottrail2 = function(mouse, partt, SpreadAmount, multiply)
615
	
616
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
617
	local MainPos = partt.Position
618
	local MainPos2 = Vector3.new()
619
	if mouse == play:GetMouse() then
620
	MainPos2 = mouse.Hit.p + SpreadVectors
621
	else
622
		MainPos2 = mouse.Position
623
	end
624
	local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
625
	local speed = 30
626
	if rage == true then
627
		speed = speed * 2
628
	end
629
	local remainder = 5
630
	local charge2 = charge
631
	charge = 1
632
	coroutine.resume(coroutine.create(function()
633
		
634
		repeat
635
			wait()
636
			MainPos2 = mouse.Hit.p + SpreadVectors
637
			MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
638
			local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, char.HumanoidRootPart.Parent)
639
			local mag = (MainPos - pos).magnitude
640
			Laser(BrickColor.new("Institutional white"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag *(-speed / (speed / 2)), 1, -.1, 0, -.1, .3)
641
			MainPos = MainPos + MouseLook.lookVector * speed
642
			remainder = remainder - 1
643
			if hit ~= nil then
644
				remainder = 0
645
				local refpart = Instance.new("Part", nolagplease)
646
				refpart.Transparency = 1
647
				refpart.CanCollide = false
648
				refpart.Anchored = true
649
				refpart.CFrame = CFrame.new(pos)
650
				game:GetService("Debris"):AddItem(refpart, 2)
651
			end
652
			do
653
				if remainder <= 0 then
654
					local refpart = Instance.new("Part", nolagplease)
655
					refpart.Transparency = 1
656
					refpart.CanCollide = false
657
					refpart.Anchored = true
658
					refpart.CFrame = CFrame.new(pos)
659
					block(CFrame.new(pos),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.1,BrickColor.new("Really black"),1)
660
					magn(6,refpart,2)
661
					--CreateSound("http://www.roblox.com/asset/?id=10209590",refpart,1,1)
662
					game:GetService("Debris"):AddItem(refpart, 0.1)
663
				end
664
			end
665
		until remainder <= 0
666
	end
667
))
668
end
669
670
swordthrow = function(mouse, partt, SpreadAmount, multiply, sword, reweldc0)
671
	local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
672
	local ActualPosition = partt.Position
673
	local MainPos2 = Vector3.new()
674
	local kappa = 0
675
	if mouse == play:GetMouse() then
676
	MainPos2 = mouse.Hit.p + SpreadVectors
677
	else
678
	MainPos2 = mouse.Position
679
	end
680
	local MouseLook = CFrame.new((ActualPosition + MainPos2) / 2, MainPos2)
681
	local distance = 4
682
	local remainder = 25
683
	local reweld = sword.Weld.Part0
684
	sword.Weld.Part0 = sword
685
	sword.Anchored = true
686
	coroutine.resume(coroutine.create(function()
687
		
688
		repeat
689
			wait()
690
			throwing = true
691
			local hit, pos = rayCast(ActualPosition, MouseLook.lookVector, distance, char.HumanoidRootPart.Parent)
692
			local magnitude = (ActualPosition - pos).magnitude
693
			kappa = kappa + 30
694
			sword.CFrame = CFrame.new((ActualPosition + pos) / 2, pos) * CFrame.fromEulerAnglesXYZ(math.rad(-kappa),0,math.rad(90))
695
			ActualPosition = ActualPosition + MouseLook.lookVector * distance
696
			remainder = remainder - 1
697
			--MouseLook = MouseLook * CFrame.Angles(-.01,0, 0)
698
			if hit ~= nil then
699
				remainder = 0
700
			end
701
			do
702
				if remainder <= 0 then
703
					local magnblock = Instance.new("Part", nolagplease)
704
					magnblock.Transparency = 1
705
					magnblock.CanCollide = false
706
					magnblock.Anchored = true
707
					magnblock.CFrame = CFrame.new(pos)
708
					block(CFrame.new(pos),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.05,BrickColor.new("Really black"),1)
709
					magn(10,magnblock,7)
710
					game:GetService("Debris"):AddItem(magnblock, 0.1)
711
				end
712
			end
713
		until remainder <= 0
714
		while attack == true do
715
		sword.Transparency = 1
716
		wait()
717
		end
718
		sword.Transparency = 0.4
719
		sword.Anchored = false
720
		sword.Weld.Part0 = char.Torso
721
		sword.Weld.C0 = reweldc0
722
		
723
		block(sword.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
724
		throwing = false
725
	end
726
))
727
end
728
729
magn = function(dam,par,dist)
730
	
731
	for _,c in pairs(workspace:children()) do
732
		local hum = c:findFirstChild("Humanoid")
733
		if hum ~= nil then
734
			local head = c:findFirstChild("Torso")
735
			if head ~= nil then
736
				local targ = head.Position - par.Position
737
				local mag = targ.magnitude
738
				if mag <= dist and c.Name ~= play.Name then
739
					hum.Health = hum.Health - dam * (hum.MaxHealth/100)
740
					mana = mana + dam/5
741
					if ult == true and equipcheck == false then
742
					mana = mana + dam/5
743
					end
744
					if ult == true and equipcheck == true then
745
					char.Humanoid.Health = char.Humanoid.Health + dam/5
746
					end
747
				end
748
			end
749
		end
750
	end
751
end
752
753
magna = function(dam,par,dist)
754
	
755
	for _,c in pairs(workspace:children()) do
756
		local hum = c:findFirstChild("Humanoid")
757
		if hum ~= nil then
758
			local head = c:findFirstChild("Torso")
759
			if head ~= nil then
760
				local targ = head.Position - par.Position
761
				local mag = targ.magnitude
762
				if mag <= dist then
763
					hum.Health = hum.Health - dam * (hum.MaxHealth/100)
764
				end
765
			end
766
		end
767
	end
768
end
769
770
local pasthp = 0
771
772
part = function(wel,cancollid,size,shape,color,transp,mat,weldpart,c0,nam)
773
if shape ~= "Wedge" then
774
local q = Instance.new("Part", weapon)
775
q.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
776
q.Shape = shape
777
q.Size = size
778
q.Transparency = transp
779
q.BrickColor = color
780
q.Material = mat
781
q.FrontSurface = "Smooth"
782
q.BackSurface = "Smooth"
783
q.LeftSurface = "Smooth"
784
q.RightSurface = "Smooth"
785
q.BottomSurface = "Smooth"
786
q.TopSurface = "Smooth"
787
if cancollid == 1 then
788
q.CanCollide = false
789
end
790
q.Name = nam
791
if wel == 1 then
792
local qw = Instance.new("Weld", q)
793
qw.Part0 = weldpart
794
qw.Part1 = q
795
qw.C0 = c0
796
end
797
end
798
if shape == "Wedge" then
799
local q = Instance.new("WedgePart", weapon)
800
q.Size = size
801
q.Transparency = transp
802
q.BrickColor = color
803
q.Material = mat
804
if cancollid == 1 then
805
q.CanCollide = false
806
end
807
q.Name = nam
808
local qw = Instance.new("Weld", q)
809
qw.Part0 = weldpart
810
qw.Part1 = q
811
qw.C0 = c0
812
end
813
end
814
815
function swait(num)
816
if num==0 or num==nil then
817
game:service'RunService'.Stepped:wait(0)
818
else
819
for i=0,num do
820
game:service'RunService'.Stepped:wait(0)
821
end
822
end
823
end
824
825
attack1 = function()
826
	attack = true
827
	local kekke = 0
828
	for i = 0, 1, 0.1 do
829
		wait()
830
		kekke = kekke + 8
831
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(kekke+70)), 0.3)
832
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
833
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
834
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
835
		weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
836
	end
837
	for i = 0, 1, 0.1 do
838
		wait()
839
		magn(1.5,weapon.Handle2,4)
840
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
841
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
842
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
843
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
844
		weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
845
	end
846
	attack = false
847
end
848
849
attack2 = function()
850
	attack = true
851
	local kekke = 0
852
	for i = 0, 1, 0.1 do
853
		wait()
854
		kekke = kekke + 20
855
		magn(3,weapon.Handle,4)
856
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke+70)), 1)
857
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
858
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
859
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.3)
860
		weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
861
	end
862
	attack = false
863
end
864
865
swordattack3 = function()
866
	attack = true
867
	local kekke = 0
868
	for i = 0, 1, 0.1 do
869
		wait()
870
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
871
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
872
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3)
873
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-75), math.rad(0), math.rad(0)), 0.3)
874
	end
875
	weld11.Part0 = LeftArm
876
	weld21.Part0 = RightArm
877
	weld21.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
878
	weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
879
	for i = 0, 1, 0.2 do
880
		wait()
881
		magn(1,sword11,4)
882
		magn(1,sword21,4)
883
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
884
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
885
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
886
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
887
	end
888
	for i = 0, 1, 0.2 do
889
		wait()
890
		
891
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
892
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
893
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(45)), 0.6)
894
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(-60), math.rad(45)), 0.6)
895
	end
896
	magn(7.5,sword21,4)
897
	for i = 0, 1, 0.2 do
898
		wait()
899
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
900
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
901
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(160), math.rad(60), math.rad(-45)), 0.6)
902
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-45)), 0.6)
903
	end
904
	magn(7.5,sword11,4)
905
	for i = 0, 1, 0.2 do
906
		wait()
907
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
908
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
909
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(40), math.rad(-45)), 0.6)
910
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(180), math.rad(-40), math.rad(45)), 0.6)
911
	end
912
	magn(7.5,sword11,4)
913
	magn(7.5,sword21,4)
914
	for i = 0, 1, 0.2 do
915
		wait()
916
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
917
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
918
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(45), math.rad(45)), 0.6)
919
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(-45), math.rad(-45)), 0.6)
920
	end
921
	weld11.Part0 = char.Torso
922
	weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
923
	weld21.Part0 = char.Torso
924
	weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
925
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
926
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
927
	attack = false
928
end
929
930
swordattack4 = function()
931
	attack = true
932
	local kekke = 0
933
	for i = 0, 1, 0.1 do
934
		wait()
935
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
936
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
937
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3)
938
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
939
	end
940
	weld12.Part0 = LeftArm
941
	weld22.Part0 = RightArm
942
	weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
943
	weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),0) * CFrame.new(0,0,2.5)
944
	for i = 0, 1, 0.2 do
945
		wait()
946
		magn(1,sword11,4)
947
		magn(1,sword21,4)
948
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3)
949
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3)
950
	end
951
	swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4))
952
	for i = 0, 1, 0.2 do
953
		wait()
954
		magn(1,sword11,4)
955
		magn(1,sword21,4)
956
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(10)), 0.3)
957
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
958
	end
959
	swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4))
960
	for i = 0, 1, 0.2 do
961
		wait()
962
		magn(1,sword11,4)
963
		magn(1,sword21,4)
964
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
965
	end
966
	attack = false
967
end
968
969
swordattack5 = function()
970
	attack = true
971
	local kekke = 60
972
	for i = 0, 1, 0.2 do
973
		wait()
974
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
975
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
976
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3)
977
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(240), math.rad(0), math.rad(0)), 0.3)
978
	end
979
	weld1.Part0 = LeftArm
980
	weld2.Part0 = RightArm
981
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0)
982
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),0) * CFrame.new(0,-1,0)
983
	for i = 0, 1, 0.2 do
984
		wait()
985
		magn(1,sword11,4)
986
		magn(1,sword21,4)
987
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3)
988
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3)
989
	end
990
	while kekke > -120 do
991
		wait()
992
		magn(1,sword1,2)
993
		magn(1,sword2,2)
994
		kekke = kekke - 7
995
		weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180+kekke*15),0) * CFrame.new(0,-1,0)
996
		weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180-kekke*15),0) * CFrame.new(0,-1,0)
997
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke)), 0.3)
998
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke)), 0.3)
999
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1000
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1001
	end
1002
	attack = false
1003
	weld1.Part0 = char.Torso
1004
	weld2.Part0 = char.Torso
1005
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
1006
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
1007
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1008
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1009
end
1010
1011
swordattack6 = function()
1012
	attack = true
1013
	local sworda = Instance.new("Part", char)
1014
	sworda.CanCollide = false
1015
	sworda.Transparency = 1
1016
	local aw = Instance.new("Weld", sworda)
1017
	aw.Part0 = sworda
1018
	aw.Part1 = char.HumanoidRootPart
1019
	local kekke = 0
1020
	for i = 0, 1, 0.2 do
1021
		wait()
1022
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1023
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1024
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1025
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1026
	end
1027
	sword1.Weld.Part0 = sworda
1028
	sword2.Weld.Part0 = sworda
1029
	sword11.Weld.Part0 = sworda
1030
	sword21.Weld.Part0 = sworda
1031
	sword12.Weld.Part0 = sworda
1032
	sword22.Weld.Part0 = sworda
1033
	sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
1034
	sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
1035
	sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
1036
	sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
1037
	sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
1038
	sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
1039
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1040
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1041
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1042
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1043
	block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1044
	block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1045
	while kekke > -120 do
1046
		wait()
1047
		kekke = kekke - 3.5
1048
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
1049
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
1050
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
1051
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1052
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1053
	end
1054
	for i = 0,1,0.1 do
1055
		wait()
1056
		magn(1,sword1,4)
1057
		magn(1,sword2,4)
1058
		magn(1,sword11,4)
1059
		magn(1,sword21,4)
1060
		magn(1,sword12,4)
1061
		magn(1,sword22,4)
1062
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
1063
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
1064
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
1065
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1066
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1067
	end
1068
	kekke = 28
1069
	while kekke >= 0 do
1070
		wait()
1071
		kekke = kekke - 0.4
1072
		magn(1*(kekke/28),sword1,4)
1073
		magn(1*(kekke/28),sword2,4)
1074
		magn(1*(kekke/28),sword11,4)
1075
		magn(1*(kekke/28),sword21,4)
1076
		magn(1*(kekke/28),sword12,4)
1077
		magn(1*(kekke/28),sword22,4)
1078
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(kekke),0)
1079
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1080
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1081
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1082
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1083
	end
1084
	attack = false
1085
	weld1.Part0 = char.Torso
1086
	weld2.Part0 = char.Torso
1087
	weld11.Part0 = char.Torso
1088
	weld21.Part0 = char.Torso
1089
	weld12.Part0 = char.Torso
1090
	weld22.Part0 = char.Torso
1091
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
1092
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
1093
	weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
1094
	weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
1095
	weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
1096
	weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
1097
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1098
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1099
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1100
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1101
	block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1102
	block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1103
	sworda:Destroy()
1104
	
1105
end
1106
1107
swordult = function()
1108
	attack = true
1109
	local sworda = Instance.new("Part", char)
1110
	sworda.CanCollide = false
1111
	sworda.Transparency = 1
1112
	local aw = Instance.new("Weld", sworda)
1113
	aw.Part0 = sworda
1114
	aw.Part1 = char.HumanoidRootPart
1115
	local kekke = 0
1116
	for i = 0, 1, 0.2 do
1117
		wait()
1118
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1119
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1120
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1121
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1122
	end
1123
	sword1.Weld.Part0 = sworda
1124
	sword2.Weld.Part0 = sworda
1125
	sword11.Weld.Part0 = sworda
1126
	sword21.Weld.Part0 = sworda
1127
	sword12.Weld.Part0 = sworda
1128
	sword22.Weld.Part0 = sworda
1129
	sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
1130
	sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
1131
	sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
1132
	sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
1133
	sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
1134
	sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
1135
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1136
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1137
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1138
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1139
	block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1140
	block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1141
	while kekke > -135 do
1142
		wait()
1143
		kekke = kekke - 1
1144
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
1145
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45-kekke)), 0.6)
1146
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.6)
1147
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1148
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1149
	end
1150
	local spinneblock = Instance.new("Part", char)
1151
	spinneblock.CanCollide = false
1152
	spinneblock.Transparency = 1
1153
	local spinneweld = Instance.new("Weld",spinneblock)
1154
	spinneweld.Part0 = spinneblock
1155
	spinneweld.Part1 = char.Torso
1156
	local spinnemesh = Instance.new("SpecialMesh", spinneblock)
1157
	spinnemesh.MeshType = "FileMesh"
1158
	spinnemesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
1159
	spinnemesh.Scale = Vector3.new(4,6,4)
1160
	spinneblock.BrickColor = char.Torso.BrickColor
1161
	for i = 0,1,0.1 do
1162
		wait()
1163
		magn(1,sword1,4)
1164
		magn(1,sword2,4)
1165
		magn(1,sword11,4)
1166
		magn(1,sword21,4)
1167
		magn(1,sword12,4)
1168
		magn(1,sword22,4)
1169
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
1170
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
1171
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
1172
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1173
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1174
	end
1175
	kekke = 0
1176
	char.Humanoid.AutoRotate = false
1177
	char.Humanoid.WalkSpeed = 64
1178
	for i = 0,1,0.005 do
1179
		wait()
1180
		spinneblock.Transparency = spinneblock.Transparency - 0.01
1181
		kekke = kekke + 30
1182
		magn(2,sword1,6)
1183
		magn(2,sword2,6)
1184
		magn(2,sword11,6)
1185
		magn(2,sword21,6)
1186
		magn(2,sword12,6)
1187
		magn(2,sword22,6)
1188
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(15),0)
1189
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1190
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), .6)
1191
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1192
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1193
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1194
	end
1195
	attack = false
1196
	char.Humanoid.AutoRotate = true
1197
	weld1.Part0 = char.Torso
1198
	weld2.Part0 = char.Torso
1199
	weld11.Part0 = char.Torso
1200
	weld21.Part0 = char.Torso
1201
	weld12.Part0 = char.Torso
1202
	weld22.Part0 = char.Torso
1203
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
1204
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
1205
	weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
1206
	weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
1207
	weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
1208
	weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
1209
	sworda:Destroy()
1210
	spinneblock:Destroy()
1211
	ult = false
1212
	weapon.Handle2.Weld.Part0 = RightArm
1213
	sword1.Transparency = 1
1214
	sword2.Transparency = 1
1215
	sword11.Transparency = 1
1216
	sword21.Transparency = 1
1217
	sword12.Transparency = 1
1218
	sword22.Transparency = 1
1219
	char.Humanoid.Health = 1
1220
	mana = mana - 400
1221
end
1222
1223
swordspin = function()
1224
	attack = true
1225
	local thrown = false
1226
	local side = false
1227
	local sworda = Instance.new("Part", char)
1228
	sworda.CanCollide = false
1229
	sworda.Transparency = 1
1230
	local aw = Instance.new("Weld", sworda)
1231
	aw.Part0 = sworda
1232
	aw.Part1 = char.HumanoidRootPart
1233
	local kekke = 0
1234
	for i = 0, 1, 0.2 do
1235
		wait()
1236
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1237
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1238
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1239
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
1240
	end
1241
	sword1.Weld.Part0 = sworda
1242
	sword2.Weld.Part0 = sworda
1243
	sword11.Weld.Part0 = sworda
1244
	sword21.Weld.Part0 = sworda
1245
	sword12.Weld.Part0 = sworda
1246
	sword22.Weld.Part0 = sworda
1247
	sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4)
1248
	sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4)
1249
	sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4)
1250
	sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4)
1251
	sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4)
1252
	sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4)
1253
	while kekke > -120 do
1254
		wait()
1255
		kekke = kekke - 3.5
1256
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-3.5),0)
1257
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
1258
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(45+kekke)), 0.3)
1259
		--block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1260
		--block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.3,BrickColor.new("Institutional white"),2)
1261
	end
1262
	coroutine.resume(coroutine.create(function()
1263
	swordthrow(play:GetMouse(),sword22,0,0,sword22, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)		)
1264
	side = true
1265
	wait(.42)
1266
	swordthrow(play:GetMouse(),sword1,0,0,sword1, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)		)	
1267
	side = false	
1268
	wait(.42)
1269
	swordthrow(play:GetMouse(),sword2,0,0,sword2, CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)		)
1270
	side = true	
1271
	wait(.42)
1272
	swordthrow(play:GetMouse(),sword11,0,0,sword11, CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)					)	
1273
	side = false	
1274
	wait(.42)
1275
	swordthrow(play:GetMouse(),sword21,0,0,sword21, CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)					)	
1276
	side = true	
1277
	wait(.42)
1278
	swordthrow(play:GetMouse(),sword12,0,0,sword12, CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)		)
1279
	side = false	
1280
	wait(.42)
1281
	thrown = true
1282
	end))
1283
	while thrown == false do
1284
	wait()
1285
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(28),0)
1286
		
1287
		if side == true then
1288
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)
1289
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)
1290
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)			
1291
		else
1292
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)
1293
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), .6)
1294
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .6)	
1295
		end
1296
	end
1297
	attack = false
1298
	sworda:Destroy()
1299
end
1300
1301
swordcombo = function()
1302
	attack = true
1303
	local thrown = false
1304
	local side = false
1305
	local sworda = Instance.new("Part", char)
1306
	sworda.CanCollide = false
1307
	sworda.Transparency = 1
1308
	local aw = Instance.new("Weld", sworda)
1309
	aw.Part0 = sworda
1310
	aw.Part1 = char.HumanoidRootPart
1311
	local kekke = 0
1312
	for i = 0, 1, 0.2 do
1313
		wait()
1314
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1315
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1316
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
1317
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
1318
	end
1319
	sword1.Weld.Part0 = sworda
1320
	sword2.Weld.Part0 = sworda
1321
	sword11.Weld.Part0 = sworda
1322
	sword21.Weld.Part0 = sworda
1323
	sword12.Weld.Part0 = sworda
1324
	sword22.Weld.Part0 = sworda
1325
	sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(90)) * CFrame.new(0,0,4)
1326
	sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(90)) * CFrame.new(0,0,4)
1327
	sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90)) * CFrame.new(0,0,4)
1328
	sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(90)) * CFrame.new(0,0,4)
1329
	sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(90)) * CFrame.new(0,0,4)
1330
	sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(90)) * CFrame.new(0,0,4)
1331
	while kekke > -180 do
1332
		wait()
1333
		kekke = kekke - 4
1334
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-4),0)
1335
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke/2)), 0.3)
1336
		sword1.Weld.C0 = clerp(sword1.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1337
		sword2.Weld.C0 = clerp(sword2.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1338
		sword11.Weld.C0 = clerp(sword11.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1339
		sword21.Weld.C0 = clerp(sword21.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1340
		sword12.Weld.C0 = clerp(sword12.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1341
		sword22.Weld.C0 = clerp(sword22.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1342
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke/2)), 0.3)
1343
	end
1344
	coroutine.resume(coroutine.create(function()
1345
	
1346
	end))
1347
	aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-20),0)
1348
	block(sword2.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1349
	block(sword12.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1350
	block(sword11.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1351
	block(sword22.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1352
	block(sword1.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1353
	block(sword21.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1354
	attack = false
1355
	weld1.Part0 = char.Torso
1356
	weld2.Part0 = char.Torso
1357
	weld11.Part0 = char.Torso
1358
	weld21.Part0 = char.Torso
1359
	weld12.Part0 = char.Torso
1360
	weld22.Part0 = char.Torso
1361
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
1362
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
1363
	weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
1364
	weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
1365
	weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
1366
	weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
1367
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1368
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1369
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1370
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1371
	block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1372
	block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1373
	sworda:Destroy()
1374
end
1375
Taunt = function()
1376
for i,v in pairs(TauntChoose) do
1377
--chosen = math.random(#v,#v)
1378
1379
1380
---game:GetService("Chat"):Chat(char.Head,chosen, Enum.ChatColor.Blue)
1381
	attack = true
1382
	local thrown = false
1383
	local side = false
1384
	local sworda = Instance.new("Part", char)
1385
	sworda.CanCollide = false
1386
	sworda.Transparency = 1
1387
	local aw = Instance.new("Weld", sworda)
1388
	aw.Part0 = sworda
1389
	aw.Part1 = char.HumanoidRootPart
1390
	local kekke = 0
1391
	for i = 0, 1, 0.2 do
1392
		wait()
1393
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1394
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1395
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
1396
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.4 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
1397
	end
1398
	sword1.Weld.Part0 = sworda
1399
	sword2.Weld.Part0 = sworda
1400
	sword11.Weld.Part0 = sworda
1401
	sword21.Weld.Part0 = sworda
1402
	sword12.Weld.Part0 = sworda
1403
	sword22.Weld.Part0 = sworda
1404
	sword1.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(90)) * CFrame.new(0,0,4)
1405
	sword2.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(90)) * CFrame.new(0,0,4)
1406
	sword11.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(90)) * CFrame.new(0,0,4)
1407
	sword21.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(90)) * CFrame.new(0,0,4)
1408
	sword12.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(90)) * CFrame.new(0,0,4)
1409
	sword22.Weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(90)) * CFrame.new(0,0,4)
1410
	while kekke > -180 do
1411
		wait()
1412
		kekke = kekke - 4
1413
		aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-4),0)
1414
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-kekke/2)), 0.3)
1415
		sword1.Weld.C0 = clerp(sword1.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(60),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1416
		sword2.Weld.C0 = clerp(sword2.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(120),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1417
		sword11.Weld.C0 = clerp(sword11.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(180),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1418
		sword21.Weld.C0 = clerp(sword21.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(240),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1419
		sword12.Weld.C0 = clerp(sword12.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(300),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1420
		sword22.Weld.C0 = clerp(sword22.Weld.C0, CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(360),math.rad(0)) * CFrame.new(0,0,4-kekke/15) * CFrame.fromEulerAnglesXYZ(math.rad(kekke),0,0), 1)
1421
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(kekke/2)), 0.3)
1422
	end
1423
	coroutine.resume(coroutine.create(function()
1424
	
1425
	end))
1426
	aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(-20),0)
1427
	--block(sword2.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1428
	----block(sword12.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1429
	--block(sword11.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1430
	---block(sword22.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1431
	---block(sword1.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Institutional white"),3)
1432
	---block(sword21.CFrame,Vector3.new(20,200,1),Vector3.new(0,.1,0),.005,BrickColor.new("Really black"),3)
1433
	attack = false
1434
	weld1.Part0 = char.Torso
1435
	weld2.Part0 = char.Torso
1436
	weld11.Part0 = char.Torso
1437
	weld21.Part0 = char.Torso
1438
	weld12.Part0 = char.Torso
1439
	weld22.Part0 = char.Torso
1440
	weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(15),math.rad(90)) * CFrame.new(.5,-.8,3.4)
1441
	weld2.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-15),math.rad(90)) * CFrame.new(.5,.8,3.4)
1442
	weld11.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(15),math.rad(90)) * CFrame.new(0,-.8,3)
1443
	weld21.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(-15),math.rad(90)) * CFrame.new(0,.8,3)
1444
	weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(15),math.rad(90)) * CFrame.new(-.5,-.8,3.4)
1445
	weld22.C0 = CFrame.fromEulerAnglesXYZ(math.rad(30),math.rad(-15),math.rad(90)) * CFrame.new(-.5,.8,3.4)
1446
	block(sword1.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1447
	block(sword2.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1448
	block(sword11.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1449
	block(sword21.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1450
	block(sword12.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1451
	block(sword22.CFrame,Vector3.new(1,1,5),Vector3.new(0,0,0),.1,BrickColor.new("Institutional white"),2)
1452
	sworda:Destroy()
1453
	  --- end
1454
	end
1455
end
1456
attack3 = function()
1457
	attack = true
1458
	for i = 0, 1, 0.1 do
1459
		wait()
1460
		magn(2,LeftArm,2)
1461
		block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1,1,1),Vector3.new(.1,.1,.1),.1,char.Torso.BrickColor,1)
1462
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1463
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1464
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
1465
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1)
1466
	end
1467
	block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
1468
	for i = 0, 1, 0.1 do
1469
		wait()
1470
		block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(1.5,1.5,1.5),Vector3.new(.1,.1,.1),.2,char.Torso.BrickColor,1)
1471
		magn(2,LeftArm,2)
1472
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1473
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1474
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
1475
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1476
	end
1477
	attack = false
1478
end
1479
1480
attack4 = function()
1481
	attack = true
1482
	for i = 0, 1, 0.1 do
1483
		wait()
1484
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
1485
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1486
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3)
1487
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1)
1488
	end
1489
	block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
1490
	shoottrail(weapon.ST,LeftArm,0,1)
1491
	for i = 0, 1, 0.1 do
1492
		wait()
1493
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
1494
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1495
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), .3)
1496
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 1)
1497
	end
1498
	attack = false
1499
end
1500
1501
magicattack3 = function()
1502
	attack = true
1503
	local kekke = 0
1504
	local shotsfired = 0
1505
	for i = 0, 1, 0.1 do
1506
		wait()
1507
		block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
1508
		magn(0.3,LeftArm,6)
1509
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1510
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1511
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
1512
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), 1)
1513
	end
1514
	block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Institutional white"),1)
1515
	magn(10,LeftArm,5)
1516
	local a4 = Instance.new("Part", char)
1517
	a4.Anchored = true
1518
	a4.CanCollide = false
1519
	a4.Transparency = 1
1520
	a4.Size = Vector3.new(1,1,1)
1521
	a4.CFrame = LeftArm.CFrame * CFrame.new(0,-1,0)
1522
	coroutine.resume(coroutine.create(function()
1523
	while shotsfired < 5 do
1524
	kekke = kekke + 1
1525
	block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
1526
	if kekke >= 15 then
1527
		kekke = 0
1528
		block(a4.CFrame,Vector3.new(10,10,10),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
1529
		magn(5,a4,5)
1530
		shotsfired = shotsfired + 1
1531
	end
1532
	wait()
1533
	end
1534
	a4:Destroy()
1535
	end))
1536
	for i = 0, 1, 0.1 do
1537
		wait()
1538
		block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
1539
		magn(1,LeftArm,6)
1540
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1541
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1542
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
1543
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1544
	end
1545
	attack = false
1546
end
1547
1548
magicattack4 = function()
1549
	attack = true
1550
	local kekke = 0
1551
	local shotsfired = 0
1552
	for i = 0, 1, 0.1 do
1553
		wait()
1554
		block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
1555
		magn(0.3,RightArm,6)
1556
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1557
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1558
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(0)), .3)
1559
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
1560
	end
1561
	block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(5,5,5),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1)
1562
	magn(10,RightArm,5)
1563
	local a4 = Instance.new("Part", char)
1564
	a4.Anchored = true
1565
	a4.CanCollide = false
1566
	a4.Transparency = 1
1567
	a4.Size = Vector3.new(1,1,1)
1568
	a4.CFrame = RightArm.CFrame * CFrame.new(0,-1,0)
1569
	coroutine.resume(coroutine.create(function()
1570
	while shotsfired < 5 do
1571
	kekke = kekke + 1
1572
	block(a4.CFrame,Vector3.new(3*(1-shotsfired/5),3*(1-shotsfired/5),3*(1-shotsfired/5)),Vector3.new(.1,.1,.1),.2,BrickColor.new("Really black"),1)
1573
	if kekke >= 15 then
1574
		kekke = 0
1575
		shoottrail2(play:GetMouse(),a4,0,0)
1576
		shotsfired = shotsfired + 1
1577
	end
1578
	wait()
1579
	end
1580
	a4:Destroy()
1581
	end))
1582
	for i = 0, 1, 0.1 do
1583
		wait()
1584
		block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(3,3,3),Vector3.new(.1,.1,.1),.2,BrickColor.new("Institutional white"),1)
1585
		magn(1,RightArm,6)
1586
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
1587
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
1588
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
1589
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
1590
	end
1591
	attack = false
1592
end
1593
1594
1595
shieldbash = function()
1596
	attack = true
1597
	local kekke = 0
1598
	for i = 0, 1, 0.1 do
1599
		wait()
1600
		kekke = kekke + 8
1601
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1602
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1603
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
1604
		if equipped == true then
1605
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
1606
		end
1607
		if equipped == false then
1608
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1609
		end
1610
	end
1611
	char.Humanoid.Jump = true
1612
	for i = 0, 1, 0.1 do
1613
		wait()
1614
		char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150
1615
		block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(1,1,1),Vector3.new(.5,.5,.5),.04,char.Torso.BrickColor,1)
1616
		magn(3,char.Torso,5)
1617
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),char.Torso.BrickColor,Vector3.new(2.5,2.5,2.5),Vector3.new(0.5,0,.5),0.04,2)
1618
	end
1619
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
1620
	magn(10,char.Torso,15)
1621
	for i = 0, 1, 0.1 do
1622
		wait()
1623
		magn(1.5,weapon.Handle2,4)
1624
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
1625
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
1626
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
1627
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1628
	end
1629
	attack = false
1630
end
1631
1632
teleportback = function()
1633
	attack = true
1634
	parry = false
1635
	char.Humanoid.WalkSpeed = 4
1636
	local kekke = 0
1637
	while parry == false do
1638
		wait()
1639
		kekke = kekke + 8
1640
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1641
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1642
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
1643
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
1644
	end
1645
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(15,15,15),Vector3.new(1,1,1),.1,char.Torso.BrickColor,1)
1646
	magn(20,char.Torso,15)
1647
	char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
1648
	char.Humanoid.WalkSpeed = 16
1649
	attack = false
1650
end
1651
1652
supershieldbash = function()
1653
	attack = true
1654
	local kekke = 0
1655
	for i = 0, 1, 0.1 do
1656
		wait()
1657
		kekke = kekke + 8
1658
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1659
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1660
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 01)
1661
		if equipped == true then
1662
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
1663
		end
1664
		if equipped == false then
1665
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1666
		end
1667
	end
1668
	char.Humanoid.Jump = true
1669
	for i = 0, 1, 0.05 do
1670
		wait()
1671
		char.Torso.Velocity = char.HumanoidRootPart.CFrame.lookVector * 150
1672
		block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
1673
		magn(3,char.Torso,10)
1674
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
1675
	end
1676
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(30,30,30),Vector3.new(1,1,1),.1,BrickColor.new("Really black"),1)
1677
	magn(10,char.Torso,30)
1678
	for i = 0, 1, 0.1 do
1679
		wait()
1680
		magn(1.5,weapon.Handle2,4)
1681
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
1682
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
1683
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
1684
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
1685
	end
1686
	attack = false
1687
end
1688
1689
superteleportback = function()
1690
	attack = true
1691
	parry = false
1692
	char.Humanoid.WalkSpeed = 4
1693
	local kekke = 0
1694
	while parry == false do
1695
		wait()
1696
		kekke = kekke + 8
1697
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1698
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1699
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
1700
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
1701
	end
1702
	char.Humanoid.AutoRotate = false
1703
	for i = 0,2 do
1704
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1)
1705
		magn(3,char.Torso,10)
1706
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
1707
	char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
1708
	end
1709
	wait(.3)
1710
	for i = 0,5 do
1711
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
1712
		magn(3,char.Torso,10)
1713
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
1714
	char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15)
1715
	end
1716
	wait(.3)
1717
	for i = 0,8 do
1718
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Really black"),1)
1719
		magn(3,char.Torso,10)
1720
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Institutional white"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
1721
	char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,15)
1722
	end
1723
	wait(.3)
1724
	for i = 0,8 do
1725
	block(char.HumanoidRootPart.CFrame*CFrame.new(0,0,3),Vector3.new(2,2,2),Vector3.new(1,1,1),.04,BrickColor.new("Institutional white"),1)
1726
		magn(3,char.Torso,10)
1727
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)),BrickColor.new("Really black"),Vector3.new(5,5,5),Vector3.new(0.5,0,.5),0.02,1)
1728
	char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,0,-15)
1729
	end
1730
	char.Humanoid.WalkSpeed = 16
1731
	attack = false
1732
	char.Humanoid.AutoRotate = true
1733
end
1734
1735
local equip = function()
1736
	attack = true
1737
	for i = 0, 1, 0.1 do
1738
		wait()
1739
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1740
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1741
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2 - 0.1 * math.cos((sine) / 15), -1) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)), 0.5)
1742
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(-90), math.rad(0)), 0.3)
1743
	end
1744
	if equipped == true then
1745
	char.Humanoid.WalkSpeed = 32
1746
	equipped = false
1747
	weapon.Handle.Weld.Part0 = weapon.Handle2
1748
	weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
1749
	elseif equipped == false then
1750
	equipped = true
1751
	char.Humanoid.WalkSpeed = 16
1752
	weapon.Handle.Weld.Part0 = LeftArm
1753
	weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
1754
	end
1755
	attack = false
1756
end
1757
1758
1759
1760
comboattack = function()
1761
	attack = true
1762
	local kekke = 0
1763
	while kekke < 1440 do
1764
		wait()
1765
		kekke = kekke + 40
1766
		magn(4,weapon.Handle,4)
1767
		block(LeftArm.CFrame*CFrame.new(0,-2,0),Vector3.new(1,1,4),Vector3.new(0,0,1),.1,char.Torso.BrickColor,1)
1768
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-kekke)), 1)
1769
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
1770
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1)
1771
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1772
		weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(-90)), 1)
1773
	end
1774
	attack = false
1775
end
1776
1777
orbs = function()
1778
	local kekke = 0
1779
	local shot1 = 1
1780
	local a = Instance.new("Part", char)
1781
	a.CanCollide = false
1782
	a.Transparency = 1
1783
	a.Size = Vector3.new(1,1,1)
1784
	local aw = Instance.new("Weld", a)
1785
	aw.Part0 = a
1786
	aw.Part1 = char.HumanoidRootPart
1787
	if ult == true and equipcheck == false then
1788
	aw.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(-18))
1789
	end
1790
	local a2 = Instance.new("Part", char)
1791
	a2.Anchored = true
1792
	a2.CanCollide = false
1793
	a2.Transparency = 1
1794
	a2.Size = Vector3.new(1,1,1)
1795
	local a3 = Instance.new("Part", char)
1796
	a3.Anchored = true
1797
	a3.CanCollide = false
1798
	a3.Transparency = 1
1799
	a3.Size = Vector3.new(1,1,1)
1800
	local a4 = Instance.new("Part", char)
1801
	a4.Anchored = true
1802
	a4.CanCollide = false
1803
	a4.Transparency = 1
1804
	a4.Size = Vector3.new(1,1,1)
1805
	while mana >= 1 and orb == true do
1806
		wait()
1807
		kekke = kekke + 1
1808
		if ult == false then
1809
			magn(.3,a2,4)
1810
			block(a2.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
1811
			magn(.3,a3,4)
1812
			block(a3.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
1813
			magn(.3,a4,4)
1814
			block(a4.CFrame,Vector3.new(1,1,1),Vector3.new(-.2,-.2,-.2),.1,char.Torso.BrickColor,1)
1815
			mana = mana - 0.3
1816
			aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
1817
			a2.CFrame = a.CFrame * CFrame.new(2,0,-4)
1818
			a3.CFrame = a.CFrame * CFrame.new(2,0,4)
1819
			a4.CFrame = a.CFrame * CFrame.new(-4,0,0)
1820
		else
1821
			if kekke >= 20 and equipcheck == false then
1822
					kekke = 0
1823
					if shot1 == 1 then
1824
					shot1 = 2
1825
					shoottrail2(play:GetMouse(),a4,0,1)
1826
					elseif shot1 == 2 then
1827
					shot1 = 3
1828
					shoottrail2(play:GetMouse(),a2,0,1)
1829
					elseif shot1 == 3 then
1830
					shot1 = 1
1831
					shoottrail2(play:GetMouse(),a3,0,1)
1832
					end
1833
			end
1834
			magn(.4,a2,6)
1835
			block(a2.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
1836
			magn(.4,a3,6)
1837
			block(a3.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
1838
			magn(.4,a4,6)
1839
			block(a4.CFrame,Vector3.new(1.5,1.5,1.5),Vector3.new(-.2,-.2,-.2),.1,BrickColor.new("Really black"),1)
1840
			mana = mana - .6
1841
			if equipcheck == false then
1842
			aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,0,math.rad(6))
1843
			a2.CFrame = a.CFrame * CFrame.new(2,-4,0)
1844
			a3.CFrame = a.CFrame * CFrame.new(2,4,0)
1845
			a4.CFrame = a.CFrame * CFrame.new(-4,0,0)
1846
			else
1847
			aw.C0 = aw.C0 * CFrame.fromEulerAnglesXYZ(0,math.rad(6),0)
1848
			a2.CFrame = a.CFrame * CFrame.new(2,0,-4)
1849
			a3.CFrame = a.CFrame * CFrame.new(2,0,4)
1850
			a4.CFrame = a.CFrame * CFrame.new(-4,0,0)	
1851
			end
1852
		end
1853
	end
1854
	a:Destroy()
1855
	a2:Destroy()
1856
	a3:Destroy()
1857
	a4:Destroy()
1858
end
1859
1860
local magictransform = function()
1861
	attack = true
1862
	char.Humanoid.WalkSpeed = 0
1863
	char.Humanoid.JumpPower = 0
1864
	local kekke = 0
1865
	local kekke1 = 0
1866
	local kekke2 = 0
1867
	local kekke3 = 0
1868
	local coold = 1
1869
	for i = 0,1,0.01 do
1870
		wait()
1871
		magn(0.5,char.Torso,10)
1872
		kekke = kekke + 0.1
1873
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
1874
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1)
1875
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1876
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1877
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
1878
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1879
	end
1880
	coroutine.resume(coroutine.create(function()
1881
	while attack == true do
1882
	kekke1 = math.random(0,180)
1883
	kekke2 = math.random(0,180)
1884
	kekke3 = math.random(0,180)
1885
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2)
1886
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.1,2)
1887
	magn(0.5,char.Torso,20)
1888
	wait(coold)
1889
	end
1890
	end))
1891
	for i = 0,1,0.01 do
1892
		wait()
1893
		coold = coold - 0.01
1894
		print(coold)
1895
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1)
1896
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1)
1897
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, kekke - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1898
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1899
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1)
1900
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3)
1901
	end
1902
	block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1)
1903
	block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1)
1904
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2)
1905
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(1,-1,1),0.01,2)
1906
	attack = false
1907
	char.Humanoid.WalkSpeed = 16
1908
	char.Humanoid.JumpPower = 50
1909
end
1910
1911
local magicult = function()
1912
	attack = true
1913
	char.Humanoid.WalkSpeed = 0
1914
	char.Humanoid.JumpPower = 0
1915
	local kekke = 0
1916
	local coold = 1
1917
	coroutine.resume(coroutine.create(function()
1918
	while kekke == 0 do
1919
	block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(.5,.5,.5),.025,BrickColor.new("Really black"),1)
1920
	block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(.33,.33,.33),Vector3.new(2,2,2),Vector3.new(0.5,0.5,0.5),.025,BrickColor.new("Institutional white"),1)
1921
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),BrickColor.new("Institutional white"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2)
1922
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(180)),BrickColor.new("Really black"),Vector3.new(10,10,10),Vector3.new(-.2,-.2,-.2),0.1,2)
1923
	magn(0.5,char.Torso,20)
1924
	wait(coold)
1925
	end
1926
	kekke = 0
1927
	end))
1928
	RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
1929
	LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
1930
	for i = 0,1,0.012 do
1931
		wait()
1932
		coold = coold
1933
		print(coold)
1934
		magn(0.5,char.Torso,10)
1935
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1936
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1937
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-60)), 0.05)
1938
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.05)
1939
	end
1940
	kekke = 1
1941
	for i = 0,1,0.01 do
1942
		wait()
1943
		kekke = kekke + 0.1
1944
		block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1)
1945
		block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1)
1946
	end
1947
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2)
1948
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,50000,110),Vector3.new(30,-1,30),0.05,2)
1949
	wait(2)
1950
	kekke = 100
1951
	magn(90,char.Torso,100)
1952
	for i = 0,1,0.05 do
1953
		wait()
1954
		kekke = kekke + 0.1
1955
		block(RightArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Really black"),1)
1956
		block(LeftArm.CFrame*CFrame.new(0,0,0),Vector3.new(kekke,kekke,kekke),Vector3.new(0,0,0),.2,BrickColor.new("Institutional white"),1)
1957
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1)
1958
		wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(110,-90,110),Vector3.new(0,0,0),0.01,1)
1959
	end
1960
	
1961
	attack = false
1962
	char.Humanoid.Health = 1
1963
	ult = false
1964
	weapon.Handle2.Weld.Part0 = RightArm
1965
	mana = mana - 400
1966
	char.Humanoid.WalkSpeed = 24
1967
	char.Humanoid.JumpPower = 50
1968
end
1969
1970
local swordtransform = function()
1971
	attack = true
1972
	char.Humanoid.WalkSpeed = 0
1973
	char.Humanoid.JumpPower = 0
1974
	
1975
	local kekke = 0
1976
	local kekke1 = 0
1977
	local kekke2 = 0
1978
	local kekke3 = 0
1979
	local coold = 1
1980
	for i = 0,1,0.01 do
1981
		wait()
1982
		magn(0.5,char.Torso,10)
1983
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(-1,-1,-1),.2,BrickColor.new("Really black"),1)
1984
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,1,1),Vector3.new(1,0,0),.05,BrickColor.new("Institutional white"),1)
1985
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
1986
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1987
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 1)
1988
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1989
	end
1990
	--[[coroutine.resume(coroutine.create(function()
1991
	while attack == true do
1992
	kekke1 = math.random(0,180)
1993
	kekke2 = math.random(0,180)
1994
	kekke3 = math.random(0,180)
1995
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(kekke3)),BrickColor.new("Institutional white"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1)
1996
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(kekke1),math.rad(kekke2),math.rad(180+kekke3)),BrickColor.new("Really black"),Vector3.new(5,10,5),Vector3.new(-.5,1,-.5),0.1,1)
1997
	magn(0.5,char.Torso,20)
1998
	wait(coold)
1999
	end
2000
	end))]]
2001
	
2002
	block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Really black"),1)
2003
	block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.02,BrickColor.new("Institutional white"),1)
2004
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0),BrickColor.new("Institutional white"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2)
2005
	wave(char.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(180)),BrickColor.new("Really black"),Vector3.new(210,-190,210),Vector3.new(-2,1,-2),0.01,2)
2006
	for i = 0,1,0.01 do
2007
		wait()
2008
		coold = coold - 0.01
2009
		print(coold)
2010
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Really black"),1)
2011
		block(char.Torso.CFrame*CFrame.new(0,0,0),Vector3.new(8,8,8),Vector3.new(1,-1,-1),.2,BrickColor.new("Institutional white"),1)
2012
		kekke = kekke + 0.5
2013
		block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Institutional white"),2)
2014
		block(char.Torso.CFrame*CFrame.new(math.random(-kekke,kekke),0,math.random(-kekke,kekke)),Vector3.new(1,1,1),Vector3.new(0,kekke/2,0),.2,BrickColor.new("Really black"),2)
2015
		char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
2016
		char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2017
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(40)), 1)
2018
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(-40)), 0.3)
2019
	end
2020
	attack = false
2021
	sword1.Transparency = 0.4
2022
	sword2.Transparency = 0.4
2023
	sword11.Transparency = 0.4
2024
	sword21.Transparency = 0.4
2025
	sword12.Transparency = 0.4
2026
	sword22.Transparency = 0.4
2027
	char.Humanoid.WalkSpeed = 24
2028
	char.Humanoid.JumpPower = 50
2029
end
2030
2031
local ultimate = function()
2032
	ult = true
2033
	weapon.Handle.Weld.Part0 = weapon.Handle2
2034
	weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -.1, 2.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
2035
	weapon.Handle2.Weld.Part0 = char.Torso
2036
	weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), 1)
2037
		if equipped == false then
2038
			equipcheck = false
2039
			magictransform()
2040
		elseif equipped == true then
2041
			equipcheck = true
2042
			equipped = false
2043
			char.Humanoid.MaxHealth = 200
2044
			swordtransform()	
2045
			char.Humanoid.Health = 200
2046
			sword1.Transparency = 0.4
2047
			sword2.Transparency = 0.4
2048
			sword11.Transparency = 0.4
2049
			sword21.Transparency = 0.4
2050
			sword12.Transparency = 0.4
2051
			sword22.Transparency = 0.4
2052
		end
2053
		
2054
		while ult == true do
2055
			if Anim == "Walk" then
2056
			weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(100), math.rad(180), math.rad(0)), .3)
2057
			else
2058
			weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(0, 0, .8) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(0)), .3)
2059
			end
2060
		wait()
2061
	end
2062
end
2063
2064
play:GetMouse().Button1Down:connect(function()
2065
	if attack == false and throwing == false then
2066
		if combo == 1 and attack == false and throwing == false and equipped == true then
2067
			attack1()
2068
			combo = 2
2069
		elseif combo == 2 and attack == false and throwing == false and equipped == true then
2070
			attack2()
2071
			combo = 1
2072
		elseif combo == 1 and attack == false and throwing == false and equipped == false and mana >= 15 then
2073
			mana = mana - 15
2074
			if ult == false then
2075
			attack3()
2076
			else
2077
			if equipcheck == false then
2078
			magicattack3()
2079
			else
2080
			mana = mana + 15
2081
			swordattack3()
2082
			
2083
			end
2084
			end
2085
			combo = 2
2086
		elseif combo == 2 and attack == false and throwing == false and equipped == false and mana >= 20 and throwing == false then
2087
			mana = mana - 20
2088
			if ult == false then
2089
			attack4()
2090
			combo = 1
2091
			else
2092
			if equipcheck == false then
2093
			magicattack4()
2094
			combo = 1
2095
			else
2096
			mana = mana + 20
2097
			swordattack4()
2098
			
2099
			combo = 3
2100
			end
2101
			end
2102
		elseif combo == 3 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then
2103
			mana = mana + 0
2104
			swordattack5()
2105
			combo = 4
2106
		elseif combo == 4 and attack == false and throwing == false and equipped == false and equipcheck == true and mana >= 10 then
2107
			mana = mana + 0
2108
			swordattack6()
2109
			combo = 1
2110
		end
2111
	end
2112
end)
2113
2114
play:GetMouse().Button1Up:connect(function()
2115
	if charging == true then
2116
		charging = false
2117
		
2118
	end
2119
end)
2120
2121
play:GetMouse().KeyDown:connect(function(k)
2122
	
2123
	k = k:lower()
2124
	if k == "z" and attack == false and throwing == false and mana >= 25 then
2125
		if ult == false then
2126
		mana = mana - 25
2127
		shieldbash()
2128
		end
2129
		if ult == true then
2130
			if equipcheck == false then
2131
			mana = mana - 25
2132
			supershieldbash()
2133
			else
2134
			swordspin()
2135
			mana = mana - 25
2136
			end
2137
		end
2138
	elseif k == "e" and attack == false and throwing == false then
2139
		ult = false
2140
		sword1.Transparency = 1
2141
		sword2.Transparency = 1
2142
		sword11.Transparency = 1
2143
		sword21.Transparency = 1
2144
		sword12.Transparency = 1
2145
		sword22.Transparency = 1
2146
		char.Humanoid.MaxHealth = 100
2147
		if combo >= 3 then
2148
		combo = 1
2149
		end
2150
		weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 1)
2151
		weapon.Handle2.Weld.Part0 = RightArm
2152
		equip()
2153
	elseif k == "x" and attack == false and throwing == false and mana >= 35 then
2154
		if ult == false then
2155
		mana = mana - 35
2156
		if equipped == true then
2157
			comboattack()
2158
		elseif equipped == false then
2159
			teleportback()
2160
		end
2161
		else
2162
		if equipcheck == false then
2163
		superteleportback()
2164
		else
2165
		swordcombo()
2166
		end
2167
		end
2168
	elseif k == "x" and attack == true and parry == false and mana >= 15 then
2169
		mana = mana - 15
2170
		char.Humanoid.Health = char.Humanoid.Health - 10
2171
	elseif k == "c" and attack == false and throwing == false and mana >= 20 and orb == false then
2172
		orb = true
2173
		orbs()
2174
	elseif k == "c" and orb == true then
2175
		orb = false
2176
	elseif k == "t" and equipcheck == true then
2177
	Taunt()
2178
	elseif k == "h" and attack == false and throwing == false and mana >= 200 then
2179
		if ult == false then
2180
		ultimate()
2181
		else
2182
		if mana >= 400 then
2183
		if equipcheck == false then
2184
		magicult()
2185
		else
2186
		swordult()
2187
		equip()
2188
		end
2189
		end
2190
		end
2191
	end
2192
end)
2193
2194
local keke = 0
2195
coroutine.resume(coroutine.create(function()
2196
while true do
2197
pasthp = char.Humanoid.Health
2198
wait(.5)
2199
if char.Humanoid.Health < pasthp then
2200
parry = true
2201
if equipped == true then
2202
char.Humanoid.Health = char.Humanoid.Health + (pasthp-char.Humanoid.Health)/2
2203
mana = mana + (pasthp-char.Humanoid.Health)*2
2204
CreateSound("rbxassetid://10209583",weapon.Handle2,.1,1)
2205
print("Blocked!")
2206
end
2207
if ult == true and equipcheck == false and mana >= (pasthp-char.Humanoid.Health)*2 then
2208
	mana = mana - (pasthp-char.Humanoid.Health)*2
2209
	block(char.Torso.CFrame,Vector3.new((1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5),(1*(pasthp-char.Humanoid.Health)/5)),Vector3.new(0.5,.5,.5),0.1,char.Torso.BrickColor,1)
2210
	char.Humanoid.Health = pasthp
2211
end
2212
end
2213
end
2214
end))
2215
2216
coroutine.resume(coroutine.create(function()
2217
while true do
2218
mana = mana + 1
2219
if ult == true and equipcheck == false then
2220
	mana = mana + 4
2221
end
2222
if mana >= 400 then
2223
	mana = 400
2224
end
2225
wait(.5)
2226
end
2227
end))
2228
2229
coroutine.resume(coroutine.create(function()
2230
while true do
2231
keke = keke + 1
2232
if keke > 10 then
2233
	keke = 0
2234
end
2235
	if asdrot <= 360 then
2236
		asdrot = asdrot + 2
2237
		else
2238
		asdrot = 0
2239
	end
2240
	manabar:TweenSize(UDim2.new(1 * (mana /400), 0, 1, 0), "Out", "Quad", 0.5)
2241
	if sit == true then
2242
	mana = mana + .33
2243
	end
2244
	if ult == true and equipcheck == false then
2245
		block(LeftArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Institutional white"),1)
2246
		block(RightArm.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(0,0.333,0),Vector3.new(1,1,1),Vector3.new(0.1,0.1,0.1),0.2,BrickColor.new("Really black"),1)
2247
	end
2248
	if riding == true and attack == false and debounce2 == false then
2249
		coroutine.resume(coroutine.create(function()
2250
		debounce2 = true
2251
		magn(3,6,model.spinneblock,5)
2252
		wait(0.2)
2253
		debounce2 = false
2254
		end))
2255
	end
2256
	sine = sine + change
2257
	torsovel = (char.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
2258
					if sit == false then
2259
					if char.HumanoidRootPart.Velocity.Y > 1 then
2260
						Anim = "Jump"
2261
						if attack == false and sit == false then
2262
							char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2263
							char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2264
							RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
2265
							LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
2266
							RH.C0 = clerp(RH.C0, CFrame.new(1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
2267
							LH.C0 = clerp(LH.C0, CFrame.new(-1, -.5 + 0.1 * math.cos((sine) / 20), -0.4) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
2268
						end
2269
					elseif torsovel < 1 then
2270
						Anim = "Idle"
2271
							change = 1
2272
							if attack == false and sit == false then
2273
							if equipped == true then
2274
							char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
2275
							char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
2276
							RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
2277
							LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
2278
							weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
2279
							end
2280
							if equipped == false then
2281
							char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2282
							char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2283
							if ult == false then
2284
							RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
2285
							else
2286
							RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2287
							end
2288
							LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2289
							end
2290
							if ult == false then
2291
							weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, .05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3)
2292
							end
2293
							end
2294
							RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2295
							LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)	
2296
					elseif 2 < torsovel then
2297
							Anim = "Walk"
2298
								if attack == false and sit == false then
2299
								if equipped == true then
2300
								char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
2301
								char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
2302
								RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
2303
								LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
2304
								weapon.Handle.Weld.C0 = clerp(weapon.Handle.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 1)
2305
								end
2306
								if equipped == false then
2307
								char.HumanoidRootPart.RootJoint.C0 = clerp(char.HumanoidRootPart.RootJoint.C0, RootCF * CFrame.new(0, 0, 0 - 0.1 * math.cos((sine) / 20)) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
2308
								char.Torso.Neck.C0 = clerp(char.Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
2309
								RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3)
2310
								LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 15), 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.3)
2311
								end
2312
								if ult == false then
2313
								weapon.Handle2.Weld.C0 = clerp(weapon.Handle2.Weld.C0, CFrame.new(.5, 0.05, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(-90)), 0.3)
2314
								end
2315
								end
2316
								RH.C0 = clerp(RH.C0, CFrame.new(1, -1 + 0.1 * math.cos((sine) / 20), 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
2317
								LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 + 0.1 * math.cos((sine) / 20), 0.1) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
2318
					end
2319
					end
2320
wait()
2321
end
2322
end))
2323
2324
while true do
2325
wait(0)
2326
swait()
2327
end