View difference between Paste ID: 39gcJXtm and rj5Nepwy
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
m = owner
88
char = m.Character
89
local txt = Instance.new("BillboardGui", char)
90
txt.Adornee = char.Head
91
txt.Name = "_status"
92
txt.Size = UDim2.new(2, 0, 1.2, 0)
93
txt.StudsOffset = Vector3.new(-9, 8, 0)
94
local text = Instance.new("TextLabel", txt)
95
text.Size = UDim2.new(10, 0, 7, 0)
96
text.FontSize = "Size24"
97
text.TextScaled = true
98
text.TextTransparency = 0
99
text.BackgroundTransparency = 1
100
text.TextTransparency = 0
101
text.TextStrokeTransparency = 0
102
text.Font = "Bodoni"
103
text.TextStrokeColor3 = Color3.new(1, 0, 0)
104
v = Instance.new("Part")
105
v.Name = "ColorBrick"
106
v.Parent = m.Character
107
v.FormFactor = "Symmetric"
108
v.Anchored = true
109
v.CanCollide = false
110
v.BottomSurface = "Smooth"
111
v.TopSurface = "Smooth"
112
v.Size = Vector3.new(10, 5, 3)
113
v.Transparency = 1
114
v.CFrame = char.Torso.CFrame
115
v.BrickColor = BrickColor.new("Really red")
116
v.Transparency = 1
117
v.Shape = "Block"
118
spawn(function()
119
local TweenService = game:GetService("TweenService")
120
local Colours = {Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,0,0),Color3.fromRGB(0,0,0)}
121
local Int = 0
122
while wait(0.5) do
123
    if Int == #Colours then Int = 0 end
124
    Int = Int+1
125
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
126
end
127
end)
128
text.Text = "I'm Mad"
129
130
script.Name = "Banisher Gun V3 / 1"
131
--//====================================================\\--
132
--||			   CREATED BY SHACKLUSTER
133
--\\====================================================//--
134
135
script:ClearAllChildren()
136
wait(0.2)
137
138
Player = owner
139
PlayerGui = Player.PlayerGui
140
Cam = workspace.CurrentCamera
141
Backpack = Player.Backpack
142
Character = Player.Character
143
Humanoid = Character.Humanoid
144
RootPart = Character["HumanoidRootPart"]
145
Torso = Character["Torso"]
146
Head = Character["Head"]
147
RightArm = Character["Right Arm"]
148
LeftArm = Character["Left Arm"]
149
RightLeg = Character["Right Leg"]
150
LeftLeg = Character["Left Leg"]
151
RootJoint = RootPart["RootJoint"]
152
Neck = Torso["Neck"]
153
RightShoulder = Torso["Right Shoulder"]
154
LeftShoulder = Torso["Left Shoulder"]
155
RightHip = Torso["Right Hip"]
156
LeftHip = Torso["Left Hip"]
157
local TIME = 0
158
local sick = Instance.new("Sound",Torso)
159
160
IT = Instance.new
161
CF = CFrame.new
162
VT = Vector3.new
163
RAD = math.rad
164
C3 = Color3.new
165
UD2 = UDim2.new
166
BRICKC = BrickColor.new
167
ANGLES = CFrame.Angles
168
EULER = CFrame.fromEulerAnglesXYZ
169
COS = math.cos
170
ACOS = math.acos
171
SIN = math.sin
172
ASIN = math.asin
173
ABS = math.abs
174
MRANDOM = math.random
175
FLOOR = math.floor
176
local BODY = {}
177
178
--//=================================\\
179
--|| 	      USEFUL VALUES
180
--\\=================================//
181
182
Animation_Speed = 3
183
local FORCERESET = false
184
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
185
local Speed = 16
186
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
187
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
188
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
189
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
190
local DAMAGEMULTIPLIER = 1
191
local ANIM = "Idle"
192
local ATTACK = false
193
local EQUIPPED = false
194
local HOLD = false
195
local COMBO = 1
196
local Rooted = false
197
local SINE = 0
198
local KEYHOLD = false
199
local CHANGE = 2 / Animation_Speed
200
local WALKINGANIM = false
201
local VALUE1 = false
202
local VALUE2 = false
203
local ROBLOXIDLEANIMATION = IT("Animation")
204
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
205
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
206
--ROBLOXIDLEANIMATION.Parent = Humanoid
207
local WEAPONGUI = IT("ScreenGui", PlayerGui)
208
WEAPONGUI.Name = "BanishV3Gui"
209
local Weapon = IT("Model")
210
Weapon.Name = "Adds"
211
local Effects = IT("Folder", Weapon)
212
Effects.Name = "Effects"
213
local ANIMATOR = Humanoid.Animator
214
local ANIMATE = Character:FindFirstChild("Animate")
215
local UNANCHOR = true
216
local TOBANISH = {}
217
script.Parent = PlayerGui
218
219
--//=================================\\
220
--\\=================================//
221
222
223
--//=================================\\
224
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
225
--\\=================================//
226
227
ArtificialHB = Instance.new("BindableEvent", script)
228
ArtificialHB.Name = "ArtificialHB"
229
230
script:WaitForChild("ArtificialHB")
231
232
frame = Frame_Speed
233
tf = 0
234
allowframeloss = false
235
tossremainder = false
236
lastframe = tick()
237
script.ArtificialHB:Fire()
238
239
game:GetService("RunService").Heartbeat:connect(function(s, p)
240
	tf = tf + s
241
	if tf >= frame then
242
		if allowframeloss then
243
			script.ArtificialHB:Fire()
244
			lastframe = tick()
245
		else
246
			for i = 1, math.floor(tf / frame) do
247
				script.ArtificialHB:Fire()
248
			end
249
		lastframe = tick()
250
		end
251
		if tossremainder then
252
			tf = 0
253
		else
254
			tf = tf - frame * math.floor(tf / frame)
255
		end
256
	end
257
end)
258
259
--//=================================\\
260
--\\=================================//
261
262
--//=================================\\
263
--|| 	      SOME FUNCTIONS
264
--\\=================================//
265
266
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
267
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
268
end
269
270
function PositiveAngle(NUMBER)
271
	if NUMBER >= 0 then
272
		NUMBER = 0
273
	end
274
	return NUMBER
275
end
276
277
function NegativeAngle(NUMBER)
278
	if NUMBER <= 0 then
279
		NUMBER = 0
280
	end
281
	return NUMBER
282
end
283
284
function Swait(NUMBER)
285
	if NUMBER == 0 or NUMBER == nil then
286
		ArtificialHB.Event:wait()
287
	else
288
		for i = 1, NUMBER do
289
			ArtificialHB.Event:wait()
290
		end
291
	end
292
end
293
294
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
295
	local NEWMESH = IT(MESH)
296
	if MESH == "SpecialMesh" then
297
		NEWMESH.MeshType = MESHTYPE
298
		if MESHID ~= "nil" and MESHID ~= "" then
299
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
300
		end
301
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
302
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
303
		end
304
	end
305
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
306
	NEWMESH.Scale = SCALE
307
	NEWMESH.Parent = PARENT
308
	return NEWMESH
309
end
310
311
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
312
	local NEWPART = IT("Part")
313
	NEWPART.formFactor = FORMFACTOR
314
	NEWPART.Reflectance = REFLECTANCE
315
	NEWPART.Transparency = TRANSPARENCY
316
	NEWPART.CanCollide = false
317
	NEWPART.Locked = true
318
	NEWPART.Anchored = true
319
	if ANCHOR == false then
320
		NEWPART.Anchored = false
321
	end
322
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
323
	NEWPART.Name = NAME
324
	NEWPART.Size = SIZE
325
	NEWPART.Position = Torso.Position
326
	NEWPART.Material = MATERIAL
327
	NEWPART:BreakJoints()
328
	NEWPART.Parent = PARENT
329
	return NEWPART
330
end
331
332
Player_Size = 1
333
334
	local function weldBetween(a, b)
335
	    local weldd = Instance.new("ManualWeld")
336
	    weldd.Part0 = a
337
	    weldd.Part1 = b
338
	    weldd.C0 = CFrame.new()
339
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
340
	    weldd.Parent = a
341
	    return weldd
342
	end
343
344
345
function QuaternionFromCFrame(cf)
346
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
347
	local trace = m00 + m11 + m22
348
	if trace > 0 then 
349
		local s = math.sqrt(1 + trace)
350
		local recip = 0.5 / s
351
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
352
	else
353
		local i = 0
354
		if m11 > m00 then
355
			i = 1
356
		end
357
		if m22 > (i == 0 and m00 or m11) then
358
			i = 2
359
		end
360
		if i == 0 then
361
			local s = math.sqrt(m00 - m11 - m22 + 1)
362
			local recip = 0.5 / s
363
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
364
		elseif i == 1 then
365
			local s = math.sqrt(m11 - m22 - m00 + 1)
366
			local recip = 0.5 / s
367
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
368
		elseif i == 2 then
369
			local s = math.sqrt(m22 - m00 - m11 + 1)
370
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
371
		end
372
	end
373
end
374
 
375
function QuaternionToCFrame(px, py, pz, x, y, z, w)
376
	local xs, ys, zs = x + x, y + y, z + z
377
	local wx, wy, wz = w * xs, w * ys, w * zs
378
	local xx = x * xs
379
	local xy = x * ys
380
	local xz = x * zs
381
	local yy = y * ys
382
	local yz = y * zs
383
	local zz = z * zs
384
	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))
385
end
386
 
387
function QuaternionSlerp(a, b, t)
388
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
389
	local startInterp, finishInterp;
390
	if cosTheta >= 0.0001 then
391
		if (1 - cosTheta) > 0.0001 then
392
			local theta = ACOS(cosTheta)
393
			local invSinTheta = 1 / SIN(theta)
394
			startInterp = SIN((1 - t) * theta) * invSinTheta
395
			finishInterp = SIN(t * theta) * invSinTheta
396
		else
397
			startInterp = 1 - t
398
			finishInterp = t
399
		end
400
	else
401
		if (1 + cosTheta) > 0.0001 then
402
			local theta = ACOS(-cosTheta)
403
			local invSinTheta = 1 / SIN(theta)
404
			startInterp = SIN((t - 1) * theta) * invSinTheta
405
			finishInterp = SIN(t * theta) * invSinTheta
406
		else
407
			startInterp = t - 1
408
			finishInterp = t
409
		end
410
	end
411
	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
412
end
413
414
function Clerp(a, b, t)
415
	local qa = {QuaternionFromCFrame(a)}
416
	local qb = {QuaternionFromCFrame(b)}
417
	local ax, ay, az = a.x, a.y, a.z
418
	local bx, by, bz = b.x, b.y, b.z
419
	local _t = 1 - t
420
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
421
end
422
423
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
424
	local frame = IT("Frame")
425
	frame.BackgroundTransparency = TRANSPARENCY
426
	frame.BorderSizePixel = BORDERSIZEPIXEL
427
	frame.Position = POSITION
428
	frame.Size = SIZE
429
	frame.BackgroundColor3 = COLOR
430
	frame.BorderColor3 = BORDERCOLOR
431
	frame.Name = NAME
432
	frame.Parent = PARENT
433
	return frame
434
end
435
436
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
437
	local label = IT("TextLabel")
438
	label.BackgroundTransparency = 1
439
	label.Size = UD2(1, 0, 1, 0)
440
	label.Position = UD2(0, 0, 0, 0)
441
	label.TextColor3 = TEXTCOLOR
442
	label.TextStrokeTransparency = STROKETRANSPARENCY
443
	label.TextTransparency = TRANSPARENCY
444
	label.FontSize = TEXTFONTSIZE
445
	label.Font = TEXTFONT
446
	label.BorderSizePixel = BORDERSIZEPIXEL
447
	label.TextScaled = false
448
	label.Text = TEXT
449
	label.Name = NAME
450
	label.Parent = PARENT
451
	return label
452
end
453
454
function NoOutlines(PART)
455
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
456
end
457
458
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
459
	local NEWWELD = IT(TYPE)
460
	NEWWELD.Part0 = PART0
461
	NEWWELD.Part1 = PART1
462
	NEWWELD.C0 = C0
463
	NEWWELD.C1 = C1
464
	NEWWELD.Parent = PARENT
465
	return NEWWELD
466
end
467
468
local S = IT("Sound")
469
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
470
	local NEWSOUND = nil
471
	coroutine.resume(coroutine.create(function()
472
		NEWSOUND = S:Clone()
473
		NEWSOUND.Parent = PARENT
474
		NEWSOUND.Volume = VOLUME
475
		NEWSOUND.Pitch = PITCH
476
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
477
		NEWSOUND:play()
478
		if DOESLOOP == true then
479
			NEWSOUND.Looped = true
480
		else
481
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
482
			NEWSOUND:remove()
483
		end
484
	end))
485
	return NEWSOUND
486
end
487
488
function CFrameFromTopBack(at, top, back)
489
	local right = top:Cross(back)
490
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
491
end
492
493
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
494
function WACKYEFFECT(Table)
495
	local TYPE = (Table.EffectType or "Sphere")
496
	local SIZE = (Table.Size or VT(1,1,1))
497
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
498
	local TRANSPARENCY = (Table.Transparency or 0)
499
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
500
	local CFRAME = (Table.CFrame or Torso.CFrame)
501
	local MOVEDIRECTION = (Table.MoveToPos or nil)
502
	local ROTATION1 = (Table.RotationX or 0)
503
	local ROTATION2 = (Table.RotationY or 0)
504
	local ROTATION3 = (Table.RotationZ or 0)
505
	local MATERIAL = (Table.Material or "Neon")
506
	local COLOR = (Table.Color or C3(1,1,1))
507
	local TIME = (Table.Time or 45)
508
	local SOUNDID = (Table.SoundID or nil)
509
	local SOUNDPITCH = (Table.SoundPitch or nil)
510
	local SOUNDVOLUME = (Table.SoundVolume or nil)
511
	coroutine.resume(coroutine.create(function()
512
		local PLAYSSOUND = false
513
		local SOUND = nil
514
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
515
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
516
			PLAYSSOUND = true
517
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
518
		end
519
		EFFECT.Color = COLOR
520
		local MSH = nil
521
		if TYPE == "Sphere" then
522
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
523
		elseif TYPE == "Block" then
524
			MSH = IT("BlockMesh",EFFECT)
525
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
526
		elseif TYPE == "Wave" then
527
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
528
		elseif TYPE == "Ring" then
529
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
530
		elseif TYPE == "Slash" then
531
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
532
		elseif TYPE == "Round Slash" then
533
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
534
		elseif TYPE == "Swirl" then
535
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
536
		elseif TYPE == "Skull" then
537
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
538
		elseif TYPE == "Crystal" then
539
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
540
		end
541
		if MSH ~= nil then
542
			local MOVESPEED = nil
543
			if MOVEDIRECTION ~= nil then
544
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
545
			end
546
			local GROWTH = SIZE - ENDSIZE
547
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
548
			if TYPE == "Block" then
549
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
550
			else
551
				EFFECT.CFrame = CFRAME
552
			end
553
			for LOOP = 1, TIME+1 do
554
				Swait()
555
				MSH.Scale = MSH.Scale - GROWTH/TIME
556
				if TYPE == "Wave" then
557
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
558
				end
559
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
560
				if TYPE == "Block" then
561
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
562
				else
563
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
564
				end
565
				if MOVEDIRECTION ~= nil then
566
					local ORI = EFFECT.Orientation
567
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
568
					EFFECT.Orientation = ORI
569
				end
570
			end
571
			if PLAYSSOUND == false then
572
				EFFECT:remove()
573
			else
574
				SOUND.Stopped:Connect(function()
575
					EFFECT:remove()
576
				end)
577
			end
578
		else
579
			if PLAYSSOUND == false then
580
				EFFECT:remove()
581
			else
582
				repeat Swait() until SOUND.Playing == false
583
				EFFECT:remove()
584
			end
585
		end
586
	end))
587
end
588
589
function MakeForm(PART,TYPE)
590
	if TYPE == "Cyl" then
591
		local MSH = IT("CylinderMesh",PART)
592
	elseif TYPE == "Ball" then
593
		local MSH = IT("SpecialMesh",PART)
594
		MSH.MeshType = "Sphere"
595
	elseif TYPE == "Wedge" then
596
		local MSH = IT("SpecialMesh",PART)
597
		MSH.MeshType = "Wedge"
598
	end
599
end
600
601
function SpawnTrail(FROM,TO,BIG)
602
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
603
	MakeForm(TRAIL,"Cyl")
604
	local DIST = (FROM - TO).Magnitude
605
	if BIG == true then
606
		TRAIL.Size = VT(0.5,DIST,0.5)
607
	else
608
		TRAIL.Size = VT(0.25,DIST,0.25)
609
	end
610
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
611
	coroutine.resume(coroutine.create(function()
612
		for i = 1, 5 do
613
			Swait()
614
			TRAIL.Transparency = TRAIL.Transparency + 0.1
615
		end
616
		TRAIL:remove()
617
	end))
618
end
619
620
Debris = game:GetService("Debris")
621
622
function CastProperRay(StartPos, EndPos, Distance, Ignore)
623
	local DIRECTION = CF(StartPos,EndPos).lookVector
624
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
625
end
626
627
function turnto(position)
628
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
629
end
630
local asd = Instance.new("ParticleEmitter")
631
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
632
asd.LightEmission = .1
633
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
634
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
635
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
636
asd.Transparency = bbb
637
asd.Size = aaa
638
asd.ZOffset = .9
639
asd.Acceleration = Vector3.new(0, -15, 0)
640
asd.LockedToPart = false
641
asd.EmissionDirection = "Back"
642
asd.Lifetime = NumberRange.new(1, 2)
643
asd.Rotation = NumberRange.new(-100, 100)
644
asd.RotSpeed = NumberRange.new(-100, 100)
645
asd.Speed = NumberRange.new(10)
646
asd.Enabled = false
647
asd.VelocitySpread = 999
648
649
function getbloody(victim,amount)
650
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
651
	PART.CFrame = victim.CFrame
652
	local HITPLAYERSOUNDS = {"356551938","264486467"}
653
	Debris:AddItem(PART,5)
654
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
655
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
656
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
657
	local prtcl = asd:Clone()
658
	prtcl.Parent = PART
659
	prtcl:Emit(amount*10)
660
end
661
662
local Particle = IT("ParticleEmitter",nil)
663
Particle.Enabled = false
664
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
665
Particle.LightEmission = 0.5
666
Particle.Rate = 150
667
Particle.ZOffset = 1
668
Particle.Rotation = NumberRange.new(-180, 180)
669
Particle.RotSpeed = NumberRange.new(-180, 180)
670
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
671
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
672
673
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
674
function ParticleEmitter(Table)
675
	local PRTCL = Particle:Clone()
676
	local Speed = Table.Speed or 5
677
	local Drag = Table.Drag or 0
678
	local Size1 = Table.Size1 or 1
679
	local Size2 = Table.Size2 or 5
680
	local Lifetime1 = Table.Lifetime1 or 1
681
	local Lifetime2 = Table.Lifetime2 or 1.5
682
	local Parent = Table.Parent or Torso
683
	local Emit = Table.Emit or 100
684
	local Offset = Table.Offset or 360
685
	local Acel = Table.Acel or VT(0,0,0)
686
	local Enabled = Table.Enabled or false
687
	PRTCL.Parent = Parent
688
	PRTCL.Size = NumberSequence.new(Size1,Size2)
689
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
690
	PRTCL.Speed = NumberRange.new(Speed)
691
	PRTCL.VelocitySpread = Offset
692
	PRTCL.Drag = Drag
693
	PRTCL.Acceleration = Acel
694
	if Enabled == false then
695
		PRTCL:Emit(Emit)
696
		Debris:AddItem(PRTCL,Lifetime2)
697
	else
698
		PRTCL.Enabled = true
699
	end
700
	return PRTCL
701
end
702
703
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
704
	if DoesCourontine == false then
705
		local Direction = CF(Part.Position, ToLocation)
706
		local Distance = (Part.Position - ToLocation).magnitude
707
		for i = 1, AmountOfTime do
708
			Swait()
709
			Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
710
			Direction = Part.CFrame
711
		end
712
		Part:remove()
713
	elseif DoesCourontine == true then
714
		coroutine.resume(coroutine.create(function()
715
			local Direction = CF(Part.Position, ToLocation)
716
			local Distance = (Part.Position - ToLocation).magnitude
717
			for i = 1, AmountOfTime do
718
				Swait()
719
				Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
720
				Direction = Part.CFrame
721
			end
722
			Part:remove()
723
		end))
724
	end
725
end
726
727
--//=================================\\
728
--||	     WEAPON CREATION
729
--\\=================================//
730
    Player=owner
731
    Character=Player.Character
732
    m=Instance.new('Model',Character)
733
    local function weldBetween(a, b)
734
        local weldd = Instance.new("ManualWeld")
735
        weldd.Part0 = a
736
        weldd.Part1 = b
737
        weldd.C0 = CFrame.new()
738
        weldd.C1 = b.CFrame:inverse() * a.CFrame
739
        weldd.Parent = a
740
        return weldd
741
    end
742
 
743
    it=Instance.new
744
 
745
    function nooutline(part)
746
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
747
    end
748
 
749
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
750
        local fp=it("Part")
751
        fp.formFactor=formfactor
752
        fp.Parent=parent
753
        fp.Reflectance=reflectance
754
        fp.Transparency=transparency
755
        fp.CanCollide=false
756
        fp.Locked=true
757
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
758
        fp.Name=name
759
        fp.Size=size
760
        fp.Position=Character.Torso.Position
761
        nooutline(fp)
762
        fp.Material=material
763
        fp:BreakJoints()
764
        return fp
765
    end
766
   
767
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
768
        local mesh=it(Mesh)
769
        mesh.Parent=part
770
        if Mesh=="SpecialMesh" then
771
            mesh.MeshType=meshtype
772
            mesh.MeshId=meshid
773
        end
774
        mesh.Offset=offset
775
        mesh.Scale=scale
776
        return mesh
777
    end
778
   
779
    function weld(parent,part0,part1,c0,c1)
780
        local weld=it("Weld")
781
        weld.Parent=parent
782
        weld.Part0=part0
783
        weld.Part1=part1
784
        weld.C0=c0
785
        weld.C1=c1
786
        return weld
787
    end
788
 
789
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
790
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
791
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
792
 
793
    Player=game:GetService('Players').LocalPlayer
794
    Character=Player.Character
795
    Mouse=Player:GetMouse()
796
    m=Instance.new('Model',Character)
797
    local function weldBetween(a, b)
798
        local weldd = Instance.new("ManualWeld")
799
        weldd.Part0 = a
800
        weldd.Part1 = b
801
        weldd.C0 = CFrame.new()
802
        weldd.C1 = b.CFrame:inverse() * a.CFrame
803
        weldd.Parent = a
804
        return weldd
805
    end
806
   
807
    it=Instance.new
808
   
809
    function nooutline(part)
810
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
811
    end
812
   
813
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
814
        local fp=it("Part")
815
        fp.formFactor=formfactor
816
        fp.Parent=parent
817
        fp.Reflectance=reflectance
818
        fp.Transparency=transparency
819
        fp.CanCollide=false
820
        fp.Locked=true
821
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
822
        fp.Name=name
823
        fp.Size=size
824
        fp.Position=Character.Torso.Position
825
        nooutline(fp)
826
        fp.Material=material
827
        fp:BreakJoints()
828
        return fp
829
    end
830
   
831
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
832
        local mesh=it(Mesh)
833
        mesh.Parent=part
834
        if Mesh=="SpecialMesh" then
835
            mesh.MeshType=meshtype
836
            mesh.MeshId=meshid
837
        end
838
        mesh.Offset=offset
839
        mesh.Scale=scale
840
        return mesh
841
    end
842
   
843
    function weld(parent,part0,part1,c0,c1)
844
        local weld=it("Weld")
845
        weld.Parent=parent
846
        weld.Part0=part0
847
        weld.Part1=part1
848
        weld.C0=c0
849
        weld.C1=c1
850
        return weld
851
    end
852
 
853
 
854
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
855
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
856
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
857
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.6,0.1,1)/2,false)
858
MakeForm(HandlePart,"Ball")
859
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
860
local HandlePart = CreatePart(3,Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.6,0.1,1)/2,false)
861
MakeForm(HandlePart,"Ball")
862
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
863
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.1,1,1)/2,false)
864
MakeForm(HandlePart,"Ball")
865
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
866
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.1,1,1)/2,false)
867
MakeForm(HandlePart,"Ball")
868
CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
869
870
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
871
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
872
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
873
	wave.CFrame = CFRAME
874
	coroutine.resume(coroutine.create(function(PART)
875
		for i = 1, WAIT do
876
			Swait()
877
			mesh.Scale = mesh.Scale + GROW
878
			if DOESROT == true then
879
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
880
			end
881
			wave.Transparency = wave.Transparency + 0.5 / WAIT
882
			if wave.Transparency > 0.99 then
883
				wave:remove()
884
			end
885
		end
886
	end))
887
end
888
New = function(Object, Parent, Name, Data)
889
	local Object = Instance.new(Object)
890
	for Index, Value in pairs(Data or {}) do
891
		Object[Index] = Value
892
	end
893
	Object.Parent = Parent
894
	Object.Name = Name
895
	return Object
896
end
897
898
899
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
900
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
901
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
902
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
903
904
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
905
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
906
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
907
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
908
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
909
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
910
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
911
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
912
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
913
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
914
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
915
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
916
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
917
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
918
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
919
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
920
921
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
922
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
923
924
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false)
925
MakeForm(EYE,"Ball")
926
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
927
local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false)
928
MakeForm(EYE2,"Ball")
929
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
930
931
local naeeym2 = Instance.new("BillboardGui", Character)
932
naeeym2.AlwaysOnTop = true
933
naeeym2.Size = UDim2.new(5, 35, 2, 15)
934
naeeym2.StudsOffset = Vector3.new(0, 3, 0)
935
naeeym2.Adornee = Character.Head
936
naeeym2.Name = "Name"
937
naeeym2.PlayerToHideFrom = Player
938
local tecks2 = Instance.new("TextLabel", naeeym2)
939
tecks2.BackgroundTransparency = 1
940
tecks2.TextScaled = true
941
tecks2.BorderSizePixel = 0
942
tecks2.Text = "V.4"
943
tecks2.Font = "Fantasy"
944
tecks2.TextSize = 30
945
tecks2.TextStrokeTransparency = 0
946
tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
947
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
948
tecks2.Parent = naeeym2
949
function Transparency(TRANS)
950
	tecks2.TextTransparency = TRANS
951
	tecks2.TextStrokeTransparency = TRANS
952
	for _, c in pairs(Character:GetChildren()) do
953
		if c.ClassName == "Part" and c ~= RootPart then
954
			c.Transparency = TRANS
955
			if c:FindFirstChildOfClass("Decal") then
956
				c:FindFirstChildOfClass("Decal").Transparency = TRANS
957
			end
958
		elseif c.ClassName == "Accessory" then
959
			c.Handle.Transparency = TRANS
960
		elseif c.ClassName == "Model" then
961
			for _, q in pairs(c:GetChildren()) do
962
				if q.ClassName == "Part" then
963
					q.Transparency = TRANS
964
					if q:FindFirstChildOfClass("Decal") then
965
						q:FindFirstChildOfClass("Decal").Transparency = TRANS
966
					end
967
				end
968
			end
969
		end
970
	end
971
end
972
973
local DECAL = IT("Decal")
974
function MakeRing()
975
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Really red"), "MagicRing", VT(0, 0, 0), true)
976
	local MSH = IT("BlockMesh", RING)
977
	local TOP = DECAL:Clone()
978
	local BOTTOM = DECAL:Clone()
979
	TOP.Parent = RING
980
	BOTTOM.Parent = RING
981
	TOP.Face = "Top"
982
	BOTTOM.Face = "Bottom"
983
	TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
984
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
985
	local function REMOVE()
986
		coroutine.resume(coroutine.create(function()
987
			local SIZE = MSH.Scale.X
988
			for i = 1, 35 do
989
				Swait()
990
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
991
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
992
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
993
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
994
			end
995
			RING:remove()
996
		end))
997
	end
998
	return RING, MSH, REMOVE
999
end
1000
1001
1002
local Handle = CreatePart(3, Weapon, "Glass", 0, 0, "New Yeller", "Handle", VT(0.2,1,0.2),false)
1003
MakeForm(Handle,"Cyl")
1004
local Grasp = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Handle, CF(0,-1,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1005
local Bop = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Bop", VT(0.5,0.5,0.5),false)
1006
MakeForm(Bop,"Ball")
1007
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Bop, CF(0,0.7,0), CF(0, 0, 0))
1008
local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.5,0.2,0.5),false)
1009
MakeForm(Part,"Pine")
1010
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1011
local Part = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.6,0.3,0.6),false)
1012
MakeForm(Part,"Pine")
1013
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-0.7,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1014
local Blade = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Blade", VT(0.3,5,0.3),false)
1015
MakeForm(Blade,"Pine")
1016
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Blade, CF(0,-2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1017
1018
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(1.05,0.1,1.05),false)
1019
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(0,-0.3,0), CF(0, 0, 0))
1020
local ShieldBase = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(2,2,1),false)
1021
CreateMesh("SpecialMesh", ShieldBase, "FileMesh", "395088733", "", VT(1,1,1), VT(0,0,0))
1022
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, ShieldBase, CF(-0.5,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1023
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
1024
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
1025
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.4,-0.3,0) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
1026
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
1027
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.95,0.95,1), VT(0,0,0))
1028
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.515,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1029
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
1030
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.7,0.7,1), VT(0,0,0))
1031
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1032
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0,0,0),false)
1033
CreateMesh("SpecialMesh", Shield, "FileMesh", "395088733", "", VT(0.5,0.5,1), VT(0,0,0))
1034
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1035
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,2,0.2),false)
1036
MakeForm(Shield,"Ball")
1037
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
1038
local Shield = CreatePart(3, Weapon, "Glass", 0, 0, "Really red", "Shield", VT(0.8,0.2,2),false)
1039
MakeForm(Shield,"Ball")
1040
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.65,-0.3,0), CF(0, 0, 0))
1041
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0.8,2,0.3),false)
1042
MakeForm(Shield,"Ball")
1043
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
1044
local Shield = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Shield", VT(0.8,0.3,2),false)
1045
MakeForm(Shield,"Ball")
1046
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Shield, CF(-0.6,-0.3,0), CF(0, 0, 0))
1047
1048
local A = IT("Attachment",LeftArm)
1049
A.Position = VT(1,1.3,0)
1050
A.Orientation = VT(-0.098, -89.999, 0.227)
1051
local B = IT("Attachment",LeftArm)
1052
B.Position = VT(-1.3,-0.6,0)
1053
B.Orientation = VT(-88.911, -68.808, 158.782)
1054
local ChainLink = IT("Beam",LeftArm)
1055
ChainLink.Texture = "rbxassetid://73042633"
1056
ChainLink.Color = ColorSequence.new(C3(1,0,0))
1057
ChainLink.TextureSpeed = 1
1058
ChainLink.FaceCamera = true
1059
ChainLink.Width0 = 1
1060
ChainLink.Width1 = 1
1061
ChainLink.TextureLength = 3
1062
ChainLink.Attachment0 = A
1063
ChainLink.Attachment1 = B
1064
ChainLink.CurveSize0 = 1.6
1065
ChainLink.CurveSize1 = 1.6
1066
ChainLink.FaceCamera = true
1067
ChainLink.Transparency = NumberSequence.new(0)
1068
local ChainLink = IT("Beam",LeftArm)
1069
ChainLink.Texture = "rbxassetid://73042633"
1070
ChainLink.Color = ColorSequence.new(C3(1,0,0))
1071
ChainLink.TextureSpeed = 1
1072
ChainLink.FaceCamera = true
1073
ChainLink.Width0 = 1
1074
ChainLink.Width1 = 1
1075
ChainLink.TextureLength = 3
1076
ChainLink.Attachment0 = B
1077
ChainLink.Attachment1 = A
1078
ChainLink.CurveSize0 = 1.6
1079
ChainLink.CurveSize1 = 1.6
1080
ChainLink.FaceCamera = true
1081
ChainLink.Transparency = NumberSequence.new(0)
1082
local A = IT("Attachment",RightArm)
1083
A.Position = VT(1.3,-0.85,0)
1084
A.Orientation = VT(-0.098, -89.999, 0.227)
1085
local B = IT("Attachment",RightArm)
1086
B.Position = VT(-1,2,0)
1087
B.Orientation = VT(-88.911, -68.808, 158.782)
1088
local ChainLink = IT("Beam",RightArm)
1089
ChainLink.Texture = "rbxassetid://73042633"
1090
ChainLink.Color = ColorSequence.new(C3(1,0,0))
1091
ChainLink.TextureSpeed = 1
1092
ChainLink.FaceCamera = true
1093
ChainLink.Width0 = 1
1094
ChainLink.Width1 = 1
1095
ChainLink.TextureLength = 3
1096
ChainLink.Attachment0 = A
1097
ChainLink.Attachment1 = B
1098
ChainLink.CurveSize0 = 1.3
1099
ChainLink.CurveSize1 = 1.3
1100
ChainLink.FaceCamera = true
1101
ChainLink.Transparency = NumberSequence.new(0)
1102
local ChainLink = IT("Beam",RightArm)
1103
ChainLink.Texture = "rbxassetid://73042633"
1104
ChainLink.Color = ColorSequence.new(C3(1,0,0))
1105
ChainLink.TextureSpeed = 1
1106
ChainLink.FaceCamera = true
1107
ChainLink.Width0 = 1
1108
ChainLink.Width1 = 1
1109
ChainLink.TextureLength = 3
1110
ChainLink.Attachment0 = B
1111
ChainLink.Attachment1 = A
1112
ChainLink.CurveSize0 = 1.3
1113
ChainLink.CurveSize1 = 1.3
1114
ChainLink.FaceCamera = true
1115
ChainLink.Transparency = NumberSequence.new(0)
1116
1117
1118
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
1119
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
1120
MakeForm(Part,"Wedge")
1121
1122
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
1123
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1124
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1125
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
1126
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1127
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
1128
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
1129
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1130
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
1131
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1132
1133
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
1134
local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
1135
local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
1136
local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
1137
1138
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1139
function WACKYEFFECT(Table)
1140
	local TYPE = (Table.EffectType or "Sphere")
1141
	local SIZE = (Table.Size or VT(1,1,1))
1142
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1143
	local TRANSPARENCY = (Table.Transparency or 0)
1144
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1145
	local CFRAME = (Table.CFrame or Torso.CFrame)
1146
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1147
	local ROTATION1 = (Table.RotationX or 0)
1148
	local ROTATION2 = (Table.RotationY or 0)
1149
	local ROTATION3 = (Table.RotationZ or 0)
1150
	local MATERIAL = (Table.Material or "Neon")
1151
	local COLOR = (Table.Color or C3(1,1,1))
1152
	local TIME = (Table.Time or 45)
1153
	local SOUNDID = (Table.SoundID or nil)
1154
	local SOUNDPITCH = (Table.SoundPitch or nil)
1155
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1156
	coroutine.resume(coroutine.create(function()
1157
		local PLAYSSOUND = false
1158
		local SOUND = nil
1159
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
1160
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1161
			PLAYSSOUND = true
1162
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1163
		end
1164
		EFFECT.Color = COLOR
1165
		local MSH = nil
1166
		if TYPE == "Sphere" then
1167
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1168
		elseif TYPE == "Block" then
1169
			MSH = IT("BlockMesh",EFFECT)
1170
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1171
		elseif TYPE == "Wave" then
1172
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1173
		elseif TYPE == "Ring" then
1174
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1175
		elseif TYPE == "Slash" then
1176
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1177
		elseif TYPE == "Round Slash" then
1178
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1179
		elseif TYPE == "Swirl" then
1180
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1181
		elseif TYPE == "Skull" then
1182
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1183
		elseif TYPE == "Crystal" then
1184
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1185
		end
1186
		if MSH ~= nil then
1187
			local MOVESPEED = nil
1188
			if MOVEDIRECTION ~= nil then
1189
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1190
			end
1191
			local GROWTH = SIZE - ENDSIZE
1192
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1193
			if TYPE == "Block" then
1194
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1195
			else
1196
				EFFECT.CFrame = CFRAME
1197
			end
1198
			for LOOP = 1, TIME+1 do
1199
				Swait()
1200
				MSH.Scale = MSH.Scale - GROWTH/TIME
1201
				if TYPE == "Wave" then
1202
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1203
				end
1204
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1205
				if TYPE == "Block" then
1206
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1207
				else
1208
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1209
				end
1210
				if MOVEDIRECTION ~= nil then
1211
					local ORI = EFFECT.Orientation
1212
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1213
					EFFECT.Orientation = ORI
1214
				end
1215
			end
1216
			if PLAYSSOUND == false then
1217
				EFFECT:remove()
1218
			else
1219
				SOUND.Stopped:Connect(function()
1220
					EFFECT:remove()
1221
				end)
1222
			end
1223
		else
1224
			if PLAYSSOUND == false then
1225
				EFFECT:remove()
1226
			else
1227
				repeat Swait() until SOUND.Playing == false
1228
				EFFECT:remove()
1229
			end
1230
		end
1231
	end))
1232
end
1233
1234
1235
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1236
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1237
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1238
	wave.CFrame = CFRAME
1239
	coroutine.resume(coroutine.create(function(PART)
1240
		for i = 1, WAIT do
1241
			Swait()
1242
			mesh.Scale = mesh.Scale + GROW
1243
			if DOESROT == true then
1244
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1245
			end
1246
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1247
			if wave.Transparency > 0.99 then
1248
				wave:remove()
1249
			end
1250
		end
1251
	end))
1252
end
1253
1254
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1255
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1256
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1257
	wave.CFrame = CFRAME
1258
	coroutine.resume(coroutine.create(function(PART)
1259
		for i = 1, WAIT do
1260
			Swait()
1261
			mesh.Scale = mesh.Scale + GROW
1262
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1263
			if DOESROT == true then
1264
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1265
			end
1266
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1267
			if wave.Transparency > 0.99 then
1268
				wave:remove()
1269
			end
1270
		end
1271
	end))
1272
end
1273
1274
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
1275
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1276
	local mesh
1277
	if KIND == "Base" then
1278
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
1279
	elseif KIND == "Thin" then
1280
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1281
	elseif KIND == "Round" then
1282
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1283
	end
1284
	wave.CFrame = CFRAME
1285
	coroutine.resume(coroutine.create(function(PART)
1286
		for i = 1, WAIT do
1287
			Swait()
1288
			mesh.Scale = mesh.Scale + GROW / 10
1289
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1290
			if wave.Transparency > 0.99 then
1291
				wave:remove()
1292
			end
1293
		end
1294
	end))
1295
end
1296
1297
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1298
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1299
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1300
	wave.CFrame = CFRAME
1301
	coroutine.resume(coroutine.create(function(PART)
1302
		for i = 1, WAIT do
1303
			Swait()
1304
			mesh.Scale = mesh.Scale + GROW
1305
			if DOESROT == true then
1306
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1307
			end
1308
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1309
			if wave.Transparency > 0.99 then
1310
				wave:remove()
1311
			end
1312
		end
1313
	end))
1314
end
1315
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1316
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1317
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1318
	wave.CFrame = CFRAME
1319
	coroutine.resume(coroutine.create(function(PART)
1320
		for i = 1, WAIT do
1321
			Swait()
1322
			mesh.Scale = mesh.Scale + GROW
1323
			wave.Transparency = wave.Transparency + 1 / WAIT
1324
			if wave.Transparency > 0.99 then
1325
				wave:remove()
1326
			end
1327
		end
1328
	end))
1329
end
1330
1331
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1332
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1333
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1334
	wave.CFrame = CFRAME
1335
	coroutine.resume(coroutine.create(function(PART)
1336
		for i = 1, WAIT do
1337
			Swait()
1338
			mesh.Scale = mesh.Scale + GROW
1339
			wave.Transparency = wave.Transparency + 1 / WAIT
1340
			if wave.Transparency > 0.99 then
1341
				wave:remove()
1342
			end
1343
		end
1344
	end))
1345
end
1346
1347
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
1348
PRT.Color = C3(0,0,0)
1349
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1350
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1351
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
1352
PRT.Color = C3(0,0,0)
1353
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
1354
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
1355
for i = 1, 16 do
1356
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
1357
	FACE.Color = C3(0,0,0)
1358
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1359
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
1360
end
1361
1362
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1363
function ParticleEmitter(Table)
1364
	local PRTCL = Particle:Clone()
1365
	local Speed = Table.Speed or 5
1366
	local Drag = Table.Drag or 0
1367
	local Size1 = Table.Size1 or 1
1368
	local Size2 = Table.Size2 or 5
1369
	local Lifetime1 = Table.Lifetime1 or 1
1370
	local Lifetime2 = Table.Lifetime2 or 1.5
1371
	local Parent = Table.Parent or Torso
1372
	local Emit = Table.Emit or 100
1373
	local Offset = Table.Offset or 360
1374
	local Acel = Table.Acel or VT(0,0,0)
1375
	local Enabled = Table.Enabled or false
1376
	PRTCL.Parent = Parent
1377
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1378
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1379
	PRTCL.Speed = NumberRange.new(Speed)
1380
	PRTCL.VelocitySpread = Offset
1381
	PRTCL.Drag = Drag
1382
	PRTCL.Acceleration = Acel
1383
	if Enabled == false then
1384
		PRTCL:Emit(Emit)
1385
		Debris:AddItem(PRTCL,Lifetime2)
1386
	else
1387
		PRTCL.Enabled = true
1388
	end
1389
	return PRTCL
1390
end
1391
1392
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1393
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1394
1395
for _, c in pairs(Weapon:GetDescendants()) do
1396
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1397
		c.Material = "Glass"
1398
		c.Color = C3(0,0,0)
1399
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1400
		c.Color = C3(1,0,0)
1401
		c.Material = "Neon"
1402
	end
1403
end
1404
1405
Weapon.Parent = Character
1406
for _, c in pairs(Weapon:GetChildren()) do
1407
	if c.ClassName == "Part" then
1408
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1409
	end
1410
end
1411
1412
local SKILLTEXTCOLOR = C3(1,1,1)
1413
local SKILLFONT = "SciFi"
1414
local SKILLTEXTSIZE = 4
1415
1416
local ATTACKS = {"Warp - Q","Magic Roar- R","Laser Sword- E","Laugh- T","Block2 - N"}
1417
1418
for i = 1, #ATTACKS do
1419
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1420
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
1421
	SKILLTEXT.TextXAlignment = "Left"
1422
	SKILLTEXT.Rotation = i*3
1423
end
1424
1425
Humanoid.Died:Connect(function()
1426
	RootPart:remove()
1427
	CreateSound(160718677, Head, 4, 1, false)
1428
	BMUSIC:remove()
1429
	Effects:remove()
1430
	WEAPONGUI:remove()
1431
end)
1432
local GRUNTS = {1146556975,1146556706,1278006076}
1433
1434
Weapon.Parent = Character
1435
for _, c in pairs(Weapon:GetChildren()) do
1436
	if c.ClassName == "Part" then
1437
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1438
	end
1439
end
1440
1441
local SKILLTEXTCOLOR = C3(1,1,1)
1442
local SKILLFONT = "SciFi"
1443
local SKILLTEXTSIZE = 4
1444
1445
local ATTACKS = {"Morning_Star - Z","Laser - V","Warp - B","Bomb- F","Block - M"}
1446
1447
for i = 1, #ATTACKS do
1448
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1449
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
1450
	SKILLTEXT.TextXAlignment = "Right"
1451
	SKILLTEXT.Rotation = i*3
1452
end
1453
1454
local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar") 
1455
local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Shamrock".Color, C3(0, 0, 0),"Health Cover")
1456
local HEALTHTEXT = CreateLabel(HEALTHBAR, Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
1457
Character.Health:remove()
1458
HEALTHBAR.Rotation = (#ATTACKS*3)+3
1459
local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban") 
1460
WHOAMI.Rotation = (#ATTACKS*3)+3
1461
CreateLabel(WHOAMI, "Mad V.4", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
1462
1463
Humanoid.MaxHealth = 1.0E298
1464
Humanoid.Health = 1.0E298
1465
1466
Humanoid.Died:Connect(function()
1467
	RootPart:remove()
1468
	CreateSound(160718677, Head, 4, 1, false)
1469
	BMUSIC:remove()
1470
	Effects:remove()
1471
	WEAPONGUI:remove()
1472
end)
1473
local GRUNTS = {1146556975,1146556706,1278006076}
1474
1475
local SKILLTEXTCOLOR = C3(1,0,0)
1476
local SKILLFONT = "SciFi"
1477
local SKILLTEXTSIZE = 5
1478
1479
Weapon.Parent = Character
1480
1481
Humanoid.Died:connect(function()
1482
	ATTACK = true
1483
end)
1484
1485
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1486
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1487
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1488
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1489
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1490
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.9, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1491
1492
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
1493
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
1494
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
1495
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
1496
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
1497
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
1498
1499
function printbye(Name)
1500
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1501
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1502
end
1503
1504
workspace.ChildAdded:connect(function(instance)
1505
    for BANISH = 1, #TOBANISH do
1506
		if TOBANISH[BANISH] ~= nil then
1507
			if instance.Name == TOBANISH[BANISH] then
1508
				coroutine.resume(coroutine.create(function()
1509
					printbye(instance.Name)
1510
					instance:ClearAllChildren()
1511
					Debris:AddItem(instance,0.0005)
1512
				end))
1513
			end
1514
		end
1515
	end
1516
end)
1517
1518
--//=================================\\
1519
--||			DAMAGING
1520
--\\=================================//
1521
1522
function freezenearest(position, range)
1523
	for i, v in ipairs(workspace:GetChildren()) do
1524
		local body = v:GetChildren()
1525
		for part = 1, #body do
1526
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
1527
				v:BreakJoints()
1528
				body[part].Material = "Ice"
1529
				body[part].BrickColor = BRICKC("Really red")
1530
				body[part].Anchored = true
1531
			end
1532
		end
1533
	end
1534
end
1535
1536
function BulletDetection(FROM,TO,BRUTAL)
1537
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1538
	coroutine.resume(coroutine.create(function()
1539
		if AIMHIT ~= nil then
1540
			if AIMHIT.Parent ~= Character then
1541
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1542
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1543
						if BRUTAL == true then
1544
							Kill(AIMHIT.Parent)
1545
						else
1546
							getbloody(AIMHIT,15)
1547
							AIMHIT.Parent:BreakJoints()
1548
							if AIMHIT.Name == "Head" then
1549
								AIMHIT.Name = "HEADSHOT"
1550
								AIMHIT:remove()
1551
							end
1552
						end
1553
					else
1554
						if BRUTAL == true then
1555
							Kill(AIMHIT.Parent.Parent)
1556
						else
1557
							AIMHIT.Parent.Parent:BreakJoints()
1558
						end
1559
					end
1560
				end
1561
			end
1562
		end
1563
	end))
1564
	SpawnTrail(FROM,AIMPOS)
1565
	return AIMHIT,AIMPOS,NORMAL
1566
end
1567
1568
function Banish(Foe)
1569
	if Foe then
1570
		coroutine.resume(coroutine.create(function()
1571
			--if game.Players:FindFirstChild(Foe.Name) then
1572
				table.insert(TOBANISH,Foe.Name)
1573
				printbye(Foe.Name)
1574
			--end
1575
			Foe.Archivable = true
1576
			local CLONE = Foe:Clone()
1577
			Foe:Destroy()
1578
			CLONE.Parent = Effects
1579
			CLONE:BreakJoints()
1580
			local MATERIALS = {"Glass","Neon"}
1581
			for _, c in pairs(CLONE:GetDescendants()) do
1582
				if c:IsA("BasePart") then
1583
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1584
 						CreateSound(340722848, c, 10, 1, false)
1585
					end
1586
					c.Anchored = true
1587
					c.Transparency = c.Transparency + 0.2
1588
					c.Material = MATERIALS[MRANDOM(1,2)]
1589
					c.Color = C3(0,1,0)
1590
					if c.ClassName == "MeshPart" then
1591
						c.TextureID = ""
1592
					end
1593
					if c:FindFirstChildOfClass("SpecialMesh") then
1594
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1595
					end
1596
					if c:FindFirstChildOfClass("Decal") then
1597
						c:FindFirstChildOfClass("Decal"):remove()
1598
					end
1599
					c.Name = "Banished"
1600
					c.CanCollide = false
1601
				else
1602
					c:remove()
1603
				end
1604
			end
1605
			local A = false
1606
			for i = 1, 35 do
1607
				if A == false then
1608
					A = true
1609
				elseif A == true then
1610
					A = false
1611
				end
1612
				for _, c in pairs(CLONE:GetDescendants()) do
1613
					if c:IsA("BasePart") then
1614
						c.Anchored = true
1615
						c.Material = MATERIALS[MRANDOM(1,2)]
1616
						c.Transparency = c.Transparency + 0.8/35
1617
						if A == false then
1618
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1619
						elseif A == true then
1620
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1621
						end
1622
					end
1623
				end
1624
				Swait()
1625
			end
1626
			CLONE:remove()
1627
		end))
1628
	end
1629
end
1630
1631
function ApplyAoE(POSITION,RANGE,ISBANISH)
1632
	local CHILDREN = workspace:GetDescendants()
1633
	for index, CHILD in pairs(CHILDREN) do
1634
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1635
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1636
			if HUM then
1637
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1638
				if TORSO then
1639
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1640
						if ISBANISH == true then
1641
							Banish(CHILD)
1642
						else
1643
							if ISBANISH == "Gravity" then
1644
								HUM.PlatformStand = true
1645
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1646
									local grav = Instance.new("BodyPosition",TORSO)
1647
									grav.D = 15
1648
									grav.P = 20000
1649
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1650
									grav.position = TORSO.Position
1651
									grav.Name = "V3BanishForce"..Player.Name
1652
								else
1653
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1654
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1655
								end
1656
							else
1657
								HUM.PlatformStand = false
1658
							end
1659
						end
1660
					elseif ISBANISH == "Gravity" then
1661
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1662
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1663
							HUM.PlatformStand = false
1664
						end
1665
					end
1666
				end
1667
			end
1668
		end
1669
	end
1670
end
1671
1672
function Kill(Char)
1673
	local NewCharacter = IT("Model",Effects)
1674
	NewCharacter.Name = "Ow im ded ;-;"
1675
	for _, c in pairs(Char:GetDescendants()) do
1676
		if c:IsA("BasePart") and c.Transparency == 0 then
1677
			if c.Parent == Char then
1678
				getbloody(c,5)
1679
			end
1680
			c:BreakJoints()
1681
			c.Material = "Glass"
1682
			c.Color = C3(0.5,0,0)
1683
			c.CanCollide = true
1684
			c.Transparency = 0.3
1685
			if c:FindFirstChildOfClass("SpecialMesh") then
1686
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1687
			end
1688
			if c.Name == "Head" then
1689
				c:ClearAllChildren()
1690
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1691
			end
1692
			if c.ClassName == "MeshPart" then
1693
				c.TextureID = ""
1694
			end
1695
			if c:FindFirstChildOfClass("BodyPosition") then
1696
				c:FindFirstChildOfClass("BodyPosition"):remove()
1697
			end
1698
			if c:FindFirstChildOfClass("ParticleEmitter") then
1699
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1700
			end
1701
			c.Parent = NewCharacter
1702
			c.Name = "DeadPart"
1703
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1704
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1705
		end
1706
	end
1707
	Char:remove()
1708
	Debris:AddItem(NewCharacter,5)
1709
end
1710
1711
function ApplyAoE(POSITION,RANGE,BRUTAL)
1712
	local CHILDREN = workspace:GetDescendants()
1713
	for index, CHILD in pairs(CHILDREN) do
1714
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1715
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1716
			if HUM then
1717
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1718
				if TORSO then
1719
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1720
						if BRUTAL == true then
1721
							Kill(CHILD)
1722
						else
1723
							CHILD:BreakJoints()
1724
						end
1725
					end
1726
				end
1727
			end
1728
		end
1729
	end
1730
end
1731
1732
function BulletDetection(FROM,TO,BRUTAL)
1733
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1734
	coroutine.resume(coroutine.create(function()
1735
		if AIMHIT ~= nil then
1736
			if AIMHIT.Parent ~= Character then
1737
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1738
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1739
						if BRUTAL == true then
1740
							Kill(AIMHIT.Parent)
1741
						else
1742
							getbloody(AIMHIT,15)
1743
							AIMHIT.Parent:BreakJoints()
1744
							if AIMHIT.Name == "Head" then
1745
								AIMHIT.Name = "HEADSHOT"
1746
								AIMHIT:remove()
1747
							end
1748
						end
1749
					else
1750
						if BRUTAL == true then
1751
							Kill(AIMHIT.Parent.Parent)
1752
						else
1753
							AIMHIT.Parent.Parent:BreakJoints()
1754
						end
1755
					end
1756
				end
1757
			end
1758
		end
1759
	end))
1760
	SpawnTrail(FROM,AIMPOS)
1761
	return AIMHIT,AIMPOS,NORMAL
1762
end
1763
1764
function Banish(Foe)
1765
	if Foe then
1766
		coroutine.resume(coroutine.create(function()
1767
			--if game.Players:FindFirstChild(Foe.Name) then
1768
				table.insert(TOBANISH,Foe.Name)
1769
				printbye(Foe.Name)
1770
			--end
1771
			Foe.Archivable = true
1772
			local CLONE = Foe:Clone()
1773
			Foe:Destroy()
1774
			CLONE.Parent = Effects
1775
			CLONE:BreakJoints()
1776
			local MATERIALS = {"Glass","Neon"}
1777
			for _, c in pairs(CLONE:GetDescendants()) do
1778
				if c:IsA("BasePart") then
1779
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1780
 						CreateSound(340722848, c, 10, 1, false)
1781
					end
1782
					c.Anchored = true
1783
					c.Transparency = c.Transparency + 0.2
1784
					c.Material = MATERIALS[MRANDOM(1,2)]
1785
					c.Color = C3(1,0,0)
1786
					if c.ClassName == "MeshPart" then
1787
						c.TextureID = ""
1788
					end
1789
					if c:FindFirstChildOfClass("SpecialMesh") then
1790
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1791
					end
1792
					if c:FindFirstChildOfClass("Decal") then
1793
						c:FindFirstChildOfClass("Decal"):remove()
1794
					end
1795
					c.Name = "Banished"
1796
					c.CanCollide = false
1797
				else
1798
					c:remove()
1799
				end
1800
			end
1801
			local A = false
1802
			for i = 1, 35 do
1803
				if A == false then
1804
					A = true
1805
				elseif A == true then
1806
					A = false
1807
				end
1808
				for _, c in pairs(CLONE:GetDescendants()) do
1809
					if c:IsA("BasePart") then
1810
						c.Anchored = true
1811
						c.Material = MATERIALS[MRANDOM(1,2)]
1812
						c.Transparency = c.Transparency + 0.8/35
1813
						if A == false then
1814
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1815
						elseif A == true then
1816
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1817
						end
1818
					end
1819
				end
1820
				Swait()
1821
			end
1822
			CLONE:remove()
1823
		end))
1824
	end
1825
end
1826
1827
function ApplyAoE(POSITION,RANGE,ISBANISH)
1828
	local CHILDREN = workspace:GetDescendants()
1829
	for index, CHILD in pairs(CHILDREN) do
1830
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1831
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1832
			if HUM then
1833
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1834
				if TORSO then
1835
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1836
						if ISBANISH == true then
1837
							Banish(CHILD)
1838
						else
1839
							if ISBANISH == "Gravity" then
1840
								HUM.PlatformStand = true
1841
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1842
									local grav = Instance.new("BodyPosition",TORSO)
1843
									grav.D = 15
1844
									grav.P = 20000
1845
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1846
									grav.position = TORSO.Position
1847
									grav.Name = "V3BanishForce"..Player.Name
1848
								else
1849
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1850
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1851
								end
1852
							else
1853
								HUM.PlatformStand = false
1854
							end
1855
						end
1856
					elseif ISBANISH == "Gravity" then
1857
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1858
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1859
							HUM.PlatformStand = false
1860
						end
1861
					end
1862
				end
1863
			end
1864
		end
1865
	end
1866
end
1867
1868
function ApplyAoE(POSITION,RANGE,BRUTAL)
1869
	local CHILDREN = workspace:GetDescendants()
1870
	for index, CHILD in pairs(CHILDREN) do
1871
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1872
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1873
			if HUM then
1874
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1875
				if TORSO then
1876
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1877
						if BRUTAL == true then
1878
							Kill(CHILD)
1879
						else
1880
							CHILD:BreakJoints()
1881
						end
1882
					end
1883
				end
1884
			end
1885
		end
1886
	end
1887
end
1888
1889
function Kill(Char)
1890
	local NewCharacter = IT("Model",Effects)
1891
	NewCharacter.Name = "Ow im ded ;-;"
1892
	for _, c in pairs(Char:GetDescendants()) do
1893
		if c:IsA("BasePart") and c.Transparency == 0 then
1894
			if c.Parent == Char then
1895
				getbloody(c,5)
1896
			end
1897
			c:BreakJoints()
1898
			c.Material = "Glass"
1899
			c.Color = C3(1,0,0)
1900
			c.CanCollide = true
1901
			c.Transparency = 0.3
1902
			if c:FindFirstChildOfClass("SpecialMesh") then
1903
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1904
			end
1905
			if c.Name == "Head" then
1906
				c:ClearAllChildren()
1907
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1908
			end
1909
			if c.ClassName == "MeshPart" then
1910
				c.TextureID = ""
1911
			end
1912
			if c:FindFirstChildOfClass("BodyPosition") then
1913
				c:FindFirstChildOfClass("BodyPosition"):remove()
1914
			end
1915
			if c:FindFirstChildOfClass("ParticleEmitter") then
1916
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1917
			end
1918
			c.Parent = NewCharacter
1919
			c.Name = "DeadPart"
1920
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1921
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1922
		end
1923
	end
1924
	Char:remove()
1925
	Debris:AddItem(NewCharacter,5)
1926
end
1927
1928
function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1929
	local CHILDREN = workspace:GetDescendants()
1930
	for index, CHILD in pairs(CHILDREN) do
1931
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1932
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1933
			if HUM then
1934
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1935
				if TORSO then
1936
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1937
						if INSTAKILL == true then
1938
							CHILD:BreakJoints()
1939
						else
1940
							local DMG = MRANDOM(MINDMG,MAXDMG)
1941
							ApplyDamage(HUM,DMG,TORSO)
1942
						end
1943
						if FLING > 0 then
1944
							for _, c in pairs(CHILD:GetChildren()) do
1945
								if c:IsA("BasePart") then
1946
									local bv = Instance.new("BodyVelocity") 
1947
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1948
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1949
									bv.Parent = c
1950
									Debris:AddItem(bv,0.05)
1951
								end
1952
							end
1953
						end
1954
					end
1955
				end
1956
			end
1957
		end
1958
	end
1959
end
1960
1961
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1962
	local TORSO = Torso
1963
	local HUM = Humanoid
1964
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1965
		coroutine.wrap(function()
1966
			VT = Vector3.new
1967
			MRANDOM = math.random
1968
			local A = TIME
1969
			local B = INTENSITY
1970
			local C = true
1971
			local HUMANOID = Humanoid
1972
			local TIMER = A or 35
1973
			local SHAKE = B or 5
1974
			local FADE = C or true
1975
			if HUMANOID then
1976
				local FADER = SHAKE / TIMER
1977
				for i = 1, TIMER do
1978
					wait()
1979
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
1980
				end
1981
				HUMANOID.CameraOffset = VT(0, 0, 0)
1982
			end
1983
1984
		end)()
1985
	end
1986
end
1987
1988
function killnearest(position, range, maxstrength)
1989
	for i, v in ipairs(workspace:GetChildren()) do
1990
		local body = v:GetChildren()
1991
		for part = 1, #body do
1992
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
1993
				if v.ClassName == "Model" then
1994
					v:BreakJoints()
1995
				end
1996
				local bv = Instance.new("BodyVelocity")
1997
				bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1998
				bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
1999
				bv.Parent = body[part]
2000
				Debris:AddItem(bv, 0.2)
2001
			end
2002
		end
2003
		if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
2004
			v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
2005
		end
2006
	end
2007
end
2008
2009
--//=================================\\
2010
--||	ATTACK FUNCTIONS AND STUFF
2011
--\\=================================//
2012
2013
function TakeOnMe()
2014
	Speed = 16
2015
	local MEME = CreateSound(1171341451, Effects, 2, 1, false)
2016
	ATTACK = true
2017
	Rooted = false
2018
	local DANCE = true
2019
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2020
		if NEWKEY == "p" then
2021
			DANCE = false
2022
		end
2023
	end)
2024
	PLAYSONG = false
2025
	while true do
2026
		for i = 1, 15 do
2027
			Swait()
2028
			MEME.Parent = Effects
2029
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2030
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2031
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2032
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2033
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2034
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2035
		end
2036
		if DANCE == false then
2037
			break
2038
		end
2039
		for i = 1, 15 do
2040
			Swait()
2041
			MEME.Parent = Effects
2042
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2043
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2044
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2045
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2046
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2047
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2048
		end
2049
	end
2050
	PLAYSONG = true
2051
	KEY:Disconnect()
2052
	MEME:remove()
2053
	Speed = 25
2054
	ATTACK = false
2055
	Rooted = false
2056
end
2057
2058
function Morning_Star()
2059
    ATTACK = true
2060
    Rooted = true
2061
    for i=0, 1, 0.1 / Animation_Speed do
2062
        Swait()
2063
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2064
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2065
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2066
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2067
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2068
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2069
    end
2070
    coroutine.resume(coroutine.create(function()
2071
        local POS = Mouse.Hit.p
2072
        local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,2000,0))
2073
        MakeForm(RAY,"Cyl")
2074
        local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,0,0))
2075
        MakeForm(SPHERE,"Ball")
2076
        local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Maroon", "Strike", VT(0,0,0))
2077
        MakeForm(SHIELD,"Ball")
2078
        SHIELD.CFrame = CF(POS)
2079
        RAY.CFrame = CF(POS)
2080
        SPHERE.CFrame = CF(POS)
2081
        CreateSound(440145570, SPHERE, 10, 0.8, false)
2082
        CreateSound(415700134, SPHERE, 10, 0.8, false)
2083
        for i = 1, 200 do
2084
            Swait()
2085
            WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2086
            RAY.Size = RAY.Size + VT(0.05,0,0.05)
2087
            SPHERE.Size = SPHERE.Size + VT(2,2,2)
2088
            SHIELD.Size = SPHERE.Size + VT(3,3,3)
2089
            ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2090
        end
2091
        for i = 1, 45 do
2092
            Swait()
2093
            RAY.Transparency = RAY.Transparency + 1/45
2094
            SPHERE.Transparency = RAY.Transparency
2095
            SHIELD.Transparency = SPHERE.Transparency + 1/45
2096
        end
2097
        RAY:remove()
2098
        SHIELD:remove()
2099
        SPHERE:remove()
2100
    end))
2101
    for i=0, 1, 0.1 / Animation_Speed do
2102
        Swait()
2103
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2104
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
2105
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2106
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2107
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2108
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2109
    end
2110
    ATTACK = false
2111
    Rooted = false
2112
end
2113
2114
function Taunt()
2115
	ATTACK = true
2116
	local LAUGH = nil
2117
	coroutine.resume(coroutine.create(function()
2118
		repeat
2119
			Swait()
2120
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2121
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2122
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2123
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2124
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2125
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2126
		until LAUGH ~= nil
2127
		repeat
2128
			Swait()
2129
			LAUGH.Parent = Head
2130
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2131
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2132
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(180), RAD(10), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2133
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2134
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2135
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2136
		until LAUGH.Playing == false
2137
	ATTACK = false
2138
	end))
2139
	wait(0.1)
2140
	LAUGH = CreateSound(300208779, Head, 10, 1, false)
2141
	sick:Resume()
2142
end
2143
2144
function Shell()
2145
	ATTACK = true
2146
	Rooted = false
2147
	local GYRO = IT("BodyGyro",RootPart)
2148
	GYRO.D = 750
2149
	GYRO.P = 20000
2150
	GYRO.MaxTorque = VT(0,40000000,0)
2151
	for i=0, 1, 0.1 / Animation_Speed do
2152
		Swait()
2153
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2154
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2155
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2156
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2157
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2158
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2159
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2160
	end
2161
	GYRO:remove()
2162
	CreateSound(696483710, Gun, 5, 1, false)
2163
	local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
2164
	SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS)
2165
	WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2166
	for i=0, 0.3, 0.1 / Animation_Speed do
2167
		Swait()
2168
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2169
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2170
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2171
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2172
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2173
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2174
	end
2175
	ATTACK = false
2176
	Rooted = false
2177
end
2178
2179
function Teleport()
2180
	ATTACK = true
2181
	Rooted = false
2182
	for i=0, 0.5, 0.1 / Animation_Speed do
2183
		Swait()
2184
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2185
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2186
	end
2187
	for e = 1, #BODY do
2188
		if BODY[e] ~= nil then
2189
			local STUFF = BODY[e]
2190
			local PART = STUFF[1]
2191
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
2192
				local PRT = PART:Clone()
2193
				PRT.Anchored = true
2194
				PRT.CanCollide = false
2195
				PRT.Material = "Neon"
2196
				PRT.Color = C3(1,1,1)
2197
				PRT.Name = "WarpEffect"
2198
				PRT.Parent = Effects
2199
				PRT.CFrame = PART.CFrame
2200
				PRT:BreakJoints()
2201
				if PRT:FindFirstChildOfClass("Sound") then
2202
					PRT:FindFirstChildOfClass("Sound"):remove()
2203
				end
2204
				if PRT:FindFirstChildOfClass("Decal") then
2205
					PRT:FindFirstChildOfClass("Decal"):remove()
2206
				end
2207
				coroutine.resume(coroutine.create(function()
2208
					for i = 1, 100 do
2209
						Swait()
2210
						PRT.Transparency = PRT.Transparency + 1/100
2211
					end
2212
					PRT:remove()
2213
				end))
2214
			end
2215
		end
2216
	end
2217
	CreateSound(217767125, Torso, 10, 1)
2218
	local POS = RootPart.Orientation
2219
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
2220
	RootPart.Orientation = POS
2221
	RootJoint.Parent = RootPart
2222
	for i=0, 0.5, 0.1 / Animation_Speed do
2223
		Swait()
2224
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2225
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2226
	end
2227
	for i=0, 0.1, 0.1 / Animation_Speed do
2228
		Swait()
2229
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2230
	end
2231
	ATTACK = false
2232
	Rooted = false
2233
end
2234
2235
function G()
2236
	ATTACK = true
2237
	Rooted = true
2238
	FORCEWINGS = true
2239
	CreateSound(1537955136, Torso, 5, 1, false)
2240
	for i=1, 15 do
2241
		Swait()
2242
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.8)
2243
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+i/15 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
2244
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
2245
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2246
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
2247
	end
2248
	for i=0, 0.3, 0.1 / Animation_Speed do
2249
		Swait()
2250
		RootPart.CFrame = RootPart.CFrame * CF(0,0,0.015)
2251
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.75 / Animation_Speed)
2252
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(75)), 0.75 / Animation_Speed)
2253
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(15 - 5 * COS(SINE / 12)), RAD(-35), RAD(35 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2254
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35), RAD(-12 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
2255
	end
2256
	for i=0, 1, 0.1 / Animation_Speed do
2257
		Swait()
2258
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(170), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2259
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0-0.5 * COS(SINE), 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2260
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2261
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2262
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
2263
	end
2264
	CreateSound(1537955679, Blade, 7, 0.7, false)
2265
	for i=0, 0.4, 0.1 / Animation_Speed do
2266
		Swait()
2267
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
2268
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2269
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2270
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2271
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
2272
	end
2273
	local TORNADOBASE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(5,45/2,5))
2274
	MakeForm(TORNADOBASE,"Ball")
2275
	TORNADOBASE.Mesh.Scale = VT(1,8,1)
2276
	local SWIRL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0))
2277
	CreateMesh("SpecialMesh", SWIRL, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
2278
	local SWIRL2 = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Tornado", VT(0,0,0))
2279
	CreateMesh("SpecialMesh", SWIRL2, "FileMesh", "1051557", "", VT(6,45*3,6), VT(0,0,0))
2280
	CreateSound(415700134, TORNADOBASE, 3, 0.5, true)
2281
	coroutine.resume(coroutine.create(function()
2282
		local FRAME = RootPart.CFrame*CF(0,-5,-0.5)
2283
		for E = 1, 185 do
2284
			Swait()
2285
			FRAME = FRAME * CF(0,0,-0.8)
2286
			TORNADOBASE.CFrame = FRAME*CF(0,TORNADOBASE.Size.Y/2,0)
2287
			SWIRL.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(E*5), RAD(0))
2288
			SWIRL2.CFrame = TORNADOBASE.CFrame * ANGLES(RAD(0), RAD(-E*15), RAD(0))
2289
			for i = 1, math.ceil(TORNADOBASE.Size.Y/6) do
2290
				ApplyAoE(TORNADOBASE.CFrame*CF(0,TORNADOBASE.Size.Y/2,0)*CF(0,-i*6,0).p,8,2,2,-35,0)
2291
			end
2292
			WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(10,8,10), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(FRAME.p) * ANGLES(RAD(0), RAD(E*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = TORNADOBASE.Color, SoundID = nil, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2})
2293
		end
2294
		for i = 1, 15 do
2295
			Swait()
2296
			TORNADOBASE.Transparency = i/15
2297
			SWIRL.Transparency = i/15
2298
			SWIRL2.Transparency = i/15
2299
			SWIRL.CFrame = SWIRL.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0))
2300
			SWIRL2.CFrame = SWIRL2.CFrame * ANGLES(RAD(0), RAD(-i*15), RAD(0))
2301
		end
2302
		TORNADOBASE:remove()
2303
		SWIRL:remove()
2304
		SWIRL2:remove()
2305
	end))
2306
	for i=0, 0.2, 0.1 / Animation_Speed do
2307
		Swait()
2308
		Grasp.C1 = Clerp(Grasp.C1, CF(0,0,0) * ANGLES(RAD(115), RAD(-35), RAD(0)), 0.75 / Animation_Speed)
2309
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2310
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
2311
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-42)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
2312
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(35), RAD(0), RAD(42)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
2313
	end
2314
	FORCEWINGS = false
2315
	ATTACK = false
2316
	Rooted = false
2317
end
2318
2319
function Ruler()
2320
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2321
	if HITFLOOR ~= nil then
2322
		do
2323
			local HITBODIES = {}
2324
			ATTACK = true
2325
			Rooted = true
2326
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
2327
			ABSOLUTE.Color = SKILLTEXTCOLOR
2328
			MakeForm(ABSOLUTE, "Ball")
2329
			CreateSound("814168787", ABSOLUTE, 10, 0.3)
2330
			for i = 0, 4, 0.1 / Animation_Speed do
2331
				Swait()
2332
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
2333
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
2334
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
2335
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
2336
				MakeForm(CHARGE, "Ball")
2337
				CHARGE.Color = C3(0, 0, 0)
2338
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
2339
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
2340
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2341
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2342
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2343
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2344
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2345
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2346
			end
2347
			CreateSound("907333406", Head, 10, 1)
2348
			for i = 0, 2, 0.1 / Animation_Speed do
2349
				Swait()
2350
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2351
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2352
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2353
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2354
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2355
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2356
			end
2357
			coroutine.resume(coroutine.create(function()
2358
				local PITS = {}
2359
				CreateSound("178452217", ABSOLUTE, 10, 0.7)
2360
				for i = 1, 6 do
2361
					for i = 1, 10 do
2362
						Swait()
2363
						Slice("Thin", ABSOLUTE.Size.X / 20, 15, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
2364
						ABSOLUTE.Size = ABSOLUTE.Size * 0.9
2365
					end
2366
					for i = 1, 10 do
2367
						Swait()
2368
						ABSOLUTE.Size = ABSOLUTE.Size * 1.12
2369
					end
2370
				end
2371
				CreateSound("215395388", ABSOLUTE, 10, 0.6)
2372
				CreateSound("215395388", ABSOLUTE, 10, 0.65)
2373
				CreateSound("215395388", ABSOLUTE, 10, 0.7)
2374
				for i = 1, 75 do
2375
					Swait()
2376
					local ICICLE = IT("CornerWedgePart", Effects)
2377
					ICICLE.Locked = true
2378
					ICICLE.CanCollide = false
2379
					ICICLE.Anchored = true
2380
					ICICLE.Color = C3(0, 0, 0)
2381
					ICICLE.Material = "Neon"
2382
					ICICLE.Size = VT(i / 3, i * 2, i / 3)
2383
					ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
2384
					table.insert(PITS, ICICLE)
2385
					killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
2386
					ABSOLUTE.Size = ABSOLUTE.Size * 1.03
2387
					killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
2388
					for i = 1, 3 do
2389
						Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Really black", VT(-0.01, 0, -0.01))
2390
					end
2391
					CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 0, 0), VT(i / 3, 0, i / 3))
2392
				end
2393
				ABSOLUTE.Transparency = 0
2394
				for i = 1, 10 do
2395
					Swait()
2396
					ABSOLUTE.Size = ABSOLUTE.Size * 0.9
2397
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
2398
				end
2399
				Debris:AddItem(ABSOLUTE, 5)
2400
				Swait(50)
2401
				for i = 1, 10 do
2402
					Swait()
2403
					for e = 1, #PITS do
2404
						if PITS[e] ~= nil then
2405
							local E = PITS[e]
2406
							E.Transparency = E.Transparency + 0.1
2407
						end
2408
					end
2409
				end
2410
				for e = 1, #PITS do
2411
					if PITS[e] ~= nil then
2412
						local E = PITS[e]
2413
						E:remove()
2414
					end
2415
				end
2416
			end))
2417
			ATTACK = false
2418
			Rooted = false
2419
		end
2420
	end
2421
end
2422
2423
function Governor_Bomb()
2424
	local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
2425
	local RAY = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "Laser01", VT(25, 25, 25))
2426
	RAY.Color = SKILLTEXTCOLOR
2427
	MakeForm(RAY, "Ball")
2428
	local ECH = Mouse.Hit.p
2429
	CENTER.CFrame = CF(Mouse.Hit.p)
2430
	RAY.CFrame = CENTER.CFrame
2431
	CreateSound("814168787", CENTER, 10, 0.6)
2432
	for i = 1, 80 do
2433
		Swait()
2434
		RAY.Size = RAY.Size * 0.98
2435
		RAY.Transparency = RAY.Transparency - 0.016666666666666666
2436
	end
2437
	killnearest(ECH, 25, 250)
2438
	MagicSphere(VT(1, 1, 1), 55, CF(ECH), SKILLTEXTCOLOR, VT(2, 2, 2))
2439
	MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
2440
	CreateSound("314970790", CENTER, 10, 1)
2441
	Debris:AddItem(CENTER, 5)
2442
	RAY:remove()
2443
end
2444
2445
function Smite()
2446
	local RING, MESH, DELET = MakeRing()
2447
	local POS = Mouse.Hit.p
2448
	RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
2449
	for i = 1, 45 do
2450
		Swait()
2451
		MESH.Scale = MESH.Scale + VT(12, 0, 12)
2452
		RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2453
	end
2454
	local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
2455
	if HITFLOOR then
2456
		local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
2457
		MakeForm(BEAM, "Cyl")
2458
		local DIST = (RING.Position - HITPOS).Magnitude
2459
		BEAM.Size = VT(0, DIST, 0)
2460
		BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
2461
		for i = 1, 5 do
2462
			WACKYEFFECT({
2463
				EffectType = "Wave",
2464
				Size = VT(25, 0, 25),
2465
				Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
2466
				Transparency = 0,
2467
				Transparency2 = 1,
2468
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2469
				MoveToPos = nil,
2470
				RotationX = 0,
2471
				RotationY = 3,
2472
				RotationZ = 0,
2473
				Material = "Neon",
2474
				Color = C3(1, 1, 1),
2475
				SoundID = nil,
2476
				SoundPitch = nil,
2477
				SoundVolume = nil
2478
			})
2479
			WACKYEFFECT({
2480
				EffectType = "Round Slash",
2481
				Size = VT(3, 0, 3) / 13,
2482
				Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
2483
				Transparency = 0,
2484
				Transparency2 = 1,
2485
				CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
2486
				MoveToPos = nil,
2487
				RotationX = 0,
2488
				RotationY = 0,
2489
				RotationZ = 0,
2490
				Material = "Neon",
2491
				Color = C3(1, 1, 1),
2492
				SoundID = nil,
2493
				SoundPitch = nil,
2494
				SoundVolume = nil
2495
			})
2496
			WACKYEFFECT({
2497
				Time = 35,
2498
				EffectType = "Sphere",
2499
				Size = VT(22, 22, 22),
2500
				Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
2501
				Transparency = 0,
2502
				Transparency2 = 1,
2503
				CFrame = CF(HITPOS),
2504
				MoveToPos = nil,
2505
				RotationX = 0,
2506
				RotationY = 0,
2507
				RotationZ = 0,
2508
				Material = "Neon",
2509
				Color = C3(1, 1, 1),
2510
				SoundID = 459523898,
2511
				SoundPitch = MRANDOM(9, 12) / 10,
2512
				SoundVolume = 10
2513
			})
2514
		end
2515
		SHAKECAM(HITPOS, 100, 8, 15)
2516
		ApplyAoE(HITPOS, 50)
2517
		for i = 1, 25 do
2518
			Swait()
2519
			BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
2520
			BEAM.Transparency = BEAM.Transparency + 0.04
2521
		end
2522
		BEAM:remove()
2523
	end
2524
	wait(0.2)
2525
	DELET()
2526
end
2527
2528
function Orbital_Devastor()
2529
	local HITBODIES = {}
2530
	local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
2531
	local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
2532
	CENTER.CFrame = CF(ECH)
2533
	local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(25, 99999, 25))
2534
	MakeForm(RAY, "Cyl")
2535
	local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Laser01", VT(28, 99999, 28))
2536
	MakeForm(RAY2, "Cyl")
2537
	RAY.CFrame = CF(ECH)
2538
	RAY2.CFrame = CF(ECH)
2539
	CreateSound("1368573150", CENTER, 10, 0.8)
2540
	for i = 1, 100 do
2541
		Swait()
2542
		RAY.Transparency = RAY.Transparency - 0.01
2543
		RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
2544
		RAY2.Transparency = RAY2.Transparency - 0.012
2545
		RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
2546
	end
2547
	for i = 1, 5 do
2548
		CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0))
2549
	end
2550
	RAY:remove()
2551
	RAY2:remove()
2552
	CreateSound("1368637781", CENTER, 10, 0.8)
2553
	MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really red", VT(8, 8, 8))
2554
	MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really black", VT(8, 8, 8))
2555
	Debris:AddItem(CENTER, 5)
2556
	CreateSound("414517163", CENTER, 10, 0.8)
2557
	for i = 1, 5 do
2558
		Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.5, 0, 0.5))
2559
	end
2560
	for e = 1, #HITBODIES do
2561
		if HITBODIES[e] ~= nil then
2562
			local BOD = HITBODIES[e]
2563
			local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2564
			if TORS then
2565
				BOD:BreakJoints()
2566
				for _, c in pairs(BOD:GetChildren()) do
2567
					if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2568
						local bv = Instance.new("BodyVelocity")
2569
						bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2570
						bv.velocity = CF(ECH, c.Position).lookVector * 250
2571
						bv.Parent = c
2572
						Debris:AddItem(bv, 0.2)
2573
					end
2574
				end
2575
			end
2576
		end
2577
	end
2578
end
2579
2580
function Savage_Fire()
2581
	ATTACK = true
2582
	Rooted = true
2583
	VALUE1 = true
2584
	local HITBODIES = {}
2585
	local VISUAL = CreatePart(3, Effects, "Glass", 0, 0.99, "Maroon", "Vibrations", VT(4, 4, 4))
2586
	MakeForm(VISUAL, "Ball")
2587
	VISUAL.CFrame = RootPart.CFrame
2588
	for i = 0, 1.2, 0.1 / Animation_Speed do
2589
		Swait()
2590
		VISUAL.Size = VISUAL.Size + VT(0.1, 0.1, 0.1)
2591
		VISUAL.Transparency = VISUAL.Transparency - 0.005
2592
		if MRANDOM(1, 2) == 1 then
2593
			do
2594
				local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Magic", VT(1, 1, 1) * MRANDOM(2, 35) / 10)
2595
				SPHERE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
2596
				MakeForm(SPHERE, "Ball")
2597
				coroutine.resume(coroutine.create(function()
2598
					for i = 1, 100 do
2599
						Swait()
2600
						SPHERE.CFrame = SPHERE.CFrame * CF(0, 0.3, 0)
2601
						SPHERE.Transparency = i / 100
2602
					end
2603
					SPHERE:remove()
2604
				end))
2605
			end
2606
		end
2607
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2608
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2609
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2610
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2611
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2612
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2613
	end
2614
	Character.Archivable = true
2615
	local X = 1 - VISUAL.Transparency
2616
	local ORIGINPOS = RootPart.Position
2617
	Transparency(1)
2618
	VALUE2 = true
2619
	RootPart.CFrame = CF(Mouse.Hit.p + VT(0, 5, 0), ORIGINPOS)
2620
	for i = 1, 50 do
2621
		Swait()
2622
		VISUAL.Transparency = VISUAL.Transparency + X / 50
2623
		VISUAL.Size = VISUAL.Size + VT(0.05, 0.05, 0.05)
2624
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2625
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2626
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2627
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2628
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2629
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2630
	end
2631
	VISUAL:remove()
2632
	coroutine.resume(coroutine.create(function()
2633
		local PITS = {}
2634
		local HITFLOOR, HITPOS, NORMAL = Raycast(CLONE.Torso.Position, CF(CLONE.Torso.Position, CLONE.Torso.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
2635
		MagicSphere(VT(0, 0, 0), 25, CF(CLONE.Torso.Position), "Really red", VT(2, 2, 2))
2636
		MagicSphere(VT(1, 1, 1), 55, CF(CLONE.Torso.Position), "Really black", VT(2, 2, 2))
2637
		if HITFLOOR ~= nil then
2638
			local POS = CLONE.Torso.Position
2639
			CLONE:remove()
2640
			for i = 1, 150 do
2641
				Swait()
2642
				local PEWSOUND = {
2643
					"907527750",
2644
					"907527912",
2645
					"907528019",
2646
					"907530553"
2647
				}
2648
				AddChildrenToTable(HITPOS, workspace, i, HITBODIES)
2649
				if MRANDOM(1, 2) == 1 then
2650
					local ICICLE = IT("CornerWedgePart", Effects)
2651
					ICICLE.Locked = true
2652
					ICICLE.CanCollide = false
2653
					ICICLE.Anchored = true
2654
					ICICLE.BrickColor = BRICKC("Really red")
2655
					ICICLE.Material = "Neon"
2656
					ICICLE.Size = VT(i / 10, i / 2, i / 10)
2657
					CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
2658
					ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 2, i / 2), 0, MRANDOM(-i / 2, i / 2)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
2659
					table.insert(PITS, ICICLE)
2660
					for e = 1, #HITBODIES do
2661
						if HITBODIES[e] ~= nil then
2662
							local BOD = HITBODIES[e]
2663
							local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
2664
							if TORS then
2665
								BOD:BreakJoints()
2666
								for _, c in pairs(BOD:GetChildren()) do
2667
									if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2668
										local bv = Instance.new("BodyVelocity")
2669
										bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2670
										bv.velocity = CF(POS, c.Position).lookVector * 250
2671
										bv.Parent = c
2672
										Debris:AddItem(bv, 0.2)
2673
									end
2674
								end
2675
							end
2676
						end
2677
					end
2678
					HITBODIES = {}
2679
				end
2680
			end
2681
			coroutine.resume(coroutine.create(function()
2682
				for i = 1, 10 do
2683
					Swait()
2684
					for e = 1, #PITS do
2685
						if PITS[e] ~= nil then
2686
							local E = PITS[e]
2687
							E.Transparency = E.Transparency + 0.1
2688
						end
2689
					end
2690
				end
2691
				for e = 1, #PITS do
2692
					if PITS[e] ~= nil then
2693
						local E = PITS[e]
2694
						E:remove()
2695
					end
2696
				end
2697
			end))
2698
		end
2699
	end))
2700
	VALUE2 = false
2701
	VALUE1 = false
2702
	ATTACK = false
2703
	Rooted = false
2704
	for i = 1, 10 do
2705
		Swait()
2706
		Transparency(1 - i / 10)
2707
	end
2708
end
2709
2710
function Blizzard()
2711
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2712
	if HITFLOOR ~= nil then
2713
		ATTACK = true
2714
		Rooted = true
2715
		local GYRO = IT("BodyGyro", RootPart)
2716
		GYRO.D = 100
2717
		GYRO.P = 2000
2718
		GYRO.MaxTorque = VT(0, 4000000, 0)
2719
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2720
		for i = 0, 3.5, 0.1 / Animation_Speed do
2721
			Swait()
2722
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1) / 2)
2723
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2724
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2725
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2726
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2727
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2728
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2729
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2730
		end
2731
		CreateSound("160772554", RightArm, 10, 0.7)
2732
		for i = 0, 0.15, 0.1 / Animation_Speed do
2733
			Swait()
2734
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1) / 2)
2735
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2736
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2737
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2738
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2739
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2740
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2741
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2742
		end
2743
		coroutine.resume(coroutine.create(function()
2744
			local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
2745
			CENTER.CFrame = RootPart.CFrame
2746
			for i = 1, 200 do
2747
				Swait()
2748
				CENTER.CFrame = CENTER.CFrame * CF(0, 0, -0.7)
2749
				for i = 1, 2 do
2750
					Slice("Round", 0, 45, CF(CENTER.Position + VT(0, MRANDOM(-15, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(5, 15) / 10)
2751
				end
2752
				freezenearest(CENTER.Position, 25)
2753
			end
2754
			CENTER:remove()
2755
		end))
2756
		for i = 0, 1, 0.1 / Animation_Speed do
2757
			Swait()
2758
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2759
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2760
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2761
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2762
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2763
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2764
		end
2765
		Rooted = true
2766
		GYRO:remove()
2767
		ATTACK = false
2768
		Rooted = false
2769
	end
2770
end
2771
function Sheer_Cold()
2772
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
2773
	if HITFLOOR ~= nil then
2774
		local HITBODIES = {}
2775
		ATTACK = true
2776
		Rooted = true
2777
		CreateSound("1225684085", RightArm, 10, 3)
2778
		for i = 1, 120 do
2779
			Swait()
2780
			Slice("Round", 0, 45, CF(RightArm.CFrame * CF(0, MRANDOM(-3, -2), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), "Pearl", VT(0.01, 0, 0.01) * MRANDOM(2, 3))
2781
			MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1))
2782
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2783
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2784
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2785
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2786
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2787
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2788
		end
2789
		CreateSound("160772554", RightArm, 10, 0.7)
2790
		for i = 1, 25 do
2791
			Swait()
2792
			freezenearest(RootPart.Position, 80)
2793
			Slice("Round", 0, 45, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3))
2794
			Slice("Thin", 0, 65, CF(RootPart.Position + VT(0, MRANDOM(-5, 15), 0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Pearl", VT(0.1, 0, 0.1) * MRANDOM(2, 3))
2795
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2796
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2797
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2798
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2799
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2800
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2801
		end
2802
		ATTACK = false
2803
		Rooted = false
2804
	end
2805
end
2806
2807
--//=================================\\
2808
--||	  ASSIGN THINGS TO KEYS
2809
--\\=================================//
2810
2811
function MouseDown(Mouse)
2812
	if ATTACK == false then
2813
	end
2814
end
2815
2816
function MouseUp(Mouse)
2817
HOLD = false
2818
end
2819
2820
function KeyDown(Key)
2821
	KEYHOLD = true
2822
	if Key == "z" and ATTACK == false then
2823
		Morning_Star()
2824
	end
2825
2826
	if Key == "n" and ATTACK == false then
2827
                Blizzard()
2828
	end
2829
2830
	if Key == "m" and ATTACK == false then
2831
                Sheer_Cold()
2832
	end
2833
2834
	if Key == "t" and ATTACK == false then
2835
                Taunt()
2836
	end
2837
2838
	if Key == "c" and ATTACK == false then
2839
                Shell()
2840
	end
2841
2842
	if Key == "b" and ATTACK == false then
2843
                Savage_Fire()
2844
	end
2845
2846
	if Key == "v" and ATTACK == false then
2847
                Orbital_Devastor()
2848
	end
2849
2850
	if Key == "q" and ATTACK == false then
2851
                Teleport()
2852
	end
2853
2854
	if Key == "e" and ATTACK == false then
2855
                G()
2856
	end
2857
2858
	if Key == "r" and ATTACK == false then
2859
                Ruler()
2860
	end
2861
2862
	if Key == "f" and ATTACK == false then
2863
                Governor_Bomb()
2864
	end
2865
2866
	if Key == "g" and ATTACK == false then
2867
                Smite()
2868
	end
2869
2870
	if Key == "p" and ATTACK == false then
2871
                 TakeOnMe()
2872
	end
2873
end
2874
2875
function KeyUp(Key)
2876
	KEYHOLD = false
2877
end
2878
2879
	Mouse.Button1Down:connect(function(NEWKEY)
2880
		MouseDown(NEWKEY)
2881
	end)
2882
	Mouse.Button1Up:connect(function(NEWKEY)
2883
		MouseUp(NEWKEY)
2884
	end)
2885
	Mouse.KeyDown:connect(function(NEWKEY)
2886
		KeyDown(NEWKEY)
2887
	end)
2888
	Mouse.KeyUp:connect(function(NEWKEY)
2889
		KeyUp(NEWKEY)
2890
	end)
2891
2892
--//=================================\\
2893
--\\=================================//
2894
2895
2896
function unanchor()
2897
	if UNANCHOR == true then
2898
		g = Character:GetChildren()
2899
		for i = 1, #g do
2900
			if g[i].ClassName == "Part" then
2901
				g[i].Anchored = false
2902
			end
2903
		end
2904
	end
2905
end
2906
2907
2908
--//=================================\\
2909
--||	WRAP THE WHOLE SCRIPT UP
2910
--\\=================================//
2911
2912
Humanoid.Changed:connect(function(Jump)
2913
	if Jump == "Jump" and (Disable_Jump == true) then
2914
		Humanoid.Jump = false
2915
	end
2916
end)
2917
2918
local CONNECT = nil
2919
2920
while true do
2921
	Swait()
2922
	ANIMATE.Parent = nil
2923
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2924
		Humanoid = IT("Humanoid",Character)
2925
	end
2926
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2927
	    v:Stop();
2928
	end
2929
	SINE = SINE + CHANGE
2930
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2931
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2932
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2933
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2934
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2935
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2936
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
2937
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2938
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2939
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2940
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2941
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2942
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2943
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2944
	end
2945
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2946
		ANIM = "Jump"
2947
		if ATTACK == false then
2948
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2949
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2950
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2951
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2952
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2953
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2954
	    end
2955
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2956
		ANIM = "Fall"
2957
		if ATTACK == false then
2958
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2959
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2960
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2961
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2962
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2963
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2964
		end
2965
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2966
		ANIM = "Idle"
2967
		if ATTACK == false then
2968
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2969
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2970
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2971
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2972
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2973
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2974
		end
2975
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2976
		ANIM = "Walk"
2977
		if ATTACK == false then
2978
            Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
2979
		    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2980
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2981
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2982
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2983
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2984
		end
2985
	end
2986
	unanchor()
2987
	Humanoid.MaxHealth = 1.0E298
2988
	Humanoid.Health = 1.0E298
2989
	if Rooted == false then
2990
		Disable_Jump = false
2991
		Humanoid.WalkSpeed = Speed
2992
	elseif Rooted == true then
2993
		Disable_Jump = true
2994
		Humanoid.WalkSpeed = 0
2995
	end
2996
	sick.Parent = Torso
2997
	sick:resume()
2998
	sick.Volume = 0.3
2999
	sick.Pitch = 1
3000
	sick.SoundId = "rbxassetid://1547875818"
3001
	sick.Name = "MAD"
3002
end
3003
3004
--//=================================\\
3005
--\\=================================//
3006
3007
3008
3009
3010
3011
--//====================================================\\--
3012
--||			  		 END OF SCRIPT
3013
--\\====================================================//--