View difference between Paste ID: 0Ma6000q and xmQ4pptY
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=0"
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, 0)*CFrame.Angles(0, 1.5, 0),
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://430546904",
960+
            MeshId = "rbxassetid://1031109404",
961-
            TextureId = "rbxassetid://",
961+
            TextureId = "rbxassetid://1031109414",
962-
            Scale = Vector3.new(0.012, 0.012, 0.012),
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-
shirt.ShirtTemplate = "rbxassetid://0"
977+
978
shirt.ShirtTemplate = "rbxassetid://268316000"
979-
pants.PantsTemplate = "rbxassetid://0"
979+
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-
BC.HeadColor = BrickColor.new("Nougat")
994+
995-
BC.LeftArmColor = BrickColor.new("Nougat")
995+
BC.HeadColor = BrickColor.new("White")
996-
BC.LeftLegColor = BrickColor.new("Nougat")
996+
BC.LeftArmColor = BrickColor.new("White")
997-
BC.RightArmColor = BrickColor.new("Nougat")
997+
BC.LeftLegColor = BrickColor.new("White")
998-
BC.RightLegColor = BrickColor.new("Nougat")
998+
BC.RightArmColor = BrickColor.new("White")
999
BC.RightLegColor = BrickColor.new("White")
1000
BC.TorsoColor = BrickColor.new("Nougat")
1001
end
1002
 
1003
-----------------------------------------------
1004
1005-
--[[ Name : RUIN VI]]--
1005+
1006
--[[ Name : RUIN GEN]]--
1007-
--A script By makhail07, 2003boobear and XXUNORIBOASXX.
1007+
1008
--A script By xdielivex
1009-
--Discord Creterisk#2958 <- makhail07's discord
1009+
1010
1011-
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
1011+
1012-
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
1012+
1013-
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
1013+
1014-
--YOU FUCKING SKIDS,
1014+
1015-
--For Those who log/decompile this, If you sell or trade this,
1015+
1016-
--and I find out who you are, i will take massive action.
1016+
1017-
--:b:
1017+
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-
--The reality of my life isn't real but a Universe -Creterisk
1037+
1038-
--All people can be nice, Even if you don't think so. -2003boobear
1038+
1039-
--The past can be horrible, but the future will be better, so forget the past and move-onward. -XXUNORIBOASXX
1039+
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")
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-
warn("Credit to xdielivex for making ruin VII")
1078+
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
coroutine.resume(coroutine.create(function()
1137
    while textfag ~= nil do
1138
        swait()
1139
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1140
        textfag.Rotation = math.random(-3,3)
1141
    end
1142
end))
1143
-------------------------------------------------------
1144
1145
local naeeym2 = IT("BillboardGui",char)
1146
naeeym2.AlwaysOnTop = true
1147
naeeym2.Size = UDim2.new(5,35,2,15)
1148-
tecks2.Text = "script by xdielivex"
1148+
1149-
wait(0.5)
1149+
1150-
tecks2.Text = "Ruin VIII"
1150+
1151-
wait(0.5)
1151+
1152
--naeeym2.PlayerToHideFrom = Player
1153
local tecks2 = IT("TextLabel",naeeym2)
1154
tecks2.BackgroundTransparency = 10
1155
tecks2.TextScaled = true
1156
tecks2.BorderSizePixel = 0
1157
tecks2.Text = ""
1158
tecks2.Font = "Fantasy"
1159
tecks2.TextSize = 100
1160
tecks2.TextStrokeTransparency = 0
1161
tecks2.TextColor3 = Color3.new(1,1,1)
1162
tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
1163
tecks2.Size = UDim2.new(1,0,0.5,0)
1164
tecks2.Parent = naeeym2
1165
1166
-------------------------------------------------------
1167
--Start HeartBeat--
1168
-------------------------------------------------------
1169
ArtificialHB = Instance.new("BindableEvent", script)
1170
ArtificialHB.Name = "Heartbeat"
1171
script:WaitForChild("Heartbeat")
1172
1173
frame = 1 / 60
1174-
tecks2.Text = "Endurance"
1174+
1175
allowframeloss = false
1176
tossremainder = false
1177
1178
1179
lastframe = tick()
1180
script.Heartbeat:Fire()
1181
1182
1183
game:GetService("RunService").Heartbeat:connect(function(s, p)
1184
	tf = tf + s
1185
	if tf >= frame then
1186
		if allowframeloss then
1187
			script.Heartbeat:Fire()
1188
			lastframe = tick()
1189
		else
1190
			for i = 1, math.floor(tf / frame) do
1191
				script.Heartbeat:Fire()
1192
			end
1193
			lastframe = tick()
1194
		end
1195
		if tossremainder then
1196
			tf = 0
1197
		else
1198
			tf = tf - frame * math.floor(tf / frame)
1199
		end
1200
	end
1201
end)
1202
-------------------------------------------------------
1203
--End HeartBeat--
1204
-------------------------------------------------------
1205
1206
TAUNT = Instance.new("Sound", tors)
1207
TAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994137"
1208
TAUNT.Volume = 10
1209
TAUNT.Pitch = 1
1210
TAUNT.Looped = false
1211
TAUNT.TimePosition = 0.12
1212
1213
BTAUNT = Instance.new("Sound", tors)
1214
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1535995263"
1215
BTAUNT.Volume = 10
1216
BTAUNT.Pitch = 1
1217
BTAUNT.Looped = false
1218
BTAUNT.TimePosition = 0.2
1219
1220
ITAUNT = Instance.new("Sound", tors)
1221
ITAUNT.SoundId = "http://www.roblox.com/asset/?id=2128278806"
1222
ITAUNT.Volume = 10
1223
ITAUNT.Pitch = 1
1224
ITAUNT.Looped = false
1225
ITAUNT.TimePosition = 0
1226
1227
BATAUNT = Instance.new("Sound", tors)
1228
BATAUNT.SoundId = "http://www.roblox.com/asset/?id=132514715"
1229
BATAUNT.Volume = 10
1230
BATAUNT.Pitch = 1
1231
BATAUNT.Looped = false
1232
BATAUNT.TimePosition = 0
1233
1234
STAUNT2 = Instance.new("Sound", tors)
1235
STAUNT2.SoundId = "http://www.roblox.com/asset/?id=132392118"
1236
STAUNT2.Volume = 10
1237
STAUNT2.Pitch = 0.8
1238
STAUNT2.Looped = false
1239
STAUNT2.TimePosition = 0.05
1240
1241
STAUNT = Instance.new("Sound", tors)
1242
STAUNT.SoundId = "http://www.roblox.com/asset/?id=1535994940"
1243
STAUNT.Volume = 10
1244
STAUNT.Pitch = 1
1245
STAUNT.Looped = false
1246
STAUNT.TimePosition = 0.05
1247
1248
DTAUNT = Instance.new("Sound", tors)
1249
DTAUNT.SoundId = "http://www.roblox.com/asset/?id=907333294"
1250
DTAUNT.Volume = 10
1251
DTAUNT.Pitch = 1
1252
DTAUNT.Looped = false
1253
DTAUNT.TimePosition = 0
1254
1255
LAZOR = Instance.new("Sound", ra)
1256
LAZOR.SoundId = "http://www.roblox.com/asset/?id=201858045"
1257
LAZOR.Volume = 10
1258
LAZOR.Pitch = 0.7
1259
LAZOR.Looped = false
1260
LAZOR.TimePosition = 0
1261
1262
-------------------------------------------------------
1263
--Start Important Functions--
1264
-------------------------------------------------------
1265
function swait(num)
1266
	if num == 0 or num == nil then
1267
		game:service("RunService").Stepped:wait(0)
1268
	else
1269
		for i = 0, num do
1270
			game:service("RunService").Stepped:wait(0)
1271
		end
1272
	end
1273
end
1274
function thread(f)
1275
	coroutine.resume(coroutine.create(f))
1276
end
1277
function clerp(a, b, t)
1278
	local qa = {
1279
		QuaternionFromCFrame(a)
1280
	}
1281
	local qb = {
1282
		QuaternionFromCFrame(b)
1283
	}
1284
	local ax, ay, az = a.x, a.y, a.z
1285
	local bx, by, bz = b.x, b.y, b.z
1286
	local _t = 1 - t
1287
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1288
end
1289
function ShockWave(Part, cframe1, cframe2, Damage, Size)
1290
	coroutine.resume(coroutine.create(function() 
1291
		local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
1292
		wave.Anchored = true 
1293
		wave.CFrame = Part.CFrame * cframe1
1294
		local Msh = Create("SpecialMesh"){
1295
			Parent = wave,
1296
			MeshType = "Sphere"
1297
		}
1298
		Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
1299
		for i = 0, 1, 0.2 do
1300
			wait()
1301
			local dir = wave.CFrame.lookVector * -1
1302
			local pos = rayCast(wave.Position, dir, 5, Character)
1303
			wave.CFrame = wave.CFrame * cframe2
1304
                        table.insert(Effects, {
1305
                                wave,
1306
                                "Sphere",
1307
                                0.01,
1308
                                .03,
1309
                                .03,
1310
                                .03,
1311
                        })
1312
		end
1313
	end))
1314
end
1315
1316
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
1317
local type = type
1318
local rng = Instance.new("Part", char)
1319
        rng.Anchored = true
1320
        rng.BrickColor = color
1321
        rng.CanCollide = false
1322
        rng.FormFactor = 3
1323
        rng.Name = "Ring"
1324
        rng.Material = "Neon"
1325
        rng.Size = Vector3.new(1, 1, 1)
1326
        rng.Transparency = 0
1327
        rng.TopSurface = 0
1328
        rng.BottomSurface = 0
1329
        rng.CFrame = pos
1330
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1331
        local rngm = Instance.new("SpecialMesh", rng)
1332
        rngm.MeshType = "Brick"
1333
rngm.Scale = VT(x1,y1,z1)
1334
if rainbowmode == true then
1335
rng.Color = Color3.new(r/255,g/255,b/255)
1336
end
1337
local scaler2 = 1
1338
local speeder = FastSpeed/10
1339
if type == "Add" then
1340
scaler2 = 1*value
1341
elseif type == "Divide" then
1342
scaler2 = 1/value
1343
end
1344
coroutine.resume(coroutine.create(function()
1345
for i = 0,10/bonuspeed,0.1 do
1346
swait()
1347
if type == "Add" then
1348
scaler2 = scaler2 - 0.01*value/bonuspeed
1349
elseif type == "Divide" then
1350
scaler2 = scaler2 - 0.01/value*bonuspeed
1351
end
1352
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1353
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1354
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1355
end
1356
rng:Destroy()
1357
end))
1358
end
1359
New = function(Object, Parent, Name, Data)
1360
	local Object = Instance.new(Object)
1361
	for Index, Value in pairs(Data or {}) do
1362
		Object[Index] = Value
1363
	end
1364
	Object.Parent = Parent
1365
	Object.Name = Name
1366
	return Object
1367
end
1368
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
1369
local type = type
1370
local rotenable = rotatingop
1371
local rng = Instance.new("Part", char)
1372
        rng.Anchored = true
1373
        rng.BrickColor = color
1374
        rng.CanCollide = false
1375
        rng.FormFactor = 3
1376
        rng.Name = "Ring"
1377
        rng.Material = "Neon"
1378
        rng.Size = Vector3.new(1, 1, 1)
1379
        rng.Transparency = 0
1380
if typeoftrans == "In" then
1381
rng.Transparency = 1
1382
end
1383
        rng.TopSurface = 0
1384
        rng.BottomSurface = 0
1385
        rng.CFrame = pos
1386
        local rngm = Instance.new("SpecialMesh", rng)
1387
        rngm.MeshType = "FileMesh"
1388
if typeofshape == "Normal" then
1389
rngm.MeshId = "rbxassetid://662586858"
1390
elseif typeofshape == "Round" then
1391
rngm.MeshId = "rbxassetid://662585058"
1392
end
1393
rngm.Scale = scale
1394
local scaler2 = 1/10
1395
if type == "Add" then
1396
scaler2 = 1*value/10
1397
elseif type == "Divide" then
1398
scaler2 = 1/value/10
1399
end
1400
local randomrot = math.random(1,2)
1401
coroutine.resume(coroutine.create(function()
1402
for i = 0,10/bonuspeed,0.1 do
1403
swait()
1404
if type == "Add" then
1405
scaler2 = scaler2 - 0.01*value/bonuspeed/10
1406
elseif type == "Divide" then
1407
scaler2 = scaler2 - 0.01/value*bonuspeed/10
1408
end
1409
if rotenable == true then
1410
if randomrot == 1 then
1411
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
1412
elseif randomrot == 2 then
1413
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
1414
end
1415
end
1416
if typeoftrans == "Out" then
1417
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1418
elseif typeoftrans == "In" then
1419
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1420
end
1421
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
1422
end
1423
rng:Destroy()
1424
end))
1425
end
1426
function QuaternionFromCFrame(cf)
1427
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1428
	local trace = m00 + m11 + m22
1429
	if trace > 0 then
1430
		local s = math.sqrt(1 + trace)
1431
		local recip = 0.5 / s
1432
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1433
	else
1434
		local i = 0
1435
		if m00 < m11 then
1436
			i = 1
1437
		end
1438
		if m22 > (i == 0 and m00 or m11) then
1439
			i = 2
1440
		end
1441
		if i == 0 then
1442
			local s = math.sqrt(m00 - m11 - m22 + 1)
1443
			local recip = 0.5 / s
1444
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1445
		elseif i == 1 then
1446
			local s = math.sqrt(m11 - m22 - m00 + 1)
1447
			local recip = 0.5 / s
1448
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1449
		elseif i == 2 then
1450
			local s = math.sqrt(m22 - m00 - m11 + 1)
1451
			local recip = 0.5 / s
1452
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1453
		end
1454
	end
1455
end
1456
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1457
	local xs, ys, zs = x + x, y + y, z + z
1458
	local wx, wy, wz = w * xs, w * ys, w * zs
1459
	local xx = x * xs
1460
	local xy = x * ys
1461
	local xz = x * zs
1462
	local yy = y * ys
1463
	local yz = y * zs
1464
	local zz = z * zs
1465
	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))
1466
end
1467
function QuaternionSlerp(a, b, t)
1468
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1469
	local startInterp, finishInterp
1470
	if cosTheta >= 1.0E-4 then
1471
		if 1 - cosTheta > 1.0E-4 then
1472
			local theta = math.acos(cosTheta)
1473
			local invSinTheta = 1 / Sin(theta)
1474
			startInterp = Sin((1 - t) * theta) * invSinTheta
1475
			finishInterp = Sin(t * theta) * invSinTheta
1476
		else
1477
			startInterp = 1 - t
1478
			finishInterp = t
1479
		end
1480
	elseif 1 + cosTheta > 1.0E-4 then
1481
		local theta = math.acos(-cosTheta)
1482
		local invSinTheta = 1 / Sin(theta)
1483
		startInterp = Sin((t - 1) * theta) * invSinTheta
1484
		finishInterp = Sin(t * theta) * invSinTheta
1485
	else
1486
		startInterp = t - 1
1487
		finishInterp = t
1488
	end
1489
	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
1490
end
1491
function rayCast(Position, Direction, Range, Ignore)
1492
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
1493
end
1494
local RbxUtility = LoadLibrary("RbxUtility")
1495
local Create = RbxUtility.Create
1496
1497
-------------------------------------------------------
1498
--Start Damage Function--
1499
-------------------------------------------------------
1500
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1501
    if hit.Parent == nil then
1502
        return
1503
    end
1504
    local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1505
    for _, v in pairs(hit.Parent:children()) do
1506
        if v:IsA("Humanoid") then
1507
            h = v
1508
        end
1509
    end
1510
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
1511
   
1512
         hit.Parent:FindFirstChild("Head"):BreakJoints()
1513
         end
1514
 
1515
    if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
1516
        if hit.Parent:findFirstChild("DebounceHit") ~= nil then
1517
            if hit.Parent.DebounceHit.Value == true then
1518
                return
1519
            end
1520
        end
1521
         if insta == true then
1522
         hit.Parent:FindFirstChild("Head"):BreakJoints()
1523
         end
1524
        local c = Create("ObjectValue"){
1525
            Name = "creator",
1526
            Value = owner,
1527
            Parent = h,
1528
        }
1529
        game:GetService("Debris"):AddItem(c, .5)
1530
        if HitSound ~= nil and HitPitch ~= nil then
1531
            CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1532
        end
1533
        local Damage = math.random(minim, maxim)
1534
        local blocked = false
1535
        local block = hit.Parent:findFirstChild("Block")
1536
        if block ~= nil then
1537
            if block.className == "IntValue" then
1538
                if block.Value > 0 then
1539
                    blocked = true
1540
                    block.Value = block.Value - 1
1541
                    print(block.Value)
1542
                end
1543
            end
1544
        end
1545
        if blocked == false then
1546
            h.Health = h.Health - Damage
1547
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
1548
        else
1549
            h.Health = h.Health - (Damage / 2)
1550
            ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
1551
        end
1552
        if Type == "Knockdown" then
1553
            local hum = hit.Parent.Humanoid
1554
            hum.PlatformStand = true
1555
            coroutine.resume(coroutine.create(function(HHumanoid)
1556
                swait(1)
1557
                HHumanoid.PlatformStand = false
1558
            end), hum)
1559
            local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
1560
            local bodvol = Create("BodyVelocity"){
1561
                velocity = angle * knockback,
1562
                P = 5000,
1563
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1564
                Parent = hit,
1565
            }
1566
            local rl = Create("BodyAngularVelocity"){
1567
                P = 3000,
1568
                maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1569
                angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1570
                Parent = hit,
1571
            }
1572
            game:GetService("Debris"):AddItem(bodvol, .5)
1573
            game:GetService("Debris"):AddItem(rl, .5)
1574
        elseif Type == "Random Guy" then
1575
            local vp = Create("BodyVelocity"){
1576
                P = 500,
1577
                maxForce = Vector3.new(math.huge, 0, math.huge),
1578
                velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
1579
            }
1580
            if knockback > 0 then
1581
                vp.Parent = hit.Parent.Torso
1582
            end
1583
            game:GetService("Debris"):AddItem(vp, .5)
1584
        elseif Type == "Up" then
1585
            local bodyVelocity = Create("BodyVelocity"){
1586
                velocity = Vector3.new(0, 20, 0),
1587
                P = 5000,
1588
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1589
                Parent = hit,
1590
            }
1591
            game:GetService("Debris"):AddItem(bodyVelocity, .5)
1592
        elseif Type == "DarkUp" then
1593
            coroutine.resume(coroutine.create(function()
1594
                for i = 0, 1, 0.1 do
1595
                    swait()
1596
                    Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
1597
                end
1598
            end))
1599
            local bodyVelocity = Create("BodyVelocity"){
1600
                velocity = Vector3.new(0, 20, 0),
1601
                P = 5000,
1602
                maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
1603
                Parent = hit,
1604
            }
1605
            game:GetService("Debris"):AddItem(bodyVelocity, 1)
1606
        elseif Type == "Snare" then
1607
            local bp = Create("BodyPosition"){
1608
                P = 2000,
1609
                D = 100,
1610
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
1611
                position = hit.Parent.Torso.Position,
1612
                Parent = hit.Parent.Torso,
1613
            }
1614
            game:GetService("Debris"):AddItem(bp, 1)
1615
        elseif Type == "Freeze" then
1616
            local BodPos = Create("BodyPosition"){
1617
                P = 50000,
1618
                D = 1000,
1619
                maxForce = Vector3.new(math.huge, math.huge, math.huge),
1620
                position = hit.Parent.Torso.Position,
1621
                Parent = hit.Parent.Torso,
1622
            }
1623
            local BodGy = Create("BodyGyro") {
1624
                maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
1625
                P = 20e+003,
1626
                Parent = hit.Parent.Torso,
1627
                cframe = hit.Parent.Torso.CFrame,
1628
            }
1629
            hit.Parent.Torso.Anchored = true
1630
            coroutine.resume(coroutine.create(function(Part)
1631
                swait(1.5)
1632
                Part.Anchored = false
1633
            end), hit.Parent.Torso)
1634
            game:GetService("Debris"):AddItem(BodPos, 3)
1635
            game:GetService("Debris"):AddItem(BodGy, 3)
1636
        end
1637
        local debounce = Create("BoolValue"){
1638
            Name = "DebounceHit",
1639
            Parent = hit.Parent,
1640
            Value = true,
1641
        }
1642
        game:GetService("Debris"):AddItem(debounce, Delay)
1643
        c = Create("ObjectValue"){
1644
            Name = "creator",
1645
            Value = Player,
1646
            Parent = h,
1647
        }
1648
        game:GetService("Debris"):AddItem(c, .5)
1649
    end
1650
end
1651
-------------------------------------------------------
1652
--End Damage Function--
1653
-------------------------------------------------------
1654
local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
1655
ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
1656
ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
1657
ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
1658
ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
1659
ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
1660
ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
1661
ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
1662
local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
1663
local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
1664
local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
1665
DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1666
DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1
1667
DTrail2.Enabled = false
1668
local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
1669
local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
1670
local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
1671
DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1672
DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1
1673
DTrail3.Enabled = false
1674
local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
1675
local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
1676
local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
1677
DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1678
DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1
1679
DTrail4.Enabled = false
1680
local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
1681
local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
1682
local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
1683
DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1684
DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1
1685
DTrail5.Enabled = false
1686
local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
1687
local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
1688
local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
1689
DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
1690
DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1
1691
DTrail.Enabled = false
1692
-------------------------------------------------------
1693
--Start Damage Function Customization--
1694
-------------------------------------------------------
1695
function ShowDamage(Pos, Text, Time, Color)
1696
	local Rate = (1 / 30)
1697
	local Pos = (Pos or Vector3.new(0, 0, 0))
1698
	local Text = (Text or "")
1699
	local Time = (Time or 2)
1700
	local Color = (Color or Color3.new(1, 0, 1))
1701
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1702
	EffectPart.Anchored = true
1703
	local BillboardGui = Create("BillboardGui"){
1704
		Size = UDim2.new(3, 0, 3, 0),
1705
		Adornee = EffectPart,
1706
		Parent = EffectPart,
1707
	}
1708
	local TextLabel = Create("TextLabel"){
1709
		BackgroundTransparency = 1,
1710
		Size = UDim2.new(1, 0, 1, 0),
1711
		Text = Text,
1712
		Font = "Bodoni",
1713
		TextColor3 = Color,
1714
		TextScaled = true,
1715
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
1716
		Parent = BillboardGui,
1717
	}
1718
	game.Debris:AddItem(EffectPart, (Time))
1719
	EffectPart.Parent = game:GetService("Workspace")
1720
	delay(0, function()
1721
		local Frames = (Time / Rate)
1722
		for Frame = 1, Frames do
1723
			wait(Rate)
1724
			local Percent = (Frame / Frames)
1725
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1726
			TextLabel.TextTransparency = Percent
1727
		end
1728
		if EffectPart and EffectPart.Parent then
1729
			EffectPart:Destroy()
1730
		end
1731
	end)
1732
end
1733
-------------------------------------------------------
1734
--End Damage Function Customization--
1735
-------------------------------------------------------
1736
1737
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1738
  for _, c in pairs(workspace:children()) do
1739
    local hum = c:findFirstChild("Humanoid")
1740
    if hum ~= nil then
1741
      local head = c:findFirstChild("Head")
1742
      if head ~= nil then
1743
        local targ = head.Position - Part.Position
1744
        local mag = targ.magnitude
1745
        if magni >= mag and c.Name ~= Player.Name then
1746
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
1747
        end
1748
      end
1749
    end
1750
  end
1751
end
1752
1753
1754
CFuncs = {
1755
	Part = {
1756
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1757
			local Part = Create("Part")({
1758
				Parent = Parent,
1759
				Reflectance = Reflectance,
1760
				Transparency = Transparency,
1761
				CanCollide = false,
1762
				Locked = true,
1763
				BrickColor = BrickColor.new(tostring(BColor)),
1764
				Name = Name,
1765
				Size = Size,
1766
				Material = Material
1767
			})
1768
			RemoveOutlines(Part)
1769
			return Part
1770
		end
1771
	},
1772
	Mesh = {
1773
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1774
			local Msh = Create(Mesh)({
1775
				Parent = Part,
1776
				Offset = OffSet,
1777
				Scale = Scale
1778
			})
1779
			if Mesh == "SpecialMesh" then
1780
				Msh.MeshType = MeshType
1781
				Msh.MeshId = MeshId
1782
			end
1783
			return Msh
1784
		end
1785
	},
1786
	Mesh = {
1787
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1788
			local Msh = Create(Mesh)({
1789
				Parent = Part,
1790
				Offset = OffSet,
1791
				Scale = Scale
1792
			})
1793
			if Mesh == "SpecialMesh" then
1794
				Msh.MeshType = MeshType
1795
				Msh.MeshId = MeshId
1796
			end
1797
			return Msh
1798
		end
1799
	},
1800
	Weld = {
1801
		Create = function(Parent, Part0, Part1, C0, C1)
1802
			local Weld = Create("Weld")({
1803
				Parent = Parent,
1804
				Part0 = Part0,
1805
				Part1 = Part1,
1806
				C0 = C0,
1807
				C1 = C1
1808
			})
1809
			return Weld
1810
		end
1811
	},
1812
	Sound = {
1813
		Create = function(id, par, vol, pit)
1814
			coroutine.resume(coroutine.create(function()
1815
				local S = Create("Sound")({
1816
					Volume = vol,
1817
					Pitch = pit or 1,
1818
					SoundId = id,
1819
					Parent = par or workspace
1820
				})
1821
				wait()
1822
				S:play()
1823
				game:GetService("Debris"):AddItem(S, 6)
1824
			end))
1825
		end
1826
	},
1827
	ParticleEmitter = {
1828
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1829
			local fp = Create("ParticleEmitter")({
1830
				Parent = Parent,
1831
				Color = ColorSequence.new(Color1, Color2),
1832
				LightEmission = LightEmission,
1833
				Size = Size,
1834
				Texture = Texture,
1835
				Transparency = Transparency,
1836
				ZOffset = ZOffset,
1837
				Acceleration = Accel,
1838
				Drag = Drag,
1839
				LockedToPart = LockedToPart,
1840
				VelocityInheritance = VelocityInheritance,
1841
				EmissionDirection = EmissionDirection,
1842
				Enabled = Enabled,
1843
				Lifetime = LifeTime,
1844
				Rate = Rate,
1845
				Rotation = Rotation,
1846
				RotSpeed = RotSpeed,
1847
				Speed = Speed,
1848
				VelocitySpread = VelocitySpread
1849
			})
1850
			return fp
1851
		end
1852
	}
1853
}
1854
function RemoveOutlines(part)
1855
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1856
end
1857
function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1858
	local Part = Create("Part")({
1859
		formFactor = FormFactor,
1860
		Parent = Parent,
1861
		Reflectance = Reflectance,
1862
		Transparency = Transparency,
1863
		CanCollide = false,
1864
		Locked = true,
1865
		BrickColor = BrickColor.new(tostring(BColor)),
1866
		Name = Name,
1867
		Size = Size,
1868
		Material = Material
1869
	})
1870
	RemoveOutlines(Part)
1871
	return Part
1872
end
1873
function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1874
	local Msh = Create(Mesh)({
1875
		Parent = Part,
1876
		Offset = OffSet,
1877
		Scale = Scale
1878
	})
1879
	if Mesh == "SpecialMesh" then
1880
		Msh.MeshType = MeshType
1881
		Msh.MeshId = MeshId
1882
	end
1883
	return Msh
1884
end
1885
function CreateWeld(Parent, Part0, Part1, C0, C1)
1886
	local Weld = Create("Weld")({
1887
		Parent = Parent,
1888
		Part0 = Part0,
1889
		Part1 = Part1,
1890
		C0 = C0,
1891
		C1 = C1
1892
	})
1893
	return Weld
1894
end
1895
1896
1897
-------------------------------------------------------
1898
--Start Effect Function--
1899
-------------------------------------------------------
1900
EffectModel = Instance.new("Model", char)
1901
Effects = {
1902
  Block = {
1903
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1904
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1905
      prt.Anchored = true
1906
      prt.CFrame = cframe
1907
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1908
      game:GetService("Debris"):AddItem(prt, 10)
1909
      if Type == 1 or Type == nil then
1910
        table.insert(Effects, {
1911
          prt,
1912
          "Block1",
1913
          delay,
1914
          x3,
1915
          y3,
1916
          z3,
1917
          msh
1918
        })
1919
      elseif Type == 2 then
1920
        table.insert(Effects, {
1921
          prt,
1922
          "Block2",
1923
          delay,
1924
          x3,
1925
          y3,
1926
          z3,
1927
          msh
1928
        })
1929
      else
1930
        table.insert(Effects, {
1931
          prt,
1932
          "Block3",
1933
          delay,
1934
          x3,
1935
          y3,
1936
          z3,
1937
          msh
1938
        })
1939
      end
1940
    end
1941
  },
1942
  Sphere = {
1943
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1944
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1945
      prt.Anchored = true
1946
      prt.CFrame = cframe
1947
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1948
      game:GetService("Debris"):AddItem(prt, 10)
1949
      table.insert(Effects, {
1950
        prt,
1951
        "Cylinder",
1952
        delay,
1953
        x3,
1954
        y3,
1955
        z3,
1956
        msh
1957
      })
1958
    end
1959
  },
1960
  Cylinder = {
1961
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1962
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1963
      prt.Anchored = true
1964
      prt.CFrame = cframe
1965
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1966
      game:GetService("Debris"):AddItem(prt, 10)
1967
      table.insert(Effects, {
1968
        prt,
1969
        "Cylinder",
1970
        delay,
1971
        x3,
1972
        y3,
1973
        z3,
1974
        msh
1975
      })
1976
    end
1977
  },
1978
  Wave = {
1979
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1980
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1981
      prt.Anchored = true
1982
      prt.CFrame = cframe
1983
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
1984
      game:GetService("Debris"):AddItem(prt, 10)
1985
      table.insert(Effects, {
1986
        prt,
1987
        "Cylinder",
1988
        delay,
1989
        x3 / 60,
1990
        y3 / 60,
1991
        z3 / 60,
1992
        msh
1993
      })
1994
    end
1995
  },
1996
  Ring = {
1997
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1998
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1999
      prt.Anchored = true
2000
      prt.CFrame = cframe
2001
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2002
      game:GetService("Debris"):AddItem(prt, 10)
2003
      table.insert(Effects, {
2004
        prt,
2005
        "Cylinder",
2006
        delay,
2007
        x3,
2008
        y3,
2009
        z3,
2010
        msh
2011
      })
2012
    end
2013
  },
2014
  Break = {
2015
    Create = function(brickcolor, cframe, x1, y1, z1)
2016
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2017
      prt.Anchored = true
2018
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2019
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2020
      local num = math.random(10, 50) / 1000
2021
      game:GetService("Debris"):AddItem(prt, 10)
2022
      table.insert(Effects, {
2023
        prt,
2024
        "Shatter",
2025
        num,
2026
        prt.CFrame,
2027
        math.random() - math.random(),
2028
        0,
2029
        math.random(50, 100) / 100
2030
      })
2031
    end
2032
  },
2033
Spiral = {
2034
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2035
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2036
      prt.Anchored = true
2037
      prt.CFrame = cframe
2038
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2039
      game:GetService("Debris"):AddItem(prt, 10)
2040
      table.insert(Effects, {
2041
        prt,
2042
        "Cylinder",
2043
        delay,
2044
        x3,
2045
        y3,
2046
        z3,
2047
        msh
2048
      })
2049
    end
2050
  },
2051
Push = {
2052
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2053
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2054
      prt.Anchored = true
2055
      prt.CFrame = cframe
2056
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2057
      game:GetService("Debris"):AddItem(prt, 10)
2058
      table.insert(Effects, {
2059
        prt,
2060
        "Cylinder",
2061
        delay,
2062
        x3,
2063
        y3,
2064
        z3,
2065
        msh
2066
      })
2067
    end
2068
  }
2069
}
2070
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
2071
	local fp = IT("Part")
2072
	fp.formFactor = formfactor 
2073
	fp.Parent = parent
2074
	fp.Reflectance = reflectance
2075
	fp.Transparency = transparency
2076
	fp.CanCollide = false 
2077
	fp.Locked = true
2078
	fp.BrickColor = brickcolor
2079
	fp.Name = name
2080
	fp.Size = size
2081
	fp.Position = tors.Position 
2082
	RemoveOutlines(fp)
2083
	fp.Material = "SmoothPlastic"
2084
	fp:BreakJoints()
2085
	return fp 
2086
end 
2087
 
2088
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2089
	local mesh = IT(Mesh) 
2090
	mesh.Parent = part
2091
	if Mesh == "SpecialMesh" then
2092
		mesh.MeshType = meshtype
2093
	if meshid ~= "nil" then
2094
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
2095
		end
2096
	end
2097
	mesh.Offset = offset
2098
	mesh.Scale = scale
2099
	return mesh
2100
end
2101
2102
function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
2103
	local type = type
2104
	local rng = Instance.new("Part", char)
2105
	rng.Anchored = true
2106
	rng.BrickColor = color
2107
	rng.CanCollide = false
2108
	rng.FormFactor = 3
2109
	rng.Name = "Ring"
2110
	rng.Material = "Neon"
2111
	rng.Size = Vector3.new(1, 1, 1)
2112
	rng.Transparency = 1
2113
	rng.TopSurface = 0
2114
	rng.BottomSurface = 0
2115
	rng.CFrame = pos
2116
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2117
	local rngm = Instance.new("SpecialMesh", rng)
2118
	rngm.MeshType = MType
2119
	rngm.Scale = Vector3.new(x1, y1, z1)
2120
	local scaler2 = 1
2121
	local speeder = FastSpeed
2122
	if type == "Add" then
2123
		scaler2 = 1 * value
2124
	elseif type == "Divide" then
2125
		scaler2 = 1 / value
2126
	end
2127
	coroutine.resume(coroutine.create(function()
2128
		for i = 0, 10 / bonuspeed, 0.1 do
2129
			swait()
2130
			if type == "Add" then
2131
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2132
			elseif type == "Divide" then
2133
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2134
			end
2135
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2136
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2137
			rng.Transparency = rng.Transparency - 0.01 * bonuspeed
2138
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2139
		end
2140
		rng:Destroy()
2141
	end))
2142
end
2143
2144
function Magic(bonuspeed, type, pos, scale, value, color, MType)
2145
	local type = type
2146
	local rng = Instance.new("Part", char)
2147
	rng.Anchored = true
2148
	rng.BrickColor = color
2149
	rng.CanCollide = false
2150
	rng.FormFactor = 3
2151
	rng.Name = "Ring"
2152
	rng.Material = "Neon"
2153
	rng.Size = Vector3.new(1, 1, 1)
2154
	rng.Transparency = 0
2155
	rng.TopSurface = 0
2156
	rng.BottomSurface = 0
2157
	rng.CFrame = pos
2158
	local rngm = Instance.new("SpecialMesh", rng)
2159
	rngm.MeshType = MType
2160
	rngm.Scale = scale
2161
	local scaler2 = 1
2162
	if type == "Add" then
2163
		scaler2 = 1 * value
2164
	elseif type == "Divide" then
2165
		scaler2 = 1 / value
2166
	end
2167
	coroutine.resume(coroutine.create(function()
2168
		for i = 0, 10 / bonuspeed, 0.1 do
2169
			swait()
2170
			if type == "Add" then
2171
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2172
			elseif type == "Divide" then
2173
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2174
			end
2175
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2176
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
2177
		end
2178
		rng:Destroy()
2179
	end))
2180
end
2181
2182
function Eviscerate(dude)
2183
	if dude.Name ~= char then
2184
		local bgf = IT("BodyGyro", dude.Head)
2185
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2186
		local val = IT("BoolValue", dude)
2187
		val.Name = "IsHit"
2188
		local ds = coroutine.wrap(function()
2189
			dude:WaitForChild("Head"):BreakJoints()
2190
			wait(0.5)
2191
			target = nil
2192
			coroutine.resume(coroutine.create(function()
2193
				for i, v in pairs(dude:GetChildren()) do
2194
					if v:IsA("Accessory") then
2195
						v:Destroy()
2196
					end
2197
					if v:IsA("Humanoid") then
2198
						v:Destroy()
2199
					end
2200
					if v:IsA("CharacterMesh") then
2201
						v:Destroy()
2202
					end
2203
					if v:IsA("Model") then
2204
						v:Destroy()
2205
					end
2206
					if v:IsA("Part") or v:IsA("MeshPart") then
2207
						for x, o in pairs(v:GetChildren()) do
2208
							if o:IsA("Decal") then
2209
								o:Destroy()
2210
							end
2211
						end
2212
						coroutine.resume(coroutine.create(function()
2213
							v.Material = "Neon"
2214
							v.CanCollide = false
2215
							local PartEmmit1 = IT("ParticleEmitter", v)
2216
							PartEmmit1.LightEmission = 1
2217
							PartEmmit1.Texture = "rbxassetid://284205403"
2218
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2219
							PartEmmit1.Rate = 150
2220
							PartEmmit1.Lifetime = NumberRange.new(1)
2221
							PartEmmit1.Size = NumberSequence.new({
2222
								NumberSequenceKeypoint.new(0, 0.75, 0),
2223
								NumberSequenceKeypoint.new(1, 0, 0)
2224
							})
2225
							PartEmmit1.Transparency = NumberSequence.new({
2226
								NumberSequenceKeypoint.new(0, 0, 0),
2227
								NumberSequenceKeypoint.new(1, 1, 0)
2228
							})
2229
							PartEmmit1.Speed = NumberRange.new(0, 0)
2230
							PartEmmit1.VelocitySpread = 30000
2231
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
2232
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
2233
							local BodPoss = IT("BodyPosition", v)
2234
							BodPoss.P = 3000
2235
							BodPoss.D = 1000
2236
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2237
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2238
							v.Color = maincolor.Color
2239
							coroutine.resume(coroutine.create(function()
2240
								for i = 0, 49 do
2241
									swait(1)
2242
									v.Transparency = v.Transparency + 0.08
2243
								end
2244
								wait(0.5)
2245
								PartEmmit1.Enabled = false
2246
								wait(3)
2247
								v:Destroy()
2248
								dude:Destroy()
2249
							end))
2250
						end))
2251
					end
2252
				end
2253
			end))
2254
		end)
2255
		ds()
2256
	end
2257
end
2258
2259
function FindNearestHead(Position, Distance, SinglePlayer)
2260
	if SinglePlayer then
2261
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
2262
	end
2263
	local List = {}
2264
	for i, v in pairs(workspace:GetChildren()) do
2265
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
2266
			table.insert(List, v)
2267
		end
2268
	end
2269
	return List
2270
end
2271
2272
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
2273
	local type = type
2274
	local rng = Instance.new("Part", char)
2275
	rng.Anchored = true
2276
	rng.BrickColor = color
2277
	rng.CanCollide = false
2278
	rng.FormFactor = 3
2279
	rng.Name = "Ring"
2280
	rng.Material = "Neon"
2281
	rng.Size = Vector3.new(1, 1, 1)
2282
	rng.Transparency = 0
2283
	rng.TopSurface = 0
2284
	rng.BottomSurface = 0
2285
	rng.CFrame = pos
2286
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2287
	local rngm = Instance.new("SpecialMesh", rng)
2288
	rngm.MeshType = MType
2289
	rngm.Scale = Vector3.new(x1, y1, z1)
2290
	local scaler2 = 1
2291
	local speeder = FastSpeed
2292
	if type == "Add" then
2293
		scaler2 = 1 * value
2294
	elseif type == "Divide" then
2295
		scaler2 = 1 / value
2296
	end
2297
	coroutine.resume(coroutine.create(function()
2298
		for i = 0, 10 / bonuspeed, 0.1 do
2299
			swait()
2300
			if type == "Add" then
2301
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2302
			elseif type == "Divide" then
2303
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2304
			end
2305
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2306
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2307
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2308
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2309
		end
2310
		rng:Destroy()
2311
	end))
2312
end
2313
2314
function SoulSteal(dude)
2315
if dude.Name ~= char then
2316
local bgf = IT("BodyGyro", dude.Head)
2317
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
2318
local val = IT("BoolValue", dude)
2319
val.Name = "IsHit"
2320
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
2321
local soulst = coroutine.wrap(function()
2322
local soul = Instance.new("Part",dude)
2323
soul.Size = Vector3.new(1,1,1)
2324
soul.CanCollide = false
2325
soul.Anchored = false
2326
soul.Position = torso.Position
2327
soul.Transparency = 1
2328
local PartEmmit1 = IT("ParticleEmitter", soul)
2329
PartEmmit1.LightEmission = 1
2330
PartEmmit1.Texture = "rbxassetid://569507414"
2331
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2332
PartEmmit1.Rate = 250
2333
PartEmmit1.Lifetime = NumberRange.new(1.6)
2334
PartEmmit1.Size = NumberSequence.new({
2335
	NumberSequenceKeypoint.new(0, 1, 0),
2336
	NumberSequenceKeypoint.new(1, 0, 0)
2337
})
2338
PartEmmit1.Transparency = NumberSequence.new({
2339
	NumberSequenceKeypoint.new(0, 0, 0),
2340
	NumberSequenceKeypoint.new(1, 1, 0)
2341
})
2342
PartEmmit1.Speed = NumberRange.new(0, 0)
2343
PartEmmit1.VelocitySpread = 30000
2344
PartEmmit1.Rotation = NumberRange.new(-360, 360)
2345
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
2346
local BodPoss = IT("BodyPosition", soul)
2347
BodPoss.P = 3000
2348
BodPoss.D = 1000
2349
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2350
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
2351
wait(1.6)
2352
soul.Touched:connect(function(hit)
2353
	if hit.Parent == char then
2354
	soul:Destroy()
2355
	end
2356
end)
2357
wait(1.2)
2358
while soul do
2359
	swait()
2360
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
2361
	BodPoss.Position = tors.Position
2362
end
2363
end)
2364
	soulst()
2365
	end
2366
end
2367
function FaceMouse()
2368
local	Cam = workspace.CurrentCamera
2369
	return {
2370
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2371
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2372
	}
2373
end
2374
-------------------------------------------------------
2375
--End Effect Function--
2376
-------------------------------------------------------
2377
function Cso(ID, PARENT, VOLUME, PITCH)
2378
	local NSound = nil
2379
	coroutine.resume(coroutine.create(function()
2380
		NSound = IT("Sound", PARENT)
2381
		NSound.Volume = VOLUME
2382
		NSound.Pitch = PITCH
2383
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
2384
		swait()
2385
		NSound:play()
2386
		game:GetService("Debris"):AddItem(NSound, 10)
2387
	end))
2388
	return NSound
2389
end
2390
function CameraEnshaking(Length, Intensity)
2391
	coroutine.resume(coroutine.create(function()
2392
		local intensity = 1 * Intensity
2393
		local rotM = 0.01 * Intensity
2394
		for i = 0, Length, 0.1 do
2395
			swait()
2396
			intensity = intensity - 0.05 * Intensity / Length
2397
			rotM = rotM - 5.0E-4 * Intensity / Length
2398
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
2399
			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)
2400
		end
2401
		hum.CameraOffset = Vector3.new(0, 0, 0)
2402
	end))
2403
end
2404
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
2405
local Hitboxpart = Instance.new("Part", EffectModel)
2406
  RemoveOutlines(Hitboxpart)
2407
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
2408
  Hitboxpart.CanCollide = false
2409
  Hitboxpart.Transparency = 1
2410
  Hitboxpart.Anchored = true
2411
  Hitboxpart.CFrame = Pose
2412
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
2413
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
2414
end
2415
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2416
  local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2417
  prt.Anchored = true
2418
  prt.CFrame = cframe
2419
  local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2420
  game:GetService("Debris"):AddItem(prt, 10)
2421
  if Type == 1 or Type == nil then
2422
    table.insert(Effects, {
2423
      prt,
2424
      "Block1",
2425
      delay,
2426
      x3,
2427
      y3,
2428
      z3,
2429
      msh
2430
    })
2431
  elseif Type == 2 then
2432
    table.insert(Effects, {
2433
      prt,
2434
      "Block2",
2435
      delay,
2436
      x3,
2437
      y3,
2438
      z3,
2439
      msh
2440
    })
2441
  elseif Type == 3 then
2442
    table.insert(Effects, {
2443
      prt,
2444
      "Block3",
2445
      delay,
2446
      x3,
2447
      y3,
2448
      z3,
2449
      msh
2450
    })
2451
  end
2452
end
2453
2454
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2455
	local Part = Create("Part"){
2456
		Parent = Parent,
2457
		Reflectance = Reflectance,
2458
		Transparency = Transparency,
2459
		CanCollide = false,
2460
		Locked = true,
2461
		BrickColor = BrickColor.new(tostring(BColor)),
2462
		Name = Name,
2463
		Size = Size,
2464
		Material = Material,
2465
	}
2466
	RemoveOutlines(Part)
2467
	return Part
2468
end
2469
	
2470
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2471
	local Msh = Create(Mesh){
2472
		Parent = Part,
2473
		Offset = OffSet,
2474
		Scale = Scale,
2475
	}
2476
	if Mesh == "SpecialMesh" then
2477
		Msh.MeshType = MeshType
2478
		Msh.MeshId = MeshId
2479
	end
2480
	return Msh
2481
end
2482
2483
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2484
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))
2485
prt.Anchored = true
2486
prt.CFrame = cframe
2487
local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
2488
game:GetService("Debris"):AddItem(prt,2)
2489
coroutine.resume(coroutine.create(function(Part,Mesh,num) 
2490
for i=0,1,delay do
2491
swait()
2492
Part.Transparency=i
2493
Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
2494
end
2495
Part.Parent=nil
2496
end),prt,msh,(math.random(0,1)+math.random())/5)
2497
end
2498
-------------------------------------------------------
2499
--End Important Functions--
2500
-------------------------------------------------------
2501
2502
2503
2504
--[[
2505
		Thanks for using Build-To-Lua by jarredbcv.
2506
]]--
2507
2508
New = function(Object, Parent, Name, Data)
2509
	local Object = Instance.new(Object)
2510
	for Index, Value in pairs(Data or {}) do
2511
		Object[Index] = Value
2512
	end
2513
	Object.Parent = Parent
2514
	Object.Name = Name
2515
	return Object
2516
end
2517
	
2518
Player = game:GetService("Players").LocalPlayer
2519
PlayerGui = Player.PlayerGui
2520
Cam = workspace.CurrentCamera
2521
Backpack = Player.Backpack
2522
Character = Player.Character
2523
Mouse = Player:GetMouse()
2524
RootPart = Character["HumanoidRootPart"]
2525
Torso = Character["Torso"]
2526
Head = Character["Head"]
2527
RightArm = Character["Right Arm"]
2528
LeftArm = Character["Left Arm"]
2529
RightLeg = Character["Right Leg"]
2530
LeftLeg = Character["Left Leg"]
2531
RootJoint = RootPart["RootJoint"]
2532
Neck = Torso["Neck"]
2533
2534
IT = Instance.new
2535
CF = CFrame.new
2536
VT = Vector3.new
2537
RAD = math.rad
2538
C3 = Color3.new
2539
UD2 = UDim2.new
2540
BRICKC = BrickColor.new
2541
ANGLES = CFrame.Angles
2542
EULER = CFrame.fromEulerAnglesXYZ
2543
COS = math.cos
2544
ACOS = math.acos
2545
SIN = math.sin
2546
ASIN = math.asin
2547
ABS = math.abs
2548
MRANDOM = math.random
2549
FLOOR = math.floor
2550
2551
local WEAPONGUI = IT("ScreenGui", PlayerGui)
2552
WEAPONGUI.Name = "Weapon GUI"
2553
2554
function CreatePart3(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
2555
    local NEWPART = IT("Part")
2556
    NEWPART.formFactor = FORMFACTOR
2557
    NEWPART.Reflectance = REFLECTANCE
2558
    NEWPART.Transparency = TRANSPARENCY
2559
    NEWPART.CanCollide = false
2560
    NEWPART.Locked = true
2561
    NEWPART.Anchored = true
2562
    if ANCHOR == false then
2563
        NEWPART.Anchored = false
2564
    end
2565
    NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
2566
    NEWPART.Name = NAME
2567
    NEWPART.Size = SIZE
2568
    NEWPART.Position = Torso.Position
2569
    NEWPART.Material = MATERIAL
2570
    NEWPART:BreakJoints()
2571
    NEWPART.Parent = PARENT
2572
    return NEWPART
2573
end
2574
2575
function NoOutlines(PART)
2576
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
2577
end
2578
 
2579
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
2580
    local NEWWELD = IT(TYPE)
2581
    NEWWELD.Part0 = PART0
2582
    NEWWELD.Part1 = PART1
2583
    NEWWELD.C0 = C0
2584
    NEWWELD.C1 = C1
2585
    NEWWELD.Parent = PARENT
2586
    return NEWWELD
2587
end
2588
2589
function MakeForm(PART,TYPE)
2590
    if TYPE == "Cyl" then
2591
        local MSH = IT("CylinderMesh",PART)
2592
    elseif TYPE == "Ball" then
2593
        local MSH = IT("SpecialMesh",PART)
2594
        MSH.MeshType = "Sphere"
2595
    elseif TYPE == "Wedge" then
2596
        local MSH = IT("SpecialMesh",PART)
2597
        MSH.MeshType = "Wedge"
2598
    end
2599
end
2600
2601
2602
--GAUGNETS AND STUFF--
2603
2604
local cn = CFrame.new
2605
NeonColorParts100 = {}
2606
NeonColorParts1000 = {}
2607
local BC = Character["Body Colors"]
2608
2609
local aa35 = Instance.new("Part")
2610
aa35.Parent = char
2611
aa35.Size = Vector3.new(0.2, 0.2, 0.2)
2612
aa35.Archivable = true
2613
aa35.Transparency = 0
2614
aa35.Shape = "Ball"
2615
aa35.BrickColor = BrickColor.new("White")
2616
aa35.Material = "Neon"
2617
aa35.CanCollide = false
2618
local mesh = Instance.new("SpecialMesh", aa35)
2619
mesh.MeshType = "Cylinder"
2620
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2621
local weld1en = Instance.new("Weld")
2622
weld1en.Part1 = aa35
2623
weld1en.C1 = CFrame.new(-0.22, 0, -0.065)
2624
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2625
2626
local aa34 = Instance.new("Part")
2627
aa34.Parent = char
2628
aa34.Size = Vector3.new(0.2, 0.2, 0.2)
2629
aa34.Archivable = true
2630
aa34.Transparency = 0
2631
aa34.Shape = "Ball"
2632
aa34.Material = "Metal"
2633
aa34.CanCollide = false
2634
local mesh = Instance.new("SpecialMesh", aa34)
2635
mesh.MeshType = "Cylinder"
2636
mesh.Scale = Vector3.new(1, 5.70, 15)
2637
local weld1en = Instance.new("Weld")
2638
2639
weld1en.Part1 = aa34
2640
weld1en.C1 = CFrame.new(-0.22, 0, -0.06)
2641
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2642
2643
local aa33 = Instance.new("Part")
2644
aa33.Parent = char
2645
aa33.Size = Vector3.new(0.2, 0.2, 0.2)
2646
aa33.Archivable = true
2647
aa33.Transparency = 0
2648
aa33.Shape = "Ball"
2649
aa33.BrickColor = BrickColor.new("White")
2650
aa33.Material = "Neon"
2651
aa33.CanCollide = false
2652
local mesh = Instance.new("SpecialMesh", aa33)
2653
mesh.MeshType = "Cylinder"
2654
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2655
local weld1en = Instance.new("Weld")
2656
2657
weld1en.Part1 = aa33
2658
weld1en.C1 = CFrame.new(0, 0, -0.065)
2659
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2660
2661
local aa32 = Instance.new("Part")
2662
aa32.Parent = char
2663
aa32.Size = Vector3.new(0.2, 0.2, 0.2)
2664
aa32.Archivable = true
2665
aa32.Transparency = 0
2666
aa32.Shape = "Ball"
2667
aa32.Material = "Metal"
2668
aa32.CanCollide = false
2669
local mesh = Instance.new("SpecialMesh", aa32)
2670
mesh.MeshType = "Cylinder"
2671
mesh.Scale = Vector3.new(1, 5.70, 15)
2672
local weld1en = Instance.new("Weld")
2673
2674
weld1en.Part1 = aa32
2675
weld1en.C1 = CFrame.new(0, 0, -0.06)
2676
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2677
2678
local aa31 = Instance.new("Part")
2679
aa31.Parent = char
2680
aa31.Size = Vector3.new(0.2, 0.2, 0.2)
2681
aa31.Archivable = true
2682
aa31.Transparency = 0
2683
aa31.Shape = "Ball"
2684
aa31.BrickColor = BrickColor.new("White")
2685
aa31.Material = "Neon"
2686
aa31.CanCollide = false
2687
local mesh = Instance.new("SpecialMesh", aa31)
2688
mesh.MeshType = "Cylinder"
2689
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2690
local weld1en = Instance.new("Weld")
2691
2692
weld1en.Part1 = aa31
2693
weld1en.C1 = CFrame.new(0.22, 0, -0.065)
2694
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2695
2696
local aa30  = Instance.new("Part")
2697
aa30.Parent = char
2698
aa30.Size = Vector3.new(0.2, 0.2, 0.2)
2699
aa30.Archivable = true
2700
aa30.Transparency = 0
2701
aa30.Shape = "Ball"
2702
aa30.Material = "Metal"
2703
aa30.CanCollide = false
2704
local mesh = Instance.new("SpecialMesh", aa30)
2705
mesh.MeshType = "Cylinder"
2706
mesh.Scale = Vector3.new(1, 5.70, 15)
2707
local weld1en = Instance.new("Weld")
2708
2709
weld1en.Part1 = aa30
2710
weld1en.C1 = CFrame.new(0.22, 0, -0.06)
2711
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2712
2713
local aa28 = Instance.new("Part")
2714
aa28.Parent = char
2715
aa28.Size = Vector3.new(0.2, 0.2, 0.2)
2716
aa28.Archivable = true
2717
aa28.Transparency = 0
2718
aa28.Shape = "Ball"
2719
aa28.BrickColor = BrickColor.new("White")
2720
aa28.Material = "Neon"
2721
aa28.CanCollide = false
2722
local mesh = Instance.new("SpecialMesh", aa28)
2723
mesh.MeshType = "Cylinder"
2724
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2725
local weld1en = Instance.new("Weld")
2726
2727
weld1en.Part1 = aa28
2728
weld1en.C1 = CFrame.new(0.22, 0, 0.065)
2729
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2730
2731
local aa27 = Instance.new("Part")
2732
aa27.Parent = char
2733
aa27.Size = Vector3.new(0.2, 0.2, 0.2)
2734
aa27.Archivable = true
2735
aa27.Transparency = 0
2736
aa27.Shape = "Ball"
2737
aa27.Material = "Metal"
2738
aa27.CanCollide = false
2739
local mesh = Instance.new("SpecialMesh", aa27)
2740
mesh.MeshType = "Cylinder"
2741
mesh.Scale = Vector3.new(1, 5.70, 15)
2742
local weld1en = Instance.new("Weld")
2743
2744
weld1en.Part1 = aa27
2745
weld1en.C1 = CFrame.new(0.22, 0, 0.06)
2746
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2747
2748
local aa26 = Instance.new("Part")
2749
aa26.Parent = char
2750
aa26.Size = Vector3.new(0.2, 0.2, 0.2)
2751
aa26.Archivable = true
2752
aa26.Transparency = 0
2753
aa26.Shape = "Ball"
2754
aa26.BrickColor = BrickColor.new("White")
2755
aa26.Material = "Neon"
2756
aa26.CanCollide = false
2757
local mesh = Instance.new("SpecialMesh", aa26)
2758
mesh.MeshType = "Cylinder"
2759
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2760
local weld1en = Instance.new("Weld")
2761
2762
weld1en.Part1 = aa26
2763
weld1en.C1 = CFrame.new(0, 0, 0.065)
2764
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2765
2766
local aa25 = Instance.new("Part")
2767
aa25.Parent = char
2768
aa25.Size = Vector3.new(0.2, 0.2, 0.2)
2769
aa25.Archivable = true
2770
aa25.Transparency = 0
2771
aa25.Shape = "Ball"
2772
aa25.Material = "Metal"
2773
aa25.CanCollide = false
2774
local mesh = Instance.new("SpecialMesh", aa25)
2775
mesh.MeshType = "Cylinder"
2776
mesh.Scale = Vector3.new(1, 5.70, 15)
2777
local weld1en = Instance.new("Weld")
2778
2779
weld1en.Part1 = aa25
2780
weld1en.C1 = CFrame.new(0, 0, 0.06)
2781
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2782
2783
local aa24 = Instance.new("Part")
2784
aa24.Parent = char
2785
aa24.Size = Vector3.new(0.2, 0.2, 0.2)
2786
aa24.Archivable = true
2787
aa24.Transparency = 0
2788
aa24.Shape = "Ball"
2789
aa24.BrickColor = BrickColor.new("White")
2790
aa24.Material = "Neon"
2791
aa24.CanCollide = false
2792
local mesh = Instance.new("SpecialMesh", aa24)
2793
mesh.MeshType = "Cylinder"
2794
mesh.Scale = Vector3.new(0.50, 5.70, 15)
2795
local weld1en = Instance.new("Weld")
2796
2797
weld1en.Part1 = aa24
2798
weld1en.C1 = CFrame.new(-0.22, 0, 0.065)
2799
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2800
2801
local aa23 = Instance.new("Part")
2802
aa23.Parent = char
2803
aa23.Size = Vector3.new(0.2, 0.2, 0.2)
2804
aa23.Archivable = true
2805
aa23.Transparency = 0
2806
aa23.Shape = "Ball"
2807
aa23.Material = "Metal"
2808
aa23.CanCollide = false
2809
local mesh = Instance.new("SpecialMesh", aa23)
2810
mesh.MeshType = "Cylinder"
2811
mesh.Scale = Vector3.new(1, 5.70, 15)
2812
local weld1en = Instance.new("Weld")
2813
2814
weld1en.Part1 = aa23
2815
weld1en.C1 = CFrame.new(-0.22, 0, 0.06)
2816
weld1en.C0 = CFrame.new(0,0,0) * angles(Rad(0),Rad(0),Rad(90))
2817
2818
local aa11 = Instance.new("Part")
2819
aa11.Parent = char
2820
aa11.Size = Vector3.new(0.2, 0.2, 0.2)
2821
aa11.Archivable = true
2822
aa11.Transparency = 0
2823
aa11.Shape = "Ball"
2824
aa11.BrickColor = BrickColor.new("Dark green")
2825
aa11.Material = "Neon"
2826
aa11.CanCollide = false
2827
local mesh = Instance.new("SpecialMesh", aa11)
2828
mesh.MeshType = "Cylinder"
2829
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
2830
local weld1en = Instance.new("Weld")
2831
weld1en.Parent = ra
2832
weld1en.Part0 = ra
2833
weld1en.Part1 = aa11
2834
weld1en.C1 = CFrame.new(-0.40, 0.40, 0)
2835
2836
local aa10 = Instance.new("Part")
2837
aa10.Parent = char
2838
aa10.Size = Vector3.new(0.2, 0.2, 0.2)
2839
aa10.Archivable = true
2840
aa10.Transparency = 0
2841
aa10.Shape = "Ball"
2842
aa10.Material = "Metal"
2843
aa10.CanCollide = false
2844
local mesh = Instance.new("SpecialMesh", aa10)
2845
mesh.MeshType = "Cylinder"
2846
mesh.Scale = Vector3.new(3, 3, 3)
2847
local weld1en = Instance.new("Weld")
2848
weld1en.Parent = ra
2849
weld1en.Part0 = ra
2850
weld1en.Part1 = aa10
2851
weld1en.C1 = CFrame.new(-0.35, 0.40, 0)
2852
2853
local aa9 = Instance.new("Part")
2854
aa9.Parent = char
2855
aa9.Size = Vector3.new(0.2, 0.2, 0.2)
2856
aa9.Archivable = true
2857
aa9.Transparency = 0
2858
aa9.Shape = "Ball"
2859
aa9.BrickColor = BrickColor.new("White")
2860
aa9.Material = "Metal"
2861
aa9.CanCollide = false
2862
local mesh = Instance.new("SpecialMesh", aa9)
2863
mesh.MeshType = "Brick"
2864
mesh.Scale = Vector3.new(5.70, 1, 5.70)
2865
local weld1en = Instance.new("Weld")
2866
weld1en.Parent = ra
2867
weld1en.Part0 = ra
2868
weld1en.Part1 = aa9
2869
weld1en.C1 = CFrame.new(0, -1, 0)
2870
2871
local aa21 = Instance.new("Part")
2872
aa21.Parent = char
2873
aa21.Size = Vector3.new(0.2, 0.2, 0.2)
2874
aa21.Archivable = true
2875
aa21.Transparency = 0
2876
aa21.Shape = "Ball"
2877
aa21.BrickColor = BrickColor.new("White")
2878
aa21.Material = "Metal"
2879
aa21.CanCollide = false
2880
local mesh = Instance.new("SpecialMesh", aa21)
2881
mesh.MeshType = "Brick"
2882
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2883
local weld1en = Instance.new("Weld")
2884
weld1en.Parent = ra
2885
weld1en.Part0 = ra
2886
weld1en.Part1 = aa21
2887
weld1en.C1 = CFrame.new(0, 0.95, 0)
2888
2889
local aa20 = Instance.new("Part")
2890
aa20.Parent = char
2891
aa20.Size = Vector3.new(0.2, 0.2, 0.2)
2892
aa20.Archivable = true
2893
aa20.Transparency = 0
2894
aa20.Shape = "Ball"
2895
aa20.BrickColor = BrickColor.new("White")
2896
aa20.Material = "Metal"
2897
aa20.CanCollide = false
2898
local mesh = Instance.new("SpecialMesh", aa20)
2899
mesh.MeshType = "Brick"
2900
mesh.Scale = Vector3.new(5.90, 0.50, 5.90)
2901
local weld1en = Instance.new("Weld")
2902
weld1en.Parent = ra
2903
weld1en.Part0 = ra
2904
weld1en.Part1 = aa20
2905
weld1en.C1 = CFrame.new(0, -0.95, 0)
2906
2907
2908
local aa8 = Instance.new("Part")
2909
aa8.Parent = char
2910
aa8.Size = Vector3.new(0.2, 0.2, 0.2)
2911
aa8.Archivable = true
2912
aa8.Transparency = 0
2913
aa8.Shape = "Ball"
2914
aa8.BrickColor = BrickColor.new("Dark green")
2915
aa8.Material = "Neon"
2916
aa8.CanCollide = false
2917
local mesh = Instance.new("SpecialMesh", aa8)
2918
mesh.MeshType = "Cylinder"
2919
mesh.Scale = Vector3.new(2.90, 2.90, 2.90)
2920
local weld1en = Instance.new("Weld")
2921
weld1en.Parent = ra
2922
weld1en.Part0 = ra
2923
weld1en.Part1 = aa8
2924
weld1en.C1 = CFrame.new(-0.40, -0.40, 0)
2925
2926
local aa7 = Instance.new("Part")
2927
aa7.Parent = char
2928
aa7.Size = Vector3.new(0.2, 0.2, 0.2)
2929
aa7.Archivable = true
2930
aa7.Transparency = 0
2931
aa7.Shape = "Ball"
2932
aa7.Material = "Metal"
2933
aa7.CanCollide = false
2934
local mesh = Instance.new("SpecialMesh", aa7)
2935
mesh.MeshType = "Cylinder"
2936
mesh.Scale = Vector3.new(3, 3, 3)
2937
local weld1en = Instance.new("Weld")
2938
weld1en.Parent = ra
2939
weld1en.Part0 = ra
2940
weld1en.Part1 = aa7
2941
weld1en.C1 = CFrame.new(-0.35, -0.40, 0)
2942
2943
local aa13 = Instance.new("Part")
2944
aa13.Parent = char
2945
aa13.Size = Vector3.new(0.2, 0.2, 0.2)
2946
aa13.Archivable = true
2947
aa13.Transparency = 0
2948
aa13.Shape = "Ball"
2949
aa13.BrickColor = BrickColor.new("White")
2950
aa13.Material = "Neon"
2951
aa13.CanCollide = false
2952
local mesh = Instance.new("SpecialMesh", aa13)
2953
mesh.MeshType = "Brick"
2954
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2955
local weld1en = Instance.new("Weld")
2956
weld1en.Parent = ra
2957
weld1en.Part0 = ra
2958
weld1en.Part1 = aa13
2959
weld1en.C1 = CFrame.new(0, -1.05, 0)
2960
2961
local aa12 = Instance.new("Part")
2962
aa12.Parent = char
2963
aa12.Size = Vector3.new(0.2, 0.2, 0.2)
2964
aa12.Archivable = true
2965
aa12.Transparency = 0
2966
aa12.Shape = "Ball"
2967
aa12.BrickColor = BrickColor.new("White")
2968
aa12.Material = "Neon"
2969
aa12.CanCollide = false
2970
local mesh = Instance.new("SpecialMesh", aa12)
2971
mesh.MeshType = "Brick"
2972
mesh.Scale = Vector3.new(5.30, 0.70, 5.40)
2973
local weld1en = Instance.new("Weld")
2974
weld1en.Parent = ra
2975
weld1en.Part0 = ra
2976
weld1en.Part1 = aa12
2977
weld1en.C1 = CFrame.new(0, 1.05, 0)
2978
2979
local aa6 = Instance.new("Part")
2980
aa6.Parent = char
2981
aa6.Size = Vector3.new(0.2, 0.2, 0.2)
2982
aa6.Archivable = true
2983
aa6.Transparency = 0
2984
aa6.Shape = "Ball"
2985
aa6.BrickColor = BrickColor.new("White")
2986
aa6.Material = "Metal"
2987
aa6.CanCollide = false
2988
local mesh = Instance.new("SpecialMesh", aa6)
2989
mesh.MeshType = "Brick"
2990
mesh.Scale = Vector3.new(5.70, 1, 5.70)
2991
local weld1en = Instance.new("Weld")
2992
weld1en.Parent = ra
2993
weld1en.Part0 = ra
2994
weld1en.Part1 = aa6
2995
weld1en.C1 = CFrame.new(0, 1, 0)
2996
2997
local aa4 = Instance.new("Part")
2998
aa4.Parent = char
2999
aa4.Size = Vector3.new(0.2, 0.2, 0.2)
3000
aa4.Archivable = true
3001
aa4.Transparency = 0
3002
aa4.Shape = "Ball"
3003
aa4.BrickColor = maincolor
3004
aa4.Material = "Neon"
3005
aa4.CanCollide = false
3006
local mesh = Instance.new("SpecialMesh", aa4)
3007
mesh.MeshType = "Brick"
3008
mesh.Scale = Vector3.new(1, 10.55, 5.60)
3009
local weld1en = Instance.new("Weld")
3010
weld1en.Parent = ra
3011
weld1en.Part0 = ra
3012
weld1en.Part1 = aa4
3013
weld1en.C1 = CFrame.new(0, 0, 0)
3014
3015
local aa5 = Instance.new("Part")
3016
aa5.Parent = char
3017
aa5.Size = Vector3.new(0.2, 0.2, 0.2)
3018
aa5.Archivable = true
3019
aa5.Transparency = 0
3020
aa5.Shape = "Ball"
3021
aa5.BrickColor = maincolor
3022
aa5.Material = "Neon"
3023
aa5.CanCollide = false
3024
local mesh = Instance.new("SpecialMesh", aa5)
3025
mesh.MeshType = "Brick"
3026
mesh.Scale = Vector3.new(5.60, 10.55, 1)
3027
local weld1en = Instance.new("Weld")
3028
weld1en.Parent = ra
3029
weld1en.Part0 = ra
3030
weld1en.Part1 = aa5
3031
weld1en.C1 = CFrame.new(0, 0, 0)
3032
3033
local aa = Instance.new("Part")
3034
aa.Parent = char
3035
aa.Size = Vector3.new(0.2, 10, 20)
3036
aa.Archivable = true
3037
aa.Transparency = 0
3038
aa.Shape = "Ball"
3039
aa.Material = "Metal"
3040
aa.CanCollide = false
3041
local mesh = Instance.new("SpecialMesh", aa)
3042
mesh.MeshType = "Brick"
3043
mesh.Scale = Vector3.new(5.50, 10.50, 5.50)
3044
local weld1en = Instance.new("Weld")
3045
weld1en.Parent = ra
3046
weld1en.Part0 = ra
3047
weld1en.Part1 = aa
3048
weld1en.C1 = CFrame.new(0, 0, 0)
3049
3050
3051
--END OF GAUGNETS AND STUFF--
3052
3053
local NewInstance = function(instance,parent,properties)
3054
	local inst = Instance.new(instance,parent)
3055
	if(properties)then
3056
		for i,v in next, properties do
3057
			pcall(function() inst[i] = v end)
3058
		end
3059
	end
3060
	return inst;
3061
end
3062
3063
3064
ArmorColorParts = {}
3065
ArmorColorParts2 = {}
3066
NeonColorParts = {}
3067
local all, last = {}, nil
3068
local all2, last2 = {}, nil
3069
local all3, last3 = {}, nil
3070
local all4, last4 = {}, nil
3071
local all, last = {}, nil
3072
-------------------------------------------------------
3073
--Start Customization--
3074
-------------------------------------------------------
3075
local Player_Size = 1
3076
if Player_Size ~= 1 then
3077
root.Size = root.Size * Player_Size
3078
tors.Size = tors.Size * Player_Size
3079
hed.Size = hed.Size * Player_Size
3080
ra.Size = ra.Size * Player_Size
3081
la.Size = la.Size * Player_Size
3082
rl.Size = rl.Size * Player_Size
3083
ll.Size = ll.Size * Player_Size
3084
----------------------------------------------------------------------------------
3085
rootj.Parent = root
3086
neck.Parent = tors
3087
RW.Parent = tors
3088
LW.Parent = tors
3089
RH.Parent = tors
3090
LH.Parent = tors
3091
----------------------------------------------------------------------------------
3092
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
3093
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
3094
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
3095
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
3096
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
3097
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
3098
----------------------------------------------------------------------------------
3099
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))
3100
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))
3101
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))
3102
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))
3103
--hat.Parent = Character
3104
end
3105
----------------------------------------------------------------------------------
3106
local SONG = 502509042
3107
local SONG2 = 0
3108
local Music = Instance.new("Sound",tors)
3109
Music.Volume = 2.5
3110
Music.Looped = true
3111
Music.Pitch = 1 --Pitcher
3112
----------------------------------------------------------------------------------
3113
local equipped = false
3114
local idle = 0
3115
local change = 1
3116
local val = 0
3117
local toim = 0
3118
local idleanim = 0.4
3119
local sine = 0
3120
local Mode = 1
3121
----------------------------------------------------------------------------------
3122
hum.WalkSpeed = 8
3123-
local SONG = 1005328332
3123+
3124
hum.Animator.Parent = nil
3125
-------------------------------------------------------
3126
--End Customization--
3127
-------------------------------------------------------
3128
3129
3130
-------------------------------------------------------
3131
--Start Attacks N Stuff--
3132
-------------------------------------------------------
3133
it = Instance.new
3134
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
3135
  local gui = IT(GuiType)
3136
  gui.Parent = parent
3137
  gui.Text = text
3138
  gui.BackgroundTransparency = backtrans
3139
  gui.BackgroundColor3 = backcol
3140
  gui.SizeConstraint = "RelativeXY"
3141
  gui.TextXAlignment = "Center"
3142
  gui.TextYAlignment = "Center"
3143
  gui.Position = pos
3144
  gui.Size = size
3145
  gui.Font = "SourceSans"
3146
  gui.FontSize = "Size14"
3147
  gui.TextWrapped = false
3148
  gui.TextStrokeTransparency = 0
3149
  gui.TextColor = BrickColor.new("White")
3150
  return gui
3151
end
3152
local basgui = it("GuiMain")
3153
basgui.Parent = plr.PlayerGui
3154
basgui.Name = "VISgui"
3155
local fullscreenz = it("Frame")
3156
fullscreenz.Parent = basgui
3157
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
3158
fullscreenz.BackgroundTransparency = 1
3159
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
3160
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
3161
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
3162
local imgl2 = Instance.new("ImageLabel",fullscreenz)
3163
imgl2.BackgroundTransparency = 1
3164
imgl2.BorderSizePixel = 0
3165
imgl2.ImageTransparency = 0.5
3166
imgl2.ImageColor3 = BrickColor.new("White").Color
3167
imgl2.Position = UDim2.new(0.86,0,0.78,0)
3168
imgl2.Size = UDim2.new(0,270,0,270)
3169
imgl2.Image = "rbxassetid://320731120"
3170
local techc = imgl2:Clone()
3171
techc.Parent = fullscreenz
3172
techc.ImageTransparency = 0.5
3173
techc.Size = UDim2.new(0,700,0,700)
3174
techc.Position = UDim2.new(0.75,-50,0.55,-50)
3175
techc.ImageColor3 = BrickColor.new("White").Color
3176
techc.Image = "rbxassetid://521073910"
3177
local ned = Instance.new("TextLabel",fullscreenz)
3178
ned.ZIndex = 2
3179
ned.Font = "SciFi"
3180
ned.BackgroundTransparency = 1
3181
ned.BorderSizePixel = 0.65
3182
ned.Size = UDim2.new(0.4,0,0.2,0)
3183
ned.Position = UDim2.new(0.2,0,0.2,0)
3184
ned.TextColor3 = BrickColor.new("White").Color
3185
ned.TextStrokeColor3 = BrickColor.new("Really black").Color
3186
ned.TextScaled = true
3187
ned.TextStrokeTransparency = 0
3188
ned.Text = "Steam"
3189
ned.TextSize = 24
3190
ned.Rotation = 1
3191
--ned.TextXAlignment = "Right"
3192
ned.TextYAlignment = "Bottom"
3193
-----------
3194
local GUIFrame = IT("Frame")
3195
GUIFrame.Parent = Base
3196
GUIFrame.BackgroundColor3 = Color3.new(255, 255, 255)
3197
GUIFrame.BackgroundTransparency = 1
3198
GUIFrame.BorderColor3 = Color3.new(17, 17, 17)
3199
GUIFrame.Size = UDim2.new(1, 0, 1, 0)
3200
GUIFrame.Position = UDim2.new(0, 0, 0, 0)
3201
---------------------
3202
-----------------------------
3203
function resetmode()
3204
Cso("151414336", ra, 10, 1) 
3205-
ned.Text = "Neutral"
3205+
		tecks2.Text = ""
3206
		tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
3207
		tecks2.TextStrokeColor3 = Color3.fromRGB(123, 157, 205)
3208
	Mode = 1
3209
        SONG = 502509042
3210
for i, v in pairs(NeonColorParts1000) do
3211
  v.BrickColor = BrickC("White")
3212
end
3213
3214
        imgl2.ImageColor3 = BrickC("White").Color
3215
        techc.ImageColor3 = BrickC("White").Color
3216
        ned.Text = "Steam"
3217
        ned.TextColor3 = BrickC("White").Color
3218
        ned.TextStrokeColor3 = BrickC("Really black").Color
3219
end
3220
function Taunt()
3221-
		tecks2.Text = "Endurance"
3221+
3222
    hum.WalkSpeed = 0
3223
        TAUNT:Play()
3224
	repeat
3225-
        SONG = 1005328332
3225+
3226
        TAUNT.Parent = tors
3227
        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)
3228
        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)
3229
        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)
3230
        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)
3231
        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)
3232-
        ned.Text = "Neutral"
3232+
3233
	until TAUNT.Playing == false
3234
	attack = false
3235
	hum.WalkSpeed = 8
3236
end
3237
function attackone()
3238
	attack = true
3239
	hum.WalkSpeed = 3.01
3240
	for i = 0, 1.7, 0.1 do
3241
		swait()
3242
		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)
3243
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
3244
		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)
3245
		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)
3246
		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)
3247
		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)
3248
	end
3249
	Cso("203426541", ra, 10, 1)
3250
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3251
		if v:FindFirstChild("Head") then
3252
                        Eviscerate(v)
3253
                        SoulSteal(v)
3254
		end
3255
	end
3256
	for i = 0, 1.4, 0.1 do
3257
		swait()
3258
		BlockEffect(maincolor, ra.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
3259
		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)
3260
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
3261
		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)
3262
		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)
3263
		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)
3264
		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)
3265
	end
3266
	hum.WalkSpeed = 8
3267
	attack = false
3268
end
3269
function attacktwo()
3270
	attack = true
3271
	hum.WalkSpeed = 3.01
3272
	for i = 0, 1.7, 0.1 do
3273
		swait()
3274
		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)
3275
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
3276
		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)
3277
		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)
3278
		RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
3279
		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)
3280
	end
3281
	Cso("203426541", rl, 10, 1)
3282
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3283
		if v:FindFirstChild("Head") then
3284
                        Eviscerate(v)
3285
                        SoulSteal(v)
3286
		end
3287
	end	
3288
	for i = 0, 1.4, 0.1 do
3289
		swait()
3290
		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)
3291
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
3292
		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)
3293
		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)
3294
		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)
3295
		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)
3296
	end
3297
	hum.WalkSpeed = 8
3298
	attack = false
3299
end
3300
function attackthree()
3301
	attack = true
3302
	hum.WalkSpeed = 3.01
3303
	for i = 0, 1.4, 0.1 do
3304
		swait()
3305
		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)
3306
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3307
		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)
3308
		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)
3309
		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)
3310
		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)
3311
	end
3312
	Cso("203426541", hed, 10, 1)
3313
	for i = 0, 1.7, 0.1 do
3314
		swait()
3315
		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)
3316
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3317
		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)
3318
		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)
3319
		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)
3320
		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)
3321
	end
3322
	Cso("260435136", hed, 10, .9)
3323
	BlockEffect(maincolor, ra.CFrame * CF(0, -2, 0), 11, 11, 11, 10, 10, 10, 0.04, 1)
3324
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -2, 0), 6, 6, 6, 5, 5, 5, 0.04, 1)
3325
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
3326
		if v:FindFirstChild("Head") then
3327
                        Eviscerate(v)
3328
                        SoulSteal(v)
3329
		end
3330
	end
3331
	for i = 0, 1.8, 0.1 do
3332
		swait()
3333
		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)
3334
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.2)
3335
		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)
3336
		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)
3337
		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)
3338
		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)
3339
	end
3340
	hum.WalkSpeed = 8
3341
	attack = false
3342
end
3343
function Power_Burst()
3344
	hum.WalkSpeed = 4
3345
	attack = true
3346
	Cso("163619849", ra, 10, 1.35)
3347
	for i = 0,4.3,0.1 do
3348
		swait()
3349
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)
3350
		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)
3351
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-23 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
3352
		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)
3353
		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)
3354
		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)
3355
		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)
3356
	end
3357
	CameraEnshaking(2.5, 20)
3358
	Cso("539294959", ra, 10, .9)
3359
	BlockEffect(maincolor, ra.CFrame * CF(0, -0, 0), 16, 16, 16, 22, 22, 22, 0.04, 1)
3360
	BlockEffect(BrickC("Really black"), ra.CFrame * CF(0, -0, 0), 10, 10, 10, 12, 12, 12, 0.04, 1)
3361
	for i, v in pairs(FindNearestHead(ra.CFrame.p, 15)) do
3362
		if v:FindFirstChild("Head") then
3363
                        Eviscerate(v)
3364
                        SoulSteal(v)
3365
		end
3366
	end
3367
	for i = 0,3,0.1 do
3368
		swait()
3369
		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)
3370
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(-30)), 0.3)
3371
		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)
3372
		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)
3373
		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)
3374
		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)
3375
	end
3376
	hum.WalkSpeed = 8
3377
	attack = false
3378
end
3379
function Magic_Bombs()
3380
	attack = true
3381
	hum.WalkSpeed = 0
3382
local GYRO = IT("BodyGyro",root)
3383
GYRO.D = 100
3384
GYRO.P = 2000
3385
GYRO.MaxTorque = VT(0,4000000,0)
3386
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3387
	for i = 0,3.6,0.1 do
3388
			swait()
3389
		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)
3390
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3391
		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)
3392
		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)
3393
		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)
3394
		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)
3395
	end
3396
	CameraEnshaking(1, 6)
3397
        GYRO:Destroy()
3398
	Cso("588734356", Handle, 10, 1.05)
3399
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3400
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3401
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
3402
	for i = 0,2,0.1 do
3403
			swait()
3404
		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)
3405
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3406
		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)
3407
		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)
3408
		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)
3409
		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)
3410
	end
3411
local GYRO = IT("BodyGyro",root)
3412
GYRO.D = 100
3413
GYRO.P = 2000
3414
GYRO.MaxTorque = VT(0,4000000,0)
3415
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3416
	for i = 0,2.4,0.1 do
3417
			swait()
3418
		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)
3419
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3420
		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)
3421
		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)
3422
		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)
3423
		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)
3424
	end
3425
        GYRO:Destroy()
3426
	CameraEnshaking(1, 6)
3427
	Cso("588734356", Handle, 10, 1.05)
3428
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3429
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3430
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6,5, 14, 24, 2, "Normal")
3431
	for i = 0,2,0.1 do
3432
			swait()
3433
		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)
3434
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3435
		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)
3436
		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)
3437
		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)
3438
		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)
3439
	end
3440
local GYRO = IT("BodyGyro",root)
3441
GYRO.D = 100
3442
GYRO.P = 2000
3443
GYRO.MaxTorque = VT(0,4000000,0)
3444
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3445
	for i = 0,2.4,0.1 do
3446
			swait()
3447
		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)
3448
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3449
		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)
3450
		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)
3451
		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)
3452
		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)
3453
	end
3454
        GYRO:Destroy()
3455
	CameraEnshaking(1, 6)
3456
	Cso("588734356", Handle, 10, 1.05)
3457
	BlockEffect(maincolor, Handle.CFrame * CF(0, -16, 0), 7, 7, 7, 9, 9, 9, 0.07, 1)
3458
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -16, 0), 2, 2, 2, 4, 4, 4, 0.05, 1)
3459
	HitboxFunction(root.CFrame * CF(0, 0, -20), 0.01, 1, 1, 1, 6.5, 14, 24, 2, "Normal")
3460
	for i = 0,2,0.1 do
3461
			swait()
3462
		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)
3463
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3464
		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)
3465
		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)
3466
		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)
3467
		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)
3468
	end
3469
	attack = false
3470
	hum.WalkSpeed = 8
3471
end
3472
function Dangerous_Field()
3473
	attack = true
3474
	hum.WalkSpeed = 0
3475
	for i = 0,10,0.1 do
3476
			swait()
3477
		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)
3478
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3479
		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)
3480
		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)
3481
		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)
3482
		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)
3483
	CameraEnshaking(1, 7)
3484
	Cso("588734356", Handle, 10, 1.2)
3485
	BlockEffect(maincolor, Handle.CFrame * CF(0, -8, 0), 9, 9, 9, 11, 11, 11, 0.07, 1)
3486
	BlockEffect(BrickC("Crimson"), Handle.CFrame * CF(0, -8, 0), 3, 3, 3, 5, 5, 5, 0.05, 1)
3487
	HitboxFunction(Handle.CFrame * CF(0, 0, -10.3), 0.05, 1, 1, 1, 7.3, 15, 20, 3, "Normal")
3488
	HitboxFunction(Handle.CFrame * CF(0, 0, -0), 0.05, 1, 1, 1, 5, 2, 3, 10, "Normal")
3489
        end
3490
	attack = false
3491
	hum.WalkSpeed = 8
3492
end
3493
3494
3495
function NUCLEAR()
3496
	attack = true
3497
	local orb = Instance.new("Part", char)
3498
	orb.Anchored = true
3499
	orb.BrickColor = BrickC("Really red")
3500
	orb.CanCollide = false
3501
	orb.FormFactor = 3
3502
	orb.Name = "Ring"
3503
	orb.Material = "Neon"
3504
	orb.Size = Vector3.new(1, 1, 1)
3505
	orb.Transparency = 0
3506
	orb.TopSurface = 0
3507
	orb.BottomSurface = 0
3508
	local orbm = Instance.new("SpecialMesh", orb)
3509
	orbm.MeshType = "Sphere"
3510
	orbm.Name = "SizeMesh"
3511
	orbm.Scale = Vector3.new(0, 0, 0)
3512
	local scaled = 0.1
3513
	local posid = 0
3514
	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")
3515
	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")
3516
	for i = 0, 12, 0.1 do
3517
		swait()
3518
		scaled = scaled + 0.001
3519
		posid = posid - scaled
3520
		orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
3521
		orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
3522
                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)
3523
                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)
3524
                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)
3525
                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)
3526
		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)
3527
                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)
3528
	end
3529
	for i = 0, 2, 0.1 do
3530
		swait()
3531
                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)
3532
                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)
3533
                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)
3534
                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)
3535
		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)
3536
                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)
3537
	end
3538
	coroutine.resume(coroutine.create(function()
3539
		orb.Anchored = false
3540
		CFuncs.Sound.Create("rbxassetid://907528019", root, 1.85, 1)
3541
		local a = Instance.new("Part", workspace)
3542
		a.Name = "Direction"
3543
		a.Anchored = true
3544
		a.BrickColor = BrickC("Really red")
3545
		a.Material = "Neon"
3546
		a.Transparency = 1
3547
		a.CanCollide = false
3548
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
3549
		local ignore = orb
3550
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3551
		a.BottomSurface = 10
3552
		a.TopSurface = 10
3553
		local distance = (orb.CFrame.p - position).magnitude
3554
		a.Size = Vector3.new(0.1, 0.1, 0.1)
3555
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3556
		orb.CFrame = a.CFrame
3557
		a:Destroy()
3558
		local bv = Instance.new("BodyVelocity")
3559
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3560
		bv.velocity = orb.CFrame.lookVector * 125
3561
		bv.Parent = orb
3562
		local hitted = false
3563
		game:GetService("Debris"):AddItem(orb, 15)
3564
		swait()
3565
		local hit = orb.Touched:connect(function(hit)
3566
			if hitted == false then
3567
				hitted = true
3568
				CameraEnshaking(10, 2.5)
3569
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
3570
				for i, v in pairs(FindNearestHead(orb.CFrame.p, 25)) do
3571
					if v:FindFirstChild("Head") then
3572
						Eviscerate(v)
3573
					end
3574
				end
3575
				Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickC("Really red"), "Sphere")
3576
				Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickC("Really red"), "Sphere")
3577
				for i = 0, 9 do
3578
					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")
3579
					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")
3580
				end
3581
				orb.Anchored = true
3582
				orb.Transparency = 1
3583
				wait(8)
3584
				orb:Destroy()
3585
			end
3586
		end)
3587
	end))
3588
	for i = 0, 1, 0.1 do
3589
		swait()
3590
                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)
3591
                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)
3592
                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)
3593
                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)
3594
		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)
3595
                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)
3596
	end
3597
	attack = false
3598
end
3599
function Shockwave()
3600
	attack = true
3601
	hum.WalkSpeed = 0
3602
	for i = 0,4,0.1 do
3603
		swait()
3604
		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)
3605
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3606
		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)
3607
		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)
3608
		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)
3609
		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)
3610
	end
3611
	coroutine.resume(coroutine.create(function() 
3612
        BlockEffect(maincolor, rl.CFrame * CF(-1, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3613
        BlockEffect(maincolor, rl.CFrame * CF(-3, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3614
        BlockEffect(maincolor, rl.CFrame * CF(2, -0, -5), 4, 4, 4, 5, 5, 5, 0.05, 1)
3615
	HitboxFunction(rl.CFrame * CF(-1, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3616
	HitboxFunction(rl.CFrame * CF(-3, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3617
	HitboxFunction(rl.CFrame * CF(2, 0, -7), 0.05, 1, 1, 1, 5, 20, 25, 0, "Snare")
3618
	CameraEnshaking(1, 7)
3619
        wait(0.05)
3620
        BlockEffect(maincolor, rl.CFrame * CF(-0.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3621
        BlockEffect(maincolor, rl.CFrame * CF(-2.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3622
        BlockEffect(maincolor, rl.CFrame * CF(1.8, -0, -10), 4, 4, 4, 5, 5, 5, 0.05, 1)
3623
	HitboxFunction(rl.CFrame * CF(-0.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 20, 10, "Snare")
3624
	HitboxFunction(rl.CFrame * CF(-2.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3625
	HitboxFunction(rl.CFrame * CF(1.8, 0, -12), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3626
	CameraEnshaking(1, 7)
3627
        wait(0.05)
3628
        BlockEffect(maincolor, rl.CFrame * CF(-0.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3629
        BlockEffect(maincolor, rl.CFrame * CF(-2.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3630
        BlockEffect(maincolor, rl.CFrame * CF(1.6, -0, -15), 4, 4, 4, 5, 5, 5, 0.05, 1)
3631
	HitboxFunction(rl.CFrame * CF(-0.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3632
	HitboxFunction(rl.CFrame * CF(-2.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3633
	HitboxFunction(rl.CFrame * CF(1.6, 0, -17), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3634
	CameraEnshaking(1, 7)
3635
        wait(0.05)
3636
        BlockEffect(maincolor, rl.CFrame * CF(-0.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3637
        BlockEffect(maincolor, rl.CFrame * CF(-2.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3638
        BlockEffect(maincolor, rl.CFrame * CF(1.4, -0, -20), 4, 4, 4, 5, 5, 5, 0.05, 1)
3639
	HitboxFunction(rl.CFrame * CF(-0.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3640
	HitboxFunction(rl.CFrame * CF(-2.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3641
	HitboxFunction(rl.CFrame * CF(1.4, 0, -22), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3642
	CameraEnshaking(1, 7)
3643
        wait(0.05)
3644
        BlockEffect(maincolor, rl.CFrame * CF(-0.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3645
        BlockEffect(maincolor, rl.CFrame * CF(-2.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3646
        BlockEffect(maincolor, rl.CFrame * CF(1.2, -0, -25), 4, 4, 4, 5, 5, 5, 0.05, 1)
3647
	HitboxFunction(rl.CFrame * CF(-0.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3648
	HitboxFunction(rl.CFrame * CF(-2.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3649
	HitboxFunction(rl.CFrame * CF(1.2, 0, -27), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3650
	CameraEnshaking(1, 7)
3651
        wait(0.05)
3652
        BlockEffect(maincolor, rl.CFrame * CF(-0, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3653
        BlockEffect(maincolor, rl.CFrame * CF(-2, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3654
        BlockEffect(maincolor, rl.CFrame * CF(1, -0, -30), 4, 4, 4, 5, 5, 5, 0.05, 1)
3655
	HitboxFunction(rl.CFrame * CF(-0, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3656
	HitboxFunction(rl.CFrame * CF(-2, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3657
	HitboxFunction(rl.CFrame * CF(1, 0, -32), 0.05, 1, 1, 1, 5, 20, 25, 10, "Snare")
3658
	CameraEnshaking(1, 7)
3659
	end))
3660
	Cso("440145223", Handle, 10, 1.05)
3661
	for i = 1,7,0.1 do
3662
	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)
3663
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
3664
	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)
3665
	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)
3666
	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)
3667
	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)
3668
	end
3669
	wait(.6)
3670
	hum.WalkSpeed = 8
3671
	attack = false
3672
end
3673
function Pulse()
3674
	attack = true
3675
	hum.WalkSpeed = 0
3676
local GYRO = IT("BodyGyro",root)
3677
GYRO.D = 100
3678
GYRO.P = 2000
3679
GYRO.MaxTorque = VT(0,4000000,0)
3680
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3681
	for i = 0,4,0.1 do
3682
		swait()
3683
		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)
3684
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3685
		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)
3686
		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)
3687
		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)
3688
		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)
3689
	end
3690
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -5, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3691
	HitboxFunction(Handle.CFrame * CF(-0, -7, -0), 0.05, 1, 1, 1, 5, 30, 40, 0, "Freeze")
3692
	CameraEnshaking(1, 25)
3693
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -10, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3694
	HitboxFunction(Handle.CFrame * CF(-0, -12, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3695
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -15, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3696
	HitboxFunction(Handle.CFrame * CF(0, -17, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3697
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -20, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3698
	HitboxFunction(Handle.CFrame * CF(0, -22, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3699
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -25, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3700
	HitboxFunction(Handle.CFrame * CF(0, -27, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3701
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -30, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3702
	HitboxFunction(Handle.CFrame * CF(0, -32, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3703
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -35, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3704
	HitboxFunction(Handle.CFrame * CF(0, -37, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3705
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -40, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3706
	HitboxFunction(Handle.CFrame * CF(0, -42, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3707
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -45, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3708
	HitboxFunction(Handle.CFrame * CF(0, -47, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3709
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -50, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3710
	HitboxFunction(Handle.CFrame * CF(0, -52, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3711
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -55, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3712
	HitboxFunction(Handle.CFrame * CF(0, -57, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3713
        BlockEffect(maincolor, Handle.CFrame * CF(-0, -60, -0), 4, 4, 4, 5, 5, 5, 0.05, 1)
3714
	HitboxFunction(Handle.CFrame * CF(0, -62, -0), 0.05, 1, 1, 1, 5, 30, 40, 10, "Freeze")
3715
	Cso("440145223", Handle, 10, 1.05)
3716
        GYRO:Destroy()
3717
	for i = 1,2,0.1 do
3718
		swait()
3719
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)
3720
		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)
3721
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3722
		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)
3723
		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)
3724
		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)
3725
		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)
3726
	end
3727
	hum.WalkSpeed = 8
3728
	attack = false
3729
end
3730
function LAZER()
3731
    attack = true
3732
local GYRO = IT("BodyGyro",root)
3733
GYRO.D = 100
3734
GYRO.P = 2000
3735
GYRO.MaxTorque = Vector3.new(0,4000000,0)
3736
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3737
 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),})
3738
    for i = 0,5,0.1 do
3739
        swait()
3740
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
3741
        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)
3742
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3743
        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)
3744
        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)
3745
        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)
3746
        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)
3747
        end
3748
	Cso("651476429", tors, 10, 0.85)
3749
    local beam = Instance.new("Part", workspace)
3750
    beam.BrickColor = BrickColor.new("Black")
3751
    beam.FormFactor = "Custom"
3752
    beam.Material = "Glass"
3753
    beam.Transparency = 0.5
3754
    beam.Anchored = true
3755
    beam.Locked = true
3756
    beam.CanCollide = false
3757
    local distance = (aa12.CFrame.p - mouse.Hit.p).magnitude
3758
    beam.Size = Vector3.new(1.05, 1.05, distance)
3759
    beam.CFrame = CFrame.new(aa12.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
3760
    game:GetService("Debris"):AddItem(beam, 0.14)
3761
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 25, 25, 25, 15, 15, 15, 0.04, 1)
3762
	BlockEffect(BrickC("Deep orange"), ref.CFrame * CF(0, 0, 0), 19, 19, 19, 10, 10, 10, 0.04, 1)
3763
        GYRO:Destroy()
3764
    for i, v in pairs(FindNearestHead(ref.CFrame.p, 2)) do
3765
        if v:FindFirstChild("Torso") then
3766
            Eviscerate(v)
3767
        end
3768
    end
3769
    attack = false
3770
end
3771
function Spirit_Beam()
3772
        attack = true
3773
	hum.WalkSpeed = 0
3774
local GYRO = IT("BodyGyro",root)
3775
GYRO.D = 100
3776
GYRO.P = 2000
3777
GYRO.MaxTorque = VT(0,4000000,0)
3778
GYRO.cframe = CF(root.Position,mouse.Hit.p)
3779
	for i = 0,5,0.1 do
3780
		swait()
3781
                GYRO.cframe = CF(root.Position,mouse.Hit.p)
3782
		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)
3783
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(8 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
3784
		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)
3785
		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)
3786
		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)
3787
		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)
3788
        end
3789
        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),})
3790
	HitboxFunction(ref.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 4, 25, 50, 1, "Normal")
3791
        BlockEffect(maincolor, ref.CFrame * CF(-0, -0, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
3792
	local beam = Instance.new("Part", workspace)
3793
	beam.BrickColor = BrickColor.new("Fog")
3794
	beam.FormFactor = "Custom"
3795
	beam.Material = "Glass"
3796
	beam.Transparency = 0.5
3797
	beam.Anchored = true
3798
	beam.Locked = true
3799
	beam.CanCollide = false
3800
	local distance = (Handle.CFrame.p - mouse.Hit.p).magnitude
3801
	beam.Size = Vector3.new(1.05, 1.05, distance)
3802
	beam.CFrame = CFrame.new(Handle.CFrame.p, mouse.Hit.p) * CFrame.new(0, 0, -distance / 2)
3803
	game:GetService("Debris"):AddItem(beam, 0.14)
3804
	local sound = Instance.new('Sound',Handle)
3805
	sound.SoundId = 'rbxassetid://588697948'
3806
	sound.Volume = 7
3807
	sound.EmitterSize = 40
3808
	sound.MaxDistance = 450
3809
	sound:Play()
3810
	game:GetService("Debris"):AddItem(beam, sound.TimeLength)
3811
        GYRO:Destroy()
3812
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)
3813
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)
3814
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)
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
        wait(0.3)
3823
        attack = false
3824
	hum.WalkSpeed = 8
3825
        ref:Destroy()
3826
end
3827
function Distort()
3828
	attack = true
3829
	hum.WalkSpeed = 0
3830
		local pos = root.Position
3831
		root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
3832
	Cso("261227592", tors, 10, 0.85)
3833
	for i = 1,2.5,0.1 do
3834
        swait()
3835
        rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3836
        end
3837
	attack = false
3838
	hum.WalkSpeed = 8
3839
end
3840
function Ancient_Rage()
3841
	attack = true
3842
	hum.WalkSpeed = 4
3843
	Cso("907329532", tors, 10, 1.05)
3844
	for i = 1,14,0.1 do
3845
        swait()
3846
                rootj.C0 = char.Torso.Neck.C0 * CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
3847
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0 - 2.5 * Sin(sine / 20)), Rad(-0), Rad(0)), 0.3)
3848
		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)
3849
		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)
3850
		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)
3851
		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)
3852
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 7)) do
3853
		if v:FindFirstChild("Head") then
3854
                        Eviscerate(v)
3855
		end
3856
	end
3857
        end
3858
	attack = false
3859
	hum.WalkSpeed = 8
3860
end
3861
function TTTTTTTTTTTaunt()
3862
	attack = true
3863
	hum.WalkSpeed = 0
3864
        DTAUNT:Play()
3865
        repeat
3866
        swait()
3867
        DTAUNT.Parent = tors
3868
		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)
3869
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.random(-25,25),math.random(-25,25),math.random(-25,25)), 0.3)
3870
		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)
3871
		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)
3872
		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)
3873
		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)
3874
	until DTAUNT.Playing == false
3875
	attack = false
3876
	hum.WalkSpeed = 8
3877
end
3878
function HAAH()
3879
	attack = true
3880
	hum.WalkSpeed = 0
3881
	Cso("300208779", hed, 10, 1)
3882
	for i = 0,9,0.1 do
3883
		swait()
3884
		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)
3885
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
3886
		if Mrandom(1,15) == 1 then
3887
		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)
3888
		end
3889
		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)
3890
		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)
3891
		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)
3892
		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)
3893
	end
3894
	attack = false
3895
	hum.WalkSpeed = 10
3896
end
3897
function LunarSpin()
3898
	attack = true
3899
	hum.WalkSpeed = 0
3900
	for i = 0,17,0.05 do
3901
		CameraEnshaking(1, 5)
3902
	        MagniDamage(tors, 47, 2, 5, 0, "Normal")
3903
	        Effects.Spiral.Create(BrickC("Sand yellow"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3904
		Effects.Block.Create(BrickC("Sand yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3905
		swait()
3906
		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)
3907
		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)
3908
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
3909
		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)
3910
		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)
3911
		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)
3912-
function again()
3912+
3913
	end
3914
	hum.WalkSpeed = 8
3915-
        ITAUNT:Play()
3915+
3916
end
3917
function Decapitate()
3918-
        ITAUNT.Parent = tors
3918+
3919-
        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)
3919+
3920-
	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)
3920+
3921-
	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)
3921+
3922-
	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)
3922+
3923-
	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)
3923+
3924-
	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)
3924+
3925-
	until ITAUNT.Playing == false
3925+
3926
	end
3927
	if target ~= nil then
3928
		targettorso.Anchored = true
3929
		attack = true
3930
		hum.WalkSpeed = 0
3931
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
3932
		for i = 0,4.2,0.1 do
3933
			swait()
3934
		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)
3935-
	        Effects.Spiral.Create(BrickC("Teal"), tors.CFrame * CF(0, 0, 0), 3, 3, 3, 4, 4, 4, 0.03)
3935+
3936-
		Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
3936+
3937
		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)
3938
		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)
3939
		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)
3940
		end
3941
		local ModelHead01 = New("Model", char, "", {})
3942
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
3943
        local Head01 = targethead:Clone()
3944
        targethead.Transparency = 1
3945
        Head01.Parent = ModelHead01
3946
        local weldHead01 = Instance.new("Weld")
3947
        weldHead01.Parent = Head01
3948
        weldHead01.Part0 = targethead
3949
        weldHead01.Part1 = Head01
3950
        weldHead01.C1 = CFrame.new(0, 0, 0)
3951
		targethead.face:Remove()
3952
		weldHead01.Part0 = ra
3953
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
3954
		targettorso:BreakJoints()
3955
		CreateSound("314390675", targettorso, 5, .7)
3956
		for i = 0,3.2,0.1 do
3957
			swait()
3958
		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)
3959
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
3960
		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)
3961
		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)
3962
		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)
3963
		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)
3964
		end
3965
		for i = 0,4.2,0.1 do
3966
			swait()
3967
		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)
3968
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
3969
		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)
3970
		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)
3971
		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)
3972
		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)
3973
		end
3974
		CreateSound("541909763", targettorso, 5, .8)
3975
		weldHead01:Destroy()
3976
        Head01.CanCollide = true
3977
        local bodyVelocity2 = Create("BodyVelocity")({
3978
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
3979
          P = 5000,
3980
          maxForce = Vector3.new(8000, 8000, 8000),
3981
          Parent = Head01
3982
        })
3983
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
3984
		for i = 0,6.2,0.1 do
3985
			swait()
3986
		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)
3987
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
3988
		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)
3989
		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)
3990
		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)
3991
		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)
3992
		end
3993
		targettorso.Anchored = false
3994
		attack = false
3995
		hum.WalkSpeed = 8
3996
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
3997
	end
3998
end
3999
function BalanceSpin()
4000
    attack = true
4001
    hum.WalkSpeed = 2
4002
    for i = 0,17,0.07 do
4003
        CameraEnshaking(1, 5)
4004
        MagniDamage(tors, 30, 7, 11, 0, "Normal")
4005
        swait()
4006
	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")
4007
	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")
4008
	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")
4009
        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)
4010
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4011
        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)
4012
        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)
4013
        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)
4014
        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)
4015
    end
4016
    hum.WalkSpeed = 8
4017
    attack = false
4018
end
4019
4020
function BARK()
4021
	attack = true
4022
	hum.WalkSpeed = 0
4023
	BATAUNT:Play()
4024
	repeat
4025
	BATAUNT.Parent = tors
4026
	swait()
4027
	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)
4028
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
4029
	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)
4030
	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)
4031
	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)
4032
	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)
4033
	until BATAUNT.Playing == false
4034
	attack = false
4035
	hum.WalkSpeed = 8
4036
end
4037
function CreateSound(ID, PARENT, VOLUME, PITCH)
4038
	local NSound = nil
4039
	coroutine.resume(coroutine.create(function()
4040
		NSound = Instance.new("Sound", PARENT)
4041
		NSound.Volume = VOLUME
4042
		NSound.Pitch = PITCH
4043
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
4044
		swait()
4045
		NSound:play()
4046
		game:GetService("Debris"):AddItem(NSound, 10)
4047
	end))
4048
	return NSound
4049
end
4050
function Bark_Splosion()
4051
	attack = true
4052
	for i = 0,2,0.05 do
4053
		swait()
4054
		Effects.Block.Create(BrickC("Cool yellow"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4055
		Effects.Block.Create(BrickC("Medium stone grey"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4056
		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)
4057
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4058
		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)
4059
		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)
4060
		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)
4061
		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)
4062
	end
4063
	CreateSound("331666100", tors, 10, 1)
4064
	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)
4065
	MagniDamage(tors, 34, 25, 50, 15, "DarkUp")
4066
	CameraEnshaking(1.5, 10)  
4067
	for i = 1,2,0.1 do
4068
        swait()
4069
	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)
4070
	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)
4071
	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)
4072
	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)
4073
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
4074
	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)
4075
	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)
4076
	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)
4077
	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)
4078
	end
4079
	wait(.6)
4080
	attack = false
4081
end
4082
corrupted = false
4083
function Pixel_Corrupt()
4084
	attack = true
4085
        corrupted = true
4086
	for i = 0,3,0.05 do
4087
		swait()
4088
	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)
4089
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.9)
4090
	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)
4091
	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)
4092
	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)
4093
	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)
4094
		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)
4095
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4096
		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)
4097
		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)
4098
		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)
4099
		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)
4100
	end
4101
        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),})
4102
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 20, 20, 25, 0, "Normal")
4103
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 30, 30, 30, 32, 32, 32, 0.07, 1)
4104
	CreateSound("331666100", refa, 10, 1)
4105
	CameraEnshaking(1.5, 10)  
4106
	coroutine.resume(coroutine.create(function() 
4107
	for i = 1,20,0.1 do
4108
        swait(5)
4109
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)
4110
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)
4111
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)
4112
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)
4113
	CreateSound("331666100", refa, 10, 1)
4114
        BlockEffect(maincolor, refa.CFrame * CF(-0, -0, -0), 22, 22, 22, 25, 25, 25, 0.041, 1)
4115
	HitboxFunction(refa.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 21.3, 5, 8, 0, "Normal")
4116
        end
4117
        refa:Destroy()
4118
        corrupted = false
4119
        end))
4120
	for i = 1,2.5,0.1 do
4121
        swait()
4122
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)
4123
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.6)
4124
		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)
4125
		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)
4126
		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)
4127
		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)
4128
	end
4129
	wait(.3)
4130
	attack = false
4131
end
4132
function un_fun()
4133
        attack = true
4134
	hum.WalkSpeed = 0
4135
        BTAUNT:Play()
4136
        repeat
4137
        swait()
4138
        BTAUNT.Parent = tors
4139
        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)
4140
	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)
4141
	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)
4142
	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)
4143
        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)
4144
	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)
4145
	until BTAUNT.Playing == false
4146
        attack = false
4147
	hum.WalkSpeed = 8
4148
end
4149
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
4150
    local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
4151
    prt.Anchored = true
4152
    prt.Material = "Neon"
4153
    prt.CFrame = cframe
4154
    prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4155
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
4156
    game:GetService("Debris"):AddItem(prt, 5)
4157
    coroutine.resume(coroutine.create(function(Part, Mesh)
4158
        for i = 0, 1, delay do
4159
            swait()
4160
            Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
4161
            Part.Transparency = i
4162
            Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
4163
        end
4164-
MERKIO = Instance.new("Sound", tors) --why
4164+
4165-
MERKIO.SoundId = "http://www.roblox.com/asset/?id=2711959413"
4165+
4166-
MERKIO.Volume = 10
4166+
4167-
MERKIO.Pitch = 1
4167+
4168-
MERKIO.Looped = false
4168+
4169-
MERKIO.TimePosition = 0
4169+
4170-
function URA()
4170+
4171
	BlockEffect(BrickC("Royal purple"), ll.CFrame * CF(0, -1.5, 0), 5, 5, 5, 3, 3, 3, 0.04, 1)
4172-
        MERKIO:Play()
4172+
4173
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4174-
    for i = 0,0.7,0.2 do
4174+
4175
        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)
4176-
                MERKIO.Parent = tors
4176+
4177-
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
4177+
4178
    end
4179
    Cso("438666141", char, 10, 1)
4180
    Effects.Sphere.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 5, 2, 5, 150.6, .4, 150.6, 0.05)
4181
    Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.80, 0), 1500, 1500, 1500, 250.6, .6, 250.6, 0.05)
4182-
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
4182+
4183
        if v:FindFirstChild("Head") then
4184
            Eviscerate(v)
4185
        end
4186
    end
4187-
        Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
4187+
4188-
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(10)), 0.8)
4188+
4189-
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
4189+
4190-
        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)
4190+
4191-
        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)
4191+
4192-
        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)
4192+
4193-
        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)
4193+
4194
        hum.CameraOffset = Vector3.new(0,0,0)
4195-
        for i = 0,0.7,0.2 do
4195+
4196
    end))
4197-
                MERKIO.Parent = tors
4197+
4198-
    for i, v in pairs(FindNearestHead(ra.CFrame.p, 10)) do
4198+
4199
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4200
        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)
4201
        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)
4202
        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)
4203-
    for i, v in pairs(FindNearestHead(la.CFrame.p, 10)) do
4203+
4204
    end
4205
    attack = false
4206
end
4207
function thisisit2()
4208-
        Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0,-2,0) , 45, 45, 45, 0.1, 0.1, 0.1, 0.03)
4208+
4209-
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(0), Rad(0), Rad(-10)), 0.8)
4209+
4210-
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.9)
4210+
4211-
        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)
4211+
4212-
        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)
4212+
4213-
        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)
4213+
4214-
        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)
4214+
4215
	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)
4216-
        until MERKIO.Playing == false
4216+
4217-
        MERKIO:Stop()
4217+
4218
	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)
4219-
    hum.WalkSpeed = 16
4219+
4220
	until STAUNT2.Playing == false
4221
        attack = false
4222
	hum.WalkSpeed = 8
4223
end
4224
function thisisit()
4225
        attack = true
4226
    hum.WalkSpeed = 0
4227
        STAUNT:Play()
4228
        repeat
4229
        swait()
4230
        STAUNT.Parent = tors
4231
	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)
4232
	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)
4233
 	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)
4234
	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)
4235
        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)
4236
        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)
4237
    until STAUNT.Playing == false
4238
        attack = false
4239
    hum.WalkSpeed = 8
4240
end
4241
function Exploit()
4242
        exploitable = false
4243
	coroutine.resume(coroutine.create(function() 
4244
	for i = 1,20,0.1 do
4245
        swait()
4246
	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)
4247
        end
4248
	Cso("12222030", tors, 10, 1.05)
4249
        BlockEffect(maincolor, tors.CFrame * CF(0, 0, 0), 17, 17, 17, 20, 20, 20, 0.04, 1)
4250
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 27)) do
4251
		if v:FindFirstChild("Head") then
4252
                        Eviscerate(v)
4253
                        SoulSteal(v)
4254
		end
4255
	end
4256
        wait(15)
4257
        exploitable = true
4258
        end))
4259
end
4260
  DTrail5.Enabled = true
4261
        DTrail4.Enabled = true
4262
        DTrail3.Enabled = true
4263
        DTrail2.Enabled = true
4264
        DTrail.Enabled = true
4265
function ASCENTION()
4266
	attack = true
4267
	hum.WalkSpeed = 0
4268
	Cso("987502413", tors, 10, 1.05)
4269
        local vel2 = Instance.new("BodyVelocity",tors)
4270
        vel2.Velocity = Vector3.new(0,30,0)
4271
        vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
4272
	for i = 0,20,0.1 do
4273
	HitboxFunction(tors.CFrame * CF(0, -0, -0), 0.01, 1, 1, 1, 7, 10, 20, 20, "Normal")
4274
		swait()
4275
                BlockEffect(maincolor, ra.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
4276
                BlockEffect(maincolor, la.CFrame * CF(-0, -1, -0), 4, 4, 4, 5, 5, 5, 0.07, 1)
4277
		CameraEnshaking(1, 4)
4278
		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)
4279
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4280
		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)
4281
		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)
4282
		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)
4283
		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)
4284
	end
4285
	hum.WalkSpeed = 8
4286
        vel2:Destroy()
4287
	attack = false
4288
end
4289
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4290
local type = type
4291
local rng = Instance.new("Part", char)
4292
        rng.Anchored = true
4293
        rng.Color = color
4294
        rng.CanCollide = false
4295
        rng.FormFactor = 3
4296
        rng.Name = "Ring"
4297
        rng.Material = "Neon"
4298
        rng.Size = Vector3.new(1, 1, 1)
4299
        rng.Transparency = 0
4300
        rng.TopSurface = 0
4301
        rng.BottomSurface = 0
4302
        rng.CFrame = pos
4303
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4304
        local rngm = Instance.new("SpecialMesh", rng)
4305
        rngm.MeshType = "Sphere"
4306
rngm.Scale = vt(x1,y1,z1)
4307
if rainbowmode == true then
4308
rng.Color = Color3.new(r/255,g/255,b/255)
4309
end
4310
local scaler2 = 1
4311
local speeder = FastSpeed
4312
if type == "Add" then
4313
scaler2 = 1*value
4314
elseif type == "Divide" then
4315
scaler2 = 1/value
4316
end
4317
coroutine.resume(coroutine.create(function()
4318
for i = 0,10/bonuspeed,0.1 do
4319
swait()
4320
if rainbowmode == true then
4321
rng.Color = Color3.new(r/255,g/255,b/255)
4322
end
4323
if type == "Add" then
4324
scaler2 = scaler2 - 0.01*value/bonuspeed
4325
elseif type == "Divide" then
4326
scaler2 = scaler2 - 0.01/value*bonuspeed
4327
end
4328
if chaosmode == true then
4329
rng.BrickColor = BrickColor.random()
4330
end
4331
        if glitchymode then
4332
            local val = math.random(1,255)
4333
            local color = Color3.fromRGB(val,val,val)
4334
            rng.Color = color
4335
        end
4336
speeder = speeder - 0.01*FastSpeed*bonuspeed
4337
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4338
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4339
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4340
end
4341
rng:Destroy()
4342
end))
4343
end
4344
4345
function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
4346
    local type = type
4347
    local rng = Instance.new("Part", char)
4348
    rng.Anchored = true
4349
    rng.BrickColor = color
4350
    rng.CanCollide = false
4351
    rng.FormFactor = 3
4352
    rng.Name = "Ring"
4353
    rng.Material = "Neon"
4354
    rng.Size = Vector3.new(1, 1, 1)
4355
    rng.Transparency = 0
4356
    rng.TopSurface = 0
4357
    rng.BottomSurface = 0
4358
    rng.CFrame = pos
4359
    rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
4360
    local rngm = Instance.new("SpecialMesh", rng)
4361
    rngm.MeshType = "Sphere"
4362
    rngm.Scale = Vector3.new(x1, y1, z1)
4363
    local scaler2 = 1
4364
    local speeder = FastSpeed
4365
    if type == "Add" then
4366
        scaler2 = 1 * value
4367
    elseif type == "Divide" then
4368
        scaler2 = 1 / value
4369
    end
4370
    coroutine.resume(coroutine.create(function()
4371
        for i = 0, 10 / bonuspeed, 0.1 do
4372
            swait()
4373
            if type == "Add" then
4374
                scaler2 = scaler2 - 0.01 * value / bonuspeed
4375
            elseif type == "Divide" then
4376
                scaler2 = scaler2 - 0.01 / value * bonuspeed
4377
            end
4378
                        rng.BrickColor = BrickColor.random()
4379
            speeder = speeder - 0.01 * FastSpeed * bonuspeed
4380
            rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
4381
            rng.Transparency = rng.Transparency + 0.01 * bonuspeed
4382
            rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
4383
        end
4384
        rng:Destroy()
4385
    end))
4386
end
4387
4388
		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)
4389
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
4390
		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)
4391
		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)
4392
		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)
4393
		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)
4394
4395
function aaa()
4396
    attack = true
4397
    maincolor = BrickColor.Random()
4398
	for i = 0,20,0.1 do
4399
        swait()
4400
		Effects.Block.Create(BrickColor.Random(), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4401
		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)
4402
		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)
4403
		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)
4404
		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)
4405
		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)
4406
		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)
4407
    end
4408
    Magic(5, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(10, 10, 10), 1, maincolor, "Sphere")
4409
    Magic(3, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(20, 20, 20), 1, maincolor, "Sphere")
4410
    Magic(1, "Add", root.CFrame * CFrame.new(0, 0, 0), Vector3.new(30, 30, 30), 1, maincolor, "Sphere")
4411
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4412
        if v:FindFirstChild("Head") then
4413
            Eviscerate(v)
4414
        end
4415
    end
4416
    maincolor = BrickColor.new("White")
4417
    attack = false
4418
end
4419
4420
function stomp()
4421
    attack = true
4422
    CreateSound("331666100", char, 10, 1)
4423
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4424
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4425
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4426
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4427
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
4428
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
4429
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4430
        if v:FindFirstChild("Head") then
4431
            Eviscerate(v)
4432
            SoulSteal(v)
4433
        end
4434
    end
4435
    coroutine.resume(coroutine.create(function()
4436
        for i = 0,2.8,0.1 do
4437
            swait()
4438
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4439
        end
4440
        for i = 0,1.8,0.1 do
4441
            swait()
4442
        hum.CameraOffset = Vector3.new(0,0,0)
4443
        end
4444
    end))
4445
    wait(.6)
4446
    attack = false
4447
end
4448
function Painful_Stomp()
4449
    attack = true
4450
    CreateSound("331666100", char, 10, 1)
4451
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4452
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4453
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4454
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
4455
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
4456
    Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
4457
    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)
4458
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
4459
        if v:FindFirstChild("Head") then
4460
            Eviscerate(v)
4461
        end
4462
    end
4463
    coroutine.resume(coroutine.create(function()
4464
        for i = 0,2.8,0.1 do
4465
            swait()
4466
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4467
        end
4468
        for i = 0,1.8,0.1 do
4469
            swait()
4470
        hum.CameraOffset = Vector3.new(0,0,0)
4471
        end
4472
    end))
4473
    attack = false
4474
end
4475
4476
local Hair = Instance.new("Part", char)
4477
Hair.Name = "Hair"
4478
Hair.CanCollide = false
4479
Hair.BrickColor = BrickColor.new("Institutional white")
4480
Hair.Transparency = 0
4481
Hair.Material = "Plastic"
4482
Hair.Size = Vector3.new(1, 1, 2)
4483
Hair.TopSurface = Enum.SurfaceType.Smooth
4484
Hair.BottomSurface = Enum.SurfaceType.Smooth
4485
 
4486
local Weld = Instance.new("Weld", Hair)
4487
Weld.Part0 = hed
4488
Weld.Part1 = Hair
4489
Weld.C1 = CFrame.new(0, -.6, 0)
4490
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
4491
 
4492
local M2 = Instance.new("SpecialMesh")
4493
M2.Parent = Hair
4494
M2.MeshId = "http://www.roblox.com/asset/?id=0"
4495
M2.TextureId = "http://www.roblox.com/asset/?id=1200702008"
4496
M2.Scale = Vector3.new(1, 1, 1)
4497
4498
4499
4500
4501
------
4502
local r2,g2,b2=255,0,0
4503
4504
local rate = 5--more is faster!
4505
4506
spawn(function()
4507
    while true do
4508
        for i=0,255,rate do
4509
            g2 = i
4510
            wait()
4511
        end
4512
        for i=255,0,-rate do
4513
            r2 = i
4514
            wait()
4515
        end
4516
        for i=0,255,rate do
4517
            b2 = i
4518
            wait()
4519
        end
4520
        for i=255,0,-rate do
4521
            g2 = i
4522
            wait()
4523
        end
4524
        for i=0,255,rate do
4525
            r2 = i
4526
            wait()
4527
        end
4528
        for i=255,0,-rate do
4529
            b2 = i
4530
            wait()
4531
        end
4532
    end
4533
end)
4534
------
4535
4536
local r,g,b=255,0,0
4537
4538
local rate = 1000--more is faster!
4539
4540
spawn(function()
4541
    while true do
4542
        for i=0,255,rate do
4543
            g = i
4544
            wait()
4545
        end
4546
        for i=255,0,-rate do
4547
            r = i
4548
            wait()
4549
        end
4550
        for i=0,255,rate do
4551
            b = i
4552
            wait()
4553
        end
4554
        for i=255,0,-rate do
4555
            g = i
4556
            wait()
4557
        end
4558
        for i=0,255,rate do
4559
            r = i
4560
            wait()
4561
        end
4562
        for i=255,0,-rate do
4563
            b = i
4564
            wait()
4565
        end
4566
    end
4567
end)
4568
4569
function ByeBye()
4570
    local target = nil
4571
    local targettorso = nil
4572
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
4573
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
4574
            target = mouse.Target.Parent.Humanoid
4575
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
4576
            targethead = mouse.Target.Parent:FindFirstChild("Head")
4577
        end
4578
    end
4579
    if target ~= nil then
4580
        targettorso.Anchored = true
4581
        attack = true
4582
        hum.WalkSpeed = 0
4583
        root.CFrame = targettorso.CFrame * CF(0,0,2)
4584
        for i = 0,4.2,0.1 do
4585
            swait()
4586
        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)
4587
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4588
        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)
4589
        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)
4590
        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)
4591
        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)
4592
        end
4593
        local bloody = Instance.new("ParticleEmitter",targettorso)
4594
        bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
4595
        bloody.LightEmission = .1
4596
        bloody.Size = NumberSequence.new(0.5, 0)
4597
        bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
4598
        aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
4599
        bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
4600
        bloody.Transparency = bbb
4601
        bloody.Size = aaa
4602
        bloody.ZOffset = -.9
4603
        bloody.Acceleration = Vector3.new(0, -5, 0)
4604
        bloody.LockedToPart = false
4605
        bloody.Lifetime = NumberRange.new(0.8)
4606
        bloody.Rate = 255
4607
        bloody.Rotation = NumberRange.new(-100, 100)
4608
        bloody.RotSpeed = NumberRange.new(-100, 100)
4609
        bloody.Speed = NumberRange.new(6)
4610
        bloody.VelocitySpread = 0
4611
        bloody.Enabled=true
4612
        targethead:Remove()
4613
        CreateSound("429400881", targettorso, 5, .8)
4614
        CreateSound("1093102664", targettorso, 10, 1)
4615
        for i = 0,6.2,0.1 do
4616
            swait()
4617
        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)
4618
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
4619
        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)
4620
        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)
4621
        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)
4622
        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)
4623
        end
4624
        targettorso.Anchored = false
4625
        attack = false
4626
        hum.WalkSpeed = 16
4627
        root.CFrame = targettorso.CFrame * CF(0,0,3)
4628
    end
4629
end
4630
4631
local Blood1 = Create("ParticleEmitter")({
4632
  Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
4633
  Transparency = NumberSequence.new(0.1, 1),
4634
  Size = NumberSequence.new(0.5, 0),
4635
  Texture = "rbxassetid://602578593",
4636
  Lifetime = NumberRange.new(0.8),
4637
  Rate = 255,
4638
  VelocitySpread = 40,
4639
  Rotation = NumberRange.new(100),
4640
  Speed = NumberRange.new(5),
4641
  LightEmission = 0,
4642
  LockedToPart = false,
4643
  Acceleration = Vector3.new(0, -10, 0),
4644
  EmissionDirection = "Bottom"
4645
})
4646
4647
function Sayonara()
4648
    local target = nil
4649
    local targettorso = nil
4650
    if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
4651
        if mouse.Target.Parent.Humanoid.PlatformStand == false then
4652
            target = mouse.Target.Parent.Humanoid
4653
            targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
4654
            targethead = mouse.Target.Parent:FindFirstChild("Head")
4655
            targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
4656
            targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
4657
        end
4658
    end
4659
    if target ~= nil then
4660
        targettorso.Anchored = true
4661
        attack = true
4662
        hum.WalkSpeed = 0
4663
        root.CFrame = targettorso.CFrame * CF(0,0,2.4)
4664
        for i = 0,6.2,0.1 do
4665
            swait()
4666
        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)
4667
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
4668
        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)
4669
        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)
4670
        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)
4671
        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)
4672
        end
4673
        do
4674
        CreateSound("429400881", targettorso, 5, 1)
4675
        local ModelArm02 = New("Model", char, "Arm", {})
4676
        local ModelArm03 = New("Model", char, "Arm", {})
4677
        local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
4678
        local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
4679
        local Arm02 = targetleftarm:Clone()
4680
        local Arm03 = targetrightarm:Clone()
4681
        targetleftarm.Transparency = 1
4682
        targetrightarm.Transparency = 1
4683
        Arm02.Parent = ModelArm02
4684
        Arm03.Parent = ModelArm03
4685
        for i, v in pairs(Arm02:GetChildren()) do
4686
          v:Destroy()
4687
        end
4688
        for i, v in pairs(Arm03:GetChildren()) do
4689
          v:Destroy()
4690
        end
4691
        local weldArm02 = Instance.new("Weld")
4692
        weldArm02.Parent = Arm02
4693
        weldArm02.Part0 = targetleftarm
4694
        weldArm02.Part1 = Arm02
4695
        weldArm02.C1 = CFrame.new(0, 0, 0)
4696
        local weldArm03 = Instance.new("Weld")
4697
        weldArm03.Parent = Arm03
4698
        weldArm03.Part0 = targetrightarm
4699
        weldArm03.Part1 = Arm03
4700
        weldArm03.C1 = CFrame.new(0, 0, 0)
4701
        for i, v in pairs(target:GetChildren()) do
4702
          if v:IsA("Shirt") then
4703
            v:clone().Parent = ModelArm02
4704
          end
4705
        end
4706
        for i, v in pairs(target:GetChildren()) do
4707
          if v:IsA("Shirt") then
4708
            v:clone().Parent = ModelArm03
4709
          end
4710
        end
4711
        weldArm02.Part0 = la
4712
        weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
4713
        weldArm03.Part0 = ra
4714
        weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
4715
        local BE1 = Blood1:Clone()
4716
        BE1.Parent = targetleftarm
4717
        game:GetService("Debris"):AddItem(BE1, 3)
4718
        BE1.Rate = 255
4719
        local BE2 = Blood1:Clone()
4720
        BE2.Parent = targetrightarm
4721
        game:GetService("Debris"):AddItem(BE2, 3)
4722
        BE2.Rate = 255
4723
        for i = 0,6.2,0.1 do
4724
            swait()
4725
        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)
4726
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4727
        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)
4728
        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)
4729
        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)
4730
        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)
4731
        end
4732
        for i = 0,6.2,0.1 do
4733
            swait()
4734
        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)
4735
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4736
        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)
4737
        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)
4738
        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)
4739
        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)
4740
        end
4741
        CreateSound("541909763", targettorso, 5, .8)
4742
        weldArm02:Destroy()
4743
        Arm02.CanCollide = true
4744
        weldArm03:Destroy()
4745
        Arm03.CanCollide = true
4746
        local bodyVelocity2 = Create("BodyVelocity")({
4747
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4748
          P = 5000,
4749
          maxForce = Vector3.new(8000, 8000, 8000),
4750
          Parent = Arm02
4751
        })
4752
        local bodyVelocity3 = Create("BodyVelocity")({
4753
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
4754
          P = 5000,
4755
          maxForce = Vector3.new(8000, 8000, 8000),
4756
          Parent = Arm03
4757
        })
4758
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
4759
        game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
4760
        for i = 0,6.2,0.1 do
4761
            swait()
4762
        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)
4763
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
4764
        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)
4765
        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)
4766
        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)
4767
        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)
4768
        end
4769
        end
4770
        targettorso.Anchored = false
4771
        attack = false
4772
        hum.WalkSpeed = 16
4773
        root.CFrame = targettorso.CFrame * CF(0,0,3.4)
4774
    end
4775
end
4776
4777
function dash()
4778
dashing = true
4779
attack = true
4780
  local bv = Instance.new("BodyVelocity")
4781
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4782
  bv.velocity = root.CFrame.lookVector*200
4783
  bv.Parent = root
4784
for i = 0,1,0.1 do
4785
		swait()
4786
bv.velocity = root.CFrame.lookVector*200
4787
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
4788
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
4789
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
4790
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
4791
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)
4792
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)
4793
	end
4794
bv:Destroy()
4795
attack = false
4796
dashing = false
4797
end
4798
4799
function Multi_Bombs()
4800
    attack = true
4801
    hum.WalkSpeed = 3.01
4802
    for i = 0,3,0.1 do
4803
        swait()
4804
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4805
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4806
        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)
4807
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4808
        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)
4809
        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)
4810
        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)
4811
        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)
4812
    end
4813
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4814
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4815
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4816
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4817
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4818
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4819
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4820
    CreateSound("142070127", tors, 10, 1)
4821
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4822
        if v:FindFirstChild("Head") then
4823
            Eviscerate(v)
4824
        end
4825
    end 
4826
    for i = 0,1,0.1 do
4827
        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)
4828
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4829
        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)
4830
        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)
4831
        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)
4832
        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)
4833
    end
4834
    for i = 0,2,0.1 do
4835
        swait()
4836
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4837
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4838
        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)
4839
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4840
        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)
4841
        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)
4842
        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)
4843
        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)
4844
    end
4845
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4846
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4847
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4848
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4849
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4850
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4851
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4852
    CreateSound("142070127", tors, 10, 1)
4853
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4854
        if v:FindFirstChild("Head") then
4855
            Eviscerate(v)
4856
        end
4857
    end 
4858
    for i = 0,1,0.1 do
4859
        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)
4860
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4861
        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)
4862
        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)
4863
        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)
4864
        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)
4865
    end
4866
    for i = 0,2,0.1 do
4867
        swait()
4868
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4869
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4870
        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)
4871
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4872
        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)
4873
        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)
4874
        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)
4875
        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)
4876
    end
4877
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
4878
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
4879
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
4880
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
4881
    Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
4882
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
4883
    Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
4884
    CreateSound("142070127", tors, 10, 1)
4885
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 70)) do
4886
        if v:FindFirstChild("Head") then
4887
            Eviscerate(v)
4888
        end
4889
    end 
4890
   for i = 0,1,0.1 do
4891
        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)
4892
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4893
        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)
4894
        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)
4895
        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)
4896
        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)
4897
    end
4898
    wait(.6)
4899
    attack = false
4900
    hum.WalkSpeed = 8
4901
end
4902
function Universal_Crush()
4903
    attack = true
4904
    for i = 0,5.2,0.05 do
4905
        swait()
4906
        Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4907
        Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
4908
        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)
4909
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4910
        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)
4911
        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)
4912
        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)
4913
        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)
4914
    end
4915
    CreateSound("331666100", tors, 10, 1)
4916
    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)
4917
    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)
4918
    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)
4919
    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)
4920
    for i, v in pairs(FindNearestHead(tors.CFrame.p, 500)) do
4921
        if v:FindFirstChild("Head") then
4922
            Eviscerate(v)
4923
        end
4924
    end
4925
    coroutine.resume(coroutine.create(function()
4926
        for i = 0,1.8,0.1 do
4927
            swait()
4928
            hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
4929
        end
4930
        for i = 0,1.8,0.1 do
4931
            swait()
4932
        hum.CameraOffset = Vector3.new(0,0,0)
4933
        end
4934
    end))
4935
    for i = 1,4.7,0.1 do
4936
    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)
4937
    tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4938
    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)
4939
    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)
4940
    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)
4941
    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)
4942
    end
4943
    wait(.6)
4944
    attack = false
4945
end
4946
-------------------------------------------------------
4947
--End Attacks N Stuff--
4948
-------------------------------------------------------
4949
Sprinting = false
4950
mouse.KeyDown:connect(function(key)
4951
    if string.byte(key) == 48 and attack == false and Mode ~= 10 then
4952
        Swing = 2
4953
        hum.WalkSpeed = 38.82
4954
        Sprinting = true
4955
	end
4956
end)
4957
mouse.KeyUp:connect(function(key)
4958
    if string.byte(key) == 48 and attack == false then
4959
        Swing = 1
4960
        Sprinting = false
4961
        hum.WalkSpeed = 8
4962
	end
4963
end)
4964
mouse.KeyDown:connect(function(key)
4965
	if attack == false then
4966
		if key == 'q' and Mode == 1 then
4967
                        Power_Burst()
4968
		elseif key == '1' and Mode ~= 2 then
4969
			Mode = 2
4970
			SONG = 2145635015
4971
		elseif key == '1' and Mode == 2 then
4972
			resetmode()
4973
		elseif key == 't' and Mode == 1 then
4974
                        Taunt()
4975
		elseif key == 'q' and Mode == 2 then
4976
                        Magic_Bombs()
4977
		elseif key == 'e' and Mode == 2 then
4978
                        Dangerous_Field()
4979
        elseif key == 'c' and Mode == 2 then
4980
            dash()
4981
		elseif key == 't' and Mode == 2 then
4982
                        HAAH()
4983
		end
4984
	---------------------------------------------------------------------
4985
    if key == 'b' and Mode == 6 and Mode ~= 10 and Sprinting == false then
4986
Cso("719384308", ra, 10, 1)
4987
        SONG = 0
4988
Cso("4095610922", ra, 10, 1)
4989
tecks2.Text = "At this moment let's drip a bit slower..."
4990
wait(4)
4991
tecks2.Text = ""
4992
        SONG = 2705053978
4993
        Mode = 3
4994
        tecks2.Text = ""
4995
        tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
4996
        tecks2.TextStrokeColor3 = Color3.fromRGB(123, 46, 47)
4997
        imgl2.ImageColor3 = BrickC("Black").Color
4998
        techc.ImageColor3 = BrickC("Really red").Color
4999
        ned.Text = ""
5000
for i, v in pairs(NeonColorParts1000) do
5001
  v.BrickColor = BrickC("Really red")
5002
end
5003
        ned.TextColor3 = BrickC("Black").Color
5004
        ned.TextStrokeColor3 = BrickC("Really black").Color
5005
        elseif key == 'c' and Mode == 3 then
5006
            dash()
5007
        elseif key == 'b' and Mode == 3 then
5008
            resetmode()
5009
    end
5010
	---------------------------------------------------------------------
5011
    if key == 'j' and Mode ~= 8 then
5012
Cso("719384308", ra, 10, 1)
5013
        SONG = 224918031
5014
        Mode = 8
5015
        tecks2.Text = ""
5016
        tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5017
        tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5018
        imgl2.ImageColor3 = BrickC("Red").Color
5019
        techc.ImageColor3 = BrickC("Black").Color
5020
        ned.Text = "Corrupted"
5021
hum.WalkSpeed = 30
5022
for i, v in pairs(NeonColorParts1000) do
5023
  v.BrickColor = BrickC("White")
5024
end
5025
        ned.TextColor3 = BrickC("Black").Color
5026
        ned.TextStrokeColor3 = BrickC("White").Color
5027
        elseif key == 'c' and Mode == 8 then
5028
            dash()
5029
        elseif key == 'j' and Mode == 8 then
5030
            resetmode()
5031
    end
5032
	---------------------------------------------------------------------
5033
	---------------------------------------------------------------------
5034
5035
	---------------------------------------------------------------------
5036
    if key == 'f' and Mode ~= 6 then
5037
Cso("719384308", ra, 10, 1)
5038
        Mode = 6
5039
        SONG = 165570494
5040
        tecks2.Text = ""
5041
        tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5042
        tecks2.TextStrokeColor3 = Color3.fromRGB(107, 50, 124)
5043
        imgl2.ImageColor3 = BrickC("Royal purple").Color
5044
        techc.ImageColor3 = BrickC("Black").Color
5045
        ned.Text = "Stardust"
5046
        ned.TextColor3 = BrickC("Black").Color
5047
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
5048
        elseif key == 'f' and Mode == 6 then
5049
            resetmode()
5050
        elseif key == 'z' and Mode == 6 then
5051
            Decapitate()
5052
        elseif key == 'x' and Mode == 6 then
5053
            Sayonara()
5054
        elseif key == 't' and Mode == 6 then
5055
            TTTTTTTTTTTaunt()        
5056
        elseif key == 'e' and Mode == 6 then
5057
            dash()
5058
        elseif key == 'c' and Mode == 6 then
5059
            ByeBye()
5060
    end
5061
	---------------------------------------------------------------------
5062
    if key == 'b' and Mode == oof then
5063
Cso("719384308", ra, 10, 1)
5064
SONG = 1842342421
5065
wait(3)
5066
        Mode = 9990
5067
        SONG = 1306847940
5068
        tecks2.Text = ""
5069
        tecks2.TextColor3 = Color3.fromRGB(1, 1, 1)
5070
        tecks2.TextStrokeColor3 = Color3.fromRGB(196, 40, 28)
5071
        imgl2.ImageColor3 = BrickC("Really black").Color
5072
        techc.ImageColor3 = BrickC("Really red").Color
5073
        ned.Text = "Heartless"
5074-
    if key == 'm' and Mode == 6 and Mode ~= 10 and Sprinting == false then
5074+
5075-
        Mode = 10
5075+
5076-
        SONG = 1702473314
5076+
5077-
		tecks2.Text = "Masquerade"
5077+
5078-
        tecks2.TextColor3 = Color3.fromRGB(r2,g2,b2)
5078+
5079-
		tecks2.TextStrokeColor3 = Color3.fromRGB(r2,g2,b2)      
5079+
5080-
        elseif key == 'm' and Mode == 10 then
5080+
5081
            resetmode()
5082-
        elseif key == 'q' and Mode == 10 then
5082+
5083
	---------------------------------------------------------------------
5084-
        elseif key == 'e' and Mode == 10 then
5084+
5085-
            stomp()
5085+
Cso("719384308", ra, 10, 1)
5086-
        elseif key == 'r' and Mode == 10 then
5086+
5087-
            Painful_Stomp()
5087+
        SONG = 743334292
5088-
        elseif key == 'c' and Mode == 10 then
5088+
		tecks2.Text = ""
5089
		tecks2.TextColor3 = Color3.fromRGB(229, 173, 200)
5090-
        elseif key == 't' and Mode == 10 then
5090+
5091-
            aaa()
5091+
5092
        techc.ImageColor3 = BrickC("Hot pink").Color
5093
        ned.Text = "Silence"
5094
for i, v in pairs(NeonColorParts1000) do
5095-
    if key == 'j' and Mode ~= 3 then
5095+
5096
end
5097-
        SONG = 2325772291
5097+
5098-
        tecks2.Text = "Seasons"
5098+
        ned.TextStrokeColor3 = BrickC("Royal purple").Color
5099
        elseif key == 'c' and Mode == 122 then
5100
            dash()
5101-
        imgl2.ImageColor3 = BrickC("Forest green").Color
5101+
5102
            resetmode()
5103-
        ned.Text = "Seasons"
5103+
5104
	---------------------------------------------------------------------
5105
	---------------------------------------------------------------------
5106
    if key == 'b' and Mode == 8 then
5107
Cso("719384308", ra, 10, 1)
5108
        Mode = 10000
5109
        SONG = 259776573
5110
        tecks2.Text = ""
5111
        tecks2.TextColor3 = Color3.fromRGB(255, 255, 255)
5112
        tecks2.TextStrokeColor3 = Color3.fromRGB(196, 112, 160)
5113
        imgl2.ImageColor3 = BrickC("White").Color
5114
        techc.ImageColor3 = BrickC("Med. reddish violet").Color
5115
        ned.Text = "Rosarian"
5116-
    if key == 'g' and Mode ~= 3 then
5116+
5117
        ned.TextStrokeColor3 = BrickC("Med. reddish violet").Color
5118-
tecks2.Text = "Well, at this moment let's go a bit slower to point depression"
5118+
5119-
Cso("147684390", ra, 10, 1)
5119+
5120-
wait(2)
5120+
5121
            dash()
5122-
        SONG = 3378313416
5122+
5123
            resetmode()
5124
    end
5125
	---------------------------------------------------------------------
5126
5127
	---------------------------------------------------------------------
5128
    if key == 'h' and Mode ~= 99 then
5129
Cso("719384308", ra, 10, 1)
5130
        Mode = 99
5131
        SONG = 146414661
5132
        tecks2.Text = ""
5133
		tecks2.TextColor3 = Color3.fromRGB(60, 0, 0)
5134
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5135
        imgl2.ImageColor3 = BrickC("Bright yellow").Color
5136
5137-
        elseif key == 't' and Mode == 3 then
5137+
        techc.ImageColor3 = BrickC("Yellow").Color
5138-
SONG = 0
5138+
        ned.Text = "Mechanized"
5139-
	Cso("2060424852", hed, 10, 1)
5139+
5140
        ned.TextStrokeColor3 = BrickC("Bright yellow").Color
5141-
tecks2.Text = "This is the end of world"
5141+
5142-
wait(2)
5142+
5143-
SONG = 848367322
5143+
5144-
tecks2.Text = ":("
5144+
5145
        elseif key == 'h' and Mode == 99 then
5146-
function sandbox(var,func)
5146+
5147-
	local env = getfenv(func)
5147+
5148-
	local newenv = setmetatable({},{
5148+
5149
    if key == 'g' and Mode ~= oof then
5150-
			if k=="script" then
5150+
Cso("719384308", ra, 10, 1)
5151-
				return var
5151+
Cso("2440672174", ra, 10, 1)
5152-
			else
5152+
		Mode = 0
5153-
				return env[k]
5153+
		SONG = 0
5154
		tecks2.Text = ""
5155
		tecks2.TextColor3 = Color3.fromRGB(149, 138, 115)
5156
		tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
5157-
	setfenv(func,newenv)
5157+
        ned.Text = "???"
5158-
	return func
5158+
5159
		Mode = oof
5160-
cors = {}
5160+
		SONG = 1925012487
5161-
mas = Instance.new("Model",game:GetService("Lighting"))
5161+
        ned.Text = "Mirage"
5162-
Sky0 = Instance.new("Sky")
5162+
		tecks2.Text = ""
5163-
Sky0.Name = "Skybox"
5163+
5164-
Sky0.Parent = mas
5164+
5165-
Sky0.CelestialBodiesShown = false
5165+
5166-
Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=190477248"
5166+
5167-
Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=190477222"
5167+
5168-
Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=190477200"
5168+
        ned.TextStrokeColor3 = BrickC("Sand yellow").Color
5169-
Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=190477185"
5169+
5170-
Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=190477166"
5170+
5171-
Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=190477146"
5171+
5172-
Sky0.StarCount = 0
5172+
	elseif key == 'g' and Mode == oof then
5173-
for i,v in pairs(mas:GetChildren()) do
5173+
5174-
	v.Parent = game:GetService("Lighting")
5174+
5175-
	pcall(function() v:MakeJoints() end)
5175+
5176
	elseif key == 't' and Mode == oof then
5177-
mas:Destroy()
5177+
5178-
for i,v in pairs(cors) do
5178+
5179-
	spawn(function()
5179+
5180-
		pcall(v)
5180+
5181
		LunarSpin()
5182
	end
5183
	end
5184-
        elseif key == 'g' and Mode == 3 then
5184+
5185
local Combo = 1
5186
mouse.Button1Down:connect(function(key)
5187
	if attack == false then
5188
		if Combo == 1 then
5189
			Combo = 2
5190-
        SONG = 3100419246
5190+
5191-
        tecks2.Text = "Stardust"
5191+
5192
			Combo = 3
5193
			attacktwo()
5194
		elseif Combo == 3 then
5195
			Combo = 1
5196
			attackthree()
5197-
        ned.TextColor3 = BrickC("Royal purple").Color
5197+
5198-
        ned.TextStrokeColor3 = BrickC("Black").Color
5198+
5199
end)
5200
5201
5202
5203
 function newTheme(ID,timepos,pitch,vol)
5204
local kanz = Music
5205
--kanz:Stop()
5206
kanz.Volume = vol
5207
--kanz.TimePosition = timepos
5208
kanz.PlaybackSpeed = pitch
5209
kanz.Pitch = pitch
5210
kanz.SoundId = ID
5211
kanz.Name = "wrecked"
5212
kanz.Looped = true
5213-
    if key == 'b' and Mode == 3 then
5213+
5214
currentVol = kanz.Volume
5215-
        SONG = 1290315395
5215+
5216-
        tecks2.Text = "Spice"
5216+
5217
--coroutine.resume(coroutine.create(function()
5218
--wait(0.05)
5219
--end))
5220
end
5221-
        ned.Text = "Spice"
5221+
5222
5223
function newThemeCust(ID,timepos,pitch,vol)
5224-
      
5224+
5225
kanz:Stop()
5226
kanz.Volume = vol
5227
kanz.TimePosition = timepos
5228
kanz.PlaybackSpeed = pitch
5229
kanz.Pitch = pitch
5230
kanz.SoundId = ID
5231
kanz.Name = "wrecked"
5232
kanz.Looped = true
5233
currentThemePlaying = kanz.SoundId
5234
currentVol = kanz.Volume
5235-
        SONG = 2619399246
5235+
5236-
		tecks2.Text = "Synthesis"
5236+
5237
coroutine.resume(coroutine.create(function()
5238
wait(0.05)
5239
end))
5240
end
5241-
        ned.Text = "Synthesis"
5241+
5242
plr.Chatted:connect(function(message)
5243
if Mode == 3 then
5244
if message:sub(1,5) == "play/" then
5245-
        ned.TextColor3 = BrickC("Roayl purple").Color
5245+
5246
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
5247-
        elseif key == 'z' and Mode == 122 then
5247+
5248-
            URA()
5248+
5249
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
5250
elseif message:sub(1,4) == "vol/" then
5251
OVMVOL = message:sub(5)
5252
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
5253
elseif message:sub(1,7) == "skipto/" then
5254
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(Music.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
5255-
    if key == 'n' and Mode == 1 then
5255+
5256
elseif message:sub(1,9) == "telltime/" then
5257-
tecks2.Text = "I'l show you the power"
5257+
5258-
Cso("447225089", ra, 10, 1)
5258+
5259
end
5260-
tecks2.Text = "of hell security"
5260+
5261
5262
Music.Name = "musicname"
5263
5264-
        SONG = 901719740
5264+
5265-
        Mode = 25
5265+
5266-
        		tecks2.Text = "Hell Security X"
5266+
5267-
		tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
5267+
5268
-------------------------------------------------------
5269
--Start Animations--
5270
-------------------------------------------------------
5271
while true do
5272-
        ned.Text = "Hell security X"
5272+
5273
	sine = sine + change
5274-
        ned.TextStrokeColor3 = BrickC("Black").Color
5274+
5275-
        elseif key == 'z' and Mode == 25 then
5275+
5276
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
5277-
        elseif key == 'x' and Mode == 25 then
5277+
5278
		if attack == false then
5279-
        elseif key == 'c' and Mode == 25 then
5279+
5280
		else
5281-
        elseif key == 'e' and Mode == 25 then
5281+
5282
		end
5283-
        elseif key == 'n' and Mode == 25 then
5283+
5284
        maincolor = BrickColor.random()
5285
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5286
        techc.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5287-
    if key == 'm' and Mode == 8 then
5287+
5288
5289-
        SONG = 1844605089
5289+
5290-
        tecks2.Text = "Rosarian"
5290+
5291
aa24.BrickColor = BrickColor.random()
5292-
        tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 191)
5292+
5293
aa26.BrickColor = BrickColor.random()
5294
aa35.BrickColor = BrickColor.random()
5295
aa33.BrickColor = BrickColor.random()
5296
aa31.BrickColor = BrickColor.random()
5297-
        ned.TextStrokeColor3 = BrickC("Hot pink").Color
5297+
5298
        techc.Rotation = math.random(-9, 9)
5299
        ned.Rotation = 0 - 2 * math.cos(sine / 1)
5300
        ned.Position = UDim2.new(0.55,0 - 10 * math.cos(sine / 1),0.79,0 - 10 * math.cos(sine / 1))
5301
hum.WalkSpeed = 8
5302
aa4.Color = Color3.fromRGB(r2,g2,b2)
5303
aa5.Color = Color3.fromRGB(r2,g2,b2)
5304
aa8.Color = Color3.fromRGB(r2,g2,b2)
5305
aa11.Color = Color3.fromRGB(r2,g2,b2)
5306
aa12.Color = Color3.fromRGB(r2,g2,b2)
5307
aa13.Color = Color3.fromRGB(r2,g2,b2)
5308-
        SONG = 2207499116
5308+
5309-
        		tecks2.Text = "Beatable"
5309+
5310
        end
5311
        if Mode == 3 then
5312-
        imgl2.ImageColor3 = BrickC("Deep orange").Color
5312+
5313
        imgl2.ImageColor3 = Color3.fromRGB(r2,g2,b2)
5314-
        techc.ImageColor3 = BrickC("Deep orange").Color
5314+
5315-
        ned.Text = "Beatable"
5315+
5316-
        ned.TextColor3 = BrickC("Deep orange").Color
5316+
5317-
        ned.TextStrokeColor3 = BrickC("Deep orange").Color
5317+
5318
aa35.Color = Color3.fromRGB(r2,g2,b2)
5319
aa33.Color = Color3.fromRGB(r2,g2,b2)
5320-
        elseif key == 't' and Mode == 99 then
5320+
5321-
            again()
5321+
5322
aa28.Color = Color3.fromRGB(r2,g2,b2)
5323
aa26.Color = Color3.fromRGB(r2,g2,b2)
5324
5325
aa24.Color = Color3.fromRGB(r2,g2,b2)
5326
aa4.Color = Color3.fromRGB(r2,g2,b2)
5327
aa5.Color = Color3.fromRGB(r2,g2,b2)
5328-
    if key == 'm' and Mode == 1 then
5328+
5329
aa11.Color = Color3.fromRGB(r2,g2,b2)
5330-
		SONG = 535717904
5330+
5331
aa13.Color = Color3.fromRGB(r2,g2,b2)
5332-
		tecks2.Text = "Mirage X"
5332+
5333
if Mode == oof then
5334
maincolor = BrickColor.new("Sand yellow")
5335
hum.WalkSpeed = 8
5336
aa.BrickColor = BrickColor.new("Sand yellow")
5337-
        imgl2.ImageColor3 = BrickC("Sand yellow").Color
5337+
5338
aa4.BrickColor = BrickColor.new("Sand yellow")
5339
aa5.BrickColor = BrickColor.new("Sand yellow")
5340
aa8.BrickColor = BrickColor.new("Black")
5341
aa11.BrickColor = BrickColor.new("Black")
5342-
	elseif key == 'm' and Mode == oof then
5342+
5343
aa13.BrickColor = BrickColor.new("Black")
5344
aa26.BrickColor = BrickColor.new("Sand yellow")
5345
aa28.BrickColor = BrickColor.new("Sand yellow")
5346
aa35.BrickColor = BrickColor.new("White")
5347
aa33.BrickColor = BrickColor.new("White")
5348
aa31.BrickColor = BrickColor.new("White")
5349
Effects.Wave.Create(BrickColor.new("Sand yellow"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5350
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"))
5351
end
5352
if Mode == 9990 then
5353
maincolor = BrickColor.new("Really red")
5354
hum.WalkSpeed = 8
5355
aa.BrickColor = BrickColor.new("Really black")
5356
aa4.BrickColor = BrickColor.new("Really red")
5357
aa5.BrickColor = BrickColor.new("Really red")
5358
aa8.BrickColor = BrickColor.new("Really black")
5359
aa11.BrickColor = BrickColor.new("Really black")
5360
aa12.BrickColor = BrickColor.new("Really black")
5361
aa13.BrickColor = BrickColor.new("Really black")
5362
aa24.BrickColor = BrickColor.new("Really black")
5363
aa26.BrickColor = BrickColor.new("Really red")
5364
aa28.BrickColor = BrickColor.new("Really red")
5365
aa35.BrickColor = BrickColor.new("Really black")
5366
aa33.BrickColor = BrickColor.new("Really black")
5367
aa31.BrickColor = BrickColor.new("Really red")
5368
                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")
5369
        local A = math.random(1,4)
5370
        if A == 1 then
5371
    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")
5372
        if A == 2 then
5373
    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")
5374
end
5375
end
5376
end
5377
if Mode == 6 then
5378
maincolor = BrickColor.new("Black")
5379
hum.WalkSpeed = 8
5380
aa.BrickColor = BrickColor.new("Royal purple")
5381
aa4.BrickColor = BrickColor.new("Royal purple")
5382
aa5.BrickColor = BrickColor.new("Royal purple")
5383
aa8.BrickColor = BrickColor.new("Royal purple")
5384
aa11.BrickColor = BrickColor.new("Black")
5385
aa12.BrickColor = BrickColor.new("Black")
5386
aa13.BrickColor = BrickColor.new("Black")
5387
aa24.BrickColor = BrickColor.new("Black")
5388
aa26.BrickColor = BrickColor.new("Black")
5389
aa28.BrickColor = BrickColor.new("Black")
5390
aa35.BrickColor = BrickColor.new("Royal purple")
5391
aa33.BrickColor = BrickColor.new("Royal purple")
5392
aa31.BrickColor = BrickColor.new("Royal purple")
5393
        local A = math.random(1,15)
5394
        if A == 1 then
5395
    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")
5396
        if A == 2 then
5397
    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")
5398
end
5399
end
5400
end
5401
if Mode == 8 then
5402
hum.WalkSpeed = 8
5403
maincolor = BrickColor.new("Red")
5404
aa.BrickColor = BrickColor.new("Black")
5405
aa4.BrickColor = BrickColor.new("Red")
5406
aa5.BrickColor = BrickColor.new("Red")
5407
aa8.BrickColor = BrickColor.new("Black")
5408
aa11.BrickColor = BrickColor.new("Red")
5409
aa12.BrickColor = BrickColor.new("Red")
5410
aa13.BrickColor = BrickColor.new("Black")
5411
aa24.BrickColor = BrickColor.new("Black")
5412
aa26.BrickColor = BrickColor.new("Red")
5413
aa28.BrickColor = BrickColor.new("Red")
5414
aa35.BrickColor = BrickColor.new("Black")
5415
aa33.BrickColor = BrickColor.new("Black")
5416
aa31.BrickColor = BrickColor.new("Black")
5417
end
5418
if Mode == 25 then
5419
hum.WalkSpeed = 50
5420
end
5421
if Mode == 122 then
5422
hum.WalkSpeed = 8
5423
maincolor = BrickColor.new("Black")
5424
aa.BrickColor = BrickColor.new("Black")
5425
aa4.BrickColor = BrickColor.new("Hot pink")
5426
aa5.BrickColor = BrickColor.new("Royal purple")
5427
aa8.BrickColor = BrickColor.new("Royal purple")
5428
aa11.BrickColor = BrickColor.new("Royal purple")
5429
aa12.BrickColor = BrickColor.new("Royal purple")
5430
aa13.BrickColor = BrickColor.new("Royal purple")
5431
aa24.BrickColor = BrickColor.new("Hot pink")
5432
aa26.BrickColor = BrickColor.new("Hot pink")
5433
aa28.BrickColor = BrickColor.new("Hot pink")
5434
aa35.BrickColor = BrickColor.new("Royal purple")
5435
aa33.BrickColor = BrickColor.new("Royal purple")
5436
aa31.BrickColor = BrickColor.new("Royal purple")
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"))
5438
end
5439
if Mode == 10000 then
5440
hum.WalkSpeed = 8
5441
maincolor = BrickColor.new("Bright yellow")
5442
aa.BrickColor = BrickColor.new("Med. reddish violet")
5443
aa4.BrickColor = BrickColor.new("Med. reddish violet")
5444
aa5.BrickColor = BrickColor.new("Med. reddish violet")
5445
aa8.BrickColor = BrickColor.new("Black")
5446
aa11.BrickColor = BrickColor.new("Black")
5447
aa12.BrickColor = BrickColor.new("Black")
5448
aa13.BrickColor = BrickColor.new("Black")
5449
aa24.BrickColor = BrickColor.new("Med. reddish violet")
5450
aa26.BrickColor = BrickColor.new("Med. reddish violet")
5451
aa28.BrickColor = BrickColor.new("Med. reddish violet")
5452
aa35.BrickColor = BrickColor.new("White")
5453
aa33.BrickColor = BrickColor.new("White")
5454
aa31.BrickColor = BrickColor.new("White")
5455
end
5456
if Mode == 1 then
5457
hum.WalkSpeed = 8
5458
maincolor = BrickColor.new("White")
5459
aa.BrickColor = BrickColor.new("White")
5460
aa4.BrickColor = BrickColor.new("White")
5461
aa5.BrickColor = BrickColor.new("White")
5462
aa8.BrickColor = BrickColor.new("Really black")
5463
aa11.BrickColor = BrickColor.new("Really black")
5464
aa12.BrickColor = BrickColor.new("Really black")
5465
aa13.BrickColor = BrickColor.new("Really black")
5466
aa24.BrickColor = BrickColor.new("Really black")
5467
aa26.BrickColor = BrickColor.new("White")
5468
aa28.BrickColor = BrickColor.new("White")
5469
aa35.BrickColor = BrickColor.new("Really black")
5470
aa33.BrickColor = BrickColor.new("Really black")
5471
aa31.BrickColor = BrickColor.new("White")
5472
end
5473
if Mode == 99 then
5474
hum.WalkSpeed = 50
5475
maincolor = BrickColor.new("Deep orange")
5476
aa.BrickColor = BrickColor.new("Black")
5477
aa4.BrickColor = BrickColor.new("Deep orange")
5478
aa5.BrickColor = BrickColor.new("Deep orange")
5479
aa8.BrickColor = BrickColor.new("Deep orange")
5480
aa11.BrickColor = BrickColor.new("Deep orange")
5481
aa12.BrickColor = BrickColor.new("Black")
5482
aa13.BrickColor = BrickColor.new("Black")
5483
aa24.BrickColor = BrickColor.new("Deep orange")
5484
aa26.BrickColor = BrickColor.new("Deep orange")
5485
aa28.BrickColor = BrickColor.new("Deep orange")
5486
aa35.BrickColor = BrickColor.new("White")
5487
aa33.BrickColor = BrickColor.new("White")
5488
aa31.BrickColor = BrickColor.new("White")
5489
end
5490
if Mode == 132 then
5491
hum.WalkSpeed = 50
5492
maincolor = BrickColor.new("Medium green")
5493
aa.BrickColor = BrickColor.new("Medium green")
5494
aa4.BrickColor = BrickColor.new("Black")
5495
aa5.BrickColor = BrickColor.new("Black")
5496
aa8.BrickColor = BrickColor.new("Black")
5497
aa11.BrickColor = BrickColor.new("Medium green")
5498
aa12.BrickColor = BrickColor.new("Medium green")
5499
aa13.BrickColor = BrickColor.new("Medium green")
5500
aa24.BrickColor = BrickColor.new("Black")
5501
aa26.BrickColor = BrickColor.new("Black")
5502
aa28.BrickColor = BrickColor.new("Black")
5503
aa35.BrickColor = BrickColor.new("Medium green")
5504
aa33.BrickColor = BrickColor.new("Medium green")
5505
aa31.BrickColor = BrickColor.new("Medium green")
5506
end
5507
                imgl2.Rotation = techc.Rotation + 0.2
5508
                techc.Rotation = techc.Rotation + 0.2
5509
                ned.Rotation = 0 - 2 * math.cos(sine / 24)
5510-
aa8.BrickColor = BrickColor.new("White")
5510+
5511-
aa11.BrickColor = BrickColor.new("White")
5511+
5512
			Anim = "Jump"
5513
			if attack == false then
5514
				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)
5515
				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)
5516
				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)
5517
				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)
5518-
aa31.BrickColor = BrickColor.new("Sand yellow")
5518+
5519
				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)
5520
			end
5521
		elseif -1 > root.Velocity.y and hitfloor == nil then
5522
			Anim = "Fall"
5523
			if attack == false then
5524
				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)
5525
				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)
5526
				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)
5527
				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)
5528
				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)
5529
				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)
5530
			end
5531
		elseif torvel < 1 and hitfloor ~= nil then
5532
			Anim = "Idle"
5533
			change = 1
5534
			if attack == false then
5535
				if Mode == 1 then --Normal
5536
                                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)
5537
				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)
5538-
Effects.Wave.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5538+
5539-
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("Really red"))
5539+
5540
                                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)
5541
                                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)
5542
			elseif Mode == 122 then
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)
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)
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)
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)
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)
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)
5549
5550
				elseif Mode == 132 then
5551
                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)
5552
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
5553
                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)
5554
                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)
5555
                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)
5556
                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)
5557
5558
				elseif Mode == oof then --PIXELATED
5559
                                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)
5560
				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)
5561
				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)
5562
				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)
5563
                                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)
5564
                                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)
5565
				elseif Mode == 0 then
5566
			      rootj.C0 = clerp(rootj.C0,RootCF* CF(0, 0, -1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
5567
			      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)
5568
			if Mrandom(1,30) == 1 then
5569
				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)
5570
			end
5571
                              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)
5572
		              LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-12)), 0.15)
5573
                              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)
5574
                              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)
5575-
maincolor = BrickColor.new("Dark indigo")
5575+
5576
                                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)
5577-
aa4.BrickColor = BrickColor.new("Dark green")
5577+
5578-
aa5.BrickColor = BrickColor.new("Dark green")
5578+
5579-
aa8.BrickColor = BrickColor.new("Light orange brown")
5579+
5580-
aa11.BrickColor = BrickColor.new("White")
5580+
5581
                                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)
5582-
aa13.BrickColor = BrickColor.new("Light orange brown")
5582+
5583-
aa24.BrickColor = BrickColor.new("Light orange brown")
5583+
5584-
aa26.BrickColor = BrickColor.new("Light orange brown")
5584+
5585-
aa28.BrickColor = BrickColor.new("Light orange brown")
5585+
5586-
aa35.BrickColor = BrickColor.new("Light orange brown")
5586+
5587-
aa33.BrickColor = BrickColor.new("Light orange brown")
5587+
5588
			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)
5589
			elseif Mode == 99 then --Infused
5590
				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)
5591
				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)
5592
				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)
5593
				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)
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)
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)
5596
			elseif Mode == 5 then --Cybernetic
5597
                                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)
5598
				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)
5599
				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)
5600
				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)
5601-
aa12.BrickColor = BrickColor.new("Hot pink")
5601+
5602
                                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)
5603
			elseif Mode == 25 then --Spiritual
5604
				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)
5605
				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)
5606
				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)
5607-
aa33.BrickColor = BrickColor.new("Hot pink")
5607+
5608
				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)
5609-
Effects.Wave.Create(BrickColor.new("Royal purple"), root.CFrame * CF(0, -2.90, 0), 15, 15, 15, 10.6, .1, 10.6, 0.05)
5609+
5610-
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"))
5610+
5611
                                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)
5612
				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)
5613
				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)
5614
				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)
5615-
aa.BrickColor = BrickColor.new("Hot pink")
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)
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)
5617-
aa5.BrickColor = BrickColor.new("Hot pink")
5617+
5618-
aa8.BrickColor = BrickColor.new("White")
5618+
5619-
aa11.BrickColor = BrickColor.new("White")
5619+
5620
                               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)
5621
                                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)
5622
				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)
5623
				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)
5624
            elseif Mode == 9990 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)
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)
5627-
aa31.BrickColor = BrickColor.new("Hot pink")
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)
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)
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)
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)
5631
			elseif Mode == 7 or Mode == 9 then --Sucho Wowo --Mr.Balancia
5632
				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)
5633
				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)
5634
				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)
5635
				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)
5636
				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)
5637
				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)
5638
			elseif Mode == 100 then
5639
                                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)
5640
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
5641
                                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)
5642
                                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)
5643
                                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)
5644
                                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)
5645
			elseif Mode == 8 then --Lunarist
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)
5647-
hum.WalkSpeed = 100
5647+
5648
				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)
5649
				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)
5650
                                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)
5651
                                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)
5652
			elseif Mode == 10 then --INSANITY
5653
                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)
5654
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 18)), Rad(0), Rad(0)), 0.3)
5655
                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)
5656
                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)
5657
                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)
5658
                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)
5659
			end
5660
			end
5661-
aa31.BrickColor = BrickColor.new("Deep orange")
5661+
5662
			Anim = "Walk"
5663
			change = 1.1
5664
			if attack == false then
5665
			      if Mode == 6 then 
5666
				  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)
5667
                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)
5668
                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)
5669
                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)
5670
                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)
5671
                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)
5672
		       elseif Mode == oof then --PIXELATED
5673
				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)
5674
				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)
5675
                                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)
5676
                                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)
5677
                                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)
5678
                                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)
5679
			elseif Mode == 5 then
5680
                                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)
5681
                                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)
5682
                                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)
5683
                                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)
5684
				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)
5685
				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)
5686
			elseif Mode == 25 then
5687
				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)
5688
				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)
5689
				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)
5690
				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)
5691
				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)
5692
				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)
5693
			elseif Mode == 100 then 
5694
				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)
5695
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
5696
				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)
5697
				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)
5698-
				elseif Mode == 122 then
5698+
5699
				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)
5700
			elseif Mode == 132 then 
5701
				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)
5702
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
5703
				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)
5704
				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)
5705
				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)
5706
				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)
5707
			elseif Mode == 0 then
5708
				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)
5709
			      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)
5710
			if Mrandom(1,30) == 1 then
5711
				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)
5712
			end
5713
				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)
5714
	         		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)
5715
                               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)
5716
			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)
5717
			elseif Mode == 10 then
5718
                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)
5719
                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)
5720
                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)
5721
                    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)
5722
                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)
5723
                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)
5724
			elseif Mode == 8 then
5725
				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)
5726
				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)
5727
				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)
5728
				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)
5729
                                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)
5730
                                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)
5731
			elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
5732
				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)
5733
				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)
5734
				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)
5735
	         		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)
5736
				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)
5737
				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)
5738
			end
5739
			end
5740
		elseif torvel >= 25 and hitfloor ~= nil then
5741-
				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)
5741+
5742-
				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)
5742+
5743
			if attack == false then
5744
		if Mode == 5 then
5745
			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)
5746
			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)
5747
			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)
5748
			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)
5749
			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)
5750
			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)
5751
		elseif Mode == 99 then
5752
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 0) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
5753
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
5754
		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)
5755
         	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)
5756
		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)
5757
		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)
5758
		elseif Mode == oof then
5759
			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)
5760
			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)
5761
			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)
5762
			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)
5763
			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)
5764
			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)
5765
		elseif Mode == 132 then
5766
			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)
5767
			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)
5768
			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)
5769
			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)
5770
			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)
5771
			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)
5772-
                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)
5772+
5773-
                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)
5773+
5774
			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)
5775
			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)
5776-
                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)
5776+
5777
			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)
5778
			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)
5779
			end
5780
			end
5781
		end
5782
	end
5783
	Music.SoundId = "rbxassetid://"..SONG
5784
	Music.Looped = true
5785
	Music.Pitch = 1
5786
	Music.Volume = 5
5787
	Music:Resume()
5788
if Music.Parent ~= tors then
5789
Music = Instance.new("Sound",tors)
5790
end
5791
	if 0 < #Effects then
5792
		for e = 1, #Effects do
5793
			if Effects[e] ~= nil then
5794
				local Thing = Effects[e]
5795
				if Thing ~= nil then
5796
					local Part = Thing[1]
5797
					local Mode = Thing[2]
5798
					local Delay = Thing[3]
5799
					local IncX = Thing[4]
5800
					local IncY = Thing[5]
5801
					local IncZ = Thing[6]
5802
					if 1 >= Thing[1].Transparency then
5803
						if Thing[2] == "Block1" then
5804
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
5805
							local Mesh = Thing[1].Mesh
5806
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5807
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5808
						elseif Thing[2] == "Block2" then
5809
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
5810
							local Mesh = Thing[7]
5811
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5812
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5813
						elseif Thing[2] == "Block3" then
5814
							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)
5815
							local Mesh = Thing[7]
5816
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5817
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5818
						elseif Thing[2] == "Cylinder" then
5819
							local Mesh = Thing[1].Mesh
5820
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5821
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5822
						elseif Thing[2] == "Blood" then
5823
							local Mesh = Thing[7]
5824
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
5825
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
5826
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5827
						elseif Thing[2] == "Elec" then							local Mesh = Thing[1].Mesh
5828
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
5829
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5830
						elseif Thing[2] == "Disappear" then
5831
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5832
						elseif Thing[2] == "Shatter" then
5833
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
5834
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
5835
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
5836
							Thing[6] = Thing[6] + Thing[5]
5837
						end
5838
					else
5839
						Part.Parent = nil
5840
						table.remove(Effects, e)
5841
					end
5842
				end
5843
			end
5844
		end
5845
	end
5846
end
5847
-------------------------------------------------------
5848
--End Animations And Script--
5849
-------------------------------------------------------