View difference between Paste ID: nWGBbgbY and 0Ma6000q
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
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
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
145
Player = owner
146
PlayerGui = Player.PlayerGui
147
Cam = workspace.CurrentCamera
148
Backpack = Player.Backpack
149
Character = Player.Character
150
Humanoid = Character.Humanoid
151
Mouse = Player:GetMouse()
152
RootPart = Character["HumanoidRootPart"]
153
Torso = Character["Torso"]
154
Head = Character["Head"]
155
RightArm = Character["Right Arm"]
156
LeftArm = Character["Left Arm"]
157
RightLeg = Character["Right Leg"]
158
LeftLeg = Character["Left Leg"]
159
RootJoint = RootPart["RootJoint"]
160
Neck = Torso["Neck"]
161
RightShoulder = Torso["Right Shoulder"]
162
LeftShoulder = Torso["Left Shoulder"]
163
RightHip = Torso["Right Hip"]
164
LeftHip = Torso["Left Hip"]
165
 
166
removeuseless = game:GetService("Debris")
167
laff = Instance.new("Sound",Head)
168
tauntdebounce = false
169
Character = Player.Character
170
Humanoid = Character.Humanoid
171
---------
172
plr = game.Players.LocalPlayer
173
chara = plr.Character
174
mouse = plr:GetMouse()
175
Create = Instance.new
176
Huge = math.huge
177
 
178
Player = game:GetService("Players").LocalPlayer
179
PlayerGui = Player.PlayerGui
180
Cam = workspace.CurrentCamera
181
Backpack = Player.Backpack
182
Character = Player.Character
183
char = Player.Character
184
Humanoid = Character.Humanoid
185
Mouse = Player:GetMouse()
186
RootPart = Character["HumanoidRootPart"]
187
Torso = Character["Torso"]
188
Head = Character["Head"]
189
RightArm = Character["Right Arm"]
190
LeftArm = Character["Left Arm"]
191
RightLeg = Character["Right Leg"]
192
LeftLeg = Character["Left Leg"]
193
RootJoint = RootPart["RootJoint"]
194
Neck = Torso["Neck"]
195
RightShoulder = Torso["Right Shoulder"]
196
LeftShoulder = Torso["Left Shoulder"]
197
RightHip = Torso["Right Hip"]
198
LeftHip = Torso["Left Hip"]
199
 
200
local Orin = "http://www.roblox.com/asset/?id=439537499"
201
Head.face.Texture = Orin
202
function weld(a, b, acf)
203
    local w = Instance.new("Weld", a)
204
    w.Part0 = a
205
    w.Part1 = b
206
    w.C0 = acf
207
end
208
--------------------------------
209
--------------------------------
210
local naeeym2 = Instance.new("BillboardGui",char)
211
naeeym2.AlwaysOnTop = true
212
naeeym2.Size = UDim2.new(5,35,2,35)
213
naeeym2.StudsOffset = Vector3.new(0,2,0)
214
naeeym2.Adornee = hed
215
naeeym2.Name = "Name"
216
 
217
local tecks2 = Instance.new("TextLabel",naeeym2)
218
tecks2.BackgroundTransparency = 1
219
tecks2.TextScaled = true
220
tecks2.BorderSizePixel = 0
221
tecks2.Text = ""
222
tecks2.Font = "Fantasy"
223
tecks2.TextSize = 30
224
tecks2.TextStrokeTransparency = 0
225
tecks2.TextColor3 = BrickColor.new('Royal purple').Color
226
tecks2.TextStrokeColor3 = BrickColor.new('Black').Color
227
tecks2.Size = UDim2.new(1,0,0.5,0)
228
tecks2.Parent = naeeym2
229
textfag = tecks2
230
tecks2.Text = ""
231
tecks2.Text = ""
232
wait()
233
tecks2.Text = ""
234
coroutine.resume(coroutine.create(function()
235
    while textfag ~= nil do
236
        swait()
237
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
238
        textfag.Rotation = math.random(-3,3)
239
    end
240
end))
241
-------------------------------------------------------
242
wait(0.2)
243
local plr = game:service'Players'.LocalPlayer
244
local char = plr.Character
245
local hum = char.Humanoid
246
local hed = char.Head
247
local root = char.HumanoidRootPart
248
local rootj = root.RootJoint
249
local tors = char.Torso
250
local ra = char["Right Arm"]
251
local la = char["Left Arm"]
252
local rl = char["Right Leg"]
253
local ll = char["Left Leg"]
254
local neck = tors["Neck"]
255
local mouse = plr:GetMouse()
256
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
257
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
258
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
259
local maincolor = BrickColor.new("Plum")
260
 
261
-------------------------------------------------------
262
--Start Good Stuff--
263
-------------------------------------------------------
264
cam = game.Workspace.CurrentCamera
265
CF = CFrame.new
266
angles = CFrame.Angles
267
attack = false
268
Euler = CFrame.fromEulerAnglesXYZ
269
Rad = math.rad
270
IT = Instance.new
271
BrickC = BrickColor.new
272
Cos = math.cos
273
Acos = math.acos
274
Sin = math.sin
275
Asin = math.asin
276
Abs = math.abs
277
Mrandom = math.random
278
Floor = math.floor
279
-------------------------------------------------------
280
--End Good Stuff--
281
-------------------------------------------------------
282
-------------------------------------------------------
283
--Start HeartBeat--
284
-------------------------------------------------------
285
ArtificialHB = Instance.new("BindableEvent", script)
286
ArtificialHB.Name = "Heartbeat"
287
script:WaitForChild("Heartbeat")
288
 
289
frame = 1 / 60
290
tf = 0
291
allowframeloss = false
292
tossremainder = false
293
 
294
 
295
lastframe = tick()
296
script.Heartbeat:Fire()
297
 
298
 
299
game:GetService("RunService").Heartbeat:connect(function(s, p)
300
    tf = tf + s
301
    if tf >= frame then
302
        if allowframeloss then
303
            script.Heartbeat:Fire()
304
            lastframe = tick()
305
        else
306
            for i = 1, math.floor(tf / frame) do
307
                script.Heartbeat:Fire()
308
            end
309
            lastframe = tick()
310
        end
311
        if tossremainder then
312
            tf = 0
313
        else
314
            tf = tf - frame * math.floor(tf / frame)
315
        end
316
    end
317
end)
318
-------------------------------------------------------
319
--End HeartBeat--
320
-------------------------------------------------------
321
 
322
-------------------------------------------------------
323
--Start Important Functions--
324
-------------------------------------------------------
325
function swait(num)
326
    if num == 0 or num == nil then
327
        game:service("RunService").Stepped:wait(0)
328
    else
329
        for i = 0, num do
330
            game:service("RunService").Stepped:wait(0)
331
        end
332
    end
333
end
334
function thread(f)
335
    coroutine.resume(coroutine.create(f))
336
end
337
function clerp(a, b, t)
338
    local qa = {
339
        QuaternionFromCFrame(a)
340
    }
341
    local qb = {
342
        QuaternionFromCFrame(b)
343
    }
344
    local ax, ay, az = a.x, a.y, a.z
345
    local bx, by, bz = b.x, b.y, b.z
346
    local _t = 1 - t
347
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
348
end
349
function QuaternionFromCFrame(cf)
350
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
351
    local trace = m00 + m11 + m22
352
    if trace > 0 then
353
        local s = math.sqrt(1 + trace)
354
        local recip = 0.5 / s
355
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
356
    else
357
        local i = 0
358
        if m00 < m11 then
359
            i = 1
360
        end
361
        if m22 > (i == 0 and m00 or m11) then
362
            i = 2
363
        end
364
        if i == 0 then
365
            local s = math.sqrt(m00 - m11 - m22 + 1)
366
            local recip = 0.5 / s
367
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
368
        elseif i == 1 then
369
            local s = math.sqrt(m11 - m22 - m00 + 1)
370
            local recip = 0.5 / s
371
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
372
        elseif i == 2 then
373
            local s = math.sqrt(m22 - m00 - m11 + 1)
374
            local recip = 0.5 / s
375
            return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
376
        end
377
    end
378
end
379
function QuaternionToCFrame(px, py, pz, x, y, z, w)
380
    local xs, ys, zs = x + x, y + y, z + z
381
    local wx, wy, wz = w * xs, w * ys, w * zs
382
    local xx = x * xs
383
    local xy = x * ys
384
    local xz = x * zs
385
    local yy = y * ys
386
    local yz = y * zs
387
    local zz = z * zs
388
    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))
389
end
390
function QuaternionSlerp(a, b, t)
391
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
392
    local startInterp, finishInterp
393
    if cosTheta >= 1.0E-4 then
394
        if 1 - cosTheta > 1.0E-4 then
395
            local theta = math.acos(cosTheta)
396
            local invSinTheta = 1 / Sin(theta)
397
            startInterp = Sin((1 - t) * theta) * invSinTheta
398
            finishInterp = Sin(t * theta) * invSinTheta
399
        else
400
            startInterp = 1 - t
401
            finishInterp = t
402
        end
403
    elseif 1 + cosTheta > 1.0E-4 then
404
        local theta = math.acos(-cosTheta)
405
        local invSinTheta = 1 / Sin(theta)
406
        startInterp = Sin((t - 1) * theta) * invSinTheta
407
        finishInterp = Sin(t * theta) * invSinTheta
408
    else
409
        startInterp = t - 1
410
        finishInterp = t
411
    end
412
    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
413
end
414
function rayCast(Position, Direction, Range, Ignore)
415
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
416
end
417
local RbxUtility = LoadLibrary("RbxUtility")
418
local Create = RbxUtility.Create
419
 
420
-------------------------------------------------------
421
--Start Damage Function--
422
-------------------------------------------------------
423
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
424
    if hit.Parent == nil then
425
        return
426
    end
427
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
428
    for _, v in pairs(hit.Parent:children()) do
429
        if v:IsA("Humanoid") then
430
            h = v
431
        end
432
    end
433
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
434
   
435
         hit.Parent:FindFirstChild("Head"):BreakJoints()
436
         end
437
 
438
    if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
439
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
440
            if hit.Parent.DebounceHit.Value == true then
441
                return
442
            end
443
        end
444
         if insta == true then
445
         hit.Parent:FindFirstChild("Head"):BreakJoints()
446
         end
447
        local c = Create("ObjectValue"){
448
            Name = "creator",
449
            Value = game:service("Players").LocalPlayer,
450
            Parent = h,
451
        }
452
        game:GetService("Debris"):AddItem(c, .5)
453
        if HitSound ~= nil and HitPitch ~= nil then
454
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
455
        end
456
        local Damage = math.random(minim, maxim)
457
        local blocked = false
458
        local block = hit.Parent:findFirstChild("Block")
459
        if block ~= nil then
460
            if block.className == "IntValue" then
461
                if block.Value > 0 then
462
                    blocked = true
463
                    block.Value = block.Value - 1
464
                    print(block.Value)
465
                end
466
            end
467
        end
468
        if blocked == false then
469
            h.Health = h.Health - Damage
470
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
471
        else
472
            h.Health = h.Health - (Damage / 2)
473
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
474
        end
475
        if Type == "Knockdown" then
476
            local hum = hit.Parent.Humanoid
477
            hum.PlatformStand = true
478
            coroutine.resume(coroutine.create(function(HHumanoid)
479
                swait()
480
                HHumanoid.PlatformStand = false
481
            end), hum)
482
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
483
            local bodvol = Create("BodyVelocity"){
484
                velocity = angle * knockback,
485
                P = 5000,
486
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
487
                Parent = hit,
488
            }
489
            local rl = Create("BodyAngularVelocity"){
490
                P = 3000,
491
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
492
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
493
                Parent = hit,
494
            }
495
            game:GetService("Debris"):AddItem(bodvol, .5)
496
            game:GetService("Debris"):AddItem(rl, .5)
497
        elseif Type == "Normal" then
498
            local vp = Create("BodyVelocity"){
499
                P = 500,
500
                maxForce = Vector3.new(math.huge, 0, math.huge),
501
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
502
            }
503
            if knockback > 0 then
504
                vp.Parent = hit.Parent.Torso
505
            end
506
            game:GetService("Debris"):AddItem(vp, .5)
507
        elseif Type == "Up" then
508
            local bodyVelocity = Create("BodyVelocity"){
509
                velocity = Vector3.new(0, 20, 0),
510
                P = 5000,
511
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
512
                Parent = hit,
513
            }
514
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
515
        elseif Type == "DarkUp" then
516
            coroutine.resume(coroutine.create(function()
517
                for i = 0, 1, 0.1 do
518
                    swait()
519
                    Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
520
                end
521
            end))
522
            local bodyVelocity = Create("BodyVelocity"){
523
                velocity = Vector3.new(0, 20, 0),
524
                P = 5000,
525
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
526
                Parent = hit,
527
            }
528
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
529
        elseif Type == "Snare" then
530
            local bp = Create("BodyPosition"){
531
                P = 2000,
532
                D = 100,
533
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
534
                position = hit.Parent.Torso.Position,
535
                Parent = hit.Parent.Torso,
536
            }
537
            game:GetService("Debris"):AddItem(bp, 1)
538
        elseif Type == "Freeze" then
539
            local BodPos = Create("BodyPosition"){
540
                P = 50000,
541
                D = 1000,
542
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
543
                position = hit.Parent.Torso.Position,
544
                Parent = hit.Parent.Torso,
545
            }
546
            local BodGy = Create("BodyGyro") {
547
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
548
                P = 20e+003,
549
                Parent = hit.Parent.Torso,
550
                cframe = hit.Parent.Torso.CFrame,
551
            }
552
            hit.Parent.Torso.Anchored = true
553
            coroutine.resume(coroutine.create(function(Part)
554
                swait()
555
                Part.Anchored = false
556
            end), hit.Parent.Torso)
557
            game:GetService("Debris"):AddItem(BodPos, 3)
558
            game:GetService("Debris"):AddItem(BodGy, 3)
559
        end
560
        local debounce = Create("BoolValue"){
561
            Name = "DebounceHit",
562
            Parent = hit.Parent,
563
            Value = true,
564
        }
565
        game:GetService("Debris"):AddItem(debounce, Delay)
566
        c = Create("ObjectValue"){
567
            Name = "creator",
568
            Value = Player,
569
            Parent = h,
570
        }
571
        game:GetService("Debris"):AddItem(c, .5)
572
    end
573
end
574
-------------------------------------------------------
575
--End Damage Function--
576
-------------------------------------------------------
577
 
578
-------------------------------------------------------
579
--Start Damage Function Customization--
580
-------------------------------------------------------
581
function ShowDamage(Pos, Text, Time, Color)
582
    local Rate = (1 / 30)
583
    local Pos = (Pos or Vector3.new(0, 0, 0))
584
    local Text = (Text or "")
585
    local Time = (Time or 2)
586
    local Color = (Color or Color3.new(255, 255, 1))
587
    local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
588
    EffectPart.Anchored = true
589
    local BillboardGui = Create("BillboardGui"){
590
        Size = UDim2.new(3, 0, 3, 0),
591
        Adornee = EffectPart,
592
        Parent = EffectPart,
593
    }
594
    local TextLabel = Create("TextLabel"){
595
        BackgroundTransparency = 1,
596
        Size = UDim2.new(1, 0, 1, 0),
597
        Text = Text,
598
        Font = "Bodoni",
599
        TextColor3 = Color,
600
        TextScaled = true,
601
        TextStrokeColor3 = Color3.fromRGB(220, 188, 129),
602
        Parent = BillboardGui,
603
    }
604
    game.Debris:AddItem(EffectPart, (Time))
605
    EffectPart.Parent = game:GetService("Workspace")
606
    delay(0, function()
607
        local Frames = (Time / Rate)
608
        for Frame = 1, Frames do
609
            wait(Rate)
610
            local Percent = (Frame / Frames)
611
            EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
612
            TextLabel.TextTransparency = Percent
613
        end
614
        if EffectPart and EffectPart.Parent then
615
            EffectPart:Destroy()
616
        end
617
    end)
618
end
619
-------------------------------------------------------
620
--End Damage Function Customization--
621
-------------------------------------------------------
622
 
623
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
624
  for _, c in pairs(workspace:children()) do
625
    local hum = c:findFirstChild("Humanoid")
626
    if hum ~= nil then
627
      local head = c:findFirstChild("Head")
628
      if head ~= nil then
629
        local targ = head.Position - Part.Position
630
        local mag = targ.magnitude
631
        if magni >= mag and c.Name ~= plr.Name then
632
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
633
        end
634
      end
635
    end
636
  end
637
end
638
 
639
 
640
CFuncs = {
641
    Part = {
642
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
643
            local Part = Create("Part")({
644
                Parent = Parent,
645
                Reflectance = Reflectance,
646
                Transparency = Transparency,
647
                CanCollide = false,
648
                Locked = true,
649
                BrickColor = BrickColor.new(tostring(BColor)),
650
                Name = Name,
651
                Size = Size,
652
                Material = Material
653
            })
654
            RemoveOutlines(Part)
655
            return Part
656
        end
657
    },
658
    Mesh = {
659
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
660
            local Msh = Create(Mesh)({
661
                Parent = Part,
662
                Offset = OffSet,
663
                Scale = Scale
664
            })
665
            if Mesh == "SpecialMesh" then
666
                Msh.MeshType = MeshType
667
                Msh.MeshId = MeshId
668
            end
669
            return Msh
670
        end
671
    },
672
    Mesh = {
673
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
674
            local Msh = Create(Mesh)({
675
                Parent = Part,
676
                Offset = OffSet,
677
                Scale = Scale
678
            })
679
            if Mesh == "SpecialMesh" then
680
                Msh.MeshType = MeshType
681
                Msh.MeshId = MeshId
682
            end
683
            return Msh
684
        end
685
    },
686
    Weld = {
687
        Create = function(Parent, Part0, Part1, C0, C1)
688
            local Weld = Create("Weld")({
689
                Parent = Parent,
690
                Part0 = Part0,
691
                Part1 = Part1,
692
                C0 = C0,
693
                C1 = C1
694
            })
695
            return Weld
696
        end
697
    },
698
    Sound = {
699
        Create = function(id, par, vol, pit)
700
            coroutine.resume(coroutine.create(function()
701
                local S = Create("Sound")({
702
                    Volume = vol,
703
                    Pitch = pit or 1,
704
                    SoundId = id,
705
                    Parent = par or workspace
706
                })
707
                wait()
708
                S:play()
709
                game:GetService("Debris"):AddItem(S, 6)
710
            end))
711
        end
712
    },
713
    ParticleEmitter = {
714
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
715
            local fp = Create("ParticleEmitter")({
716
                Parent = Parent,
717
                Color = ColorSequence.new(Color1, Color2),
718
                LightEmission = LightEmission,
719
                Size = Size,
720
                Texture = Texture,
721
                Transparency = Transparency,
722
                ZOffset = ZOffset,
723
                Acceleration = Accel,
724
                Drag = Drag,
725
                LockedToPart = LockedToPart,
726
                VelocityInheritance = VelocityInheritance,
727
                EmissionDirection = EmissionDirection,
728
                Enabled = Enabled,
729
                Lifetime = LifeTime,
730
                Rate = Rate,
731
                Rotation = Rotation,
732
                RotSpeed = RotSpeed,
733
                Speed = Speed,
734
                VelocitySpread = VelocitySpread
735
            })
736
            return fp
737
        end
738
    }
739
}
740
function RemoveOutlines(part)
741
    part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
742
end
743
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
744
    local Part = Create("Part")({
745
        formFactor = FormFactor,
746
        Parent = Parent,
747
        Reflectance = Reflectance,
748
        Transparency = Transparency,
749
        CanCollide = false,
750
        Locked = true,
751
        BrickColor = BrickColor.new(tostring(BColor)),
752
        Name = Name,
753
        Size = Size,
754
        Material = Material
755
    })
756
    RemoveOutlines(Part)
757
    return Part
758
end
759
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
760
    local Msh = Create(Mesh)({
761
        Parent = Part,
762
        Offset = OffSet,
763
        Scale = Scale
764
    })
765
    if Mesh == "SpecialMesh" then
766
        Msh.MeshType = MeshType
767
        Msh.MeshId = MeshId
768
    end
769
    return Msh
770
end
771
function CreateWeld(Parent, Part0, Part1, C0, C1)
772
    local Weld = Create("Weld")({
773
        Parent = Parent,
774
        Part0 = Part0,
775
        Part1 = Part1,
776
        C0 = C0,
777
        C1 = C1
778
    })
779
    return Weld
780
end
781
 
782
 
783
 
784
-------------------------------------------------------
785
--End Effect Function--
786
-------------------------------------------------------
787
function Cso(ID, PARENT, VOLUME, PITCH)
788
    local NSound = nil
789
    coroutine.resume(coroutine.create(function()
790
        NSound = IT("Sound", PARENT)
791
        NSound.Volume = VOLUME
792
        NSound.Pitch = PITCH
793
        NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
794
        swait()
795
        NSound:play()
796
        game:GetService("Debris"):AddItem(NSound, 50)
797
    end))
798
    return NSound
799
end
800
function CameraEnshaking(Length, Intensity)
801
    coroutine.resume(coroutine.create(function()
802
        local intensity = 1 * Intensity
803
        local rotM = 0.01 * Intensity
804
        for i = 0, Length, 0.1 do
805
            swait()
806
            intensity = intensity - 0.05 * Intensity / Length
807
            rotM = rotM - 5.0E-4 * Intensity / Length
808
            hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
809
            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)
810
        end
811
        hum.CameraOffset = Vector3.new(0, 0, 0)
812
    end))
813
end
814
-------------------------------------------------------
815
--End Important Functions--
816
-------------------------------------------------------
817
 
818
----------------------------------------------------------------------------------
819
hum.WalkSpeed = 20
820
hum.JumpPower = 60
821
----------------------------------------------------------------------------------
822
local AddInstance = function(Object, ...)
823
local Obj = Instance.new(Object)
824
for i,v in next,(...) do
825
Obj[i] = v
826
end
827
return Obj
828
end
829
----------------------------------------------------
830
 
831
 
832
  local Reaper = AddInstance("Part",{
833
            Parent = hed,
834
            CFrame = hed.CFrame,
835
            formFactor = "Symmetric",
836
            Size = Vector3.new(1, 1, 1),
837
            CanCollide = false,
838
            TopSurface = "Smooth",
839
            BottomSurface = "Smooth",
840
            Locked = true,
841
        })
842
        local Weld = AddInstance("Weld",{
843
            Parent = Reaper,
844
            Part0 = hed,
845
            C0 = CFrame.new(0, 1.45, 0)*CFrame.Angles(0, 0, 0),
846
            Part1 = Reaper,
847
        })
848
        local Mesh = AddInstance("SpecialMesh",{
849
            Parent = Reaper,
850
            MeshId = "rbxassetid://0",
851
            TextureId = "rbxassetid://0",
852
            Scale = Vector3.new(0.85,0.85,0.85),
853
            VertexColor = Vector3.new(1, 1, 1),
854
        })
855
 
856
-------------------------------------------------------
857
IT = Instance.new
858
CF = CFrame.new
859
VT = Vector3.new
860
RAD = math.rad
861
C3 = Color3.new
862
UD2 = UDim2.new
863
BRICKC = BrickColor.new
864
ANGLES = CFrame.Angles
865
EULER = CFrame.fromEulerAnglesXYZ
866
COS = math.cos
867
ACOS = math.acos
868
SIN = math.sin
869
ASIN = math.asin
870
ABS = math.abs
871
MRANDOM = math.random
872
FLOOR = math.floor
873
 
874
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
875
    local label = IT("TextLabel")
876
    label.BackgroundTransparency = 1
877
    label.Size = UD2(1, 0, 1, 0)
878
    label.Position = UD2(0, 0, 0, 0)
879
    label.TextColor3 = TEXTCOLOR
880
    label.TextStrokeTransparency = STROKETRANSPARENCY
881
    label.TextTransparency = TRANSPARENCY
882
    label.FontSize = TEXTFONTSIZE
883
    label.Font = TEXTFONT
884
    label.BorderSizePixel = BORDERSIZEPIXEL
885
    label.TextScaled = false
886
    label.Text = TEXT
887
    label.Name = NAME
888
    label.Parent = PARENT
889
    return label
890
end
891
 
892
function chatfunc(text)
893
    local chat = coroutine.wrap(function()
894
    if Character:FindFirstChild("TalkingBillBoard")~= nil then
895
        Character:FindFirstChild("TalkingBillBoard"):destroy()
896
    end
897
    local Bill = Instance.new("BillboardGui",Character)
898
    Bill.Size = UDim2.new(0,100,0,40)
899
    Bill.StudsOffset = Vector3.new(0,3,0)
900
    Bill.Adornee = Character.Head
901
    Bill.Name = "TalkingBillBoard"
902
    local Hehe = Instance.new("TextLabel",Bill)
903
    Hehe.BackgroundTransparency = 1
904
    Hehe.BorderSizePixel = 0
905
    Hehe.Text = ""
906
    Hehe.Font = "Bodoni"
907
    Hehe.TextSize = 40
908
    Hehe.TextStrokeTransparency = 0
909
    Hehe.Size = UDim2.new(1,0,0.5,0)
910
    coroutine.resume(coroutine.create(function()
911
        while Hehe ~= nil do
912
            swait()
913
            Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
914
            Hehe.Rotation = math.random(-5,5)
915
            Hehe.TextColor3 = Color3.new(220, 188, 129)
916
            Hehe.TextStrokeColor3 = Color3.new(107, 50, 124)
917
        end
918
    end))
919
    for i = 1,string.len(text),1 do
920
        swait()
921
        Hehe.Text = string.sub(text,1,i)
922
    end
923
    swait(90)--Re[math.random(1, 93)]
924
    for i = 0, 1, .025 do
925
        swait()
926
        Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
927
        Hehe.TextStrokeTransparency = i
928
        Hehe.TextTransparency = i
929
    end
930
    Bill:Destroy()
931
    end)
932
chat()
933
end
934
 
935
function onChatted(msg)
936
    chatfunc(msg)
937
end
938
 
939
Player.Chatted:connect(onChatted)
940
 
941
wait()
942
  local Hair = AddInstance("Part",{
943
            Parent = hed,
944
            CFrame = hed.CFrame,
945
            formFactor = "Symmetric",
946
            Size = Vector3.new(1, 1, 1),
947
            CanCollide = false,
948
            TopSurface = "Smooth",
949
            BottomSurface = "Smooth",
950
            Locked = true,
951
        })
952
        local Weld = AddInstance("Weld",{
953
            Parent = Hair,
954
            Part0 = hed,
955
            C0 = CFrame.new(0, 0.5, 0)*CFrame.Angles(0, 0.5, 0),
956
            Part1 = Hair,
957
        })
958
        local Mesh = AddInstance("SpecialMesh",{
959
            Parent = Hair,
960
            MeshId = "rbxassetid://1031109404",
961
            TextureId = "rbxassetid://1031109414",
962
            Scale = Vector3.new(1, 1, 1),
963
            VertexColor = Vector3.new(1, 1, 1),
964
        })
965
966
swait()
967
plr = game.Players.LocalPlayer
968
char = plr.Character
969
mouse = plr:GetMouse()
970
whitecolor = Color3.new(220, 188, 129)
971
epicmode = false
972
normal = true
973
for i,v in pairs(char:GetChildren()) do
974
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
975
      v:Destroy()
976
     end
977
local shirt = Instance.new("Shirt",char)
978
shirt.ShirtTemplate = "rbxassetid://268316000"
979
local pants = Instance.new("Pants",char)
980
pants.PantsTemplate = "rbxassetid://268949770"
981
local bdycolors = char["Body Colors"]
982
bdycolors.HeadColor3 = whitecolor
983
bdycolors.LeftArmColor3 = whitecolor
984
bdycolors.LeftLegColor3 = whitecolor
985
bdycolors.RightArmColor3 = whitecolor
986
bdycolors.RightLegColor3 = whitecolor
987
bdycolors.TorsoColor3 = whitecolor
988
for i,v in pairs(char:GetChildren()) do
989
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
990
        v:Destroy()
991
    end
992
end
993
 
994
local BC = Character["Body Colors"]
995
BC.HeadColor = BrickColor.new("White")
996
BC.LeftArmColor = BrickColor.new("White")
997
BC.LeftLegColor = BrickColor.new("White")
998
BC.RightArmColor = BrickColor.new("White")
999
BC.RightLegColor = BrickColor.new("White")
1000
BC.TorsoColor = BrickColor.new("Nougat")
1001
end
1002
 
1003
-----------------------------------------------
1004
1005
-----------------------
1006-
--[[ Name : RUIN GEN]]--
1006+
--[[ Name : RUIN VII]]--
1007
-------------------------------------------------------
1008
--A script By xdielivex
1009
-------------------------------------------------------
1010
1011
local FavIDs = {
1012
	340106355, --Nefl Crystals
1013
	927529620, --Dimension
1014
	876981900, --Fantasy
1015
	398987889, --Ordinary Days
1016
	1117396305, --Oh wait, it's you.
1017
	885996042, --Action Winter Journey
1018
	919231299, --Sprawling Idiot Effigy
1019
	743466274, --Good Day Sunshine
1020
	727411183, --Knife Fight
1021
	1402748531, --The Earth Is Counting On You!
1022
	595230126 --Robot Language
1023
	}
1024
1025
vt = Vector3.new
1026
1027
1028
wait()
1029
local plr = owner
1030
local char = plr.Character
1031
local hum = char.Humanoid
1032
local hed = char.Head
1033
local root = char.HumanoidRootPart
1034
local rootj = root.RootJoint
1035
local tors = char.Torso
1036
local ra = char["Right Arm"]
1037
local la = char["Left Arm"]
1038
local rl = char["Right Leg"]
1039
local ll = char["Left Leg"]
1040
local neck = tors["Neck"]
1041
local mouse = plr:GetMouse()
1042
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
1043
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
1044
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
1045
local maincolor = BrickColor.new("White")
1046
local maincolor2 = Color3.new(255, 255, 255)
1047
exploitable = true
1048
-------------------------------------------------------
1049
--Start Whitelist and Invincibility--
1050
-------------------------------------------------------	
1051
ff = Instance.new("ForceField",char)
1052
ff.Visible = false
1053
hum.Name = "Base"
1054
hum.MaxHealth = 1.0E298
1055
hum.Health = 1.0E298
1056
game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
1057
  if hum.Health > 0.1 and hum.Health < 1.0E298 then
1058
    hum.MaxHealth = 1.0E298
1059
    hum.Health = 1.0E298
1060
  end
1061
end)
1062
-------------------------------------------------------
1063
--End Whitelist and Invincibility--
1064
-------------------------------------------------------	
1065
1066-
warn("All credits to xdielivex for making it")
1066+
warn("Credit to xdielivex for making ruin VII")
1067
1068
-------------------------------------------------------
1069
--Start Good Stuff--
1070
-------------------------------------------------------
1071
cam = game.Workspace.CurrentCamera
1072
CF = CFrame.new
1073
VT = Vector3.new
1074
angles = CFrame.Angles
1075
attack = false
1076
Euler = CFrame.fromEulerAnglesXYZ
1077
Rad = math.rad
1078
IT = Instance.new
1079
BrickC = BrickColor.new
1080
Cos = math.cos
1081
Acos = math.acos
1082
Sin = math.sin
1083
Asin = math.asin
1084
Abs = math.abs
1085
Mrandom = math.random
1086
Floor = math.floor
1087
-------------------------------------------------------
1088
--End Good Stuff--
1089
-------------------------------------------------------
1090
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1091
RSH, LSH = nil, nil 
1092
RW = Instance.new("Weld") 
1093
LW = Instance.new("Weld")
1094
RH = tors["Right Hip"]
1095
LH = tors["Left Hip"]
1096
RSH = tors["Right Shoulder"] 
1097
LSH = tors["Left Shoulder"] 
1098
RSH.Parent = nil 
1099
LSH.Parent = nil 
1100
RW.Name = "RW"
1101
RW.Part0 = tors 
1102
RW.C0 = CF(1.5, 0.5, 0)
1103
RW.C1 = CF(0, 0.5, 0) 
1104
RW.Part1 = ra
1105
RW.Parent = tors 
1106
LW.Name = "LW"
1107
LW.Part0 = tors 
1108
LW.C0 = CF(-1.5, 0.5, 0)
1109
LW.C1 = CF(0, 0.5, 0) 
1110
LW.Part1 = la
1111
LW.Parent = tors
1112
Effects = {}
1113
1114
--------------------------------
1115
local naeeym2 = Instance.new("BillboardGui",char)
1116
naeeym2.AlwaysOnTop = true
1117
naeeym2.Size = UDim2.new(5,35,2,35)
1118
naeeym2.StudsOffset = Vector3.new(0,2,0)
1119
naeeym2.Adornee = hed
1120
naeeym2.Name = "Name"
1121
 
1122
local tecks2 = Instance.new("TextLabel",naeeym2)
1123
tecks2.BackgroundTransparency = 1
1124
tecks2.TextScaled = true
1125
tecks2.BorderSizePixel = 0
1126
tecks2.Text = ""
1127
tecks2.Font = "Fantasy"
1128
tecks2.TextSize = 30
1129
tecks2.TextStrokeTransparency = 0
1130
tecks2.TextColor3 = BrickColor.new('White').Color
1131
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
1132
tecks2.Size = UDim2.new(1,0,0.5,0)
1133
tecks2.Parent = naeeym2
1134
textfag = tecks2
1135
tecks2.Text = ""
1136
tecks2.Text = "script by xdielivex"
1137
wait(0.5)
1138
tecks2.Text = "Ruin VIII"
1139
wait(0.5)
1140
tecks2.Text = ""
1141
coroutine.resume(coroutine.create(function()
1142
    while textfag ~= nil do
1143
        swait()
1144
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1145
        textfag.Rotation = math.random(-3,3)
1146
    end
1147
end))
1148
-------------------------------------------------------
1149
1150
local naeeym2 = IT("BillboardGui",char)
1151
naeeym2.AlwaysOnTop = true
1152
naeeym2.Size = UDim2.new(5,35,2,15)
1153
naeeym2.StudsOffset = Vector3.new(0,2,0)
1154
naeeym2.MaxDistance = 75
1155
naeeym2.Adornee = hed
1156
naeeym2.Name = "Name"
1157
--naeeym2.PlayerToHideFrom = Player
1158
local tecks2 = IT("TextLabel",naeeym2)
1159
tecks2.BackgroundTransparency = 10
1160
tecks2.TextScaled = true
1161
tecks2.BorderSizePixel = 0
1162
tecks2.Text = "Steam"
1163
tecks2.Font = "Fantasy"
1164
tecks2.TextSize = 100
1165
tecks2.TextStrokeTransparency = 0
1166
tecks2.TextColor3 = Color3.new(1,1,1)
1167
tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
1168
tecks2.Size = UDim2.new(1,0,0.5,0)
1169
tecks2.Parent = naeeym2
1170
1171
-------------------------------------------------------
1172
--Start HeartBeat--
1173
-------------------------------------------------------
1174
ArtificialHB = Instance.new("BindableEvent", script)
1175
ArtificialHB.Name = "Heartbeat"
1176
script:WaitForChild("Heartbeat")
1177
1178
frame = 1 / 60
1179
tf = 0
1180
allowframeloss = false
1181
tossremainder = false
1182
1183
1184
lastframe = tick()
1185
script.Heartbeat:Fire()
1186
1187
1188
game:GetService("RunService").Heartbeat:connect(function(s, p)
1189
	tf = tf + s
1190
	if tf >= frame then
1191
		if allowframeloss then
1192
			script.Heartbeat:Fire()
1193
			lastframe = tick()
1194
		else
1195
			for i = 1, math.floor(tf / frame) do
1196
				script.Heartbeat:Fire()
1197
			end
1198
			lastframe = tick()
1199
		end
1200
		if tossremainder then
1201
			tf = 0
1202
		else
1203
			tf = tf - frame * math.floor(tf / frame)
1204
		end
1205
	end
1206
end)
1207
-------------------------------------------------------
1208
--End HeartBeat--
1209
-------------------------------------------------------
1210
1211
TAUNT = Instance.new("Sound", tors)
1212
TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
1213
TAUNT.Volume = 10
1214
TAUNT.Pitch = 1
1215
TAUNT.Looped = false
1216
TAUNT.TimePosition = 0.12
1217
1218
BTAUNT = Instance.new("Sound", tors)
1219
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
1220
BTAUNT.Volume = 10
1221
BTAUNT.Pitch = 1
1222
BTAUNT.Looped = false
1223
BTAUNT.TimePosition = 0.2
1224
1225
ITAUNT = Instance.new("Sound", tors)
1226
ITAUNT.SoundId = "http://www.roblox.com/asset/?id=2128278806"
1227
ITAUNT.Volume = 10
1228
ITAUNT.Pitch = 1
1229
ITAUNT.Looped = false
1230
ITAUNT.TimePosition = 0
1231
1232
BATAUNT = Instance.new("Sound", tors)
1233
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
1234
BATAUNT.Volume = 10
1235
BATAUNT.Pitch = 1
1236
BATAUNT.Looped = false
1237
BATAUNT.TimePosition = 0
1238
1239
STAUNT2 = Instance.new("Sound", tors)
1240
STAUNT2.SoundId = "http://www.roblox.com/asset/?id=132392118"
1241
STAUNT2.Volume = 10
1242
STAUNT2.Pitch = 0.8
1243
STAUNT2.Looped = false
1244
STAUNT2.TimePosition = 0.05
1245
1246
STAUNT = Instance.new("Sound", tors)
1247
STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
1248
STAUNT.Volume = 10
1249
STAUNT.Pitch = 1
1250
STAUNT.Looped = false
1251
STAUNT.TimePosition = 0.05
1252
1253
DTAUNT = Instance.new("Sound", tors)
1254
DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
1255
DTAUNT.Volume = 10
1256
DTAUNT.Pitch = 1
1257
DTAUNT.Looped = false
1258
DTAUNT.TimePosition = 0
1259
1260
LAZOR = Instance.new("Sound", ra)
1261
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
1262
LAZOR.Volume = 10
1263
LAZOR.Pitch = 0.7
1264
LAZOR.Looped = false
1265
LAZOR.TimePosition = 0
1266
1267
-------------------------------------------------------
1268
--Start Important Functions--
1269
-------------------------------------------------------
1270
function swait(num)
1271
	if num == 0 or num == nil then
1272
		game:service("RunService").Stepped:wait(0)
1273
	else
1274
		for i = 0, num do
1275
			game:service("RunService").Stepped:wait(0)
1276
		end
1277
	end
1278
end
1279
function thread(f)
1280
	coroutine.resume(coroutine.create(f))
1281
end
1282
function clerp(a, b, t)
1283
	local qa = {
1284
		QuaternionFromCFrame(a)
1285
	}
1286
	local qb = {
1287
		QuaternionFromCFrame(b)
1288
	}
1289
	local ax, ay, az = a.x, a.y, a.z
1290
	local bx, by, bz = b.x, b.y, b.z
1291
	local _t = 1 - t
1292
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1293
end
1294
function ShockWave(Part, cframe1, cframe2, Damage, Size)
1295
	coroutine.resume(coroutine.create(function() 
1296
		local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
1297
		wave.Anchored = true 
1298
		wave.CFrame = Part.CFrame * cframe1
1299
		local Msh = Create("SpecialMesh"){
1300
			Parent = wave,
1301
			MeshType = "Sphere"
1302
		}
1303
		Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
1304
		for i = 0, 1, 0.2 do
1305
			wait()
1306
			local dir = wave.CFrame.lookVector * -1
1307
			local pos = rayCast(wave.Position, dir, 5, Character)
1308
			wave.CFrame = wave.CFrame * cframe2
1309
                        table.insert(Effects, {
1310
                                wave,
1311
                                "Sphere",
1312
                                0.01,
1313
                                .03,
1314
                                .03,
1315
                                .03,
1316
                        })
1317
		end
1318
	end))
1319
end
1320
1321
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
1322
local type = type
1323
local rng = Instance.new("Part", char)
1324
        rng.Anchored = true
1325
        rng.BrickColor = color
1326
        rng.CanCollide = false
1327
        rng.FormFactor = 3
1328
        rng.Name = "Ring"
1329
        rng.Material = "Neon"
1330
        rng.Size = Vector3.new(1, 1, 1)
1331
        rng.Transparency = 0
1332
        rng.TopSurface = 0
1333
        rng.BottomSurface = 0
1334
        rng.CFrame = pos
1335
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1336
        local rngm = Instance.new("SpecialMesh", rng)
1337
        rngm.MeshType = "Brick"
1338
rngm.Scale = VT(x1,y1,z1)
1339
if rainbowmode == true then
1340
rng.Color = Color3.new(r/255,g/255,b/255)
1341
end
1342
local scaler2 = 1
1343
local speeder = FastSpeed/10
1344
if type == "Add" then
1345
scaler2 = 1*value
1346
elseif type == "Divide" then
1347
scaler2 = 1/value
1348
end
1349
coroutine.resume(coroutine.create(function()
1350
for i = 0,10/bonuspeed,0.1 do
1351
swait()
1352
if type == "Add" then
1353
scaler2 = scaler2 - 0.01*value/bonuspeed
1354
elseif type == "Divide" then
1355
scaler2 = scaler2 - 0.01/value*bonuspeed
1356
end
1357
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1358
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1359
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1360
end
1361
rng:Destroy()
1362
end))
1363
end
1364
New = function(Object, Parent, Name, Data)
1365
	local Object = Instance.new(Object)
1366
	for Index, Value in pairs(Data or {}) do
1367
		Object[Index] = Value
1368
	end
1369
	Object.Parent = Parent
1370
	Object.Name = Name
1371
	return Object
1372
end
1373
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
1374
local type = type
1375
local rotenable = rotatingop
1376
local rng = Instance.new("Part", char)
1377
        rng.Anchored = true
1378
        rng.BrickColor = color
1379
        rng.CanCollide = false
1380
        rng.FormFactor = 3
1381
        rng.Name = "Ring"
1382
        rng.Material = "Neon"
1383
        rng.Size = Vector3.new(1, 1, 1)
1384
        rng.Transparency = 0
1385
if typeoftrans == "In" then
1386
rng.Transparency = 1
1387
end
1388
        rng.TopSurface = 0
1389
        rng.BottomSurface = 0
1390
        rng.CFrame = pos
1391
        local rngm = Instance.new("SpecialMesh", rng)
1392
        rngm.MeshType = "FileMesh"
1393
if typeofshape == "Normal" then
1394
rngm.MeshId = "rbxassetid://662586858"
1395
elseif typeofshape == "Round" then
1396
rngm.MeshId = "rbxassetid://662585058"
1397
end
1398
rngm.Scale = scale
1399
local scaler2 = 1/10
1400
if type == "Add" then
1401
scaler2 = 1*value/10
1402
elseif type == "Divide" then
1403
scaler2 = 1/value/10
1404
end
1405
local randomrot = math.random(1,2)
1406
coroutine.resume(coroutine.create(function()
1407
for i = 0,10/bonuspeed,0.1 do
1408
swait()
1409
if type == "Add" then
1410
scaler2 = scaler2 - 0.01*value/bonuspeed/10
1411
elseif type == "Divide" then
1412
scaler2 = scaler2 - 0.01/value*bonuspeed/10
1413
end
1414
if rotenable == true then
1415
if randomrot == 1 then
1416
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
1417
elseif randomrot == 2 then
1418
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
1419
end
1420
end
1421
if typeoftrans == "Out" then
1422
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1423
elseif typeoftrans == "In" then
1424
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1425
end
1426
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
1427
end
1428
rng:Destroy()
1429
end))
1430
end
1431
function QuaternionFromCFrame(cf)
1432
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1433
	local trace = m00 + m11 + m22
1434
	if trace > 0 then
1435
		local s = math.sqrt(1 + trace)
1436
		local recip = 0.5 / s
1437
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1438
	else
1439
		local i = 0
1440
		if m00 < m11 then
1441
			i = 1
1442
		end
1443
		if m22 > (i == 0 and m00 or m11) then
1444
			i = 2
1445
		end
1446
		if i == 0 then
1447
			local s = math.sqrt(m00 - m11 - m22 + 1)
1448
			local recip = 0.5 / s
1449
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1450
		elseif i == 1 then
1451
			local s = math.sqrt(m11 - m22 - m00 + 1)
1452
			local recip = 0.5 / s
1453
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1454
		elseif i == 2 then
1455
			local s = math.sqrt(m22 - m00 - m11 + 1)
1456
			local recip = 0.5 / s
1457
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1458
		end
1459
	end
1460
end
1461
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1462
	local xs, ys, zs = x + x, y + y, z + z
1463
	local wx, wy, wz = w * xs, w * ys, w * zs
1464
	local xx = x * xs
1465
	local xy = x * ys
1466
	local xz = x * zs
1467
	local yy = y * ys
1468
	local yz = y * zs
1469
	local zz = z * zs
1470
	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))
1471
end
1472
function QuaternionSlerp(a, b, t)
1473
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1474
	local startInterp, finishInterp
1475
	if cosTheta >= 1.0E-4 then
1476
		if 1 - cosTheta > 1.0E-4 then
1477
			local theta = math.acos(cosTheta)
1478
			local invSinTheta = 1 / Sin(theta)
1479
			startInterp = Sin((1 - t) * theta) * invSinTheta
1480
			finishInterp = Sin(t * theta) * invSinTheta
1481
		else
1482
			startInterp = 1 - t
1483
			finishInterp = t
1484
		end
1485
	elseif 1 + cosTheta > 1.0E-4 then
1486
		local theta = math.acos(-cosTheta)
1487
		local invSinTheta = 1 / Sin(theta)
1488
		startInterp = Sin((t - 1) * theta) * invSinTheta
1489
		finishInterp = Sin(t * theta) * invSinTheta
1490
	else
1491
		startInterp = t - 1
1492
		finishInterp = t
1493
	end
1494
	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
1495
end
1496
function rayCast(Position, Direction, Range, Ignore)
1497
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
1498
end
1499
local RbxUtility = LoadLibrary("RbxUtility")
1500
local Create = RbxUtility.Create
1501
1502
-------------------------------------------------------
1503
--Start Damage Function--
1504
-------------------------------------------------------
1505
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1506
    if hit.Parent == nil then
1507
        return
1508
    end
1509
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1510
    for _, v in pairs(hit.Parent:children()) do
1511
        if v:IsA("Humanoid") then
1512
            h = v
1513
        end
1514
    end
1515
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
1516
   
1517
         hit.Parent:FindFirstChild("Head"):BreakJoints()
1518
         end
1519
 
1520
    if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
1521
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
1522
            if hit.Parent.DebounceHit.Value == true then
1523
                return
1524
            end
1525
        end
1526
         if insta == true then
1527
         hit.Parent:FindFirstChild("Head"):BreakJoints()
1528
         end
1529
        local c = Create("ObjectValue"){
1530
            Name = "creator",
1531
            Value = owner,
1532
            Parent = h,
1533
        }
1534
        game:GetService("Debris"):AddItem(c, .5)
1535
        if HitSound ~= nil and HitPitch ~= nil then
1536
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1537
        end
1538
        local Damage = math.random(minim, maxim)
1539
        local blocked = false
1540
        local block = hit.Parent:findFirstChild("Block")
1541
        if block ~= nil then
1542
            if block.className == "IntValue" then
1543
                if block.Value > 0 then
1544
                    blocked = true
1545
                    block.Value = block.Value - 1
1546
                    print(block.Value)
1547
                end
1548
            end
1549
        end
1550
        if blocked == false then
1551
            h.Health = h.Health - Damage
1552
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
1553
        else
1554
            h.Health = h.Health - (Damage / 2)
1555
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
1556
        end
1557
        if Type == "Knockdown" then
1558
            local hum = hit.Parent.Humanoid
1559
            hum.PlatformStand = true
1560
            coroutine.resume(coroutine.create(function(HHumanoid)
1561
                swait(1)
1562
                HHumanoid.PlatformStand = false
1563
            end), hum)
1564
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
1565
            local bodvol = Create("BodyVelocity"){
1566
                velocity = angle * knockback,
1567
                P = 5000,
1568
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1569
                Parent = hit,
1570
            }
1571
            local rl = Create("BodyAngularVelocity"){
1572
                P = 3000,
1573
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1574
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1575
                Parent = hit,
1576
            }
1577
            game:GetService("Debris"):AddItem(bodvol, .5)
1578
            game:GetService("Debris"):AddItem(rl, .5)
1579
        elseif Type == "Random Guy" then
1580
            local vp = Create("BodyVelocity"){
1581
                P = 500,
1582
                maxForce = Vector3.new(math.huge, 0, math.huge),
1583
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
1584
            }
1585
            if knockback > 0 then
1586
                vp.Parent = hit.Parent.Torso
1587
            end
1588
            game:GetService("Debris"):AddItem(vp, .5)
1589
        elseif Type == "Up" then
1590
            local bodyVelocity = Create("BodyVelocity"){
1591
                velocity = Vector3.new(0, 20, 0),
1592
                P = 5000,
1593
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1594
                Parent = hit,
1595
            }
1596
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
1597
        elseif Type == "DarkUp" then
1598
            coroutine.resume(coroutine.create(function()
1599
                for i = 0, 1, 0.1 do
1600
                    swait()
1601
                    Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
1602
                end
1603
            end))
1604
            local bodyVelocity = Create("BodyVelocity"){
1605
                velocity = Vector3.new(0, 20, 0),
1606
                P = 5000,
1607
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1608
                Parent = hit,
1609
            }
1610
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
1611
        elseif Type == "Snare" then
1612
            local bp = Create("BodyPosition"){
1613
                P = 2000,
1614
                D = 100,
1615
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
1616
                position = hit.Parent.Torso.Position,
1617
                Parent = hit.Parent.Torso,
1618
            }
1619
            game:GetService("Debris"):AddItem(bp, 1)
1620
        elseif Type == "Freeze" then
1621
            local BodPos = Create("BodyPosition"){
1622
                P = 50000,
1623
                D = 1000,
1624
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
1625
                position = hit.Parent.Torso.Position,
1626
                Parent = hit.Parent.Torso,
1627
            }
1628
            local BodGy = Create("BodyGyro") {
1629
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
1630
                P = 20e+003,
1631
                Parent = hit.Parent.Torso,
1632
                cframe = hit.Parent.Torso.CFrame,
1633
            }
1634
            hit.Parent.Torso.Anchored = true
1635
            coroutine.resume(coroutine.create(function(Part)
1636
                swait(1.5)
1637
                Part.Anchored = false
1638
            end), hit.Parent.Torso)
1639
            game:GetService("Debris"):AddItem(BodPos, 3)
1640
            game:GetService("Debris"):AddItem(BodGy, 3)
1641
        end
1642
        local debounce = Create("BoolValue"){
1643
            Name = "DebounceHit",
1644
            Parent = hit.Parent,
1645
            Value = true,
1646
        }
1647
        game:GetService("Debris"):AddItem(debounce, Delay)
1648
        c = Create("ObjectValue"){
1649
            Name = "creator",
1650
            Value = Player,
1651
            Parent = h,
1652
        }
1653
        game:GetService("Debris"):AddItem(c, .5)
1654
    end
1655
end
1656
-------------------------------------------------------
1657
--End Damage Function--
1658
-------------------------------------------------------
1659
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
1660
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
1661
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
1662
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
1663
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
1664
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
1665
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
1666
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
1667
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
1668
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
1669
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
1670
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1671
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1
1672
DTrail2.Enabled = false
1673
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
1674
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
1675
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
1676
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1677
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1
1678
DTrail3.Enabled = false
1679
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
1680
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
1681
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
1682
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1683
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1
1684
DTrail4.Enabled = false
1685
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
1686
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
1687
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
1688
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1689
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1
1690
DTrail5.Enabled = false
1691
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
1692
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
1693
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
1694
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1695
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1
1696
DTrail.Enabled = false
1697
-------------------------------------------------------
1698
--Start Damage Function Customization--
1699
-------------------------------------------------------
1700
function ShowDamage(Pos, Text, Time, Color)
1701
	local Rate = (1 / 30)
1702
	local Pos = (Pos or Vector3.new(0, 0, 0))
1703
	local Text = (Text or "")
1704
	local Time = (Time or 2)
1705
	local Color = (Color or Color3.new(1, 0, 1))
1706
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1707
	EffectPart.Anchored = true
1708
	local BillboardGui = Create("BillboardGui"){
1709
		Size = UDim2.new(3, 0, 3, 0),
1710
		Adornee = EffectPart,
1711
		Parent = EffectPart,
1712
	}
1713
	local TextLabel = Create("TextLabel"){
1714
		BackgroundTransparency = 1,
1715
		Size = UDim2.new(1, 0, 1, 0),
1716
		Text = Text,
1717
		Font = "Bodoni",
1718
		TextColor3 = Color,
1719
		TextScaled = true,
1720
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
1721
		Parent = BillboardGui,
1722
	}
1723
	game.Debris:AddItem(EffectPart, (Time))
1724
	EffectPart.Parent = game:GetService("Workspace")
1725
	delay(0, function()
1726
		local Frames = (Time / Rate)
1727
		for Frame = 1, Frames do
1728
			wait(Rate)
1729
			local Percent = (Frame / Frames)
1730
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1731
			TextLabel.TextTransparency = Percent
1732
		end
1733
		if EffectPart and EffectPart.Parent then
1734
			EffectPart:Destroy()
1735
		end
1736
	end)
1737
end
1738
-------------------------------------------------------
1739
--End Damage Function Customization--
1740
-------------------------------------------------------
1741
1742
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1743
  for _, c in pairs(workspace:children()) do
1744
    local hum = c:findFirstChild("Humanoid")
1745
    if hum ~= nil then
1746
      local head = c:findFirstChild("Head")
1747
      if head ~= nil then
1748
        local targ = head.Position - Part.Position
1749
        local mag = targ.magnitude
1750
        if magni >= mag and c.Name ~= Player.Name then
1751
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
1752
        end
1753
      end
1754
    end
1755
  end
1756
end
1757
1758
1759
CFuncs = {
1760
	Part = {
1761
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1762
			local Part = Create("Part")({
1763
				Parent = Parent,
1764
				Reflectance = Reflectance,
1765
				Transparency = Transparency,
1766
				CanCollide = false,
1767
				Locked = true,
1768
				BrickColor = BrickColor.new(tostring(BColor)),
1769
				Name = Name,
1770
				Size = Size,
1771
				Material = Material
1772
			})
1773
			RemoveOutlines(Part)
1774
			return Part
1775
		end
1776
	},
1777
	Mesh = {
1778
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1779
			local Msh = Create(Mesh)({
1780
				Parent = Part,
1781
				Offset = OffSet,
1782
				Scale = Scale
1783
			})
1784
			if Mesh == "SpecialMesh" then
1785
				Msh.MeshType = MeshType
1786
				Msh.MeshId = MeshId
1787
			end
1788
			return Msh
1789
		end
1790
	},
1791
	Mesh = {
1792
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1793
			local Msh = Create(Mesh)({
1794
				Parent = Part,
1795
				Offset = OffSet,
1796
				Scale = Scale
1797
			})
1798
			if Mesh == "SpecialMesh" then
1799
				Msh.MeshType = MeshType
1800
				Msh.MeshId = MeshId
1801
			end
1802
			return Msh
1803
		end
1804
	},
1805
	Weld = {
1806
		Create = function(Parent, Part0, Part1, C0, C1)
1807
			local Weld = Create("Weld")({
1808
				Parent = Parent,
1809
				Part0 = Part0,
1810
				Part1 = Part1,
1811
				C0 = C0,
1812
				C1 = C1
1813
			})
1814
			return Weld
1815
		end
1816
	},
1817
	Sound = {
1818
		Create = function(id, par, vol, pit)
1819
			coroutine.resume(coroutine.create(function()
1820
				local S = Create("Sound")({
1821
					Volume = vol,
1822
					Pitch = pit or 1,
1823
					SoundId = id,
1824
					Parent = par or workspace
1825
				})
1826
				wait()
1827
				S:play()
1828
				game:GetService("Debris"):AddItem(S, 6)
1829
			end))
1830
		end
1831
	},
1832
	ParticleEmitter = {
1833
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1834
			local fp = Create("ParticleEmitter")({
1835
				Parent = Parent,
1836
				Color = ColorSequence.new(Color1, Color2),
1837
				LightEmission = LightEmission,
1838
				Size = Size,
1839
				Texture = Texture,
1840
				Transparency = Transparency,
1841
				ZOffset = ZOffset,
1842
				Acceleration = Accel,
1843
				Drag = Drag,
1844
				LockedToPart = LockedToPart,
1845
				VelocityInheritance = VelocityInheritance,
1846
				EmissionDirection = EmissionDirection,
1847
				Enabled = Enabled,
1848
				Lifetime = LifeTime,
1849
				Rate = Rate,
1850
				Rotation = Rotation,
1851
				RotSpeed = RotSpeed,
1852
				Speed = Speed,
1853
				VelocitySpread = VelocitySpread
1854
			})
1855
			return fp
1856
		end
1857
	}
1858
}
1859
function RemoveOutlines(part)
1860
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1861
end
1862
function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1863
	local Part = Create("Part")({
1864
		formFactor = FormFactor,
1865
		Parent = Parent,
1866
		Reflectance = Reflectance,
1867
		Transparency = Transparency,
1868
		CanCollide = false,
1869
		Locked = true,
1870
		BrickColor = BrickColor.new(tostring(BColor)),
1871
		Name = Name,
1872
		Size = Size,
1873
		Material = Material
1874
	})
1875
	RemoveOutlines(Part)
1876
	return Part
1877
end
1878
function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1879
	local Msh = Create(Mesh)({
1880
		Parent = Part,
1881
		Offset = OffSet,
1882
		Scale = Scale
1883
	})
1884
	if Mesh == "SpecialMesh" then
1885
		Msh.MeshType = MeshType
1886
		Msh.MeshId = MeshId
1887
	end
1888
	return Msh
1889
end
1890
function CreateWeld(Parent, Part0, Part1, C0, C1)
1891
	local Weld = Create("Weld")({
1892
		Parent = Parent,
1893
		Part0 = Part0,
1894
		Part1 = Part1,
1895
		C0 = C0,
1896
		C1 = C1
1897
	})
1898
	return Weld
1899
end
1900
1901
1902
-------------------------------------------------------
1903
--Start Effect Function--
1904
-------------------------------------------------------
1905
EffectModel = Instance.new("Model", char)
1906
Effects = {
1907
  Block = {
1908
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1909
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1910
      prt.Anchored = true
1911
      prt.CFrame = cframe
1912
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1913
      game:GetService("Debris"):AddItem(prt, 10)
1914
      if Type == 1 or Type == nil then
1915
        table.insert(Effects, {
1916
          prt,
1917
          "Block1",
1918
          delay,
1919
          x3,
1920
          y3,
1921
          z3,
1922
          msh
1923
        })
1924
      elseif Type == 2 then
1925
        table.insert(Effects, {
1926
          prt,
1927
          "Block2",
1928
          delay,
1929
          x3,
1930
          y3,
1931
          z3,
1932
          msh
1933
        })
1934
      else
1935
        table.insert(Effects, {
1936
          prt,
1937
          "Block3",
1938
          delay,
1939
          x3,
1940
          y3,
1941
          z3,
1942
          msh
1943
        })
1944
      end
1945
    end
1946
  },
1947
  Sphere = {
1948
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1949
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1950
      prt.Anchored = true
1951
      prt.CFrame = cframe
1952
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1953
      game:GetService("Debris"):AddItem(prt, 10)
1954
      table.insert(Effects, {
1955
        prt,
1956
        "Cylinder",
1957
        delay,
1958
        x3,
1959
        y3,
1960
        z3,
1961
        msh
1962
      })
1963
    end
1964
  },
1965
  Cylinder = {
1966
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1967
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1968
      prt.Anchored = true
1969
      prt.CFrame = cframe
1970
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1971
      game:GetService("Debris"):AddItem(prt, 10)
1972
      table.insert(Effects, {
1973
        prt,
1974
        "Cylinder",
1975
        delay,
1976
        x3,
1977
        y3,
1978
        z3,
1979
        msh
1980
      })
1981
    end
1982
  },
1983
  Wave = {
1984
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1985
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1986
      prt.Anchored = true
1987
      prt.CFrame = cframe
1988
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
1989
      game:GetService("Debris"):AddItem(prt, 10)
1990
      table.insert(Effects, {
1991
        prt,
1992
        "Cylinder",
1993
        delay,
1994
        x3 / 60,
1995
        y3 / 60,
1996
        z3 / 60,
1997
        msh
1998
      })
1999
    end
2000
  },
2001
  Ring = {
2002
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2003
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2004
      prt.Anchored = true
2005
      prt.CFrame = cframe
2006
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2007
      game:GetService("Debris"):AddItem(prt, 10)
2008
      table.insert(Effects, {
2009
        prt,
2010
        "Cylinder",
2011
        delay,
2012
        x3,
2013
        y3,
2014
        z3,
2015
        msh
2016
      })
2017
    end
2018
  },
2019
  Break = {
2020
    Create = function(brickcolor, cframe, x1, y1, z1)
2021
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2022
      prt.Anchored = true
2023
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2024
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2025
      local num = math.random(10, 50) / 1000
2026
      game:GetService("Debris"):AddItem(prt, 10)
2027
      table.insert(Effects, {
2028
        prt,
2029
        "Shatter",
2030
        num,
2031
        prt.CFrame,
2032
        math.random() - math.random(),
2033
        0,
2034
        math.random(50, 100) / 100
2035
      })
2036
    end
2037
  },
2038
Spiral = {
2039
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2040
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2041
      prt.Anchored = true
2042
      prt.CFrame = cframe
2043
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2044
      game:GetService("Debris"):AddItem(prt, 10)
2045
      table.insert(Effects, {
2046
        prt,
2047
        "Cylinder",
2048
        delay,
2049
        x3,
2050
        y3,
2051
        z3,
2052
        msh
2053
      })
2054
    end
2055
  },
2056
Push = {
2057
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2058
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2059
      prt.Anchored = true
2060
      prt.CFrame = cframe
2061
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2062
      game:GetService("Debris"):AddItem(prt, 10)
2063
      table.insert(Effects, {
2064
        prt,
2065
        "Cylinder",
2066
        delay,
2067
        x3,
2068
        y3,
2069
        z3,
2070
        msh
2071
      })
2072
    end
2073
  }
2074
}
2075
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
2076
	local fp = IT("Part")
2077
	fp.formFactor = formfactor 
2078
	fp.Parent = parent
2079
	fp.Reflectance = reflectance
2080
	fp.Transparency = transparency
2081
	fp.CanCollide = false 
2082
	fp.Locked = true
2083
	fp.BrickColor = brickcolor
2084
	fp.Name = name
2085
	fp.Size = size
2086
	fp.Position = tors.Position 
2087
	RemoveOutlines(fp)
2088
	fp.Material = "SmoothPlastic"
2089
	fp:BreakJoints()
2090
	return fp 
2091
end 
2092
 
2093
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2094
	local mesh = IT(Mesh) 
2095
	mesh.Parent = part
2096
	if Mesh == "SpecialMesh" then
2097
		mesh.MeshType = meshtype
2098
	if meshid ~= "nil" then
2099
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
2100
		end
2101
	end
2102
	mesh.Offset = offset
2103
	mesh.Scale = scale
2104
	return mesh
2105
end
2106
2107
function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
2108
	local type = type
2109
	local rng = Instance.new("Part", char)
2110
	rng.Anchored = true
2111
	rng.BrickColor = color
2112
	rng.CanCollide = false
2113
	rng.FormFactor = 3
2114
	rng.Name = "Ring"
2115
	rng.Material = "Neon"
2116
	rng.Size = Vector3.new(1, 1, 1)
2117
	rng.Transparency = 1
2118
	rng.TopSurface = 0
2119
	rng.BottomSurface = 0
2120
	rng.CFrame = pos
2121
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2122
	local rngm = Instance.new("SpecialMesh", rng)
2123
	rngm.MeshType = MType
2124
	rngm.Scale = Vector3.new(x1, y1, z1)
2125
	local scaler2 = 1
2126
	local speeder = FastSpeed
2127
	if type == "Add" then
2128
		scaler2 = 1 * value
2129
	elseif type == "Divide" then
2130
		scaler2 = 1 / value
2131
	end
2132
	coroutine.resume(coroutine.create(function()
2133
		for i = 0, 10 / bonuspeed, 0.1 do
2134
			swait()
2135
			if type == "Add" then
2136
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2137
			elseif type == "Divide" then
2138
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2139
			end
2140
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2141
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2142
			rng.Transparency = rng.Transparency - 0.01 * bonuspeed
2143
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2144
		end
2145
		rng:Destroy()
2146
	end))
2147
end
2148
2149
function Magic(bonuspeed, type, pos, scale, value, color, MType)
2150
	local type = type
2151
	local rng = Instance.new("Part", char)
2152
	rng.Anchored = true
2153
	rng.BrickColor = color
2154
	rng.CanCollide = false
2155
	rng.FormFactor = 3
2156
	rng.Name = "Ring"
2157
	rng.Material = "Neon"
2158
	rng.Size = Vector3.new(1, 1, 1)
2159
	rng.Transparency = 0
2160
	rng.TopSurface = 0
2161
	rng.BottomSurface = 0
2162
	rng.CFrame = pos
2163
	local rngm = Instance.new("SpecialMesh", rng)
2164
	rngm.MeshType = MType
2165
	rngm.Scale = scale
2166
	local scaler2 = 1
2167
	if type == "Add" then
2168
		scaler2 = 1 * value
2169
	elseif type == "Divide" then
2170
		scaler2 = 1 / value
2171
	end
2172
	coroutine.resume(coroutine.create(function()
2173
		for i = 0, 10 / bonuspeed, 0.1 do
2174
			swait()
2175
			if type == "Add" then
2176
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2177
			elseif type == "Divide" then
2178
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2179
			end
2180
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2181
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
2182
		end
2183
		rng:Destroy()
2184
	end))
2185
end
2186
2187
function Eviscerate(dude)
2188
	if dude.Name ~= char then
2189
		local bgf = IT("BodyGyro", dude.Head)
2190
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2191
		local val = IT("BoolValue", dude)
2192
		val.Name = "IsHit"
2193
		local ds = coroutine.wrap(function()
2194
			dude:WaitForChild("Head"):BreakJoints()
2195
			wait(0.5)
2196
			target = nil
2197
			coroutine.resume(coroutine.create(function()
2198
				for i, v in pairs(dude:GetChildren()) do
2199
					if v:IsA("Accessory") then
2200
						v:Destroy()
2201
					end
2202
					if v:IsA("Humanoid") then
2203
						v:Destroy()
2204
					end
2205
					if v:IsA("CharacterMesh") then
2206
						v:Destroy()
2207
					end
2208
					if v:IsA("Model") then
2209
						v:Destroy()
2210
					end
2211
					if v:IsA("Part") or v:IsA("MeshPart") then
2212
						for x, o in pairs(v:GetChildren()) do
2213
							if o:IsA("Decal") then
2214
								o:Destroy()
2215
							end
2216
						end
2217
						coroutine.resume(coroutine.create(function()
2218
							v.Material = "Neon"
2219
							v.CanCollide = false
2220
							local PartEmmit1 = IT("ParticleEmitter", v)
2221
							PartEmmit1.LightEmission = 1
2222
							PartEmmit1.Texture = "rbxassetid://284205403"
2223
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2224
							PartEmmit1.Rate = 150
2225
							PartEmmit1.Lifetime = NumberRange.new(1)
2226
							PartEmmit1.Size = NumberSequence.new({
2227
								NumberSequenceKeypoint.new(0, 0.75, 0),
2228
								NumberSequenceKeypoint.new(1, 0, 0)
2229
							})
2230
							PartEmmit1.Transparency = NumberSequence.new({
2231
								NumberSequenceKeypoint.new(0, 0, 0),
2232
								NumberSequenceKeypoint.new(1, 1, 0)
2233
							})
2234
							PartEmmit1.Speed = NumberRange.new(0, 0)
2235
							PartEmmit1.VelocitySpread = 30000
2236
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
2237
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
2238
							local BodPoss = IT("BodyPosition", v)
2239
							BodPoss.P = 3000
2240
							BodPoss.D = 1000
2241
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2242
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2243
							v.Color = maincolor.Color
2244
							coroutine.resume(coroutine.create(function()
2245
								for i = 0, 49 do
2246
									swait(1)
2247
									v.Transparency = v.Transparency + 0.08
2248
								end
2249
								wait(0.5)
2250
								PartEmmit1.Enabled = false
2251
								wait(3)
2252
								v:Destroy()
2253
								dude:Destroy()
2254
							end))
2255
						end))
2256
					end
2257
				end
2258
			end))
2259
		end)
2260
		ds()
2261
	end
2262
end
2263
2264
function FindNearestHead(Position, Distance, SinglePlayer)
2265
	if SinglePlayer then
2266
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
2267
	end
2268
	local List = {}
2269
	for i, v in pairs(workspace:GetChildren()) do
2270
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
2271
			table.insert(List, v)
2272
		end
2273
	end
2274
	return List
2275
end
2276
2277
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
2278
	local type = type
2279
	local rng = Instance.new("Part", char)
2280
	rng.Anchored = true
2281
	rng.BrickColor = color
2282
	rng.CanCollide = false
2283
	rng.FormFactor = 3
2284
	rng.Name = "Ring"
2285
	rng.Material = "Neon"
2286
	rng.Size = Vector3.new(1, 1, 1)
2287
	rng.Transparency = 0
2288
	rng.TopSurface = 0
2289
	rng.BottomSurface = 0
2290
	rng.CFrame = pos
2291
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2292
	local rngm = Instance.new("SpecialMesh", rng)
2293
	rngm.MeshType = MType
2294
	rngm.Scale = Vector3.new(x1, y1, z1)
2295
	local scaler2 = 1
2296
	local speeder = FastSpeed
2297
	if type == "Add" then
2298
		scaler2 = 1 * value
2299
	elseif type == "Divide" then
2300
		scaler2 = 1 / value
2301
	end
2302
	coroutine.resume(coroutine.create(function()
2303
		for i = 0, 10 / bonuspeed, 0.1 do
2304
			swait()
2305
			if type == "Add" then
2306
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2307
			elseif type == "Divide" then
2308
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2309
			end
2310
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2311
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2312
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2313
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2314
		end
2315
		rng:Destroy()
2316
	end))
2317
end
2318
2319
function SoulSteal(dude)
2320
if dude.Name ~= char then
2321
local bgf = IT("BodyGyro", dude.Head)
2322
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2323
local val = IT("BoolValue", dude)
2324
val.Name = "IsHit"
2325
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
2326
local soulst = coroutine.wrap(function()
2327
local soul = Instance.new("Part",dude)
2328
soul.Size = Vector3.new(1,1,1)
2329
soul.CanCollide = false
2330
soul.Anchored = false
2331
soul.Position = torso.Position
2332
soul.Transparency = 1
2333
local PartEmmit1 = IT("ParticleEmitter", soul)
2334
PartEmmit1.LightEmission = 1
2335
PartEmmit1.Texture = "rbxassetid://569507414"
2336
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2337
PartEmmit1.Rate = 250
2338
PartEmmit1.Lifetime = NumberRange.new(1.6)
2339
PartEmmit1.Size = NumberSequence.new({
2340
	NumberSequenceKeypoint.new(0, 1, 0),
2341
	NumberSequenceKeypoint.new(1, 0, 0)
2342
})
2343
PartEmmit1.Transparency = NumberSequence.new({
2344
	NumberSequenceKeypoint.new(0, 0, 0),
2345
	NumberSequenceKeypoint.new(1, 1, 0)
2346
})
2347
PartEmmit1.Speed = NumberRange.new(0, 0)
2348
PartEmmit1.VelocitySpread = 30000
2349
PartEmmit1.Rotation = NumberRange.new(-360, 360)
2350
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
2351
local BodPoss = IT("BodyPosition", soul)
2352
BodPoss.P = 3000
2353
BodPoss.D = 1000
2354
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2355
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2356
wait(1.6)
2357
soul.Touched:connect(function(hit)
2358
	if hit.Parent == char then
2359
	soul:Destroy()
2360
	end
2361
end)
2362
wait(1.2)
2363
while soul do
2364
	swait()
2365
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2366
	BodPoss.Position = tors.Position
2367
end
2368
end)
2369
	soulst()
2370
	end
2371
end
2372
function FaceMouse()
2373
local	Cam = workspace.CurrentCamera
2374
	return {
2375
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2376
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2377
	}
2378
end
2379
-------------------------------------------------------
2380
--End Effect Function--
2381
-------------------------------------------------------
2382
function Cso(ID, PARENT, VOLUME, PITCH)
2383
	local NSound = nil
2384
	coroutine.resume(coroutine.create(function()
2385
		NSound = IT("Sound", PARENT)
2386
		NSound.Volume = VOLUME
2387
		NSound.Pitch = PITCH
2388
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2389
		swait()
2390
		NSound:play()
2391
		game:GetService("Debris"):AddItem(NSound, 10)
2392
	end))
2393
	return NSound
2394
end
2395
function CameraEnshaking(Length, Intensity)
2396
	coroutine.resume(coroutine.create(function()
2397
		local intensity = 1 * Intensity
2398
		local rotM = 0.01 * Intensity
2399
		for i = 0, Length, 0.1 do
2400
			swait()
2401
			intensity = intensity - 0.05 * Intensity / Length
2402
			rotM = rotM - 5.0E-4 * Intensity / Length
2403
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
2404
			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)
2405
		end
2406
		hum.CameraOffset = Vector3.new(0, 0, 0)
2407
	end))
2408
end
2409
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
2410
local Hitboxpart = Instance.new("Part", EffectModel)
2411
  RemoveOutlines(Hitboxpart)
2412
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
2413
  Hitboxpart.CanCollide = false
2414
  Hitboxpart.Transparency = 1
2415
  Hitboxpart.Anchored = true
2416
  Hitboxpart.CFrame = Pose
2417
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
2418
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
2419
end
2420
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2421
  local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2422
  prt.Anchored = true
2423
  prt.CFrame = cframe
2424
  local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2425
  game:GetService("Debris"):AddItem(prt, 10)
2426
  if Type == 1 or Type == nil then
2427
    table.insert(Effects, {
2428
      prt,
2429
      "Block1",
2430
      delay,
2431
      x3,
2432
      y3,
2433
      z3,
2434
      msh
2435
    })
2436
  elseif Type == 2 then
2437
    table.insert(Effects, {
2438
      prt,
2439
      "Block2",
2440
      delay,
2441
      x3,
2442
      y3,
2443
      z3,
2444
      msh
2445
    })
2446
  elseif Type == 3 then
2447
    table.insert(Effects, {
2448
      prt,
2449
      "Block3",
2450
      delay,
2451
      x3,
2452
      y3,
2453
      z3,
2454
      msh
2455
    })
2456
  end
2457
end
2458
2459
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2460
	local Part = Create("Part"){
2461
		Parent = Parent,
2462
		Reflectance = Reflectance,
2463
		Transparency = Transparency,
2464
		CanCollide = false,
2465
		Locked = true,
2466
		BrickColor = BrickColor.new(tostring(BColor)),
2467
		Name = Name,
2468
		Size = Size,
2469
		Material = Material,
2470
	}
2471
	RemoveOutlines(Part)
2472
	return Part
2473
end
2474
	
2475
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2476
	local Msh = Create(Mesh){
2477
		Parent = Part,
2478
		Offset = OffSet,
2479
		Scale = Scale,
2480
	}
2481
	if Mesh == "SpecialMesh" then
2482
		Msh.MeshType = MeshType
2483
		Msh.MeshId = MeshId
2484
	end
2485
	return Msh
2486
end
2487
2488
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2489
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))
2490
prt.Anchored = true
2491
prt.CFrame = cframe
2492
local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
2493
game:GetService("Debris"):AddItem(prt,2)
2494
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
2495
for i=0,1,delay do
2496
swait()
2497
Part.Transparency=i
2498
Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
2499
end
2500
Part.Parent=nil
2501
end),prt,msh,(math.random(0,1)+math.random())/5)
2502
end
2503
-------------------------------------------------------
2504
--End Important Functions--
2505
-------------------------------------------------------
2506
2507
2508
2509
--[[
2510
		Thanks for using Build-To-Lua by jarredbcv.
2511
]]--
2512
2513
New = function(Object, Parent, Name, Data)
2514
	local Object = Instance.new(Object)
2515
	for Index, Value in pairs(Data or {}) do
2516
		Object[Index] = Value
2517
	end
2518
	Object.Parent = Parent
2519
	Object.Name = Name
2520
	return Object
2521
end
2522
	
2523
Player = game:GetService("Players").LocalPlayer
2524
PlayerGui = Player.PlayerGui
2525
Cam = workspace.CurrentCamera
2526
Backpack = Player.Backpack
2527
Character = Player.Character
2528
Mouse = Player:GetMouse()
2529
RootPart = Character["HumanoidRootPart"]
2530
Torso = Character["Torso"]
2531
Head = Character["Head"]
2532
RightArm = Character["Right Arm"]
2533
LeftArm = Character["Left Arm"]
2534
RightLeg = Character["Right Leg"]
2535
LeftLeg = Character["Left Leg"]
2536
RootJoint = RootPart["RootJoint"]
2537
Neck = Torso["Neck"]
2538
2539
IT = Instance.new
2540
CF = CFrame.new
2541
VT = Vector3.new
2542
RAD = math.rad
2543
C3 = Color3.new
2544
UD2 = UDim2.new
2545
BRICKC = BrickColor.new
2546
ANGLES = CFrame.Angles
2547
EULER = CFrame.fromEulerAnglesXYZ
2548
COS = math.cos
2549
ACOS = math.acos
2550
SIN = math.sin
2551
ASIN = math.asin
2552
ABS = math.abs
2553
MRANDOM = math.random
2554
FLOOR = math.floor
2555
2556
local WEAPONGUI = IT("ScreenGui", PlayerGui)
2557
WEAPONGUI.Name = "Weapon GUI"
2558
2559
function CreatePart3(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
2560
    local NEWPART = IT("Part")
2561
    NEWPART.formFactor = FORMFACTOR
2562
    NEWPART.Reflectance = REFLECTANCE
2563
    NEWPART.Transparency = TRANSPARENCY
2564
    NEWPART.CanCollide = false
2565
    NEWPART.Locked = true
2566
    NEWPART.Anchored = true
2567
    if ANCHOR == false then
2568
        NEWPART.Anchored = false
2569
    end
2570
    NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
2571
    NEWPART.Name = NAME
2572
    NEWPART.Size = SIZE
2573
    NEWPART.Position = Torso.Position
2574
    NEWPART.Material = MATERIAL
2575
    NEWPART:BreakJoints()
2576
    NEWPART.Parent = PARENT
2577
    return NEWPART
2578
end
2579
2580
function NoOutlines(PART)
2581
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
2582
end
2583
 
2584
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
2585
    local NEWWELD = IT(TYPE)
2586
    NEWWELD.Part0 = PART0
2587
    NEWWELD.Part1 = PART1
2588
    NEWWELD.C0 = C0
2589
    NEWWELD.C1 = C1
2590
    NEWWELD.Parent = PARENT
2591
    return NEWWELD
2592
end
2593
2594
function MakeForm(PART,TYPE)
2595
    if TYPE == "Cyl" then
2596
        local MSH = IT("CylinderMesh",PART)
2597
    elseif TYPE == "Ball" then
2598
        local MSH = IT("SpecialMesh",PART)
2599
        MSH.MeshType = "Sphere"
2600
    elseif TYPE == "Wedge" then
2601
        local MSH = IT("SpecialMesh",PART)
2602
        MSH.MeshType = "Wedge"
2603
    end
2604
end
2605
2606
2607
--GAUGNETS AND STUFF--
2608
2609
local cn = CFrame.new
2610
NeonColorParts100 = {}
2611
NeonColorParts1000 = {}
2612
local BC = Character["Body Colors"]
2613
2614
local aa35 = Instance.new("Part")
2615
aa35.Parent = char
2616
aa35.Size = Vector3.new(0.2, 0.2, 0.2)
2617
aa35.Archivable = true
2618
aa35.Transparency = 0
2619
aa35.Shape = "Ball"
2620
aa35.BrickColor = BrickColor.new("White")
2621
aa35.Material = "Neon"
2622
aa35.CanCollide = false
2623
local mesh = Instance.new("SpecialMesh", aa35)
2624
mesh.MeshType = "Cylinder"
2625
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2626
local weld1en = Instance.new("Weld")
2627
weld1en.Part1 = aa35
2628
weld1en.C1 = CFrame.new(-0.22, 0, -0.065)
2629
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2630
2631
local aa34 = Instance.new("Part")
2632
aa34.Parent = char
2633
aa34.Size = Vector3.new(0.2, 0.2, 0.2)
2634
aa34.Archivable = true
2635
aa34.Transparency = 0
2636
aa34.Shape = "Ball"
2637
aa34.Material = "Metal"
2638
aa34.CanCollide = false
2639
local mesh = Instance.new("SpecialMesh", aa34)
2640
mesh.MeshType = "Cylinder"
2641
mesh.Scale = Vector3.new(1, 5.70, 15)
2642
local weld1en = Instance.new("Weld")
2643
2644
weld1en.Part1 = aa34
2645
weld1en.C1 = CFrame.new(-0.22, 0, -0.06)
2646
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2647
2648
local aa33 = Instance.new("Part")
2649
aa33.Parent = char
2650
aa33.Size = Vector3.new(0.2, 0.2, 0.2)
2651
aa33.Archivable = true
2652
aa33.Transparency = 0
2653
aa33.Shape = "Ball"
2654
aa33.BrickColor = BrickColor.new("White")
2655
aa33.Material = "Neon"
2656
aa33.CanCollide = false
2657
local mesh = Instance.new("SpecialMesh", aa33)
2658
mesh.MeshType = "Cylinder"
2659
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2660
local weld1en = Instance.new("Weld")
2661
2662
weld1en.Part1 = aa33
2663
weld1en.C1 = CFrame.new(0, 0, -0.065)
2664
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2665
2666
local aa32 = Instance.new("Part")
2667
aa32.Parent = char
2668
aa32.Size = Vector3.new(0.2, 0.2, 0.2)
2669
aa32.Archivable = true
2670
aa32.Transparency = 0
2671
aa32.Shape = "Ball"
2672
aa32.Material = "Metal"
2673
aa32.CanCollide = false
2674
local mesh = Instance.new("SpecialMesh", aa32)
2675
mesh.MeshType = "Cylinder"
2676
mesh.Scale = Vector3.new(1, 5.70, 15)
2677
local weld1en = Instance.new("Weld")
2678
2679
weld1en.Part1 = aa32
2680
weld1en.C1 = CFrame.new(0, 0, -0.06)
2681
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2682
2683
local aa31 = Instance.new("Part")
2684
aa31.Parent = char
2685
aa31.Size = Vector3.new(0.2, 0.2, 0.2)
2686
aa31.Archivable = true
2687
aa31.Transparency = 0
2688
aa31.Shape = "Ball"
2689
aa31.BrickColor = BrickColor.new("White")
2690
aa31.Material = "Neon"
2691
aa31.CanCollide = false
2692
local mesh = Instance.new("SpecialMesh", aa31)
2693
mesh.MeshType = "Cylinder"
2694
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2695
local weld1en = Instance.new("Weld")
2696
2697
weld1en.Part1 = aa31
2698
weld1en.C1 = CFrame.new(0.22, 0, -0.065)
2699
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2700
2701
local aa30  = Instance.new("Part")
2702
aa30.Parent = char
2703
aa30.Size = Vector3.new(0.2, 0.2, 0.2)
2704
aa30.Archivable = true
2705
aa30.Transparency = 0
2706
aa30.Shape = "Ball"
2707
aa30.Material = "Metal"
2708
aa30.CanCollide = false
2709
local mesh = Instance.new("SpecialMesh", aa30)
2710
mesh.MeshType = "Cylinder"
2711
mesh.Scale = Vector3.new(1, 5.70, 15)
2712
local weld1en = Instance.new("Weld")
2713
2714
weld1en.Part1 = aa30
2715
weld1en.C1 = CFrame.new(0.22, 0, -0.06)
2716
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2717
2718
local aa28 = Instance.new("Part")
2719
aa28.Parent = char
2720
aa28.Size = Vector3.new(0.2, 0.2, 0.2)
2721
aa28.Archivable = true
2722
aa28.Transparency = 0
2723
aa28.Shape = "Ball"
2724
aa28.BrickColor = BrickColor.new("White")
2725
aa28.Material = "Neon"
2726
aa28.CanCollide = false
2727
local mesh = Instance.new("SpecialMesh", aa28)
2728
mesh.MeshType = "Cylinder"
2729
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2730
local weld1en = Instance.new("Weld")
2731
2732
weld1en.Part1 = aa28
2733
weld1en.C1 = CFrame.new(0.22, 0, 0.065)
2734
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2735
2736
local aa27 = Instance.new("Part")
2737
aa27.Parent = char
2738
aa27.Size = Vector3.new(0.2, 0.2, 0.2)
2739
aa27.Archivable = true
2740
aa27.Transparency = 0
2741
aa27.Shape = "Ball"
2742
aa27.Material = "Metal"
2743
aa27.CanCollide = false
2744
local mesh = Instance.new("SpecialMesh", aa27)
2745
mesh.MeshType = "Cylinder"
2746
mesh.Scale = Vector3.new(1, 5.70, 15)
2747
local weld1en = Instance.new("Weld")
2748
2749
weld1en.Part1 = aa27
2750
weld1en.C1 = CFrame.new(0.22, 0, 0.06)
2751
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2752
2753
local aa26 = Instance.new("Part")
2754
aa26.Parent = char
2755
aa26.Size = Vector3.new(0.2, 0.2, 0.2)
2756
aa26.Archivable = true
2757
aa26.Transparency = 0
2758
aa26.Shape = "Ball"
2759
aa26.BrickColor = BrickColor.new("White")
2760
aa26.Material = "Neon"
2761
aa26.CanCollide = false
2762
local mesh = Instance.new("SpecialMesh", aa26)
2763
mesh.MeshType = "Cylinder"
2764
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2765
local weld1en = Instance.new("Weld")
2766
2767
weld1en.Part1 = aa26
2768
weld1en.C1 = CFrame.new(0, 0, 0.065)
2769
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2770
2771
local aa25 = Instance.new("Part")
2772
aa25.Parent = char
2773
aa25.Size = Vector3.new(0.2, 0.2, 0.2)
2774
aa25.Archivable = true
2775
aa25.Transparency = 0
2776
aa25.Shape = "Ball"
2777
aa25.Material = "Metal"
2778
aa25.CanCollide = false
2779
local mesh = Instance.new("SpecialMesh", aa25)
2780
mesh.MeshType = "Cylinder"
2781
mesh.Scale = Vector3.new(1, 5.70, 15)
2782
local weld1en = Instance.new("Weld")
2783
2784
weld1en.Part1 = aa25
2785
weld1en.C1 = CFrame.new(0, 0, 0.06)
2786
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2787
2788
local aa24 = Instance.new("Part")
2789
aa24.Parent = char
2790
aa24.Size = Vector3.new(0.2, 0.2, 0.2)
2791
aa24.Archivable = true
2792
aa24.Transparency = 0
2793
aa24.Shape = "Ball"
2794
aa24.BrickColor = BrickColor.new("White")
2795
aa24.Material = "Neon"
2796
aa24.CanCollide = false
2797
local mesh = Instance.new("SpecialMesh", aa24)
2798
mesh.MeshType = "Cylinder"
2799
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2800
local weld1en = Instance.new("Weld")
2801
2802
weld1en.Part1 = aa24
2803
weld1en.C1 = CFrame.new(-0.22, 0, 0.065)
2804
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2805
2806
local aa23 = Instance.new("Part")
2807
aa23.Parent = char
2808
aa23.Size = Vector3.new(0.2, 0.2, 0.2)
2809
aa23.Archivable = true
2810
aa23.Transparency = 0
2811
aa23.Shape = "Ball"
2812
aa23.Material = "Metal"
2813
aa23.CanCollide = false
2814
local mesh = Instance.new("SpecialMesh", aa23)
2815
mesh.MeshType = "Cylinder"
2816
mesh.Scale = Vector3.new(1, 5.70, 15)
2817
local weld1en = Instance.new("Weld")
2818
2819
weld1en.Part1 = aa23
2820
weld1en.C1 = CFrame.new(-0.22, 0, 0.06)
2821
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2822
2823
local aa11 = Instance.new("Part")
2824
aa11.Parent = char
2825
aa11.Size = Vector3.new(0.2, 0.2, 0.2)
2826
aa11.Archivable = true
2827
aa11.Transparency = 0
2828
aa11.Shape = "Ball"
2829
aa11.BrickColor = BrickColor.new("Dark green")
2830
aa11.Material = "Neon"
2831
aa11.CanCollide = false
2832
local mesh = Instance.new("SpecialMesh", aa11)
2833
mesh.MeshType = "Cylinder"
2834
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
2835
local weld1en = Instance.new("Weld")
2836
weld1en.Parent = ra
2837
weld1en.Part0 = ra
2838
weld1en.Part1 = aa11
2839
weld1en.C1 = CFrame.new(-0.40, 0.40, 0)
2840
2841
local aa10 = Instance.new("Part")
2842
aa10.Parent = char
2843
aa10.Size = Vector3.new(0.2, 0.2, 0.2)
2844
aa10.Archivable = true
2845
aa10.Transparency = 0
2846
aa10.Shape = "Ball"
2847
aa10.Material = "Metal"
2848
aa10.CanCollide = false
2849
local mesh = Instance.new("SpecialMesh", aa10)
2850
mesh.MeshType = "Cylinder"
2851
mesh.Scale = Vector3.new(3, 3, 3)
2852
local weld1en = Instance.new("Weld")
2853
weld1en.Parent = ra
2854
weld1en.Part0 = ra
2855
weld1en.Part1 = aa10
2856
weld1en.C1 = CFrame.new(-0.35, 0.40, 0)
2857
2858
local aa9 = Instance.new("Part")
2859
aa9.Parent = char
2860
aa9.Size = Vector3.new(0.2, 0.2, 0.2)
2861
aa9.Archivable = true
2862
aa9.Transparency = 0
2863
aa9.Shape = "Ball"
2864
aa9.BrickColor = BrickColor.new("White")
2865
aa9.Material = "Metal"
2866
aa9.CanCollide = false
2867
local mesh = Instance.new("SpecialMesh", aa9)
2868
mesh.MeshType = "Brick"
2869
mesh.Scale = Vector3.new(5.70, 1, 5.70)
2870
local weld1en = Instance.new("Weld")
2871
weld1en.Parent = ra
2872
weld1en.Part0 = ra
2873
weld1en.Part1 = aa9
2874
weld1en.C1 = CFrame.new(0, -1, 0)
2875
2876
local aa21 = Instance.new("Part")
2877
aa21.Parent = char
2878
aa21.Size = Vector3.new(0.2, 0.2, 0.2)
2879
aa21.Archivable = true
2880
aa21.Transparency = 0
2881
aa21.Shape = "Ball"
2882
aa21.BrickColor = BrickColor.new("White")
2883
aa21.Material = "Metal"
2884
aa21.CanCollide = false
2885
local mesh = Instance.new("SpecialMesh", aa21)
2886
mesh.MeshType = "Brick"
2887
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2888
local weld1en = Instance.new("Weld")
2889
weld1en.Parent = ra
2890
weld1en.Part0 = ra
2891
weld1en.Part1 = aa21
2892
weld1en.C1 = CFrame.new(0, 0.95, 0)
2893
2894
local aa20 = Instance.new("Part")
2895
aa20.Parent = char
2896
aa20.Size = Vector3.new(0.2, 0.2, 0.2)
2897
aa20.Archivable = true
2898
aa20.Transparency = 0
2899
aa20.Shape = "Ball"
2900
aa20.BrickColor = BrickColor.new("White")
2901
aa20.Material = "Metal"
2902
aa20.CanCollide = false
2903
local mesh = Instance.new("SpecialMesh", aa20)
2904
mesh.MeshType = "Brick"
2905
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2906
local weld1en = Instance.new("Weld")
2907
weld1en.Parent = ra
2908
weld1en.Part0 = ra
2909
weld1en.Part1 = aa20
2910
weld1en.C1 = CFrame.new(0, -0.95, 0)
2911
2912
2913
local aa8 = Instance.new("Part")
2914
aa8.Parent = char
2915
aa8.Size = Vector3.new(0.2, 0.2, 0.2)
2916
aa8.Archivable = true
2917
aa8.Transparency = 0
2918
aa8.Shape = "Ball"
2919
aa8.BrickColor = BrickColor.new("Dark green")
2920
aa8.Material = "Neon"
2921
aa8.CanCollide = false
2922
local mesh = Instance.new("SpecialMesh", aa8)
2923
mesh.MeshType = "Cylinder"
2924
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
2925
local weld1en = Instance.new("Weld")
2926
weld1en.Parent = ra
2927
weld1en.Part0 = ra
2928
weld1en.Part1 = aa8
2929
weld1en.C1 = CFrame.new(-0.40, -0.40, 0)
2930
2931
local aa7 = Instance.new("Part")
2932
aa7.Parent = char
2933
aa7.Size = Vector3.new(0.2, 0.2, 0.2)
2934
aa7.Archivable = true
2935
aa7.Transparency = 0
2936
aa7.Shape = "Ball"
2937
aa7.Material = "Metal"
2938
aa7.CanCollide = false
2939
local mesh = Instance.new("SpecialMesh", aa7)
2940
mesh.MeshType = "Cylinder"
2941
mesh.Scale = Vector3.new(3, 3, 3)
2942
local weld1en = Instance.new("Weld")
2943
weld1en.Parent = ra
2944
weld1en.Part0 = ra
2945
weld1en.Part1 = aa7
2946
weld1en.C1 = CFrame.new(-0.35, -0.40, 0)
2947
2948
local aa13 = Instance.new("Part")
2949
aa13.Parent = char
2950
aa13.Size = Vector3.new(0.2, 0.2, 0.2)
2951
aa13.Archivable = true
2952
aa13.Transparency = 0
2953
aa13.Shape = "Ball"
2954
aa13.BrickColor = BrickColor.new("White")
2955
aa13.Material = "Neon"
2956
aa13.CanCollide = false
2957
local mesh = Instance.new("SpecialMesh", aa13)
2958
mesh.MeshType = "Brick"
2959
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2960
local weld1en = Instance.new("Weld")
2961
weld1en.Parent = ra
2962
weld1en.Part0 = ra
2963
weld1en.Part1 = aa13
2964
weld1en.C1 = CFrame.new(0, -1.05, 0)
2965
2966
local aa12 = Instance.new("Part")
2967
aa12.Parent = char
2968
aa12.Size = Vector3.new(0.2, 0.2, 0.2)
2969
aa12.Archivable = true
2970
aa12.Transparency = 0
2971
aa12.Shape = "Ball"
2972
aa12.BrickColor = BrickColor.new("White")
2973
aa12.Material = "Neon"
2974
aa12.CanCollide = false
2975
local mesh = Instance.new("SpecialMesh", aa12)
2976
mesh.MeshType = "Brick"
2977
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2978
local weld1en = Instance.new("Weld")
2979
weld1en.Parent = ra
2980
weld1en.Part0 = ra
2981
weld1en.Part1 = aa12
2982
weld1en.C1 = CFrame.new(0, 1.05, 0)
2983
2984
local aa6 = Instance.new("Part")
2985
aa6.Parent = char
2986
aa6.Size = Vector3.new(0.2, 0.2, 0.2)
2987
aa6.Archivable = true
2988
aa6.Transparency = 0
2989
aa6.Shape = "Ball"
2990
aa6.BrickColor = BrickColor.new("White")
2991
aa6.Material = "Metal"
2992
aa6.CanCollide = false
2993
local mesh = Instance.new("SpecialMesh", aa6)
2994
mesh.MeshType = "Brick"
2995
mesh.Scale = Vector3.new(5.70, 1, 5.70)
2996
local weld1en = Instance.new("Weld")
2997
weld1en.Parent = ra
2998
weld1en.Part0 = ra
2999
weld1en.Part1 = aa6
3000
weld1en.C1 = CFrame.new(0, 1, 0)
3001
3002
local aa4 = Instance.new("Part")
3003
aa4.Parent = char
3004
aa4.Size = Vector3.new(0.2, 0.2, 0.2)
3005
aa4.Archivable = true
3006
aa4.Transparency = 0
3007
aa4.Shape = "Ball"
3008
aa4.BrickColor = maincolor
3009
aa4.Material = "Neon"
3010
aa4.CanCollide = false
3011
local mesh = Instance.new("SpecialMesh", aa4)
3012
mesh.MeshType = "Brick"
3013
mesh.Scale = Vector3.new(1, 10.55, 5.60)
3014
local weld1en = Instance.new("Weld")
3015
weld1en.Parent = ra
3016
weld1en.Part0 = ra
3017
weld1en.Part1 = aa4
3018
weld1en.C1 = CFrame.new(0, 0, 0)
3019
3020
local aa5 = Instance.new("Part")
3021
aa5.Parent = char
3022
aa5.Size = Vector3.new(0.2, 0.2, 0.2)
3023
aa5.Archivable = true
3024
aa5.Transparency = 0
3025
aa5.Shape = "Ball"
3026
aa5.BrickColor = maincolor
3027
aa5.Material = "Neon"
3028
aa5.CanCollide = false
3029
local mesh = Instance.new("SpecialMesh", aa5)
3030
mesh.MeshType = "Brick"
3031
mesh.Scale = Vector3.new(5.60, 10.55, 1)
3032
local weld1en = Instance.new("Weld")
3033
weld1en.Parent = ra
3034
weld1en.Part0 = ra
3035
weld1en.Part1 = aa5
3036
weld1en.C1 = CFrame.new(0, 0, 0)
3037
3038
local aa = Instance.new("Part")
3039
aa.Parent = char
3040
aa.Size = Vector3.new(0.2, 10, 20)
3041
aa.Archivable = true
3042
aa.Transparency = 0
3043
aa.Shape = "Ball"
3044
aa.Material = "Metal"
3045
aa.CanCollide = false
3046
local mesh = Instance.new("SpecialMesh", aa)
3047
mesh.MeshType = "Brick"
3048
mesh.Scale = Vector3.new(5.50, 10.50, 5.50)
3049
local weld1en = Instance.new("Weld")
3050
weld1en.Parent = ra
3051
weld1en.Part0 = ra
3052
weld1en.Part1 = aa
3053
weld1en.C1 = CFrame.new(0, 0, 0)
3054
3055
3056
--END OF GAUGNETS AND STUFF--
3057
3058
local NewInstance = function(instance,parent,properties)
3059
	local inst = Instance.new(instance,parent)
3060
	if(properties)then
3061
		for i,v in next, properties do
3062
			pcall(function() inst[i] = v end)
3063
		end
3064
	end
3065
	return inst;
3066
end
3067
3068
3069
ArmorColorParts = {}
3070
ArmorColorParts2 = {}
3071
NeonColorParts = {}
3072
local all, last = {}, nil
3073
local all2, last2 = {}, nil
3074
local all3, last3 = {}, nil
3075
local all4, last4 = {}, nil
3076
local all, last = {}, nil
3077
-------------------------------------------------------
3078
--Start Customization--
3079
-------------------------------------------------------
3080
local Player_Size = 1
3081
if Player_Size ~= 1 then
3082
root.Size = root.Size * Player_Size
3083
tors.Size = tors.Size * Player_Size
3084
hed.Size = hed.Size * Player_Size
3085
ra.Size = ra.Size * Player_Size
3086
la.Size = la.Size * Player_Size
3087
rl.Size = rl.Size * Player_Size
3088
ll.Size = ll.Size * Player_Size
3089
----------------------------------------------------------------------------------
3090
rootj.Parent = root
3091
neck.Parent = tors
3092
RW.Parent = tors
3093
LW.Parent = tors
3094
RH.Parent = tors
3095
LH.Parent = tors
3096
----------------------------------------------------------------------------------
3097
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
3098
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
3099
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
3100
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
3101
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
3102
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
3103
----------------------------------------------------------------------------------
3104
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))
3105
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))
3106
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))
3107
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))
3108
--hat.Parent = Character
3109
end
3110
----------------------------------------------------------------------------------
3111
local SONG = 502509042
3112
local SONG2 = 0
3113
local Music = Instance.new("Sound",tors)
3114
Music.Volume = 2.5
3115
Music.Looped = true
3116
Music.Pitch = 1 --Pitcher
3117
----------------------------------------------------------------------------------
3118
local equipped = false
3119
local idle = 0
3120
local change = 1
3121
local val = 0
3122
local toim = 0
3123
local idleanim = 0.4
3124
local sine = 0
3125
local Mode = 1
3126
----------------------------------------------------------------------------------
3127
hum.WalkSpeed = 8
3128
hum.JumpPower = 57
3129
hum.Animator.Parent = nil
3130
-------------------------------------------------------
3131
--End Customization--
3132
-------------------------------------------------------
3133
3134
3135
-------------------------------------------------------
3136
--Start Attacks N Stuff--
3137
-------------------------------------------------------
3138
it = Instance.new
3139
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
3140
  local gui = IT(GuiType)
3141
  gui.Parent = parent
3142
  gui.Text = text
3143
  gui.BackgroundTransparency = backtrans
3144
  gui.BackgroundColor3 = backcol
3145
  gui.SizeConstraint = "RelativeXY"
3146
  gui.TextXAlignment = "Center"
3147
  gui.TextYAlignment = "Center"
3148
  gui.Position = pos
3149
  gui.Size = size
3150
  gui.Font = "SourceSans"
3151
  gui.FontSize = "Size14"
3152
  gui.TextWrapped = false
3153
  gui.TextStrokeTransparency = 0
3154
  gui.TextColor = BrickColor.new("White")
3155
  return gui
3156
end
3157
local basgui = it("GuiMain")
3158
basgui.Parent = plr.PlayerGui
3159
basgui.Name = "VISgui"
3160
local fullscreenz = it("Frame")
3161
fullscreenz.Parent = basgui
3162
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
3163
fullscreenz.BackgroundTransparency = 1
3164
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
3165
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
3166
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
3167
local imgl2 = Instance.new("ImageLabel",fullscreenz)
3168
imgl2.BackgroundTransparency = 1
3169
imgl2.BorderSizePixel = 0
3170
imgl2.ImageTransparency = 0.5
3171
imgl2.ImageColor3 = BrickColor.new("White").Color
3172
imgl2.Position = UDim2.new(0.86,0,0.78,0)
3173
imgl2.Size = UDim2.new(0,270,0,270)
3174
imgl2.Image = "rbxassetid://320731120"
3175
local techc = imgl2:Clone()
3176
techc.Parent = fullscreenz
3177
techc.ImageTransparency = 0.5
3178
techc.Size = UDim2.new(0,700,0,700)
3179
techc.Position = UDim2.new(0.75,-50,0.55,-50)
3180
techc.ImageColor3 = BrickColor.new("White").Color
3181
techc.Image = "rbxassetid://521073910"
3182
local ned = Instance.new("TextLabel",fullscreenz)
3183
ned.ZIndex = 2
3184
ned.Font = "SciFi"
3185
ned.BackgroundTransparency = 1
3186
ned.BorderSizePixel = 0.65
3187
ned.Size = UDim2.new(0.4,0,0.2,0)
3188
ned.Position = UDim2.new(0.2,0,0.2,0)
3189
ned.TextColor3 = BrickColor.new("White").Color
3190
ned.TextStrokeColor3 = BrickColor.new("Really black").Color
3191
ned.TextScaled = true
3192
ned.TextStrokeTransparency = 0
3193
ned.Text = "Steam"
3194
ned.TextSize = 24
3195
ned.Rotation = 1
3196
--ned.TextXAlignment = "Right"
3197
ned.TextYAlignment = "Bottom"
3198
-----------
3199
local GUIFrame = IT("Frame")
3200
GUIFrame.Parent = Base
3201
GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
3202
GUIFrame.BackgroundTransparency = 1
3203
GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
3204-
Cso("151414336", ra, 10, 1) 
3204+
3205-
		tecks2.Text = ""
3205+
3206
---------------------
3207
-----------------------------
3208
function resetmode()
3209
		tecks2.Text = "Steam"
3210
		tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
3211
		tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
3212
	Mode = 1
3213
        SONG = 502509042
3214
for i, v in pairs(NeonColorParts1000) do
3215
  v.BrickColor = BrickC("White")
3216
end
3217
3218
        imgl2.ImageColor3 = BrickC("White").Color
3219
        techc.ImageColor3 = BrickC("White").Color
3220
        ned.Text = "Steam"
3221
        ned.TextColor3 = BrickC("White").Color
3222
        ned.TextStrokeColor3 = BrickC("Really black").Color
3223
end
3224
function Taunt()
3225
    attack = true
3226
    hum.WalkSpeed = 0
3227
        TAUNT:Play()
3228
	repeat
3229
        swait()
3230
        TAUNT.Parent = tors
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(0), Rad(0), Rad(25)), 0.15)
3232
        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)
3233
        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)
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(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
3235
        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)
3236
        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)
3237
	until TAUNT.Playing == false
3238
	attack = false
3239
	hum.WalkSpeed = 8
3240
end
3241
function attackone()
3242
	attack = true
3243
	hum.WalkSpeed = 3.01
3244
	for i = 0, 1.7, 0.1 do
3245
		swait()
3246
		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)
3247
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
3248
		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)
3249
		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)
3250
		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)
3251
		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)
3252
	end
3253
	Cso("203426541", ra, 10, 1)
3254
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3255
		if v:FindFirstChild("Head") then
3256
                        Eviscerate(v)
3257
                        SoulSteal(v)
3258
		end
3259
	end
3260
	for i = 0, 1.4, 0.1 do
3261
		swait()
3262
		BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
3263
		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)
3264
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
3265
		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)
3266
		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)
3267
		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)
3268
		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)
3269
	end
3270
	hum.WalkSpeed = 8
3271
	attack = false
3272
end
3273
function attacktwo()
3274
	attack = true
3275
	hum.WalkSpeed = 3.01
3276
	for i = 0, 1.7, 0.1 do
3277
		swait()
3278
		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)
3279
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
3280
		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)
3281
		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)
3282
		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)
3283
		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)
3284
	end
3285
	Cso("203426541", rl, 10, 1)
3286
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3287
		if v:FindFirstChild("Head") then
3288
                        Eviscerate(v)
3289
                        SoulSteal(v)
3290
		end
3291
	end	
3292
	for i = 0, 1.4, 0.1 do
3293
		swait()
3294
		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)
3295
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
3296
		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)
3297
		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)
3298
		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)
3299
		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)
3300
	end
3301
	hum.WalkSpeed = 8
3302
	attack = false
3303
end
3304
function attackthree()
3305
	attack = true
3306
	hum.WalkSpeed = 3.01
3307
	for i = 0, 1.4, 0.1 do
3308
		swait()
3309
		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)
3310
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3311
		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)
3312
		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)
3313
		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)
3314
		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)
3315
	end
3316
	Cso("203426541", hed, 10, 1)
3317
	for i = 0, 1.7, 0.1 do
3318
		swait()
3319
		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)
3320
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3321
		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)
3322
		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)
3323
		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)
3324
		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)
3325
	end
3326
	Cso("260435136", hed, 10, .9)
3327
	BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
3328
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
3329
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3330
		if v:FindFirstChild("Head") then
3331
                        Eviscerate(v)
3332
                        SoulSteal(v)
3333
		end
3334
	end
3335
	for i = 0, 1.8, 0.1 do
3336
		swait()
3337
		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)
3338
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
3339
		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)
3340
		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)
3341
		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)
3342
		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)
3343
	end
3344
	hum.WalkSpeed = 8
3345
	attack = false
3346
end
3347
function Power_Burst()
3348
	hum.WalkSpeed = 4
3349
	attack = true
3350
	Cso("163619849", ra, 10, 1.35)
3351
	for i = 0,4.3,0.1 do
3352
		swait()
3353
PixelBlock(3,1,"Add",ra.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)
3354
		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)
3355
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
3356
		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)
3357
		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)
3358
		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)
3359
		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)
3360
	end
3361
	CameraEnshaking(2.5, 20)
3362
	Cso("539294959", ra, 10, .9)
3363
	BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
3364
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
3365
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
3366
		if v:FindFirstChild("Head") then
3367
                        Eviscerate(v)
3368
                        SoulSteal(v)
3369
		end
3370
	end
3371
	for i = 0,3,0.1 do
3372
		swait()
3373
		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)
3374
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
3375
		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)
3376
		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)
3377
		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)
3378
		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)
3379
	end
3380
	hum.WalkSpeed = 8
3381
	attack = false
3382
end
3383
function Magic_Bombs()
3384
	attack = true
3385
	hum.WalkSpeed = 0
3386
local GYRO = IT("BodyGyro",root)
3387
GYRO.D = 100
3388
GYRO.P = 2000
3389
GYRO.MaxTorque = VT(0,4000000,0)
3390
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3391
	for i = 0,3.6,0.1 do
3392
			swait()
3393
		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)
3394
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3395
		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)
3396
		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)
3397
		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)
3398
		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)
3399
	end
3400
	CameraEnshaking(1, 6)
3401
        GYRO:Destroy()
3402
	Cso("588734356", Handle, 10, 1.05)
3403
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3404
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3405
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
3406
	for i = 0,2,0.1 do
3407
			swait()
3408
		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)
3409
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3410
		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)
3411
		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)
3412
		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)
3413
		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)
3414
	end
3415
local GYRO = IT("BodyGyro",root)
3416
GYRO.D = 100
3417
GYRO.P = 2000
3418
GYRO.MaxTorque = VT(0,4000000,0)
3419
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3420
	for i = 0,2.4,0.1 do
3421
			swait()
3422
		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)
3423
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3424
		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)
3425
		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)
3426
		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)
3427
		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)
3428
	end
3429
        GYRO:Destroy()
3430
	CameraEnshaking(1, 6)
3431
	Cso("588734356", Handle, 10, 1.05)
3432
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3433
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3434
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
3435
	for i = 0,2,0.1 do
3436
			swait()
3437
		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)
3438
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3439
		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)
3440
		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)
3441
		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)
3442
		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)
3443
	end
3444
local GYRO = IT("BodyGyro",root)
3445
GYRO.D = 100
3446
GYRO.P = 2000
3447
GYRO.MaxTorque = VT(0,4000000,0)
3448
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3449
	for i = 0,2.4,0.1 do
3450
			swait()
3451
		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)
3452
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3453
		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)
3454
		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)
3455
		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)
3456
		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)
3457
	end
3458
        GYRO:Destroy()
3459
	CameraEnshaking(1, 6)
3460
	Cso("588734356", Handle, 10, 1.05)
3461
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3462
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3463
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
3464
	for i = 0,2,0.1 do
3465
			swait()
3466
		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)
3467
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3468
		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)
3469
		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)
3470
		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)
3471
		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)
3472
	end
3473
	attack = false
3474
	hum.WalkSpeed = 8
3475
end
3476
function Dangerous_Field()
3477
	attack = true
3478
	hum.WalkSpeed = 0
3479
	for i = 0,10,0.1 do
3480
			swait()
3481
		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)
3482
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3483
		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)
3484
		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)
3485
		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)
3486
		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)
3487
	CameraEnshaking(1, 7)
3488
	Cso("588734356", Handle, 10, 1.2)
3489
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
3490
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
3491
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
3492
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
3493
        end
3494
	attack = false
3495
	hum.WalkSpeed = 8
3496
end
3497
3498
3499
function NUCLEAR()
3500
	attack = true
3501
	local orb = Instance.new("Part", char)
3502
	orb.Anchored = true
3503
	orb.BrickColor = BrickC("Really red")
3504
	orb.CanCollide = false
3505
	orb.FormFactor = 3
3506
	orb.Name = "Ring"
3507
	orb.Material = "Neon"
3508
	orb.Size = Vector3.new(1, 1, 1)
3509
	orb.Transparency = 0
3510
	orb.TopSurface = 0
3511
	orb.BottomSurface = 0
3512
	local orbm = Instance.new("SpecialMesh", orb)
3513
	orbm.MeshType = "Sphere"
3514
	orbm.Name = "SizeMesh"
3515
	orbm.Scale = Vector3.new(0, 0, 0)
3516
	local scaled = 0.1
3517
	local posid = 0
3518
	Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really red"), 0, "Sphere")
3519
	Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really red"), 0, "Sphere")
3520
	for i = 0, 12, 0.1 do
3521
		swait()
3522
		scaled = scaled + 0.001
3523
		posid = posid - scaled
3524
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
3525
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
3526
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
3527
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
3528
                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)
3529
                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)
3530
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(170), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
3531
                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(-12 - 5 * Sin(sine / 30))), 0.08)
3532
	end
3533
	for i = 0, 2, 0.1 do
3534
		swait()
3535
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
3536
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
3537
                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)
3538
                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)
3539
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.1)
3540
                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(-12 - 5 * Sin(sine / 30))), 0.08)
3541
	end
3542
	coroutine.resume(coroutine.create(function()
3543
		orb.Anchored = false
3544
		CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
3545
		local a = Instance.new("Part", workspace)
3546
		a.Name = "Direction"
3547
		a.Anchored = true
3548
		a.BrickColor = BrickC("Really red")
3549
		a.Material = "Neon"
3550
		a.Transparency = 1
3551
		a.CanCollide = false
3552
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
3553
		local ignore = orb
3554
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3555
		a.BottomSurface = 10
3556
		a.TopSurface = 10
3557
		local distance = (orb.CFrame.p - position).magnitude
3558
		a.Size = Vector3.new(0.1, 0.1, 0.1)
3559
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3560
		orb.CFrame = a.CFrame
3561
		a:Destroy()
3562
		local bv = Instance.new("BodyVelocity")
3563
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3564
		bv.velocity = orb.CFrame.lookVector * 125
3565
		bv.Parent = orb
3566
		local hitted = false
3567
		game:GetService("Debris"):AddItem(orb, 15)
3568
		swait()
3569
		local hit = orb.Touched:connect(function(hit)
3570
			if hitted == false then
3571
				hitted = true
3572
				CameraEnshaking(10, 2.5)
3573
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
3574
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
3575
					if v:FindFirstChild("Head") then
3576
						Eviscerate(v)
3577
					end
3578
				end
3579
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really red"), "Sphere")
3580
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really red"), "Sphere")
3581
				for i = 0, 9 do
3582
					Aura(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really red"), 0, "Sphere")
3583
					Aura(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickC("Really red"), 0, "Sphere")
3584
				end
3585
				orb.Anchored = true
3586
				orb.Transparency = 1
3587
				wait(8)
3588
				orb:Destroy()
3589
			end
3590
		end)
3591
	end))
3592
	for i = 0, 1, 0.1 do
3593
		swait()
3594
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.08)
3595
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-10 - 2.5 * Sin(sine / 30)), Rad(-4.5 * Sin(sine / .5)), Rad(15)), 0.08)
3596
                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)
3597
                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)
3598
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(Mrandom(-15, 15)), Rad(5 - 4.5 * Sin(sine / 20))), 0.3)
3599
                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(-12 - 5 * Sin(sine / 30))), 0.08)
3600
	end
3601
	attack = false
3602
end
3603
function Shockwave()
3604
	attack = true
3605
	hum.WalkSpeed = 0
3606
	for i = 0,4,0.1 do
3607
		swait()
3608
		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)
3609
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3610
		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)
3611
		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)
3612
		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)
3613
		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)
3614
	end
3615
	coroutine.resume(coroutine.create(function() 
3616
        BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3617
        BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3618
        BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3619
	HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3620
	HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3621
	HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3622
	CameraEnshaking(1, 7)
3623
        wait(0.05)
3624
        BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3625
        BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3626
        BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3627
	HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
3628
	HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3629
	HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3630
	CameraEnshaking(1, 7)
3631
        wait(0.05)
3632
        BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3633
        BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3634
        BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3635
	HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3636
	HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3637
	HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3638
	CameraEnshaking(1, 7)
3639
        wait(0.05)
3640
        BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3641
        BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3642
        BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3643
	HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3644
	HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3645
	HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3646
	CameraEnshaking(1, 7)
3647
        wait(0.05)
3648
        BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3649
        BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3650
        BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3651
	HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3652
	HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3653
	HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3654
	CameraEnshaking(1, 7)
3655
        wait(0.05)
3656
        BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3657
        BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3658
        BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3659
	HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3660
	HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3661
	HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3662
	CameraEnshaking(1, 7)
3663
	end))
3664
	Cso("440145223", Handle, 10, 1.05)
3665
	for i = 1,7,0.1 do
3666
	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)
3667
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
3668
	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)
3669
	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)
3670
	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)
3671
	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)
3672
	end
3673
	wait(.6)
3674
	hum.WalkSpeed = 8
3675
	attack = false
3676
end
3677
function Pulse()
3678
	attack = true
3679
	hum.WalkSpeed = 0
3680
local GYRO = IT("BodyGyro",root)
3681
GYRO.D = 100
3682
GYRO.P = 2000
3683
GYRO.MaxTorque = VT(0,4000000,0)
3684
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3685
	for i = 0,4,0.1 do
3686
		swait()
3687
		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)
3688
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3689
		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)
3690
		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)
3691
		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)
3692
		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)
3693
	end
3694
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3695
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
3696
	CameraEnshaking(1, 25)
3697
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3698
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3699
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3700
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3701
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3702
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3703
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3704
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3705
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3706
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3707
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3708
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3709
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3710
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3711
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3712
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3713
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3714
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3715
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3716
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3717
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3718
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3719
	Cso("440145223", Handle, 10, 1.05)
3720
        GYRO:Destroy()
3721
	for i = 1,2,0.1 do
3722
		swait()
3723
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)
3724
		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)
3725
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3726
		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)
3727
		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)
3728
		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)
3729
		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)
3730
	end
3731
	hum.WalkSpeed = 8
3732
	attack = false
3733
end
3734
function LAZER()
3735
    attack = true
3736
local GYRO = IT("BodyGyro",root)
3737
GYRO.D = 100
3738
GYRO.P = 2000
3739
GYRO.MaxTorque = Vector3.new(0,4000000,0)
3740
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3741
 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(0,0,0),})
3742
    for i = 0,5,0.1 do
3743
        swait()
3744
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
3745
        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)
3746
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3747
        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)
3748-
	Cso("651476429", tors, 10, 0.85)
3748+
3749
        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)
3750
        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)
3751
        end
3752
    local beam = Instance.new("Part", workspace)
3753
    beam.BrickColor = BrickColor.new("Black")
3754
    beam.FormFactor = "Custom"
3755
    beam.Material = "Glass"
3756
    beam.Transparency = 0.5
3757
    beam.Anchored = true
3758
    beam.Locked = true
3759
    beam.CanCollide = false
3760
    local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
3761
    beam.Size = Vector3.new(1.05, 1.05, distance)
3762
    beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
3763
    game:GetService("Debris"):AddItem(beam, 0.14)
3764
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
3765
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
3766
        GYRO:Destroy()
3767
    for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
3768
        if v:FindFirstChild("Torso") then
3769
            Eviscerate(v)
3770
        end
3771
    end
3772
    attack = false
3773
end
3774
function Spirit_Beam()
3775
        attack = true
3776
	hum.WalkSpeed = 0
3777
local GYRO = IT("BodyGyro",root)
3778
GYRO.D = 100
3779
GYRO.P = 2000
3780
GYRO.MaxTorque = VT(0,4000000,0)
3781
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3782
	for i = 0,5,0.1 do
3783
		swait()
3784
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
3785
		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)
3786
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3787
		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)
3788
		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)
3789
		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)
3790
		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)
3791
        end
3792
        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),})
3793
	HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
3794
        BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3795
	local beam = Instance.new("Part", workspace)
3796
	beam.BrickColor = BrickColor.new("Fog")
3797
	beam.FormFactor = "Custom"
3798
	beam.Material = "Glass"
3799
	beam.Transparency = 0.5
3800
	beam.Anchored = true
3801
	beam.Locked = true
3802
	beam.CanCollide = false
3803
	local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
3804
	beam.Size = Vector3.new(1.05, 1.05, distance)
3805
	beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
3806
	game:GetService("Debris"):AddItem(beam, 0.14)
3807
	local sound = Instance.new('Sound',Handle)
3808
	sound.SoundId = 'rbxassetid://588697948'
3809
	sound.Volume = 7
3810
	sound.EmitterSize = 40
3811
	sound.MaxDistance = 450
3812
	sound:Play()
3813
	game:GetService("Debris"):AddItem(beam, sound.TimeLength)
3814
        GYRO:Destroy()
3815
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)
3816
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)
3817
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)
3818
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)
3819
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)
3820
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)
3821
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)
3822
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)
3823
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)
3824
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)
3825
        wait(0.3)
3826
        attack = false
3827
	hum.WalkSpeed = 8
3828
        ref:Destroy()
3829
end
3830
function Distort()
3831
	attack = true
3832
	hum.WalkSpeed = 0
3833
		local pos = root.Position
3834
		root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
3835
	Cso("261227592", tors, 10, 0.85)
3836
	for i = 1,2.5,0.1 do
3837
        swait()
3838
        rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3839
        end
3840
	attack = false
3841
	hum.WalkSpeed = 8
3842
end
3843
function Ancient_Rage()
3844
	attack = true
3845
	hum.WalkSpeed = 4
3846
	Cso("907329532", tors, 10, 1.05)
3847
	for i = 1,14,0.1 do
3848
        swait()
3849
                rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3850
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3851
		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)
3852
		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)
3853
		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)
3854
		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)
3855
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
3856
		if v:FindFirstChild("Head") then
3857
                        Eviscerate(v)
3858
		end
3859
	end
3860
        end
3861
	attack = false
3862
	hum.WalkSpeed = 8
3863
end
3864
function TTTTTTTTTTTaunt()
3865
	attack = true
3866
	hum.WalkSpeed = 0
3867
        DTAUNT:Play()
3868
        repeat
3869
        swait()
3870
        DTAUNT.Parent = tors
3871
		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)
3872
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
3873
		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)
3874
		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)
3875
		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)
3876
		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)
3877
	until DTAUNT.Playing == false
3878
	attack = false
3879
	hum.WalkSpeed = 8
3880
end
3881
function HAAH()
3882
	attack = true
3883
	hum.WalkSpeed = 0
3884
	Cso("300208779", hed, 10, 1)
3885
	for i = 0,9,0.1 do
3886
		swait()
3887
		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)
3888
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
3889
		if Mrandom(1,15) == 1 then
3890
		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)
3891
		end
3892
		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)
3893
		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)
3894
		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)
3895
		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)
3896
	end
3897
	attack = false
3898
	hum.WalkSpeed = 10
3899
end
3900
function again()
3901
        attack = true
3902
	hum.WalkSpeed = 0
3903-
	        Effects.Spiral.Create(BrickC("Sand yellow"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3903+
        ITAUNT:Play()
3904-
		Effects.Block.Create(BrickC("Sand yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3904+
3905
        swait()
3906
        ITAUNT.Parent = tors
3907
        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)
3908
	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)
3909
	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)
3910
	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)
3911
	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)
3912
	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)
3913
	until ITAUNT.Playing == false
3914
        attack = false
3915
	hum.WalkSpeed = 8
3916
end
3917
function LunarSpin()
3918
	attack = true
3919
	hum.WalkSpeed = 0
3920
	for i = 0,17,0.05 do
3921
		CameraEnshaking(1, 5)
3922
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
3923
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3924
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3925
		swait()
3926
		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)
3927
		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)
3928
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3929
		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)
3930
		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)
3931
		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)
3932
		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)
3933
	end
3934
	hum.WalkSpeed = 8
3935
	attack = false
3936
end
3937
function Decapitate()
3938
	local target = nil
3939
	local targettorso = nil
3940
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
3941
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
3942
			target = mouse.Target.Parent.Humanoid
3943
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
3944
			targethead = mouse.Target.Parent:FindFirstChild("Head")
3945
		end
3946
	end
3947
	if target ~= nil then
3948
		targettorso.Anchored = true
3949
		attack = true
3950
		hum.WalkSpeed = 0
3951
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
3952
		for i = 0,4.2,0.1 do
3953
			swait()
3954
		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)
3955
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3956
		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)
3957
		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)
3958
		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)
3959
		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)
3960
		end
3961
		local ModelHead01 = New("Model", char, "", {})
3962
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
3963
        local Head01 = targethead:Clone()
3964
        targethead.Transparency = 1
3965
        Head01.Parent = ModelHead01
3966
        local weldHead01 = Instance.new("Weld")
3967
        weldHead01.Parent = Head01
3968
        weldHead01.Part0 = targethead
3969
        weldHead01.Part1 = Head01
3970
        weldHead01.C1 = CFrame.new(0, 0, 0)
3971
		targethead.face:Remove()
3972
		weldHead01.Part0 = ra
3973
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3974
		targettorso:BreakJoints()
3975
		CreateSound("314390675", targettorso, 5, .7)
3976
		for i = 0,3.2,0.1 do
3977
			swait()
3978
		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)
3979
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3980
		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)
3981
		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)
3982
		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)
3983
		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)
3984
		end
3985
		for i = 0,4.2,0.1 do
3986
			swait()
3987
		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)
3988
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3989
		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)
3990
		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)
3991
		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)
3992
		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)
3993
		end
3994
		CreateSound("541909763", targettorso, 5, .8)
3995
		weldHead01:Destroy()
3996
        Head01.CanCollide = true
3997
        local bodyVelocity2 = Create("BodyVelocity")({
3998
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3999
          P = 5000,
4000
          maxForce = Vector3.new(8000, 8000, 8000),
4001
          Parent = Head01
4002
        })
4003
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
4004
		for i = 0,6.2,0.1 do
4005
			swait()
4006
		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)
4007
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
4008
		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)
4009
		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)
4010
		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)
4011
		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)
4012
		end
4013
		targettorso.Anchored = false
4014
		attack = false
4015
		hum.WalkSpeed = 8
4016
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
4017
	end
4018
end
4019
function BalanceSpin()
4020
    attack = true
4021
    hum.WalkSpeed = 2
4022
    for i = 0,17,0.07 do
4023
        CameraEnshaking(1, 5)
4024
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
4025
        swait()
4026
	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")
4027
	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")
4028
	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")
4029
        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)
4030
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4031
        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)
4032
        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)
4033
        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)
4034
        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)
4035
    end
4036
    hum.WalkSpeed = 8
4037
    attack = false
4038
end
4039
4040
function BARK()
4041
	attack = true
4042
	hum.WalkSpeed = 0
4043
	BATAUNT:Play()
4044
	repeat
4045
	BATAUNT.Parent = tors
4046
	swait()
4047
	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)
4048
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
4049
	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)
4050
	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)
4051
	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)
4052
	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)
4053
	until BATAUNT.Playing == false
4054
	attack = false
4055
	hum.WalkSpeed = 8
4056
end
4057
function CreateSound(ID, PARENT, VOLUME, PITCH)
4058
	local NSound = nil
4059
	coroutine.resume(coroutine.create(function()
4060
		NSound = Instance.new("Sound", PARENT)
4061
		NSound.Volume = VOLUME
4062
		NSound.Pitch = PITCH
4063
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
4064
		swait()
4065
		NSound:play()
4066
		game:GetService("Debris"):AddItem(NSound, 10)
4067
	end))
4068
	return NSound
4069
end
4070
function Bark_Splosion()
4071
	attack = true
4072
	for i = 0,2,0.05 do
4073
		swait()
4074
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4075
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4076
		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)
4077
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4078
		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)
4079
		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)
4080
		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)
4081
		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)
4082
	end
4083
	CreateSound("331666100", tors, 10, 1)
4084
	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)
4085
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
4086
	CameraEnshaking(1.5, 10)  
4087
	for i = 1,2,0.1 do
4088
        swait()
4089
	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)
4090
	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)
4091
	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)
4092
	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)
4093
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
4094
	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)
4095
	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)
4096
	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)
4097
	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)
4098
	end
4099
	wait(.6)
4100
	attack = false
4101
end
4102
corrupted = false
4103
function Pixel_Corrupt()
4104
	attack = true
4105
        corrupted = true
4106
	for i = 0,3,0.05 do
4107
		swait()
4108
	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)
4109
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
4110
	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)
4111
	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)
4112
	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)
4113
	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)
4114
		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)
4115
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4116
		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)
4117
		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)
4118
		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)
4119
		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)
4120
	end
4121
        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),})
4122
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
4123
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
4124
	CreateSound("331666100", refa, 10, 1)
4125
	CameraEnshaking(1.5, 10)  
4126
	coroutine.resume(coroutine.create(function() 
4127
	for i = 1,20,0.1 do
4128
        swait(5)
4129
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)
4130
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)
4131
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)
4132
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)
4133
	CreateSound("331666100", refa, 10, 1)
4134
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
4135
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
4136
        end
4137
        refa:Destroy()
4138
        corrupted = false
4139
        end))
4140
	for i = 1,2.5,0.1 do
4141
        swait()
4142
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)
4143
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
4144
		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)
4145
		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)
4146
		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)
4147
		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)
4148
	end
4149
	wait(.3)
4150
	attack = false
4151
end
4152
MERKIO = Instance.new("Sound", tors) --why
4153
MERKIO.SoundId = "http://www.roblox.com/asset/?id=2711959413"
4154
MERKIO.Volume = 10
4155
MERKIO.Pitch = 1
4156
MERKIO.Looped = false
4157
MERKIO.TimePosition = 0
4158
function URA()
4159
    attack = true
4160
        MERKIO:Play()
4161
        repeat
4162
    for i = 0,0.7,0.2 do
4163
        swait()
4164
                MERKIO.Parent = tors
4165
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
4166
        if v:FindFirstChild("Torso") then
4167
            Eviscerate(v)
4168
        end
4169
    end
4170
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
4171
        if v:FindFirstChild("Torso") then
4172
            Eviscerate(v)
4173
        end
4174
    end
4175
        Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
4176
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
4177
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
4178
        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)
4179
        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)
4180
        RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
4181
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
4182
    end
4183
        for i = 0,0.7,0.2 do
4184
                swait()
4185
                MERKIO.Parent = tors
4186
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
4187
        if v:FindFirstChild("Torso") then
4188
            Eviscerate(v)
4189
        end
4190
    end
4191
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
4192
        if v:FindFirstChild("Torso") then
4193
            Eviscerate(v)
4194
        end
4195
    end
4196
        Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
4197
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
4198
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
4199
        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)
4200
        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)
4201
        RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), -1) * angles(Rad(90), Rad(0), Rad(-10)), 0.77)
4202
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 1) * angles(Rad(90), Rad(0), Rad(10)), 0.67)
4203
        end
4204
        until MERKIO.Playing == false
4205
        MERKIO:Stop()
4206
    attack = false
4207
    hum.WalkSpeed = 16
4208
end
4209
function un_fun()
4210
        attack = true
4211
	hum.WalkSpeed = 0
4212
        BTAUNT:Play()
4213
        repeat
4214
        swait()
4215
        BTAUNT.Parent = tors
4216
        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)
4217
	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)
4218
	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)
4219
	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)
4220
        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)
4221
	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)
4222
	until BTAUNT.Playing == false
4223
        attack = false
4224
	hum.WalkSpeed = 8
4225
end
4226
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
4227
    local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
4228
    prt.Anchored = true
4229
    prt.Material = "Neon"
4230
    prt.CFrame = cframe
4231
    prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4232
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
4233
    game:GetService("Debris"):AddItem(prt, 5)
4234
    coroutine.resume(coroutine.create(function(Part, Mesh)
4235
        for i = 0, 1, delay do
4236
            swait()
4237
            Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4238
            Part.Transparency = i
4239
            Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
4240
        end
4241
        Part.Parent = nil
4242
    end), prt, msh)
4243
end
4244
function Ende_der_Weld()
4245
    attack = true
4246
    for i = 0,7,0.1 do
4247
        swait()
4248
	BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
4249
        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)
4250
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4251
        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)
4252
        LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 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)
4253
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
4254
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
4255
    end
4256
    Cso("438666141", char, 10, 1)
4257
    Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
4258
    Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
4259
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4260
        if v:FindFirstChild("Head") then
4261
            Eviscerate(v)
4262
        end
4263
    end
4264
    coroutine.resume(coroutine.create(function()
4265
        for i = 0,2.8,0.1 do
4266
            swait()
4267
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4268
        end
4269
        for i = 0,1.8,0.1 do
4270
            swait()
4271
        hum.CameraOffset = Vector3.new(0,0,0)
4272
        end
4273
    end))
4274
    for i = 0,3.7,0.1 do
4275
        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)
4276
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4277
        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)
4278
        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)
4279
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
4280
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
4281
    end
4282
    attack = false
4283
end
4284
function thisisit2()
4285
        attack = true
4286
	hum.WalkSpeed = 0
4287
        STAUNT2:Play()
4288
        repeat
4289
        swait()
4290
        STAUNT2.Parent = tors
4291
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4292
	tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4293
        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)
4294
        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)
4295
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
4296
        LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
4297
	until STAUNT2.Playing == false
4298
        attack = false
4299
	hum.WalkSpeed = 8
4300
end
4301
function thisisit()
4302
        attack = true
4303
    hum.WalkSpeed = 0
4304
        STAUNT:Play()
4305
        repeat
4306
        swait()
4307
        STAUNT.Parent = tors
4308
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.5* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
4309
	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)
4310
 	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)
4311
	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)
4312
        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)
4313
        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)
4314
    until STAUNT.Playing == false
4315
        attack = false
4316
    hum.WalkSpeed = 8
4317
end
4318
function Exploit()
4319
        exploitable = false
4320
	coroutine.resume(coroutine.create(function() 
4321
	for i = 1,20,0.1 do
4322
        swait()
4323
	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)
4324
        end
4325
	Cso("12222030", tors, 10, 1.05)
4326
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
4327
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
4328
		if v:FindFirstChild("Head") then
4329
                        Eviscerate(v)
4330
                        SoulSteal(v)
4331
		end
4332
	end
4333
        wait(15)
4334
        exploitable = true
4335
        end))
4336
end
4337
  DTrail5.Enabled = true
4338
        DTrail4.Enabled = true
4339
        DTrail3.Enabled = true
4340
        DTrail2.Enabled = true
4341
        DTrail.Enabled = true
4342
function ASCENTION()
4343
	attack = true
4344
	hum.WalkSpeed = 0
4345
	Cso("987502413", tors, 10, 1.05)
4346
        local vel2 = Instance.new("BodyVelocity",tors)
4347
        vel2.Velocity = Vector3.new(0,30,0)
4348
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
4349
	for i = 0,20,0.1 do
4350
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
4351
		swait()
4352
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
4353
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
4354
		CameraEnshaking(1, 4)
4355
		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)
4356
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4357
		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)
4358
		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)
4359
		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)
4360
		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)
4361
	end
4362
	hum.WalkSpeed = 8
4363
        vel2:Destroy()
4364
	attack = false
4365
end
4366
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4367
local type = type
4368
local rng = Instance.new("Part", char)
4369
        rng.Anchored = true
4370
        rng.Color = color
4371
        rng.CanCollide = false
4372
        rng.FormFactor = 3
4373
        rng.Name = "Ring"
4374
        rng.Material = "Neon"
4375
        rng.Size = Vector3.new(1, 1, 1)
4376
        rng.Transparency = 0
4377
        rng.TopSurface = 0
4378
        rng.BottomSurface = 0
4379
        rng.CFrame = pos
4380
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4381
        local rngm = Instance.new("SpecialMesh", rng)
4382
        rngm.MeshType = "Sphere"
4383
rngm.Scale = vt(x1,y1,z1)
4384
if rainbowmode == true then
4385
rng.Color = Color3.new(r/255,g/255,b/255)
4386
end
4387
local scaler2 = 1
4388
local speeder = FastSpeed
4389
if type == "Add" then
4390
scaler2 = 1*value
4391
elseif type == "Divide" then
4392
scaler2 = 1/value
4393
end
4394
coroutine.resume(coroutine.create(function()
4395
for i = 0,10/bonuspeed,0.1 do
4396
swait()
4397
if rainbowmode == true then
4398
rng.Color = Color3.new(r/255,g/255,b/255)
4399
end
4400
if type == "Add" then
4401
scaler2 = scaler2 - 0.01*value/bonuspeed
4402
elseif type == "Divide" then
4403
scaler2 = scaler2 - 0.01/value*bonuspeed
4404
end
4405
if chaosmode == true then
4406
rng.BrickColor = BrickColor.random()
4407
end
4408
        if glitchymode then
4409
            local val = math.random(1,255)
4410
            local color = Color3.fromRGB(val,val,val)
4411
            rng.Color = color
4412
        end
4413
speeder = speeder - 0.01*FastSpeed*bonuspeed
4414
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4415
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4416
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4417
end
4418
rng:Destroy()
4419
end))
4420
end
4421
4422
function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
4423
    local type = type
4424
    local rng = Instance.new("Part", char)
4425
    rng.Anchored = true
4426
    rng.BrickColor = color
4427
    rng.CanCollide = false
4428
    rng.FormFactor = 3
4429
    rng.Name = "Ring"
4430
    rng.Material = "Neon"
4431
    rng.Size = Vector3.new(1, 1, 1)
4432
    rng.Transparency = 0
4433
    rng.TopSurface = 0
4434
    rng.BottomSurface = 0
4435
    rng.CFrame = pos
4436
    rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
4437
    local rngm = Instance.new("SpecialMesh", rng)
4438
    rngm.MeshType = "Sphere"
4439
    rngm.Scale = Vector3.new(x1, y1, z1)
4440
    local scaler2 = 1
4441
    local speeder = FastSpeed
4442
    if type == "Add" then
4443
        scaler2 = 1 * value
4444
    elseif type == "Divide" then
4445
        scaler2 = 1 / value
4446
    end
4447
    coroutine.resume(coroutine.create(function()
4448
        for i = 0, 10 / bonuspeed, 0.1 do
4449
            swait()
4450
            if type == "Add" then
4451
                scaler2 = scaler2 - 0.01 * value / bonuspeed
4452
            elseif type == "Divide" then
4453
                scaler2 = scaler2 - 0.01 / value * bonuspeed
4454
            end
4455
                        rng.BrickColor = BrickColor.random()
4456
            speeder = speeder - 0.01 * FastSpeed * bonuspeed
4457
            rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
4458
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
4459
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
4460
        end
4461
        rng:Destroy()
4462
    end))
4463
end
4464
4465
		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)
4466
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
4467
		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)
4468
		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)
4469
		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)
4470
		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)
4471
4472
function aaa()
4473
    attack = true
4474
    maincolor = BrickColor.Random()
4475
	for i = 0,20,0.1 do
4476
        swait()
4477
		Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4478
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))), 0.3)
4479
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30)), Rad(-55 + Mrandom(-30,30))), 0.3)
4480
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
4481
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0 + Mrandom(-30,30)), Rad(-87 + Mrandom(-30,30)), Rad(0 + Mrandom(-30,30))) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
4482
		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 + Mrandom(-30,30)), Rad(-7.5 + Mrandom(-30,30)), Rad(35 + Mrandom(-30,30))), 0.3)
4483
		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(-30,30)), Rad(7.5 + Mrandom(-30,30)), Rad(-25 + Mrandom(-30,30))), 0.3)
4484
    end
4485
    Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
4486
    Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
4487
    Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
4488
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4489
        if v:FindFirstChild("Head") then
4490
            Eviscerate(v)
4491
        end
4492
    end
4493
    maincolor = BrickColor.new("White")
4494
    attack = false
4495
end
4496
4497
function stomp()
4498
    attack = true
4499
    CreateSound("331666100", char, 10, 1)
4500
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4501
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4502
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4503
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4504
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
4505
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
4506
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4507
        if v:FindFirstChild("Head") then
4508
            Eviscerate(v)
4509
            SoulSteal(v)
4510
        end
4511
    end
4512
    coroutine.resume(coroutine.create(function()
4513
        for i = 0,2.8,0.1 do
4514
            swait()
4515
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4516
        end
4517
        for i = 0,1.8,0.1 do
4518
            swait()
4519
        hum.CameraOffset = Vector3.new(0,0,0)
4520
        end
4521
    end))
4522
    wait(.6)
4523
    attack = false
4524
end
4525
function Painful_Stomp()
4526
    attack = true
4527
    CreateSound("331666100", char, 10, 1)
4528
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4529
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4530
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4531
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4532
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
4533
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
4534
    Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
4535
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4536
        if v:FindFirstChild("Head") then
4537
            Eviscerate(v)
4538
        end
4539
    end
4540
    coroutine.resume(coroutine.create(function()
4541
        for i = 0,2.8,0.1 do
4542
            swait()
4543
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4544
        end
4545
        for i = 0,1.8,0.1 do
4546
            swait()
4547
        hum.CameraOffset = Vector3.new(0,0,0)
4548
        end
4549
    end))
4550
    attack = false
4551
end
4552
4553
local Hair = Instance.new("Part", char)
4554
Hair.Name = "Hair"
4555
Hair.CanCollide = false
4556
Hair.BrickColor = BrickColor.new("Institutional white")
4557
Hair.Transparency = 0
4558
Hair.Material = "Plastic"
4559
Hair.Size = Vector3.new(1, 1, 2)
4560
Hair.TopSurface = Enum.SurfaceType.Smooth
4561
Hair.BottomSurface = Enum.SurfaceType.Smooth
4562
 
4563
local Weld = Instance.new("Weld", Hair)
4564
Weld.Part0 = hed
4565
Weld.Part1 = Hair
4566
Weld.C1 = CFrame.new(0, -.6, 0)
4567
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
4568
 
4569
local M2 = Instance.new("SpecialMesh")
4570
M2.Parent = Hair
4571
M2.MeshId = "http://www.roblox.com/asset/?id=0"
4572
M2.TextureId = "http://www.roblox.com/asset/?id=1200702008"
4573
M2.Scale = Vector3.new(1, 1, 1)
4574
4575
4576
4577
4578
------
4579
local r2,g2,b2=255,0,0
4580
4581
local rate = 5--more is faster!
4582
4583
spawn(function()
4584
    while true do
4585
        for i=0,255,rate do
4586
            g2 = i
4587
            wait()
4588
        end
4589
        for i=255,0,-rate do
4590
            r2 = i
4591
            wait()
4592
        end
4593
        for i=0,255,rate do
4594
            b2 = i
4595
            wait()
4596
        end
4597
        for i=255,0,-rate do
4598
            g2 = i
4599
            wait()
4600
        end
4601
        for i=0,255,rate do
4602
            r2 = i
4603
            wait()
4604
        end
4605
        for i=255,0,-rate do
4606
            b2 = i
4607
            wait()
4608
        end
4609
    end
4610
end)
4611
------
4612
4613
local r,g,b=255,0,0
4614
4615
local rate = 1000--more is faster!
4616
4617
spawn(function()
4618
    while true do
4619
        for i=0,255,rate do
4620
            g = i
4621
            wait()
4622
        end
4623
        for i=255,0,-rate do
4624
            r = i
4625
            wait()
4626
        end
4627
        for i=0,255,rate do
4628
            b = i
4629
            wait()
4630
        end
4631
        for i=255,0,-rate do
4632
            g = i
4633
            wait()
4634
        end
4635
        for i=0,255,rate do
4636
            r = i
4637
            wait()
4638
        end
4639
        for i=255,0,-rate do
4640
            b = i
4641
            wait()
4642
        end
4643
    end
4644
end)
4645
4646
function ByeBye()
4647
    local target = nil
4648
    local targettorso = nil
4649
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
4650
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
4651
            target = mouse.Target.Parent.Humanoid
4652
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
4653
            targethead = mouse.Target.Parent:FindFirstChild("Head")
4654
        end
4655
    end
4656
    if target ~= nil then
4657
        targettorso.Anchored = true
4658
        attack = true
4659
        hum.WalkSpeed = 0
4660
        root.CFrame = targettorso.CFrame * CF(0,0,2)
4661
        for i = 0,4.2,0.1 do
4662
            swait()
4663
        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)
4664
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4665
        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)
4666
        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)
4667
        RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
4668
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
4669
        end
4670
        local bloody = Instance.new("ParticleEmitter",targettorso)
4671
        bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
4672
        bloody.LightEmission = .1
4673
        bloody.Size = NumberSequence.new(0.5, 0)
4674
        bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
4675
        aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
4676
        bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
4677
        bloody.Transparency = bbb
4678
        bloody.Size = aaa
4679
        bloody.ZOffset = -.9
4680
        bloody.Acceleration = Vector3.new(0, -5, 0)
4681
        bloody.LockedToPart = false
4682
        bloody.Lifetime = NumberRange.new(0.8)
4683
        bloody.Rate = 255
4684
        bloody.Rotation = NumberRange.new(-100, 100)
4685
        bloody.RotSpeed = NumberRange.new(-100, 100)
4686
        bloody.Speed = NumberRange.new(6)
4687
        bloody.VelocitySpread = 0
4688
        bloody.Enabled=true
4689
        targethead:Remove()
4690
        CreateSound("429400881", targettorso, 5, .8)
4691
        CreateSound("1093102664", targettorso, 10, 1)
4692
        for i = 0,6.2,0.1 do
4693
            swait()
4694
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
4695
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
4696
        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)
4697
        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)
4698
        RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
4699
        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(-5)), 0.1)
4700
        end
4701
        targettorso.Anchored = false
4702
        attack = false
4703
        hum.WalkSpeed = 16
4704
        root.CFrame = targettorso.CFrame * CF(0,0,3)
4705
    end
4706
end
4707
4708
local Blood1 = Create("ParticleEmitter")({
4709
  Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
4710
  Transparency = NumberSequence.new(0.1, 1),
4711
  Size = NumberSequence.new(0.5, 0),
4712
  Texture = "rbxassetid://602578593",
4713
  Lifetime = NumberRange.new(0.8),
4714
  Rate = 255,
4715
  VelocitySpread = 40,
4716
  Rotation = NumberRange.new(100),
4717
  Speed = NumberRange.new(5),
4718
  LightEmission = 0,
4719
  LockedToPart = false,
4720
  Acceleration = Vector3.new(0, -10, 0),
4721
  EmissionDirection = "Bottom"
4722
})
4723
4724
function Sayonara()
4725
    local target = nil
4726
    local targettorso = nil
4727
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
4728
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
4729
            target = mouse.Target.Parent.Humanoid
4730
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
4731
            targethead = mouse.Target.Parent:FindFirstChild("Head")
4732
            targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
4733
            targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
4734
        end
4735
    end
4736
    if target ~= nil then
4737
        targettorso.Anchored = true
4738
        attack = true
4739
        hum.WalkSpeed = 0
4740
        root.CFrame = targettorso.CFrame * CF(0,0,2.4)
4741
        for i = 0,6.2,0.1 do
4742
            swait()
4743
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
4744
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
4745
        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(10)), 0.15)
4746
        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(-10)), 0.15)
4747
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
4748
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
4749
        end
4750
        do
4751
        CreateSound("429400881", targettorso, 5, 1)
4752
        local ModelArm02 = New("Model", char, "Arm", {})
4753
        local ModelArm03 = New("Model", char, "Arm", {})
4754
        local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
4755
        local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
4756
        local Arm02 = targetleftarm:Clone()
4757
        local Arm03 = targetrightarm:Clone()
4758
        targetleftarm.Transparency = 1
4759
        targetrightarm.Transparency = 1
4760
        Arm02.Parent = ModelArm02
4761
        Arm03.Parent = ModelArm03
4762
        for i, v in pairs(Arm02:GetChildren()) do
4763
          v:Destroy()
4764
        end
4765
        for i, v in pairs(Arm03:GetChildren()) do
4766
          v:Destroy()
4767
        end
4768
        local weldArm02 = Instance.new("Weld")
4769
        weldArm02.Parent = Arm02
4770
        weldArm02.Part0 = targetleftarm
4771
        weldArm02.Part1 = Arm02
4772
        weldArm02.C1 = CFrame.new(0, 0, 0)
4773
        local weldArm03 = Instance.new("Weld")
4774
        weldArm03.Parent = Arm03
4775
        weldArm03.Part0 = targetrightarm
4776
        weldArm03.Part1 = Arm03
4777
        weldArm03.C1 = CFrame.new(0, 0, 0)
4778
        for i, v in pairs(target:GetChildren()) do
4779
          if v:IsA("Shirt") then
4780
            v:clone().Parent = ModelArm02
4781
          end
4782
        end
4783
        for i, v in pairs(target:GetChildren()) do
4784
          if v:IsA("Shirt") then
4785
            v:clone().Parent = ModelArm03
4786
          end
4787
        end
4788
        weldArm02.Part0 = la
4789
        weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
4790
        weldArm03.Part0 = ra
4791
        weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
4792
        local BE1 = Blood1:Clone()
4793
        BE1.Parent = targetleftarm
4794
        game:GetService("Debris"):AddItem(BE1, 3)
4795
        BE1.Rate = 255
4796
        local BE2 = Blood1:Clone()
4797
        BE2.Parent = targetrightarm
4798
        game:GetService("Debris"):AddItem(BE2, 3)
4799
        BE2.Rate = 255
4800
        for i = 0,6.2,0.1 do
4801
            swait()
4802
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
4803
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4804
        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(-10)), 0.15)
4805
        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(10)), 0.15)
4806
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
4807
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
4808
        end
4809
        for i = 0,6.2,0.1 do
4810
            swait()
4811
        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)
4812
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4813
        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(-20)), 0.15)
4814
        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(20)), 0.15)
4815
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
4816
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
4817
        end
4818
        CreateSound("541909763", targettorso, 5, .8)
4819
        weldArm02:Destroy()
4820
        Arm02.CanCollide = true
4821
        weldArm03:Destroy()
4822
        Arm03.CanCollide = true
4823
        local bodyVelocity2 = Create("BodyVelocity")({
4824
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4825
          P = 5000,
4826
          maxForce = Vector3.new(8000, 8000, 8000),
4827
          Parent = Arm02
4828
        })
4829
        local bodyVelocity3 = Create("BodyVelocity")({
4830
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4831
          P = 5000,
4832
          maxForce = Vector3.new(8000, 8000, 8000),
4833
          Parent = Arm03
4834
        })
4835
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
4836
        game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
4837
        for i = 0,6.2,0.1 do
4838
            swait()
4839
        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)
4840
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4841
        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(35)), 0.15)
4842
        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(-20)), 0.15)
4843
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
4844
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
4845
        end
4846
        end
4847
        targettorso.Anchored = false
4848
        attack = false
4849
        hum.WalkSpeed = 16
4850
        root.CFrame = targettorso.CFrame * CF(0,0,3.4)
4851
    end
4852
end
4853
4854
function dash()
4855
dashing = true
4856
attack = true
4857
  local bv = Instance.new("BodyVelocity")
4858
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4859
  bv.velocity = root.CFrame.lookVector*200
4860
  bv.Parent = root
4861
for i = 0,1,0.1 do
4862
		swait()
4863
bv.velocity = root.CFrame.lookVector*200
4864
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
4865
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
4866
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
4867
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
4868
RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
4869
LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
4870
	end
4871
bv:Destroy()
4872
attack = false
4873
dashing = false
4874
end
4875
4876
function Multi_Bombs()
4877
    attack = true
4878
    hum.WalkSpeed = 3.01
4879
    for i = 0,3,0.1 do
4880
        swait()
4881
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4882
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4883
        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)
4884
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4885
        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)
4886
        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(20 + 3 * Sin(sine / 20))), 0.15)
4887
        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)
4888
        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)
4889
    end
4890
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4891
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4892
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4893
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4894
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4895
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4896
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4897
    CreateSound("142070127", tors, 10, 1)
4898
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4899
        if v:FindFirstChild("Head") then
4900
            Eviscerate(v)
4901
        end
4902
    end 
4903
    for i = 0,1,0.1 do
4904
        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)
4905
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4906
        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)
4907
        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)
4908
        RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
4909
        LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
4910
    end
4911
    for i = 0,2,0.1 do
4912
        swait()
4913
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4914
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4915
        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)
4916
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4917
        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)
4918
        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(20 + 3 * Sin(sine / 20))), 0.15)
4919
        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)
4920
        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)
4921
    end
4922
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4923
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4924
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4925
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4926
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4927
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4928
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4929
    CreateSound("142070127", tors, 10, 1)
4930
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4931
        if v:FindFirstChild("Head") then
4932
            Eviscerate(v)
4933
        end
4934
    end 
4935
    for i = 0,1,0.1 do
4936
        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)
4937
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4938
        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)
4939
        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)
4940
        RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
4941
        LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
4942
    end
4943
    for i = 0,2,0.1 do
4944
        swait()
4945
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4946
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4947
        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)
4948
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4949
        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)
4950
        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(20 + 3 * Sin(sine / 20))), 0.15)
4951
        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)
4952
        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)
4953
    end
4954
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4955
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4956
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4957
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4958
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4959
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4960
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4961
    CreateSound("142070127", tors, 10, 1)
4962
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4963
        if v:FindFirstChild("Head") then
4964
            Eviscerate(v)
4965
        end
4966-
		if key == 'q' and Mode == 1 then
4966+
4967
   for i = 0,1,0.1 do
4968
        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)
4969
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4970
        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)
4971
        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)
4972
        RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
4973
        LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
4974
    end
4975
    wait(.6)
4976
    attack = false
4977
    hum.WalkSpeed = 8
4978
end
4979
function Universal_Crush()
4980
    attack = true
4981
    for i = 0,5.2,0.05 do
4982
        swait()
4983
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4984
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4985-
    if key == 'b' and Mode == 6 and Mode ~= 10 and Sprinting == false then
4985+
4986-
Cso("719384308", ra, 10, 1)
4986+
4987
        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)
4988-
Cso("4095610922", ra, 10, 1)
4988+
4989-
tecks2.Text = "At this moment let's drip a bit slower..."
4989+
4990-
wait(4)
4990+
4991
    end
4992-
        SONG = 2705053978
4992+
4993
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01)
4994
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01)
4995
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01)
4996
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01)
4997
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
4998
        if v:FindFirstChild("Head") then
4999
            Eviscerate(v)
5000
        end
5001
    end
5002
    coroutine.resume(coroutine.create(function()
5003
        for i = 0,1.8,0.1 do
5004
            swait()
5005
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
5006
        end
5007-
        elseif key == 'b' and Mode == 3 then
5007+
5008
            swait()
5009
        hum.CameraOffset = Vector3.new(0,0,0)
5010
        end
5011
    end))
5012-
Cso("719384308", ra, 10, 1)
5012+
5013-
        SONG = 224918031
5013+
5014
    tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
5015
    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)
5016
    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)
5017
    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)
5018-
        imgl2.ImageColor3 = BrickC("Red").Color
5018+
5019
    end
5020-
        ned.Text = "Corrupted"
5020+
5021
    attack = false
5022
end
5023
-------------------------------------------------------
5024
--End Attacks N Stuff--
5025
-------------------------------------------------------
5026
Sprinting = false
5027
mouse.KeyDown:connect(function(key)
5028
    if string.byte(key) == 48 and attack == false and Mode ~= 10 then
5029
        Swing = 2
5030
        hum.WalkSpeed = 38.82
5031
        Sprinting = true
5032
	end
5033
end)
5034
mouse.KeyUp:connect(function(key)
5035
    if string.byte(key) == 48 and attack == false then
5036
        Swing = 1
5037-
Cso("719384308", ra, 10, 1)
5037+
5038
        hum.WalkSpeed = 8
5039-
        SONG = 165570494
5039+
5040
end)
5041
mouse.KeyDown:connect(function(key)
5042
	if attack == false then
5043
		if key == 'One' and Mode == 1 then
5044
                        Power_Burst()
5045
		elseif key == '1' and Mode ~= 2 then
5046
			Mode = 2
5047-
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
5047+
5048
		elseif key == '1' and Mode == 2 then
5049
			resetmode()
5050
		elseif key == 't' and Mode == 1 then
5051
                        Taunt()
5052
		elseif key == 'q' and Mode == 2 then
5053
                        Magic_Bombs()
5054
		elseif key == 'e' and Mode == 2 then
5055
                        Dangerous_Field()
5056
        elseif key == 'c' and Mode == 2 then
5057
            dash()
5058
		elseif key == 't' and Mode == 2 then
5059
                        HAAH()
5060
		end
5061
	---------------------------------------------------------------------
5062-
    if key == 'b' and Mode == oof then
5062+
    if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
5063-
Cso("719384308", ra, 10, 1)
5063+
        Mode = 10
5064-
SONG = 1842342421
5064+
        SONG = 1702473314
5065-
wait(3)
5065+
		tecks2.Text = "Masquerade"
5066
        tecks2.TextColor3 = Color3.fromRGB(r2,g2,b2)
5067-
        SONG = 1306847940
5067+
		tecks2.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)      
5068
        elseif key == 'm' and Mode == 10 then
5069
            resetmode()
5070
        elseif key == 'q' and Mode == 10 then
5071
            Decapitate()
5072
        elseif key == 'e' and Mode == 10 then
5073-
        ned.Text = "Heartless"
5073+
            stomp()
5074
        elseif key == 'r' and Mode == 10 then
5075
            Painful_Stomp()
5076
        elseif key == 'c' and Mode == 10 then
5077
            dash()
5078
        elseif key == 't' and Mode == 10 then
5079
            aaa()
5080
    end
5081
5082
	---------------------------------------------------------------------
5083
    if key == 'j' and Mode ~= 8 then
5084
        SONG = 2325772291
5085-
Cso("719384308", ra, 10, 1)
5085+
5086
        tecks2.Text = "Seasons"
5087-
        SONG = 743334292
5087+
5088-
		tecks2.Text = ""
5088+
5089
        imgl2.ImageColor3 = BrickC("Forest green").Color
5090
        techc.ImageColor3 = BrickC("White").Color
5091
        ned.Text = "Seasons"
5092
for i, v in pairs(NeonColorParts1000) do
5093-
        ned.Text = "Silence"
5093+
5094
end
5095
        ned.TextColor3 = BrickC("Black").Color
5096
        ned.TextStrokeColor3 = BrickC("White").Color
5097
        elseif key == 'c' and Mode == 8 then
5098-
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
5098+
5099
        elseif key == 'j' and Mode == 8 then
5100
            resetmode()
5101
    end
5102
	---------------------------------------------------------------------
5103
	---------------------------------------------------------------------
5104
    if key == 'g' and Mode ~= 3 then
5105
        SONG = 0
5106
tecks2.Text = "Well, at this moment let's go a bit slower to point depression"
5107-
Cso("719384308", ra, 10, 1)
5107+
Cso("147684390", ra, 10, 1)
5108
wait(2)
5109-
        SONG = 259776573
5109+
5110
        SONG = 3378313416
5111
        Mode = 3
5112
        tecks2.Text = ""
5113
        tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5114
        tecks2.TextStrokeColor3 = Color3.fromRGB(123, 46, 47)
5115
        imgl2.ImageColor3 = BrickC("Black").Color
5116
        techc.ImageColor3 = BrickC("Really red").Color
5117
        ned.Text = ""
5118
for i, v in pairs(NeonColorParts1000) do
5119
  v.BrickColor = BrickC("Really red")
5120
end
5121
        ned.TextColor3 = BrickC("Black").Color
5122
        ned.TextStrokeColor3 = BrickC("Really black").Color
5123
        elseif key == 'c' and Mode == 3 then
5124
            dash()
5125
        elseif key == 't' and Mode == 3 then
5126
SONG = 0
5127
	Cso("615678808", hed, 10, 1)
5128
wait(2)
5129-
Cso("719384308", ra, 10, 1)
5129+
tecks2.Text = "This is the end..."
5130
wait(2)
5131-
        SONG = 146414661
5131+
tecks2.Text = "of world!"
5132
wait(1)
5133
SONG = 256251217
5134
Mode = 25
5135-
        imgl2.ImageColor3 = BrickC("Bright yellow").Color
5135+
tecks2.Text = "SINISTER"
5136
hum.WalkSpeed = 30
5137-
        techc.ImageColor3 = BrickC("Yellow").Color
5137+
5138-
        ned.Text = "Mechanized"
5138+
5139
function sandbox(var,func)
5140-
        ned.TextStrokeColor3 = BrickC("Bright yellow").Color
5140+
	local env = getfenv(func)
5141
	local newenv = setmetatable({},{
5142
		__index = function(self,k)
5143
			if k=="script" then
5144
				return var
5145
			else
5146
				return env[k]
5147
			end
5148
		end,
5149-
    if key == 'g' and Mode ~= oof then
5149+
5150-
Cso("719384308", ra, 10, 1)
5150+
	setfenv(func,newenv)
5151-
Cso("2440672174", ra, 10, 1)
5151+
	return func
5152-
		Mode = 0
5152+
5153-
		SONG = 0
5153+
cors = {}
5154-
		tecks2.Text = ""
5154+
mas = Instance.new("Model",game:GetService("Lighting"))
5155
Sky0 = Instance.new("Sky")
5156
Sky0.Name = "stormynights"
5157-
        ned.Text = "???"
5157+
Sky0.Parent = mas
5158
Sky0.CelestialBodiesShown = false
5159
Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=149679669"
5160-
		SONG = 1925012487
5160+
Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=149681979"
5161-
        ned.Text = "Mirage"
5161+
Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=149679690"
5162-
		tecks2.Text = ""
5162+
Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=149679709"
5163
Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=149679722"
5164
Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=149680199"
5165
for i,v in pairs(mas:GetChildren()) do
5166
	v.Parent = game:GetService("Lighting")
5167
	pcall(function() v:MakeJoints() end)
5168-
        ned.TextStrokeColor3 = BrickC("Sand yellow").Color
5168+
5169
mas:Destroy()
5170
for i,v in pairs(cors) do
5171
	spawn(function()
5172-
	elseif key == 'g' and Mode == oof then
5172+
		pcall(v)
5173
	end)
5174
end
5175
5176
        elseif key == 'g' and Mode == 3 then
5177
            resetmode()
5178
    end
5179
	---------------------------------------------------------------------
5180
    if key == 'f' and Mode ~= 6 then
5181
        Mode = 6
5182
        SONG = 3100419246
5183
        tecks2.Text = "Stardust"
5184
        tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5185
        tecks2.TextStrokeColor3 = Color3.fromRGB(107, 50, 124)
5186
        imgl2.ImageColor3 = BrickC("Royal purple").Color
5187
        techc.ImageColor3 = BrickC("Black").Color
5188
        ned.Text = "Stardust"
5189
        ned.TextColor3 = BrickC("Royal purple").Color
5190
        ned.TextStrokeColor3 = BrickC("Black").Color
5191
        elseif key == 'f' and Mode == 6 then
5192
            resetmode()
5193
        elseif key == 'z' and Mode == 6 then
5194
            Decapitate()
5195
        elseif key == 'x' and Mode == 6 then
5196
            Sayonara()
5197
        elseif key == 't' and Mode == 6 then
5198
            TTTTTTTTTTTaunt()        
5199
        elseif key == 'e' and Mode == 6 then
5200
            dash()
5201
        elseif key == 'c' and Mode == 6 then
5202
            ByeBye()
5203
    end
5204
	---------------------------------------------------------------------
5205
    if key == 'b' and Mode == 3 then
5206
        Mode = 9990
5207
        SONG = 1290315395
5208
        tecks2.Text = "Spice"
5209
        tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
5210
        tecks2.TextStrokeColor3 = Color3.fromRGB(196, 40, 28)
5211
        imgl2.ImageColor3 = BrickC("Really black").Color
5212
        techc.ImageColor3 = BrickC("Really red").Color
5213
        ned.Text = "Spice"
5214
        ned.TextColor3 = BrickC("Really black").Color
5215
        ned.TextStrokeColor3 = BrickC("Really red").Color
5216
      
5217
        elseif key == 'z' and Mode == 9990 then
5218
            NUCLEAR()
5219
                elseif key == 'c' and Mode == 9990 then
5220
            dash()
5221
      elseif key == 'b' and Mode == 9990 then
5222
            resetmode()
5223
    end
5224
	---------------------------------------------------------------------
5225
    if key == 'b' and Mode == 99 then
5226
        Mode = 122
5227
        SONG = 2619399246
5228
		tecks2.Text = "Synthesis"
5229
		tecks2.TextColor3 = Color3.fromRGB(229, 173, 200)
5230
		tecks2.TextStrokeColor3 = Color3.fromRGB(146, 57, 120) 
5231
        imgl2.ImageColor3 = BrickC("Royal purple").Color
5232
        techc.ImageColor3 = BrickC("Hot pink").Color
5233
        ned.Text = "Synthesis"
5234
for i, v in pairs(NeonColorParts1000) do
5235
  v.BrickColor = BrickC("Royal purple")
5236
end
5237
        ned.TextColor3 = BrickC("Roayl purple").Color
5238
        ned.TextStrokeColor3 = BrickC("White").Color
5239
        elseif key == 'z' and Mode == 122 then
5240
            URA()
5241
        elseif key == 'c' and Mode == 122 then
5242
            dash()
5243
        elseif key == 'b' and Mode == 122 then
5244
            resetmode()
5245
    end
5246
	---------------------------------------------------------------------
5247
    if key == 'n' and Mode == 1 then
5248
Cso("138210320", ra, 10, 1)
5249
        SONG = 1051156548
5250
        Mode = 25
5251
        		tecks2.Text = "Disaster"
5252
		tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5253
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5254
        imgl2.ImageColor3 = BrickC("White").Color
5255
5256
        techc.ImageColor3 = BrickC("Black").Color
5257
        ned.Text = "Disaster"
5258
        ned.TextColor3 = BrickC("White").Color
5259
        ned.TextStrokeColor3 = BrickC("Black").Color
5260
        elseif key == 'z' and Mode == 25 then
5261
            Ende_der_Weld()
5262
        elseif key == 'x' and Mode == 25 then
5263
            LAZER()
5264
        elseif key == 'c' and Mode == 25 then
5265
            NUCLEAR()
5266
        elseif key == 'e' and Mode == 25 then
5267
            dash()
5268
        elseif key == 'n' and Mode == 25 then
5269
            resetmode()
5270
    end
5271
	---------------------------------------------------------------------
5272
    if key == 'b' and Mode == 8 then
5273
        Mode = 10000
5274
        SONG = 1844605089
5275
        tecks2.Text = "Rosarian"
5276
        tecks2.TextColor3 = Color3.fromRGB(255, 255, 255)
5277
        tecks2.TextStrokeColor3 = Color3.fromRGB(196, 112, 160)
5278
        imgl2.ImageColor3 = BrickC("White").Color
5279
        techc.ImageColor3 = BrickC("Med. reddish violet").Color
5280
        ned.Text = "Rosarian"
5281
        ned.TextColor3 = BrickC("White").Color
5282
        ned.TextStrokeColor3 = BrickC("Med. reddish violet").Color
5283
        elseif key == 'z' and Mode == 10000 then
5284
            Ende_der_Weld()
5285
        elseif key == 'c' and Mode == 10000 then
5286
            dash()
5287
        elseif key == 'm' and Mode == 10000 then
5288
            resetmode()
5289
    end
5290
	---------------------------------------------------------------------
5291
    if key == 'b' and Mode == 1 then
5292
local killsky = Instance.new('Sky', game:GetService'Lighting')
5293
killsky.StarCount = 0
5294
killsky.SunAngularSize = 1
5295
killsky.MoonAngularSize = 0
5296
killsky.MoonTextureId = ""
5297
killsky.CelestialBodiesShown = false
5298
game.Lighting.FogColor = Color3.new(0,0,0)
5299
game.Lighting.FogEnd = 0
5300
local l = game.Lighting
5301
local sky = Instance.new("Sky",l)
5302
l.TimeOfDay = "12:00:00"
5303
l.Brightness = 1
5304
l.Ambient = Color3.new(0.25, 0.5, 0.75)
5305
--Converted with ttyyuu12345's model to script plugin v4
5306
function sandbox(var,func)
5307
	local env = getfenv(func)
5308
	local newenv = setmetatable({},{
5309
		__index = function(self,k)
5310
			if k=="script" then
5311
				return var
5312
			else
5313
				return env[k]
5314
			end
5315
		end,
5316
	})
5317
	setfenv(func,newenv)
5318
	return func
5319
end
5320
cors = {}
5321
mas = Instance.new("Model",game:GetService("Lighting"))
5322
Sky0 = Instance.new("Sky")
5323
Sky0.Name = "Night_Storm_sky"
5324
Sky0.Parent = mas
5325
Sky0.CelestialBodiesShown = false
5326
Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=48020371"
5327
Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=48020144"
5328
Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=48020234"
5329
Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=48020211"
5330
Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=48020254"
5331
Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=48020383"
5332
for i,v in pairs(mas:GetChildren()) do
5333
	v.Parent = game:GetService("Lighting")
5334
	pcall(function() v:MakeJoints() end)
5335
end
5336
mas:Destroy()
5337
for i,v in pairs(cors) do
5338
	spawn(function()
5339
		pcall(v)
5340
	end)
5341
end
5342
        		tecks2.Text = ""
5343
Cso("138210320", ra, 10, 1)
5344
Cso("220834000", ra, 10, 1)
5345
wait(1)
5346
Cso("2833291347", ra, 10, 1)
5347
wait(2)
5348
5349
local killsky = Instance.new('Sky', game:GetService'Lighting')
5350
killsky.StarCount = 0
5351
killsky.SunAngularSize = 0
5352
killsky.MoonAngularSize = 0
5353
killsky.MoonTextureId = ""
5354
killsky.CelestialBodiesShown = false
5355
game.Lighting.FogColor = Color3.new(0,0,0)
5356
game.Lighting.FogEnd = 100
5357
local l = game.Lighting
5358
local sky = Instance.new("Sky",l)
5359
l.TimeOfDay = "05:00:00"
5360
l.Brightness = 1
5361
l.Ambient = Color3.new(0.25, 0.5, 0.75)
5362
Mode = 132
5363
SONG = 2475761690
5364
  local Hair1 = AddInstance("Part",{
5365
            Parent = hed,
5366
            CFrame = hed.CFrame,
5367
            formFactor = "Symmetric",
5368
            Size = Vector3.new(1, 1, 1),
5369
            CanCollide = false,
5370
            TopSurface = "Smooth",
5371
            BottomSurface = "Smooth",
5372
            Locked = true,
5373
        })
5374
        local Weld = AddInstance("Weld",{
5375
            Parent = Hair1,
5376
            Part0 = hed,
5377
            C0 = CFrame.new(0, 0.5, 0)*CFrame.Angles(0, 0.5, 0),
5378
            Part1 = Hair1,
5379
        })
5380
        local Mesh = AddInstance("SpecialMesh",{
5381
            Parent = Hair1,
5382
            MeshId = "rbxassetid://2047774297",
5383
            TextureId = "rbxassetid://2047774362",
5384
            Scale = Vector3.new(0.5, 0.5, 0.5),
5385
            VertexColor = Vector3.new(1, 1, 1),
5386
        })
5387
5388
        		tecks2.Text = "Edge"
5389
		tecks2.TextColor3 = Color3.fromRGB(161, 196, 140)
5390
		tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
5391
        imgl2.ImageColor3 = BrickC("Medium green").Color
5392
        techc.ImageColor3 = BrickC("Black").Color
5393
        ned.Text = "Edge"
5394
        ned.TextColor3 = BrickC("Medium green").Color
5395
        ned.TextStrokeColor3 = BrickC("Black").Color
5396
BC.HeadColor = BrickColor.new("Medium green")
5397
BC.LeftArmColor = BrickColor.new("Medium green")
5398
BC.LeftLegColor = BrickColor.new("Medium green")
5399
BC.RightArmColor = BrickColor.new("Medium green")
5400
BC.RightLegColor = BrickColor.new("Medium green")
5401
BC.TorsoColor = BrickColor.new("Medium green")
5402
5403-
maincolor = BrickColor.new("Red")
5403+
        elseif key == 'c' and Mode == 132 then
5404
            dash()
5405-
aa4.BrickColor = BrickColor.new("Red")
5405+
        elseif key == 't' and Mode == 132 then
5406-
aa5.BrickColor = BrickColor.new("Red")
5406+
        Cso("2833291347", ra, 10, 1)
5407
        		tecks2.Text = "Ha-Ha-Ha"
5408-
aa11.BrickColor = BrickColor.new("Red")
5408+
wait(2)
5409-
aa12.BrickColor = BrickColor.new("Red")
5409+
        		tecks2.Text = "Edge"
5410
        elseif key == 'b' and Mode == 132 then
5411
            resetmode()
5412-
aa26.BrickColor = BrickColor.new("Red")
5412+
local killsky = Instance.new('Sky', game:GetService'Lighting')
5413-
aa28.BrickColor = BrickColor.new("Red")
5413+
killsky.StarCount = 0
5414-
aa35.BrickColor = BrickColor.new("Black")
5414+
killsky.SunAngularSize = 0
5415-
aa33.BrickColor = BrickColor.new("Black")
5415+
killsky.MoonAngularSize = 0
5416
killsky.MoonTextureId = ""
5417
killsky.CelestialBodiesShown = false
5418
game.Lighting.FogColor = Color3.new(0,0,0)
5419
game.Lighting.FogEnd = 10000
5420
local l = game.Lighting
5421
local sky = Instance.new("Sky",l)
5422
l.TimeOfDay = "12:00:00"
5423
l.Brightness = 1
5424
l.Ambient = Color3.new(0.25, 0.5, 0.75)
5425
end
5426
	---------------------------------------------------------------------
5427
    if key == 'h' and Mode ~= 99 then
5428
        Mode = 99
5429-
aa12.BrickColor = BrickColor.new("Royal purple")
5429+
        SONG = 901719740
5430
        		tecks2.Text = "Endurance"
5431
		tecks2.TextColor3 = Color3.fromRGB(60, 0, 0)
5432
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5433
        imgl2.ImageColor3 = BrickC("Deep orange").Color
5434
5435
        techc.ImageColor3 = BrickC("Deep orange").Color
5436
        ned.Text = "Endurance"
5437-
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("Royal purple"))
5437+
        ned.TextColor3 = BrickC("Deep orange").Color
5438
        ned.TextStrokeColor3 = BrickC("Deep orange").Color
5439
        elseif key == 'z' and Mode == 99 then
5440
            LAZER()
5441
        elseif key == 't' and Mode == 99 then
5442-
aa.BrickColor = BrickColor.new("Med. reddish violet")
5442+
            again()
5443-
aa4.BrickColor = BrickColor.new("Med. reddish violet")
5443+
5444-
aa5.BrickColor = BrickColor.new("Med. reddish violet")
5444+
5445
        elseif key == 'h' and Mode == 99 then
5446
            resetmode()
5447
    end
5448
	---------------------------------------------------------------------
5449-
aa24.BrickColor = BrickColor.new("Med. reddish violet")
5449+
    if key == 'm' and Mode == 1 then
5450-
aa26.BrickColor = BrickColor.new("Med. reddish violet")
5450+
5451-
aa28.BrickColor = BrickColor.new("Med. reddish violet")
5451+
		SONG = 535717904
5452
        ned.Text = ""
5453
		tecks2.Text = "Mirage"
5454
		tecks2.TextColor3 = Color3.fromRGB(149, 138, 115)
5455
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5456
        techc.ImageColor3 = BrickC("Sand yellow").Color
5457
        ned.TextColor3 = BrickC("White").Color
5458
        imgl2.ImageColor3 = BrickC("Sand yellow").Color
5459
        ned.TextStrokeColor3 = BrickC("White").Color
5460
for i, v in pairs(NeonColorParts1000) do
5461
  v.BrickColor = BrickC("Sand yellow")
5462
end
5463
	elseif key == 'm' and Mode == oof then
5464
		resetmode()
5465
	elseif key == 'z' and Mode == oof and exploitable == true then
5466
		Exploit()
5467
	elseif key == 't' and Mode == oof then
5468
		thisisit2()
5469
        elseif key == 'c' and Mode == oof then
5470
            dash()
5471
	elseif key == 'x' and Mode == oof then
5472
		LunarSpin()
5473
	end
5474
	end
5475
end)
5476
local Combo = 1
5477
mouse.Button1Down:connect(function(key)
5478
	if attack == false then
5479
		if Combo == 1 then
5480-
aa11.BrickColor = BrickColor.new("Deep orange")
5480+
5481
			attackone()
5482
		elseif Combo == 2 then
5483
			Combo = 3
5484
			attacktwo()
5485
		elseif Combo == 3 then
5486
			Combo = 1
5487
			attackthree()
5488
		end
5489
	end
5490
end)
5491
5492
5493
5494
 function newTheme(ID,timepos,pitch,vol)
5495
local kanz = Music
5496
--kanz:Stop()
5497
kanz.Volume = vol
5498
--kanz.TimePosition = timepos
5499
kanz.PlaybackSpeed = pitch
5500
kanz.Pitch = pitch
5501
kanz.SoundId = ID
5502
kanz.Name = "wrecked"
5503
kanz.Looped = true
5504
currentThemePlaying = kanz.SoundId
5505
currentVol = kanz.Volume
5506
currentPitch = kanz.Pitch
5507
--kanz:Play()
5508
--coroutine.resume(coroutine.create(function()
5509
--wait(0.05)
5510
--end))
5511
end
5512
5513
5514
function newThemeCust(ID,timepos,pitch,vol)
5515
local kanz = Music
5516
kanz:Stop()
5517
kanz.Volume = vol
5518
kanz.TimePosition = timepos
5519
kanz.PlaybackSpeed = pitch
5520
kanz.Pitch = pitch
5521
kanz.SoundId = ID
5522
kanz.Name = "wrecked"
5523
kanz.Looped = true
5524
currentThemePlaying = kanz.SoundId
5525
currentVol = kanz.Volume
5526
currentPitch = kanz.Pitch
5527
kanz:Play()
5528
coroutine.resume(coroutine.create(function()
5529
wait(0.05)
5530
end))
5531
end
5532
5533
plr.Chatted:connect(function(message)
5534
if Mode == 3 then
5535
if message:sub(1,5) == "play/" then
5536
OVMID = message:sub(6)
5537
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
5538
elseif message:sub(1,6) == "pitch/" then
5539
OVMPIT = message:sub(7)
5540
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
5541
elseif message:sub(1,4) == "vol/" then
5542-
			elseif Mode == 122 then
5542+
5543-
				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.15)
5543+
5544-
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
5544+
5545-
				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.15)
5545+
5546-
				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.15)
5546+
5547-
				RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
5547+
5548-
				LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
5548+
5549
end
5550
end
5551
end)
5552
5553
Music.Name = "musicname"
5554
5555
Character = plr.Character
5556
Character.ChildRemoved:connect(function(removed) if removed.Name == "musicname" then Music = instanse.new("Sound") end end)
5557
5558
5559
-------------------------------------------------------
5560
--Start Animations--
5561
-------------------------------------------------------
5562
while true do
5563
	swait()
5564
	sine = sine + change
5565
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
5566
	local velderp = root.Velocity.y
5567
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
5568
	if equipped == true or equipped == false then
5569
		if attack == false then
5570
			idle = idle + 1
5571
		else
5572
			idle = 0
5573
		end
5574
        if Mode == 10 then
5575
        maincolor = BrickColor.random()
5576
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5577
        techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5578
        ned.Text = "Masquerade"
5579
5580
        ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
5581
        ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
5582
aa24.BrickColor = BrickColor.random()
5583
aa28.BrickColor = BrickColor.random()
5584
aa26.BrickColor = BrickColor.random()
5585
aa35.BrickColor = BrickColor.random()
5586
aa33.BrickColor = BrickColor.random()
5587
aa31.BrickColor = BrickColor.random()
5588
        imgl2.Rotation = math.random(-9, 9)
5589
        techc.Rotation = math.random(-9, 9)
5590
        ned.Rotation = 0 - 2 * math.cos(sine / 1)
5591
        ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
5592
hum.WalkSpeed = 8
5593
aa4.Color = Color3.fromRGB(r2,g2,b2)
5594-
				RW.C0 = clerp(RW.C0, CF(1.25* Player_Size, 0.8 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 4.5 * Cos(sine / 20)), Rad(0), Rad(120)), 0.08)
5594+
5595-
				LW.C0 = clerp(LW.C0, CF(-1.25* Player_Size, 0.8 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 4.5 * Cos(sine / 20)), Rad(0), Rad(-120)), 0.08)
5595+
5596
aa11.Color = Color3.fromRGB(r2,g2,b2)
5597
aa12.Color = Color3.fromRGB(r2,g2,b2)
5598
aa13.Color = Color3.fromRGB(r2,g2,b2)
5599
Effects.Wave.Create(BrickColor.new("Random"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5600
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("Random"))
5601
        end
5602
        if Mode == 3 then
5603
        maincolor = BrickColor.new("Dark red")
5604
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5605
        techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5606
        ned.Text = ""
5607
        ned.TextColor3 = Color3.fromRGB(r2,g2,b2)
5608
        ned.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)
5609
aa35.Color = Color3.fromRGB(r2,g2,b2)
5610
aa33.Color = Color3.fromRGB(r2,g2,b2)
5611
aa31.Color = Color3.fromRGB(r2,g2,b2)
5612
hum.WalkSpeed = 8
5613
aa28.Color = Color3.fromRGB(r2,g2,b2)
5614
aa26.Color = Color3.fromRGB(r2,g2,b2)
5615-
				RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
5615+
5616-
                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)
5616+
5617
aa4.Color = Color3.fromRGB(r2,g2,b2)
5618
aa5.Color = Color3.fromRGB(r2,g2,b2)
5619
aa8.Color = Color3.fromRGB(r2,g2,b2)
5620
aa11.Color = Color3.fromRGB(r2,g2,b2)
5621
aa12.Color = Color3.fromRGB(r2,g2,b2)
5622
aa13.Color = Color3.fromRGB(r2,g2,b2)
5623
        end
5624
if Mode == oof then
5625-
				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.15)
5625+
5626-
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
5626+
5627-
				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.15)
5627+
5628-
				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.15)
5628+
5629-
				RW.C0 = clerp(RW.C0, CF(1.25* Player_Size, 0.8 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20 - 4.5 * Cos(sine / 20)), Rad(0), Rad(120)), 0.08)
5629+
5630-
				LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
5630+
5631
aa8.BrickColor = BrickColor.new("White")
5632
aa11.BrickColor = BrickColor.new("White")
5633
aa12.BrickColor = BrickColor.new("White")
5634
aa13.BrickColor = BrickColor.new("White")
5635
aa26.BrickColor = BrickColor.new("Sand yellow")
5636
aa28.BrickColor = BrickColor.new("Sand yellow")
5637
aa35.BrickColor = BrickColor.new("White")
5638
aa33.BrickColor = BrickColor.new("White")
5639
aa31.BrickColor = BrickColor.new("Sand yellow")
5640
Effects.Wave.Create(BrickColor.new("Sand yellow"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5641
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("Sand yellow"))
5642
end
5643
if Mode == 9990 then
5644
maincolor = BrickColor.new("Really red")
5645
hum.WalkSpeed = 8
5646-
                                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.3)
5646+
5647
aa4.BrickColor = BrickColor.new("Really red")
5648
aa5.BrickColor = BrickColor.new("Really red")
5649
aa8.BrickColor = BrickColor.new("Really black")
5650
aa11.BrickColor = BrickColor.new("Really black")
5651
aa12.BrickColor = BrickColor.new("Really black")
5652
aa13.BrickColor = BrickColor.new("Really black")
5653
aa24.BrickColor = BrickColor.new("Really black")
5654
aa26.BrickColor = BrickColor.new("Really red")
5655
aa28.BrickColor = BrickColor.new("Really red")
5656
aa35.BrickColor = BrickColor.new("Really black")
5657
aa33.BrickColor = BrickColor.new("Really black")
5658
aa31.BrickColor = BrickColor.new("Really red")
5659
                MagicCharge(7, 0, "Add", la.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, "Sphere")
5660
        local A = math.random(1,4)
5661
        if A == 1 then
5662
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
5663
        if A == 2 then
5664
    Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Brick")
5665
end
5666
end
5667
end
5668
if Mode == 6 then
5669
maincolor = BrickColor.new("Black")
5670
hum.WalkSpeed = 8
5671
aa.BrickColor = BrickColor.new("Royal purple")
5672
aa4.BrickColor = BrickColor.new("Royal purple")
5673
aa5.BrickColor = BrickColor.new("Royal purple")
5674
aa8.BrickColor = BrickColor.new("Royal purple")
5675
aa11.BrickColor = BrickColor.new("Black")
5676
aa12.BrickColor = BrickColor.new("Black")
5677
aa13.BrickColor = BrickColor.new("Black")
5678
aa24.BrickColor = BrickColor.new("Black")
5679
aa26.BrickColor = BrickColor.new("Black")
5680
aa28.BrickColor = BrickColor.new("Black")
5681
aa35.BrickColor = BrickColor.new("Royal purple")
5682
aa33.BrickColor = BrickColor.new("Royal purple")
5683
aa31.BrickColor = BrickColor.new("Royal purple")
5684
        local A = math.random(1,15)
5685
        if A == 1 then
5686
    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")
5687
        if A == 2 then
5688
    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")
5689
end
5690
end
5691
end
5692
if Mode == 8 then
5693
hum.WalkSpeed = 8
5694
maincolor = BrickColor.new("Dark indigo")
5695
aa.BrickColor = BrickColor.new("Black")
5696
aa4.BrickColor = BrickColor.new("Dark green")
5697
aa5.BrickColor = BrickColor.new("Dark green")
5698
aa8.BrickColor = BrickColor.new("Light orange brown")
5699
aa11.BrickColor = BrickColor.new("White")
5700
aa12.BrickColor = BrickColor.new("White")
5701
aa13.BrickColor = BrickColor.new("Light orange brown")
5702
aa24.BrickColor = BrickColor.new("Light orange brown")
5703
aa26.BrickColor = BrickColor.new("Light orange brown")
5704
aa28.BrickColor = BrickColor.new("Light orange brown")
5705
aa35.BrickColor = BrickColor.new("Light orange brown")
5706
aa33.BrickColor = BrickColor.new("Light orange brown")
5707
aa31.BrickColor = BrickColor.new("Black")
5708
end
5709
if Mode == 25 then
5710
hum.WalkSpeed = 50
5711
end
5712
if Mode == 122 then
5713
hum.WalkSpeed = 8
5714
maincolor = BrickColor.new("White")
5715
aa.BrickColor = BrickColor.new("White")
5716
aa4.BrickColor = BrickColor.new("White")
5717
aa5.BrickColor = BrickColor.new("Royal purple")
5718
aa8.BrickColor = BrickColor.new("Royal purple")
5719
aa11.BrickColor = BrickColor.new("Royal purple")
5720
aa12.BrickColor = BrickColor.new("Hot pink")
5721
aa13.BrickColor = BrickColor.new("Royal purple")
5722
aa24.BrickColor = BrickColor.new("Hot pink")
5723
aa26.BrickColor = BrickColor.new("Hot pink")
5724
aa28.BrickColor = BrickColor.new("Hot pink")
5725
aa35.BrickColor = BrickColor.new("Royal purple")
5726
aa33.BrickColor = BrickColor.new("Hot pink")
5727
aa31.BrickColor = BrickColor.new("White")
5728
Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5729
slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
5730
end
5731
if Mode == 10000 then
5732
hum.WalkSpeed = 8
5733
maincolor = BrickColor.new("Bright yellow")
5734
aa.BrickColor = BrickColor.new("Hot pink")
5735
aa4.BrickColor = BrickColor.new("Hot pink")
5736
aa5.BrickColor = BrickColor.new("Hot pink")
5737
aa8.BrickColor = BrickColor.new("White")
5738
aa11.BrickColor = BrickColor.new("White")
5739
aa12.BrickColor = BrickColor.new("White")
5740
aa13.BrickColor = BrickColor.new("White")
5741
aa24.BrickColor = BrickColor.new("White")
5742
aa26.BrickColor = BrickColor.new("Hot pink")
5743
aa28.BrickColor = BrickColor.new("Hot pink")
5744
aa35.BrickColor = BrickColor.new("White")
5745
aa33.BrickColor = BrickColor.new("White")
5746
aa31.BrickColor = BrickColor.new("Hot pink")
5747
end
5748
if Mode == 1 then
5749
hum.WalkSpeed = 8
5750
maincolor = BrickColor.new("White")
5751
aa.BrickColor = BrickColor.new("White")
5752
aa4.BrickColor = BrickColor.new("White")
5753
aa5.BrickColor = BrickColor.new("White")
5754
aa8.BrickColor = BrickColor.new("Really black")
5755
aa11.BrickColor = BrickColor.new("Really black")
5756
aa12.BrickColor = BrickColor.new("Really black")
5757
aa13.BrickColor = BrickColor.new("Really black")
5758
aa24.BrickColor = BrickColor.new("Really black")
5759
aa26.BrickColor = BrickColor.new("White")
5760
aa28.BrickColor = BrickColor.new("White")
5761
aa35.BrickColor = BrickColor.new("Really black")
5762
aa33.BrickColor = BrickColor.new("Really black")
5763
aa31.BrickColor = BrickColor.new("White")
5764
end
5765
if Mode == 99 then
5766
hum.WalkSpeed = 100
5767
maincolor = BrickColor.new("Deep orange")
5768
aa.BrickColor = BrickColor.new("White")
5769
aa4.BrickColor = BrickColor.new("Deep orange")
5770
aa5.BrickColor = BrickColor.new("Deep orange")
5771
aa8.BrickColor = BrickColor.new("Deep orange")
5772
aa11.BrickColor = BrickColor.new("White")
5773
aa12.BrickColor = BrickColor.new("White")
5774
aa13.BrickColor = BrickColor.new("White")
5775
aa24.BrickColor = BrickColor.new("Deep orange")
5776
aa26.BrickColor = BrickColor.new("Deep orange")
5777
aa28.BrickColor = BrickColor.new("Deep orange")
5778
aa35.BrickColor = BrickColor.new("White")
5779
aa33.BrickColor = BrickColor.new("White")
5780
aa31.BrickColor = BrickColor.new("Deep orange")
5781
end
5782
if Mode == 132 then
5783
hum.WalkSpeed = 100
5784
maincolor = BrickColor.new("Medium green")
5785
aa.BrickColor = BrickColor.new("Medium green")
5786
aa4.BrickColor = BrickColor.new("Black")
5787
aa5.BrickColor = BrickColor.new("Black")
5788
aa8.BrickColor = BrickColor.new("Black")
5789
aa11.BrickColor = BrickColor.new("Medium green")
5790
aa12.BrickColor = BrickColor.new("Medium green")
5791
aa13.BrickColor = BrickColor.new("Medium green")
5792
aa24.BrickColor = BrickColor.new("Black")
5793
aa26.BrickColor = BrickColor.new("Black")
5794
aa28.BrickColor = BrickColor.new("Black")
5795
aa35.BrickColor = BrickColor.new("Medium green")
5796
aa33.BrickColor = BrickColor.new("Medium green")
5797
aa31.BrickColor = BrickColor.new("Medium green")
5798
end
5799
                imgl2.Rotation = techc.Rotation + 0.2
5800
                techc.Rotation = techc.Rotation + 0.2
5801
                ned.Rotation = 0 - 2 * math.cos(sine / 24)
5802
                ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 32),0.79,0 - 10 * math.cos(sine / 45))
5803
		if 1 < root.Velocity.y and hitfloor == nil then
5804
			Anim = "Jump"
5805
			if attack == false then
5806
				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)
5807
				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)
5808
				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)
5809
				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)
5810
				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)
5811
				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)
5812
			end
5813
		elseif -1 > root.Velocity.y and hitfloor == nil then
5814
			Anim = "Fall"
5815
			if attack == false then
5816
				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)
5817
				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)
5818
				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)
5819
				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)
5820
				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)
5821
				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)
5822
			end
5823
		elseif torvel < 1 and hitfloor ~= nil then
5824
			Anim = "Idle"
5825
			change = 1
5826
			if attack == false then
5827
				if Mode == 1 then --Normal
5828
                                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)
5829
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5830
				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)
5831
				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)
5832
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5833
                                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)
5834
				elseif Mode == 122 then
5835
                                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)
5836
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5837
				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)
5838
				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)
5839
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5840
                                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)
5841
5842
				elseif Mode == 132 then
5843
                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)
5844
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
5845
                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)
5846
                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)
5847
                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(25 + Mrandom(-35,35)), Rad(0 + Mrandom(-35,35)), Rad(5 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
5848-
--End Animations And Script--
5848+
5849-
-------------------------------------------------------
5849+
5850
				elseif Mode == oof then --PIXELATED
5851
                                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)
5852
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5853
				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)
5854
				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)
5855
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5856
                                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)
5857
				elseif Mode == 0 then
5858
			      rootj.C0 = clerp(rootj.C0,RootCF* CF(0, 0, -1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
5859
			      neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 1)
5860
			if Mrandom(1,30) == 1 then
5861
				neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
5862
			end
5863
                              RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
5864
		              LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-12)), 0.15)
5865
                              RH.C0 = clerp(RH.C0, CF(1, -0.5, -0.5) * angles(Rad(25), Rad(90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
5866
                              LH.C0 = clerp(LH.C0, CF(-1, -1, -0.01) * angles(Rad(-45), Rad(-90), Rad(0)) * angles(Rad(-8), Rad(0), Rad(0)), 0.5)
5867
			elseif Mode == 2 then --Machinery
5868
                                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)
5869
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5870
				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)
5871
				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)
5872
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5873
                                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)
5874
			elseif Mode == 3 then --ICE
5875
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.1)
5876
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(90 - 3.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
5877
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
5878
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
5879
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
5880
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
5881
			elseif Mode == 99 then --Infused
5882
				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)
5883
				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)
5884
				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)
5885
				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)
5886
				RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90 - 3.5 * Cos(sine / 20)), Rad(0), Rad(120)), 0.08)
5887
				LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90 - 3.5 * Cos(sine / 20)), Rad(0), Rad(-120)), 0.08)
5888
			elseif Mode == 5 then --Cybernetic
5889
                                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)
5890
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5891
				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)
5892
				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)
5893
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5894
                                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)
5895
			elseif Mode == 25 then --Spiritual
5896
				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)
5897
				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)
5898
				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)
5899
				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)
5900
				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)
5901
				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)
5902
			elseif Mode == 6 then --Controlled Beyond Recognition
5903
                                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)
5904
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5905
				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)
5906
				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)
5907
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
5908
                                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)
5909
			elseif Mode == 10000 then
5910
                               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)
5911
                               tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
5912
                               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)
5913
                                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)
5914
				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)
5915
				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)
5916
            elseif Mode == 9990 then 
5917
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(0)), 0.08)
5918
                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1 - 1 * Sin(sine / 30)), Rad(-1 * Sin(sine / .5)), Rad(15)), 0.08)
5919
                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)
5920
                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)
5921
                RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
5922
                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(-12 - 5 * Sin(sine / 30))), 0.08)
5923
			elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
5924
				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)
5925
				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)
5926
				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)
5927
				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)
5928
				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)
5929
				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)
5930
			elseif Mode == 100 then
5931
                                rootj.C0 = clerp(rootj.C0,RootCF*CF(0 - 0.05 * Cos(sine / 44),0 + 0.03 * Cos(sine / 34),-0.05 + 0.05 * Cos(sine / 28))*angles(Rad(0 - 3 * Cos(sine / 34)),Rad(0 - 5 * Cos(sine / 44)),Rad(-5)), .1)
5932
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
5933
                                RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * Cos(sine / 28) + 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(90),Rad(0))*angles(Rad(7 - 5 * Cos(sine / 44)),Rad(0),Rad(-6 - 3 * Cos(sine / 34))), .1)
5934
                                LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * Cos(sine / 28) - 0.05 * Cos(sine / 44),0)*angles(Rad(0),Rad(-90),Rad(0))*angles(Rad(3 + 5 * Cos(sine / 44)),Rad(0),Rad(0 + 3 * Cos(sine / 34))), .1)
5935
                                RW.C0 = clerp(RW.C0,CF(1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(22 - 3 * Cos(sine / 53)),Rad(0),Rad(-37 + 2 * Cos(sine / 37))), .1)
5936
                                LW.C0 = clerp(LW.C0,CF(-1,0.5 + 0.1 * Cos(sine / 28),-0.45)*angles(Rad(23 - 2 * Cos(sine / 58)),Rad(0),Rad(38 - 3 * Cos(sine / 57) )), .1)
5937
			elseif Mode == 8 then --Lunarist
5938
                                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)
5939
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
5940
				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)
5941
				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)
5942
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(-20), Rad(-10), Rad(-43)), 0.08)
5943
                                LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(20), Rad(10), Rad(43)), 0.08)
5944
			elseif Mode == 10 then --INSANITY
5945
                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)
5946
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
5947
                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)
5948
                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)
5949
                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(25 + Mrandom(-35,35)), Rad(0 + Mrandom(-35,35)), Rad(5 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
5950
                LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
5951
			end
5952
			end
5953
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
5954
			Anim = "Walk"
5955
			change = 1.1
5956
			if attack == false then
5957
			      if Mode == 6 then 
5958
				  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)
5959
                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)
5960
                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)
5961
                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)
5962
                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)
5963
                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)
5964
		       elseif Mode == oof then --PIXELATED
5965
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.2* Player_Size * Cos(sine / 26)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
5966
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
5967
                                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)
5968
                                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)
5969
                                RW.C0 = clerp(RW.C0, CF(0.75, 0.5 + 0.05 * Sin(sine / 12), -0.7) * angles(Rad(0), Rad(0), Rad(-95)) * angles(Rad(5), Rad(0), Rad(0)), 0.1)
5970
                                LW.C0 = clerp(LW.C0, CF(-0.75, 0.35 + 0.05 * Sin(sine / 12), -0.6) * angles(Rad(0), Rad(0), Rad(92)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
5971
			elseif Mode == 5 then
5972
                                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)
5973
                                tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
5974
                                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)
5975
                                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)
5976
				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)
5977
				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)
5978
			elseif Mode == 25 then
5979
				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)
5980
				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)
5981
				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)
5982
				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)
5983
				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)
5984
				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)
5985
			elseif Mode == 100 then 
5986
				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)
5987
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
5988
				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)
5989
				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)
5990
				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)
5991
				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)
5992
			elseif Mode == 132 then 
5993
				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)
5994
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
5995
				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)
5996
				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)
5997
				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)
5998
				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)
5999
			elseif Mode == 0 then
6000
				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)
6001
			      neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(25 + Mrandom(-5,5) - 4 * Cos(sine / 12)), Rad(Mrandom(-5,5)), Rad(0)), 0.5)
6002
			if Mrandom(1,30) == 1 then
6003
				neck.C0 = clerp(neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(0 + Mrandom(-25,25) - 4 * Cos(sine / 12)), Rad(Mrandom(-25,25)), Rad(0)), 0.5)
6004
			end
6005
				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)
6006
	         		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)
6007
                               RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
6008
			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)
6009
			elseif Mode == 10 then
6010
                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)
6011
                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)
6012
                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)
6013
                    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)
6014
                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)
6015
                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)
6016
			elseif Mode == 8 then
6017
				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)
6018
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-23 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
6019
				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)
6020
				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)
6021
                                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
6022
                                LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
6023
			elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
6024
				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)
6025
				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)
6026
				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)
6027
	         		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)
6028
				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)
6029
				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)
6030
			end
6031
			end
6032
		elseif torvel >= 25 and hitfloor ~= nil then
6033
			Anim = "Sprint"
6034
			change = 1.35
6035
			if attack == false then
6036
		if Mode == 5 then
6037
			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)
6038
			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)
6039
			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)
6040
			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)
6041
			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)
6042
			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)
6043
		elseif Mode == 99 then
6044
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
6045
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
6046
		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)
6047
         	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)
6048
		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)
6049
		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)
6050
		elseif Mode == oof then
6051
			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)
6052
			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)
6053
			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)
6054
			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)
6055
			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)
6056
			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)
6057
		elseif Mode == 132 then
6058
			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)
6059
			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)
6060
			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)
6061
			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)
6062
			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)
6063
			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)
6064
		elseif Mode ~= 5 then
6065
			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)
6066
			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)
6067
			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)
6068
         		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)
6069
			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)
6070
			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)
6071
			end
6072
			end
6073
		end
6074
	end
6075
	Music.SoundId = "rbxassetid://"..SONG
6076
	Music.Looped = true
6077
	Music.Pitch = 1
6078
	Music.Volume = 5
6079
	Music:Resume()
6080
if Music.Parent ~= tors then
6081
Music = Instance.new("Sound",tors)
6082
end
6083
	if 0 < #Effects then
6084
		for e = 1, #Effects do
6085
			if Effects[e] ~= nil then
6086
				local Thing = Effects[e]
6087
				if Thing ~= nil then
6088
					local Part = Thing[1]
6089
					local Mode = Thing[2]
6090
					local Delay = Thing[3]
6091
					local IncX = Thing[4]
6092
					local IncY = Thing[5]
6093
					local IncZ = Thing[6]
6094
					if 1 >= Thing[1].Transparency then
6095
						if Thing[2] == "Block1" then
6096
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
6097
							local Mesh = Thing[1].Mesh
6098
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
6099
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6100
						elseif Thing[2] == "Block2" then
6101
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
6102
							local Mesh = Thing[7]
6103
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
6104
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6105
						elseif Thing[2] == "Block3" then
6106
							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)
6107
							local Mesh = Thing[7]
6108
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
6109
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6110
						elseif Thing[2] == "Cylinder" then
6111
							local Mesh = Thing[1].Mesh
6112
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
6113
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6114
						elseif Thing[2] == "Blood" then
6115
							local Mesh = Thing[7]
6116
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
6117
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
6118
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6119
						elseif Thing[2] == "Elec" then							local Mesh = Thing[1].Mesh
6120
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
6121
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6122
						elseif Thing[2] == "Disappear" then
6123
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6124
						elseif Thing[2] == "Shatter" then
6125
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6126
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
6127
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
6128
							Thing[6] = Thing[6] + Thing[5]
6129
						end
6130
					else
6131
						Part.Parent = nil
6132
						table.remove(Effects, e)
6133
					end
6134
				end
6135
			end
6136
		end
6137
	end
6138
end
6139
-------------------------------------------------------
6140
--End Animations And Script--