View difference between Paste ID: xdKvjELe and tr5nKZL1
SHOW: | | - or go back to the newest paste.
1-
-----Made by EL0704 or Chaotic_Harmony ,original version too.credit to lutricis sword script,if u see dis either good luck trader or git a lyfe hacker nerd
1+
2
Player=game:GetService("Players").LocalPlayer
3
p = game.Players.LocalPlayer
4
char = p.Character
5
it = Instance.new
6
tp = true
7
shoot = true
8
hum = char.Humanoid
9
Character=Player.Character 
10
PlayerGui=Player.PlayerGui
11
Backpack=Player.Backpack 
12
Torso=Character.Torso 
13
Head=Character.Head 
14
Humanoid=Character.Humanoid
15
m=Instance.new('Model',Character)
16
LeftArm=Character["Left Arm"] 
17
LeftLeg=Character["Left Leg"] 
18
RightArm=Character["Right Arm"] 
19
RightLeg=Character["Right Leg"] 
20
LS=Torso["Left Shoulder"] 
21
LH=Torso["Left Hip"] 
22
RS=Torso["Right Shoulder"] 
23
RH=Torso["Right Hip"] 
24
Face = Head.face
25
Neck=Torso.Neck
26
it=Instance.new
27
attacktype=1
28
vt=Vector3.new
29
cf=CFrame.new
30
euler=CFrame.fromEulerAnglesXYZ
31
angles=CFrame.Angles
32
cloaked=false
33
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
34
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
35
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
36
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
37
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
38
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
39
RootPart=Character.HumanoidRootPart
40
RootJoint=RootPart.RootJoint
41
RootCF=euler(-1.57,0,3.14)
42
attack = false 
43
attackdebounce = false 
44
deb=false
45
equipped=true
46
hand=false
47
MMouse=nil
48
combo=0
49
mana=0
50
trispeed=.2
51
attackmode='none'
52
local idle=0
53
local Anim="Idle"
54
local Effects={}
55
local gun=false
56
local shoot=false
57
player=nil 
58
mana=0
59
local CurrentMode = "Unsheathed"
60
plr = game.Players.Chaotic_Harmony
61
ws = game.Workspace.Chaotic_Harmony
62
Mouse = Player:GetMouse()
63
64
Bp = game.Players.LocalPlayer.Backpack
65
jun = Bp.Parent
66
local o = 0
67
68
local verlet = {}
69
verlet.step_time = 1 / 50
70
verlet.gravity = Vector3.new(0, -10, 0)
71
72
local char = game.Players.LocalPlayer.Character
73
local torso = char:WaitForChild("Torso")
74
local parts = {}
75
local render = game:GetService("RunService").RenderStepped
76
77
wait(2)
78
79
--[[
80
Fenrier's Armor
81
]]
82
script.Name="FenArmor"
83
--[[b=script:Clone()
84
b.Parent=game:GetService("Lighting")
85
c=game:GetService("Lighting"):children()
86
for i=1,#c do
87
print(c[i])
88
end]]
89
Player = game:GetService("Players").Chaotic_Harmony
90
Character = Player.Character
91
PlayerGui = Player.PlayerGui
92
Backpack = Player.Backpack
93
Torso = Character.Torso
94
Torso.Transparency=0
95
Head = Character.Head
96
Humanoid = Character.Humanoid
97
LeftArm = Character["Left Arm"]
98
LeftArm.Transparency=0
99
LeftLeg = Character["Left Leg"]
100
LeftLeg.Transparency=0
101
RightArm = Character["Right Arm"]
102
RightArm.Transparency=0
103
RightLeg = Character["Right Leg"]
104
RightLeg.Transparency=0
105
LS = Torso["Left Shoulder"]
106
LH = Torso["Left Hip"]
107
RS = Torso["Right Shoulder"]
108
RH = Torso["Right Hip"]
109
Neck = Torso.Neck
110
it=Instance.new
111
vt=Vector3.new
112
cf=CFrame.new
113
euler=CFrame.fromEulerAnglesXYZ
114
angles=CFrame.Angles
115
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
116
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
117
attack = false
118
attacktype = 1
119
attackdebounce = false
120
MMouse=nil
121
combo=0
122
Mode="Normal"
123
--player
124
player = nil
125
--save shoulders
126
RSH, LSH = nil, nil
127
--welds
128
RW, LW = Instance.new("Weld"), Instance.new("Weld")
129
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
130
131
music = it("Sound", Character)
132
music.SoundId = "rbxassetid://289016480"
133
music.Volume = 20
134
music.Looped = true
135
wait()
136
music:Play()
137
138
139
Character:WaitForChild("Humanoid").Died:connect(function()
140
			music:Stop()
141
end)
142
if Humanoid.Health ~= 100 then
143
	music:Stop()
144
	breath:Stop()
145
end
146
147
148
CV="Crimson"
149
	
150
local txt = Instance.new("BillboardGui", char)
151
txt.Adornee = char .Head
152
txt.Name = "_status"
153
txt.Size = UDim2.new(2, 0, 1.2, 0)
154
txt.StudsOffset = Vector3.new(-2, 1, 0)
155
local text = Instance.new("TextLabel", txt)
156
text.Size = UDim2.new(3, 0, 0.5, 0)
157
text.FontSize = "Size8"
158
text.TextScaled = true
159
text.TextTransparency = 0
160
text.BackgroundTransparency = 1
161
text.TextTransparency = 0
162
text.TextStrokeTransparency = 0
163
text.Font = "Arial"
164
text.TextStrokeColor3 = Color3.new(0,255,255)
165
166
v=Instance.new("Part")
167
v.Name = "ColorBrick"
168
v.Parent=p.Character
169
v.FormFactor="Symmetric"
170
v.Anchored=true
171
v.CanCollide=false
172
v.BottomSurface="Smooth"
173
v.TopSurface="Smooth"
174
v.Size=Vector3.new(10,5,3)
175
v.Transparency=0.7
176
v.CFrame=char.Torso.CFrame
177
v.BrickColor=BrickColor.new(CV)
178
v.Transparency=1
179
text.TextColor3 = v.BrickColor.Color
180
v.Shape="Block"
181
text.Text = "Demon God"
182
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"You have yet to die!", "Blue")
183
wait(0.6)
184
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"No one will have me alive!", "Blue")
185
wait(0.6)
186
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"There are too many gods!", "Blue")
187
wait(0.6)
188
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"And i will devour them 1 by 1,and I'll rule the world!", "Blue")
189
wait(0.6)
190
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I am the god of all ice demons and i will destroy you!", "Blue")
191
wait(0.6)
192
193
194
BlastRing = Instance.new("Part") 
195
BlastRing.Parent = game.Lighting 
196
BlastRing.Name = "BlastRing" 
197
BlastRing.formFactor = "Symmetric" 
198
BlastRing.Size = Vector3.new(0, 0, 0) 
199
BlastRing.CanCollide = false 
200
BlastRing.TopSurface = "Smooth" 
201
BlastRing.BottomSurface = "Smooth" 
202
BlastRing.BrickColor = BrickColor.new("Pastel blue") 
203
BlastRing.Reflectance = 0 
204
BlastRing.Anchored = true 
205
Mesh2 = Instance.new("SpecialMesh") 
206
Mesh2.Parent = BlastRing 
207
Mesh2.MeshType = "FileMesh" 
208
Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590" 
209
Mesh2.Scale = Vector3.new(1, 1, 1)
210
211
BlastRing = Instance.new("Part") 
212
BlastRing.Parent = game.Lighting 
213
BlastRing.Name = "BlastRing" 
214
BlastRing.formFactor = "Symmetric" 
215
BlastRing.Size = Vector3.new(0, 0, 0) 
216
BlastRing.CanCollide = false 
217
BlastRing.TopSurface = "Smooth" 
218
BlastRing.BottomSurface = "Smooth" 
219
BlastRing.BrickColor = BrickColor.new("Pastel blue") 
220
BlastRing.Reflectance = 0 
221
BlastRing.Anchored = true 
222
Mesh2 = Instance.new("SpecialMesh") 
223
Mesh2.Parent = BlastRing 
224
Mesh2.MeshType = "FileMesh" 
225
Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590" 
226
Mesh2.Scale = Vector3.new(1, 1, 1)
227
228
ExsplosionRing = Instance.new("Part") 
229
ExsplosionRing.Parent = game.Lighting 
230
ExsplosionRing.Name = "Explosion Ring" 
231
ExsplosionRing.formFactor = "Symmetric" 
232
ExsplosionRing.Size = Vector3.new(0, 0, 0) 
233
ExsplosionRing.CanCollide = false 
234
ExsplosionRing.TopSurface = "Smooth" 
235
ExsplosionRing.BottomSurface = "Smooth" 
236
ExsplosionRing.BrickColor = BrickColor.new("Royal purple") 
237
ExsplosionRing.Transparency = 0.3
238
ExsplosionRing.Reflectance = 0 
239
ExsplosionRing.Anchored = true 
240
Mesh3 = Instance.new("SpecialMesh") 
241
Mesh3.Parent = ExsplosionRing 
242
Mesh3.MeshType = "FileMesh" 
243
Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976" 
244
Mesh3.Scale = Vector3.new(1, 1, 1)
245
Mesh3.Offset = Vector3.new(0,-2,0)
246
247
248
jun.Character.Humanoid.WalkSpeed = 0
249
250
251
252
blastring2 = BlastRing:clone() 
253
blastring2.Parent = jun.Character 
254
blastring2.Position = jun.Character.Torso.Position 
255
blastring2.BrickColor = BrickColor.new("Cyan") 
256
blastring2.Transparency = 0.5
257
blastring2.Reflectance = 0 
258
259
260
261
262
263
mk = Instance.new("Sound",blastring2)
264
mk.Volume = 1
265
mk.SoundId = "http://www.roblox.com/Asset?ID=211422742"
266
mk:Play()
267
268
c = Instance.new("Sound",blastring2)
269
c.Volume = 1
270
c.SoundId = "http://www.roblox.com/Asset?ID=244578827"
271
c:Play()
272
273
for i = 1, 50 do
274
wait(0.03)
275
blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(1.1, 1.1, 1.1)
276
blastring2.Transparency = blastring2.Transparency + 0.01
277
end
278
279
blastring3 = ExsplosionRing:clone() 
280
blastring3.Parent = jun.Character 
281
blastring3.Position = jun.Character.Torso.Position 
282
blastring3.BrickColor = BrickColor.new("Cyan") 
283
blastring3.Transparency = 0.3
284
blastring3.Reflectance = 0
285
286
p = Instance.new("Sound",blastring3)
287
p.Volume = 1
288
p.SoundId = "http://www.roblox.com/Asset?ID=180120107"
289
290
for i = 1, 50 do
291
wait(0.03)
292
blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(3.1, 3.1, 3.1)
293
blastring3.Transparency = blastring3.Transparency + 0.01
294
end
295
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Hmph...you're dead.", "Blue")
296
wait(0.6)
297
298
299
c:Stop()
300
wait(.5)
301
mk:Stop()
302
p:Play()
303
blastring2:remove()
304
blastring3:Destroy()
305
jun.Character.Humanoid.WalkSpeed = 15
306
307
game.Workspace.Base.Material = "Marble"
308
game.Workspace.Base.BrickColor = BrickColor.new("Cyan")
309
310
char.Shirt:Remove()
311
for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
312
for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
313
wait()shirt = Instance.new("Shirt", char)
314
shirt.Name = "Shirt"
315
pants = Instance.new("Pants", char)
316
pants.Name = "Pants"
317
318
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=126998421"
319
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=126998421"
320
321
char.Head.Transparency = 1
322
phat = Instance.new("Part", char.Head)
323
phat.Name = "phat"
324
phat.Size = Vector3.new(0.5,0.5,0.5)
325
phat.CanCollide = false
326
phat.Anchored = false
327
328
phatmesh = Instance.new("SpecialMesh", char.Head.phat)
329
phatmesh.MeshId = "rbxassetid://21057410"
330
phatmesh.TextureId = "rbxassetid://48544900"
331
332
mw1 = it("Weld", char["Head"])
333
mw1.Part0 = char.Head.phat
334
mw1.Part1 = Character["Head"]
335
mw1.C0 = CFrame.new(0,0,0)*CFrame.new(0,0,0)
336
mw1.C1 = CFrame.Angles(0, 0, 0)
337
338
339
Character.Humanoid.NameDisplayDistance = 0
340
Character.Humanoid.HealthDisplayDistance = 0
341
Character.Head.BrickColor = BrickColor.new(0,255,255)
342
Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=48545806"
343
Character.Head.Mesh.VertexColor = Vector3.new(0.7,0.7,0.7)
344
Character.Head.Material = "Neon"
345
wait()
346
347
if Character:findFirstChild("Fen's Armor",true) ~= nil then
348
Character:findFirstChild("Fen's Armor",true).Parent = nil
349
end
350
351
352
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
353
local fp = it("Part")
354
fp.formFactor = formfactor
355
fp.Parent = parent
356
fp.Reflectance = reflectance
357
fp.Transparency = transparency
358
fp.CanCollide = false
359
fp.Locked=true
360
fp.BrickColor = brickcolor
361
fp.Name = name
362
fp.Size = size
363
fp.Position = Torso.Position
364
fp.BottomSurface="Smooth"
365
fp.TopSurface="Smooth"
366
fp:BreakJoints()
367
return fp
368
end
369
370
function mesh(Mesh,part,meshtype,meshid,offset,scale)
371
local mesh = it(Mesh)
372
mesh.Parent = part
373
if Mesh=="SpecialMesh" then
374
mesh.MeshType = meshtype
375
mesh.MeshId = meshid
376
end
377
mesh.Offset=offset
378
mesh.Scale=scale
379
return mesh
380
end
381
382
function weld(parent,part0,part1,c0)
383
local weld = it("Weld")
384
weld.Parent = parent
385
weld.Part0 = part0
386
weld.Part1 = part1
387
weld.C0 = c0
388
return weld
389
end
390
391
local c=Character:children()
392
for i=1,#c do
393
if c[i].className=="Hat" then
394
c[i].Parent=nil
395
end
396
end
397
local suit = Instance.new("Model")
398
suit.Parent = Character
399
suit.Name = "Fen's Armor"
400
401
402
403
--[[RIGHT ARM]]--
404
local RAprt1=part(3,suit,0,0,BrickColor.new("Cyan"),"Right Arm Part1",vt(1,1,1))
405
RAmsh1=mesh("BlockMesh",RAprt1,"","",vt(0,0,0),vt(1.01,2.01,1.01))
406
local RAwld1=weld(RAprt1,RAprt1,RightArm,euler(0,0,0)*cf(0,0,0))
407
local RAprt2=part(3,suit,0,0,BrickColor.new("Really black"),"Right Arm Part2",vt(1,1,1))
408
RAmsh2=mesh("BlockMesh",RAprt2,"","",vt(0,0,0),vt(1.02,2.01,0.2))
409
local RAwld2=weld(RAprt2,RAprt2,RAprt1,euler(0,0,0)*cf(0,-0.01,0))
410
local RAprt3=part(3,suit,0,0,BrickColor.new("Cyan"),"Right Arm Part3",vt(1,1,1))
411
RAmsh3=mesh("BlockMesh",RAprt3,"","",vt(0,0,0),vt(1.02,2.01,0.1))
412
local RAwld3=weld(RAprt3,RAprt3,RAprt1,euler(0,0,0)*cf(0,-0.01,0.2))
413
local RAprt4=part(3,suit,0,0,BrickColor.new("Cyan"),"Right Arm Part4",vt(1,1,1))
414
RAmsh4=mesh("BlockMesh",RAprt4,"","",vt(0,0,0),vt(1.02,2.01,0.1))
415
local RAwld4=weld(RAprt4,RAprt4,RAprt1,euler(0,0,0)*cf(0,-0.01,-0.2))
416
local RAprt5=part(3,suit,0,0,BrickColor.new("Cyan"),"Right Arm Part5",vt(1,1,1))
417
RAmsh5=mesh("BlockMesh",RAprt5,"","",vt(0,0,0),vt(1.025,0.2,1.025))
418
local RAwld5=weld(RAprt5,RAprt5,RAprt1,euler(0,0,0)*cf(0,0.9,0))
419
420
421
422
423
424
local point = {}
425
local link = {}
426
local rope = {}
427
428
local function ccw(A,B,C)
429
    return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
430
end
431
432
local function intersect(A,B,C,D)
433
    return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
434
end
435
436
local function vec2(v)
437
	return Vector2.new(v.x, v.z)
438
end
439
440
function point:step()
441
	if not self.fixed then
442
		local derivative = (self.position - self.last_position) * 0.95
443
		self.last_position = self.position
444
		self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
445
		--[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
446
		local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
447
		local pointE = self.position + torso.CFrame.lookVector * 100
448
		local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
449
		if not doIntersect then
450
			self.postition = self.position - torso.CFrame.lookVector * 10
451
		end]]
452
	end
453
end
454
455
function link:step()
456
	for i = 1, 1 do
457
		local distance = self.point1.position - self.point2.position
458
		local magnitude = distance.magnitude
459
		local differance = (self.length - magnitude) / magnitude
460
		local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
461
		if not self.point1.fixed then
462
			self.point1.position = self.point1.position + translation
463
		end
464
		if not self.point2.fixed then
465
			self.point2.position = self.point2.position - translation
466
		end
467
	end
468
end
469
470
function verlet.new(class, a, b, c)
471
	if class == "Point" then
472
		local new = {}
473
		setmetatable(new, {__index = point})
474
		new.class = class
475
		new.position = a or Vector3.new()
476
		new.last_position = new.position
477
		new.velocity = verlet.gravity
478
		new.fixed = false
479
		return new
480
	elseif class == "Link" then
481
		local new = {}
482
		setmetatable(new, {__index = link})
483
		new.class = class
484
		new.point1 = a
485
		new.point2 = b
486
		new.length = c or (a.position - b.position).magnitude
487
		return new
488
	elseif class == "Rope" then
489
		local new = {}
490
		setmetatable(new, {__index = link})
491
		new.class = class
492
		new.start_point = a
493
		new.finish_point = b
494
		new.points = {}
495
		new.links = {}
496
		local inc = (b - a) / 10
497
		for i = 0, 10 do
498
			table.insert(new.points, verlet.new("Point", a + (i * inc)))
499
		end
500
		for i = 2, #new.points do
501
			table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
502
		end
503
		return new
504
	end
505
end
506
507
local tris = {}
508
local triParts = {}
509
510
local function GetDiscoColor(hue)
511
 local section = hue % 1 * 3
512
 local secondary = 0.5 * math.pi * (section % 1)
513
 if section < 1 then
514
  return Color3.new(0, 0, 0)
515
 elseif section < 2 then
516
  return Color3.new(0, 0, 0)
517
 else
518
  return Color3.new(0, 0, 0)
519
 end
520
end
521
522
local function setupPart(part)
523
	part.Anchored = true
524
	part.FormFactor = 3
525
	part.CanCollide = false
526
	part.TopSurface = 10
527
	part.BottomSurface = 10
528
	part.LeftSurface = 10
529
	part.RightSurface = 10
530
	part.FrontSurface = 10
531
	part.BackSurface = 10
532
	part.Material = "Neon"
533
	local m = Instance.new("SpecialMesh", part)
534
	m.MeshType = "Wedge"
535
	m.Scale = Vector3.new(0.2, 1, 1)
536
	return part
537
end
538
539
local function CFrameFromTopBack(at, top, back)
540
	local right = top:Cross(back)
541
	return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x,  right.y, top.y, back.y, right.z, top.z, back.z)
542
end
543
544
local function drawTri(parent, a, b, c)
545
	local this = {}
546
	local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
547
	local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
548
	function this:Set(a, b, c)
549
		local ab, bc, ca = b-a, c-b, a-c
550
		local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
551
		local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
552
		local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
553
		local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
554
		if edg1 < edg2 then
555
			if edg1 >= edg3 then		
556
				a, b, c = c, a, b
557
				ab, bc, ca = ca, ab, bc
558
				abm = cam
559
			end
560
		else
561
			if edg2 < edg3 then
562
				a, b, c = b, c, a
563
				ab, bc, ca = bc, ca, ab
564
				abm = bcm
565
			else
566
				a, b, c = c, a, b
567
				ab, bc, ca = ca, ab, bc
568
				abm = cam
569
			end
570
		end
571
	 
572
		local len1 = -ca:Dot(ab)/abm
573
		local len2 = abm - len1
574
		local width = (ca + ab.unit*len1).magnitude
575
	 
576
		local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
577
	 
578
		if len1 > 0.2 then
579
			mPart1.Parent = parent
580
			mPart1.Size = Vector3.new(0.2, width, len1)
581
			mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
582
		else
583
			mPart1.Parent = nil
584
		end
585
		
586
		if len2 > 0.2 then
587
			mPart2.Parent = parent
588
			mPart2.Size = Vector3.new(0.2, width, len2)
589
			mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
590
		else
591
			mPart2.Parent = nil
592
		end	
593
	end
594
	function this:SetProperty(prop, value)
595
		mPart1[prop] = value
596
		mPart2[prop] = value
597
	end
598
	this:Set(a, b, c)
599
	function this:Destroy()
600
		mPart1:Destroy()
601
		mPart2:Destroy()
602
	end
603
	this.p1 = mPart1
604
	this.p2 = mPart2
605
	this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
606
	this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
607
	return this
608
end
609
610
function verlet.draw(object, id)
611
	if object.class == "Point" then
612
		local part = parts[id]
613
		part.BrickColor = BrickColor.new(0, 255, 255)
614
		part.Transparency = 0
615
		part.formFactor = 3
616
		part.Anchored = true
617
		part.CanCollide = false
618
		part.TopSurface = 0
619
		part.BottomSurface = 0
620
		part.Size = Vector3.new(0.35, 0.35, 0.35)
621
		part.Material = "Neon"
622
		part.CFrame = CFrame.new(object.position)
623
		part.Parent = torso
624
		return part
625
	elseif object.class == "Link" then
626
		local part = parts[id]
627
		local dist = (object.point1.position - object.point2.position).magnitude
628
		part.Size = Vector3.new(0.2, 0.2, dist)
629
		part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
630
		part.Parent = torso
631
		return part
632
	end
633
end
634
635
function verlet.clear()
636
	for _, v in pairs(workspace:GetChildren()) do
637
		if v.Name == "Part" then
638
			v:Destroy()
639
		end
640
	end
641
end
642
643
local points = {}
644
local links = {}
645
646
for x = 0, 2 do
647
	points[x] = {}
648
	for y = 0, 3 do
649
		points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
650
		points[x][y].fixed = y == 0
651
	end
652
end
653
654
for x = 1, 2 do
655
	for y = 0, 3 do
656
		links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
657
	end
658
end
659
660
for x = 0, 2 do
661
	for y = 1, 3 do
662
		links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
663
	end
664
end
665
666
render:connect(function()
667
	for x = 0, 2 do
668
		for y = 0, 3 do
669
			if y == 0 then
670
				points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
671
			else
672
				points[x][y]:step()
673
			end
674
		end
675
	end
676
	for i = 1, #links do
677
		links[i]:step()
678
	end
679
	for i = 1, #tris do
680
		triParts[#triParts + 1] = tris[i].p1
681
		triParts[#triParts + 1] = tris[i].p2
682
	end
683
	tris = {}
684
	for x = 1, 2 do
685
		for y = 1, 3 do
686
			tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
687
			tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
688
		end
689
	end
690
end)
691
692
693
694
695
mod=Instance.new('Model',char)
696
local particleemitter = Instance.new("ParticleEmitter", Torso)
697
particleemitter.VelocitySpread = 180
698
particleemitter.Lifetime = NumberRange.new(1)
699
particleemitter.Speed = NumberRange.new(10)
700
particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
701
particleemitter.RotSpeed = NumberRange.new(-180, 180)
702
particleemitter.Rotation = NumberRange.new(-360, 360)
703
particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
704
particleemitter.LightEmission = 1
705
particleemitter.Texture = "http://www.roblox.com/asset/?id=32905625"
706
particleemitter.Color = ColorSequence.new(Color3.new(0,255,255), Color3.new(0,255,255))
707
708
709
710
711
712
Player=game:GetService("Players").LocalPlayer
713
714
Character=Player.Character 
715
char.Humanoid.MaxHealth = math.huge
716
PlayerGui=Player.PlayerGui
717
Backpack=Player.Backpack 
718
Torso=Character.Torso 
719
Head=Character.Head 
720
Humanoid=Character.Humanoid
721
LeftArm=Character["Left Arm"] 
722
LeftLeg=Character["Left Leg"] 
723
RightArm=Character["Right Arm"] 
724
RightLeg=Character["Right Leg"] 
725
cam=game.Workspace.CurrentCamera
726
LS=Torso["Left Shoulder"] 
727
LH=Torso["Left Hip"] 
728
RS=Torso["Right Shoulder"] 
729
RH=Torso["Right Hip"] 
730
Face = Head.face
731
Neck=Torso.Neck
732
it=Instance.new
733
attacktype=1
734
vt=Vector3.new
735
cf=CFrame.new
736
euler=CFrame.fromEulerAnglesXYZ
737
angles=CFrame.Angles
738
cloaked=false
739
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
740
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
741
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
742
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
743
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
744
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
745
RootPart=Character.HumanoidRootPart
746
RootJoint=RootPart.RootJoint
747
RootCF=euler(-1.57,0,3.14)
748
attack = false 
749
bounce=false
750
cooldown=false
751
deeznuts=false
752
attackdebounce = false 
753
deb=false
754
equipped=true
755
hand=false
756
MMouse=nil
757
combo=0
758
mana=0
759
trispeed=.2
760
attackmode='none'
761
local idle=0
762
local Anim="Idle"
763
local Effects={}
764
local gun=false
765
local shoot=false
766
player=nil 
767
mana=0
768
cam = workspace.CurrentCamera
769
ZTarget = nil
770
RocketTarget = nil
771
local m = Instance.new("Model",Character)
772
m.Name = "WeaponModel"
773
774
mouse=Player:GetMouse()
775
--save shoulders 
776
RSH, LSH=nil, nil 
777
--welds 
778
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
779
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
780
LH=Torso["Left Hip"]
781
RH=Torso["Right Hip"]
782
TorsoColor=Torso.BrickColor
783
function NoOutline(Part)
784
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
785
end
786
player=Player 
787
ch=Character
788
RSH=ch.Torso["Right Shoulder"] 
789
LSH=ch.Torso["Left Shoulder"] 
790
-- 
791
RSH.Parent=nil 
792
LSH.Parent=nil 
793
-- 
794
RW.Name="Right Shoulder"
795
RW.Part0=ch.Torso 
796
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
797
RW.C1=cf(0, 0.5, 0) 
798
RW.Part1=ch["Right Arm"] 
799
RW.Parent=ch.Torso 
800
-- 
801
LW.Name="Left Shoulder"
802
LW.Part0=ch.Torso 
803
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
804
LW.C1=cf(0, 0.5, 0) 
805
LW.Part1=ch["Left Arm"] 
806
LW.Parent=ch.Torso 
807
808
	function swait(num)
809
    if num==0 or num==nil then
810
    game:service'RunService'.Heartbeat:wait(0)
811
    else
812
    for i=0,num do
813
    game:service'RunService'.Heartbeat:wait(0)
814
    end
815
    end
816
	end
817
	
818
	function nooutline(part)
819
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
820
	end
821
	
822
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
823
		local fp=it("Part")
824
		fp.formFactor=formfactor
825
		fp.Parent=parent
826
		fp.Reflectance=reflectance
827
		fp.Transparency=transparency
828
		fp.CanCollide=false
829
		fp.Locked=true
830
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
831
		fp.Name=name
832
		fp.Size=size
833
		fp.Position=Character.Torso.Position
834
		nooutline(fp)
835
		fp.Material=material
836
		fp:BreakJoints()
837
		return fp
838
	end
839
	
840
	function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
841
		local fp = it("Part")
842
		fp.formFactor = formfactor 
843
		fp.Parent = parent
844
		fp.Reflectance = reflectance
845
		fp.Transparency = transparency
846
		fp.CanCollide = false 
847
		fp.Locked=true
848
		fp.BrickColor = brickcolor
849
		fp.Name = name
850
		fp.Size = size
851
		fp.Position = EffectPart.Position 
852
		NoOutline(fp)
853
		fp.Material="Neon"
854
		fp:BreakJoints()
855
		return fp 
856
	end 
857
	
858
	function wweld(parent,part0,part1,c0)
859
		local weld=it("Weld") 
860
		weld.Parent=parent	
861
		weld.Part0=part0 
862
		weld.Part1=part1 
863
		weld.C0=c0
864
		return weld
865
	end
866
	
867
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
868
		local mesh=it(Mesh)
869
		mesh.Parent=part
870
		if Mesh=="SpecialMesh" then
871
			mesh.MeshType=meshtype
872
			mesh.MeshId=meshid
873
		end
874
		mesh.Offset=offset
875
		mesh.Scale=scale
876
		return mesh
877
	end
878
	
879
	function decal(part,face,texture,transparency,shiny,specular,name)
880
		local d=it("Decal",part)
881
		d.Shiny=shiny
882
		d.Face=face
883
		d.Specular=specular
884
		d.Transparency=transparency
885
		d.Texture=texture
886
		d.Name=name
887
		return d
888
	end
889
	
890
	function weld(parent,part0,part1,c0,c1)
891
		local weld=it("Weld")
892
		weld.Parent=parent
893
		weld.Part0=part0
894
		weld.Part1=part1
895
		weld.C0=c0
896
		weld.C1=c1
897
		return weld
898
	end
899
	
900
	
901
local function CFrameFromTopBack(at, top, back)
902
local right = top:Cross(back)
903
return CFrame.new(at.x, at.y, at.z,
904
right.x, top.x, back.x,
905
right.y, top.y, back.y,
906
right.z, top.z, back.z)
907
end
908
909
function Triangle(a, b, c)
910
local edg1 = (c-a):Dot((b-a).unit)
911
local edg2 = (a-b):Dot((c-b).unit)
912
local edg3 = (b-c):Dot((a-c).unit)
913
if edg1 <= (b-a).magnitude and edg1 >= 0 then
914
a, b, c = a, b, c
915
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
916
a, b, c = b, c, a
917
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
918
a, b, c = c, a, b
919
else
920
assert(false, "unreachable")
921
end
922
 
923
local len1 = (c-a):Dot((b-a).unit)
924
local len2 = (b-a).magnitude - len1
925
local width = (a + (b-a).unit*len1 - c).magnitude
926
 
927
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
928
 
929
local list = {}
930
931
local TrailColor = ("Cyan")
932
 
933
if len1 > 0.01 then
934
local w1 = Instance.new('WedgePart', m)
935
game:GetService("Debris"):AddItem(w1,5)
936
w1.Material = "Neon"
937
w1.FormFactor = 'Custom'
938
w1.BrickColor = BrickColor.new(TrailColor)
939
w1.Transparency = 0
940
w1.Reflectance = 0
941
w1.Material = "Neon"
942
w1.CanCollide = false
943
NoOutline(w1)
944
local sz = Vector3.new(0.2, width, len1)
945
w1.Size = sz
946
local sp = Instance.new("SpecialMesh",w1)
947
sp.MeshType = "Wedge"
948
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
949
w1:BreakJoints()
950
w1.Anchored = true
951
w1.Parent = workspace
952
w1.Transparency = 0.7
953
table.insert(Effects,{w1,"Disappear",.01})
954
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
955
table.insert(list,w1)
956
end
957
 
958
if len2 > 0.01 then
959
local w2 = Instance.new('WedgePart', m)
960
game:GetService("Debris"):AddItem(w2,5)
961
w2.Material = "Neon"
962
w2.FormFactor = 'Custom'
963
w2.BrickColor = BrickColor.new(TrailColor)
964
w2.Transparency = 0
965
w2.Reflectance = 0
966
w2.Material = "Neon"
967
w2.CanCollide = false
968
NoOutline(w2)
969
local sz = Vector3.new(0.2, width, len2)
970
w2.Size = sz
971
local sp = Instance.new("SpecialMesh",w2)
972
sp.MeshType = "Wedge"
973
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
974
w2:BreakJoints()
975
w2.Anchored = true
976
w2.Parent = workspace
977
w2.Transparency = 0.7
978
table.insert(Effects,{w2,"Disappear",.01})
979
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
980
table.insert(list,w2)
981
end
982
return unpack(list)
983
end
984
	
985
	
986
so = function(id,par,vol,pit) 
987
coroutine.resume(coroutine.create(function()
988
local sou = Instance.new("Sound",par or workspace)
989
sou.Volume=vol
990
sou.Pitch=pit or 1
991
sou.SoundId=id
992
swait() 
993
sou:play() 
994
game:GetService("Debris"):AddItem(sou,6)
995
end))
996
end
997
 
998
function clerp(a,b,t) 
999
local qa = {QuaternionFromCFrame(a)}
1000
local qb = {QuaternionFromCFrame(b)} 
1001
local ax, ay, az = a.x, a.y, a.z 
1002
local bx, by, bz = b.x, b.y, b.z
1003
local _t = 1-t
1004
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1005
end 
1006
 
1007
function QuaternionFromCFrame(cf) 
1008
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1009
local trace = m00 + m11 + m22 
1010
if trace > 0 then 
1011
local s = math.sqrt(1 + trace) 
1012
local recip = 0.5/s 
1013
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1014
else 
1015
local i = 0 
1016
if m11 > m00 then
1017
i = 1
1018
end
1019
if m22 > (i == 0 and m00 or m11) then 
1020
i = 2 
1021
end 
1022
if i == 0 then 
1023
local s = math.sqrt(m00-m11-m22+1) 
1024
local recip = 0.5/s 
1025
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1026
elseif i == 1 then 
1027
local s = math.sqrt(m11-m22-m00+1) 
1028
local recip = 0.5/s 
1029
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1030
elseif i == 2 then 
1031
local s = math.sqrt(m22-m00-m11+1) 
1032
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1033
end 
1034
end 
1035
end
1036
 
1037
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1038
local xs, ys, zs = x + x, y + y, z + z 
1039
local wx, wy, wz = w*xs, w*ys, w*zs 
1040
local xx = x*xs 
1041
local xy = x*ys 
1042
local xz = x*zs 
1043
local yy = y*ys 
1044
local yz = y*zs 
1045
local zz = z*zs 
1046
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
1047
end
1048
 
1049
function QuaternionSlerp(a, b, t) 
1050
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1051
local startInterp, finishInterp; 
1052
if cosTheta >= 0.0001 then 
1053
if (1 - cosTheta) > 0.0001 then 
1054
local theta = math.acos(cosTheta) 
1055
local invSinTheta = 1/math.sin(theta) 
1056
startInterp = math.sin((1-t)*theta)*invSinTheta 
1057
finishInterp = math.sin(t*theta)*invSinTheta  
1058
else 
1059
startInterp = 1-t 
1060
finishInterp = t 
1061
end 
1062
else 
1063
if (1+cosTheta) > 0.0001 then 
1064
local theta = math.acos(-cosTheta) 
1065
local invSinTheta = 1/math.sin(theta) 
1066
startInterp = math.sin((t-1)*theta)*invSinTheta 
1067
finishInterp = math.sin(t*theta)*invSinTheta 
1068
else 
1069
startInterp = t-1 
1070
finishInterp = t 
1071
end 
1072
end 
1073
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
1074
end
1075
1076
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1077
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1078
end 
1079
1080
Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
1081
        if hit.Parent==nil then
1082
                return
1083
        end
1084
        local h=hit.Parent:FindFirstChild("Humanoid")
1085
        for _,v in pairs(hit.Parent:children()) do
1086
        if v:IsA("Humanoid") then
1087
        h=v
1088
        end
1089
        end
1090
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
1091
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
1092
        end
1093
        if hit.Parent.className=="Hat" then
1094
        hit=hit.Parent.Parent:findFirstChild("Head")
1095
        end
1096
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1097
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
1098
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1099
                        return
1100
                end]]
1101
--                        hs(hit,1.2) 
1102
                        local c=Instance.new("ObjectValue")
1103
                        c.Name="creator"
1104
                        c.Value=game:service("Players").LocalPlayer
1105
                        c.Parent=h
1106
                        game:GetService("Debris"):AddItem(c,.5)
1107
                local Damage=math.random(minim,maxim)
1108
--                h:TakeDamage(Damage)
1109
                local  blocked=false
1110
                local  block=hit.Parent:findFirstChild("Block")
1111
                if block~=nil then
1112
                print(block.className)
1113
                if block.className=="NumberValue" then
1114
                if block.Value>0 then
1115
                blocked=true
1116
                if decreaseblock==nil then
1117
                block.Value=block.Value-1
1118
                end
1119
                end
1120
                end
1121
                if block.className=="IntValue" then
1122
                if block.Value>0 then
1123
                blocked=true
1124
                if decreaseblock~=nil then
1125
                block.Value=block.Value-1
1126
                end
1127
                end
1128
                end
1129
                end
1130
                if blocked==false then
1131
--                h:TakeDamage(Damage)
1132
                h.Health=h.Health-Damage
1133
                ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
1134
                else
1135
                h.Health=h.Health-(Damage/2)
1136
                ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Cyan ").Color)
1137
                end
1138
                if Type=="Knockdown" then
1139
                local hum=hit.Parent.Humanoid
1140
hum.PlatformStand=true
1141
coroutine.resume(coroutine.create(function(HHumanoid)
1142
swait(1)
1143
HHumanoid.PlatformStand=false
1144
end),hum)
1145
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
1146
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
1147
local bodvol=Instance.new("BodyVelocity")
1148
bodvol.velocity=angle*knockback
1149
bodvol.P=5000
1150
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1151
bodvol.Parent=hit
1152
local rl=Instance.new("BodyAngularVelocity")
1153
rl.P=3000
1154
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1155
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1156
rl.Parent=hit
1157
game:GetService("Debris"):AddItem(bodvol,.5)
1158
game:GetService("Debris"):AddItem(rl,.5)
1159
                elseif Type=="Normal" then
1160
                local vp=Instance.new("BodyVelocity")
1161
                vp.P=500
1162
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1163
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1164
                if KnockbackType==1 then
1165
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
1166
                elseif KnockbackType==2 then
1167
                vp.velocity=Property.CFrame.lookVector*knockback
1168
                end
1169
                if knockback>0 then
1170
                        vp.Parent=hit.Parent.Torso
1171
                end
1172
                game:GetService("Debris"):AddItem(vp,.5)
1173
                elseif Type=="Up" then
1174
                local bodyVelocity=Instance.new("BodyVelocity")
1175
                bodyVelocity.velocity=vt(0,60,0)
1176
                bodyVelocity.P=5000
1177
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1178
                bodyVelocity.Parent=hit
1179
                game:GetService("Debris"):AddItem(bodyVelocity,1)
1180
                local rl=Instance.new("BodyAngularVelocity")
1181
                rl.P=3000
1182
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1183
                rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
1184
                rl.Parent=hit
1185
                game:GetService("Debris"):AddItem(rl,.5)
1186
                elseif Type=="Snare" then
1187
                local bp=Instance.new("BodyPosition")
1188
                bp.P=2000
1189
                bp.D=100
1190
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1191
                bp.position=hit.Parent.Torso.Position
1192
                bp.Parent=hit.Parent.Torso
1193
                game:GetService("Debris"):AddItem(bp,1)
1194
                elseif Type=="Target" then
1195
	            local Targetting = false
1196
                if Targetting==false then
1197
                ZTarget=hit.Parent.Torso
1198
                coroutine.resume(coroutine.create(function(Part) 
1199
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1200
                swait(5)
1201
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
1202
                end),ZTarget)
1203
                local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
1204
                local  targetgui=Instance.new("BillboardGui")
1205
                targetgui.Parent=ZTarget
1206
                targetgui.Size=UDim2.new(10,100,10,100)
1207
                local targ=Instance.new("ImageLabel")
1208
                targ.Parent=targetgui
1209
                targ.BackgroundTransparency=1
1210
                targ.Image="rbxassetid://4834067"
1211
                targ.Size=UDim2.new(1,0,1,0)
1212
                cam.CameraType="Scriptable"
1213
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1214
                local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1215
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1216
                Targetting=true
1217
                RocketTarget=ZTarget
1218
                for i=1,Property do
1219
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
1220
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
1221
                swait()
1222
                end
1223
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
1224
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
1225
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
1226
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
1227
                end
1228
                Targetting=false
1229
                RocketTarget=nil
1230
                targetgui.Parent=nil
1231
                cam.CameraType="Custom"
1232
                end
1233
                end
1234
                        local debounce=Instance.new("BoolValue")
1235
                        debounce.Name="DebounceHit"
1236
                        debounce.Parent=hit.Parent
1237
                        debounce.Value=true
1238
                        game:GetService("Debris"):AddItem(debounce,Delay)
1239
                        c=Instance.new("ObjectValue")
1240
                        c.Name="creator"
1241
                        c.Value=Player
1242
                        c.Parent=h
1243
                        game:GetService("Debris"):AddItem(c,.5)
1244
        end
1245
end
1246
1247
1248
function ShowDamage(Pos, Text, Time, Color)
1249
	local Rate = (1 / 30)
1250
	local Pos = (Pos or Vector3.new(0, 0, 0))
1251
	local Text = (Text or "")
1252
	local Time = (Time or 2)
1253
	local Color = (Color or Color3.new(1, 0, 0))
1254
	local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
1255
	EffectPart.Anchored = true
1256
	local BillboardGui = Instance.new("BillboardGui")
1257
	BillboardGui.Size = UDim2.new(3, 0, 3, 0)
1258
	BillboardGui.Adornee = EffectPart
1259
	local TextLabel = Instance.new("TextLabel")
1260
	TextLabel.BackgroundTransparency = 1
1261
	TextLabel.Size = UDim2.new(1, 0, 1, 0)
1262
	TextLabel.Text = Text
1263
	TextLabel.TextColor3 = Color
1264
	TextLabel.TextScaled = true
1265
	TextLabel.Font = Enum.Font.ArialBold
1266
	TextLabel.Parent = BillboardGui
1267
	BillboardGui.Parent = EffectPart
1268
	game.Debris:AddItem(EffectPart, (Time + 0.1))
1269
	EffectPart.Parent = game:GetService("Workspace")
1270
	Delay(0, function()
1271
		local Frames = (Time / Rate)
1272
		for Frame = 1, Frames do
1273
			wait(Rate)
1274
			local Percent = (Frame / Frames)
1275
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1276
			TextLabel.TextTransparency = Percent
1277
		end
1278
		if EffectPart and EffectPart.Parent then
1279
			EffectPart:Destroy()
1280
		end
1281
	end)
1282
end
1283
1284
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
1285
handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
1286
mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
1287
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
1288
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
1289
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
1290
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
1291
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
1292
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
1293
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
1294
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
1295
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
1296
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
1297
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
1298
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
1299
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
1300
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
1301
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
1302
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
1303
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
1304
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
1305
Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(1, 1.20000005, 1))
1306
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
1307
mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
1308
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
1309
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
1310
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
1311
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
1312
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
1313
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
1314
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
1315
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
1316
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
1317
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
1318
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
1319
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
1320
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
1321
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
1322
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
1323
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"v","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
1324
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
1325
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
1326
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
1327
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
1328
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1329
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
1330
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
1331
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1332
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
1333
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
1334
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1335
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
1336
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
1337
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1338
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
1339
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
1340
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1341
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
1342
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
1343
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1344
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
1345
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
1346
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
1347
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
1348
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
1349
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
1350
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
1351
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
1352
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
1353
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
1354
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
1355
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
1356
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
1357
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
1358
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
1359
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Cyan","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
1360
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
1361
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
1362
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Cyan","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1363
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
1364
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
1365
Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Cyan","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
1366
Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
1367
EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Cyan","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1368
EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
1369
mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
1370
EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Cyan","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
1371
EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
1372
1373
DarkRiftF=function(par)
1374
while lol == true do 
1375
wait() 
1376
local PWN={}
1377
for _,v in pairs(game.Workspace:children()) do
1378
if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
1379
if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
1380
table.insert(PWN,v.Torso)
1381
end
1382
end
1383
end
1384
for _,t in pairs(PWN) do
1385
local targ=par.Position-t.Position
1386
local Mag=targ.magnitude
1387
if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
1388
if Mag<=30 then
1389
t.Parent.Humanoid:TakeDamage(.5)
1390
local rl=Instance.new("BodyAngularVelocity")
1391
rl.P=3000
1392
rl.maxTorque=Vector3.new(500000,500000,500000)*5000
1393
rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
1394
rl.Parent=t
1395
game:GetService("Debris"):AddItem(rl,.1)
1396
end
1397
if Mag<=20 then
1398
t.Parent.Humanoid:TakeDamage(.1)
1399
else
1400
local vl=Instance.new("BodyVelocity")
1401
vl.P=3000
1402
vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
1403
vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
1404
vl.Parent=t
1405
game:GetService("Debris"):AddItem(vl,.1)
1406
end
1407
end
1408
end
1409
wait(.08)
1410
end
1411
end
1412
1413
function DerpMagic(part,x1,y1,z1,x2,y2,z2,color) 
1414
	local msh1 = Instance.new("BlockMesh") 
1415
	msh1.Scale = Vector3.new(0.5,0.5,0.5) 
1416
	local S=Instance.new("Part")
1417
	S.Name="Effect"
1418
	S.Material="Neon"
1419
	S.formFactor=0
1420
	S.Size=Vector3.new(x1,y1,z1)
1421
	S.BrickColor=color
1422
	S.Reflectance = 0
1423
	S.TopSurface=0
1424
	S.BottomSurface=0
1425
	S.Transparency=0
1426
	S.Anchored=false
1427
	S.CanCollide=false
1428
	S.CFrame=part.CFrame
1429
	S.Parent=game.Workspace
1430
	msh1.Parent = S
1431
	local W=Instance.new("Weld")
1432
	W.Parent=S
1433
	W.Part0=S
1434
	W.Part1=part
1435
	W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1436
	W.Parent=nil
1437
	S.Anchored=true
1438
	coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
1439
end 
1440
1441
local function BlackHole(parent,cframe)
1442
local effectsmsh = Instance.new("SpecialMesh")
1443
effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
1444
--effectsmsh.Scale = Vector3.new(1,1,2.5)
1445
effectsmsh.Scale = Vector3.new(3,3,3)
1446
local effectsg = Instance.new("Part")
1447
effectsg.formFactor = 3
1448
effectsg.CanCollide = false
1449
effectsg.Name = "Effect"
1450
effectsg.Locked = true
1451
effectsg.Transparency = 1 
1452
effectsg.Size = Vector3.new(0.2,0.2,0.2)
1453
effectsg.Parent = parent
1454
effectsg.BrickColor = BrickColor.new("Cyan")
1455
effectsg.Material="Neon"
1456
coroutine.resume(coroutine.create(function(Part,Mesh)
1457
	local Mesh = Instance.new("SpecialMesh") 
1458
	Mesh.Scale = Vector3.new(0.5,0.5,0.5) 
1459
	Mesh.MeshType = "Sphere" 
1460
--	Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
1461
	Part=Instance.new("Part")
1462
	Part.Name="Effect"
1463
	Part.formFactor=0
1464
	Part.Size=Vector3.new(1,1,1)
1465
	Part.BrickColor=BrickColor.new("Cyan")
1466
	Part.Material="Neon"
1467
	Part.Reflectance = 0
1468
	Part.TopSurface=0
1469
	Part.BottomSurface=0
1470
	Part.Transparency=0
1471
	Part.Anchored=true
1472
NoOutline(Part)	
1473
	Part.CanCollide=false
1474
	Part.CFrame=cframe
1475
	Part.Parent=parent
1476
	Mesh.Parent = Part
1477
	lol=true
1478
coroutine.resume(coroutine.create(function()
1479
	DarkRiftF(Part)
1480
end)) 
1481
	for i=0,200 do
1482
	wait()
1483
	DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Cyan")) 
1484
	Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
1485
	Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1486
	end
1487
	local fff=200
1488
	for i=0,100 do
1489
	wait()
1490
	DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Cyan")) 
1491
	Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1492
	end
1493
	for i=0,1,0.05 do
1494
	wait()
1495
	Part.Transparency=Part.Transparency+0.05
1496
	Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
1497
	end
1498
	lol=false
1499
	Part.Parent=nil
1500
end),nil,nil)
1501
end
1502
1503
function makeShockwave(height,color,speed,range,pulse)
1504
local range = range or 2000
1505
local p = Instance.new("Part")
1506
p.Anchored = true
1507
p.CanCollide = false
1508
p.FormFactor = "Custom"
1509
p.BrickColor = color
1510
p.Parent = workspace
1511
local m = Instance.new("SpecialMesh",p)
1512
m.MeshId = "rbxassetid://3270017"
1513
local estimateSurvival = math.floor(range/speed) * 0.03
1514
game:GetService("Debris"):AddItem(p,estimateSurvival)
1515
Spawn(function ()
1516
for i = 1,range,speed do
1517
p.Transparency = 1-math.min(0.5,3-(i/500))
1518
m.Scale = Vector3.new(i,i,i*height)
1519
p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
1520
wait()
1521
end
1522
p:Destroy()
1523
end)
1524
end
1525
1526
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1527
local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1528
prt.Anchored=true
1529
prt.CFrame=cframe
1530
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
1531
game:GetService("Debris"):AddItem(prt,2)
1532
coroutine.resume(coroutine.create(function(Part,Mesh) 
1533
for i=0,2,delay do
1534
wait()
1535
Part.CFrame=Part.CFrame
1536
Part.Transparency=i
1537
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1538
end
1539
Part.Parent=nil
1540
end),prt,msh)
1541
end
1542
1543
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1544
local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
1545
prt.Anchored=true
1546
prt.CFrame=cframe
1547
local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1548
game:GetService("Debris"):AddItem(prt,5)
1549
coroutine.resume(coroutine.create(function(Part,Mesh) 
1550
for i=0,1,delay do
1551
wait()
1552
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1553
Part.Transparency=i
1554
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1555
end
1556
Part.Parent=nil
1557
end),prt,msh)
1558
end
1559
1560
local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
1561
local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
1562
if Type~=2 then
1563
prt.Anchored=true
1564
end
1565
prt.CFrame=cframe
1566
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
1567
game:GetService("Debris"):AddItem(prt,5)
1568
coroutine.resume(coroutine.create(function(Part,Mesh,dur) 
1569
local wld=nil
1570
if dur==2 then
1571
wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
1572
end
1573
for i=0,1,delay do
1574
swait()
1575
if dur==1 then
1576
Part.CFrame=Part.CFrame
1577
elseif dur==2 then
1578
wld.C0=cframe
1579
end
1580
Part.Transparency=i
1581
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1582
end
1583
Part.Parent=nil
1584
end),prt,msh,Type)
1585
end
1586
1587
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1588
local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1589
prt.Anchored=true
1590
prt.CFrame=cframe
1591
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
1592
game:GetService("Debris"):AddItem(prt,5)
1593
coroutine.resume(coroutine.create(function(Part,Mesh) 
1594
for i=0,1,delay do
1595
swait()
1596
Part.CFrame=Part.CFrame*euler(0,0.7,0)
1597
Part.Transparency=i
1598
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1599
end
1600
Part.Parent=nil
1601
end),prt,msh)
1602
end
1603
1604
function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1605
local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
1606
prt.Anchored=true
1607
prt.CFrame=cframe
1608
local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
1609
game:GetService("Debris"):AddItem(prt,5)
1610
coroutine.resume(coroutine.create(function(Part,Mesh) 
1611
for i=0,1,delay do
1612
wait()
1613
Part.CFrame=Part.CFrame
1614
Part.Transparency=i
1615
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1616
end
1617
Part.Parent=nil
1618
end),prt,msh)
1619
end 
1620
1621
function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1622
local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
1623
prt.Anchored=true
1624
prt.CFrame=cframe
1625
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
1626
game:GetService("Debris"):AddItem(prt,5)
1627
table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
1628
end
1629
1630
function Blast(parent)
1631
MagicBlock(BrickColor.new("Cyan"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
1632
MagicWaveThing(BrickColor.new("Cyan"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
1633
end
1634
1635
function ChargeBall(parent,t)
1636
local counter=0
1637
local size=1
1638
for i=0,t,1 do
1639
swait()
1640
counter=counter+1
1641
if counter%10==0 then
1642
if size==3 then
1643
MagicRing(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1644
elseif size==2 then
1645
MagicRing(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1646
end
1647
end
1648
if counter%5==0 then
1649
if size==1 then
1650
MagicBlock(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1651
elseif size==2 then
1652
MagicBlock(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1653
elseif size==3 then
1654
MagicBlock(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1655
end
1656
end
1657
end
1658
end
1659
1660
function ChargeBall2(parent,t)
1661
local counter=0
1662
local size=1
1663
for i=0,t,1 do
1664
swait()
1665
counter=counter+1
1666
if counter%10==0 then
1667
if size==3 then
1668
MagicRing(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1669
elseif size==2 then
1670
MagicRing(BrickColor.new("Cyan"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1671
end
1672
end
1673
if counter%5==0 then
1674
if size==1 then
1675
MagicBlock(BrickColor.new("Bright red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1676
MagicWave(BrickColor.new("Bright red"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
1677
elseif size==2 then
1678
MagicBlock(BrickColor.new("Bright red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1679
MagicWave(BrickColor.new("Bright red"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
1680
elseif size==3 then
1681
MagicBlock(BrickColor.new("Bright red"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
1682
MagicWave(BrickColor.new("Bright red"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
1683
end
1684
end
1685
end
1686
end
1687
1688
function MagniDamage(Part,dis,mind,maxd,force,knock)
1689
for _,c in pairs(workspace:children()) do
1690
local hum=c:findFirstChild("Humanoid")
1691
if hum~=nil then
1692
local head=c:findFirstChild("Torso")
1693
if head~=nil then
1694
local targ=head.Position-Part.Position
1695
local mag=targ.magnitude
1696
if mag<=dis and c.Name~=Character.Name then 
1697
Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
1698
end
1699
end
1700
end
1701
end
1702
end
1703
1704
function computeDirection(vec)
1705
local lenSquared = vec.magnitude * vec.magnitude
1706
local invSqrt = 1 / math.sqrt(lenSquared)
1707
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
1708
end
1709
1710
function attackone()
1711
attack = true
1712
local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
1713
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end) 
1714
local fx=Hitbox.Touched:connect(function(part)
1715
	local human=part.Parent:findFirstChild("Humanoid")
1716
	if human~=nil and bounce==false then
1717
		bounce=true
1718
		local rndm=math.random(1,#hitsounds)
1719
		local r=rndm
1720
		so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
1721
	end
1722
end)
1723
for i = 0,1,0.1 do
1724
swait()
1725
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
1726
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
1727
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
1728
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
1729
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
1730
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
1731
end
1732
so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
1733
for i = 0,1,0.1 do
1734
swait()
1735
local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
1736
if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
1737
local h = 5
1738
local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
1739
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1740
local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
1741
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1742
scfr = blcf
1743
elseif not scfr then
1744
scfr = blcf
1745
end
1746
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
1747
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
1748
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
1749
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
1750
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
1751
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
1752
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
1753
end
1754
attack = false
1755
bounce=false
1756
scfr=nil
1757
fx:disconnect()
1758
con:disconnect()
1759
end
1760
1761
function attacktwo()
1762
attack=true
1763
local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
1764
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
1765
local fx=Hitbox.Touched:connect(function(part)
1766
	local human=part.Parent:findFirstChild("Humanoid")
1767
	if human~=nil and bounce==false then
1768
		bounce=true
1769
		local rndm=math.random(1,#hitsounds)
1770
		local r=rndm
1771
		so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
1772
	end
1773
end)
1774
for i=0,1,.1 do
1775
swait()
1776
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
1777
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
1778
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
1779
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
1780
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
1781
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
1782
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
1783
end
1784
so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
1785
for i = 0,1,0.1 do
1786
swait()
1787
local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
1788
if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
1789
local h = 5
1790
local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
1791
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1792
local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
1793
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1794
scfr = blcf
1795
elseif not scfr then
1796
scfr = blcf
1797
end
1798
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
1799
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
1800
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
1801
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
1802
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
1803
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
1804
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
1805
end
1806
scfr=nil
1807
attack=false
1808
bounce=false
1809
con:disconnect()
1810
fx:disconnect()
1811
end
1812
1813
function attackthree()
1814
attack=true
1815
local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
1816
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end) 
1817
local fx=Hitbox.Touched:connect(function(part)
1818
	local human=part.Parent:findFirstChild("Humanoid")
1819
	if human~=nil and bounce==false then
1820
		bounce=true
1821
		local rndm=math.random(1,#hitsounds)
1822
		local r=rndm
1823
		so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
1824
	end
1825
end)
1826
for i=0,1,.1 do
1827
swait()
1828
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
1829
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
1830
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
1831
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
1832
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
1833
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
1834
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
1835
end
1836
so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
1837
for i = 0,1,0.1 do
1838
swait()
1839
local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
1840
if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
1841
local h = 5
1842
local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
1843
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1844
local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
1845
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1846
scfr = blcf
1847
elseif not scfr then
1848
scfr = blcf
1849
end
1850
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
1851
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
1852
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
1853
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
1854
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
1855
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
1856
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
1857
end
1858
attack=false
1859
bounce=false
1860
scfr=nil
1861
con:disconnect()
1862
fx:disconnect()
1863
end
1864
1865
function attackfour()
1866
attack = true
1867
local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
1868
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
1869
local fx=Hitbox.Touched:connect(function(part)
1870
	local human=part.Parent:findFirstChild("Humanoid")
1871
	if human~=nil and bounce==false then
1872
		bounce=true
1873
		local rndm=math.random(1,#hitsounds)
1874
		local r=rndm
1875
		so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
1876
	end
1877
end)
1878
for i = 0,1,0.1 do
1879
swait()
1880
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
1881
Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
1882
RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
1883
LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
1884
RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
1885
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
1886
handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
1887
end
1888
so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
1889
local v=it("BodyVelocity",Torso)
1890
v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
1891
v.velocity=RootPart.CFrame.lookVector*50
1892
for i = 0,1,0.1 do
1893
swait()
1894
local blcf = Hitbox.CFrame*cf(0,0,0)
1895
if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
1896
local h = 5
1897
local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
1898
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1899
local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
1900
if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
1901
scfr = blcf
1902
elseif not scfr then
1903
scfr = blcf
1904
end
1905
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
1906
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
1907
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
1908
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
1909
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
1910
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
1911
handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
1912
end
1913
v.Parent=nil
1914
scfr=nil
1915
attack = false
1916
bounce=false
1917
con:disconnect()
1918
fx:disconnect()
1919
end
1920
1921
function LustrisFulgo()
1922
attack=true
1923
Humanoid.WalkSpeed=0
1924
for i=0,1,0.1 do
1925
swait()
1926
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
1927
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
1928
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
1929
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
1930
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
1931
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
1932
handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
1933
end
1934
local function boom()
1935
local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Cyan"),"Effect",vt(1,1,1))
1936
pprt.Anchored=true
1937
pprt.CFrame=EffectPart.CFrame
1938
game:GetService("Debris"):AddItem(pprt,2)
1939
MagicCircle(BrickColor.new("White"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
1940
so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6) 
1941
so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4) 
1942
local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Cyan"),"Effect",vt(1,1,1))
1943
local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
1944
local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
1945
MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
1946
for i=0,80 do
1947
swait()
1948
MagicBlock(BrickColor.new("Cyan"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
1949
MagicCircle(BrickColor.new("Cyan"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
1950
wave.Size=vt(1+i,1+i,1+i)
1951
wavemesh.Scale=vt(1+i,1+i,1+i)
1952
wave.CFrame=EffectPart.CFrame
1953
Humanoid.Health=Humanoid.Health+.15
1954
end
1955
wave:Destroy()
1956
end
1957
boom()
1958
attack=false
1959
Humanoid.WalkSpeed=16
1960
end
1961
1962
function combo()
1963
attacktype=1
1964
if attacktype==3 and attack==false then
1965
attacktype=1
1966
attackone()
1967
elseif attacktype==1 and attack==false then
1968
attacktype=3
1969
end
1970
end
1971
1972
1973
function LeviterGlomus()
1974
attack=true
1975
for i=0,1,.1 do
1976
swait()
1977
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
1978
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
1979
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
1980
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
1981
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
1982
LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
1983
handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
1984
end
1985
so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
1986
efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Cyan","BallEffect",Vector3.new(2, 2, 2))
1987
weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
1988
mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
1989
ChargeBall(EffectPart2,35)
1990
for i=0,1,.1 do
1991
swait()
1992
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
1993
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
1994
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
1995
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
1996
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
1997
LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
1998
handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
1999
end
2000
so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
2001
efprt:BreakJoints()
2002
local Target=mouse.Hit.p
2003
local direction = Target - handle.Position
2004
direction = computeDirection(direction)
2005
local pos = handle.Position + (direction * 10.0)		
2006
efprt.CFrame = CFrame.new(pos,  pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
2007
local floatForce = Instance.new("BodyForce")
2008
floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
2009
floatForce.Parent = efprt
2010
efprt.Velocity = direction * 160
2011
efprt.Touched:connect(function(hit) 
2012
if not hit:IsDescendantOf(Character) then
2013
if hit.Name~="Effect" then
2014
MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
2015
floatForce.Parent=nil
2016
efprt.Anchored=true
2017
so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
2018
Blast(efprt)
2019
efprt:Destroy()
2020
end
2021
end
2022
end)
2023
game:GetService("Debris"):AddItem(efprt,6)
2024
attack=false
2025
end
2026
2027
function PortalStorm()
2028
Humanoid.WalkSpeed=0
2029
attack=true
2030
for i=0,1,.1 do
2031
swait()
2032
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2033
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2034
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
2035
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
2036
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2037
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2038
handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
2039
end
2040
so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
2041
ChargeBall2(handle,100)
2042
makeShockwave(0.5,BrickColor.new("Bright yelllow"),30,1000,0)
2043
MagicWave(BrickColor.new("Bright yelllow"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
2044
so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
2045
wait(2)
2046
so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
2047
delay(0.5,function ()
2048
MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
2049
end)
2050
Humanoid.Health=Humanoid.Health-0
2051
makeShockwave(4,BrickColor.new("Cyan"),10,2000,1)
2052
attack=false
2053
Humanoid.WalkSpeed=9
2054
wait(4)
2055
Humanoid.WalkSpeed=16
2056
end
2057
2058
function SolSiderea()
2059
	Humanoid.WalkSpeed=0
2060
	attack=true
2061
	so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
2062
	for i=0,1,.1 do
2063
	swait()
2064
	RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2065
	Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2066
	RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
2067
	LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
2068
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2069
	LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2070
	handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
2071
	end
2072
	for i=0,1,.1 do
2073
	swait()
2074
	RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2075
	Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
2076
	RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
2077
	LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
2078
	RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2079
	LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2080
	handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
2081
	end
2082
	coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
2083
	local n=2
2084
	local orb=ppart(3,Character,0,1,BrickColor.new("Bright red"),"Orb",vt())
2085
	local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
2086
	local owld=wweld(orb,orb,Torso,cf(-10,-150,0)) 
2087
	for i=1,0.3,-0.01 do
2088
	wait()
2089
	orb.Transparency=i
2090
	omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
2091
	MagicBlock(BrickColor.new("Cyan"),orb.CFrame,15,15,15,2,2,2,0.1)
2092
	local ef=ppart(3,workspace,0,0,BrickColor.new("Cyan"),"Effect",vt())
2093
	ef.Anchored=true
2094
	local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
2095
	local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
2096
	ef.CFrame=orb.CFrame*ceef
2097
	game:GetService("Debris"):AddItem(ef,2)
2098
	coroutine.resume(coroutine.create(function(Part,Mesh) 
2099
	for i=0,1,0.1 do
2100
	wait()
2101
	Part.Transparency=i
2102
	Part.CFrame=Part.CFrame*cf(0,-1,0)
2103
	end
2104
	Part.Parent=nil
2105
	end),ef,emsh)
2106
	end
2107
	local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
2108
	wait(.5)
2109
	orb.Parent=nil
2110
	wait(1)
2111
	local hit,pos = rayCast(orb.Position,Pos,1000,Character)
2112
	local mag=(orb.Position-pos).magnitude 
2113
	BlackHole(game.Workspace,cf(pos))
2114
	coroutine.resume(coroutine.create(function() 
2115
		local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Cyan"),"Effect",vt(1,1,1))
2116
		wweld(game.Workspace,wave,orb,Torso.CFrame)
2117
		local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
2118
		for i=1,100 do
2119
		swait()
2120
		wave.Size=vt(1+i,1+i,1+i)
2121
		wavemesh.Scale=vt(1+i,1+i,1+i)
2122
		wave.CFrame=cf(pos)
2123
		end
2124
	end))
2125
	coroutine.resume(coroutine.create(function()
2126
		for i=0,20 do
2127
			swait(15)
2128
			local range = 1500
2129
			local p = Instance.new("Part")
2130
			p.Anchored = true
2131
			p.CanCollide = false
2132
			p.FormFactor = "Custom"
2133
			p.BrickColor = BrickColor.new("Cyan")
2134
			p.Parent = workspace
2135
			p.Name="Effect"
2136
			p.CFrame=cf(pos)
2137
			local m = Instance.new("SpecialMesh",p)
2138
			m.MeshId = "rbxassetid://3270017"
2139
			local estimateSurvival = math.floor(range/30) * 0.03
2140
			game:GetService("Debris"):AddItem(p,estimateSurvival)
2141
			Spawn(function ()
2142
			for i = 1,range,30 do
2143
			p.Transparency = 1-math.min(0.5,3-(i/500))
2144
			m.Scale = Vector3.new(i,i,i*0.5)
2145
			p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
2146
			wait()
2147
			end
2148
			p:Destroy()
2149
			end)
2150
		end
2151
	end))
2152
	MagicCylinder(BrickColor.new("Cyan"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
2153
	for i=1,2 do
2154
	end
2155
	for i=1,5 do
2156
	tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
2157
	end
2158
	for i=0,5 do
2159
	tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
2160
	end
2161
	local ref=ppart(3,workspace,0,1,BrickColor.new("Cyan"),"Effect",vt())
2162
	ref.CFrame=cf(pos)
2163
	coroutine.resume(coroutine.create(function(Part) 
2164
	wait(1)
2165
	Part.Parent=nil
2166
	end),ref)
2167
	MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
2168
	if hit~=nil then
2169
	Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
2170
	end
2171
	local n=2
2172
	MagicWave(BrickColor.new("Cyan"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
2173
	swait(75)
2174
	Humanoid.WalkSpeed=16
2175
	attack=false
2176
end
2177
2178
attacktype=1
2179
mouse.Button1Down:connect(function()
2180
if attacktype==1 and attack==false then
2181
attacktype=2
2182
attackone()
2183
elseif attacktype==2 and attack==false then
2184
attacktype=3
2185
attacktwo()
2186
elseif attacktype==3 and attack==false then
2187
attacktype=4
2188
attackthree()
2189
elseif attacktype==4 and attack==false then
2190
attacktype=1
2191
attackfour()
2192
end
2193
end)
2194
2195
mouse.KeyDown:connect(function(k)
2196
k=k:lower()
2197
if attack == false and k == 'e' then
2198
LeviterGlomus()
2199
ChargeBall(efprt,100)
2200
end
2201
if attack == false and k == 'q' then
2202
LustrisFulgo()
2203
end
2204
if attack == false and k == 'f' and deeznuts==false then
2205
deeznuts=true
2206
SolSiderea()
2207
deeznuts=false
2208
end
2209
if attack == false and k == 'r' and cooldown==false then
2210
cooldown=true
2211
PortalStorm()
2212
cooldown=false
2213
end
2214
if attack == false and k == 'v' then
2215
combo()
2216
end
2217
end)
2218
2219
2220
local sine = 0
2221
local change = 1
2222
local val = 0
2223
2224
while true do
2225
swait()
2226
sine = sine + change
2227
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
2228
local velderp=RootPart.Velocity.y
2229
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
2230
if equipped==true or equipped==false then
2231
if attack==false then
2232
idle=idle+1
2233
else
2234
idle=0
2235
end
2236
if idle>=500 then
2237
if attack==false then
2238
end
2239
end
2240
if RootPart.Velocity.y > 1 and hitfloor==nil then 
2241
Anim="Jump"
2242
if attack==false then
2243
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2244
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
2245
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
2246
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
2247
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2248
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2249
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2250
end
2251
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
2252
Anim="Fall"
2253
if attack==false then
2254
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2255
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
2256
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
2257
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
2258
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2259
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
2260
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
2261
end
2262
elseif torvel<1 and hitfloor~=nil then
2263
Anim="Idle"
2264
if attack==false then
2265
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
2266
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
2267
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
2268
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
2269
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
2270
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
2271
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
2272
end
2273
elseif torvel>2 and hitfloor~=nil then
2274
Anim="Walk"
2275
if attack==false then
2276
change=3
2277
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
2278
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
2279
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
2280
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
2281
RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
2282
LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
2283
handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
2284
end
2285
end
2286
end
2287
if #Effects>0 then
2288
for e=1,#Effects do
2289
if Effects[e]~=nil then
2290
local Thing=Effects[e]
2291
if Thing~=nil then
2292
local Part=Thing[1]
2293
local Mode=Thing[2]
2294
local Delay=Thing[3]
2295
local IncX=Thing[4]
2296
local IncY=Thing[5]
2297
local IncZ=Thing[6]
2298
if Thing[1].Transparency<=1 then
2299
if Thing[2]=="Block1" then
2300
Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2301
Mesh=Thing[1].Mesh
2302
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2303
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2304
elseif Thing[2]=="Cylinder" then
2305
Mesh=Thing[1].Mesh
2306
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2307
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2308
elseif Thing[2]=="Blood" then
2309
Mesh=Thing[7]
2310
Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
2311
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
2312
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2313
elseif Thing[2]=="Elec" then
2314
Mesh=Thing[1].Mesh
2315
Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
2316
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2317
elseif Thing[2]=="Disappear" then
2318
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
2319
end
2320
else
2321
Part.Parent=nil
2322
table.remove(Effects,e)
2323
end
2324
end
2325
end
2326
end
2327
end
2328
end