View difference between Paste ID: WWdGDbrv and xLkXZU9z
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by idk who
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by idk who")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37-
local plr = game:service'Players'.LocalPlayer
37+
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49-
local mouse = plr:GetMouse()
49+
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").MasterPiece9876
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
88
-----------------------
89
--[[ Name : WAOV2 ]]--
90
-------------------------------------------------------
91
--A script By makhail07, 2003boobear and XXUNORIBOASXX.
92
93
--Discord Creterisk#2958 <- makhail07's discord
94
95
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
96
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
97
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
98
--YOU FUCKING SKIDS,
99
--For Those who log/decompile this, If you sell or trade this,
100
--and I find out who you are, i will take massive action.
101
--:b:
102
-------------------------------------------------------
103
104
local FavIDs = {
105
	340106355, --Nefl Crystals
106
	927529620, --Dimension
107
	876981900, --Fantasy
108
	398987889, --Ordinary Days
109
	1117396305, --Oh wait, it's you.
110
	885996042, --Action Winter Journey
111
	919231299, --Sprawling Idiot Effigy
112
	743466274, --Good Day Sunshine
113
	727411183, --Knife Fight
114
	1402748531, --The Earth Is Counting On You!
115
	595230126 --Robot Language
116
	}
117
118
119
120
--The reality of my life isn't real but a Universe -Creterisk
121
--All people can be nice, Even if you don't think so. -2003boobear
122
--The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX
123
wait()
124
local plr = MasterPiece9876
125
local char = plr.Character
126
local hum = char.Humanoid
127
local hed = char.Head
128
local root = char.HumanoidRootPart
129
local rootj = root.RootJoint
130
local tors = char.Torso
131
local ra = char["Right Arm"]
132
local la = char["Left Arm"]
133
local rl = char["Right Leg"]
134
local ll = char["Left Leg"]
135
local neck = tors["Neck"]
136
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
137
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
138
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
139
local maincolor = BrickColor.new("Dark green")
140
exploitable = true
141
-------------------------------------------------------
142
--Start Whitelist and Invincibility--
143
-------------------------------------------------------	
144
ff = Instance.new("ForceField",char)
145
ff.Visible = false
146
hum.Name = "Base"
147
hum.MaxHealth = 1.0E298
148
hum.Health = 1.0E298
149
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
150
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
151
    hum.MaxHealth = 1.0E298
152
    hum.Health = 1.0E298
153
  end
154
end)
155
-------------------------------------------------------
156
--End Whitelist and Invincibility--
157
-------------------------------------------------------	
158
159
warn("WhAT ANOTHER ONE V2 IS FINALLY HERE!")
160
161
warn("I hope you enjoy.")
162
163
warn("Credit to makhail07, 2003boobear and XXUNORIBOASXX!")
164
165
-------------------------------------------------------
166
--Start Good Stuff--
167
-------------------------------------------------------
168
cam = game.Workspace.CurrentCamera
169
CF = CFrame.new
170
VT = Vector3.new
171
angles = CFrame.Angles
172
attack = false
173
Euler = CFrame.fromEulerAnglesXYZ
174
Rad = math.rad
175
IT = Instance.new
176
BrickC = BrickColor.new
177
Cos = math.cos
178
Acos = math.acos
179
Sin = math.sin
180
Asin = math.asin
181
Abs = math.abs
182
Mrandom = math.random
183
Floor = math.floor
184
-------------------------------------------------------
185
--End Good Stuff--
186
-------------------------------------------------------
187
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
188
RSH, LSH = nil, nil 
189
RW = Instance.new("Weld") 
190
LW = Instance.new("Weld")
191
RH = tors["Right Hip"]
192
LH = tors["Left Hip"]
193
RSH = tors["Right Shoulder"] 
194
LSH = tors["Left Shoulder"] 
195
RSH.Parent = nil 
196
LSH.Parent = nil 
197
RW.Name = "RW"
198
RW.Part0 = tors 
199
RW.C0 = CF(1.5, 0.5, 0)
200
RW.C1 = CF(0, 0.5, 0) 
201
RW.Part1 = ra
202
RW.Parent = tors 
203
LW.Name = "LW"
204
LW.Part0 = tors 
205
LW.C0 = CF(-1.5, 0.5, 0)
206
LW.C1 = CF(0, 0.5, 0) 
207
LW.Part1 = la
208
LW.Parent = tors
209
Effects = {}
210
-------------------------------------------------------
211
--Start HeartBeat--
212
-------------------------------------------------------
213
ArtificialHB = Instance.new("BindableEvent", script)
214
ArtificialHB.Name = "Heartbeat"
215
script:WaitForChild("Heartbeat")
216
217
frame = 1 / 60
218
tf = 0
219
allowframeloss = false
220
tossremainder = false
221
222
223
lastframe = tick()
224
script.Heartbeat:Fire()
225
226
227
game:GetService("RunService").Heartbeat:connect(function(s, p)
228
	tf = tf + s
229
	if tf >= frame then
230
		if allowframeloss then
231
			script.Heartbeat:Fire()
232
			lastframe = tick()
233
		else
234
			for i = 1, math.floor(tf / frame) do
235
				script.Heartbeat:Fire()
236
			end
237
			lastframe = tick()
238
		end
239
		if tossremainder then
240
			tf = 0
241
		else
242
			tf = tf - frame * math.floor(tf / frame)
243
		end
244
	end
245
end)
246
-------------------------------------------------------
247
--End HeartBeat--
248
-------------------------------------------------------
249
250
TAUNT = Instance.new("Sound", tors)
251
TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
252
TAUNT.Volume = 10
253
TAUNT.Pitch = 1
254
TAUNT.Looped = false
255
TAUNT.TimePosition = 0.12
256
257
BTAUNT = Instance.new("Sound", tors)
258
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
259
BTAUNT.Volume = 10
260
BTAUNT.Pitch = 1
261
BTAUNT.Looped = false
262
BTAUNT.TimePosition = 0.2
263
264
ITAUNT = Instance.new("Sound", tors)
265
ITAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994669"
266
ITAUNT.Volume = 10
267
ITAUNT.Pitch = 1
268
ITAUNT.Looped = false
269
ITAUNT.TimePosition = 0
270
271
BATAUNT = Instance.new("Sound", tors)
272
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
273
BATAUNT.Volume = 10
274
BATAUNT.Pitch = 1
275
BATAUNT.Looped = false
276
BATAUNT.TimePosition = 0
277
278
STAUNT = Instance.new("Sound", tors)
279
STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
280
STAUNT.Volume = 10
281
STAUNT.Pitch = 1
282
STAUNT.Looped = false
283
STAUNT.TimePosition = 0.05
284
285
DTAUNT = Instance.new("Sound", tors)
286
DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
287
DTAUNT.Volume = 10
288
DTAUNT.Pitch = 1
289
DTAUNT.Looped = false
290
DTAUNT.TimePosition = 0
291
292
LAZOR = Instance.new("Sound", ra)
293
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
294
LAZOR.Volume = 10
295
LAZOR.Pitch = 0.7
296
LAZOR.Looped = false
297
LAZOR.TimePosition = 0
298
299
-------------------------------------------------------
300
--Start Important Functions--
301
-------------------------------------------------------
302
function swait(num)
303
	if num == 0 or num == nil then
304
		game:service("RunService").Stepped:wait(0)
305
	else
306
		for i = 0, num do
307
			game:service("RunService").Stepped:wait(0)
308
		end
309
	end
310
end
311
function thread(f)
312
	coroutine.resume(coroutine.create(f))
313
end
314
function clerp(a, b, t)
315
	local qa = {
316
		QuaternionFromCFrame(a)
317
	}
318
	local qb = {
319
		QuaternionFromCFrame(b)
320
	}
321
	local ax, ay, az = a.x, a.y, a.z
322
	local bx, by, bz = b.x, b.y, b.z
323
	local _t = 1 - t
324
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
325
end
326
function ShockWave(Part, cframe1, cframe2, Damage, Size)
327
	coroutine.resume(coroutine.create(function() 
328
		local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
329
		wave.Anchored = true 
330
		wave.CFrame = Part.CFrame * cframe1
331
		local Msh = Create("SpecialMesh"){
332
			Parent = wave,
333
			MeshType = "Sphere"
334
		}
335
		Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
336
		for i = 0, 1, 0.2 do
337
			wait()
338
			local dir = wave.CFrame.lookVector * -1
339
			local pos = rayCast(wave.Position, dir, 5, Character)
340
			wave.CFrame = wave.CFrame * cframe2
341
                        table.insert(Effects, {
342
                                wave,
343
                                "Sphere",
344
                                0.01,
345
                                .03,
346
                                .03,
347
                                .03,
348
                        })
349
		end
350
	end))
351
end
352
353
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
354
local type = type
355
local rng = Instance.new("Part", char)
356
        rng.Anchored = true
357
        rng.BrickColor = color
358
        rng.CanCollide = false
359
        rng.FormFactor = 3
360
        rng.Name = "Ring"
361
        rng.Material = "Neon"
362
        rng.Size = Vector3.new(1, 1, 1)
363
        rng.Transparency = 0
364
        rng.TopSurface = 0
365
        rng.BottomSurface = 0
366
        rng.CFrame = pos
367
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
368
        local rngm = Instance.new("SpecialMesh", rng)
369
        rngm.MeshType = "Brick"
370
rngm.Scale = VT(x1,y1,z1)
371
if rainbowmode == true then
372
rng.Color = Color3.new(r/255,g/255,b/255)
373
end
374
local scaler2 = 1
375
local speeder = FastSpeed/10
376
if type == "Add" then
377
scaler2 = 1*value
378
elseif type == "Divide" then
379
scaler2 = 1/value
380
end
381
coroutine.resume(coroutine.create(function()
382
for i = 0,10/bonuspeed,0.1 do
383
swait()
384
if type == "Add" then
385
scaler2 = scaler2 - 0.01*value/bonuspeed
386
elseif type == "Divide" then
387
scaler2 = scaler2 - 0.01/value*bonuspeed
388
end
389
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
390
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
391
rng.Transparency = rng.Transparency + 0.01*bonuspeed
392
end
393
rng:Destroy()
394
end))
395
end
396
New = function(Object, Parent, Name, Data)
397
	local Object = Instance.new(Object)
398
	for Index, Value in pairs(Data or {}) do
399
		Object[Index] = Value
400
	end
401
	Object.Parent = Parent
402
	Object.Name = Name
403
	return Object
404
end
405
function QuaternionFromCFrame(cf)
406
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
407
	local trace = m00 + m11 + m22
408
	if trace > 0 then
409
		local s = math.sqrt(1 + trace)
410
		local recip = 0.5 / s
411
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
412
	else
413
		local i = 0
414
		if m00 < m11 then
415
			i = 1
416
		end
417
		if m22 > (i == 0 and m00 or m11) then
418
			i = 2
419-
			Value = game:service("Players").LocalPlayer,
419+
420
		if i == 0 then
421
			local s = math.sqrt(m00 - m11 - m22 + 1)
422
			local recip = 0.5 / s
423
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
424
		elseif i == 1 then
425
			local s = math.sqrt(m11 - m22 - m00 + 1)
426
			local recip = 0.5 / s
427
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
428
		elseif i == 2 then
429
			local s = math.sqrt(m22 - m00 - m11 + 1)
430
			local recip = 0.5 / s
431
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
432
		end
433
	end
434
end
435
function QuaternionToCFrame(px, py, pz, x, y, z, w)
436
	local xs, ys, zs = x + x, y + y, z + z
437
	local wx, wy, wz = w * xs, w * ys, w * zs
438
	local xx = x * xs
439
	local xy = x * ys
440
	local xz = x * zs
441
	local yy = y * ys
442
	local yz = y * zs
443
	local zz = z * zs
444
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
445
end
446
function QuaternionSlerp(a, b, t)
447
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
448
	local startInterp, finishInterp
449
	if cosTheta >= 1.0E-4 then
450
		if 1 - cosTheta > 1.0E-4 then
451
			local theta = math.acos(cosTheta)
452
			local invSinTheta = 1 / Sin(theta)
453
			startInterp = Sin((1 - t) * theta) * invSinTheta
454
			finishInterp = Sin(t * theta) * invSinTheta
455
		else
456
			startInterp = 1 - t
457
			finishInterp = t
458
		end
459
	elseif 1 + cosTheta > 1.0E-4 then
460
		local theta = math.acos(-cosTheta)
461
		local invSinTheta = 1 / Sin(theta)
462
		startInterp = Sin((t - 1) * theta) * invSinTheta
463
		finishInterp = Sin(t * theta) * invSinTheta
464
	else
465
		startInterp = t - 1
466
		finishInterp = t
467
	end
468
	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
469
end
470
function rayCast(Position, Direction, Range, Ignore)
471
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
472
end
473
local RbxUtility = LoadLibrary("RbxUtility")
474
local Create = RbxUtility.Create
475
476
-------------------------------------------------------
477
--Start Damage Function--
478
-------------------------------------------------------
479
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
480
	if hit.Parent == nil then
481
		return
482
	end
483
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
484
	for _, v in pairs(hit.Parent:children()) do
485
		if v:IsA("Humanoid") then
486
			h = v
487
		end
488
	end
489
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
490
	
491
         hit.Parent:FindFirstChild("Head"):BreakJoints()
492
         end
493
494
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
495
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
496
			if hit.Parent.DebounceHit.Value == true then
497
				return
498
			end
499
		end
500
         if insta == true then
501
         hit.Parent:FindFirstChild("Head"):BreakJoints()
502
         end
503
		local c = Create("ObjectValue"){
504
			Name = "creator",
505
			Value = owner
506
			Parent = h,
507
		}
508
		game:GetService("Debris"):AddItem(c, .5)
509
		if HitSound ~= nil and HitPitch ~= nil then
510
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
511
		end
512
		local Damage = math.random(minim, maxim)
513
		local blocked = false
514
		local block = hit.Parent:findFirstChild("Block")
515
		if block ~= nil then
516
			if block.className == "IntValue" then
517
				if block.Value > 0 then
518
					blocked = true
519
					block.Value = block.Value - 1
520
					print(block.Value)
521
				end
522
			end
523
		end
524
		if blocked == false then
525
			h.Health = h.Health - Damage
526
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
527
		else
528
			h.Health = h.Health - (Damage / 2)
529
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
530
		end
531
		if Type == "Knockdown" then
532
			local hum = hit.Parent.Humanoid
533
			hum.PlatformStand = true
534
			coroutine.resume(coroutine.create(function(HHumanoid)
535
				swait(1)
536
				HHumanoid.PlatformStand = false
537
			end), hum)
538
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
539
			local bodvol = Create("BodyVelocity"){
540
				velocity = angle * knockback,
541
				P = 5000,
542
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
543
				Parent = hit,
544
			}
545
			local rl = Create("BodyAngularVelocity"){
546
				P = 3000,
547
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
548
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
549
				Parent = hit,
550
			}
551
			game:GetService("Debris"):AddItem(bodvol, .5)
552
			game:GetService("Debris"):AddItem(rl, .5)
553
		elseif Type == "Normal" then
554
			local vp = Create("BodyVelocity"){
555
				P = 500,
556
				maxForce = Vector3.new(math.huge, 0, math.huge),
557
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
558
			}
559
			if knockback > 0 then
560
				vp.Parent = hit.Parent.Torso
561
			end
562
			game:GetService("Debris"):AddItem(vp, .5)
563
		elseif Type == "Up" then
564
			local bodyVelocity = Create("BodyVelocity"){
565
				velocity = Vector3.new(0, 20, 0),
566
				P = 5000,
567
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
568
				Parent = hit,
569
			}
570
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
571
		elseif Type == "DarkUp" then
572
			coroutine.resume(coroutine.create(function()
573
				for i = 0, 1, 0.1 do
574
					swait()
575
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
576
				end
577
			end))
578
			local bodyVelocity = Create("BodyVelocity"){
579
				velocity = Vector3.new(0, 20, 0),
580
				P = 5000,
581
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
582
				Parent = hit,
583
			}
584
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
585
		elseif Type == "Snare" then
586
			local bp = Create("BodyPosition"){
587
				P = 2000,
588
				D = 100,
589
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
590
				position = hit.Parent.Torso.Position,
591
				Parent = hit.Parent.Torso,
592
			}
593
			game:GetService("Debris"):AddItem(bp, 1)
594
		elseif Type == "Freeze" then
595
			local BodPos = Create("BodyPosition"){
596
				P = 50000,
597
				D = 1000,
598
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
599
				position = hit.Parent.Torso.Position,
600
				Parent = hit.Parent.Torso,
601
			}
602
			local BodGy = Create("BodyGyro") {
603
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
604
				P = 20e+003,
605
				Parent = hit.Parent.Torso,
606
				cframe = hit.Parent.Torso.CFrame,
607
			}
608
			hit.Parent.Torso.Anchored = true
609
			coroutine.resume(coroutine.create(function(Part) 
610
				swait(1.5)
611
				Part.Anchored = false
612
			end), hit.Parent.Torso)
613
			game:GetService("Debris"):AddItem(BodPos, 3)
614
			game:GetService("Debris"):AddItem(BodGy, 3)
615
		end
616
		local debounce = Create("BoolValue"){
617
			Name = "DebounceHit",
618
			Parent = hit.Parent,
619
			Value = true,
620
		}
621
		game:GetService("Debris"):AddItem(debounce, Delay)
622
		c = Create("ObjectValue"){
623
			Name = "creator",
624
			Value = Player,
625
			Parent = h,
626
		}
627
		game:GetService("Debris"):AddItem(c, .5)
628
	end
629
end
630
-------------------------------------------------------
631
--End Damage Function--
632
-------------------------------------------------------
633
634
-------------------------------------------------------
635
--Start Damage Function Customization--
636
-------------------------------------------------------
637
function ShowDamage(Pos, Text, Time, Color)
638
	local Rate = (1 / 30)
639
	local Pos = (Pos or Vector3.new(0, 0, 0))
640
	local Text = (Text or "")
641
	local Time = (Time or 2)
642
	local Color = (Color or Color3.new(1, 0, 1))
643
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
644
	EffectPart.Anchored = true
645
	local BillboardGui = Create("BillboardGui"){
646
		Size = UDim2.new(3, 0, 3, 0),
647
		Adornee = EffectPart,
648
		Parent = EffectPart,
649
	}
650
	local TextLabel = Create("TextLabel"){
651
		BackgroundTransparency = 1,
652
		Size = UDim2.new(1, 0, 1, 0),
653
		Text = Text,
654
		Font = "Bodoni",
655
		TextColor3 = Color,
656
		TextScaled = true,
657
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
658
		Parent = BillboardGui,
659
	}
660
	game.Debris:AddItem(EffectPart, (Time))
661
	EffectPart.Parent = game:GetService("Workspace")
662
	delay(0, function()
663
		local Frames = (Time / Rate)
664
		for Frame = 1, Frames do
665
			wait(Rate)
666
			local Percent = (Frame / Frames)
667
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
668
			TextLabel.TextTransparency = Percent
669
		end
670
		if EffectPart and EffectPart.Parent then
671
			EffectPart:Destroy()
672
		end
673
	end)
674
end
675
-------------------------------------------------------
676
--End Damage Function Customization--
677
-------------------------------------------------------
678
679
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
680
  for _, c in pairs(workspace:children()) do
681
    local hum = c:findFirstChild("Humanoid")
682
    if hum ~= nil then
683
      local head = c:findFirstChild("Head")
684
      if head ~= nil then
685
        local targ = head.Position - Part.Position
686
        local mag = targ.magnitude
687
        if magni >= mag and c.Name ~= plr.Name then
688
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
689
        end
690
      end
691
    end
692
  end
693
end
694
695
696
CFuncs = {
697
	Part = {
698
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
699
			local Part = Create("Part")({
700
				Parent = Parent,
701
				Reflectance = Reflectance,
702
				Transparency = Transparency,
703
				CanCollide = false,
704
				Locked = true,
705
				BrickColor = BrickColor.new(tostring(BColor)),
706
				Name = Name,
707
				Size = Size,
708
				Material = Material
709
			})
710
			RemoveOutlines(Part)
711
			return Part
712
		end
713
	},
714
	Mesh = {
715
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
716
			local Msh = Create(Mesh)({
717
				Parent = Part,
718
				Offset = OffSet,
719
				Scale = Scale
720
			})
721
			if Mesh == "SpecialMesh" then
722
				Msh.MeshType = MeshType
723
				Msh.MeshId = MeshId
724
			end
725
			return Msh
726
		end
727
	},
728
	Mesh = {
729
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
730
			local Msh = Create(Mesh)({
731
				Parent = Part,
732
				Offset = OffSet,
733
				Scale = Scale
734
			})
735
			if Mesh == "SpecialMesh" then
736
				Msh.MeshType = MeshType
737
				Msh.MeshId = MeshId
738
			end
739
			return Msh
740
		end
741
	},
742
	Weld = {
743
		Create = function(Parent, Part0, Part1, C0, C1)
744
			local Weld = Create("Weld")({
745
				Parent = Parent,
746
				Part0 = Part0,
747
				Part1 = Part1,
748
				C0 = C0,
749
				C1 = C1
750
			})
751
			return Weld
752
		end
753
	},
754
	Sound = {
755
		Create = function(id, par, vol, pit)
756
			coroutine.resume(coroutine.create(function()
757
				local S = Create("Sound")({
758
					Volume = vol,
759
					Pitch = pit or 1,
760
					SoundId = id,
761
					Parent = par or workspace
762
				})
763
				wait()
764
				S:play()
765
				game:GetService("Debris"):AddItem(S, 6)
766
			end))
767
		end
768
	},
769
	ParticleEmitter = {
770
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
771
			local fp = Create("ParticleEmitter")({
772
				Parent = Parent,
773
				Color = ColorSequence.new(Color1, Color2),
774
				LightEmission = LightEmission,
775
				Size = Size,
776
				Texture = Texture,
777
				Transparency = Transparency,
778
				ZOffset = ZOffset,
779
				Acceleration = Accel,
780
				Drag = Drag,
781
				LockedToPart = LockedToPart,
782
				VelocityInheritance = VelocityInheritance,
783
				EmissionDirection = EmissionDirection,
784
				Enabled = Enabled,
785
				Lifetime = LifeTime,
786
				Rate = Rate,
787
				Rotation = Rotation,
788
				RotSpeed = RotSpeed,
789
				Speed = Speed,
790
				VelocitySpread = VelocitySpread
791
			})
792
			return fp
793
		end
794
	}
795
}
796
function RemoveOutlines(part)
797
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
798
end
799
function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
800
	local Part = Create("Part")({
801
		formFactor = FormFactor,
802
		Parent = Parent,
803
		Reflectance = Reflectance,
804
		Transparency = Transparency,
805
		CanCollide = false,
806
		Locked = true,
807
		BrickColor = BrickColor.new(tostring(BColor)),
808
		Name = Name,
809
		Size = Size,
810
		Material = Material
811
	})
812
	RemoveOutlines(Part)
813
	return Part
814
end
815
function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
816
	local Msh = Create(Mesh)({
817
		Parent = Part,
818
		Offset = OffSet,
819
		Scale = Scale
820
	})
821
	if Mesh == "SpecialMesh" then
822
		Msh.MeshType = MeshType
823
		Msh.MeshId = MeshId
824
	end
825
	return Msh
826
end
827
function CreateWeld(Parent, Part0, Part1, C0, C1)
828
	local Weld = Create("Weld")({
829
		Parent = Parent,
830
		Part0 = Part0,
831
		Part1 = Part1,
832
		C0 = C0,
833
		C1 = C1
834
	})
835
	return Weld
836
end
837
838
839
-------------------------------------------------------
840
--Start Effect Function--
841
-------------------------------------------------------
842
EffectModel = Instance.new("Model", char)
843
Effects = {
844
  Block = {
845
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
846
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
847
      prt.Anchored = true
848
      prt.CFrame = cframe
849
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
850
      game:GetService("Debris"):AddItem(prt, 10)
851
      if Type == 1 or Type == nil then
852
        table.insert(Effects, {
853
          prt,
854
          "Block1",
855
          delay,
856
          x3,
857
          y3,
858
          z3,
859
          msh
860
        })
861
      elseif Type == 2 then
862
        table.insert(Effects, {
863
          prt,
864
          "Block2",
865
          delay,
866
          x3,
867
          y3,
868
          z3,
869
          msh
870
        })
871
      else
872
        table.insert(Effects, {
873
          prt,
874
          "Block3",
875
          delay,
876
          x3,
877
          y3,
878
          z3,
879
          msh
880
        })
881
      end
882
    end
883
  },
884
  Sphere = {
885
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
886
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
887
      prt.Anchored = true
888
      prt.CFrame = cframe
889
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
890
      game:GetService("Debris"):AddItem(prt, 10)
891
      table.insert(Effects, {
892
        prt,
893
        "Cylinder",
894
        delay,
895
        x3,
896
        y3,
897
        z3,
898
        msh
899
      })
900
    end
901
  },
902
  Cylinder = {
903
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
904
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
905
      prt.Anchored = true
906
      prt.CFrame = cframe
907
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
908
      game:GetService("Debris"):AddItem(prt, 10)
909
      table.insert(Effects, {
910
        prt,
911
        "Cylinder",
912
        delay,
913
        x3,
914
        y3,
915
        z3,
916
        msh
917
      })
918
    end
919
  },
920
  Wave = {
921
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
922
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
923
      prt.Anchored = true
924
      prt.CFrame = cframe
925
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
926
      game:GetService("Debris"):AddItem(prt, 10)
927
      table.insert(Effects, {
928
        prt,
929
        "Cylinder",
930
        delay,
931
        x3 / 60,
932
        y3 / 60,
933
        z3 / 60,
934
        msh
935
      })
936
    end
937
  },
938
  Ring = {
939
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
940
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
941
      prt.Anchored = true
942
      prt.CFrame = cframe
943
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
944
      game:GetService("Debris"):AddItem(prt, 10)
945
      table.insert(Effects, {
946
        prt,
947
        "Cylinder",
948
        delay,
949
        x3,
950
        y3,
951
        z3,
952
        msh
953
      })
954
    end
955
  },
956
  Break = {
957
    Create = function(brickcolor, cframe, x1, y1, z1)
958
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
959
      prt.Anchored = true
960
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
961
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
962
      local num = math.random(10, 50) / 1000
963
      game:GetService("Debris"):AddItem(prt, 10)
964
      table.insert(Effects, {
965
        prt,
966
        "Shatter",
967
        num,
968
        prt.CFrame,
969
        math.random() - math.random(),
970
        0,
971
        math.random(50, 100) / 100
972
      })
973
    end
974
  },
975
Spiral = {
976
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
977
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
978
      prt.Anchored = true
979
      prt.CFrame = cframe
980
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
981
      game:GetService("Debris"):AddItem(prt, 10)
982
      table.insert(Effects, {
983
        prt,
984
        "Cylinder",
985
        delay,
986
        x3,
987
        y3,
988
        z3,
989
        msh
990
      })
991
    end
992
  },
993
Push = {
994
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
995
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
996
      prt.Anchored = true
997
      prt.CFrame = cframe
998
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
999
      game:GetService("Debris"):AddItem(prt, 10)
1000
      table.insert(Effects, {
1001
        prt,
1002
        "Cylinder",
1003
        delay,
1004
        x3,
1005
        y3,
1006
        z3,
1007
        msh
1008
      })
1009
    end
1010
  }
1011
}
1012
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
1013
	local fp = IT("Part")
1014
	fp.formFactor = formfactor 
1015
	fp.Parent = parent
1016
	fp.Reflectance = reflectance
1017
	fp.Transparency = transparency
1018
	fp.CanCollide = false 
1019
	fp.Locked = true
1020
	fp.BrickColor = brickcolor
1021
	fp.Name = name
1022
	fp.Size = size
1023
	fp.Position = tors.Position 
1024
	RemoveOutlines(fp)
1025
	fp.Material = "SmoothPlastic"
1026
	fp:BreakJoints()
1027
	return fp 
1028
end 
1029
 
1030
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1031
	local mesh = IT(Mesh) 
1032
	mesh.Parent = part
1033
	if Mesh == "SpecialMesh" then
1034
		mesh.MeshType = meshtype
1035
	if meshid ~= "nil" then
1036
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1037
		end
1038
	end
1039
	mesh.Offset = offset
1040
	mesh.Scale = scale
1041
	return mesh
1042
end
1043
1044
function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1045
	local type = type
1046
	local rng = Instance.new("Part", char)
1047
	rng.Anchored = true
1048
	rng.BrickColor = color
1049
	rng.CanCollide = false
1050
	rng.FormFactor = 3
1051
	rng.Name = "Ring"
1052
	rng.Material = "Neon"
1053
	rng.Size = Vector3.new(1, 1, 1)
1054
	rng.Transparency = 1
1055
	rng.TopSurface = 0
1056
	rng.BottomSurface = 0
1057
	rng.CFrame = pos
1058
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1059
	local rngm = Instance.new("SpecialMesh", rng)
1060
	rngm.MeshType = MType
1061
	rngm.Scale = Vector3.new(x1, y1, z1)
1062
	local scaler2 = 1
1063
	local speeder = FastSpeed
1064
	if type == "Add" then
1065
		scaler2 = 1 * value
1066
	elseif type == "Divide" then
1067
		scaler2 = 1 / value
1068
	end
1069
	coroutine.resume(coroutine.create(function()
1070
		for i = 0, 10 / bonuspeed, 0.1 do
1071
			swait()
1072
			if type == "Add" then
1073
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1074
			elseif type == "Divide" then
1075
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1076
			end
1077
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1078
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1079
			rng.Transparency = rng.Transparency - 0.01 * bonuspeed
1080
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1081
		end
1082
		rng:Destroy()
1083
	end))
1084
end
1085
1086
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1087
	local type = type
1088
	local rng = Instance.new("Part", char)
1089
	rng.Anchored = true
1090
	rng.BrickColor = color
1091
	rng.CanCollide = false
1092
	rng.FormFactor = 3
1093
	rng.Name = "Ring"
1094
	rng.Material = "Neon"
1095
	rng.Size = Vector3.new(1, 1, 1)
1096
	rng.Transparency = 0
1097
	rng.TopSurface = 0
1098
	rng.BottomSurface = 0
1099
	rng.CFrame = pos
1100
	local rngm = Instance.new("SpecialMesh", rng)
1101
	rngm.MeshType = MType
1102
	rngm.Scale = scale
1103
	local scaler2 = 1
1104
	if type == "Add" then
1105
		scaler2 = 1 * value
1106
	elseif type == "Divide" then
1107
		scaler2 = 1 / value
1108
	end
1109
	coroutine.resume(coroutine.create(function()
1110
		for i = 0, 10 / bonuspeed, 0.1 do
1111
			swait()
1112
			if type == "Add" then
1113
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1114
			elseif type == "Divide" then
1115
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1116
			end
1117
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1118
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1119
		end
1120
		rng:Destroy()
1121
	end))
1122
end
1123
1124
function Eviscerate(dude)
1125
	if dude.Name ~= char then
1126
		local bgf = IT("BodyGyro", dude.Head)
1127
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1128
		local val = IT("BoolValue", dude)
1129
		val.Name = "IsHit"
1130
		local ds = coroutine.wrap(function()
1131
			dude:WaitForChild("Head"):BreakJoints()
1132
			wait(0.5)
1133
			target = nil
1134
			coroutine.resume(coroutine.create(function()
1135
				for i, v in pairs(dude:GetChildren()) do
1136
					if v:IsA("Accessory") then
1137
						v:Destroy()
1138
					end
1139
					if v:IsA("Humanoid") then
1140
						v:Destroy()
1141
					end
1142
					if v:IsA("CharacterMesh") then
1143
						v:Destroy()
1144
					end
1145
					if v:IsA("Model") then
1146
						v:Destroy()
1147
					end
1148
					if v:IsA("Part") or v:IsA("MeshPart") then
1149
						for x, o in pairs(v:GetChildren()) do
1150
							if o:IsA("Decal") then
1151
								o:Destroy()
1152
							end
1153
						end
1154
						coroutine.resume(coroutine.create(function()
1155
							v.Material = "Neon"
1156
							v.CanCollide = false
1157
							local PartEmmit1 = IT("ParticleEmitter", v)
1158
							PartEmmit1.LightEmission = 1
1159
							PartEmmit1.Texture = "rbxassetid://284205403"
1160
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1161
							PartEmmit1.Rate = 150
1162
							PartEmmit1.Lifetime = NumberRange.new(1)
1163
							PartEmmit1.Size = NumberSequence.new({
1164
								NumberSequenceKeypoint.new(0, 0.75, 0),
1165
								NumberSequenceKeypoint.new(1, 0, 0)
1166
							})
1167
							PartEmmit1.Transparency = NumberSequence.new({
1168
								NumberSequenceKeypoint.new(0, 0, 0),
1169
								NumberSequenceKeypoint.new(1, 1, 0)
1170
							})
1171
							PartEmmit1.Speed = NumberRange.new(0, 0)
1172
							PartEmmit1.VelocitySpread = 30000
1173
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1174
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1175
							local BodPoss = IT("BodyPosition", v)
1176
							BodPoss.P = 3000
1177
							BodPoss.D = 1000
1178
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1179
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1180
							v.Color = maincolor.Color
1181
							coroutine.resume(coroutine.create(function()
1182
								for i = 0, 49 do
1183
									swait(1)
1184
									v.Transparency = v.Transparency + 0.08
1185
								end
1186
								wait(0.5)
1187
								PartEmmit1.Enabled = false
1188
								wait(3)
1189
								v:Destroy()
1190
								dude:Destroy()
1191
							end))
1192
						end))
1193
					end
1194
				end
1195
			end))
1196
		end)
1197
		ds()
1198
	end
1199
end
1200
1201
function FindNearestHead(Position, Distance, SinglePlayer)
1202
	if SinglePlayer then
1203
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1204
	end
1205
	local List = {}
1206
	for i, v in pairs(workspace:GetChildren()) do
1207
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1208
			table.insert(List, v)
1209
		end
1210
	end
1211
	return List
1212
end
1213
1214
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1215
	local type = type
1216
	local rng = Instance.new("Part", char)
1217
	rng.Anchored = true
1218
	rng.BrickColor = color
1219
	rng.CanCollide = false
1220
	rng.FormFactor = 3
1221
	rng.Name = "Ring"
1222
	rng.Material = "Neon"
1223
	rng.Size = Vector3.new(1, 1, 1)
1224
	rng.Transparency = 0
1225
	rng.TopSurface = 0
1226
	rng.BottomSurface = 0
1227
	rng.CFrame = pos
1228
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1229
	local rngm = Instance.new("SpecialMesh", rng)
1230
	rngm.MeshType = MType
1231
	rngm.Scale = Vector3.new(x1, y1, z1)
1232
	local scaler2 = 1
1233
	local speeder = FastSpeed
1234
	if type == "Add" then
1235
		scaler2 = 1 * value
1236
	elseif type == "Divide" then
1237
		scaler2 = 1 / value
1238
	end
1239
	coroutine.resume(coroutine.create(function()
1240
		for i = 0, 10 / bonuspeed, 0.1 do
1241
			swait()
1242
			if type == "Add" then
1243
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1244
			elseif type == "Divide" then
1245
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1246
			end
1247
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1248
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1249
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1250
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1251
		end
1252
		rng:Destroy()
1253
	end))
1254
end
1255
1256
function SoulSteal(dude)
1257
if dude.Name ~= char then
1258
local bgf = IT("BodyGyro", dude.Head)
1259
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1260
local val = IT("BoolValue", dude)
1261
val.Name = "IsHit"
1262
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1263
local soulst = coroutine.wrap(function()
1264
local soul = Instance.new("Part",dude)
1265
soul.Size = Vector3.new(1,1,1)
1266
soul.CanCollide = false
1267
soul.Anchored = false
1268
soul.Position = torso.Position
1269
soul.Transparency = 1
1270
local PartEmmit1 = IT("ParticleEmitter", soul)
1271
PartEmmit1.LightEmission = 1
1272
PartEmmit1.Texture = "rbxassetid://569507414"
1273
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1274
PartEmmit1.Rate = 250
1275
PartEmmit1.Lifetime = NumberRange.new(1.6)
1276
PartEmmit1.Size = NumberSequence.new({
1277
	NumberSequenceKeypoint.new(0, 1, 0),
1278
	NumberSequenceKeypoint.new(1, 0, 0)
1279
})
1280
PartEmmit1.Transparency = NumberSequence.new({
1281
	NumberSequenceKeypoint.new(0, 0, 0),
1282
	NumberSequenceKeypoint.new(1, 1, 0)
1283
})
1284
PartEmmit1.Speed = NumberRange.new(0, 0)
1285
PartEmmit1.VelocitySpread = 30000
1286
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1287
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1288
local BodPoss = IT("BodyPosition", soul)
1289
BodPoss.P = 3000
1290
BodPoss.D = 1000
1291
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1292
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1293
wait(1.6)
1294
soul.Touched:connect(function(hit)
1295
	if hit.Parent == char then
1296
	soul:Destroy()
1297
	end
1298
end)
1299
wait(1.2)
1300
while soul do
1301
	swait()
1302
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1303
	BodPoss.Position = tors.Position
1304
end
1305
end)
1306
	soulst()
1307
	end
1308
end
1309
function FaceMouse()
1310
local	Cam = workspace.CurrentCamera
1311
	return {
1312
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1313
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1314
	}
1315
end
1316
-------------------------------------------------------
1317
--End Effect Function--
1318
-------------------------------------------------------
1319
function Cso(ID, PARENT, VOLUME, PITCH)
1320
	local NSound = nil
1321
	coroutine.resume(coroutine.create(function()
1322
		NSound = IT("Sound", PARENT)
1323
		NSound.Volume = VOLUME
1324
		NSound.Pitch = PITCH
1325
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1326
		swait()
1327
		NSound:play()
1328
		game:GetService("Debris"):AddItem(NSound, 10)
1329
	end))
1330
	return NSound
1331
end
1332
function CameraEnshaking(Length, Intensity)
1333
	coroutine.resume(coroutine.create(function()
1334
		local intensity = 1 * Intensity
1335
		local rotM = 0.01 * Intensity
1336
		for i = 0, Length, 0.1 do
1337
			swait()
1338
			intensity = intensity - 0.05 * Intensity / Length
1339
			rotM = rotM - 5.0E-4 * Intensity / Length
1340
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1341
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1342
		end
1343
		hum.CameraOffset = Vector3.new(0, 0, 0)
1344
	end))
1345
end
1346
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1347
local Hitboxpart = Instance.new("Part", EffectModel)
1348
  RemoveOutlines(Hitboxpart)
1349
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1350
  Hitboxpart.CanCollide = false
1351
  Hitboxpart.Transparency = 1
1352
  Hitboxpart.Anchored = true
1353
  Hitboxpart.CFrame = Pose
1354
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1355
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1356
end
1357
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1358
  local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1359
  prt.Anchored = true
1360
  prt.CFrame = cframe
1361
  local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1362
  game:GetService("Debris"):AddItem(prt, 10)
1363
  if Type == 1 or Type == nil then
1364
    table.insert(Effects, {
1365
      prt,
1366
      "Block1",
1367
      delay,
1368
      x3,
1369
      y3,
1370
      z3,
1371
      msh
1372
    })
1373
  elseif Type == 2 then
1374
    table.insert(Effects, {
1375
      prt,
1376
      "Block2",
1377
      delay,
1378
      x3,
1379
      y3,
1380
      z3,
1381
      msh
1382
    })
1383
  elseif Type == 3 then
1384
    table.insert(Effects, {
1385
      prt,
1386
      "Block3",
1387
      delay,
1388
      x3,
1389
      y3,
1390
      z3,
1391
      msh
1392
    })
1393
  end
1394
end
1395
1396
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1397
	local Part = Create("Part"){
1398
		Parent = Parent,
1399
		Reflectance = Reflectance,
1400
		Transparency = Transparency,
1401
		CanCollide = false,
1402
		Locked = true,
1403
		BrickColor = BrickColor.new(tostring(BColor)),
1404
		Name = Name,
1405
		Size = Size,
1406
		Material = Material,
1407
	}
1408
	RemoveOutlines(Part)
1409
	return Part
1410
end
1411
	
1412
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1413
	local Msh = Create(Mesh){
1414
		Parent = Part,
1415
		Offset = OffSet,
1416
		Scale = Scale,
1417
	}
1418
	if Mesh == "SpecialMesh" then
1419
		Msh.MeshType = MeshType
1420
		Msh.MeshId = MeshId
1421
	end
1422
	return Msh
1423
end
1424
1425
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1426
local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1427
prt.Anchored = true
1428
prt.CFrame = cframe
1429
local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
1430
game:GetService("Debris"):AddItem(prt,2)
1431
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
1432
for i=0,1,delay do
1433
swait()
1434
Part.Transparency=i
1435
Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
1436
end
1437
Part.Parent=nil
1438
end),prt,msh,(math.random(0,1)+math.random())/5)
1439
end
1440
-------------------------------------------------------
1441
--End Important Functions--
1442
-------------------------------------------------------
1443
1444
1445
1446
--[[
1447
		Thanks for using Build-To-Lua by jarredbcv.
1448
]]--
1449
1450
New = function(Object, Parent, Name, Data)
1451
	local Object = Instance.new(Object)
1452
	for Index, Value in pairs(Data or {}) do
1453
		Object[Index] = Value
1454
	end
1455
	Object.Parent = Parent
1456
	Object.Name = Name
1457
	return Object
1458
end
1459
	
1460
Gunty = New("Model",char,"Gunty",{})
1461
Handle = New("Part",Gunty,"Handle",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.7700001, 1),CFrame = CFrame.new(31.0716114, 2.79670954, -174.846329, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1462
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1463
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1464
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1465
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1466
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000103, 0.229999959),CFrame = CFrame.new(31.058609, 2.34723592, -175.197876, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1467
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1468
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00469970703, -0.445775509, -0.356430054, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1469
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.04999995, 0.0500001162, 0.0599999726),CFrame = CFrame.new(31.0147629, 1.60638475, -174.821182, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1470
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1471
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0439567566, -1.19107628, 0.0119018555, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1472
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6584473, 2.04683352, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1473
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1474
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.409790039, -0.759893417, 0.507080078, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1475
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.9084473, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1476
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1477
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(-0.159816742, -0.757163048, 0.509490967, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1478
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.228447, 2.04683328, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1479
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1480
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.160148621, -0.753666878, 0.512573242, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1481
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8784504, 1.99683285, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1482
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1483
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.179458618, -0.796388626, -0.521224976, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1484
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684505, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1485
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1486
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.4025383, -0.070025444, -0.507858276, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1487
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(30.7338467, 2.35736775, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1488
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1489
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.443016529, -0.00453186035, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1490
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.3738499, 2.35736799, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1491
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1492
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.30701828, -0.436024666, 0.00163269043, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1493
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084579, 1.99683356, -175.357178, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1494
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1495
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.150512695, -0.79278326, -0.518005371, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1496
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.01999998, 0.330000132, 0.229999959),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1497
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1498
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1499
Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -175.132095, -1.00000238, -2.20054062e-07, 3.09199095e-07, 2.12065061e-07, -1.00000215, 3.20374966e-07, 2.75671482e-07, 3.09199095e-07, 1.00000226),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1500
mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1.00000179, 2.11242877e-07, 2.80328095e-07, -2.20876245e-07, -1.00000155, 3.13855708e-07, 3.05473804e-07, 3.1478703e-07, 1.00000167),C1 = CFrame.new(0.00605010986, 0.343216896, -0.282043457, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1501
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6284485, 2.71683502, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1502
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1503
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.437374115, -0.079202652, -0.515945435, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1504
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884487, 2.71683598, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1505
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1506
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.187202454, -0.0874576569, 0.516448975, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1507
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.08999991),CFrame = CFrame.new(30.7338486, 2.3574791, -174.84285, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1508
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1509
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.33291626, -0.442905903, -0.00445556641, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1510
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.759999931, 0.0500000007),CFrame = CFrame.new(31.6297836, 3.38593745, -174.84967, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1511
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1512
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.551647186, 0.595292091, 0.00831604004, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1513
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 1.90999997, 0.0500000007),CFrame = CFrame.new(31.5712833, 2.60158253, -174.845505, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1514
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1515
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.18965435, 0.00355529785, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1516
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.239999995, 0.330000132, 1.07000005),CFrame = CFrame.new(31.0538464, 2.35736966, -174.842926, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1517
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1518
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129508972, -0.439518929, -0.00144958496, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1519
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0600000024, 0.290000111, 0.409999996),CFrame = CFrame.new(31.568552, 2.3516109, -174.842773, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1520
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1521
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.50176239, -0.439655781, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1522
Wedge = New("WedgePart",Gunty,"Wedge",{Material = Enum.Material.Metal,Size = Vector3.new(1.04999983, 0.280000031, 0.600000083),CFrame = CFrame.new(30.8336945, 1.78095484, -174.838608, 1.77882612e-07, 8.97198333e-08, 1.00000238, 1.86264515e-08, -1.00000238, 8.64238245e-08, 1.00000238, -1.86264515e-08, -1.48080289e-07),BottomSurface = Enum.SurfaceType.Smooth,})
1523
mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.74157321e-07, 1.39698386e-08, 1.00000179, 8.98216967e-08, -1.00000179, -1.39698386e-08, 1.00000179, 8.63292371e-08, -1.5180558e-07),C1 = CFrame.new(-0.226764679, -1.01831722, -0.00540161133, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1524
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.0538521, 2.35747933, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1525
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1526
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.0129470825, -0.439409733, -0.0013885498, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1527
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0700000003, 0.330000103, 0.229999959),CFrame = CFrame.new(30.5736599, 2.35258269, -174.833267, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1528
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1529
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.493125916, -0.449655056, 0.00352478027, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1530
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2184467, 2.71683574, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1531
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1532
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.14276123, -0.0838527679, 0.519622803, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1533
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.8884506, 2.71683574, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1534
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1535
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(-0.177398682, -0.0763616562, -0.513442993, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1536
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 0.330000103, 0.449999958),CFrame = CFrame.new(31.5435581, 2.35188746, -174.842529, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1537
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1538
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.476764679, -0.439654827, 0.00360107422, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1539
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.00999999, 0.570000112, 1.05999994),CFrame = CFrame.new(31.0635662, 2.35679555, -174.843231, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1540
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1541
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00322341919, -0.439983368, -0.0016784668, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1542
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0900000036, 1.41000009, 0.0799999684),CFrame = CFrame.new(31.5487957, 2.34199333, -174.842697, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1543
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1544
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.482112885, -0.44948864, 0.00337219238, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1545
Part = New("Part",Gunty,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.429999948, 0.300000042, 1),CFrame = CFrame.new(31.3557091, 1.79857111, -174.838364, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1546
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1547
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.294998169, -0.995002747, 4.57763672e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1548
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384506, 1.99683368, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1549
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1550
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.419433594, -0.7990098, -0.523529053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1551
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.71683359, -174.307205, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1552
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1553
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0463790894, -1.08613729, 0.527038574, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1554
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(30.6384487, 2.7168355, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1555
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1556
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(-0.437175751, -0.0901889801, 0.514038086, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1557
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.2084503, 2.7168355, -175.357208, -0.00951508619, -0.0107730282, 0.999899626, 0.248140991, 0.968642175, 0.0127975615, -0.968680024, 0.248237148, -0.00654343236),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1558
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1559
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, 0.248140842, -0.968679428, -0.0107730199, 0.968641579, 0.248236999, 0.99989897, 0.0127975577, -0.00654343236),C1 = CFrame.new(0.142566681, -0.072865963, -0.510360718, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1560
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.100000001, 0.790000141, 0.0799999684),CFrame = CFrame.new(31.6096954, 3.40187716, -174.848618, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1561
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1562
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.531375885, 0.610999107, 0.0093536377, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1563
Wedge = New("WedgePart",Gunty,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.13999975, 0.230000034, 0.560000122),CFrame = CFrame.new(31.0786934, 3.13681054, -174.572098, 1.00000238, 2.2349559e-07, -2.21654773e-07, 2.05182005e-07, -1.00000215, 2.75671482e-07, -1.9185245e-07, -3.4738332e-07, -1.00000238),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1564
mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1.00000179, 2.06011464e-07, -1.95577741e-07, 2.23604729e-07, -1.00000155, -3.41795385e-07, -2.17929482e-07, 2.81259418e-07, -1.00000179),C1 = CFrame.new(0.000720977783, 0.337183952, 0.277893066, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1565
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084496, 2.04683304, -174.327209, -0.00951508433, -0.0107730264, 0.999899626, 0.248140842, 0.968642294, 0.0127975615, -0.968680143, 0.248236969, -0.00654343609),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1566
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1567
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, 0.248140693, -0.968679547, -0.010773018, 0.968641758, 0.24823682, 0.99989897, 0.0127975577, -0.00654343609),C1 = CFrame.new(0.440120697, -0.750608444, 0.515274048, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1568
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.560000122, 1.07999992),CFrame = CFrame.new(31.0814381, 3.53226137, -174.855682, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1569
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1570
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.00180435181, 0.735672951, -0.00140380859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1571
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.03999996, 0.290000111, 0.189999968),CFrame = CFrame.new(31.0686169, 2.35712481, -174.467972, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1572
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1573
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.00174713135, -0.443641663, 0.373596191, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1574
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0799999386, 0.290000111, 0.189999968),CFrame = CFrame.new(30.5586605, 2.35274792, -174.833176, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1575
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1576
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(-0.508125305, -0.449654579, 0.00347900391, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1577
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.4684525, 1.99683356, -175.357208, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1578
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1579
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.410480499, -0.789942741, -0.515533447, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1580
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.26000011, 0.0599999726),CFrame = CFrame.new(31.0184479, 1.70683408, -175.347198, -0.00951508526, -0.010773032, 0.999899387, -0.0110270474, 0.999884665, 0.0106679332, -0.999896705, -0.0109243607, -0.00963272899),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1581
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1582
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507501, -0.0110270362, -0.999896109, -0.0107730227, 0.999884129, -0.0109243607, 0.999898791, 0.0106679285, -0.00963272713),C1 = CFrame.new(-0.0363731384, -1.08493185, -0.512954712, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1583
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.059999954, 0.180000111, 0.0599999726),CFrame = CFrame.new(31.5084476, 2.71683526, -174.327209, -0.00951508339, -0.010773031, 0.999899387, -0.269443661, 0.962987244, 0.00781129859, -0.962972045, -0.269341499, -0.0120655689),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.203922, 0.203922, 0.203922),})
1584
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1585
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.00951507408, -0.269443542, -0.962971449, -0.0107730236, 0.962986648, -0.269341379, 0.999898791, 0.00781129394, -0.0120655652),C1 = CFrame.new(0.432731628, -0.0806851387, 0.522415161, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1586
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.290000111, 1.09000003),CFrame = CFrame.new(31.3738632, 2.35747814, -174.842865, 0.999896646, 0.0109243831, 0.00963271596, -0.0110270279, 0.999884963, 0.0106679602, -0.00951500423, -0.0107730059, 0.999899387),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.156863, 0.498039, 0.278431),})
1587
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1588
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999896049, -0.0110270213, -0.0095150033, 0.0109243765, 0.999884367, -0.0107730031, 0.00963270571, 0.010667949, 0.999898791),C1 = CFrame.new(0.307029724, -0.435914993, 0.00169372559, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1589
1590
1591
local NewInstance = function(instance,parent,properties)
1592
	local inst = Instance.new(instance,parent)
1593
	if(properties)then
1594
		for i,v in next, properties do
1595
			pcall(function() inst[i] = v end)
1596
		end
1597
	end
1598
	return inst;
1599
end
1600
1601
local HW = NewInstance('Weld',char,{Part0 = ra, Part1 = Handle, C0 = CF(0, 0, 0) * angles(0,0,0)})
1602
1603
ArmorColorParts = {}
1604
ArmorColorParts2 = {}
1605
NeonColorParts = {}
1606
local all, last = {}, nil
1607
function scan(p)
1608
  for _, v in pairs(p:GetChildren()) do
1609
    if v:IsA("BasePart") then
1610
      if v.BrickColor == BrickColor.new("Black") then
1611
        table.insert(ArmorColorParts, v)
1612
      end
1613
	if v.BrickColor == BrickColor.new("Medium stone grey") then
1614
        table.insert(ArmorColorParts2, v)
1615
      end
1616
      if v.BrickColor == BrickColor.new("Dark green") then
1617
        table.insert(NeonColorParts, v)
1618
      end
1619
      if last then
1620
        local w = Instance.new("Weld")
1621
        w.Part0, w.Part1 = last, v
1622
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1623
        w.Parent = last
1624
      end
1625
      table.insert(all, v)
1626
      last = v
1627
    end
1628
    scan(v)
1629
  end
1630
end
1631
scan(Gunty)
1632
for _, v in pairs(all) do
1633
  v.Anchored = false
1634
  v.CanCollide = false
1635
end
1636
-------------------------------------------------------
1637
--Start Customization--
1638
-------------------------------------------------------
1639
local Player_Size = 1
1640
if Player_Size ~= 1 then
1641
root.Size = root.Size * Player_Size
1642
tors.Size = tors.Size * Player_Size
1643
hed.Size = hed.Size * Player_Size
1644
ra.Size = ra.Size * Player_Size
1645
la.Size = la.Size * Player_Size
1646
rl.Size = rl.Size * Player_Size
1647
ll.Size = ll.Size * Player_Size
1648
----------------------------------------------------------------------------------
1649
rootj.Parent = root
1650
neck.Parent = tors
1651
RW.Parent = tors
1652
LW.Parent = tors
1653
RH.Parent = tors
1654
LH.Parent = tors
1655
----------------------------------------------------------------------------------
1656
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1657
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1658
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1659
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1660
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1661
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1662
----------------------------------------------------------------------------------
1663
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1664
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1665
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1666
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1667
--hat.Parent = Character
1668
end
1669
----------------------------------------------------------------------------------
1670
local SONG = 1547042045
1671
local SONG2 = 0
1672
local Music = Instance.new("Sound",tors)
1673
Music.Volume = 2.5
1674
Music.Looped = true
1675
Music.Pitch = 1 --Pitcher
1676
----------------------------------------------------------------------------------
1677
local equipped = false
1678
local idle = 0
1679
local change = 1
1680
local val = 0
1681
local toim = 0
1682
local idleanim = 0.4
1683
local sine = 0
1684
local Mode = 1
1685
----------------------------------------------------------------------------------
1686
hum.WalkSpeed = 8
1687
hum.JumpPower = 57
1688
hum.Animator.Parent = nil
1689
local naeeym2 = IT("BillboardGui",char)
1690
naeeym2.AlwaysOnTop = true
1691
naeeym2.Size = UDim2.new(5,35,2,15)
1692
naeeym2.StudsOffset = Vector3.new(0,2,0)
1693
naeeym2.MaxDistance = 75
1694
naeeym2.Adornee = hed
1695
naeeym2.Name = "Name"
1696
--naeeym2.PlayerToHideFrom = Player
1697
local tecks2 = IT("TextLabel",naeeym2)
1698
tecks2.BackgroundTransparency = 1
1699
tecks2.TextScaled = true
1700
tecks2.BorderSizePixel = 0
1701
tecks2.Text = "Normal"
1702
tecks2.Font = "Fantasy"
1703
tecks2.TextSize = 30
1704
tecks2.TextStrokeTransparency = 0
1705
tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
1706
tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71)
1707
tecks2.Size = UDim2.new(1,0,0.5,0)
1708
tecks2.Parent = naeeym2
1709
-------------------------------------------------------
1710
--End Customization--
1711
-------------------------------------------------------
1712
1713
1714
-------------------------------------------------------
1715
--Start Attacks N Stuff--
1716
-------------------------------------------------------
1717
function resetmode()
1718
	tecks2.Text = "Normal"
1719
	tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
1720
	tecks2.TextStrokeColor3 = Color3.fromRGB(40, 127, 71)
1721
  for i, v in pairs(ArmorColorParts) do
1722
    v.BrickColor = BrickColor.new("Black")
1723
    v.Material = "SmoothPlastic"
1724
    v.Transparency = 0
1725
  end
1726
 for i, v in pairs(ArmorColorParts2) do
1727
    v.BrickColor = BrickColor.new("Medium stone grey")
1728
    v.Material = "Metal"
1729
    v.Transparency = 0
1730
  end
1731
  for i, v in pairs(NeonColorParts) do
1732
    maincolor = BrickColor.new("Dark green")
1733
    v.BrickColor = maincolor
1734
    v.Material = "Neon"
1735
    v.Transparency = 0
1736
  end
1737
	Mode = 1
1738
  SONG = 1547042045
1739
end
1740
function Taunt()
1741
    attack = true
1742
    hum.WalkSpeed = 0
1743
        TAUNT:Play()
1744
	repeat
1745
        swait()
1746
        TAUNT.Parent = tors
1747
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
1748
        tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-3 - 1.5 * Cos(sine / 7)), Rad(0), Rad(-25)), 0.3)
1749
        RH.C0 = clerp(RH.C0, CF(.8* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, .2* Player_Size) * angles(Rad(0), Rad(45), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
1750
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
1751
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-20), Rad(25)), 0.1)
1752
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(78 + 3.5 * Cos(sine / 20)), Rad(-25), Rad(-20)), 0.1)
1753
	until TAUNT.Playing == false
1754
	attack = false
1755
	hum.WalkSpeed = 8
1756
end
1757
function attackone()
1758
	attack = true
1759
	hum.WalkSpeed = 3.01
1760
	for i = 0, 1.7, 0.1 do
1761
		swait()
1762
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3)
1763
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
1764
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3)
1765
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
1766
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
1767
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
1768
	end
1769
	Cso("203426541", ra, 10, 1)
1770
	HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
1771
	CameraEnshaking(2, 5)
1772
	for i = 0, 1.4, 0.1 do
1773
		swait()
1774
		BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
1775
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
1776
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
1777
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
1778
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
1779
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
1780
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
1781
	end
1782
	hum.WalkSpeed = 8
1783
	attack = false
1784
end
1785
function attacktwo()
1786
	attack = true
1787
	hum.WalkSpeed = 3.01
1788
	for i = 0, 1.7, 0.1 do
1789
		swait()
1790
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
1791
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
1792
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
1793
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
1794
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
1795
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
1796
	end
1797
	Cso("203426541", rl, 10, 1)
1798
	HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
1799
	CameraEnshaking(2, 3)
1800
	for i = 0, 1.4, 0.1 do
1801
		swait()
1802
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
1803
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
1804
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
1805
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
1806
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
1807
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
1808
	end
1809
	hum.WalkSpeed = 8
1810
	attack = false
1811
end
1812
function attackthree()
1813
	attack = true
1814
	hum.WalkSpeed = 3.01
1815
	for i = 0, 1.4, 0.1 do
1816
		swait()
1817
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
1818
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1819
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
1820
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
1821
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
1822
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
1823
	end
1824
	Cso("203426541", hed, 10, 1)
1825
	for i = 0, 1.7, 0.1 do
1826
		swait()
1827
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
1828
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
1829
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
1830
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
1831
		RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
1832
		LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
1833
	end
1834
	CameraEnshaking(2, 8)
1835
	Cso("260435136", hed, 10, .9)
1836
	BlockEffect(maincolor, Handle.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
1837
	BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
1838
	HitboxFunction(root.CFrame * CF(0, 0, -2), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
1839
	for i = 0, 1.8, 0.1 do
1840
		swait()
1841
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.2)
1842
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
1843
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.2)
1844
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.2)
1845
		RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.2)
1846
		LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.2)
1847
	end
1848
	hum.WalkSpeed = 8
1849
	attack = false
1850
end
1851
function Power_Burst()
1852
	hum.WalkSpeed = 4
1853
	attack = true
1854
	Cso("163619849", Handle, 10, 1.35)
1855
	for i = 0,4.3,0.1 do
1856
		swait()
1857
PixelBlock(3,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.2,0.2,0.2,0.01,maincolor,0)
1858
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
1859
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
1860
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
1861
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
1862
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
1863
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
1864
	end
1865
	CameraEnshaking(2.5, 20)
1866
	Cso("539294959", Handle, 10, .9)
1867
	BlockEffect(maincolor, Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
1868
	BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
1869
	HitboxFunction(root.CFrame * CF(0, 0, -0), 0.01, 1, 1, 1, 19, 30, 75, 35, "Normal")
1870
	for i = 0,3,0.1 do
1871
		swait()
1872
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
1873
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
1874
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
1875
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
1876
		RW.C0 = clerp(RW.C0, CF(1.5, 0.01 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(156), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
1877
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
1878
	end
1879
	hum.WalkSpeed = 8
1880
	attack = false
1881
end
1882
function Magic_Bombs()
1883
	attack = true
1884
	hum.WalkSpeed = 0
1885
local GYRO = IT("BodyGyro",root)
1886
GYRO.D = 100
1887
GYRO.P = 2000
1888
GYRO.MaxTorque = VT(0,4000000,0)
1889
GYRO.cframe = CF(root.Position,mouse.Hit.p)
1890
	for i = 0,3.6,0.1 do
1891
			swait()
1892
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
1893
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1894
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1895
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1896
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
1897
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1898
	end
1899
	CameraEnshaking(1, 6)
1900
        GYRO:Destroy()
1901
	Cso("588734356", Handle, 10, 1.05)
1902
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
1903
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
1904
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
1905
	for i = 0,2,0.1 do
1906
			swait()
1907
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
1908
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1909
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1910
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1911
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
1912
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1913
	end
1914
local GYRO = IT("BodyGyro",root)
1915
GYRO.D = 100
1916
GYRO.P = 2000
1917
GYRO.MaxTorque = VT(0,4000000,0)
1918
GYRO.cframe = CF(root.Position,mouse.Hit.p)
1919
	for i = 0,2.4,0.1 do
1920
			swait()
1921
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1922
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1923
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1924
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1925
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
1926
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1927
	end
1928
        GYRO:Destroy()
1929
	CameraEnshaking(1, 6)
1930
	Cso("588734356", Handle, 10, 1.05)
1931
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
1932
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
1933
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
1934
	for i = 0,2,0.1 do
1935
			swait()
1936
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1937
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1938
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1939
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1940
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
1941
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1942
	end
1943
local GYRO = IT("BodyGyro",root)
1944
GYRO.D = 100
1945
GYRO.P = 2000
1946
GYRO.MaxTorque = VT(0,4000000,0)
1947
GYRO.cframe = CF(root.Position,mouse.Hit.p)
1948
	for i = 0,2.4,0.1 do
1949
			swait()
1950
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1951
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1952
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1953
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1954
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.2)
1955
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1956
	end
1957
        GYRO:Destroy()
1958
	CameraEnshaking(1, 6)
1959
	Cso("588734356", Handle, 10, 1.05)
1960
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
1961
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
1962
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
1963
	for i = 0,2,0.1 do
1964
			swait()
1965
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
1966
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1967
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
1968
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1969
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(134)), 0.2)
1970
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
1971
	end
1972
	attack = false
1973
	hum.WalkSpeed = 8
1974
end
1975
function Dangerous_Field()
1976
	attack = true
1977
	hum.WalkSpeed = 0
1978
	for i = 0,10,0.1 do
1979
			swait()
1980
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.2)
1981
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1982
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2), Rad(0), Rad(-2.1)), 0.15)
1983
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
1984
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(90)), 0.2)
1985
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(2.1), Rad(0), Rad(-90)), 0.2)
1986
	CameraEnshaking(1, 7)
1987
	Cso("588734356", Handle, 10, 1.2)
1988
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
1989
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
1990
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
1991
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
1992
        end
1993
	attack = false
1994
	hum.WalkSpeed = 8
1995
end
1996
function Shockwave()
1997
	attack = true
1998
	hum.WalkSpeed = 0
1999
	for i = 0,4,0.1 do
2000
		swait()
2001
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2002
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2003
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2004
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2005
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2006
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2007
	end
2008
	coroutine.resume(coroutine.create(function() 
2009
        BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2010
        BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2011
        BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
2012
	HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2013
	HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2014
	HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
2015
	CameraEnshaking(1, 7)
2016
        wait(0.05)
2017
        BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2018
        BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2019
        BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
2020
	HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
2021
	HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2022
	HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2023
	CameraEnshaking(1, 7)
2024
        wait(0.05)
2025
        BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2026
        BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2027
        BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
2028
	HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2029
	HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2030
	HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2031
	CameraEnshaking(1, 7)
2032
        wait(0.05)
2033
        BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2034
        BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2035
        BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
2036
	HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2037
	HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2038
	HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2039
	CameraEnshaking(1, 7)
2040
        wait(0.05)
2041
        BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2042
        BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2043
        BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
2044
	HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2045
	HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2046
	HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2047
	CameraEnshaking(1, 7)
2048
        wait(0.05)
2049
        BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2050
        BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2051
        BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
2052
	HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2053
	HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2054
	HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
2055
	CameraEnshaking(1, 7)
2056
	end))
2057
	Cso("440145223", Handle, 10, 1.05)
2058
	for i = 1,7,0.1 do
2059
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2060
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
2061
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
2062
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2063
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
2064
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
2065
	end
2066
	wait(.6)
2067
	hum.WalkSpeed = 8
2068
	attack = false
2069
end
2070
function Pulse()
2071
	attack = true
2072
	hum.WalkSpeed = 0
2073
local GYRO = IT("BodyGyro",root)
2074
GYRO.D = 100
2075
GYRO.P = 2000
2076
GYRO.MaxTorque = VT(0,4000000,0)
2077
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2078
	for i = 0,4,0.1 do
2079
		swait()
2080
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2081
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2082
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2083
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2084
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2085
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2086
	end
2087
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2088
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
2089
	CameraEnshaking(1, 25)
2090
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2091
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2092
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2093
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2094
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2095
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2096
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2097
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2098
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2099
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2100
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2101
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2102
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2103
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2104
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2105
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2106
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2107
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2108
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2109
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2110
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
2111
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
2112
	Cso("440145223", Handle, 10, 1.05)
2113
        GYRO:Destroy()
2114
	for i = 1,2,0.1 do
2115
		swait()
2116
PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.04,0.04,0.04,0.06,maincolor,0)
2117
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2118
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2119
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2120
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2121
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2122
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2123
	end
2124
	hum.WalkSpeed = 8
2125
	attack = false
2126
end
2127
function LAZER()
2128
	attack = true
2129
	hum.WalkSpeed = 0.03
2130
	for i = 0,4,0.1 do
2131
		swait()
2132
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(0)), 0.15)
2133
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2134
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2135
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2136
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2137
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2138
	end
2139
        LAZOR:Play()
2140
local GYRO = IT("BodyGyro",root)
2141
GYRO.D = 100
2142
GYRO.P = 2000
2143
GYRO.MaxTorque = VT(0,4000000,0)
2144
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2145
        repeat
2146
        swait(2)
2147
PixelBlock(2,1,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.4,maincolor,0)
2148
PixelBlock(4,3,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.5,maincolor,0)
2149
        GYRO.cframe = CF(root.Position,mouse.Hit.p)
2150
        LAZOR.Parent = ra
2151
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2152
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 1, 5, 0, "Freeze")
2153
	CameraEnshaking(1, 7)
2154
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2155
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2156
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2157
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2158
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2159
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2160
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2161
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2162
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2163
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2164
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2165
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2166
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2167
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2168
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2169
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2170
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2171
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2172
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2173
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2174
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2175
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2176
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -65, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2177
	HitboxFunction(Handle.CFrame * CF(0, -67, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2178
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -70, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2179
	HitboxFunction(Handle.CFrame * CF(0, -72, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2180
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -75, -0), 4, 4, 4, 5, 5, 5, 0.08, 1)
2181
	HitboxFunction(Handle.CFrame * CF(0, -77, -0), 0.05, 1, 1, 1, 5, 3, 5, 10, "Freeze")
2182
	until LAZOR.Playing == false
2183
        GYRO:Destroy()
2184
	hum.WalkSpeed = 8
2185
	attack = false
2186
end
2187
function Spirit_Beam()
2188
        attack = true
2189
	hum.WalkSpeed = 0
2190
local GYRO = IT("BodyGyro",root)
2191
GYRO.D = 100
2192
GYRO.P = 2000
2193
GYRO.MaxTorque = VT(0,4000000,0)
2194
GYRO.cframe = CF(root.Position,mouse.Hit.p)
2195
	for i = 0,5,0.1 do
2196
		swait()
2197
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
2198
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
2199
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2200
		RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2201
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2202
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2203
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
2204
        end
2205
        ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
2206
	HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
2207
        BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2208
	local beam = Instance.new("Part", workspace)
2209
	beam.BrickColor = BrickColor.new("Fog")
2210
	beam.FormFactor = "Custom"
2211
	beam.Material = "Glass"
2212
	beam.Transparency = 0.5
2213
	beam.Anchored = true
2214
	beam.Locked = true
2215
	beam.CanCollide = false
2216
	local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
2217
	beam.Size = Vector3.new(1.05, 1.05, distance)
2218
	beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
2219
	game:GetService("Debris"):AddItem(beam, 0.14)
2220
	local sound = Instance.new('Sound',Handle)
2221
	sound.SoundId = 'rbxassetid://588697948'
2222
	sound.Volume = 7
2223
	sound.EmitterSize = 40
2224
	sound.MaxDistance = 450
2225
	sound:Play()
2226
	game:GetService("Debris"):AddItem(beam, sound.TimeLength)
2227
        GYRO:Destroy()
2228
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2229
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2230
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2231
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2232
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2233
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2234
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2235
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2236
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2237
PixelBlock(3,1.5,"Add",ref.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,0.5,0.6,maincolor,0)
2238
        wait(0.3)
2239
        attack = false
2240
	hum.WalkSpeed = 8
2241
        ref:Destroy()
2242
end
2243
function Distort()
2244
	attack = true
2245
	hum.WalkSpeed = 0
2246
		local pos = root.Position
2247
		root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
2248
	Cso("261227592", tors, 10, 0.85)
2249
	for i = 1,2.5,0.1 do
2250
        swait()
2251
        rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2252
        end
2253
	attack = false
2254
	hum.WalkSpeed = 8
2255
end
2256
function Ancient_Rage()
2257
	attack = true
2258
	hum.WalkSpeed = 4
2259
	Cso("907329532", tors, 10, 1.05)
2260
	for i = 1,14,0.1 do
2261
        swait()
2262
                rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2263
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
2264
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-2)), 0.15)
2265
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(2)), 0.15)
2266
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(0 - 2.5 * Sin(sine / 20))), 0.1)
2267
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2268
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
2269
		if v:FindFirstChild("Head") then
2270
                        Eviscerate(v)
2271
		end
2272
	end
2273
        end
2274
	attack = false
2275
	hum.WalkSpeed = 8
2276
end
2277
function TTTTTTTTTTTaunt()
2278
	attack = true
2279
	hum.WalkSpeed = 0
2280
        DTAUNT:Play()
2281
        repeat
2282
        swait()
2283
        DTAUNT.Parent = tors
2284
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
2285
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
2286
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * RHCF * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
2287
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.001 * Cos(sine / 20)) * LHCF * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.15)
2288
		RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles (math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
2289
		LW.C0 = clerp(LW.C0, CF(-1.2, 0.5 + 0.05 * Sin(sine / 30), 0.001 * Cos(sine / 20)) * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.1)
2290
	until DTAUNT.Playing == false
2291
	attack = false
2292
	hum.WalkSpeed = 8
2293
end
2294
function HAAH()
2295
	attack = true
2296
	hum.WalkSpeed = 0
2297
	Cso("300208779", hed, 10, 1)
2298
	for i = 0,9,0.1 do
2299
		swait()
2300
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
2301
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
2302
		if Mrandom(1,15) == 1 then
2303
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
2304
		end
2305
		RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
2306
		LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
2307
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
2308
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
2309
	end
2310
	attack = false
2311
	hum.WalkSpeed = 10
2312
end
2313
function again()
2314
        attack = true
2315
	hum.WalkSpeed = 0
2316
        ITAUNT:Play()
2317
        repeat
2318
        swait()
2319
        ITAUNT.Parent = tors
2320
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
2321
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
2322
	RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
2323
	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
2324
	RW.C0 = clerp(RW.C0, CF(1.5, 0.8 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(120 - 2.5 * Sin(sine / 20))), 0.1)
2325
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(10 * Cos(sine / 20)), Rad(-0 + 2.5 * Sin(sine / 20))), 0.1)
2326
	until ITAUNT.Playing == false
2327
        attack = false
2328
	hum.WalkSpeed = 8
2329
end
2330
function LunarSpin()
2331
	attack = true
2332
	hum.WalkSpeed = 0
2333
	for i = 0,17,0.05 do
2334
		CameraEnshaking(1, 5)
2335
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
2336
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
2337
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2338
		swait()
2339
		PixelBlock(1.5,14,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-360,360)),math.rad(math.random(-50,50))),3,3,3,0.3,maincolor,0)
2340
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2341
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2342
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2343
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2344
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2345
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
2346
	end
2347
	hum.WalkSpeed = 8
2348
	attack = false
2349
end
2350
function Decapitate()
2351
	local target = nil
2352
	local targettorso = nil
2353
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2354
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
2355
			target = mouse.Target.Parent.Humanoid
2356
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2357
			targethead = mouse.Target.Parent:FindFirstChild("Head")
2358
		end
2359
	end
2360
	if target ~= nil then
2361
		targettorso.Anchored = true
2362
		attack = true
2363
		hum.WalkSpeed = 0
2364
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
2365
		for i = 0,4.2,0.1 do
2366
			swait()
2367
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
2368
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
2369
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
2370
		LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2371
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
2372
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2373
		end
2374
		local ModelHead01 = New("Model", char, "", {})
2375
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
2376
        local Head01 = targethead:Clone()
2377
        targethead.Transparency = 1
2378
        Head01.Parent = ModelHead01
2379
        local weldHead01 = Instance.new("Weld")
2380
        weldHead01.Parent = Head01
2381
        weldHead01.Part0 = targethead
2382
        weldHead01.Part1 = Head01
2383
        weldHead01.C1 = CFrame.new(0, 0, 0)
2384
		targethead.face:Remove()
2385
		weldHead01.Part0 = ra
2386
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
2387
		targettorso:BreakJoints()
2388
		CreateSound("314390675", targettorso, 5, .7)
2389
		for i = 0,3.2,0.1 do
2390
			swait()
2391
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
2392
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2393
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
2394
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
2395
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
2396
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
2397
		end
2398
		for i = 0,4.2,0.1 do
2399
			swait()
2400
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
2401
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
2402
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
2403
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2404
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
2405
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
2406
		end
2407
		CreateSound("541909763", targettorso, 5, .8)
2408
		weldHead01:Destroy()
2409
        Head01.CanCollide = true
2410
        local bodyVelocity2 = Create("BodyVelocity")({
2411
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
2412
          P = 5000,
2413
          maxForce = Vector3.new(8000, 8000, 8000),
2414
          Parent = Head01
2415
        })
2416
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
2417
		for i = 0,6.2,0.1 do
2418
			swait()
2419
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
2420
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
2421
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
2422
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
2423
		RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
2424
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
2425
		end
2426
		targettorso.Anchored = false
2427
		attack = false
2428
		hum.WalkSpeed = 8
2429
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
2430
	end
2431
end
2432
function BalanceSpin()
2433
    attack = true
2434
    hum.WalkSpeed = 2
2435
    for i = 0,17,0.07 do
2436
        CameraEnshaking(1, 5)
2437
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
2438
        swait()
2439
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
2440
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, BrickColor.new("Black"), 0, "Brick")
2441
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -6, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 15, -0.015, maincolor, 0, "Brick")
2442
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2443
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2444
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2445
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2446
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
2447
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
2448
    end
2449
    hum.WalkSpeed = 8
2450
    attack = false
2451
end
2452
2453
function BARK()
2454
	attack = true
2455
	hum.WalkSpeed = 0
2456
	BATAUNT:Play()
2457
	repeat
2458
	BATAUNT.Parent = tors
2459
	swait()
2460
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
2461
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
2462
	RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
2463
	LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
2464
	RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
2465
	LH.C0 = clerp(LH.C0, CF(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
2466
	until BATAUNT.Playing == false
2467
	attack = false
2468
	hum.WalkSpeed = 8
2469
end
2470
function CreateSound(ID, PARENT, VOLUME, PITCH)
2471
	local NSound = nil
2472
	coroutine.resume(coroutine.create(function()
2473
		NSound = Instance.new("Sound", PARENT)
2474
		NSound.Volume = VOLUME
2475
		NSound.Pitch = PITCH
2476
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2477
		swait()
2478
		NSound:play()
2479
		game:GetService("Debris"):AddItem(NSound, 10)
2480
	end))
2481
	return NSound
2482
end
2483
function Bark_Splosion()
2484
	attack = true
2485
	for i = 0,2,0.05 do
2486
		swait()
2487
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2488
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
2489
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2490
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2491
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2492
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2493
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2494
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2495
	end
2496
	CreateSound("331666100", tors, 10, 1)
2497
	Effects.Ring.Create(BrickC("Cool yellow"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(-1),Rad(0)), 2.5, 2.5, 40, 3, 3, 45, 0.01)
2498
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
2499
	CameraEnshaking(1.5, 10)  
2500
	for i = 1,2,0.1 do
2501
        swait()
2502
	PixelBlock(2,7,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2503
	PixelBlock(1.5,9.5,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2504
	PixelBlock(1,12,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.3,maincolor,0)
2505
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
2506
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
2507
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
2508
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
2509
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
2510
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
2511
	end
2512
	wait(.6)
2513
	attack = false
2514
end
2515
corrupted = false
2516
function Pixel_Corrupt()
2517
	attack = true
2518
        corrupted = true
2519
	for i = 0,3,0.05 do
2520
		swait()
2521
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.8)
2522
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
2523
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.8)
2524
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.8)
2525
	RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.75)
2526
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.75)
2527
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
2528
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2529
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
2530
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
2531
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2532
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2533
	end
2534
        refa = New("Part",m,"refa",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
2535
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
2536
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
2537
	CreateSound("331666100", refa, 10, 1)
2538
	CameraEnshaking(1.5, 10)  
2539
	coroutine.resume(coroutine.create(function() 
2540
	for i = 1,20,0.1 do
2541
        swait(5)
2542
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2543
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2544
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2545
PixelBlock(2.5,11,"Add",refa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,3.5,0.3,maincolor,0)
2546
	CreateSound("331666100", refa, 10, 1)
2547
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
2548
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
2549
        end
2550
        refa:Destroy()
2551
        corrupted = false
2552
        end))
2553
	for i = 1,2.5,0.1 do
2554
        swait()
2555
rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.4)
2556
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
2557
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.4)
2558
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.4)
2559
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.3)
2560
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.3)
2561
	end
2562
	wait(.3)
2563
	attack = false
2564
end
2565
function un_fun()
2566
        attack = true
2567
	hum.WalkSpeed = 0
2568
        BTAUNT:Play()
2569
        repeat
2570
        swait()
2571
        BTAUNT.Parent = tors
2572
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
2573
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
2574
	RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
2575
	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
2576
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(210)), 0.08)
2577
	LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
2578
	until BTAUNT.Playing == false
2579
        attack = false
2580
	hum.WalkSpeed = 8
2581
end
2582
function thisisit()
2583
        attack = true
2584
	hum.WalkSpeed = 0
2585
        STAUNT:Play()
2586
        repeat
2587
        swait()
2588
        STAUNT.Parent = tors
2589
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
2590
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
2591
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
2592
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
2593
		RW.C0 = clerp(RW.C0, CF(1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(130)), 0.1)
2594
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.9 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-130)), 0.1)
2595
	until STAUNT.Playing == false
2596
        attack = false
2597
	hum.WalkSpeed = 8
2598
end
2599
function Exploit()
2600
        exploitable = false
2601
	Cso("907332670", tors, 10, 1.05)
2602
	coroutine.resume(coroutine.create(function() 
2603
	for i = 1,20,0.1 do
2604
        swait()
2605
	BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1)
2606
        end
2607
	Cso("12222030", tors, 10, 1.05)
2608
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
2609
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
2610
		if v:FindFirstChild("Head") then
2611
                        Eviscerate(v)
2612
                        SoulSteal(v)
2613
		end
2614
	end
2615
        wait(15)
2616
        exploitable = true
2617
        end))
2618
end
2619
function ASCENTION()
2620
	attack = true
2621
	hum.WalkSpeed = 0
2622
	Cso("987502413", tors, 10, 1.05)
2623
        local vel2 = Instance.new("BodyVelocity",tors)
2624
        vel2.Velocity = Vector3.new(0,30,0)
2625
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
2626
	for i = 0,20,0.1 do
2627
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
2628
		swait()
2629
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2630
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
2631
		CameraEnshaking(1, 4)
2632
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
2633
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
2634
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2635
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2636
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
2637
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
2638
	end
2639
	hum.WalkSpeed = 8
2640
        vel2:Destroy()
2641
	attack = false
2642
end
2643
-------------------------------------------------------
2644
--End Attacks N Stuff--
2645
-------------------------------------------------------
2646
Sprinting = false
2647
mouse.KeyDown:connect(function(key)
2648
    if string.byte(key) == 48 and attack == false and Mode ~= 10 then
2649
        Swing = 2
2650
        hum.WalkSpeed = 38.82
2651
        Sprinting = true
2652
	end
2653
end)
2654
mouse.KeyUp:connect(function(key)
2655
    if string.byte(key) == 48 and attack == false then
2656
        Swing = 1
2657
        Sprinting = false
2658
        hum.WalkSpeed = 8
2659
	end
2660
end)
2661
mouse.KeyDown:connect(function(key)
2662
	if attack == false then
2663
		if key == 'q' and Mode == 1 then
2664
                        Power_Burst()
2665
		elseif key == '1' and Mode ~= 2 then
2666
			Mode = 2
2667
			SONG = 409475133
2668
			tecks2.Text = "Machinery"
2669
			tecks2.TextColor3 = Color3.fromRGB(196, 40, 28)
2670
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89)
2671
 		for i, v in pairs(ArmorColorParts) do
2672
   		v.BrickColor = BrickColor.new("Bright red")
2673
    	v.Material = "Metal"
2674
    	v.Transparency = 0
2675
  		end
2676
 for i, v in pairs(ArmorColorParts2) do
2677
    v.BrickColor = BrickColor.new("Persimmon")
2678
    v.Material = "Metal"
2679
    v.Transparency = 0
2680
  end
2681
  for i, v in pairs(NeonColorParts) do
2682
    maincolor = BrickColor.new("New Yeller")
2683
    v.BrickColor = maincolor
2684
    v.Material = "Neon"
2685
    v.Transparency = 0
2686
  end
2687
		elseif key == '1' and Mode == 2 then
2688
			resetmode()
2689
		elseif key == 't' and Mode == 1 then
2690
                        Taunt()
2691
		elseif key == 'q' and Mode == 2 then
2692
                        Magic_Bombs()
2693
		elseif key == 'e' and Mode == 2 then
2694
                        Dangerous_Field()
2695
		elseif key == 't' and Mode == 2 then
2696
                        HAAH()
2697
		end
2698
	---------------------------------------------------------------------
2699
	if key == 'm' and Mode == 1 then
2700
		Mode = pIXELATED
2701
		SONG = 1244332148
2702
		tecks2.Text = "Pixels"
2703
		tecks2.TextColor3 = Color3.fromRGB(0, 255, 255)
2704
		tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 255)
2705
 for i, v in pairs(ArmorColorParts) do
2706
    v.BrickColor = BrickColor.new("Navy blue")
2707
    v.Material = "Glass"
2708
    v.Transparency = 0
2709
  end
2710
 for i, v in pairs(ArmorColorParts2) do
2711
    v.BrickColor = BrickColor.new("Dark blue")
2712
    v.Material = "Glass"
2713
    v.Transparency = 0
2714
  end
2715
  for i, v in pairs(NeonColorParts) do
2716
    maincolor = BrickColor.new("Lapis")
2717
    v.BrickColor = maincolor
2718
    v.Material = "Neon"
2719
    v.Transparency = 0
2720
  end
2721
		elseif key == 'm' and Mode == pIXELATED then
2722
			resetmode()
2723
		elseif key == 'q' and Mode == pIXELATED and corrupted == false then
2724
			Pixel_Corrupt()
2725
	end
2726
	---------------------------------------------------------------------
2727
	if key == '2' and Mode ~= 3 then
2728
		Mode = 3
2729
		SONG = 1634231515
2730
		tecks2.Text = "Below-Zero"
2731
		tecks2.TextColor3 = Color3.fromRGB(0, 255, 255)
2732
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
2733
 for i, v in pairs(ArmorColorParts) do
2734
    v.BrickColor = BrickColor.new("Bright blue")
2735
    v.Material = "Marble"
2736
    v.Transparency = 0
2737
  end
2738
 for i, v in pairs(ArmorColorParts2) do
2739
    v.BrickColor = BrickColor.new("Institutional white")
2740
    v.Material = "Metal"
2741
    v.Transparency = 0
2742
  end
2743
  for i, v in pairs(NeonColorParts) do
2744
    maincolor = BrickColor.new("Toothpaste")
2745
    v.BrickColor = maincolor
2746
    v.Material = "Neon"
2747
    v.Transparency = 0
2748
  end
2749
		elseif key == '2' and Mode == 3 then
2750
			resetmode()
2751
		elseif key == 't' and Mode == 3 then
2752
			un_fun()
2753
		elseif key == 'q' and Mode == 3 then
2754
			Shockwave()
2755
	end
2756
	---------------------------------------------------------------------
2757
	if key == '3' and Mode ~= 4 then
2758
		Mode = 4
2759
		SONG = 539526132
2760
		tecks2.Text = "Infused"
2761
		tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
2762
		tecks2.TextStrokeColor3 = Color3.fromRGB(245, 205, 48)
2763
 for i, v in pairs(ArmorColorParts) do
2764
    v.BrickColor = BrickColor.new("Black")
2765
    v.Material = "SmoothPlastic"
2766
    v.Transparency = 0
2767
  end
2768
 for i, v in pairs(ArmorColorParts2) do
2769
    v.BrickColor = BrickColor.new("Really black")
2770
    v.Material = "Metal"
2771
    v.Transparency = 0
2772
  end
2773
  for i, v in pairs(NeonColorParts) do
2774
    maincolor = BrickColor.new("Bright yellow")
2775
    v.BrickColor = maincolor
2776
    v.Material = "Neon"
2777
    v.Transparency = 0
2778
  end
2779
		elseif key == '3' and Mode == 4 then
2780
			resetmode()
2781
		elseif key == 't' and Mode == 4 then
2782
			again()
2783
		elseif key == 'q' and Mode == 4 then
2784
			Pulse()
2785
	end
2786
	---------------------------------------------------------------------
2787
	if key == 'm' and Mode == 4 then
2788
                attack = true
2789
		SONG = 1764195391
2790
                hum.WalkSpeed = 0
2791
	        for i = 1,20,0.1 do
2792
                swait()
2793
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
2794
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
2795
		RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
2796
		LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
2797
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05)
2798
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
2799
	        BlockEffect(maincolor, tors.CFrame * CF(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)), 4, 4, 4, 0.8, 0.8, 0.8, 0.05, 1)
2800
                end
2801
                hum.WalkSpeed = 8
2802
                attack = false
2803
		Mode = 100
2804
		tecks2.Text = "Overclocked"
2805
		tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
2806
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 176, 0)
2807
	        Cso("743499393", tors, 10, 1.05)
2808
	        BlockEffect(BrickC("New Yeller"), Handle.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
2809
	        BlockEffect(BrickC("Really black"), Handle.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
2810
 for i, v in pairs(ArmorColorParts) do
2811
    v.BrickColor = BrickColor.new("Bright yellow")
2812
    v.Material = "DiamondPlate"
2813
    v.Transparency = 0.2
2814
  end
2815
 for i, v in pairs(ArmorColorParts2) do
2816
    v.BrickColor = BrickColor.new("Really black")
2817
    v.Material = "Neon"
2818
    v.Transparency = 0
2819
  end
2820
  for i, v in pairs(NeonColorParts) do
2821
    maincolor = BrickColor.new("New Yeller")
2822
    v.BrickColor = maincolor
2823
    v.Material = "Glass"
2824
    v.Transparency = 0.5
2825
  end
2826
		elseif key == 'm' and Mode == 100 then
2827
			resetmode()
2828
		elseif key == 'q' and Mode == 100 then
2829
			LAZER()
2830
	end
2831
	---------------------------------------------------------------------
2832
	if key == '4' and Mode ~= 5 then
2833
		Mode = 5
2834
		SONG = 170282324
2835
		tecks2.Text = "Cyber"
2836
		tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
2837
		tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
2838
 for i, v in pairs(ArmorColorParts) do
2839
    v.BrickColor = BrickColor.new("Black")
2840
    v.Material = "SmoothPlastic"
2841
    v.Transparency = 0
2842
  end
2843
 for i, v in pairs(ArmorColorParts2) do
2844
    v.BrickColor = BrickColor.new("Really black")
2845
    v.Material = "Metal"
2846
    v.Transparency = 0
2847
  end
2848
  for i, v in pairs(NeonColorParts) do
2849
    maincolor = BrickColor.new("Toothpaste")
2850
    v.BrickColor = maincolor
2851
    v.Material = "Neon"
2852
    v.Transparency = 0
2853
  end
2854
		elseif key == '4' and Mode == 5 then
2855
			resetmode()
2856
		elseif key == 'q' and Mode == 5 and exploitable == true then
2857
			Exploit()
2858
	end
2859
	---------------------------------------------------------------------
2860
	if key == '5' and Mode ~= 6 then
2861
		Mode = 6
2862
		SONG = 407749940
2863
		tecks2.Text = "ControlledBR"
2864
		tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
2865
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 89, 89)
2866
 for i, v in pairs(ArmorColorParts) do
2867
    v.BrickColor = BrickColor.new("Dark red")
2868
    v.Material = "SmoothPlastic"
2869
    v.Transparency = 0
2870
  end
2871
 for i, v in pairs(ArmorColorParts2) do
2872
    v.BrickColor = BrickColor.new("Really black")
2873
    v.Material = "Metal"
2874
    v.Transparency = 0
2875
  end
2876
  for i, v in pairs(NeonColorParts) do
2877
    maincolor = BrickColor.new("Really red")
2878
    v.BrickColor = maincolor
2879
    v.Material = "Neon"
2880
    v.Transparency = 0
2881
  end
2882
		elseif key == '5' and Mode == 6 then
2883
			resetmode()
2884
		elseif key == 'q' and Mode == 6 then
2885
			Distort()
2886
		elseif key == 'e' and Mode == 6 then
2887
			Ancient_Rage()
2888
		elseif key == 't' and Mode == 6 then
2889
			TTTTTTTTTTTaunt()
2890
	end
2891
	---------------------------------------------------------------------
2892
	if key == '6' and Mode ~= 7 then
2893
		Mode = 7
2894
		SONG = 150794704
2895
		tecks2.Text = "Such Wow"
2896
		tecks2.TextColor3 = Color3.fromRGB(163, 162, 165)
2897
		tecks2.TextStrokeColor3 = Color3.fromRGB(253, 234, 141)
2898
 for i, v in pairs(ArmorColorParts) do
2899
    v.BrickColor = BrickColor.new("Cool yellow")
2900
    v.Material = "SmoothPlastic"
2901
    v.Transparency = 0
2902
  end
2903
 for i, v in pairs(ArmorColorParts2) do
2904
    v.BrickColor = BrickColor.new("Medium stone grey")
2905
    v.Material = "Metal"
2906
    v.Transparency = 0
2907
  end
2908
  for i, v in pairs(NeonColorParts) do
2909
    maincolor = BrickColor.new("New Yeller")
2910
    v.BrickColor = maincolor
2911
    v.Material = "Neon"
2912
    v.Transparency = 0
2913
  end
2914
	elseif key == '6' and Mode == 7 then
2915
		resetmode()
2916
	elseif key == 't' and Mode == 7 then
2917
                BARK()
2918
	elseif key == 'q' and Mode == 7 then
2919
                Bark_Splosion()
2920
	end
2921
	if key == 'm' and Mode == 7 then
2922
		SONG = 257453119
2923
	        attack = true
2924
	        hum.WalkSpeed = 0
2925
	for i = 0,10,0.08 do
2926
		swait()
2927
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
2928
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2929
		RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
2930
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
2931
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
2932
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
2933
	end
2934
	attack = false
2935
	hum.WalkSpeed = 8
2936
		Mode = 50
2937
	        BlockEffect(BrickC("Magenta"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1)
2938
		tecks2.Text = "ASCEND"
2939
		tecks2.TextColor3 = Color3.fromRGB(255, 0, 255)
2940
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
2941
 for i, v in pairs(ArmorColorParts) do
2942
    v.BrickColor = BrickColor.new("Magenta")
2943
    v.Material = "Foil"
2944
    v.Transparency = 0
2945
  end
2946
 for i, v in pairs(ArmorColorParts2) do
2947
    v.BrickColor = BrickColor.new("Dark indigo")
2948
    v.Material = "Glass"
2949
    v.Transparency = 0.1
2950
  end
2951
  for i, v in pairs(NeonColorParts) do
2952
    maincolor = BrickColor.new("White")
2953
    v.BrickColor = maincolor
2954
    v.Material = "Neon"
2955
    v.Transparency = 0
2956
  end
2957
		elseif key == 'm' and Mode == 50 then
2958
			resetmode()
2959
		elseif key == 'q' and Mode == 50 then
2960
			ASCENTION()
2961
	end
2962
	---------------------------------------------------------------------
2963
	if key == 'm' and Mode == 8 then
2964
		Mode = 25
2965
		SONG = 1770978966
2966
		tecks2.Text = "Spirit"
2967
	        BlockEffect(BrickC("Fog"), Handle.CFrame * CF(0, -0, 0), 25, 25, 25, 30, 30, 30, 0.05, 1)
2968
		tecks2.TextColor3 = Color3.fromRGB(255, 255, 255)
2969
		tecks2.TextStrokeColor3 = Color3.fromRGB(163, 162, 165)
2970
 for i, v in pairs(ArmorColorParts) do
2971
    v.BrickColor = BrickColor.new("Ghost grey")
2972
    v.Material = "SmoothPlastic"
2973
    v.Transparency = 0.7
2974
  end
2975
 for i, v in pairs(ArmorColorParts2) do
2976
    v.BrickColor = BrickColor.new("Quill grey")
2977
    v.Material = "Glass"
2978
    v.Transparency = 0.5
2979
  end
2980
  for i, v in pairs(NeonColorParts) do
2981
    maincolor = BrickColor.new("Fog")
2982
    v.BrickColor = maincolor
2983
    v.Material = "Neon"
2984
    v.Transparency = 0.5
2985
  end
2986
		elseif key == 'm' and Mode == 25 then
2987
			resetmode()
2988
		elseif key == 't' and Mode == 25 then
2989
			thisisit()
2990
		elseif key == 'q' and Mode == 25 then
2991
			Spirit_Beam()
2992
	end
2993
	---------------------------------------------------------------------
2994
	if key == '7' and Mode ~= 8 then
2995
		Mode = 8
2996
		SONG = 561833161
2997
		tecks2.Text = "Lunar"
2998
		tecks2.TextColor3 = Color3.fromRGB(18, 238, 212)
2999
		tecks2.TextStrokeColor3 = Color3.fromRGB(4, 175, 236)
3000
  	for i, v in pairs(ArmorColorParts) do
3001
    v.BrickColor = BrickColor.new("Teal")
3002
    v.Material = "SmoothPlastic"
3003
    v.Transparency = 0
3004
  	end
3005
 	for i, v in pairs(ArmorColorParts2) do
3006
    v.BrickColor = BrickColor.new("Medium stone grey")
3007
    v.Material = "Metal"
3008
    v.Transparency = 0
3009
 	 end
3010
  	for i, v in pairs(NeonColorParts) do
3011
    maincolor = BrickColor.new("Cyan")
3012
    v.BrickColor = maincolor
3013
    v.Material = "Neon"
3014
    v.Transparency = 0
3015
  	end
3016
		elseif key == '7' and Mode == 8 then
3017
			resetmode()
3018
		elseif key == 'q' and Mode == 8 then
3019
			LunarSpin()
3020
	end
3021
	---------------------------------------------------------------------
3022
	if key == '8' and Mode ~= 9 then
3023
		Mode = 9
3024
		SONG = 933385346
3025
		tecks2.Text = "Balance"
3026
		tecks2.TextColor3 = Color3.new(255, 255, 255)
3027
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
3028
 for i, v in pairs(ArmorColorParts) do
3029
    v.BrickColor = BrickColor.new("Institutional white")
3030
    v.Material = "Glass"
3031
    v.Transparency = 0
3032
  end
3033
 for i, v in pairs(ArmorColorParts2) do
3034
    v.BrickColor = BrickColor.new("Really black")
3035
    v.Material = "Glass"
3036
    v.Transparency = 0.5
3037
  end
3038
  for i, v in pairs(NeonColorParts) do
3039
    maincolor = BrickColor.new("Institutional white")
3040
    v.BrickColor = maincolor
3041
    v.Material = "Neon"
3042
    v.Transparency = 0
3043
  end
3044
		elseif key == '8' and Mode == 9 then
3045
			resetmode()
3046
		elseif key == 't' and Mode == 9 then
3047
			heregoes()
3048
		elseif key == 'q' and Mode == 9 then
3049
			BalanceSpin()
3050
	end
3051
	---------------------------------------------------------------------------
3052
	if key == 'm' and Mode == 9 and Mode ~= 10 and Sprinting == false then
3053
		Mode = 10
3054
		SONG = 919231299
3055
        local A = math.random(1,4)
3056
        if A == 1 then
3057
	SONG = 919231299
3058
        elseif A == 2 then
3059
	SONG = 460874877
3060
        elseif A == 3 then
3061
	SONG = 943961217
3062
        elseif A == 4 then
3063
	SONG = 623662713
3064
        end
3065
		tecks2.Text = "InSaNe"
3066
		tecks2.TextColor3 = Color3.new(0, 0, 0)
3067
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
3068
 for i, v in pairs(ArmorColorParts) do
3069
    v.BrickColor = BrickColor.random()
3070
    v.Material = "Glass"
3071
    v.Transparency = 0
3072
  end
3073
 for i, v in pairs(ArmorColorParts2) do
3074
    v.BrickColor = BrickColor.random()
3075
    v.Material = "Glass"
3076
    v.Transparency = 0
3077
  end
3078
  for i, v in pairs(NeonColorParts) do
3079
    maincolor = BrickColor.random()
3080
    v.BrickColor = maincolor
3081
    v.Material = "Neon"
3082
    v.Transparency = 0
3083
  end
3084
	elseif key == 'm' and Mode == 10 then
3085
		resetmode()
3086
	elseif key == 'q' and Mode == 10 then
3087
		Decapitate()
3088
	end
3089
	end
3090
end)
3091
local Combo = 1
3092
mouse.Button1Down:connect(function(key)
3093
	if attack == false then
3094
		if Combo == 1 then
3095
			Combo = 2
3096
			attackone()
3097
		elseif Combo == 2 then
3098
			Combo = 3
3099
			attacktwo()
3100
		elseif Combo == 3 then
3101
			Combo = 1
3102
			attackthree()
3103
		end
3104
	end
3105
end)
3106
3107
 
3108
3109
3110
3111
3112
3113
-------------------------------------------------------
3114
--Start Animations--
3115
-------------------------------------------------------
3116
while true do
3117
	swait()
3118
	sine = sine + change
3119
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
3120
	local velderp = root.Velocity.y
3121
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
3122
	if equipped == true or equipped == false then
3123
		if attack == false then
3124
			idle = idle + 1
3125
		else
3126
			idle = 0
3127
		end
3128
		if Mode == 5 then
3129
			Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
3130
		end
3131
		if Mode == 25 then
3132
		PixelBlock(3,4,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.3,0.3,0.3,0.03,maincolor,0)
3133
		end
3134
		if Mode == 100 then
3135
			PixelBlock(1,0.8,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.02,0.02,0.02,0.1,maincolor,0)
3136
			MagicCharge(4, 0, "Add", ra.CFrame * CF(0, -0, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.2, 0.2, 1.6 * math.random(-1.8, 2), -0.005, maincolor, 0, "Sphere")
3137
		end
3138
		if Mode == 7 then
3139
			Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
3140
		end
3141
		if Mode == 10 then
3142
		PixelBlock(1.5,0.75,"Add",Handle.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.15,0.15,0.15,0.1,maincolor,0)
3143
		tecks2.TextColor3 = maincolor.Color
3144
		tecks2.TextStrokeColor3 = maincolor.Color
3145
		for i, v in pairs(ArmorColorParts) do
3146
		v.BrickColor = BrickColor.random()
3147
		v.Material = "Glass"
3148
		v.Transparency = 0
3149
		end
3150
		for i, v in pairs(ArmorColorParts2) do
3151
		v.BrickColor = BrickColor.random()
3152
		v.Material = "Glass"
3153
		v.Transparency = 0
3154
		end
3155
		for i, v in pairs(NeonColorParts) do
3156
		maincolor = BrickColor.random()
3157
		v.BrickColor = maincolor
3158
		v.Material = "Neon"
3159
		v.Transparency = 0
3160
		end
3161
		end
3162
		if Mode == 6 then
3163
        local A = math.random(1,15)
3164
        if A == 1 then
3165
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
3166
        if A == 2 then
3167
	Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
3168
        end
3169
        end
3170
		end
3171
		if 1 < root.Velocity.y and hitfloor == nil then
3172
			Anim = "Jump"
3173
			if attack == false then
3174
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08)
3175
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3176
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
3177
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
3178
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
3179
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
3180
			end
3181
		elseif -1 > root.Velocity.y and hitfloor == nil then
3182
			Anim = "Fall"
3183
			if attack == false then
3184
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08)
3185
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3186
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
3187
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
3188
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08)
3189
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08)
3190
			end
3191
		elseif torvel < 1 and hitfloor ~= nil then
3192
			Anim = "Idle"
3193
			change = 1
3194
			if attack == false then
3195
				if Mode == 1 then --Normal
3196
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3197
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3198
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3199
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3200
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
3201
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
3202
				elseif Mode == pIXELATED then --PIXELATED
3203
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20 + Mrandom(-4,4)), Rad(0), Rad(0)), 0.08)
3204
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30)), Rad(-4.5 + Mrandom(-30,30))), 0.08)
3205
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(80), Rad(0)) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(20 + Mrandom(-6,6))), 0.08)
3206
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + Mrandom(-6,6)), Rad(-80 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6))) * angles(Rad(-10.5 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-20 + Mrandom(-6,6))), 0.08)
3207
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(5 + Mrandom(-6,6))), 0.08)
3208
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25 + Mrandom(-6,6)), Rad(0 + Mrandom(-6,6)), Rad(-5 + Mrandom(-6,6))), 0.08)
3209
				elseif Mode == 50 then --ASCENDED
3210
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3211
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3212
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3213
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3214
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
3215
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
3216
			elseif Mode == 2 then --Machinery
3217
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.08)
3218
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-20 - 4.5 * Sin(sine / .5))), 0.08)
3219
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
3220
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(0)), 0.08)
3221
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(155), Rad(0), Rad(-45)), 0.08)
3222
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25)), 0.08)
3223
			elseif Mode == 3 then --ICE
3224
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.08)
3225
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-2.5 * Cos(sine / 1.5))), 0.08)
3226
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(10)), 0.08)
3227
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(-2.5 * Cos(sine / 1.5)), Rad(-10)), 0.08)
3228
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(25 + 4.5 * Cos(sine / 20))), 0.08)
3229
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 20)), Rad(-2.5 * Cos(sine / 1.5)), Rad(-25 - 4.5 * Cos(sine / 20))), 0.08)
3230
			elseif Mode == 4 then --Infused
3231
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.08)
3232
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3233
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-25)), 0.08)
3234
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
3235
				RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.35* Player_Size) * angles(Rad(90 - 2.5 * Cos(sine / 20)), Rad(0), Rad(-50)), 0.08)
3236
				LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.15* Player_Size) * angles(Rad(70 - 2.5 * Cos(sine / 20)), Rad(0), Rad(70)), 0.08)
3237
			elseif Mode == 5 then --Cybernetic
3238
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3239
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
3240
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
3241
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
3242
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
3243
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
3244
			elseif Mode == 25 then --Spiritual
3245
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3246
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(20), Rad(0)), 0.08)
3247
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
3248
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
3249
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(25 + 10.5 * Sin(sine / 20))), 0.08)
3250
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-25 - 10.5 * Sin(sine / 20))), 0.08)
3251
			elseif Mode == 6 then --Controlled Beyond Recognition
3252
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
3253
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(-4.5 * Sin(sine / .5))), 0.08)
3254
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(20)), 0.08)
3255
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5), Rad(0), Rad(-20)), 0.08)
3256
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(5)), 0.08)
3257
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(0), Rad(-5)), 0.08)
3258
			elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
3259
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
3260
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
3261
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
3262
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
3263
				RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
3264
				LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
3265
			elseif Mode == 100 then --Overclocked
3266
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
3267
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
3268
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
3269
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
3270
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
3271
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
3272
			elseif Mode == 8 then --Lunarist
3273
				MagicCharge(7, 0, "Add", ra.CFrame * CF(0, -1.3, 0) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 1.5 * math.random(-1.8, 2), -0.005, maincolor, 0, "Brick")
3274
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
3275
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3276
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3277
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
3278
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08)
3279
				LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
3280
			elseif Mode == 10 then --INSANITY
3281
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
3282
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
3283
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
3284
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
3285
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3286
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
3287
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 +  0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
3288
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
3289
			end
3290
			end
3291
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
3292
			Anim = "Walk"
3293
			change = 1.1
3294
			if attack == false then
3295
				if Mode == 6 then
3296
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
3297
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3298
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
3299
         			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
3300
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
3301
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1)
3302
			elseif Mode == 5 then
3303
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
3304
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3305
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
3306
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
3307
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
3308
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
3309
			elseif Mode == 25 then
3310
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
3311
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3312
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
3313
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
3314
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(25)), 0.1)
3315
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-25)), 0.1)
3316
			elseif Mode == 100 then 
3317
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
3318
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3319
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
3320
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
3321
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
3322
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
3323
			elseif Mode == 10 then
3324
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(55 + Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(-0 + Mrandom(-20,20))), 1)
3325
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
3326
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(55), Rad(0), Rad(-0)), 0.3)
3327
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(35 + Mrandom(-23,23))), 0.15)
3328
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + Mrandom(-23,23)), Rad(0 + Mrandom(-23,23)), Rad(-35 + Mrandom(-23,23))), 0.15)
3329
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(-10 + Mrandom(-23,23)), Rad(15 + Mrandom(-23,23))), 0.1)
3330
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(35 + Mrandom(-23,23)), Rad(10 + Mrandom(-23,23)), Rad(-15 + Mrandom(-23,23))), 0.1)
3331
			elseif Mode == 8 then
3332
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
3333
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
3334
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08)
3335
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08)
3336
				RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
3337
				LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
3338
			elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
3339
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
3340
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3341
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3342
	         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3343
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
3344
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
3345
			end
3346
			end
3347
		elseif torvel >= 25 and hitfloor ~= nil then
3348
			Anim = "Sprint"
3349
			change = 1.35
3350
			if attack == false then
3351
		if Mode == 5 then
3352
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
3353
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3354
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
3355
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
3356
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
3357
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
3358
		elseif Mode == 25 or Mode == 10 then
3359
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
3360
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
3361
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
3362
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
3363
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
3364
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
3365
		elseif Mode ~= 5 then
3366
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
3367
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
3368
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3369
         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
3370
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15)
3371
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.15)
3372
			end
3373
			end
3374
		end
3375
	end
3376
	Music.SoundId = "rbxassetid://"..SONG
3377
	Music.Looped = true
3378
	Music.Pitch = 1
3379
	Music.Volume = 2.5
3380
	Music.Parent = tors
3381
	Music:Resume()
3382
	if 0 < #Effects then
3383
		for e = 1, #Effects do
3384
			if Effects[e] ~= nil then
3385
				local Thing = Effects[e]
3386
				if Thing ~= nil then
3387
					local Part = Thing[1]
3388
					local Mode = Thing[2]
3389
					local Delay = Thing[3]
3390
					local IncX = Thing[4]
3391
					local IncY = Thing[5]
3392
					local IncZ = Thing[6]
3393
					if 1 >= Thing[1].Transparency then
3394
						if Thing[2] == "Block1" then
3395
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3396
							local Mesh = Thing[1].Mesh
3397
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3398
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3399
						elseif Thing[2] == "Block2" then
3400
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
3401
							local Mesh = Thing[7]
3402
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3403
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3404
						elseif Thing[2] == "Block3" then
3405
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
3406
							local Mesh = Thing[7]
3407
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3408
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3409
						elseif Thing[2] == "Cylinder" then
3410
							local Mesh = Thing[1].Mesh
3411
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3412
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3413
						elseif Thing[2] == "Blood" then
3414
							local Mesh = Thing[7]
3415
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
3416
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3417
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3418
						elseif Thing[2] == "Elec" then							local Mesh = Thing[1].Mesh
3419
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
3420
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3421
						elseif Thing[2] == "Disappear" then
3422
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3423
						elseif Thing[2] == "Shatter" then
3424
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3425
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3426
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3427
							Thing[6] = Thing[6] + Thing[5]
3428
						end
3429
					else
3430
						Part.Parent = nil
3431
						table.remove(Effects, e)
3432
					end
3433
				end
3434
			end
3435
		end
3436
	end
3437
end
3438
-------------------------------------------------------
3439
--End Animations And Script--
3440
-------------------------------------------------------