View difference between Paste ID: RaSdGbkG and xfb1m79w
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
5
6
7
wait(0.2)
8
9
10
11
Player = game:GetService("Players").LocalPlayer
12
PlayerGui = Player.PlayerGui
13
Cam = workspace.CurrentCamera
14
Backpack = Player.Backpack
15
Character = Player.Character
16
Humanoid = Character.Humanoid
17
Mouse = Player:GetMouse()
18
RootPart = Character["HumanoidRootPart"]
19
Torso = Character["Torso"]
20
Head = Character["Head"]
21
RightArm = Character["Right Arm"]
22
LeftArm = Character["Left Arm"]
23
RightLeg = Character["Right Leg"]
24
LeftLeg = Character["Left Leg"]
25
RootJoint = RootPart["RootJoint"]
26
Neck = Torso["Neck"]
27
RightShoulder = Torso["Right Shoulder"]
28
LeftShoulder = Torso["Left Shoulder"]
29
RightHip = Torso["Right Hip"]
30
LeftHip = Torso["Left Hip"]
31
local FinalInboxLink = "rbxassetid://195916147"
32
local NormalMusicLink = "rbxassetid://596220347"
33
local sick = Instance.new("Sound",Character)
34
sick.SoundId = "rbxassetid://596220347"
35
sick.Looped = true
36
sick.Pitch = 1
37
sick.Volume = 0.6
38
sick:Play()
39
40
IT = Instance.new
41
CF = CFrame.new
42
VT = Vector3.new
43
RAD = math.rad
44
C3 = Color3.new
45
UD2 = UDim2.new
46
BRICKC = BrickColor.new
47
ANGLES = CFrame.Angles
48
EULER = CFrame.fromEulerAnglesXYZ
49
COS = math.cos
50
ACOS = math.acos
51
SIN = math.sin
52
ASIN = math.asin
53
ABS = math.abs
54
MRANDOM = math.random
55
FLOOR = math.floor
56
57
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
58
	local NEWMESH = IT(MESH)
59
	if MESH == "SpecialMesh" then
60
		NEWMESH.MeshType = MESHTYPE
61
		if MESHID ~= "nil" and MESHID ~= "" then
62
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
63
		end
64
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
65
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
66
		end
67
	end
68
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
69
	NEWMESH.Scale = SCALE
70
	NEWMESH.Parent = PARENT
71
	return NEWMESH
72
end
73
74
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
75
	local NEWPART = IT("Part")
76
	NEWPART.formFactor = FORMFACTOR
77
	NEWPART.Reflectance = REFLECTANCE
78
	NEWPART.Transparency = TRANSPARENCY
79
	NEWPART.CanCollide = false
80
	NEWPART.Locked = true
81
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
82
	NEWPART.Name = NAME
83
	NEWPART.Size = SIZE
84
	NEWPART.Position = Torso.Position
85
	NEWPART.Material = MATERIAL
86
	NEWPART:BreakJoints()
87
	NEWPART.Parent = PARENT
88
	return NEWPART
89
end
90
91
92
--//=================================\\
93
--||		  CUSTOMIZATION
94
--\\=================================//
95
96
Class_Name = "Template"
97
Weapon_Name = "Add-ons"
98
99
Custom_Colors = {
100
	Custom_Color_1 = BRICKC("Really red"); --1st color for the weapon.
101
	Custom_Color_2 = BRICKC("Really blue"); --2nd color for the weapon.
102
103
	Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
104
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
105
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
106
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
107
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
108
109
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
110
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
111
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
112
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
113
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
114
}
115
116
117
Player_Size = 1 --Size of the player.
118
Animation_Speed = 3
119
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
120
121
local Speed = 100
122
local Effects2 = {}
123
124
--//=================================\\
125
--|| 	  END OF CUSTOMIZATION
126
--\\=================================//
127
128
	local function weldBetween(a, b)
129
	    local weldd = Instance.new("ManualWeld")
130
	    weldd.Part0 = a
131
	    weldd.Part1 = b
132
	    weldd.C0 = CFrame.new()
133
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
134
	    weldd.Parent = a
135
	    return weldd
136
	end
137
138
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
139
local acs = Instance.new("Part")
140
acs.CanCollide = false
141
acs.Anchored = false
142
acs.Size = Vector3.new(0,0,0)
143
acs.CFrame = attachmentpart.CFrame
144
acs.Parent = Character
145
acs.BrickColor = color
146
    local meshs = Instance.new("SpecialMesh")
147
    meshs.MeshId = mesh
148
    meshs.TextureId = texture
149
    meshs.Parent = acs
150
    meshs.Scale = scale
151
    meshs.Offset = offset
152
weldBetween(attachmentpart,acs)
153
end
154
155
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
156
if TYPE == "Gem" then
157
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
158
	acs.Anchored = false
159
    acs.CanCollide = false
160
	acs.CFrame = PART.CFrame
161
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
162
weldBetween(PART,acs)
163
elseif TYPE == "Skull" then
164
	local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
165
	acs.Anchored = false
166
    acs.CanCollide = false
167
	acs.CFrame = PART.CFrame
168
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
169
weldBetween(PART,acs)
170
elseif TYPE == "Eye" then
171
	local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
172
	acs.Anchored = false
173
    acs.CanCollide = false
174
	acs.CFrame = PART.CFrame
175
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
176
weldBetween(PART,acs)
177
end
178
end
179
180
--//=================================\\
181
--|| 	      USEFUL VALUES
182
--\\=================================//
183
184
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
185
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
186
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
187
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
188
local CO1 = 0
189
local CO2 = 0
190
local CO3 = 0
191
local CO4 = 0
192
local CHANGEDEFENSE = 0
193
local CHANGEDAMAGE = 0
194
local CHANGEMOVEMENT = 0
195
local ANIM = "Idle"
196
local ATTACK = false
197
local EQUIPPED = false
198
local HOLD = false
199
local COMBO = 999
200
local LASTPOINT = nil
201
local BLCF = nil
202
local SCFR = nil
203
local STAGGERHITANIM = false
204
local STAGGERANIM = false
205
local STUNANIM = false
206
local CRITCHANCENUMBER = 0
207
local IDLENUMBER = 0
208
local DONUMBER = 0
209
local HANDIDLE = false
210
local SINE = 0
211
local CHANGE = 2 / Animation_Speed
212
local WALKINGANIM = false
213
local WALK = 0
214
local DISABLEJUMPING = false
215
local HASBEENBLOCKED = false
216
local STUNDELAYNUMBER = 0
217
local MANADELAYNUMBER = 0
218
local SECONDARYMANADELAYNUMBER = 0
219
local ROBLOXIDLEANIMATION = IT("Animation")
220
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
221
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
222
--ROBLOXIDLEANIMATION.Parent = Humanoid
223
local WEAPONGUI = IT("ScreenGui", nil)
224
WEAPONGUI.Name = "Weapon GUI"
225
local WEAPONTOOL = IT("HopperBin", nil)
226
WEAPONTOOL.Name = Weapon_Name
227
local Weapon = IT("Model")
228
Weapon.Name = Weapon_Name
229
local Effects = IT("Folder", Weapon)
230
Effects.Name = "Effects"
231
local ANIMATOR = Humanoid.Animator
232
local ANIMATE = Character.Animate
233
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
234
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
235
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
236
local HITBLOCKSOUNDS = {"199148933", "199148947"}
237
local UNANCHOR = true
238
239
--//=================================\\
240
--\\=================================//
241
242
--//=================================\\
243
--||			  STATS
244
--\\=================================//
245
246
if Character:FindFirstChild("Stats") ~= nil then
247
Character:FindFirstChild("Stats").Parent = nil
248
end
249
250
local Stats = IT("Folder", nil)
251
Stats.Name = "Stats"
252
local ChangeStat = IT("Folder", Stats)
253
ChangeStat.Name = "ChangeStat"
254
local Defense = IT("NumberValue", Stats)
255
Defense.Name = "Defense"
256
Defense.Value = 1
257
local Movement = IT("NumberValue", Stats)
258
Movement.Name = "Movement"
259
Movement.Value = 1
260
local Damage = IT("NumberValue", Stats)
261
Damage.Name = "Damage"
262
Damage.Value = math.huge
263
local Mana = IT("NumberValue", Stats)
264
Mana.Name = "Mana"
265
Mana.Value = 0
266
local SecondaryMana = IT("NumberValue", Stats)
267
SecondaryMana.Name = "SecondaryMana"
268
SecondaryMana.Value = 0
269
local CanCrit = IT("BoolValue", Stats)
270
CanCrit.Name = "CanCrit"
271
CanCrit.Value = false
272
local CritChance = IT("NumberValue", Stats)
273
CritChance.Name = "CritChance"
274
CritChance.Value = 20
275
local CanPenetrateArmor = IT("BoolValue", Stats)
276
CanPenetrateArmor.Name = "CanPenetrateArmor"
277
CanPenetrateArmor.Value = false
278
local AntiTeamKill = IT("BoolValue", Stats)
279
AntiTeamKill.Name = "AntiTeamKill"
280
AntiTeamKill.Value = false
281
local Rooted = IT("BoolValue", Stats)
282
Rooted.Name = "Rooted"
283
Rooted.Value = false
284
local Block = IT("BoolValue", Stats)
285
Block.Name = "Block"
286
Block.Value = false
287
local RecentEnemy = IT("ObjectValue", Stats)
288
RecentEnemy.Name = "RecentEnemy"
289
RecentEnemy.Value = nil
290
local StaggerHit = IT("BoolValue", Stats)
291
StaggerHit.Name = "StaggerHit"
292
StaggerHit.Value = false
293
local Stagger = IT("BoolValue", Stats)
294
Stagger.Name = "Stagger"
295
Stagger.Value = false
296
local Stun = IT("BoolValue", Stats)
297
Stun.Name = "Stun"
298
Stun.Value = false
299
local StunValue = IT("NumberValue", Stats)
300
StunValue.Name = "StunValue"
301
StunValue.Value = 0
302
303
304
--//=================================\\
305
--\\=================================//
306
307
308
309
310
311
--//=================================\\
312
--|| 	     DEBUFFS / BUFFS
313
--\\=================================//
314
315
local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
316
DEFENSECHANGE1.Name = "ChangeDefense"
317
DEFENSECHANGE1.Value = 0
318
319
local MOVEMENTCHANGE1 = IT("NumberValue", nil)
320
MOVEMENTCHANGE1.Name = "ChangeMovement"
321
MOVEMENTCHANGE1.Value = 0
322
323
--//=================================\\
324
--\\=================================//
325
326
327
328
329
330
--//=================================\\
331
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
332
--\\=================================//
333
334
ArtificialHB = Instance.new("BindableEvent", script)
335
ArtificialHB.Name = "ArtificialHB"
336
337
script:WaitForChild("ArtificialHB")
338
339
frame = Frame_Speed
340
tf = 0
341
allowframeloss = false
342
tossremainder = false
343
lastframe = tick()
344
script.ArtificialHB:Fire()
345
346
game:GetService("RunService").Heartbeat:connect(function(s, p)
347
	tf = tf + s
348
	if tf >= frame then
349
		if allowframeloss then
350
			script.ArtificialHB:Fire()
351
			lastframe = tick()
352
		else
353
			for i = 1, math.floor(tf / frame) do
354
				script.ArtificialHB:Fire()
355
			end
356
		lastframe = tick()
357
		end
358
		if tossremainder then
359
			tf = 0
360
		else
361
			tf = tf - frame * math.floor(tf / frame)
362
		end
363
	end
364
end)
365
366
--//=================================\\
367
--\\=================================//
368
369
370
371
372
373
--//=================================\\
374
--|| 	      SOME FUNCTIONS
375
--\\=================================//
376
377
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
378
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
379
end
380
381
function PositiveAngle(NUMBER)
382
	if NUMBER >= 0 then
383
		NUMBER = 0
384
	end
385
	return NUMBER
386
end
387
388
function NegativeAngle(NUMBER)
389
	if NUMBER <= 0 then
390
		NUMBER = 0
391
	end
392
	return NUMBER
393
end
394
395
function Swait(NUMBER)
396
	if NUMBER == 0 or NUMBER == nil then
397
		ArtificialHB.Event:wait()
398
	else
399
		for i = 1, NUMBER do
400
			ArtificialHB.Event:wait()
401
		end
402
	end
403
end
404
405
function QuaternionFromCFrame(cf)
406
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
407
	local trace = m00 + m11 + m22
408
	if trace > 0 then 
409
		local s = math.sqrt(1 + trace)
410
		local recip = 0.5 / s
411
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
412
	else
413
		local i = 0
414
		if m11 > m00 then
415
			i = 1
416
		end
417
		if m22 > (i == 0 and m00 or m11) then
418
			i = 2
419
		end
420
		if i == 0 then
421
			local s = math.sqrt(m00 - m11 - m22 + 1)
422
			local recip = 0.5 / s
423
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
424
		elseif i == 1 then
425
			local s = math.sqrt(m11 - m22 - m00 + 1)
426
			local recip = 0.5 / s
427
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
428
		elseif i == 2 then
429
			local s = math.sqrt(m22 - m00 - m11 + 1)
430
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
431
		end
432
	end
433
end
434
 
435
function QuaternionToCFrame(px, py, pz, x, y, z, w)
436
	local xs, ys, zs = x + x, y + y, z + z
437
	local wx, wy, wz = w * xs, w * ys, w * zs
438
	local xx = x * xs
439
	local xy = x * ys
440
	local xz = x * zs
441
	local yy = y * ys
442
	local yz = y * zs
443
	local zz = z * zs
444
	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))
445
end
446
 
447
function QuaternionSlerp(a, b, t)
448
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
449
	local startInterp, finishInterp;
450
	if cosTheta >= 0.0001 then
451
		if (1 - cosTheta) > 0.0001 then
452
			local theta = ACOS(cosTheta)
453
			local invSinTheta = 1 / SIN(theta)
454
			startInterp = SIN((1 - t) * theta) * invSinTheta
455
			finishInterp = SIN(t * theta) * invSinTheta
456
		else
457
			startInterp = 1 - t
458
			finishInterp = t
459
		end
460
	else
461
		if (1 + cosTheta) > 0.0001 then
462
			local theta = ACOS(-cosTheta)
463
			local invSinTheta = 1 / SIN(theta)
464
			startInterp = SIN((t - 1) * theta) * invSinTheta
465
			finishInterp = SIN(t * theta) * invSinTheta
466
		else
467
			startInterp = t - 1
468
			finishInterp = t
469
		end
470
	end
471
	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
472
end
473
474
function Clerp(a, b, t)
475
	local qa = {QuaternionFromCFrame(a)}
476
	local qb = {QuaternionFromCFrame(b)}
477
	local ax, ay, az = a.x, a.y, a.z
478
	local bx, by, bz = b.x, b.y, b.z
479
	local _t = 1 - t
480
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
481
end
482
483
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
484
	local frame = IT("Frame")
485
	frame.BackgroundTransparency = TRANSPARENCY
486
	frame.BorderSizePixel = BORDERSIZEPIXEL
487
	frame.Position = POSITION
488
	frame.Size = SIZE
489
	frame.BackgroundColor3 = COLOR
490
	frame.BorderColor3 = BORDERCOLOR
491
	frame.Name = NAME
492
	frame.Parent = PARENT
493
	return frame
494
end
495
496
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
497
	local label = IT("TextLabel")
498
	label.BackgroundTransparency = 1
499
	label.Size = UD2(1, 0, 1, 0)
500
	label.Position = UD2(0, 0, 0, 0)
501
	label.TextColor3 = C3(255, 255, 255)
502
	label.TextStrokeTransparency = STROKETRANSPARENCY
503
	label.TextTransparency = TRANSPARENCY
504
	label.FontSize = TEXTFONTSIZE
505
	label.Font = TEXTFONT
506
	label.BorderSizePixel = BORDERSIZEPIXEL
507
	label.TextScaled = true
508
	label.Text = TEXT
509
	label.Name = NAME
510
	label.Parent = PARENT
511
	return label
512
end
513
514
function NoOutlines(PART)
515
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
516
end
517
518
519
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
520
	local NEWWELD = IT(TYPE)
521
	NEWWELD.Part0 = PART0
522
	NEWWELD.Part1 = PART1
523
	NEWWELD.C0 = C0
524
	NEWWELD.C1 = C1
525
	NEWWELD.Parent = PARENT
526
	return NEWWELD
527
end
528
529
function CreateSound(ID, PARENT, VOLUME, PITCH)
530
	coroutine.resume(coroutine.create(function()
531
		local NEWSOUND = IT("Sound", PARENT)
532
		NEWSOUND.Volume = VOLUME
533
		NEWSOUND.Pitch = PITCH
534
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
535
		Swait()
536
		NEWSOUND:play()
537
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
538
	end))
539
end
540
541
542
--//=================================\\
543
--\\=================================//
544
545
546
--//=================================\\
547
--||	     WEAPON CREATION
548
--\\=================================//
549
550
local Handle = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(1.8,3.5,1.8))
551
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0 * Player_Size, -1.5 * Player_Size, 1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
552
local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2.2,1,2.2))
553
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
554
local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
555
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
556
local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
557
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -1.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
558
local Opening = CreatePart(3, Weapon, "Plastic", 0, 0, "Really black", "Handle", VT(1.2,0.6,0.1))
559
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Opening, Handle, Opening, CF(0 * Player_Size, -0.8 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
560
local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Stone grey", "Handle", VT(1,1,0.1))
561
local decal = Instance.new("Decal",HandlePart)
562
decal.Texture = "http://www.roblox.com/asset/?id=140490792"
563
decal.Face = "Back"
564
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 0.6 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
565
566
for _, c in pairs(Weapon:GetChildren()) do
567
	if c.ClassName == "Part" then
568
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
569
	end
570
end
571
572
local chuck = Instance.new("Sound",Effects)
573
chuck.SoundId = "rbxassetid://11900833"
574
chuck.Pitch = 2
575
chuck.Volume = 1
576
577
Weapon.Parent = Character
578
579
Humanoid.Died:connect(function()
580
	ATTACK = true
581
end)
582
583
print(Class_Name.." loaded.")
584
585
--//=================================\\
586
--\\=================================//
587
588
function dealdamage(hit,min,max,maxstrength,beserk)
589
	if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
590
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
591
		local dmg = math.random(min,max)
592
		if humanoid.Health > 0 then
593
			if beserk == true then
594
				humanoid.Health = 0
595
			else
596
				CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
597
				--hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
598
				humanoid.Health = humanoid.Health - dmg
599
				--StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
600
				local defence = Instance.new("BoolValue",hit.Parent)
601
				defence.Name = ("HitBy"..Player.Name)
602
				game:GetService("Debris"):AddItem(defence, 0.05)
603
			end
604
		end
605
	end
606
end
607
608
--//=================================\\
609
--\\=================================//
610
611
function chatfunc(text)
612
local chat = coroutine.wrap(function()
613
if Character:FindFirstChild("TalkingBillBoard")~= nil then
614
Character:FindFirstChild("TalkingBillBoard"):destroy()
615
end
616
local naeeym2 = Instance.new("BillboardGui",Character)
617
naeeym2.Size = UDim2.new(0,100,0,40)
618
naeeym2.StudsOffset = Vector3.new(0,3,0)
619
naeeym2.Adornee = Character.Head
620
naeeym2.Name = "TalkingBillBoard"
621
local tecks2 = Instance.new("TextLabel",naeeym2)
622
tecks2.BackgroundTransparency = 1
623
tecks2.BorderSizePixel = 0
624
tecks2.Text = ""
625
tecks2.Font = "SciFi"
626
tecks2.TextSize = 30
627
tecks2.TextStrokeTransparency = 1
628
tecks2.TextColor3 = Color3.new(0,0,0)
629
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
630
tecks2.Size = UDim2.new(1,0,0.5,0)
631
local tecks3 = Instance.new("TextLabel",naeeym2)
632
tecks3.BackgroundTransparency = 1
633
tecks3.BorderSizePixel = 0
634
tecks3.Text = ""
635
tecks3.Font = "SciFi"
636
tecks3.TextSize = 30
637
tecks3.TextStrokeTransparency = 1
638
tecks3.TextColor3 = Color3.new(0,0,0)
639
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
640
tecks3.Size = UDim2.new(1,0,0.5,0)
641
for i = 1,string.len(text),1 do
642
tecks2.Text = string.sub(text,1,i)
643
tecks3.Text = string.sub(text,1,i)
644
wait(0.01)
645
end
646
wait(2)
647
for i = 1, 50 do
648
Swait()
649
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
650
tecks2.Rotation = tecks2.Rotation - .8
651
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
652
tecks2.TextTransparency = tecks2.TextTransparency + .04
653
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
654
tecks3.Rotation = tecks2.Rotation + .8
655
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
656
tecks3.TextTransparency = tecks2.TextTransparency + .04
657
end
658
naeeym2:Destroy()
659
end)
660
chat()
661
end
662
663
function onChatted(msg)
664
	if msg == "1" then
665
		chatfunc("Spell card! Mailman's Wrath!")
666
		StartPosition()
667
		Swait(70)
668
		MailmansWrath()
669
	elseif msg == "2" then
670
		StartPosition()
671
		chatfunc("Spell card! Papercut Chaos!")
672
		Swait(70)
673
		PapercutChaos()
674
	elseif msg == "3" then
675
		StartPosition()
676
		chatfunc("Spell card! Mailbox Madness!")
677
		MailboxMadness()
678
	elseif msg == "4" then
679
		StartPosition()
680
		chatfunc("SUPER SPELL CARD! MAIL FRENZY!!")
681
		Swait(80)	
682
		sick.SoundId = FinalInboxLink
683
        sick.Volume = 3
684
		sick:Play()
685
		chatfunc("TASTE THE MAIL RUSH!")
686
		FinalInbox()
687
		sick.SoundId = NormalMusicLink
688
        sick.Volume = 0.6
689
		sick:Play()
690
    elseif msg == "5" then
691
        StartPosition()
692
        chatfunc("SUPER SPELL CARD! SONIC MAIL FRENZY!!")
693-
        sick.SoundId = "http://www.roblox.com/asset/?id=426209663"
693+
        sick.SoundId = "http://www.roblox.com/asset/?id=195916147"
694
        sick.Volume = 3
695
        sick.Pitch = 1.5
696
        sick.Looped = false
697
        sick.archivable = false
698-
        sick.Play()
698+
699
        SonicMail()
700
        sick.SoundId = NormalMusicLink
701
        sick.Volume = 0.6
702
        sick:Play()
703
	end
704
end
705
Player.Chatted:connect(onChatted)
706
707
--//=================================\\
708
--||	 	DANMAKU MADNESS
709
--\\=================================//
710
711
local Mail = Instance.new("Part")
712
	Mail.Size = Vector3.new(2, 0.05, 1)
713
	Mail.Color = Color3.new(1,1,1)
714
	Mail.CanCollide = false
715
	local maildecal = Instance.new("Decal",Mail)
716
	maildecal.Face = "Top"
717
	maildecal.Texture = "http://www.roblox.com/asset/?id=8052441"
718
	Mail.BottomSurface = "Smooth"
719
	Mail.Name = "Mail"
720
721
function ShootMail(part,strength,debris)
722
	local mail = Mail:Clone()
723
	mail.CFrame = part.CFrame
724
	mail.Parent = Effects
725
	game:GetService("Debris"):AddItem(mail ,debris)
726
	local bv = Instance.new("BodyVelocity") 
727
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
728
	bv.velocity = part.CFrame.lookVector*strength
729
	bv.Parent = mail
730
	bv.Name = "DASH"
731
	local hit = mail.Touched:connect(function(hit) 
732
		if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
733
			dealdamage(hit,15,45,40)
734
		end
735
	end)
736
	return mail
737
end
738
739
function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
740
end
741
742
743
function StartPosition()
744
	ATTACK = true
745
	Rooted = true
746
	for i=0, 1, 0.1 / Animation_Speed/1.2 do
747
		Swait()
748
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.15 / Animation_Speed)
749
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), 0.15 / Animation_Speed)
750
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
751
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
752
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
753
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
754
	end
755
end
756
757
function MailmansWrath()
758
	local twist = 0
759
	local twist2 = false
760
	local twist3 = 1
761
	local spinpart = Instance.new("Part",Weapon)
762
	spinpart.Anchored = true
763
	spinpart.CanCollide = false
764
	spinpart.Transparency = 1
765
	spinpart.CFrame = Opening.CFrame
766
	local spinpart2 = Instance.new("Part",Weapon)
767
	spinpart2.Anchored = true
768
	spinpart2.CanCollide = false
769
	spinpart2.Transparency = 1
770
	spinpart2.CFrame = Opening.CFrame
771
	for i = 1, 30 do
772
		chuck:Play()
773
		MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
774
		twist = twist + 1
775
		spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
776
		spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
777
		if twist == 10 then
778
			spinpart.CFrame = Opening.CFrame
779
			spinpart2.CFrame = Opening.CFrame
780
			twist = 0
781
		end
782
		ShootMail(spinpart,65,2)
783
		ShootMail(spinpart2,65,2)
784
		Swait(5)
785
	end
786
	spinpart.CFrame = Opening.CFrame
787
	spinpart2.CFrame = Opening.CFrame
788
	twist = 10
789
	for i = 1, 40 do
790
		chuck:Play()
791
		MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
792
		twist = twist + 1
793
		if twist2 == true then
794
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
795
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
796
		elseif twist2 == false then
797
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
798
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
799
		end
800
		if twist == 20 then
801
			if twist2 == false then
802
				twist2 = true
803
			elseif twist2 == true then
804
				twist2 = false
805
			end
806
			twist = 0
807
		end
808
		ShootMail(spinpart,65,2)
809
		ShootMail(spinpart2,65,2)
810
		Swait(5)
811
	end
812
	spinpart.CFrame = Opening.CFrame
813
	spinpart2.CFrame = Opening.CFrame
814
	twist = 0
815
	for i = 1, 30 do
816
		chuck:Play()
817
		MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
818
		twist = twist + 1
819
		spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
820
		spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
821
		if twist == 10 then
822
			spinpart.CFrame = Opening.CFrame
823
			spinpart2.CFrame = Opening.CFrame
824
			twist = 0
825
		end
826
		ShootMail(spinpart,75,2)
827
		ShootMail(spinpart2,75,2)
828
		Swait(5)
829
	end
830
	spinpart:remove()
831
	spinpart2:remove()
832
	ATTACK = false
833
	Rooted = false
834
end
835
836
function PapercutChaos()
837
	local twist = 0
838
	for i = 1, 5 do
839
	chuck:Play()
840
	MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
841
	local mail = ShootMail(Opening,25,20)
842
		for i = 1, 15 do
843
			chuck:Play()
844
			local spinpart = Instance.new("Part",Weapon)
845
			spinpart.Anchored = true
846
			spinpart.CanCollide = false
847
			spinpart.Transparency = 1
848
			spinpart.CFrame = mail.CFrame
849
			local spinpart2 = Instance.new("Part",Weapon)
850
			spinpart2.Anchored = true
851
			spinpart2.CanCollide = false
852
			spinpart2.Transparency = 1
853
			spinpart2.CFrame = mail.CFrame
854
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
855
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
856
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
857
			ShootMail(spinpart,35,2)
858
			ShootMail(spinpart2,35,2)
859
			spinpart:remove()
860
			spinpart2:remove()
861
			Swait(5)
862
		end
863
		mail:remove()
864
	end
865
	for i = 1, 2 do
866
	chuck:Play()
867
	MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
868
	local mail = ShootMail(Opening,45,20)
869
		for i = 1, 20 do
870
			twist = twist + 1
871
			chuck:Play()
872
			local spinpart = Instance.new("Part",Weapon)
873
			spinpart.Anchored = true
874
			spinpart.CanCollide = false
875
			spinpart.Transparency = 1
876
			spinpart.CFrame = mail.CFrame
877
			local spinpart2 = Instance.new("Part",Weapon)
878
			spinpart2.Anchored = true
879
			spinpart2.CanCollide = false
880
			spinpart2.Transparency = 1
881
			spinpart2.CFrame = mail.CFrame
882
			spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
883
			spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
884
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
885
			ShootMail(spinpart,35,2)
886
			ShootMail(spinpart2,35,2)
887
			spinpart:remove()
888
			spinpart2:remove()
889
			Swait(5)
890
		end
891
		twist = 0
892
		mail:remove()
893
	end
894
	ATTACK = false
895
	Rooted = false
896
end
897
898
function MailboxMadness()
899
	for i = 1, 15 do
900
		chuck:Play()
901
		local part = Instance.new("Part")
902
		part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
903
		part.Orientation = RootPart.Orientation
904
		part.CanCollide = false
905
		part.Anchored = true
906
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
907
		local spinpart = Instance.new("Part",Weapon)
908
		spinpart.Anchored = true
909
		spinpart.CanCollide = false
910
		spinpart.Transparency = 1
911
		spinpart.CFrame = part.CFrame
912
		local spinpart2 = Instance.new("Part",Weapon)
913
		spinpart2.Anchored = true
914
		spinpart2.CanCollide = false
915
		spinpart2.Transparency = 1
916
		spinpart2.CFrame = part.CFrame
917
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
918
		part:remove()
919
		for i = 1, 15 do
920
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
921
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
922
			ShootMail(spinpart,50,2)
923
			ShootMail(spinpart2,50,2)
924
		end
925
		spinpart:remove()
926
		spinpart2:remove()
927
		Swait(35)
928
	end
929
	ATTACK = false
930
	Rooted = false
931
end
932
933
function FinalInbox()
934
935
	local twist = 0
936
	local twist2 = false
937
	for i = 1, 5 do
938
		local part = Instance.new("Part")
939
		part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
940
		part.Orientation = RootPart.Orientation
941
		part.CanCollide = false
942
		part.Anchored = true
943
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
944
		local spinpart = Instance.new("Part",Weapon)
945
		spinpart.Anchored = true
946
		spinpart.CanCollide = false
947
		spinpart.Transparency = 1
948
		spinpart.CFrame = part.CFrame
949
		local spinpart2 = Instance.new("Part",Weapon)
950
		spinpart2.Anchored = true
951
		spinpart2.CanCollide = false
952
		spinpart2.Transparency = 1
953
		spinpart2.CFrame = part.CFrame
954
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
955
		part:remove()
956
		local spinpart3 = Instance.new("Part",Weapon)
957
		spinpart3.Anchored = true
958
		spinpart3.CanCollide = false
959
		spinpart3.Transparency = 1
960
		spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
961
		local spinpart4 = Instance.new("Part",Weapon)
962
		spinpart4.Anchored = true
963
		spinpart4.CanCollide = false
964
		spinpart4.Transparency = 1
965
		spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
966
		for i = 1, 30 do
967
			chuck:Play()
968
			spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
969
			spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
970
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
971
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
972
			ShootMail(spinpart,50,2)
973
			ShootMail(spinpart2,-50,2)
974
			ShootMail(spinpart3,100,1)
975
			ShootMail(spinpart4,-100,1)
976
			Swait(10)
977
		end
978
		spinpart:remove()
979
		spinpart2:remove()
980
		spinpart3:remove()
981
		spinpart4:remove()
982
	end
983
	chuck:Play()
984
	MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
985
	for i = 1, 2 do
986
		twist = 10
987
		local spinpart = Instance.new("Part",Weapon)
988
		spinpart.Anchored = true
989
		spinpart.CanCollide = false
990
		spinpart.Transparency = 1
991
		spinpart.CFrame = Opening.CFrame
992
		local spinpart2 = Instance.new("Part",Weapon)
993
		spinpart2.Anchored = true
994
		spinpart2.CanCollide = false
995
		spinpart2.Transparency = 1
996
		spinpart2.CFrame = Opening.CFrame
997
		local mail = ShootMail(Opening,25,20)
998
		for i = 1, 50 do
999
			chuck:Play()
1000
			MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1001
			twist = twist + 1
1002
			if twist2 == true then
1003
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1004
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
1005
			elseif twist2 == false then
1006
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
1007
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
1008
			end
1009
			if twist == 20 then
1010
				if twist2 == false then
1011
					twist2 = true
1012
				elseif twist2 == true then
1013
					twist2 = false
1014
				end
1015
				twist = 0
1016
			end
1017
			ShootMail(spinpart,125,1)
1018
			ShootMail(spinpart2,125,1)
1019
			local spinpart3 = Instance.new("Part",Weapon)
1020
			spinpart3.Anchored = true
1021
			spinpart3.CanCollide = false
1022
			spinpart3.Transparency = 1
1023
			spinpart3.CFrame = mail.CFrame
1024
			local spinpart4 = Instance.new("Part",Weapon)
1025
			spinpart4.Anchored = true
1026
			spinpart4.CanCollide = false
1027
			spinpart4.Transparency = 1
1028
			spinpart4.CFrame = mail.CFrame
1029
			spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
1030
			spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
1031
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1032
			ShootMail(spinpart3,85,1)
1033
			ShootMail(spinpart4,85,1)
1034
			spinpart3:remove()
1035
			spinpart4:remove()
1036
			Swait(10)
1037
		end
1038
		spinpart:remove()
1039
		spinpart2:remove()
1040
		twist = 0
1041
		mail:remove()
1042
	end
1043
	for i = 1, 4 do
1044
		twist = 10
1045
		local spinpart = Instance.new("Part",Weapon)
1046
		spinpart.Anchored = true
1047
		spinpart.CanCollide = false
1048
		spinpart.Transparency = 1
1049
		spinpart.CFrame = Opening.CFrame
1050
		local spinpart2 = Instance.new("Part",Weapon)
1051
		spinpart2.Anchored = true
1052
		spinpart2.CanCollide = false
1053
		spinpart2.Transparency = 1
1054
		spinpart2.CFrame = Opening.CFrame
1055
		local spinpart5 = Instance.new("Part",Weapon)
1056
		spinpart5.Anchored = true
1057
		spinpart5.CanCollide = false
1058
		spinpart5.Transparency = 1
1059
		spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
1060
		local spinpart6 = Instance.new("Part",Weapon)
1061
		spinpart6.Anchored = true
1062
		spinpart6.CanCollide = false
1063
		spinpart6.Transparency = 1
1064
		spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
1065
		local mail = ShootMail(Opening,25,20)
1066
		for i = 1, 50 do
1067
			chuck:Play()
1068
			MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1069
			twist = twist + 1
1070
			spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
1071
			spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
1072
			if twist2 == true then
1073
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1074
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
1075
			elseif twist2 == false then
1076
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
1077
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
1078
			end
1079
			if twist == 20 then
1080
				if twist2 == false then
1081
					twist2 = true
1082
				elseif twist2 == true then
1083
					twist2 = false
1084
				end
1085
				twist = 0
1086
			end
1087
			ShootMail(spinpart,125,1)
1088
			ShootMail(spinpart2,125,1)
1089
			ShootMail(spinpart5,100,1)
1090
			ShootMail(spinpart6,-100,1)
1091
			local spinpart3 = Instance.new("Part",Weapon)
1092
			spinpart3.Anchored = true
1093
			spinpart3.CanCollide = false
1094
			spinpart3.Transparency = 1
1095
			spinpart3.CFrame = mail.CFrame
1096
			local spinpart4 = Instance.new("Part",Weapon)
1097
			spinpart4.Anchored = true
1098
			spinpart4.CanCollide = false
1099
			spinpart4.Transparency = 1
1100
			spinpart4.CFrame = mail.CFrame
1101
			spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
1102
			spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
1103
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1104
			ShootMail(spinpart3,85,1)
1105
			ShootMail(spinpart4,85,1)
1106
			spinpart3:remove()
1107
			spinpart4:remove()
1108
			Swait(10)
1109
		end
1110
		spinpart:remove()
1111
		spinpart2:remove()
1112
		spinpart5:remove()
1113
		spinpart6:remove()
1114
		twist = 0
1115
		mail:remove()
1116
	end
1117
	ATTACK = false
1118
	Rooted = false
1119
end
1120
1121
function SonicMail()
1122
	local twist = 0
1123
	local twist2 = false
1124
for i = 1, 5 do
1125
		local part = Instance.new("Part")
1126
		part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
1127
		part.Orientation = RootPart.Orientation
1128
		part.CanCollide = false
1129
		part.Anchored = true
1130
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1131
		local spinpart = Instance.new("Part",Weapon)
1132
		spinpart.Anchored = true
1133
		spinpart.CanCollide = false
1134
		spinpart.Transparency = 1
1135
		spinpart.CFrame = part.CFrame
1136
		local spinpart2 = Instance.new("Part",Weapon)
1137
		spinpart2.Anchored = true
1138
		spinpart2.CanCollide = false
1139
		spinpart2.Transparency = 1
1140
		spinpart2.CFrame = part.CFrame
1141
		MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1142
		part:remove()
1143
		local spinpart3 = Instance.new("Part",Weapon)
1144
		spinpart3.Anchored = true
1145
		spinpart3.CanCollide = false
1146
		spinpart3.Transparency = 1
1147
		spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
1148
		local spinpart4 = Instance.new("Part",Weapon)
1149
		spinpart4.Anchored = true
1150
		spinpart4.CanCollide = false
1151
		spinpart4.Transparency = 1
1152
		spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
1153
		for i = 1, 30 do
1154
			chuck:Play()
1155
			spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1156
			spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1157
			spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1158
			spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1159
			ShootMail(spinpart,50,2)
1160
			ShootMail(spinpart2,-50,2)
1161
			ShootMail(spinpart3,100,1)
1162
			ShootMail(spinpart4,-100,1)
1163
			Swait(2)
1164
		end
1165
		spinpart:remove()
1166
		spinpart2:remove()
1167
		spinpart3:remove()
1168
		spinpart4:remove()
1169
	end
1170
	chuck:Play()
1171
	MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1172
	for i = 1, 2 do
1173
		twist = 10
1174
		local spinpart = Instance.new("Part",Weapon)
1175
		spinpart.Anchored = true
1176
		spinpart.CanCollide = false
1177
		spinpart.Transparency = 1
1178
		spinpart.CFrame = Opening.CFrame
1179
		local spinpart2 = Instance.new("Part",Weapon)
1180
		spinpart2.Anchored = true
1181
		spinpart2.CanCollide = false
1182
		spinpart2.Transparency = 1
1183
		spinpart2.CFrame = Opening.CFrame
1184
		local mail = ShootMail(Opening,25,20)
1185
		for i = 1, 50 do
1186
			chuck:Play()
1187
			MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1188
			twist = twist + 1
1189
			if twist2 == true then
1190
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1191
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
1192
			elseif twist2 == false then
1193
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
1194
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
1195
			end
1196
			if twist == 20 then
1197
				if twist2 == false then
1198
					twist2 = true
1199
				elseif twist2 == true then
1200
					twist2 = false
1201
				end
1202
				twist = 0
1203
			end
1204
			ShootMail(spinpart,125,1)
1205
			ShootMail(spinpart2,125,1)
1206
			local spinpart3 = Instance.new("Part",Weapon)
1207
			spinpart3.Anchored = true
1208
			spinpart3.CanCollide = false
1209
			spinpart3.Transparency = 1
1210
			spinpart3.CFrame = mail.CFrame
1211
			local spinpart4 = Instance.new("Part",Weapon)
1212
			spinpart4.Anchored = true
1213
			spinpart4.CanCollide = false
1214
			spinpart4.Transparency = 1
1215
			spinpart4.CFrame = mail.CFrame
1216
			spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
1217
			spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
1218
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1219
			ShootMail(spinpart3,85,1)
1220
			ShootMail(spinpart4,85,1)
1221
			spinpart3:remove()
1222
			spinpart4:remove()
1223
			Swait(2)
1224
		end
1225
		spinpart:remove()
1226
		spinpart2:remove()
1227
		twist = 0
1228
		mail:remove()
1229
	end
1230
	for i = 1, 4 do
1231
		twist = 10
1232
		local spinpart = Instance.new("Part",Weapon)
1233
		spinpart.Anchored = true
1234
		spinpart.CanCollide = false
1235
		spinpart.Transparency = 1
1236
		spinpart.CFrame = Opening.CFrame
1237
		local spinpart2 = Instance.new("Part",Weapon)
1238
		spinpart2.Anchored = true
1239
		spinpart2.CanCollide = false
1240
		spinpart2.Transparency = 1
1241
		spinpart2.CFrame = Opening.CFrame
1242
		local spinpart5 = Instance.new("Part",Weapon)
1243
		spinpart5.Anchored = true
1244
		spinpart5.CanCollide = false
1245
		spinpart5.Transparency = 1
1246
		spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
1247
		local spinpart6 = Instance.new("Part",Weapon)
1248
		spinpart6.Anchored = true
1249
		spinpart6.CanCollide = false
1250
		spinpart6.Transparency = 1
1251
		spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
1252
		local mail = ShootMail(Opening,25,20)
1253
		for i = 1, 50 do
1254
			chuck:Play()
1255
			MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1256
			twist = twist + 1
1257
			spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
1258
			spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
1259
			if twist2 == true then
1260
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
1261
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
1262
			elseif twist2 == false then
1263
				spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
1264
				spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
1265
			end
1266
			if twist == 20 then
1267
				if twist2 == false then
1268
					twist2 = true
1269
				elseif twist2 == true then
1270
					twist2 = false
1271
				end
1272
				twist = 0
1273
			end
1274
			ShootMail(spinpart,125,1)
1275
			ShootMail(spinpart2,125,1)
1276
			ShootMail(spinpart5,100,1)
1277
			ShootMail(spinpart6,-100,1)
1278
			local spinpart3 = Instance.new("Part",Weapon)
1279
			spinpart3.Anchored = true
1280
			spinpart3.CanCollide = false
1281
			spinpart3.Transparency = 1
1282
			spinpart3.CFrame = mail.CFrame
1283
			local spinpart4 = Instance.new("Part",Weapon)
1284
			spinpart4.Anchored = true
1285
			spinpart4.CanCollide = false
1286
			spinpart4.Transparency = 1
1287
			spinpart4.CFrame = mail.CFrame
1288
			spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
1289
			spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
1290
			MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
1291
			ShootMail(spinpart3,85,1)
1292
			ShootMail(spinpart4,85,1)
1293
			spinpart3:remove()
1294
			spinpart4:remove()
1295
			Swait(2)
1296
		end
1297
		spinpart:remove()
1298
		spinpart2:remove()
1299
		spinpart5:remove()
1300
		spinpart6:remove()
1301
		twist = 0
1302
		mail:remove()
1303
	end
1304
	ATTACK = false
1305
	Rooted = false
1306
end
1307
--//=================================\\
1308
--||	  ASSIGN THINGS TO KEYS
1309
--\\=================================//
1310
1311
Humanoid.Changed:connect(function(Jump)
1312
	if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
1313
		Humanoid.Jump = false
1314
	end
1315
end)
1316
1317
--//=================================\\
1318
--\\=================================//
1319
1320
1321
function unanchor()
1322
	if UNANCHOR == true then
1323
		g = Character:GetChildren()
1324
		for i = 1, #g do
1325
			if g[i].ClassName == "Part" then
1326
				g[i].Anchored = false
1327
			end
1328
		end
1329
	end
1330
end
1331
1332
1333
--//=================================\\
1334
--||	WRAP THE WHOLE SCRIPT UP
1335
--\\=================================//
1336
1337
Humanoid.Changed:connect(function(Jump)
1338
	if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
1339
		Humanoid.Jump = false
1340
	end
1341
end)
1342
1343
		ANIMATE.Parent = nil
1344
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1345
		IDLEANIMATION:Play()
1346
		Swait()
1347
		ANIMATOR.Parent = nil
1348
		Disable_Jump = true
1349
1350
while true do
1351
	Swait()
1352
	SINE = SINE + CHANGE
1353
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1354
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1355
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1356
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1357
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
1358
		if ANIM == "Walk" and TORSOVELOCITY > 1 then
1359
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1360
			Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1361
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1362
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1363
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1364
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1365
			Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1366
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1367
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1368
		end
1369
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1370
			ANIM = "Jump"
1371
			if ATTACK == false then
1372
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1373
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1374
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1375
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1376
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1377
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1378
	        end
1379
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1380
			ANIM = "Fall"
1381
			if ATTACK == false then
1382
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1383
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1384
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1385
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1386
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1387
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1388
			end
1389
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1390
			ANIM = "Idle"
1391
			if ATTACK == false then
1392
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
1393
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1394
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1395
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1396
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1397
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1398
			end
1399
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1400
			ANIM = "Walk"
1401
			WALK = WALK + 1 / Animation_Speed
1402
			if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1403
				WALK = 0
1404
				if WALKINGANIM == true then
1405
					WALKINGANIM = false
1406
				elseif WALKINGANIM == false then
1407
					WALKINGANIM = true
1408
				end
1409
			end
1410
			--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1411
			--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1412
			if ATTACK == false then
1413
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
1414
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1415
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1416
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1417
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1418
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1419
			end
1420
		end
1421
if #Effects2>0 then
1422
for e=1,#Effects2 do
1423
if Effects2[e]~=nil then
1424
local Thing=Effects2[e]
1425
if Thing~=nil then
1426
local Part=Thing[1]
1427
local Mode=Thing[2]
1428
local Delay=Thing[3]
1429
local IncX=Thing[4]
1430
local IncY=Thing[5]
1431
local IncZ=Thing[6]
1432
local Part2=Thing[8]
1433
if Thing[1].Transparency<=1 then
1434
if Thing[2]=="Block1" then
1435
Thing[1].CFrame=Part2.CFrame
1436
Mesh=Thing[1].Mesh
1437
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1438
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1439
elseif Thing[2]=="Cylinder" then
1440
Mesh=Thing[1].Mesh
1441
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1442
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1443
elseif Thing[2]=="Blood" then
1444
Mesh=Thing[7]
1445
Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
1446
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1447
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1448
elseif Thing[2]=="Elec" then
1449
Mesh=Thing[1].Mesh
1450
Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
1451
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1452
elseif Thing[2]=="Disappear" then
1453
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1454
end
1455
else
1456
Part.Parent=nil
1457
table.remove(Effects2,e)
1458
end
1459
end
1460
end
1461
end
1462
end
1463
unanchor()
1464
Humanoid.MaxHealth = "inf"
1465
Humanoid.Health = "inf"
1466
if Rooted == false then
1467
	--Disable_Jump = false
1468
	Humanoid.WalkSpeed = Speed
1469
elseif Rooted == true then
1470
	Disable_Jump = true
1471
	Humanoid.WalkSpeed = 0
1472
end
1473
--print(TORSOVELOCITY)
1474
end
1475
1476
--//=================================\\
1477
--\\=================================//
1478
1479
1480
1481
1482
1483
--//====================================================\\--
1484
--||			  		 END OF SCRIPT
1485
--\\====================================================//--