View difference between Paste ID: C52UnFxq and Ebc2uyD4
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
 
3
local Player,game,owner = owner,game
4
 
5
local RealPlayer = Player
6
 
7
do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
8
9
wait(0.2)
10
11
function sandbox(var,func)
12
	local env = getfenv(func)
13
	local newenv = setmetatable({},{
14
		__index = function(self,k)
15
			if k=="script" then
16
				return var
17
			else
18
				return env[k]
19
			end
20
		end,
21
	})
22
	setfenv(func,newenv)
23
	return func
24
end
25
cors = {}
26
mas = Instance.new("Model",game:GetService("Lighting"))
27
Sky0 = Instance.new("Sky")
28
Sky0.Parent = mas
29
Sky0.CelestialBodiesShown = false
30
Sky0.SkyboxBk = "rbxassetid://12064107"
31
Sky0.SkyboxDn = "rbxassetid://12064152"
32
Sky0.SkyboxFt = "rbxassetid://12064121"
33
Sky0.SkyboxLf = "rbxassetid://12063984"
34
Sky0.SkyboxRt = "rbxassetid://12064115"
35
Sky0.SkyboxUp = "rbxassetid://12064131"
36
for i,v in pairs(mas:GetChildren()) do
37
	v.Parent = game:GetService("Lighting")
38
	pcall(function() v:MakeJoints() end)
39
end
40
mas:Destroy()
41
for i,v in pairs(cors) do
42
	spawn(function()
43
		pcall(v)
44
	end)
45
end
46
47
wait(0.2)
48
49
Player = game:GetService("Players").LocalPlayer
50
PlayerGui = Player.PlayerGui
51
Cam = workspace.CurrentCamera
52
Backpack = Player.Backpack
53
Character = Player.Character
54
Humanoid = Character.Humanoid
55
Mouse = Player:GetMouse()
56
RootPart = Character["HumanoidRootPart"]
57
Torso = Character["Torso"]
58
Head = Character["Head"]
59
RightArm = Character["Right Arm"]
60
LeftArm = Character["Left Arm"]
61
RightLeg = Character["Right Leg"]
62
LeftLeg = Character["Left Leg"]
63
RootJoint = RootPart["RootJoint"]
64
Neck = Torso["Neck"]
65
RightShoulder = Torso["Right Shoulder"]
66
LeftShoulder = Torso["Left Shoulder"]
67
RightHip = Torso["Right Hip"]
68
LeftHip = Torso["Left Hip"]
69
local TIME = 0
70
local sick = Instance.new("Sound",Torso)
71
72
IT = Instance.new
73
CF = CFrame.new
74
VT = Vector3.new
75
RAD = math.rad
76
C3 = Color3.new
77
UD2 = UDim2.new
78
BRICKC = BrickColor.new
79
ANGLES = CFrame.Angles
80
EULER = CFrame.fromEulerAnglesXYZ
81
COS = math.cos
82
ACOS = math.acos
83
SIN = math.sin
84
ASIN = math.asin
85
ABS = math.abs
86
MRANDOM = math.random
87
FLOOR = math.floor
88
89
--//=================================\\
90
--|| 	      USEFUL VALUES
91
--\\=================================//
92
93
Animation_Speed = 3
94
local FORCERESET = false
95
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
96
local Speed = 16
97
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
98
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
99
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
100
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
101
local DAMAGEMULTIPLIER = 1
102
local ANIM = "Idle"
103
local ATTACK = false
104
local EQUIPPED = false
105
local HOLD = false
106
local COMBO = 1
107
local Rooted = false
108
local SINE = 0
109
local KEYHOLD = false
110
local CHANGE = 2 / Animation_Speed
111
local WALKINGANIM = false
112
local VALUE1 = false
113
local VALUE2 = false
114
local ROBLOXIDLEANIMATION = IT("Animation")
115
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
116
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
117
--ROBLOXIDLEANIMATION.Parent = Humanoid
118
local WEAPONGUI = IT("ScreenGui", PlayerGui)
119
WEAPONGUI.Name = "BanishV3Gui"
120
local Weapon = IT("Model")
121
Weapon.Name = "Adds"
122
local Effects = IT("Folder", Weapon)
123
Effects.Name = "Effects"
124
local Gun = IT("Model")
125
Gun.Name = "Gun"
126
local ANIMATOR = Humanoid.Animator
127
local ANIMATE = Character:FindFirstChild("Animate")
128
local UNANCHOR = true
129
local TOBANISH = {}
130
script.Parent = PlayerGui
131
local Boost = false
132
local Player_Size = 1
133
local SIZE = 1
134
local WHITELIST = {}
135
local Milk = false
136
local VIS = 243281095
137
local VOLUME = 1
138
local PITCH = 1
139
local INSTANT = false
140
local INTRO = false
141
local Chill = false
142
local Mode = "idk"
143
144
	VIS = 1138145518
145
	VOLUME = 1.5
146
	PITCH = 1
147
148
--//=================================\\
149
--\\=================================//
150
151
152
--//=================================\\
153
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
154
--\\=================================//
155
156
ArtificialHB = Instance.new("BindableEvent", script)
157
ArtificialHB.Name = "ArtificialHB"
158
159
script:WaitForChild("ArtificialHB")
160
161
frame = Frame_Speed
162
tf = 0
163
allowframeloss = false
164
tossremainder = false
165
lastframe = tick()
166
script.ArtificialHB:Fire()
167
168
game:GetService("RunService").Heartbeat:connect(function(s, p)
169
	tf = tf + s
170
	if tf >= frame then
171
		if allowframeloss then
172
			script.ArtificialHB:Fire()
173
			lastframe = tick()
174
		else
175
			for i = 1, math.floor(tf / frame) do
176
				script.ArtificialHB:Fire()
177
			end
178
		lastframe = tick()
179
		end
180
		if tossremainder then
181
			tf = 0
182
		else
183
			tf = tf - frame * math.floor(tf / frame)
184
		end
185
	end
186
end)
187
188
--//=================================\\
189
--\\=================================//
190
191
--//=================================\\
192
--|| 	      SOME FUNCTIONS
193
--\\=================================//
194
195
Debris = game:GetService("Debris")
196
197
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
198
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
199
end
200
201
function PositiveAngle(NUMBER)
202
	if NUMBER >= 0 then
203
		NUMBER = 0
204
	end
205
	return NUMBER
206
end
207
208
function NegativeAngle(NUMBER)
209
	if NUMBER <= 0 then
210
		NUMBER = 0
211
	end
212
	return NUMBER
213
end
214
215
function Swait(NUMBER)
216
	if NUMBER == 0 or NUMBER == nil then
217
		ArtificialHB.Event:wait()
218
	else
219
		for i = 1, NUMBER do
220
			ArtificialHB.Event:wait()
221
		end
222
	end
223
end
224
225
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
226
	local NEWMESH = IT(MESH)
227
	if MESH == "SpecialMesh" then
228
		NEWMESH.MeshType = MESHTYPE
229
		if MESHID ~= "nil" and MESHID ~= "" then
230
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
231
		end
232
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
233
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
234
		end
235
	end
236
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
237
	NEWMESH.Scale = SCALE
238
	NEWMESH.Parent = PARENT
239
	return NEWMESH
240
end
241
242
local Create = LoadLibrary("RbxUtility").Create
243
244
function RemoveOutlines(part)
245
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
246
end
247
248
CFuncs = {	
249
	["Part"] = {
250
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
251
			local Part = Create("Part"){
252
				Parent = Parent,
253
				Reflectance = Reflectance,
254
				Transparency = Transparency,
255
				CanCollide = false,
256
				Locked = true,
257
				BrickColor = BrickColor.new(tostring(BColor)),
258
				Name = Name,
259
				Size = Size,
260
				Material = Material,
261
			}
262
			RemoveOutlines(Part)
263
			return Part
264
		end;
265
	};
266
	
267
	["Mesh"] = {
268
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
269
			local Msh = Create(Mesh){
270
				Parent = Part,
271
				Offset = OffSet,
272
				Scale = Scale,
273
			}
274
			if Mesh == "SpecialMesh" then
275
				Msh.MeshType = MeshType
276
				Msh.MeshId = MeshId
277
			end
278
			return Msh
279
		end;
280
	};
281
	
282
	["Mesh"] = {
283
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
284
			local Msh = Create(Mesh){
285
				Parent = Part,
286
				Offset = OffSet,
287
				Scale = Scale,
288
			}
289
			if Mesh == "SpecialMesh" then
290
				Msh.MeshType = MeshType
291
				Msh.MeshId = MeshId
292
			end
293
			return Msh
294
		end;
295
	};
296
	
297
	["Weld"] = {
298
		Create = function(Parent, Part0, Part1, C0, C1)
299
			local Weld = Create("Weld"){
300
				Parent = Parent,
301
				Part0 = Part0,
302
				Part1 = Part1,
303
				C0 = C0,
304
				C1 = C1,
305
			}
306
			return Weld
307
		end;
308
	};
309
310
	["Sound"] = {
311
		Create = function(id, par, vol, pit) 
312
			coroutine.resume(coroutine.create(function()
313
				local S = Create("Sound"){
314
					Volume = vol,
315
                                        Name = "EffectSoundo",
316
					Pitch = pit or 1,
317
					SoundId = id,
318
					Parent = par or workspace,
319
				}
320
				wait() 
321
				S:play() 
322
				game:GetService("Debris"):AddItem(S, 10)
323
			end))
324
		end;
325
	};
326
327
	["TimeSound"] = {
328
		Create = function(id, par, vol, pit, timepos) 
329
			coroutine.resume(coroutine.create(function()
330
				local S = Create("Sound"){
331
					Volume = vol,
332
                                        Name = "EffectSoundo",
333
					Pitch = pit or 1,
334
					SoundId = id,
335
                                        TimePosition = timepos,
336
					Parent = par or workspace,
337
				}
338
				wait() 
339
				S:play() 
340
				game:GetService("Debris"):AddItem(S, 10)
341
			end))
342
		end;
343
	};
344
		["EchoSound"] = {
345
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
346
			coroutine.resume(coroutine.create(function()
347
				local Sas = Create("Sound"){
348
					Volume = vol,
349
                    Name = "EffectSoundo",
350
					Pitch = pit or 1,
351
					SoundId = id,
352
                    TimePosition = timepos,
353
					Parent = par or workspace,
354
				}
355
				local E = Create("EchoSoundEffect"){
356
					Delay = echodelay,
357
                    Name = "Echo",
358
					Feedback = fedb,
359
                    DryLevel = dryl,
360
					Parent = Sas,
361
				}
362
				wait() 
363
				Sas:play() 
364
				game:GetService("Debris"):AddItem(Sas, delays)
365
			end))
366
		end;
367
	};
368
369
["LongSound"] = {
370
		Create = function(id, par, vol, pit) 
371
			coroutine.resume(coroutine.create(function()
372
				local S = Create("Sound"){
373
					Volume = vol,
374
					Pitch = pit or 1,
375
					SoundId = id,
376
					Parent = par or workspace,
377
				}
378
				wait() 
379
				S:play() 
380
				game:GetService("Debris"):AddItem(S, 60)
381
			end))
382
		end;
383
	};
384
	
385
	["ParticleEmitter"] = {
386
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
387
			local fp = Create("ParticleEmitter"){
388
				Parent = Parent,
389
				Color = ColorSequence.new(Color1, Color2),
390
				LightEmission = LightEmission,
391
				Size = Size,
392
				Texture = Texture,
393
				Transparency = Transparency,
394
				ZOffset = ZOffset,
395
				Acceleration = Accel,
396
				Drag = Drag,
397
				LockedToPart = LockedToPart,
398
				VelocityInheritance = VelocityInheritance,
399
				EmissionDirection = EmissionDirection,
400
				Enabled = Enabled,
401
				Lifetime = LifeTime,
402
				Rate = Rate,
403
				Rotation = Rotation,
404
				RotSpeed = RotSpeed,
405
				Speed = Speed,
406
				VelocitySpread = VelocitySpread,
407
			}
408
			return fp
409
		end;
410
	};
411
412
	CreateTemplate = {
413
	
414
	};
415
}
416
417
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
418
	local NEWPART = IT("Part")
419
	NEWPART.formFactor = FORMFACTOR
420
	NEWPART.Reflectance = REFLECTANCE
421
	NEWPART.Transparency = TRANSPARENCY
422
	NEWPART.CanCollide = false
423
	NEWPART.Locked = true
424
	NEWPART.Anchored = true
425
	if ANCHOR == false then
426
		NEWPART.Anchored = false
427
	end
428
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
429
	NEWPART.Name = NAME
430
	NEWPART.Size = SIZE
431
	NEWPART.Position = Torso.Position
432
	NEWPART.Material = MATERIAL
433
	NEWPART:BreakJoints()
434
	NEWPART.Parent = PARENT
435
	return NEWPART
436
end
437
438
	local function weldBetween(a, b)
439
	    local weldd = Instance.new("ManualWeld")
440
	    weldd.Part0 = a
441
	    weldd.Part1 = b
442
	    weldd.C0 = CFrame.new()
443
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
444
	    weldd.Parent = a
445
	    return weldd
446
	end
447
448
449
function QuaternionFromCFrame(cf)
450
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
451
	local trace = m00 + m11 + m22
452
	if trace > 0 then 
453
		local s = math.sqrt(1 + trace)
454
		local recip = 0.5 / s
455
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
456
	else
457
		local i = 0
458
		if m11 > m00 then
459
			i = 1
460
		end
461
		if m22 > (i == 0 and m00 or m11) then
462
			i = 2
463
		end
464
		if i == 0 then
465
			local s = math.sqrt(m00 - m11 - m22 + 1)
466
			local recip = 0.5 / s
467
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
468
		elseif i == 1 then
469
			local s = math.sqrt(m11 - m22 - m00 + 1)
470
			local recip = 0.5 / s
471
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
472
		elseif i == 2 then
473
			local s = math.sqrt(m22 - m00 - m11 + 1)
474
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
475
		end
476
	end
477
end
478
 
479
function QuaternionToCFrame(px, py, pz, x, y, z, w)
480
	local xs, ys, zs = x + x, y + y, z + z
481
	local wx, wy, wz = w * xs, w * ys, w * zs
482
	local xx = x * xs
483
	local xy = x * ys
484
	local xz = x * zs
485
	local yy = y * ys
486
	local yz = y * zs
487
	local zz = z * zs
488
	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))
489
end
490
 
491
function QuaternionSlerp(a, b, t)
492
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
493
	local startInterp, finishInterp;
494
	if cosTheta >= 0.0001 then
495
		if (1 - cosTheta) > 0.0001 then
496
			local theta = ACOS(cosTheta)
497
			local invSinTheta = 1 / SIN(theta)
498
			startInterp = SIN((1 - t) * theta) * invSinTheta
499
			finishInterp = SIN(t * theta) * invSinTheta
500
		else
501
			startInterp = 1 - t
502
			finishInterp = t
503
		end
504
	else
505
		if (1 + cosTheta) > 0.0001 then
506
			local theta = ACOS(-cosTheta)
507
			local invSinTheta = 1 / SIN(theta)
508
			startInterp = SIN((t - 1) * theta) * invSinTheta
509
			finishInterp = SIN(t * theta) * invSinTheta
510
		else
511
			startInterp = t - 1
512
			finishInterp = t
513
		end
514
	end
515
	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
516
end
517
518
function Clerp(a, b, t)
519
	local qa = {QuaternionFromCFrame(a)}
520
	local qb = {QuaternionFromCFrame(b)}
521
	local ax, ay, az = a.x, a.y, a.z
522
	local bx, by, bz = b.x, b.y, b.z
523
	local _t = 1 - t
524
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
525
end
526
527
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
528
	local frame = IT("Frame")
529
	frame.BackgroundTransparency = TRANSPARENCY
530
	frame.BorderSizePixel = BORDERSIZEPIXEL
531
	frame.Position = POSITION
532
	frame.Size = SIZE
533
	frame.BackgroundColor3 = COLOR
534
	frame.BorderColor3 = BORDERCOLOR
535
	frame.Name = NAME
536
	frame.Parent = PARENT
537
	return frame
538
end
539
540
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
541
	local label = IT("TextLabel")
542
	label.BackgroundTransparency = 1
543
	label.Size = UD2(1, 0, 1, 0)
544
	label.Position = UD2(0, 0, 0, 0)
545
	label.TextColor3 = TEXTCOLOR
546
	label.TextStrokeTransparency = STROKETRANSPARENCY
547
	label.TextTransparency = TRANSPARENCY
548
	label.FontSize = TEXTFONTSIZE
549
	label.Font = TEXTFONT
550
	label.BorderSizePixel = BORDERSIZEPIXEL
551
	label.TextScaled = false
552
	label.Text = TEXT
553
	label.Name = NAME
554
	label.Parent = PARENT
555
	return label
556
end
557
558
function NoOutlines(PART)
559
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
560
end
561
562
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
563
	local NEWWELD = IT(TYPE)
564
	NEWWELD.Part0 = PART0
565
	NEWWELD.Part1 = PART1
566
	NEWWELD.C0 = C0
567
	NEWWELD.C1 = C1
568
	NEWWELD.Parent = PARENT
569
	return NEWWELD
570
end
571
572
local S = IT("Sound")
573
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
574
	local NEWSOUND = nil
575
	coroutine.resume(coroutine.create(function()
576
		NEWSOUND = S:Clone()
577
		NEWSOUND.Parent = PARENT
578
		NEWSOUND.Volume = VOLUME
579
		NEWSOUND.Pitch = PITCH
580
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
581
		NEWSOUND:play()
582
		if DOESLOOP == true then
583
			NEWSOUND.Looped = true
584
		else
585
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
586
			NEWSOUND:remove()
587
		end
588
	end))
589
	return NEWSOUND
590
end
591
592
function CFrameFromTopBack(at, top, back)
593
	local right = top:Cross(back)
594
	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)
595
end
596
597
--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})
598
function WACKYEFFECT(Table)
599
	local TYPE = (Table.EffectType or "Sphere")
600
	local SIZE = (Table.Size or VT(1,1,1))
601
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
602
	local TRANSPARENCY = (Table.Transparency or 0)
603
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
604
	local CFRAME = (Table.CFrame or Torso.CFrame)
605
	local MOVEDIRECTION = (Table.MoveToPos or nil)
606
	local ROTATION1 = (Table.RotationX or 0)
607
	local ROTATION2 = (Table.RotationY or 0)
608
	local ROTATION3 = (Table.RotationZ or 0)
609
	local MATERIAL = (Table.Material or "Neon")
610
	local COLOR = (Table.Color or C3(1,1,1))
611
	local TIME = (Table.Time or 45)
612
	local SOUNDID = (Table.SoundID or nil)
613
	local SOUNDPITCH = (Table.SoundPitch or nil)
614
	local SOUNDVOLUME = (Table.SoundVolume or nil)
615
	coroutine.resume(coroutine.create(function()
616
		local PLAYSSOUND = false
617
		local SOUND = nil
618
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
619
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
620
			PLAYSSOUND = true
621
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
622
		end
623
		EFFECT.Color = COLOR
624
		local MSH = nil
625
		if TYPE == "Sphere" then
626
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
627
		elseif TYPE == "Block" then
628
			MSH = IT("BlockMesh",EFFECT)
629
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
630
		elseif TYPE == "Wave" then
631
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
632
		elseif TYPE == "Ring" then
633
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
634
		elseif TYPE == "Slash" then
635
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
636
		elseif TYPE == "Round Slash" then
637
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
638
		elseif TYPE == "Swirl" then
639
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
640
		elseif TYPE == "Skull" then
641
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
642
		elseif TYPE == "Crystal" then
643
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
644
		end
645
		if MSH ~= nil then
646
			local MOVESPEED = nil
647
			if MOVEDIRECTION ~= nil then
648
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
649
			end
650
			local GROWTH = SIZE - ENDSIZE
651
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
652
			if TYPE == "Block" then
653
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
654
			else
655
				EFFECT.CFrame = CFRAME
656
			end
657
			for LOOP = 1, TIME+1 do
658
				Swait()
659
				MSH.Scale = MSH.Scale - GROWTH/TIME
660
				if TYPE == "Wave" then
661
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
662
				end
663
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
664
				if TYPE == "Block" then
665
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
666
				else
667
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
668
				end
669
				if MOVEDIRECTION ~= nil then
670
					local ORI = EFFECT.Orientation
671
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
672
					EFFECT.Orientation = ORI
673
				end
674
			end
675
			if PLAYSSOUND == false then
676
				EFFECT:remove()
677
			else
678
				SOUND.Stopped:Connect(function()
679
					EFFECT:remove()
680
				end)
681
			end
682
		else
683
			if PLAYSSOUND == false then
684
				EFFECT:remove()
685
			else
686
				repeat Swait() until SOUND.Playing == false
687
				EFFECT:remove()
688
			end
689
		end
690
	end))
691
end
692
693
function MakeForm(PART,TYPE)
694
	if TYPE == "Cyl" then
695
		local MSH = IT("CylinderMesh",PART)
696
	elseif TYPE == "Ball" then
697
		local MSH = IT("SpecialMesh",PART)
698
		MSH.MeshType = "Sphere"
699
	elseif TYPE == "Wedge" then
700
		local MSH = IT("SpecialMesh",PART)
701
		MSH.MeshType = "Wedge"
702
	end
703
end
704
705
function SpawnTrail(FROM,TO,BIG)
706
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
707
	MakeForm(TRAIL,"Cyl")
708
	local DIST = (FROM - TO).Magnitude
709
	if BIG == true then
710
		TRAIL.Size = VT(0.5,DIST,0.5)
711
	else
712
		TRAIL.Size = VT(0.25,DIST,0.25)
713
	end
714
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
715
	coroutine.resume(coroutine.create(function()
716
		for i = 1, 5 do
717
			Swait()
718
			TRAIL.Transparency = TRAIL.Transparency + 0.1
719
		end
720
		TRAIL:remove()
721
	end))
722
end
723
724
function CastProperRay(StartPos, EndPos, Distance, Ignore)
725
	local DIRECTION = CF(StartPos,EndPos).lookVector
726
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
727
end
728
729
function turnto(position)
730
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
731
end
732
733
function CreateParta(parent,transparency,reflectance,material,brickcolor)
734
local p = Instance.new("Part")
735
p.TopSurface = 0
736
p.BottomSurface = 0
737
p.Parent = parent
738
p.Size = Vector3.new(0.1,0.1,0.1)
739
p.Transparency = transparency
740
p.Reflectance = reflectance
741
p.CanCollide = false
742
p.Locked = true
743
p.BrickColor = brickcolor
744
p.Material = material
745
return p
746
end
747
748
function sphere(bonuspeed,type,pos,scale,value,color)
749
local type = type
750
local rng = Instance.new("Part", Character)
751
        rng.Anchored = true
752
if ModeOfGlitch ~= 9 then
753
        rng.BrickColor = color
754
elseif ModeOfGlitch == 9 then
755
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
756
end
757
        rng.CanCollide = false
758
        rng.FormFactor = 3
759
        rng.Name = "Ring"
760
        rng.Material = "Neon"
761
        rng.Size = Vector3.new(1, 1, 1)
762
        rng.Transparency = 0
763
        rng.TopSurface = 0
764
        rng.BottomSurface = 0
765
        rng.CFrame = pos
766
        local rngm = Instance.new("SpecialMesh", rng)
767
        rngm.MeshType = "Sphere"
768
rngm.Scale = scale
769
if rainbowmode == true then
770
rng.Color = Color3.new(r/255,g/255,b/255)
771
end
772
if ModeOfGlitch == 9 then
773
coroutine.resume(coroutine.create(function()
774
while true do
775
Swait()
776
if rng.Parent ~= nil then
777
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
778
else
779
break
780
end
781
end
782
end))
783
end
784
local scaler2 = 1
785
if type == "Add" then
786
scaler2 = 1*value
787
elseif type == "Divide" then
788
scaler2 = 1/value
789
end
790
coroutine.resume(coroutine.create(function()
791
for i = 0,10/bonuspeed,0.1 do
792
Swait()
793
if rainbowmode == true then
794
rng.Color = Color3.new(r/255,g/255,b/255)
795
end
796
if type == "Add" then
797
scaler2 = scaler2 - 0.01*value/bonuspeed
798
elseif type == "Divide" then
799
scaler2 = scaler2 - 0.01/value*bonuspeed
800
end
801
if chaosmode == true then
802
rng.BrickColor = BrickColor.random()
803
end
804
rng.Transparency = rng.Transparency + 0.01*bonuspeed
805
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
806
end
807
rng:Destroy()
808
end))
809
end
810
811
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
812
local type = type
813
local rng = Instance.new("Part", Character)
814
        rng.Anchored = true
815
if ModeOfGlitch ~= 9 then
816
        rng.BrickColor = color
817
elseif ModeOfGlitch == 9 then
818
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
819
end
820
        rng.CanCollide = false
821
        rng.FormFactor = 3
822
        rng.Name = "Ring"
823
        rng.Material = "Neon"
824
        rng.Size = Vector3.new(1, 1, 1)
825
        rng.Transparency = 0
826
        rng.TopSurface = 0
827
        rng.BottomSurface = 0
828
        rng.CFrame = pos
829
        local rngm = Instance.new("SpecialMesh", rng)
830
        rngm.MeshType = "Sphere"
831
rngm.Scale = scale
832
local scaler2 = 1
833
local scaler2b = 1
834
local scaler2c = 1
835
if type == "Add" then
836
scaler2 = 1*value
837
scaler2b = 1*value2
838
scaler2c = 1*value3
839
elseif type == "Divide" then
840
scaler2 = 1/value
841
scaler2b = 1/value2
842
scaler2c = 1/value3
843
end
844
if ModeOfGlitch == 9 then
845
coroutine.resume(coroutine.create(function()
846
while true do
847
Swait()
848
if rng.Parent ~= nil then
849
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
850
else
851
break
852
end
853
end
854
end))
855
end
856
coroutine.resume(coroutine.create(function()
857
for i = 0,10/bonuspeed,0.1 do
858
Swait()
859
if type == "Add" then
860
scaler2 = scaler2 - 0.01*value/bonuspeed
861
scaler2b = scaler2b - 0.01*value/bonuspeed
862
scaler2c = scaler2c - 0.01*value/bonuspeed
863
elseif type == "Divide" then
864
scaler2 = scaler2 - 0.01/value*bonuspeed
865
scaler2b = scaler2b - 0.01/value*bonuspeed
866
scaler2c = scaler2c - 0.01/value*bonuspeed
867
end
868
rng.Transparency = rng.Transparency + 0.01*bonuspeed
869
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
870
end
871
rng:Destroy()
872
end))
873
end
874
875
function CreateMesh2(parent,meshtype,x1,y1,z1)
876
local mesh = Instance.new("SpecialMesh",parent)
877
mesh.MeshType = meshtype
878
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
879
return mesh
880
end
881
882
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
883
local type = type
884
local rng = Instance.new("Part", Character)
885
        rng.Anchored = true
886
if ModeOfGlitch ~= 9 then
887
        rng.BrickColor = color
888
elseif ModeOfGlitch == 9 then
889
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
890
end
891
        rng.CanCollide = false
892
        rng.FormFactor = 3
893
        rng.Name = "Ring"
894
        rng.Material = "Neon"
895
        rng.Size = Vector3.new(1, 1, 1)
896
        rng.Transparency = 0
897
        rng.TopSurface = 0
898
        rng.BottomSurface = 0
899
        rng.CFrame = pos
900
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
901
        local rngm = Instance.new("SpecialMesh", rng)
902
        rngm.MeshType = "Sphere"
903
rngm.Scale = VT(x1,y1,z1)
904
if rainbowmode == true then
905
rng.Color = Color3.new(r/255,g/255,b/255)
906
end
907
if ModeOfGlitch == 9 then
908
coroutine.resume(coroutine.create(function()
909
while true do
910
Swait()
911
if rng.Parent ~= nil then
912
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
913
else
914
break
915
end
916
end
917
end))
918
end
919
local scaler2 = 1
920
local speeder = FastSpeed
921
if type == "Add" then
922
scaler2 = 1*value
923
elseif type == "Divide" then
924
scaler2 = 1/value
925
end
926
coroutine.resume(coroutine.create(function()
927
for i = 0,10/bonuspeed,0.1 do
928
Swait()
929
if rainbowmode == true then
930
rng.Color = Color3.new(r/255,g/255,b/255)
931
end
932
if type == "Add" then
933
scaler2 = scaler2 - 0.01*value/bonuspeed
934
elseif type == "Divide" then
935
scaler2 = scaler2 - 0.01/value*bonuspeed
936
end
937
if chaosmode == true then
938
rng.BrickColor = BrickColor.random()
939
end
940
speeder = speeder - 0.01*FastSpeed*bonuspeed
941
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
942
rng.Transparency = rng.Transparency + 0.01*bonuspeed
943
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
944
end
945
rng:Destroy()
946
end))
947
end
948
949
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
950
local type = type
951
local rng = Instance.new("Part", char)
952
        rng.Anchored = true
953
if ModeOfGlitch ~= 9 then
954
        rng.BrickColor = color
955
elseif ModeOfGlitch == 9 then
956
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
957
end
958
        rng.CanCollide = false
959
        rng.FormFactor = 3
960
        rng.Name = "Ring"
961
        rng.Material = "Neon"
962
        rng.Size = Vector3.new(1, 1, 1)
963
        rng.Transparency = 1
964
        rng.TopSurface = 0
965
        rng.BottomSurface = 0
966
        rng.CFrame = pos
967
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
968
        local rngm = Instance.new("SpecialMesh", rng)
969
        rngm.MeshType = "Sphere"
970
rngm.Scale = vt(x1,y1,z1)
971
if rainbowmode == true then
972
rng.Color = Color3.new(r/255,g/255,b/255)
973
end
974
if ModeOfGlitch == 9 then
975
coroutine.resume(coroutine.create(function()
976
while true do
977
swait()
978
if rng.Parent ~= nil then
979
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
980
else
981
break
982
end
983
end
984
end))
985
end
986
local scaler2 = 1
987
local speeder = FastSpeed
988
if type == "Add" then
989
scaler2 = 1*value
990
elseif type == "Divide" then
991
scaler2 = 1/value
992
end
993
coroutine.resume(coroutine.create(function()
994
for i = 0,10/bonuspeed,0.1 do
995
swait()
996
if rainbowmode == true then
997
rng.Color = Color3.new(r/255,g/255,b/255)
998
end
999
if type == "Add" then
1000
scaler2 = scaler2 - 0.01*value/bonuspeed
1001
elseif type == "Divide" then
1002
scaler2 = scaler2 - 0.01/value*bonuspeed
1003
end
1004
if chaosmode == true then
1005
rng.BrickColor = BrickColor.random()
1006
end
1007
speeder = speeder - 0.01*FastSpeed*bonuspeed
1008
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1009
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1010
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
1011
end
1012
rng:Destroy()
1013
end))
1014
end
1015
1016
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
1017
local type = type
1018
local rotenable = rotatingop
1019
local rng = Instance.new("Part", Character)
1020
        rng.Anchored = true
1021
        rng.BrickColor = color
1022
        rng.CanCollide = false
1023
        rng.FormFactor = 3
1024
        rng.Name = "Ring"
1025
        rng.Material = "Neon"
1026
        rng.Size = Vector3.new(1, 1, 1)
1027
        rng.Transparency = 0
1028
if typeoftrans == "In" then
1029
rng.Transparency = 1
1030
end
1031
        rng.TopSurface = 0
1032
        rng.BottomSurface = 0
1033
        rng.CFrame = pos
1034
        local rngm = Instance.new("SpecialMesh", rng)
1035
        rngm.MeshType = "FileMesh"
1036
if typeofshape == "Normal" then
1037
rngm.MeshId = "rbxassetid://662586858"
1038
elseif typeofshape == "Round" then
1039
rngm.MeshId = "rbxassetid://662585058"
1040
end
1041
rngm.Scale = scale
1042
local scaler2 = 1/10
1043
if type == "Add" then
1044
scaler2 = 1*value/10
1045
elseif type == "Divide" then
1046
scaler2 = 1/value/10
1047
end
1048
local randomrot = math.random(1,2)
1049
coroutine.resume(coroutine.create(function()
1050
for i = 0,10/bonuspeed,0.1 do
1051
Swait()
1052
if type == "Add" then
1053
scaler2 = scaler2 - 0.01*value/bonuspeed/10
1054
elseif type == "Divide" then
1055
scaler2 = scaler2 - 0.01/value*bonuspeed/10
1056
end
1057
if rotenable == true then
1058
if randomrot == 1 then
1059
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
1060
elseif randomrot == 2 then
1061
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
1062
end
1063
end
1064
if typeoftrans == "Out" then
1065
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1066
elseif typeoftrans == "In" then
1067
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1068
end
1069
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
1070
end
1071
rng:Destroy()
1072
end))
1073
end
1074
1075
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
1076
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1077
	local mesh = IT("SpecialMesh",wave)
1078
	mesh.MeshType = "FileMesh"
1079
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
1080
	mesh.Scale = SIZE
1081
	mesh.Offset = VT(0,0,0)
1082
	wave.CFrame = CFRAME
1083
	coroutine.resume(coroutine.create(function(PART)
1084
		for i = 1, WAIT do
1085
			Swait()
1086
			mesh.Scale = mesh.Scale + GROW
1087
			if DOESROT == true then
1088
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1089
			end
1090
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1091
			if wave.Transparency > 0.99 then
1092
				wave:remove()
1093
			end
1094
		end
1095
	end))
1096
end
1097
1098
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1099
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1100
	local mesh = IT("SpecialMesh",wave)
1101
	mesh.MeshType = "Sphere"
1102
	mesh.Scale = SIZE
1103
	mesh.Offset = VT(0,0,0)
1104
	wave.CFrame = CFRAME
1105
	coroutine.resume(coroutine.create(function(PART)
1106
		for i = 1, WAIT do
1107
			Swait()
1108
			mesh.Scale = mesh.Scale + GROW
1109
			wave.Transparency = wave.Transparency + (1/WAIT)
1110
			if wave.Transparency > 0.99 then
1111
				wave:remove()
1112
			end
1113
		end
1114
	end))
1115
end
1116
1117
1118
--//=================================\\
1119
--||	     WEAPON CREATION
1120
--\\=================================//
1121
1122
function WarnFunc(text)
1123
	local chat = coroutine.wrap(function()
1124
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1125
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1126
	end
1127
	local Bill = Instance.new("BillboardGui",Character)
1128
	Bill.Size = UDim2.new(0,100,0,40)
1129
	Bill.StudsOffset = Vector3.new(0,35,0)
1130
	Bill.Adornee = Character.Head
1131
	Bill.Name = "TalkingBillBoard"
1132
	local Hehe = Instance.new("TextLabel",Bill)
1133
	Hehe.BackgroundTransparency = 1
1134
	Hehe.BorderSizePixel = 0
1135
	Hehe.Text = ""
1136
	Hehe.Font = "Antique"
1137
	Hehe.TextSize = 120
1138
	Hehe.TextStrokeTransparency = 0
1139
	Hehe.Size = UDim2.new(1,0,0.5,0)
1140
	coroutine.resume(coroutine.create(function()
1141
		while Hehe ~= nil do
1142
			Swait()	
1143
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1144
			Hehe.Rotation = math.random(-5,5)
1145
			Hehe.TextColor3 = Color3.new(255,0,0)
1146
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
1147
		end
1148
	end))
1149
	for i = 1,string.len(text),1 do
1150
		Swait()
1151
		Hehe.Text = string.sub(text,1,i)
1152
	end
1153
	Swait(90)--Re[math.random(1, 93)]
1154
	for i = 0, 1, .025 do
1155
		Swait()
1156
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1157
		Hehe.TextStrokeTransparency = i
1158
		Hehe.TextTransparency = i
1159
	end
1160
	Bill:Destroy()
1161
	end)
1162
chat()
1163
end
1164
1165
function chatfunc(text)
1166
	local chat = coroutine.wrap(function()
1167
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1168
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1169
	end
1170
	local Bill = Instance.new("BillboardGui",Character)
1171
	Bill.Size = UDim2.new(0,100,0,40)
1172
	Bill.StudsOffset = Vector3.new(0,3,0)
1173
	Bill.Adornee = Character.Head
1174
	Bill.Name = "TalkingBillBoard"
1175
	local Hehe = Instance.new("TextLabel",Bill)
1176
	Hehe.BackgroundTransparency = 1
1177
	Hehe.BorderSizePixel = 0
1178
	Hehe.Text = ""
1179
	Hehe.Font = "Bodoni"
1180
	Hehe.TextSize = 40
1181
	Hehe.TextStrokeTransparency = 0
1182
	Hehe.Size = UDim2.new(1,0,0.5,0)
1183
	coroutine.resume(coroutine.create(function()
1184
		while Hehe ~= nil do
1185
			Swait()	
1186
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1187
			Hehe.Rotation = math.random(-2.5,2.5)
1188
			Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
1189
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
1190
		end
1191
	end))
1192
	for i = 1,string.len(text),1 do
1193
		Swait()
1194
		Hehe.Text = string.sub(text,1,i)
1195
	end
1196
	Swait(90)--Re[math.random(1, 93)]
1197
	for i = 0, 1, .025 do
1198
		Swait()
1199
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1200
		Hehe.TextStrokeTransparency = i
1201
		Hehe.TextTransparency = i
1202
	end
1203
	Bill:Destroy()
1204
	end)
1205
chat()
1206
end
1207
1208
local Particle = IT("ParticleEmitter",nil)
1209
Particle.Enabled = false
1210
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1211
Particle.LightEmission = 0.5
1212
Particle.Rate = 150
1213
Particle.ZOffset = 0.2
1214
Particle.Rotation = NumberRange.new(-180, 180)
1215
Particle.RotSpeed = NumberRange.new(-180, 180)
1216
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1217
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
1218
1219
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1220
function ParticleEmitter(Table)
1221
	local PRTCL = Particle:Clone()
1222
	local Speed = Table.Speed or 5
1223
	local Drag = Table.Drag or 0
1224
	local Size1 = Table.Size1 or 1
1225
	local Size2 = Table.Size2 or 5
1226
	local Lifetime1 = Table.Lifetime1 or 1
1227
	local Lifetime2 = Table.Lifetime2 or 1.5
1228
	local Parent = Table.Parent or Torso
1229
	local Emit = Table.Emit or 100
1230
	local Offset = Table.Offset or 360
1231
	local Acel = Table.Acel or VT(0,0,0)
1232
	local Enabled = Table.Enabled or false
1233
	PRTCL.Parent = Parent
1234
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1235
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1236
	PRTCL.Speed = NumberRange.new(Speed)
1237
	PRTCL.VelocitySpread = Offset
1238
	PRTCL.Drag = Drag
1239
	PRTCL.Acceleration = Acel
1240
	if Enabled == false then
1241
		PRTCL:Emit(Emit)
1242
		Debris:AddItem(PRTCL,Lifetime2)
1243
	else
1244
		PRTCL.Enabled = true
1245
	end
1246
	return PRTCL
1247
end
1248
1249
local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1250
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1251
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1252
MakeForm(Part,"Wedge")
1253
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1254
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1255
MakeForm(Part,"Wedge")
1256
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1257
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1258
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1259
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1260
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1261
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1262
MakeForm(Part,"Cyl")
1263
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1264
for i = 1, 8 do
1265
	local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1266
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1267
end
1268
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1269
MakeForm(Part,"Cyl")
1270
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1271
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1272
MakeForm(Part,"Ball")
1273
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1274
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1275
MakeForm(Part,"Wedge")
1276
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1277
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1278
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1279
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1280
MakeForm(Part,"Cyl")
1281
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1282
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1283
MakeForm(Part,"Cyl")
1284
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1285
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1286
MakeForm(Part,"Cyl")
1287
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1288
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1289
MakeForm(Part,"Wedge")
1290
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1291
local LASTPART = Handle
1292
for i = 1, 10 do
1293
	if LASTPART == Handle then
1294
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1295
		LASTPART = Part
1296
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1297
	else
1298
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1299
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1300
		LASTPART = Part
1301
	end
1302
end
1303
1304
local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
1305
MakeForm(Barrel,"Cyl")
1306
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1307
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
1308
MakeForm(Part,"Cyl")
1309
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
1310
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1311
MakeForm(Part,"Wedge")
1312
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1313
local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1314
MakeForm(Hole,"Cyl")
1315
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
1316
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1317
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1318
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1319
local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1320
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1321
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1322
coroutine.resume(coroutine.create(function()
1323
	while wait() do
1324
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
1325
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
1326
	end
1327
end))
1328
1329
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)})
1330
--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)})
1331
1332
for _, c in pairs(Gun:GetDescendants()) do
1333
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1334
		c.Material = "Glass"
1335
		c.Color = C3(0,0,0)
1336
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1337
		c.Color = C3(1,0,0)
1338
		c.Material = "Neon"
1339
	end
1340
end
1341
1342
Weapon.Parent = Character
1343
Gun.Parent = nil
1344
1345
for _, c in pairs(Gun:GetChildren()) do
1346
	if c.ClassName == "Part" then
1347
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1348
	end
1349
end
1350
1351
for _, c in pairs(Weapon:GetChildren()) do
1352
	if c.ClassName == "Part" then
1353
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1354
	end
1355
end
1356
1357
local SKILLTEXTCOLOR = C3(1,0,0)
1358
local SKILLFONT = "Antique"
1359
local SKILLTEXTSIZE = 7
1360
1361
Humanoid.Died:connect(function()
1362
	ATTACK = true
1363
end)
1364
1365
local Text1 = "[Z]"
1366
local Text2 = "[B]"
1367
local Text3 = "[X]"
1368
local Text4 = "[C]"
1369
local Text5 = "[V]"
1370
1371
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1372
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1373
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1374
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1375
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1376
1377
1378
local SKILL1TEXT = CreateLabel(SKILL1FRAME, Text1, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1379
local SKILL2TEXT = CreateLabel(SKILL2FRAME, Text2, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1380
local SKILL3TEXT = CreateLabel(SKILL3FRAME, Text3, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1381
local SKILL4TEXT = CreateLabel(SKILL4FRAME, Text4, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1382
local SKILL5TEXT = CreateLabel(SKILL5FRAME, Text5, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1383
1384
1385
coroutine.resume(coroutine.create(function()
1386
	while true do
1387
	Swait()
1388
SKILL1FRAME.Rotation = SKILL1FRAME.Rotation + 2
1389
SKILL2FRAME.Rotation = SKILL2FRAME.Rotation + 2
1390
SKILL3FRAME.Rotation = SKILL3FRAME.Rotation + 2
1391
SKILL4FRAME.Rotation = SKILL4FRAME.Rotation + 2
1392
SKILL5FRAME.Rotation = SKILL5FRAME.Rotation + 2
1393
Swait(5)
1394
SKILL1FRAME.Rotation = SKILL1FRAME.Rotation - 2
1395
SKILL2FRAME.Rotation = SKILL2FRAME.Rotation - 2
1396
SKILL3FRAME.Rotation = SKILL3FRAME.Rotation - 2
1397
SKILL4FRAME.Rotation = SKILL4FRAME.Rotation - 2
1398
SKILL5FRAME.Rotation = SKILL5FRAME.Rotation - 2
1399
Swait(5)
1400
end
1401
end))
1402
1403
1404
function printbye(Name)
1405
	local MESSAGES = {"Banished ","Gotcha ","CREAM ","Die ","I got ","GoodBye ","Struggle ","BAN ","There is no coming back ","BadLuck.. ","I got you ","Just eat my CREAM! ","Hahaha "}
1406
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1407
end
1408
1409
workspace.ChildAdded:connect(function(instance)
1410
    for BANISH = 1, #TOBANISH do
1411
		if TOBANISH[BANISH] ~= nil then
1412
			if instance.Name == TOBANISH[BANISH] then
1413
				coroutine.resume(coroutine.create(function()
1414
					printbye(instance.Name)
1415
					instance:ClearAllChildren()
1416
					Debris:AddItem(instance,0.0005)
1417
				end))
1418
			end
1419
		end
1420
	end
1421
end)
1422
1423
--//=================================\\
1424
--||			DAMAGING
1425
--\\=================================//
1426
local EyeSizes={
1427
	NumberSequenceKeypoint.new(0,1,0),
1428
	NumberSequenceKeypoint.new(1,0,0)
1429
}
1430
local EyeTrans={
1431
	NumberSequenceKeypoint.new(0,0.8,0),
1432
	NumberSequenceKeypoint.new(1,1,0)
1433
}
1434
local PE=Instance.new("ParticleEmitter",nil)
1435
PE.LightEmission=.8
1436
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
1437
PE.Size=NumberSequence.new(EyeSizes)
1438
PE.Transparency=NumberSequence.new(EyeTrans)
1439
PE.Lifetime=NumberRange.new(0.35,1.5)
1440
PE.Rotation=NumberRange.new(0,360)
1441
PE.Rate=999
1442
PE.VelocitySpread = 10000
1443
PE.Acceleration = Vector3.new(0,0,0)
1444
PE.Drag = 5
1445
PE.Speed = NumberRange.new(0,0,0)
1446
PE.Texture="http://www.roblox.com/asset/?id=1351966707"
1447
PE.ZOffset = -0
1448
PE.Name = "PE"
1449
PE.Enabled = false
1450
1451
function particles(art)
1452
	local PARTICLES = PE:Clone()
1453
	PARTICLES.Parent = art
1454
end
1455
1456
function Banish(Foe)
1457
	if Foe then
1458
		coroutine.resume(coroutine.create(function()
1459
			--if game.Players:FindFirstChild(Foe.Name) then
1460
				table.insert(TOBANISH,Foe.Name)
1461
				printbye(Foe.Name)
1462
			--end
1463
			Foe.Archivable = true
1464
			local CLONE = Foe:Clone()
1465
			Foe:Destroy()
1466
			CLONE.Parent = Effects
1467
			CLONE:BreakJoints()
1468
			local MATERIALS = {"Glass","Neon"}
1469
			for _, c in pairs(CLONE:GetDescendants()) do
1470
				if c:IsA("BasePart") then
1471
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1472
 						CreateSound(340722848, c, 10, 1, false)
1473
					end
1474
					c.Anchored = true
1475
					c.Transparency = c.Transparency + 0.2
1476
					c.Material = MATERIALS[MRANDOM(1,2)]
1477
					c.Color = C3(1,0,0)
1478
					if c.ClassName == "MeshPart" then
1479
						c.TextureID = ""
1480
					end
1481
					if c:FindFirstChildOfClass("SpecialMesh") then
1482
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1483
					end
1484
					if c:FindFirstChildOfClass("Decal") then
1485
						c:FindFirstChildOfClass("Decal"):remove()
1486
					end
1487
					c.Name = "Banished"
1488
					c.CanCollide = false
1489
				else
1490
					c:remove()
1491
				end
1492
			end
1493
			local A = false
1494
			for i = 1, 35 do
1495
				if A == false then
1496
					A = true
1497
				elseif A == true then
1498
					A = false
1499
				end
1500
				for _, c in pairs(CLONE:GetDescendants()) do
1501
					if c:IsA("BasePart") then
1502
						c.Anchored = true
1503
						c.Material = MATERIALS[MRANDOM(1,2)]
1504
						c.Transparency = c.Transparency + 0.8/35
1505
						if A == false then
1506
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1507
						elseif A == true then
1508
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1509
						end
1510
					end
1511
				end
1512
				Swait()
1513
			end
1514
			CLONE:remove()
1515
		end))
1516
	end
1517
end
1518
1519
function BANISHAOE(POSITION,RANGE,ISBANISH)
1520
	local CHILDREN = workspace:GetDescendants()
1521
	for index, CHILD in pairs(CHILDREN) do
1522
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1523
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1524
			if HUM then
1525
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1526
				if TORSO then
1527
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1528
						if ISBANISH == true then
1529
							Banish(CHILD)
1530
						else
1531
							if ISBANISH == "Gravity" then
1532
								HUM.PlatformStand = true
1533
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1534
									local grav = Instance.new("BodyPosition",TORSO)
1535
									grav.D = 15
1536
									grav.P = 20000
1537
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1538
									grav.position = TORSO.Position
1539
									grav.Name = "V3BanishForce"..Player.Name
1540
								else
1541
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1542
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1543
								end
1544
							else
1545
								HUM.PlatformStand = false
1546
							end
1547
						end
1548
					elseif ISBANISH == "Gravity" then
1549
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1550
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1551
							HUM.PlatformStand = false
1552
						end
1553
					end
1554
				end
1555
			end
1556
		end
1557
	end
1558
end
1559
1560
1561
1562
function ManualDamage(Humanoid,Damage,TorsoPart)
1563
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1564
	defence.Name = ("HitBy"..Player.Name)
1565
	game:GetService("Debris"):AddItem(defence, 0.001)
1566
	Damage = Damage * DAMAGEMULTIPLIER
1567
	if Humanoid.Health ~= 0 then
1568
		local CritChance = MRANDOM(1,100)
1569
		if Damage > Humanoid.Health then
1570
			Damage = math.ceil(Humanoid.Health)
1571
			if Damage == 0 then
1572
				Damage = 0.1
1573
			end
1574
		end
1575
		Humanoid.Health = Humanoid.Health - Damage
1576
	end
1577
end
1578
1579
function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1580
	local CHILDREN = workspace:GetDescendants()
1581
	for index, CHILD in pairs(CHILDREN) do
1582
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1583
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1584
			if HUM then
1585
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1586
				if TORSO then
1587
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1588
						if INSTAKILL == true then
1589
							CHILD:BreakJoints()
1590
						else
1591
							local DMG = MRANDOM(MINDMG,MAXDMG)
1592
							ManualDamage(HUM,DMG,TORSO)
1593
						end
1594
						if FLING > 0 then
1595
							for _, c in pairs(CHILD:GetChildren()) do
1596
								if c:IsA("BasePart") then
1597
									local bv = Instance.new("BodyVelocity") 
1598
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1599
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1600
									bv.Parent = c
1601
									Debris:AddItem(bv,0.05)
1602
								end
1603
							end
1604
						end
1605
					end
1606
				end
1607
			end
1608
		end
1609
	end
1610
end
1611
1612
function KillChildren(v)
1613
	v:BreakJoints()
1614
	for _, c in pairs(v:GetChildren()) do
1615
		if c:IsA("BasePart") then
1616
			if c.Transparency < 1 then
1617
				if c:FindFirstChildOfClass("Decal") then
1618
					c:FindFirstChildOfClass("Decal"):remove()
1619
				end
1620
				particles(c)
1621
				c.PE.Enabled = true
1622
				c.Parent = Effects
1623
				c.CanCollide = false
1624
				c.Material = "Neon"
1625
				c.Color = C3(1,0,0)
1626
				c.Transparency = 1
1627
				local grav = Instance.new("BodyPosition",c)
1628
				grav.P = 20000
1629
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1630
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1631
				grav.Name = "GravityForce"
1632
				coroutine.resume(coroutine.create(function()
1633
					for i = 1, 20 do
1634
						Swait()
1635
						c.Transparency = c.Transparency + 1/20
1636
					end
1637
					c.PE.Enabled = false
1638
					Debris:AddItem(c,2)
1639
				end))
1640
			end
1641
		end
1642
	end
1643
end
1644
1645
function SmiteAoE(POSITION,RANGE)
1646
	local CHILDREN = workspace:GetDescendants()
1647
	for index, CHILD in pairs(CHILDREN) do
1648
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1649
			local LISTED = false
1650
			for LIST = 1, #WHITELIST do
1651
				if WHITELIST[LIST] ~= nil then
1652
					if CHILD.Name == WHITELIST[LIST] then
1653
						LISTED = true
1654
					end
1655
				end
1656
			end
1657
			if LISTED == false then
1658
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1659
				if HUM then
1660
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1661
					if TORSO then
1662
						if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
1663
							KillChildren(CHILD)
1664
						end
1665
					end
1666
				end
1667
			end
1668
		end
1669
	end
1670
end
1671
1672
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1673
  if hit.Parent == nil then
1674
    return
1675
  end
1676
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1677
  for _, v in pairs(hit.Parent:children()) do
1678
    if v:IsA("Humanoid") then
1679
      h = v
1680
    end
1681
  end
1682
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1683
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1684
      return
1685
    end
1686
    local c = Create("ObjectValue")({
1687
      Name = "creator",
1688
      Value = game:GetService("Players").LocalPlayer,
1689
      Parent = h
1690
    })
1691
    game:GetService("Debris"):AddItem(c, 0.5)
1692
    if HitSound ~= nil and HitPitch ~= nil then
1693
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1694
    end
1695
    local Damage = math.random(minim, maxim)
1696
    local blocked = false
1697
    local block = hit.Parent:findFirstChild("Block")
1698
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1699
      blocked = true
1700
      block.Value = block.Value - 1
1701
      print(block.Value)
1702
    end
1703
    if blocked == false then
1704
      HitHealth = h.Health
1705
      h.MaxHealth = 100
1706
      h.Health = h.Health - Damage
1707
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1708
        print("gained kill")
1709
      end
1710
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1711
    else
1712
      h.Health = h.Health - Damage / 2
1713
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1714
    end
1715
    if Type == "Knockdown" then
1716
      local hum = hit.Parent.Humanoid
1717
      hum.PlatformStand = true
1718
      coroutine.resume(coroutine.create(function(HHumanoid)
1719
        Swait(1)
1720
        HHumanoid.PlatformStand = false
1721
      end), hum)
1722
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1723
      local bodvol = Create("BodyVelocity")({
1724
        velocity = angle * knockback,
1725
        P = 5000,
1726
        maxForce = Vector3.new(8000, 8000, 8000),
1727
        Parent = hit
1728
      })
1729
      local rl = Create("BodyAngularVelocity")({
1730
        P = 3000,
1731
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1732
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1733
        Parent = hit
1734
      })
1735
      game:GetService("Debris"):AddItem(bodvol, 0.5)
1736
      game:GetService("Debris"):AddItem(rl, 0.5)
1737
    elseif Type == "Normal" then
1738
      local vp = Create("BodyVelocity")({
1739
        P = 500,
1740
        maxForce = Vector3.new(math.huge, 0, math.huge),
1741
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1742
      })
1743
      if knockback > 0 then
1744
        vp.Parent = hit.Parent.Head
1745
      end
1746
      game:GetService("Debris"):AddItem(vp, 0.5)
1747
    elseif Type == "Up" then
1748
      local bodyVelocity = Create("BodyVelocity")({
1749
        velocity = Vector3.new(0, 20, 0),
1750
        P = 5000,
1751
        maxForce = Vector3.new(8000, 8000, 8000),
1752
        Parent = hit
1753
      })
1754
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1755
      local bodyVelocity = Create("BodyVelocity")({
1756
        velocity = Vector3.new(0, 20, 0),
1757
        P = 5000,
1758
        maxForce = Vector3.new(8000, 8000, 8000),
1759
        Parent = hit
1760
      })
1761
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1762
    elseif Type == "Leech" then
1763
      local hum = hit.Parent.Humanoid
1764
      if hum ~= nil then
1765
        for i = 0, 2 do
1766
          Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1767
        end
1768
        Humanoid.Health = Humanoid.Health + 10
1769
      end
1770
    elseif Type == "UpKnock" then
1771
      local hum = hit.Parent.Humanoid
1772
      hum.PlatformStand = true
1773
      if hum ~= nil then
1774
        hitr = true
1775
      end
1776
      coroutine.resume(coroutine.create(function(HHumanoid)
1777
        Swait(5)
1778
        HHumanoid.PlatformStand = false
1779
        hitr = false
1780
      end), hum)
1781
      local bodyVelocity = Create("BodyVelocity")({
1782
        velocity = Vector3.new(0, 20, 0),
1783
        P = 5000,
1784
        maxForce = Vector3.new(8000, 8000, 8000),
1785
        Parent = hit
1786
      })
1787
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1788
      local bodyVelocity = Create("BodyVelocity")({
1789
        velocity = Vector3.new(0, 20, 0),
1790
        P = 5000,
1791
        maxForce = Vector3.new(8000, 8000, 8000),
1792
        Parent = hit
1793
      })
1794
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1795
    elseif Type == "Snare" then
1796
      local bp = Create("BodyPosition")({
1797
        P = 2000,
1798
        D = 100,
1799
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1800
        position = hit.Parent.Torso.Position,
1801
        Parent = hit.Parent.Torso
1802
      })
1803
      game:GetService("Debris"):AddItem(bp, 1)
1804
    elseif Type == "Slashnare" then
1805
      Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
1806
      for i = 1, math.random(4, 5) do
1807
        Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1808
      end
1809
      local bp = Create("BodyPosition")({
1810
        P = 2000,
1811
        D = 100,
1812
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1813
        position = hit.Parent.Torso.Position,
1814
        Parent = hit.Parent.Torso
1815
      })
1816
      game:GetService("Debris"):AddItem(bp, 1)
1817
    elseif Type == "Spike" then
1818
      CreateBigIceSword(hit.Parent.Torso.CFrame)
1819
      local bp = Create("BodyPosition")({
1820
        P = 2000,
1821
        D = 100,
1822
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1823
        position = hit.Parent.Torso.Position,
1824
        Parent = hit.Parent.Torso
1825
      })
1826
      game:GetService("Debris"):AddItem(bp, 1)
1827
    elseif Type == "Freeze" then
1828
      local BodPos = Create("BodyPosition")({
1829
        P = 50000,
1830
        D = 1000,
1831
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1832
        position = hit.Parent.Torso.Position,
1833
        Parent = hit.Parent.Torso
1834
      })
1835
      local BodGy = Create("BodyGyro")({
1836
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1837
        P = 20000,
1838
        Parent = hit.Parent.Torso,
1839
        cframe = hit.Parent.Torso.CFrame
1840
      })
1841
      hit.Parent.Torso.Anchored = true
1842
      coroutine.resume(coroutine.create(function(Part)
1843
        Swait(1.5)
1844
        Part.Anchored = false
1845
      end), hit.Parent.Torso)
1846
      game:GetService("Debris"):AddItem(BodPos, 3)
1847
      game:GetService("Debris"):AddItem(BodGy, 3)
1848
    end
1849
    local debounce = Create("BoolValue")({
1850
      Name = "DebounceHit",
1851
      Parent = hit.Parent,
1852
      Value = true
1853
    })
1854
    game:GetService("Debris"):AddItem(debounce, Delay)
1855
    c = Instance.new("ObjectValue")
1856
    c.Name = "creator"
1857
    c.Value = Player
1858
    c.Parent = h
1859
    game:GetService("Debris"):AddItem(c, 0.5)
1860
  end
1861
end
1862
function ShowDamage(Pos, Text, Time, Color)
1863
  local Rate = 0.03333333333333333
1864
  local Pos = Pos or Vector3.new(0, 0, 0)
1865
  local Text = Text or ""
1866
  local Time = Time or 2
1867
  local Color = Color or Color3.new(1, 0, 1)
1868
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1869
  EffectPart.Anchored = true
1870
  local BillboardGui = Create("BillboardGui")({
1871
    Size = UDim2.new(3, 0, 3, 0),
1872
    Adornee = EffectPart,
1873
    Parent = EffectPart
1874
  })
1875
  local TextLabel = Create("TextLabel")({
1876
    BackgroundTransparency = 1,
1877
    Size = UDim2.new(1, 0, 1, 0),
1878
    Text = Text,
1879
    TextColor3 = Color,
1880
    TextScaled = true,
1881
    Font = Enum.Font.ArialBold,
1882
    Parent = BillboardGui
1883
  })
1884
  game.Debris:AddItem(EffectPart, Time + 0.1)
1885
  EffectPart.Parent = game:GetService("Workspace")
1886
  delay(0, function()
1887
    local Frames = Time / Rate
1888
    for Frame = 1, Frames do
1889
      wait(Rate)
1890
      local Percent = Frame / Frames
1891
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1892
      TextLabel.TextTransparency = Percent
1893
    end
1894
    if EffectPart and EffectPart.Parent then
1895
      EffectPart:Destroy()
1896
    end
1897
  end)
1898
end
1899
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1900
  for _, c in pairs(workspace:children()) do
1901
    local hum = c:findFirstChildOfClass("Humanoid")
1902
    if hum ~= nil then
1903
      local head = c:findFirstChild("Head")
1904
      if head ~= nil then
1905
        local targ = head.Position - Part.Position
1906
        local mag = targ.magnitude
1907
        if magni >= mag and c.Name ~= Player.Name then
1908
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1909
        end
1910
      end
1911
    end
1912
  end
1913
end
1914
1915
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
1916
local type = type
1917
local rng = Instance.new("Part", char)
1918
        rng.Anchored = true
1919
        rng.BrickColor = color
1920
        rng.Color = color3
1921
        rng.CanCollide = false
1922
        rng.FormFactor = 3
1923
        rng.Name = "Ring"
1924
        rng.Material = "Neon"
1925
        rng.Size = Vector3.new(1, 1, 1)
1926
        rng.Transparency = 0
1927
        rng.TopSurface = 0
1928
        rng.BottomSurface = 0
1929
        rng.CFrame = pos
1930
        local rngm = Instance.new("SpecialMesh", rng)
1931
        rngm.MeshType = "Brick"
1932
rngm.Scale = scale
1933
local scaler2 = 1
1934
local scaler2b = 1
1935
local scaler2c = 1
1936
if type == "Add" then
1937
scaler2 = 1*value
1938
scaler2b = 1*value2
1939
scaler2c = 1*value3
1940
elseif type == "Divide" then
1941
scaler2 = 1/value
1942
scaler2b = 1/value2
1943
scaler2c = 1/value3
1944
end
1945
coroutine.resume(coroutine.create(function()
1946
for i = 0,10/bonuspeed,0.1 do
1947
swait()
1948
if type == "Add" then
1949
scaler2 = scaler2 - 0.01*value/bonuspeed
1950
scaler2b = scaler2b - 0.01*value/bonuspeed
1951
scaler2c = scaler2c - 0.01*value/bonuspeed
1952
elseif type == "Divide" then
1953
scaler2 = scaler2 - 0.01/value*bonuspeed
1954
scaler2b = scaler2b - 0.01/value*bonuspeed
1955
scaler2c = scaler2c - 0.01/value*bonuspeed
1956
end
1957
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
1958
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1959
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1960
end
1961
rng:Destroy()
1962
end))
1963
end
1964
1965
--//=================================\\
1966
--||	ATTACK FUNCTIONS AND STUFF
1967
--\\=================================//
1968
coroutine.resume(coroutine.create(function()
1969
	sick.TimePosition = 110
1970
end))
1971
1972
1973
function Intro()
1974
	ATTACK = true
1975
	Rooted = true
1976
	repeat 
1977
		Swait() 
1978
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1979
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1980
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1981
		LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1982
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
1983
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
1984
	until sick.TimePosition > 115
1985
	repeat 
1986
		Swait()
1987
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
1988
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1989
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
1990
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
1991
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
1992
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
1993
	until sick.TimePosition > 117
1994
	repeat 
1995
		Swait() 
1996
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
1997
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1998
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
1999
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2000
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2001
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2002
	until sick.TimePosition >119
2003
	Gun.Parent = Character
2004
Text1 = "[Z]"
2005
Text2 = "[B]"
2006
Text3 = "[X]"
2007
Text4 = "[C]"
2008
Text5 = "[V] S H A T T E R"
2009
	for i = 1, 100 do
2010
		Swait()
2011
		for _, c in pairs(Character:GetChildren()) do
2012
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2013
				c.Transparency = 0
2014
			end
2015
		end
2016
		for _, c in pairs(Weapon:GetChildren()) do
2017
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2018
				c.Transparency = 0
2019
			end
2020
		end
2021
for _, c in pairs(Weapon:GetDescendants()) do
2022
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2023
		c.Material = "Glass"
2024
		c.Color = C3(0,0,0)
2025
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2026
		c.Color = C3(1,0,0)
2027
		c.Material = "Neon"
2028
	end
2029
end
2030
	end
2031
	TRANSFORMED = true
2032
	ATTACK = false
2033
	Rooted = false
2034
end
2035
2036
function Rifle_Bullet()
2037
	ATTACK = true
2038
	Rooted = false
2039
	for i=0, 0.4, 0.05 / Animation_Speed do
2040
		Swait()
2041
		turnto(Mouse.Hit.p)
2042
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2043
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2044
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2045
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2046
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2047
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2048
	end
2049
	repeat
2050
		for i=0, 0.2, 0.05 / Animation_Speed do
2051
			Swait()
2052
			turnto(Mouse.Hit.p)
2053
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2054
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
2055
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2056
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2057
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2058
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2059
		end
2060
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2061
		SpawnTrail(Hole.Position,POS)
2062
		if HIT ~= nil then
2063
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2064
				Banish(HIT.Parent)
2065
			end
2066
		end
2067
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2068
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2069
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2070
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2071
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
2072
		for i=0, 0.3, 0.05 / Animation_Speed do
2073
			Swait()
2074
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2075
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
2076
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2077
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2078
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2079
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2080
		end
2081
	until KEYHOLD == false
2082
	ATTACK = false
2083
	Rooted = false
2084
end
2085
2086
function Cream_Strike_rlly()
2087
	ATTACK = true
2088
	Rooted = true
2089
	CreateSound(1368573150, RightArm, 3, 1.5)
2090
	for i=0, 2, 0.1 / Animation_Speed do
2091
		Swait()
2092
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2093
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
2094
		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)
2095
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(27)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2096
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(165), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2097
		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)
2098
		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)
2099
	end
2100
	local POWER = 1
2101
	repeat 
2102
		Swait() 
2103
		WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2104
		WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2105
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16)) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
2106
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
2107
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2108
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25), 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2109
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16), -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2110
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33), -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
2111
        POWER = POWER + 0.009
2112
		if POWER >= 6 then
2113
			POWER = 6
2114
		end
2115
	until KEYHOLD == false
2116
	BANISHAOE(Mouse.hit.Position,13*POWER,true)
2117
	
2118
	WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20*POWER,9999,20*POWER), Size2 = VT(0,9999,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
2119
	WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(5*POWER,5*POWER,5*POWER), Size2 = VT(30*POWER,30*POWER,30*POWER), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
2120
	for i=0, 1, 0.1 / Animation_Speed do
2121
		Swait()
2122
		WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2123
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.6 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
2124
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2125
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2126
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2127
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2128
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.6) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2129
    end
2130
	ATTACK = false
2131
	Rooted = false
2132
end
2133
2134
local Cooldown1 = false
2135
2136
function BulletRoller()
2137
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2138
	if HITFLOOR then
2139
		ATTACK = true
2140
		Rooted = true
2141
		local bv = Instance.new("BodyVelocity") 
2142
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2143
		bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
2144
		bv.Parent = RootPart
2145
		local GYRO = IT("BodyGyro",RootPart)
2146
		GYRO.D = 2
2147
		GYRO.P = 20000
2148
		GYRO.MaxTorque = VT(0,4000000,0)
2149
		GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
2150
		CreateSound(145486992,Torso,10,0.85,false)
2151
		for i=0, 0.05, 0.1 / Animation_Speed do
2152
			Swait()
2153
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
2154
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
2155
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2156
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2157
			if ANIM == "Fall" or ANIM == "Jump" then
2158
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2159
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2160
			else
2161
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2162
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2163
			end
2164
		end
2165
		bv:Remove()
2166
		local E = 360/15
2167
		for i = 1, 15 do
2168
			Swait()
2169
			WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2170
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
2171
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
2172
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2173
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2174
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2175
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2176
		end
2177
        Cooldown1 = true
2178
		local LANDED = nil
2179
		local POS = nil
2180
		coroutine.resume(coroutine.create(function()
2181
			repeat
2182
				Swait()
2183
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2184
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2185
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2186
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2187
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2188
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2189
			until LANDED ~= nil
2190
		end))
2191
		repeat
2192
			Swait()
2193
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
2194
			if HITFLOOR then
2195
				LANDED = HITFLOOR
2196
				POS = HITPOS
2197
			end
2198
		until LANDED ~= nil
2199
		GYRO:remove()
2200
		Swait(4)
2201
		ManualAoE(RootPart.Position,10,20,50,0,false)
2202
		CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
2203
		WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2204
		for i = 0, 4 do
2205
		WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2206
		end
2207
	for i=0, 0.5, 0.1 / Animation_Speed do
2208
		Swait()
2209
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
2210
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2211
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2212
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2213
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2214
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2215
	end
2216
	local AMMO = 0
2217
	repeat
2218
	AMMO = AMMO + 1
2219
		for i=0, 0.1, 0.05 / Animation_Speed do
2220
			Swait()
2221
			turnto(Mouse.Hit.p)
2222
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
2223
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2224
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2225
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2226
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2227
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2228
	end
2229
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2230
		SpawnTrail(Hole.Position,POS)
2231
		if HIT ~= nil then
2232
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2233
				Banish(HIT.Parent)
2234
			end
2235
		end
2236
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2237
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2238
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2239
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2240
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
2241
		for i=0, 0.075, 0.05 / Animation_Speed do
2242
			Swait()
2243
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
2244
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2245
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2246
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2247
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2248
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
2249
	end
2250
	until AMMO == 5
2251
		ATTACK = false
2252
		Rooted = false
2253
wait(0.3)
2254
Cooldown1 = false
2255
	end
2256
end
2257
2258
local Cooldown2 = false
2259
2260
function SHATTER()
2261
	ATTACK = true
2262
	Rooted = true
2263
	Cooldown2 = true
2264
local MAINRUINCOLOR = BrickColor.new("Really red")
2265
	for i=0, 0.6, 0.1 / Animation_Speed do
2266
		Swait()
2267
		WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2268
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
2269
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
2270
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2271
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2272
		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.4 / Animation_Speed)
2273
		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.4 / Animation_Speed)
2274
	end
2275
WarnFunc("S H A T T E R")
2276
CFuncs["Sound"].Create("rbxassetid://1718412034", RootPart, 15, 1)
2277
CFuncs["EchoSound"].Create("rbxassetid://1718412034", Character, 5, 1,0,10,0.15,0.5,1)
2278
	for i=0, 3, 0.1 / Animation_Speed do
2279
		Swait()
2280
		WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,8),MRANDOM(2,8),MRANDOM(2,8)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2281
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
2282
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
2283
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2284
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2285
		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.4 / Animation_Speed)
2286
		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.4 / Animation_Speed)
2287
	end
2288
	for i=0, 0.25, 0.1 / Animation_Speed do
2289
		Swait()
2290
		WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,6),MRANDOM(2,6),MRANDOM(2,6)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2291
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2292
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2293
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2294
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2295
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2296
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
2297
	end
2298
sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
2299
sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),2,2,2,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
2300
sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),4,4,4,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
2301
sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),8,8,8,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
2302
CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
2303
CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
2304
CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
2305
Humanoid.CameraOffset = VT(0,0,0)
2306
for i = 0, 24 do
2307
slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.new("Maroon"))
2308
end
2309
local distam = 0
2310
coroutine.resume(coroutine.create(function()
2311
for i = 0, 99 do
2312
	wait()
2313
distam = distam + 1.5
2314
local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.new("Really red"))
2315
xa.Anchored = true
2316
xa.CFrame = RootPart.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
2317
game:GetService("Debris"):AddItem(xa, 5)
2318
coroutine.resume(coroutine.create(function()
2319
local eff = Instance.new("ParticleEmitter",xa)
2320
eff.Texture = "rbxassetid://2092248396"
2321
eff.LightEmission = 1
2322
eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
2323
eff.Rate = 500000
2324
eff.Lifetime = NumberRange.new(1,3)
2325
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
2326
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
2327
eff.Speed = NumberRange.new(50,500)
2328
eff.Drag = 5
2329
eff.Rotation = NumberRange.new(-500,500)
2330
eff.VelocitySpread = 9000
2331
eff.RotSpeed = NumberRange.new(-50,50)
2332
wait(0.25)
2333
eff.Enabled = false
2334
end))
2335
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
2336
sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
2337
sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
2338
sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
2339
sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
2340
sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
2341
sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
2342
SmiteAoE(xa.Position, 30)
2343
end
2344
end))
2345
ATTACK = false
2346
Rooted = false
2347
wait(3)
2348
Cooldown2 = false
2349
end
2350
2351
UnBanishTaunts = {"Don't do that or you will my cream again.","Ugh wrong key bur anyway you're free.","I'm sorry about that.","Forgive me please?","Don't abuse it again..","Such a shame...","Are you gonna stop now?!","My leg is hurt..","Woops?","Welp do whatever you want.","*sigh* just go away..","i'm bored."}
2352
2353
function TakeOnMe()
2354
	Speed = 16
2355
	local MEME = CreateSound(1171341451, Effects, 7, 1, false)
2356
	ATTACK = true
2357
	Rooted = false
2358
    VOLUME = 0
2359
	local DANCE = true
2360
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2361
		if NEWKEY == "p" then
2362
			DANCE = false
2363
			VOLUME = 2
2364
		end
2365
	end)
2366
	local PLAYSONG = false
2367
	while true do
2368
		for i = 1, 15 do
2369
			Swait()
2370
			MEME.Parent = Effects
2371
		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)
2372
		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)
2373
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2374
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2375
		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)
2376
		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)
2377
		end
2378
		if DANCE == false then
2379
			break
2380
		end
2381
		for i = 1, 15 do
2382
			Swait()
2383
			MEME.Parent = Effects
2384
		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)
2385
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
2386
			if MRANDOM(1,7) == 1 then
2387
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2388
			end			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2389
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2390
		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)
2391
			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)
2392
		end
2393
	end
2394
	PLAYSONG = true
2395
	KEY:Disconnect()
2396
	MEME:remove()
2397
	Speed = 25
2398
	ATTACK = false
2399
	Rooted = false
2400
end
2401
2402
function AttackTemplate()
2403
	ATTACK = true
2404
	Rooted = false
2405
	for i=0, 1, 0.1 / Animation_Speed do
2406
		Swait()
2407
		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)
2408
		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)
2409
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2410
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2411
		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)
2412
		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)
2413
	end
2414
	ATTACK = false
2415
	Rooted = false
2416
end
2417
2418
function Taunt()
2419
	ATTACK = true
2420
	Rooted = true
2421
	local L = CreateSound(2162230624,Head,8,1.1,false)
2422
	L.EmitterSize = 25
2423
	for i = 1, 20 do
2424
		Swait()
2425
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2426
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2427
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2428
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2429
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2430
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2431
	end
2432
	for i = 1, 40 do
2433
		Swait()
2434
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2435
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
2436
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2437
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2438
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2439
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2440
	end
2441
	for i = 1, 60 do
2442
		Swait()
2443
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2444
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2445
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2446
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2447
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2448
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2449
	end
2450
	for i = 1, 60 do
2451
		Swait()
2452
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2453
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
2454
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2455
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2456
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2457
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2458
	end
2459
	for i = 1, 90 do
2460
		Swait()
2461
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2462
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2463
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2464
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2465
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2466
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2467
	end
2468
	for i = 1, 72 do
2469
		Swait()
2470
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2471
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
2472
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2473
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2474
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2475
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2476
	end
2477
	for i = 1, 96 do
2478
		Swait()
2479
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
2480
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2481
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2482
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2483
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2484
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2485
	end
2486
	for i = 1, 98 do
2487
		Swait()
2488
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2489
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
2490
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2491
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2492
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2493
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2494
	end
2495
	ATTACK = false
2496
	Rooted = false
2497
end
2498
2499
function MilkForm()
2500
	ATTACK = true
2501
	Rooted = true
2502
	VIS = 899090278
2503
	VOLUME = 2
2504
	PITCH = 0.96
2505
	sick.TimePosition = 0
2506
	for i=0, 0.3, 0.1 / Animation_Speed do
2507
		Swait()
2508
		RootPart.CFrame = RootPart.CFrame * CF(0,25,0)
2509
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2510
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
2511
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2512
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2513
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
2514
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
2515
	end
2516
	UNANCHOR = false
2517
	RootPart.Anchored = true
2518
	CreateSound("1368598393", Effects, 10, 1)
2519
	for i=0, 3, 0.1 / Animation_Speed do
2520
		Swait()
2521
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2522
		MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
2523
		MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
2524
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2525
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
2526
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2527
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2528
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2529
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2530
	end
2531
	CreateSound("1368583274", Effects, 1, 1)
2532
	for i=0, 10, 0.1 / Animation_Speed do
2533
		Swait()
2534
		WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1*i,0,0.1*i), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2535
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2536
		MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55))
2537
		MagicSphere(VT(0,0,0),60,CFRAME,"Really red",VT(0.07*i,0.07*i,0.07*i))
2538
		MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55))
2539
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2540
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
2541
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2542
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2543
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2544
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2545
	end
2546
	CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0))
2547
	CreateSound("1368605755", Effects, 10, 1)
2548
	CreateSound("1368637781", Effects, 10, 1)
2549
	MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
2550
	for i=0, 1, 0.1 / Animation_Speed do
2551
		Swait()
2552
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2553
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
2554
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2555
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2556
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
2557
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
2558
	end
2559
	Speed = 45
2560
	Milk = true
2561
	UNANCHOR = true
2562
	RootPart.Anchored = false
2563
	ATTACK = false
2564
	Rooted = false
2565
end
2566
2567
function CreamForm()
2568
	ATTACK = true
2569
	Rooted = true
2570
	VIS = 1138145518
2571
	VOLUME = 1.5
2572
	PITCH = 1
2573
	sick.TimePosition = 0
2574
	Milk = false
2575
	for i=0, 2, 0.1 / Animation_Speed do
2576
		Swait()
2577
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
2578
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
2579
			if MRANDOM(1,7) == 1 then
2580
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2581
			end
2582
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2583
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 2 / Animation_Speed)
2584
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
2585
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
2586
	end
2587
	Chill = false
2588
	Mode = "idk"
2589
	Speed = 16
2590
	ATTACK = false
2591
	Rooted = false
2592
end
2593
2594
function CreamForm2()
2595
	ATTACK = true
2596
	Rooted = true
2597
	VIS = 1138145518
2598
	VOLUME = 1.5
2599
	PITCH = 1
2600
	sick.TimePosition = 0
2601
	Chill = false
2602
	WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2603
	Gun.Parent = Character
2604
	for i=0, 2, 0.1 / Animation_Speed do
2605
		Swait()
2606
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
2607
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2608
			if MRANDOM(1,7) == 1 then
2609
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2610
			end
2611
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2612
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2613
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2614
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0, -0.6) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2615
	end
2616
	Speed = 16
2617
	ATTACK = false
2618
	Rooted = false
2619
end
2620
2621
local Cooldown4 = false
2622
2623
function Booster()
2624
	ATTACK = true
2625
    Rooted = true
2626
    Cooldown4 = true
2627
coroutine.resume(coroutine.create(function()
2628
	WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(60,9999,60), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.7, SoundVolume = 7})
2629
    Swait(60)
2630
    WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(40,9999,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.8, SoundVolume = 7})
2631
    Swait(30)
2632
    WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20,9999,20), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.9, SoundVolume = 7})
2633
end))
2634
	for i=0, 3.5, 0.1 / Animation_Speed do
2635
		Swait()
2636
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(35 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
2637
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2638
			if MRANDOM(1,7) == 1 then
2639
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 0.2 / Animation_Speed)
2640
			end
2641
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(20 - 1 * COS(SINE / 1)), RAD(0), RAD(-89 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
2642
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20 + 1 * COS(SINE / 1)), RAD(0), RAD(85 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
2643
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2644
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2645
	end
2646
2647
	for i=0, 1, 0.1 / Animation_Speed do
2648
		Swait()
2649
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(-45 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 1 / Animation_Speed)
2650
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2651
			if MRANDOM(1,7) == 1 then
2652
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1 / Animation_Speed)
2653
			end
2654
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40 - 1 * COS(SINE / 1)), RAD(0), RAD(25 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2655
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 + 1 * COS(SINE / 1)), RAD(0), RAD(-35 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2656
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2657
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
2658
	end
2659
WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7})
2660
coroutine.resume(coroutine.create(function()
2661
local eff = Instance.new("ParticleEmitter",RootPart)
2662
eff.Texture = "rbxassetid://2092248396"
2663
eff.LightEmission = 1
2664
eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
2665
eff.Rate = 500000
2666
eff.Lifetime = NumberRange.new(1,3)
2667
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
2668
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
2669
eff.Speed = NumberRange.new(50,500)
2670
eff.Drag = 5
2671
eff.Rotation = NumberRange.new(-500,500)
2672
eff.VelocitySpread = 9000
2673
eff.RotSpeed = NumberRange.new(-50,50)
2674
wait(0.25)
2675
eff.Enabled = false
2676
end))
2677
Speed = 90
2678
Boost = true
2679
PITCH = 1
2680
    ATTACK = false
2681
    Rooted = false
2682
	wait(45)
2683
	PITCH = 0.96
2684
	Speed = 45
2685
	Boost = false
2686
	wait(5)
2687
	Cooldown4 = false
2688
end
2689
2690
local Cooldown3 = false
2691
2692
function AURORA()
2693
	ATTACK = true
2694
	Rooted = true
2695
	Cooldown3 = true
2696
	if Boost == false then
2697
	WarnFunc("A U R O R A")
2698
	elseif Boost == true then
2699
	WarnFunc("B A N I S H")
2700
	end
2701
local bgui = Instance.new("BillboardGui",RootPart)
2702
bgui.Size = UDim2.new(25, 0, 25, 0)
2703
local imgc = Instance.new("ImageLabel",bgui)
2704
imgc.BackgroundTransparency = 1
2705
imgc.ImageTransparency = 1
2706
imgc.Position = UDim2.new(-0.25,0,-0.25,0)
2707
imgc.Size = UDim2.new(1,0,1,0)
2708
imgc.Image = "rbxassetid://0"
2709
imgc.ImageColor3 = Color3.new(99/255,95/255,98/255)
2710
local imgc2 = imgc:Clone()
2711
imgc2.Image = "rbxassetid://2076519836"
2712
imgc2.Parent = bgui
2713
imgc2.Position = UDim2.new(-1.5,0,-1.5,0)
2714
imgc2.Size = UDim2.new(4,0,4,0)
2715
imgc2.ImageColor3 = Color3.new(255/255,0/255,0/255)
2716
	
2717
	for i=0, 4, 0.1 / Animation_Speed do
2718
		Swait()
2719
imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
2720
if Boost == false then
2721
imgc2.Rotation = imgc2.Rotation - 20
2722
bgui.Size = bgui.Size + UDim2.new(0.25, 0, 0.25, 0)
2723
elseif Boost == true then
2724
imgc2.Rotation = imgc2.Rotation - 40
2725
bgui.Size = bgui.Size + UDim2.new(0.50, 0, 0.50, 0)
2726
end
2727
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
2728
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2729
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2730
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2731
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2732
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
2733
	end
2734
if Boost == false then
2735
	SmiteAoE(RootPart.Position,80)
2736
elseif Boost == true then
2737
	BANISHAOE(RootPart.Position,80*2,true)
2738
end
2739
if Boost == false then
2740
WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150,150,150), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7})
2741
elseif Boost == true then
2742
WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150*2,150*2,150*2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 15})
2743
end
2744
	for i=0, 0.75, 0.1 / Animation_Speed do
2745
		Swait()
2746
if Boost == false then
2747
bgui.Size = bgui.Size - UDim2.new(2.2, 0, 2.2, 0)
2748
imgc2.Rotation = imgc2.Rotation + 35
2749
elseif Boost == true then
2750
bgui.Size = bgui.Size - UDim2.new(4.4, 0, 4.4, 0)
2751
imgc2.Rotation = imgc2.Rotation + 70
2752
end
2753
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2754
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2755
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(-89)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2756
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(89)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2757
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2758
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
2759
	end
2760
bgui:Destroy()
2761
	ATTACK = false
2762
	Rooted = false
2763
	wait(1)
2764
	Cooldown3 = false
2765
end
2766
2767
function Ground_Strike()
2768
	ATTACK = true
2769
	Rooted = false
2770
	Gun.Parent = nil
2771
	for i=0, 2, 0.1 / Animation_Speed do
2772
		Swait()
2773
	    WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2774
	    WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2775
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2776
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2777
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2778
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(84 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2779
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2780
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2781
	end
2782
	
2783
	for i=0, 0.3, 0.1 / Animation_Speed do
2784
		Swait()
2785
		turnto(Mouse.Hit.p)
2786
	    WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2787
	    WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2788
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.2 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2789
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2790
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2791
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(87 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 2 / Animation_Speed)
2792
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 2 / Animation_Speed)
2793
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 2 / Animation_Speed)
2794
	end
2795
local Repos = 0
2796
CFuncs["Sound"].Create("rbxassetid://1368637781", RootPart, 3,1)
2797
CFuncs["Sound"].Create("rbxassetid://763718160", RootPart, 4, 1.1)
2798
CFuncs["Sound"].Create("rbxassetid://782353443", RootPart, 6, 1)
2799
CFuncs["EchoSound"].Create("rbxassetid://824687369", RootPart, 10, 1,0,10,0.25,0.5,1)
2800
CFuncs["EchoSound"].Create("rbxassetid://824687369", Character, 2, 1,0,10,0.25,0.5,1)
2801
WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.15,0.05,0.15), Size2 = VT(230,0.5,230), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2802
for i = 0, 4 do
2803
WACKYEFFECT({Time = 35, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(1.5,0.15,1.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(MRANDOM(-90,90)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2804
end
2805
local Bonus = 1
2806
coroutine.resume(coroutine.create(function()
2807
for i = 0, 28 do
2808
	Swait()
2809
	Bonus = Bonus + 0.05
2810
	Repos = Repos + 1
2811
	local xa = RootPart.CFrame*CFrame.new(0,-1,-Repos/0.1)
2812
	WACKYEFFECT({Time = 20, EffectType = "Sphere", Size = VT(30,0,30), Size2 = VT(12.5*Bonus,40*Bonus,12.5*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
2813
	WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(30*Bonus,10*Bonus,30*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.45,0,0), SoundID = 192410089, SoundPitch = 1, SoundVolume = 7*Bonus})
2814
    if Boost == false then
2815
    SmiteAoE(xa.Position,37)
2816
    elseif Boost == true then
2817
	BANISHAOE(xa.Position,37,true)
2818
end
2819
end
2820
end))
2821
Gun.Parent = Character
2822
	for i=0, 2, 0.1 / Animation_Speed do
2823
		Swait()
2824
		turnto(Mouse.Hit.p)
2825
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2826
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2827
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2828
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(-15), RAD(-21 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2829
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2830
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2831
	end
2832
	ATTACK = false
2833
	Rooted = false
2834
end
2835
2836
function Float_Bullet()
2837
	ATTACK = true
2838
	Rooted = false
2839
	for i=0, 0.4, 0.05 / Animation_Speed do
2840
		Swait()
2841
		turnto(Mouse.Hit.p)
2842
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2843
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2844
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2845
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2846
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2847
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
2848
	end
2849
	repeat
2850
		for i=0, 0.175, 0.05 / Animation_Speed do
2851
			Swait()
2852
			turnto(Mouse.Hit.p)
2853
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2854
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
2855
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2856
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2857
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2858
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
2859
		end
2860
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2861
		SpawnTrail(Hole.Position,POS)
2862
		if HIT ~= nil then
2863
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2864
				Banish(HIT.Parent)
2865
			end
2866
		end
2867
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2868
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2869
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2870
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2871
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
2872
		for i=0, 0.1, 0.05 / Animation_Speed do
2873
			Swait()
2874
			turnto(Mouse.Hit.p)
2875
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
2876
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
2877
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2878
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2879
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
2880
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
2881
		end
2882
	until KEYHOLD == false
2883
	ATTACK = false
2884
	Rooted = false
2885
end
2886
2887
--//=================================\\
2888
--||	  ASSIGN THINGS TO KEYS
2889
--\\=================================//
2890
2891
function MouseDown(Mouse)
2892
	if ATTACK == false then
2893
	end
2894
end
2895
2896
function MouseUp(Mouse)
2897
HOLD = false
2898
end
2899
2900
function KeyDown(Key)
2901
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
2902
		KEYHOLD = true
2903
	if Key == "z" and ATTACK == false and Milk == false and Chill == false then
2904
		Rifle_Bullet()()
2905
	elseif Key == "z" and ATTACK == false and Milk == true then
2906
		Float_Bullet()
2907
	end
2908
2909
	if Key == "t" and ATTACK == false and Milk == false then
2910
		Taunt()
2911
	end
2912
2913
	if Key == "p" and ATTACK == false and Milk == false then
2914
		TakeOnMe()
2915
	end
2916
	
2917
	if Key == "e" and ATTACK == false and Milk == false and Chill == false then
2918
Sky0.SkyboxBk = "rbxassetid://58372692"
2919
Sky0.SkyboxDn = "rbxassetid://58372720"
2920
Sky0.SkyboxFt = "rbxassetid://58372743"
2921
Sky0.SkyboxLf = "rbxassetid://58372775"
2922
Sky0.SkyboxRt = "rbxassetid://58372795"
2923
Sky0.SkyboxUp = "rbxassetid://58372811"
2924
    Speed = 16
2925
	WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2926
	VIS = 1305251774
2927
	VOLUME = 1.5
2928
	PITCH = 1.04
2929
	sick.TimePosition = 0
2930
	Mode = "Main"
2931
		Gun.Parent = nil
2932
		Chill = true
2933
	elseif Key == "e" and ATTACK == false and Boost == false and Milk == false and Chill == true then
2934
        Mode = "idk"
2935
		CreamForm2()
2936
	end
2937
	
2938
	if Key == "z" and ATTACK == false and Chill == true and Mode ~= "Main" then
2939
    game.Lighting.TimeOfDay = "12:00:00"
2940
    Speed = 16
2941
	VIS = 1305251774
2942
	VOLUME = 1.5
2943
	PITCH = 1.04
2944
	sick.TimePosition = 0
2945
	Mode = "Main"
2946
	end
2947
	
2948
	if Key == "x" and ATTACK == false and Chill == true and Mode ~= "Lucid" then
2949
    game.Lighting.TimeOfDay = "18:30:00"
2950
    Speed = 18
2951
	VIS = 892260150
2952
	VOLUME = 1.5
2953
	PITCH = 1.02
2954
	sick.TimePosition = 3
2955
	Mode = "Lucid"
2956
	end
2957
	
2958
	if Key == "q" and ATTACK == false and Milk == false and Chill == false then
2959
		MilkForm()
2960
	elseif Key == "q" and ATTACK == false and Boost == false and Milk == true then
2961
		CreamForm()
2962
	end
2963
	
2964
	if Key == "c" and Cooldown1 == false and ATTACK == false and Milk == false and Chill == false then
2965
		BulletRoller()
2966
	elseif Key == "c" and Boost == false and Cooldown4 == false and ATTACK == false and Milk == true then
2967
		Booster()
2968
	end
2969
2970
	if Key == "v" and Cooldown2 == false and ATTACK == false and Milk == false and Chill == false then
2971
		SHATTER()
2972
	elseif Key == "v" and Cooldown3 == false and ATTACK == false and Milk == true then
2973
		AURORA()
2974
	end
2975
2976
	if Key == "b" and ATTACK == false then
2977
		   chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
2978
			TOBANISH = {}
2979
	end
2980
2981
	if Key == "x" and ATTACK == false and Milk == false and Chill == false then
2982
		Cream_Strike_rlly()
2983
	elseif Key == "x" and ATTACK == false and Milk == true then
2984
		Ground_Strike()
2985
	   end
2986
	end
2987
end
2988
2989
function KeyUp(Key)
2990
	if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
2991
		KEYHOLD = false
2992
	end
2993
end
2994
2995
	Mouse.Button1Down:connect(function(NEWKEY)
2996
		MouseDown(NEWKEY)
2997
	end)
2998
	Mouse.Button1Up:connect(function(NEWKEY)
2999
		MouseUp(NEWKEY)
3000
	end)
3001
	Mouse.KeyDown:connect(function(NEWKEY)
3002
		KeyDown(NEWKEY)
3003
	end)
3004
	Mouse.KeyUp:connect(function(NEWKEY)
3005
		KeyUp(NEWKEY)
3006
	end)
3007
3008
--//=================================\\
3009
--\\=================================//
3010
3011
3012
function unanchor()
3013
	if UNANCHOR == true then
3014
		g = Character:GetChildren()
3015
		for i = 1, #g do
3016
			if g[i].ClassName == "Part" then
3017
				g[i].Anchored = false
3018
			end
3019
		end
3020
	end
3021
end
3022
3023
3024
--//=================================\\
3025
--||	WRAP THE WHOLE SCRIPT UP
3026
--\\=================================//
3027
3028
Humanoid.Changed:connect(function(Jump)
3029
	if Jump == "Jump" and (Disable_Jump == true) then
3030
		Humanoid.Jump = false
3031
	end
3032
end)
3033
3034
local CONNECT = nil
3035
3036
coroutine.resume(coroutine.create(function()
3037
local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3038
while true do
3039
	Swait()
3040
	if Milk == true and Boost == false then
3041
    sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-15,15),math.random(-10,5),math.random(-15,15))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0)
3042
    end
3043
   end
3044
    end))
3045
3046
coroutine.resume(coroutine.create(function()
3047
local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3048
while true do
3049
	Swait()
3050
	if Milk == true and Boost == true then
3051
    sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(-10,5),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0)
3052
    sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Crimson"),0)
3053
    end
3054
   end
3055
    end))
3056
3057
coroutine.resume(coroutine.create(function()
3058
local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3059
while true do
3060
	Swait()
3061
    if Milk == true then
3062
    WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3063
    Swait(5)
3064
   end
3065
end
3066
    end))
3067
3068
coroutine.resume(coroutine.create(function()
3069
local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3070
while true do
3071
	Swait()
3072
if Milk == true and Boost == true then
3073
   WACKYEFFECT({Time = MRANDOM(10,35), EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.425,0.08,0.425), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(MRANDOM(55,255)/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3074
Swait(6)
3075
end
3076
end
3077
end))
3078
3079
while true do
3080
	Swait()
3081
	ANIMATE.Parent = nil
3082
	if Character:FindFirstChildOfClass("Humanoid") == nil then
3083
		Humanoid = IT("Humanoid",Character)
3084
	end
3085
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
3086
	    v:Stop();
3087
	end
3088
	SINE = SINE + CHANGE
3089
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3090
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3091
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3092
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3093
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3094
		if Milk == false or Chill == true then
3095
		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)
3096
		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)
3097
		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)
3098
		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)
3099
		elseif Milk == true then
3100
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3101
		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)
3102
   end
3103
		elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3104
			
3105
		if Milk == false or Chill == true then
3106
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3107
		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)
3108
		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)
3109
		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)
3110
		elseif Milk == true then
3111
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3112
		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)
3113
end
3114
	end
3115
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3116
		
3117
		ANIM = "Jump"
3118
		if ATTACK == false then
3119
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3120
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3121
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20))* RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3122
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3123
			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)
3124
			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)
3125
	    end
3126
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3127
		ANIM = "Fall"
3128
		if ATTACK == false then
3129
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3130
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3131
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3132
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3133
			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)
3134
			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)
3135
		end
3136
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3137
		ANIM = "Idle"
3138
		if ATTACK == false then
3139
			if Milk == false and Chill == false then
3140
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
3141
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
3142
			if MRANDOM(1,7) == 1 then
3143
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3144
			end					
3145
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3146
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3147
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
3148
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
3149
			    elseif Milk == true then
3150
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3151
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3152
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.4) * ANGLES(RAD(-60 - 4.8 * COS(SINE / 49)), RAD(0), RAD(-25 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
3153
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
3154
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3155
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3156
			elseif Chill == true and Mode == "Main" then
3157
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
3158
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)				
3159
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 - 2 * COS(SINE / 63)), RAD(0), RAD(12 - 4 * COS(SINE / 53))) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3160
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0 - 3 * COS(SINE / 56)), RAD(0), RAD(-12  - 6 * COS(SINE / 47))) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3161
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
3162
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
3163
			elseif Chill == true and Mode == "Lucid" then
3164
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
3165
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.4 / Animation_Speed)				
3166
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3167
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3168
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
3169
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-6.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
3170
		end
3171
		end
3172
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3173
				
3174
		ANIM = "Walk"
3175
		if ATTACK == false then
3176
			if Milk == false and Chill == false then
3177
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3178
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3179
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3180
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
3181
			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)
3182
			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)
3183
			elseif Milk == true then
3184
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(40), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3185
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3186
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-50 - 6 * COS(SINE / 49)), RAD(0), RAD(5 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
3187
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 + 8.5 * COS(SINE / 53)), RAD(0), RAD(-5 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
3188
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-20 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3189
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-20 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
3190
			elseif Chill == true and Mode ~= "Lucid" then
3191
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3192
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3193
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3194
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
3195
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.6 / Animation_Speed)
3196
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.6 / Animation_Speed)
3197
			elseif Mode == "Lucid" then
3198
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(4-2.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(5 * COS(SINE / 7))), 0.15)
3199
            Torso.Neck.C0 = Clerp(Torso.Neck.C0, NECKC0 * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3)
3200
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0.15) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
3201
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0.15) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
3202
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3203
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3204
		   end
3205
		end
3206
	end
3207
	unanchor()
3208
	Humanoid.MaxHealth = "inf"
3209
	Humanoid.Health = "inf"
3210
	if Rooted == false then
3211
		Disable_Jump = false
3212
		Humanoid.WalkSpeed = Speed
3213
	elseif Rooted == true then
3214
		Disable_Jump = true
3215
		Humanoid.WalkSpeed = 0
3216
	end
3217
	
3218
	if INTRO == false and INSTANT == false then
3219
		INTRO = true
3220
		coroutine.resume(coroutine.create(function()
3221
			sick:Play()
3222
			Intro()
3223
		end))
3224
	end
3225
	if INSTANT == true then
3226
		if TRANSFORMED == false then
3227
			sick.TimePosition = 119
3228
			sick:Play()
3229
			Gun.Parent = Character
3230
		end
3231
		TRANSFORMED = true
3232
	end
3233
	sick.Parent = Character
3234
	sick.Volume = VOLUME
3235
	sick.Pitch = PITCH
3236
	sick.SoundId = "rbxassetid://"..VIS
3237
	sick.Name = "Dead"
3238
	sick.Looped = true
3239
	sick:Resume()
3240
end
3241
3242
--//=================================\\
3243
--\\=================================//
3244
3245
3246
3247
3248
3249
--//====================================================\\--
3250
--||			  		 END OF SCRIPT
3251
--\\====================================================//--