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