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