View difference between Paste ID: 6Xs6qfAA and QM2PFsSa
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
	local h,t
87
	--Give the server mouse data every second frame, but only if the values changed
88
	--If player is not moving their mouse, client won't fire events
89
	local HB = game:GetService("RunService").Heartbeat
90
	while true do
91
		if h~=Mouse.Hit or t~=Mouse.Target then
92
			h,t=Mouse.Hit,Mouse.Target
93
			Event:FireServer({isMouse=true,Target=t,Hit=h})
94
		end
95
		--Wait 2 frames
96
		for i=1,2 do
97
			HB:Wait()
98
		end
99
	end]==],script)
100
101
	----Sandboxed game object that allows the usage of client-side methods and services
102
	--Real game object
103
	local RealGame = game
104
105
	--Metatable for fake service
106
	local FakeService_Metatable = {
107
		__index = function(self,k)
108
			local s = rawget(self,"_RealService")
109
			if s then
110
				return typeof(s[k])=="function"
111
				and function(_,...)return s[k](s,...)end or s[k]
112
			end
113
		end,
114
		__newindex = function(self,k,v)
115
			local s = rawget(self,"_RealService")
116
			if s then s[k]=v end
117
		end
118
	}
119
	local function FakeService(t,RealService)
120
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
121
		return setmetatable(t,FakeService_Metatable)
122
	end
123
124
	--Fake game object
125
	local FakeGame = {
126
		GetService = function(self,s)
127
			return rawget(self,s) or RealGame:GetService(s)
128
		end,
129
		Players = FakeService({
130
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
131
		},"Players"),
132
		UserInputService = FakeService(UIS,"UserInputService"),
133
		ContextActionService = FakeService(CAS,"ContextActionService"),
134
		RunService = FakeService({
135
			_btrs = {},
136
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
137
			BindToRenderStep = function(self,name,_,fun)
138
				self._btrs[name] = self.Heartbeat:Connect(fun)
139
			end,
140
			UnbindFromRenderStep = function(self,name)
141
				self._btrs[name]:Disconnect()
142
			end,
143
		},"RunService")
144
	}
145
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
146
	FakeGame.service = FakeGame.GetService
147
	FakeService(FakeGame,game)
148
	--Changing owner to fake player object to support owner:GetMouse()
149
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
150
end
151
-----------------------
152
print("--WhAT ANOTHER ONE????????!--")
153
-------------------------------------------------------
154
--A script By makhail07
155
156
print("WAO loaded!")
157
158
print("Have fun! Edit by MememasterYT65910")
159
160
print("script - WAO loaded, press any of these keys to continue.")
161
162
print("Q,E,R,T,Y,U,F")
163
164
-------------------------------------------------------
165
166
local FavIDs = {
167
	340106355, --Nefl Crystals
168
	927529620, --Dimension
169
	876981900, --Fantasy
170
	398987889, --Ordinary Days
171
	1117396305, --Oh wait, it's you.
172
	885996042, --Action Winter Journey
173
	919231299, --Sprawling Idiot Effigy
174
	743466274, --Good Day Sunshine
175
	727411183, --Knife Fight
176
	1402748531, --The Earth Is Counting On You!
177
	595230126 --Robot Language
178
	}
179
180
--WHAT another one--
181
182
183
184
185
186
--The reality of my life isn't real but a Universe -makhail07
187
188
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
189
local Player,game,owner = owner,game
190
local RealPlayer = Player
191
do
192
    print("FE Compatibility code by Mokiros")
193
    local rp = RealPlayer
194
    script.Parent = rp.Character
195
   
196
    --RemoteEvent for communicating
197
    local Event = Instance.new("RemoteEvent")
198
    Event.Name = "UserInput_Event"
199
 
200
    --Fake event to make stuff like Mouse.KeyDown work
201
    local function fakeEvent()
202
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
203
        t.connect = t.Connect
204
        return t
205
    end
206
 
207
    --Creating fake input objects with fake variables
208
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
209
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
210
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
211
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
212
    end}
213
    --Merged 2 functions into one by checking amount of arguments
214
    CAS.UnbindAction = CAS.BindAction
215
 
216
    --This function will trigger the events that have been :Connect()'ed
217
    local function te(self,ev,...)
218
        local t = m[ev]
219
        if t and t._fakeEvent then
220
            for _,f in pairs(t.Functions) do
221
                f(...)
222
            end
223
        end
224
    end
225
    m.TrigEvent = te
226
    UIS.TrigEvent = te
227
 
228
    Event.OnServerEvent:Connect(function(plr,io)
229
        if plr~=rp then return end
230
        m.Target = io.Target
231
        m.Hit = io.Hit
232
        if not io.isMouse then
233
            local b = io.UserInputState == Enum.UserInputState.Begin
234
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
235
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
236
            end
237
            if io.UserInputType == Enum.UserInputType.MouseButton2 then
238
                return m:TrigEvent(b and "Button2Down" or "Button2Up")
239
            end
240
            for _,t in pairs(CAS.Actions) do
241
                for _,k in pairs(t.Keys) do
242
                    if k==io.KeyCode then
243
                        t.Function(t.Name,io.UserInputState,io)
244
                    end
245
                end
246
            end
247
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
248
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
249
        end
250
    end)
251
    Event.Parent = NLS([==[
252
    local Player = game:GetService("Players").LocalPlayer
253
    local Event = script:WaitForChild("UserInput_Event")
254
 
255
    local Mouse = Player:GetMouse()
256
    local UIS = game:GetService("UserInputService")
257
    local input = function(io,a)
258
        if a then return end
259
        --Since InputObject is a client-side instance, we create and pass table instead
260
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
261
    end
262
    UIS.InputBegan:Connect(input)
263
    UIS.InputEnded:Connect(input)
264
 
265
    local h,t
266
    --Give the server mouse data 30 times every second, but only if the values changed
267
    --If player is not moving their mouse, client won't fire events
268
    while wait(1/30) do
269
        if h~=Mouse.Hit or t~=Mouse.Target then
270
            h,t=Mouse.Hit,Mouse.Target
271
            Event:FireServer({isMouse=true,Target=t,Hit=h})
272
        end
273
    end]==],Player.Character)
274
 
275
    ----Sandboxed game object that allows the usage of client-side methods and services
276
    --Real game object
277
    local _rg = game
278
 
279
    --Metatable for fake service
280
    local fsmt = {
281
        __index = function(self,k)
282
            local s = rawget(self,"_RealService")
283
            if s then
284
                return typeof(s[k])=="function"
285
                and function(_,...)return s[k](s,...)end or s[k]
286
            end
287
        end,
288
        __newindex = function(self,k,v)
289
            local s = rawget(self,"_RealService")
290
            if s then s[k]=v end
291
        end
292
    }
293
    local function FakeService(t,RealService)
294
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
295
        return setmetatable(t,fsmt)
296
    end
297
 
298
    --Fake game object
299
    local g = {
300
        GetService = function(self,s)
301
            return rawget(self,s) or _rg:GetService(s)
302
        end,
303
        Players = FakeService({
304
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
305
        },"Players"),
306
        UserInputService = FakeService(UIS,"UserInputService"),
307
        ContextActionService = FakeService(CAS,"ContextActionService"),
308
        RunService = FakeService({
309
            _btrs = {},
310
            RenderStepped = _rg:GetService("RunService").Heartbeat,
311
            BindToRenderStep = function(self,name,_,fun)
312
                self._btrs[name] = self.Heartbeat:Connect(fun)
313
            end,
314
            UnbindFromRenderStep = function(self,name)
315
                self._btrs[name]:Disconnect()
316
            end,
317
        },"RunService")
318
    }
319
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
320
    g.service = g.GetService
321
    FakeService(g,game)
322
    --Changing owner to fake player object to support owner:GetMouse()
323
    game,owner = g,g.Players.LocalPlayer
324
end
325
326
wait()
327
local plr = owner
328
print('Local User is '..plr.Name)
329
local char = plr.Character
330
local hum = char.Humanoid
331
local ra = char["Right Arm"]
332
local la= char["Left Arm"]
333
local rl= char["Right Leg"]
334
local ll = char["Left Leg"]
335
local hed = char.Head
336
local root = char.HumanoidRootPart
337
local rootj = root.RootJoint
338
local tors = char.Torso
339
local mouse = plr:GetMouse()
340
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
341
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
342
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
343
local EdgyMode = false
344
local Divinity = false
345
local Fighter = false
346
local Purity = false
347
local Destruction = false
348
local helpme = false
349
local Planetary = false
350
local maincolor = BrickColor.new("Institutional white")
351
-------------------------------------------------------
352
--Start Good Stuff--
353
-------------------------------------------------------
354
CF = CFrame.new
355
angles = CFrame.Angles
356
attack = false
357
Euler = CFrame.fromEulerAnglesXYZ
358
Rad = math.rad
359
IT = Instance.new
360
BrickC = BrickColor.new
361
Cos = math.cos
362
Acos = math.acos
363
Sin = math.sin
364
Asin = math.asin
365
Abs = math.abs
366
Mrandom = math.random
367
Floor = math.floor
368
-------------------------------------------------------
369
--End Good Stuff--
370
-------------------------------------------------------
371
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
372
RSH, LSH = nil, nil 
373
RW = Instance.new("Weld") 
374
LW = Instance.new("Weld")
375
RH = tors["Right Hip"]
376
LH = tors["Left Hip"]
377
RSH = tors["Right Shoulder"] 
378
LSH = tors["Left Shoulder"] 
379
RSH.Parent = nil 
380
LSH.Parent = nil 
381
RW.Name = "RW"
382
RW.Part0 = tors 
383
RW.C0 = CF(1.5, 0.5, 0)
384
RW.C1 = CF(0, 0.5, 0) 
385
RW.Part1 = ra
386
RW.Parent = tors 
387
LW.Name = "LW"
388
LW.Part0 = tors 
389
LW.C0 = CF(-1.5, 0.5, 0)
390
LW.C1 = CF(0, 0.5, 0) 
391
LW.Part1 = la
392
LW.Parent = tors
393
Effects = {}
394
395
-------------------------------------------------------
396
--Start HeartBeat--
397
-------------------------------------------------------
398
ArtificialHB = Instance.new("BindableEvent", script)
399
ArtificialHB.Name = "Heartbeat"
400
script:WaitForChild("Heartbeat")
401
402
frame = 1 / 60
403
tf = 0
404
allowframeloss = false
405
tossremainder = false
406
407
408
lastframe = tick()
409
script.Heartbeat:Fire()
410
411
412
game:GetService("RunService").Heartbeat:connect(function(s, p)
413
	tf = tf + s
414
	if tf >= frame then
415
		if allowframeloss then
416
			script.Heartbeat:Fire()
417
			lastframe = tick()
418
		else
419
			for i = 1, math.floor(tf / frame) do
420
				script.Heartbeat:Fire()
421
			end
422
			lastframe = tick()
423
		end
424
		if tossremainder then
425
			tf = 0
426
		else
427
			tf = tf - frame * math.floor(tf / frame)
428
		end
429
	end
430
end)
431
-------------------------------------------------------
432
--End HeartBeat--
433
-------------------------------------------------------
434
435
-------------------------------------------------------
436
--Start Important Functions--
437
-------------------------------------------------------
438
function swait(num)
439
	if num == 0 or num == nil then
440
		game:service("RunService").Stepped:wait(0)
441
	else
442
		for i = 0, num do
443
			game:service("RunService").Stepped:wait(0)
444
		end
445
	end
446
end
447
function thread(f)
448
	coroutine.resume(coroutine.create(f))
449
end
450
function clerp(a, b, t)
451
	local qa = {
452
		QuaternionFromCFrame(a)
453
	}
454
	local qb = {
455
		QuaternionFromCFrame(b)
456
	}
457
	local ax, ay, az = a.x, a.y, a.z
458
	local bx, by, bz = b.x, b.y, b.z
459
	local _t = 1 - t
460
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
461
end
462
function QuaternionFromCFrame(cf)
463
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
464
	local trace = m00 + m11 + m22
465
	if trace > 0 then
466
		local s = math.sqrt(1 + trace)
467
		local recip = 0.5 / s
468
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
469
	else
470
		local i = 0
471
		if m00 < m11 then
472
			i = 1
473
		end
474
		if m22 > (i == 0 and m00 or m11) then
475
			i = 2
476
		end
477
		if i == 0 then
478
			local s = math.sqrt(m00 - m11 - m22 + 1)
479
			local recip = 0.5 / s
480
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
481
		elseif i == 1 then
482
			local s = math.sqrt(m11 - m22 - m00 + 1)
483
			local recip = 0.5 / s
484
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
485
		elseif i == 2 then
486
			local s = math.sqrt(m22 - m00 - m11 + 1)
487
			local recip = 0.5 / s
488
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
489
		end
490
	end
491
end
492
function QuaternionToCFrame(px, py, pz, x, y, z, w)
493
	local xs, ys, zs = x + x, y + y, z + z
494
	local wx, wy, wz = w * xs, w * ys, w * zs
495
	local xx = x * xs
496
	local xy = x * ys
497
	local xz = x * zs
498
	local yy = y * ys
499
	local yz = y * zs
500
	local zz = z * zs
501
	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))
502
end
503
function QuaternionSlerp(a, b, t)
504
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
505
	local startInterp, finishInterp
506
	if cosTheta >= 1.0E-4 then
507
		if 1 - cosTheta > 1.0E-4 then
508
			local theta = math.acos(cosTheta)
509
			local invSinTheta = 1 / Sin(theta)
510
			startInterp = Sin((1 - t) * theta) * invSinTheta
511
			finishInterp = Sin(t * theta) * invSinTheta
512
		else
513
			startInterp = 1 - t
514
			finishInterp = t
515
		end
516
	elseif 1 + cosTheta > 1.0E-4 then
517
		local theta = math.acos(-cosTheta)
518
		local invSinTheta = 1 / Sin(theta)
519
		startInterp = Sin((t - 1) * theta) * invSinTheta
520
		finishInterp = Sin(t * theta) * invSinTheta
521
	else
522
		startInterp = t - 1
523
		finishInterp = t
524
	end
525
	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
526
end
527
function rayCast(Position, Direction, Range, Ignore)
528
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
529
end
530
local RbxUtility = LoadLibrary("RbxUtility")
531
local Create = RbxUtility.Create
532
533
-------------------------------------------------------
534
--Start Damage Function--
535
-------------------------------------------------------
536
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
537
	if hit.Parent == nil then
538
		return
539
	end
540
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
541
	for _, v in pairs(hit.Parent:children()) do
542
		if v:IsA("Humanoid") then
543
			h = v
544
		end
545
	end
546
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
547
	
548
         hit.Parent:FindFirstChild("Head"):BreakJoints()
549
         end
550
551
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
552
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
553
			if hit.Parent.DebounceHit.Value == true then
554
				return
555
			end
556
		end
557
         if insta == true then
558
         hit.Parent:FindFirstChild("Head"):BreakJoints()
559
         end
560
		local c = Create("ObjectValue"){
561
			Name = "creator",
562
			Value = game:service("Players").LocalPlayer,
563
			Parent = h,
564
		}
565
		game:GetService("Debris"):AddItem(c, .5)
566
		if HitSound ~= nil and HitPitch ~= nil then
567
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
568
		end
569
		local Damage = math.random(minim, maxim)
570
		local blocked = false
571
		local block = hit.Parent:findFirstChild("Block")
572
		if block ~= nil then
573
			if block.className == "IntValue" then
574
				if block.Value > 0 then
575
					blocked = true
576
					block.Value = block.Value - 1
577
					print(block.Value)
578
				end
579
			end
580
		end
581
		if blocked == false then
582
			h.Health = h.Health - Damage
583
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
584
		else
585
			h.Health = h.Health - (Damage / 2)
586
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
587
		end
588
		if Type == "Knockdown" then
589
			local hum = hit.Parent.Humanoid
590
			hum.PlatformStand = true
591
			coroutine.resume(coroutine.create(function(HHumanoid)
592
				swait(1)
593
				HHumanoid.PlatformStand = false
594
			end), hum)
595
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
596
			local bodvol = Create("BodyVelocity"){
597
				velocity = angle * knockback,
598
				P = 5000,
599
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
600
				Parent = hit,
601
			}
602
			local rl = Create("BodyAngularVelocity"){
603
				P = 3000,
604
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
605
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
606
				Parent = hit,
607
			}
608
			game:GetService("Debris"):AddItem(bodvol, .5)
609
			game:GetService("Debris"):AddItem(rl, .5)
610
		elseif Type == "Normal" then
611
			local vp = Create("BodyVelocity"){
612
				P = 500,
613
				maxForce = Vector3.new(math.huge, 0, math.huge),
614
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
615
			}
616
			if knockback > 0 then
617
				vp.Parent = hit.Parent.Torso
618
			end
619
			game:GetService("Debris"):AddItem(vp, .5)
620
		elseif Type == "Up" then
621
			local bodyVelocity = Create("BodyVelocity"){
622
				velocity = Vector3.new(0, 20, 0),
623
				P = 5000,
624
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
625
				Parent = hit,
626
			}
627
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
628
		elseif Type == "DarkUp" then
629
			coroutine.resume(coroutine.create(function()
630
				for i = 0, 1, 0.1 do
631
					swait()
632
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
633
				end
634
			end))
635
			local bodyVelocity = Create("BodyVelocity"){
636
				velocity = Vector3.new(0, 20, 0),
637
				P = 5000,
638
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
639
				Parent = hit,
640
			}
641
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
642
		elseif Type == "Snare" then
643
			local bp = Create("BodyPosition"){
644
				P = 2000,
645
				D = 100,
646
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
647
				position = hit.Parent.Torso.Position,
648
				Parent = hit.Parent.Torso,
649
			}
650
			game:GetService("Debris"):AddItem(bp, 1)
651
		elseif Type == "Freeze" then
652
			local BodPos = Create("BodyPosition"){
653
				P = 50000,
654
				D = 1000,
655
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
656
				position = hit.Parent.Torso.Position,
657
				Parent = hit.Parent.Torso,
658
			}
659
			local BodGy = Create("BodyGyro") {
660
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
661
				P = 20e+003,
662
				Parent = hit.Parent.Torso,
663
				cframe = hit.Parent.Torso.CFrame,
664
			}
665
			hit.Parent.Torso.Anchored = true
666
			coroutine.resume(coroutine.create(function(Part) 
667
				swait(1.5)
668
				Part.Anchored = false
669
			end), hit.Parent.Torso)
670
			game:GetService("Debris"):AddItem(BodPos, 3)
671
			game:GetService("Debris"):AddItem(BodGy, 3)
672
		end
673
		local debounce = Create("BoolValue"){
674
			Name = "DebounceHit",
675
			Parent = hit.Parent,
676
			Value = true,
677
		}
678
		game:GetService("Debris"):AddItem(debounce, Delay)
679
		c = Create("ObjectValue"){
680
			Name = "creator",
681
			Value = Player,
682
			Parent = h,
683
		}
684
		game:GetService("Debris"):AddItem(c, .5)
685
	end
686
end
687
-------------------------------------------------------
688
--End Damage Function--
689
-------------------------------------------------------
690
691
-------------------------------------------------------
692
--Start Damage Function Customization--
693
-------------------------------------------------------
694
function ShowDamage(Pos, Text, Time, Color)
695
	local Rate = (1 / 30)
696
	local Pos = (Pos or Vector3.new(0, 0, 0))
697
	local Text = (Text or "")
698
	local Time = (Time or 2)
699
	local Color = (Color or Color3.new(1, 0, 1))
700
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
701
	EffectPart.Anchored = true
702
	local BillboardGui = Create("BillboardGui"){
703
		Size = UDim2.new(3, 0, 3, 0),
704
		Adornee = EffectPart,
705
		Parent = EffectPart,
706
	}
707
	local TextLabel = Create("TextLabel"){
708
		BackgroundTransparency = 1,
709
		Size = UDim2.new(1, 0, 1, 0),
710
		Text = Text,
711
		Font = "Highway",
712
		TextColor3 = Color,
713
		TextScaled = true,
714
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
715
		Parent = BillboardGui,
716
	}
717
	game.Debris:AddItem(EffectPart, (Time))
718
	EffectPart.Parent = game:GetService("Workspace")
719
	delay(0, function()
720
		local Frames = (Time / Rate)
721
		for Frame = 1, Frames do
722
			wait(Rate)
723
			local Percent = (Frame / Frames)
724
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
725
			TextLabel.TextTransparency = Percent
726
		end
727
		if EffectPart and EffectPart.Parent then
728
			EffectPart:Destroy()
729
		end
730
	end)
731
end
732
-------------------------------------------------------
733
--End Damage Function Customization--
734
-------------------------------------------------------
735
736
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
737
  for _, c in pairs(workspace:children()) do
738
    local hum = c:findFirstChild("Humanoid")
739
    if hum ~= nil then
740
      local head = c:findFirstChild("Head")
741
      if head ~= nil then
742
        local targ = head.Position - Part.Position
743
        local mag = targ.magnitude
744
        if magni >= mag and c.Name ~= plr.Name then
745
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
746
        end
747
      end
748
    end
749
  end
750
end
751
752
753
CFuncs = {
754
	Part = {
755
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
756
			local Part = Create("Part")({
757
				Parent = Parent,
758
				Reflectance = Reflectance,
759
				Transparency = Transparency,
760
				CanCollide = false,
761
				Locked = true,
762
				BrickColor = BrickColor.new(tostring(BColor)),
763
				Name = Name,
764
				Size = Size,
765
				Material = Material
766
			})
767
			RemoveOutlines(Part)
768
			return Part
769
		end
770
	},
771
	Mesh = {
772
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
773
			local Msh = Create(Mesh)({
774
				Parent = Part,
775
				Offset = OffSet,
776
				Scale = Scale
777
			})
778
			if Mesh == "SpecialMesh" then
779
				Msh.MeshType = MeshType
780
				Msh.MeshId = MeshId
781
			end
782
			return Msh
783
		end
784
	},
785
	Mesh = {
786
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
787
			local Msh = Create(Mesh)({
788
				Parent = Part,
789
				Offset = OffSet,
790
				Scale = Scale
791
			})
792
			if Mesh == "SpecialMesh" then
793
				Msh.MeshType = MeshType
794
				Msh.MeshId = MeshId
795
			end
796
			return Msh
797
		end
798
	},
799
	Weld = {
800
		Create = function(Parent, Part0, Part1, C0, C1)
801
			local Weld = Create("Weld")({
802
				Parent = Parent,
803
				Part0 = Part0,
804
				Part1 = Part1,
805
				C0 = C0,
806
				C1 = C1
807
			})
808
			return Weld
809
		end
810
	},
811
	Sound = {
812
		Create = function(id, par, vol, pit)
813
			coroutine.resume(coroutine.create(function()
814
				local S = Create("Sound")({
815
					Volume = vol,
816
					Pitch = pit or 1,
817
					SoundId = id,
818
					Parent = par or workspace
819
				})
820
				wait()
821
				S:play()
822
				game:GetService("Debris"):AddItem(S, 6)
823
			end))
824
		end
825
	},
826
	ParticleEmitter = {
827
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
828
			local fp = Create("ParticleEmitter")({
829
				Parent = Parent,
830
				Color = ColorSequence.new(Color1, Color2),
831
				LightEmission = LightEmission,
832
				Size = Size,
833
				Texture = Texture,
834
				Transparency = Transparency,
835
				ZOffset = ZOffset,
836
				Acceleration = Accel,
837
				Drag = Drag,
838
				LockedToPart = LockedToPart,
839
				VelocityInheritance = VelocityInheritance,
840
				EmissionDirection = EmissionDirection,
841
				Enabled = Enabled,
842
				Lifetime = LifeTime,
843
				Rate = Rate,
844
				Rotation = Rotation,
845
				RotSpeed = RotSpeed,
846
				Speed = Speed,
847
				VelocitySpread = VelocitySpread
848
			})
849
			return fp
850
		end
851
	}
852
}
853
function RemoveOutlines(part)
854
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
855
end
856
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
857
	local Part = Create("Part")({
858
		formFactor = FormFactor,
859
		Parent = Parent,
860
		Reflectance = Reflectance,
861
		Transparency = Transparency,
862
		CanCollide = false,
863
		Locked = true,
864
		BrickColor = BrickColor.new(tostring(BColor)),
865
		Name = Name,
866
		Size = Size,
867
		Material = Material
868
	})
869
	RemoveOutlines(Part)
870
	return Part
871
end
872
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
873
	local Msh = Create(Mesh)({
874
		Parent = Part,
875
		Offset = OffSet,
876
		Scale = Scale
877
	})
878
	if Mesh == "SpecialMesh" then
879
		Msh.MeshType = MeshType
880
		Msh.MeshId = MeshId
881
	end
882
	return Msh
883
end
884
function CreateWeld(Parent, Part0, Part1, C0, C1)
885
	local Weld = Create("Weld")({
886
		Parent = Parent,
887
		Part0 = Part0,
888
		Part1 = Part1,
889
		C0 = C0,
890
		C1 = C1
891
	})
892
	return Weld
893
end
894
895
896
-------------------------------------------------------
897
--Start Effect Function--
898
-------------------------------------------------------
899
EffectModel = Instance.new("Model", char)
900
Effects = {
901
  Block = {
902
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
903
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
904
      prt.Anchored = true
905
      prt.CFrame = cframe
906
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
907
      game:GetService("Debris"):AddItem(prt, 10)
908
      if Type == 1 or Type == nil then
909
        table.insert(Effects, {
910
          prt,
911
          "Block1",
912
          delay,
913
          x3,
914
          y3,
915
          z3,
916
          msh
917
        })
918
      elseif Type == 2 then
919
        table.insert(Effects, {
920
          prt,
921
          "Block2",
922
          delay,
923
          x3,
924
          y3,
925
          z3,
926
          msh
927
        })
928
      else
929
        table.insert(Effects, {
930
          prt,
931
          "Block3",
932
          delay,
933
          x3,
934
          y3,
935
          z3,
936
          msh
937
        })
938
      end
939
    end
940
  },
941
  Sphere = {
942
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
943
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
944
      prt.Anchored = true
945
      prt.CFrame = cframe
946
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
947
      game:GetService("Debris"):AddItem(prt, 10)
948
      table.insert(Effects, {
949
        prt,
950
        "Cylinder",
951
        delay,
952
        x3,
953
        y3,
954
        z3,
955
        msh
956
      })
957
    end
958
  },
959
  Cylinder = {
960
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
961
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
962
      prt.Anchored = true
963
      prt.CFrame = cframe
964
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
965
      game:GetService("Debris"):AddItem(prt, 10)
966
      table.insert(Effects, {
967
        prt,
968
        "Cylinder",
969
        delay,
970
        x3,
971
        y3,
972
        z3,
973
        msh
974
      })
975
    end
976
  },
977
  Wave = {
978
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
979
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
980
      prt.Anchored = true
981
      prt.CFrame = cframe
982
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
983
      game:GetService("Debris"):AddItem(prt, 10)
984
      table.insert(Effects, {
985
        prt,
986
        "Cylinder",
987
        delay,
988
        x3 / 60,
989
        y3 / 60,
990
        z3 / 60,
991
        msh
992
      })
993
    end
994
  },
995
  Ring = {
996
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
997
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
998
      prt.Anchored = true
999
      prt.CFrame = cframe
1000
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1001
      game:GetService("Debris"):AddItem(prt, 10)
1002
      table.insert(Effects, {
1003
        prt,
1004
        "Cylinder",
1005
        delay,
1006
        x3,
1007
        y3,
1008
        z3,
1009
        msh
1010
      })
1011
    end
1012
  },
1013
  Break = {
1014
    Create = function(brickcolor, cframe, x1, y1, z1)
1015
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1016
      prt.Anchored = true
1017
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1018
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1019
      local num = math.random(10, 50) / 1000
1020
      game:GetService("Debris"):AddItem(prt, 10)
1021
      table.insert(Effects, {
1022
        prt,
1023
        "Shatter",
1024
        num,
1025
        prt.CFrame,
1026
        math.random() - math.random(),
1027
        0,
1028
        math.random(50, 100) / 100
1029
      })
1030
    end
1031
  },
1032
Spiral = {
1033
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1034
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1035
      prt.Anchored = true
1036
      prt.CFrame = cframe
1037
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1038
      game:GetService("Debris"):AddItem(prt, 10)
1039
      table.insert(Effects, {
1040
        prt,
1041
        "Cylinder",
1042
        delay,
1043
        x3,
1044
        y3,
1045
        z3,
1046
        msh
1047
      })
1048
    end
1049
  },
1050
Push = {
1051
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1052
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1053
      prt.Anchored = true
1054
      prt.CFrame = cframe
1055
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1056
      game:GetService("Debris"):AddItem(prt, 10)
1057
      table.insert(Effects, {
1058
        prt,
1059
        "Cylinder",
1060
        delay,
1061
        x3,
1062
        y3,
1063
        z3,
1064
        msh
1065
      })
1066
    end
1067
  }
1068
}
1069
-------------------------------------------------------
1070
--End Effect Function--
1071
-------------------------------------------------------
1072
1073
function CreateSound(ID, PARENT, VOLUME, PITCH)
1074
	local NSound = nil
1075
	coroutine.resume(coroutine.create(function()
1076
		NSound = Instance.new("Sound", PARENT)
1077
		NSound.Volume = VOLUME
1078
		NSound.Pitch = PITCH
1079
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1080
		swait()
1081
		NSound:play()
1082
		game:GetService("Debris"):AddItem(NSound, 10)
1083
	end))
1084
	return NSound
1085
end
1086
1087
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1088
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1089
  prt.Anchored = true
1090
  prt.CFrame = cframe
1091
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1092
  game:GetService("Debris"):AddItem(prt, 10)
1093
  if Type == 1 or Type == nil then
1094
    table.insert(Effects, {
1095
      prt,
1096
      "Block1",
1097
      delay,
1098
      x3,
1099
      y3,
1100
      z3,
1101
      msh
1102
    })
1103
  elseif Type == 2 then
1104
    table.insert(Effects, {
1105
      prt,
1106
      "Block2",
1107
      delay,
1108
      x3,
1109
      y3,
1110
      z3,
1111
      msh
1112
    })
1113
  elseif Type == 3 then
1114
    table.insert(Effects, {
1115
      prt,
1116
      "Block3",
1117
      delay,
1118
      x3,
1119
      y3,
1120
      z3,
1121
      msh
1122
    })
1123
  end
1124
end
1125
1126
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1127
local fp=Instance.new("Part")
1128
fp.formFactor=formfactor 
1129
fp.Parent=parent
1130
fp.Reflectance=reflectance
1131
fp.Transparency=transparency
1132
fp.CanCollide=false 
1133
fp.Locked=true
1134
fp.BrickColor=brickcolor
1135
fp.Name=name
1136
fp.Size=size
1137
fp.Position=tors.Position 
1138
RemoveOutlines(fp)
1139
fp.Material="SmoothPlastic"
1140
fp:BreakJoints()
1141
return fp 
1142
end 
1143
 
1144
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1145
local mesh=Instance.new(Mesh) 
1146
mesh.Parent=part
1147
if Mesh=="SpecialMesh" then
1148
mesh.MeshType=meshtype
1149
if meshid~="nil" then
1150
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1151
end
1152
end
1153
mesh.Offset=offset
1154
mesh.Scale=scale
1155
return mesh
1156
end
1157
1158
function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1159
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1160
	prt.Anchored = true
1161
	prt.Material = "Neon"
1162
	prt.CFrame = cframe
1163
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1164
	game:GetService("Debris"):AddItem(prt, 5)
1165
	coroutine.resume(coroutine.create(function(Part, Mesh)
1166
		local rtype = rottype
1167
		for i = 0, 1, delay do
1168
			swait()
1169
			if rtype == 1 then
1170
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1171
			elseif rtype == 2 then
1172
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1173
			end
1174
			prt.Transparency = i
1175
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1176
		end
1177
		Part.Parent = nil
1178
	end), prt, msh)
1179
end
1180
1181
1182
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1183
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1184
	prt.Anchored = true
1185
	prt.Material = "Neon"
1186
	prt.CFrame = cframe
1187
	prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1188
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1189
	game:GetService("Debris"):AddItem(prt, 5)
1190
	coroutine.resume(coroutine.create(function(Part, Mesh)
1191
		for i = 0, 1, delay do
1192
			swait()
1193
			Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1194
			Part.Transparency = i
1195
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1196
		end
1197
		Part.Parent = nil
1198
	end), prt, msh)
1199
end
1200
1201
1202
function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1203
	local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1204
	prt.Anchored = true
1205
	prt.Material = "Neon"
1206
	prt.CFrame = cframe
1207
local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
1208
	game:GetService("Debris"):AddItem(prt, 5)
1209
	coroutine.resume(coroutine.create(function(Part, Mesh)
1210
		local rtype = rottype
1211
		for i = 0, 1, delay do
1212
			swait()
1213
			if rtype == 1 then
1214
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1215
			elseif rtype == 2 then
1216
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1217
			end
1218
			prt.Transparency = i
1219
			Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
1220
		end
1221
		Part.Parent = nil
1222
	end), prt, msh)
1223
end
1224
1225
function Eviscerate(dude)
1226
	if dude.Name ~= char then
1227
		local bgf = IT("BodyGyro", dude.Head)
1228
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1229
		local val = IT("BoolValue", dude)
1230
		val.Name = "IsHit"
1231
		local ds = coroutine.wrap(function()
1232
			dude:WaitForChild("Head"):BreakJoints()
1233
			wait(0.5)
1234
			target = nil
1235
			coroutine.resume(coroutine.create(function()
1236
				for i, v in pairs(dude:GetChildren()) do
1237
					if v:IsA("Accessory") then
1238
						v:Destroy()
1239
					end
1240
					if v:IsA("Humanoid") then
1241
						v:Destroy()
1242
					end
1243
					if v:IsA("CharacterMesh") then
1244
						v:Destroy()
1245
					end
1246
					if v:IsA("Model") then
1247
						v:Destroy()
1248
					end
1249
					if v:IsA("Part") or v:IsA("MeshPart") then
1250
						for x, o in pairs(v:GetChildren()) do
1251
							if o:IsA("Decal") then
1252
								o:Destroy()
1253
							end
1254
						end
1255
						coroutine.resume(coroutine.create(function()
1256
							v.Material = "Neon"
1257
							v.CanCollide = false
1258
							local PartEmmit1 = IT("ParticleEmitter", v)
1259
							PartEmmit1.LightEmission = 1
1260
							PartEmmit1.Texture = "rbxassetid://284205403"
1261
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1262
							PartEmmit1.Rate = 150
1263
							PartEmmit1.Lifetime = NumberRange.new(1)
1264
							PartEmmit1.Size = NumberSequence.new({
1265
								NumberSequenceKeypoint.new(0, 0.75, 0),
1266
								NumberSequenceKeypoint.new(1, 0, 0)
1267
							})
1268
							PartEmmit1.Transparency = NumberSequence.new({
1269
								NumberSequenceKeypoint.new(0, 0, 0),
1270
								NumberSequenceKeypoint.new(1, 1, 0)
1271
							})
1272
							PartEmmit1.Speed = NumberRange.new(0, 0)
1273
							PartEmmit1.VelocitySpread = 30000
1274
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1275
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1276
							local BodPoss = IT("BodyPosition", v)
1277
							BodPoss.P = 3000
1278
							BodPoss.D = 1000
1279
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1280
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1281
							v.Color = maincolor.Color
1282
							coroutine.resume(coroutine.create(function()
1283
								for i = 0, 49 do
1284
									swait(1)
1285
									v.Transparency = v.Transparency + 0.08
1286
								end
1287
								wait(0.5)
1288
								PartEmmit1.Enabled = false
1289
								wait(3)
1290
								v:Destroy()
1291
								dude:Destroy()
1292
							end))
1293
						end))
1294
					end
1295
				end
1296
			end))
1297
		end)
1298
		ds()
1299
	end
1300
end
1301
function FindNearestHead(Position, Distance, SinglePlayer)
1302
	if SinglePlayer then
1303
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1304
	end
1305
	local List = {}
1306
	for i, v in pairs(workspace:GetChildren()) do
1307
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1308
			table.insert(List, v)
1309
		end
1310
	end
1311
	return List
1312
end
1313
function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
1314
	local type = type
1315
	local rng = Instance.new("Part", char)
1316
	rng.Anchored = true
1317
	rng.BrickColor = color
1318
	rng.CanCollide = false
1319
	rng.FormFactor = 3
1320
	rng.Name = "Ring"
1321
	rng.Material = "Neon"
1322
	rng.Size = Vector3.new(1, 1, 1)
1323
	rng.Transparency = 0
1324
	rng.TopSurface = 0
1325
	rng.BottomSurface = 0
1326
	rng.CFrame = pos
1327
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1328
	local rngm = Instance.new("SpecialMesh", rng)
1329
	rngm.MeshType = "Sphere"
1330
	rngm.Scale = Vector3.new(x1, y1, z1)
1331
	local scaler2 = 1
1332
	local speeder = FastSpeed
1333
	if type == "Add" then
1334
		scaler2 = 1 * value
1335
	elseif type == "Divide" then
1336
		scaler2 = 1 / value
1337
	end
1338
	coroutine.resume(coroutine.create(function()
1339
		for i = 0, 10 / bonuspeed, 0.1 do
1340
			swait()
1341
			if type == "Add" then
1342
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1343
			elseif type == "Divide" then
1344
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1345
			end
1346
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1347
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1348
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1349
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1350
		end
1351
		rng:Destroy()
1352
	end))
1353
end
1354
-------------------------------------------------------
1355
--End Important Functions--
1356
-------------------------------------------------------
1357
1358
--[[
1359
		Thanks for using Build-To-Lua by jarredbcv.
1360
]]--
1361
1362
New = function(Object, Parent, Name, Data)
1363
	local Object = Instance.new(Object)
1364
	for Index, Value in pairs(Data or {}) do
1365
		Object[Index] = Value
1366
	end
1367
	Object.Parent = Parent
1368
	Object.Name = Name
1369
	return Object
1370
end
1371
1372
NewInstance = function(instance,parent,properties)
1373
	local inst = Instance.new(instance,parent)
1374
	if(properties)then
1375
		for i,v in next, properties do
1376
			pcall(function() inst[i] = v end)
1377
		end
1378
	end
1379
	return inst;
1380
end
1381
	
1382
Gunty = New("Model",char,"Gunty",{})
1383
Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("White"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1384
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1385
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Deep Blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1386
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
1387
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1388
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Deep Blue"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1389
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1390
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1391
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1392
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1393
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1394
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1395
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1396
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1397
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1398
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1399
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1400
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1401
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1402
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1403
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Deep blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1404
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1405
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1406
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Deep blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1407
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1408
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1409
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Deep blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1410
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1411
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1412
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Pink"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1413
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1414
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1415
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1416
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1417
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1418
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
1419
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
1420
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1421
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1422
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1423
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1424
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
1425
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1426
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1427
Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Deep blue"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
1428
Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1429
mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1430
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1431
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
1432
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1433
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1434
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1435
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1436
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1437
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1438
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1439
Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1440
mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1441
Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
1442
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
1443
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
1444
1445
local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
1446
1447
for _,v in next, Gunty:children() do
1448
	v.CanCollide = false
1449
end
1450
1451
local all, last = {}, nil
1452
ArmourParts = {}
1453
ArmourParts2 = {}
1454
NeonParts = {}
1455
function scan(p)
1456
  for _, v in pairs(p:GetChildren()) do
1457
    if v:IsA("BasePart") then
1458
      if v.BrickColor == BrickColor.new("Smoky grey") then
1459
        table.insert(ArmourParts, v)
1460
      end
1461
	if v.BrickColor == BrickColor.new("Fossil") then
1462
		table.insert(ArmourParts2, v)
1463
	end
1464
      if v.BrickColor == BrickColor.new("Institutional white") then
1465
        table.insert(NeonParts, v)
1466
      end
1467
      if last then
1468
        local w = Instance.new("Weld")
1469
        w.Part0, w.Part1 = last, v
1470
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1471
        w.Parent = last
1472
      end
1473
      table.insert(all, v)
1474
      last = v
1475
    end
1476
    scan(v)
1477
  end
1478
end
1479
scan(Gunty)
1480
for _, v in pairs(all) do
1481
  v.Anchored = false
1482
  v.CanCollide = false
1483
end
1484
function resetmode()
1485
  for i, v in pairs(ArmourParts) do
1486
    v.BrickColor = BrickColor.new("Pink")
1487
  end
1488
	for i, v in pairs(ArmourParts2) do
1489
    v.BrickColor = BrickColor.new("Pink")
1490
  end
1491
  for i, v in pairs(NeonParts) do
1492
    v.BrickColor = BrickColor.new("Pink")
1493
  end
1494
	maincolor = BrickColor.new("Pink")
1495
end
1496
-------------------------------------------------------
1497
--Start Music Option--
1498
-------------------------------------------------------
1499
local Music = Instance.new("Sound",tors)
1500
Music.Volume = 2.5
1501
Music.SoundId = "rbxassetid://1117396305"
1502
Music.Looped = true
1503
Music.Pitch = 1 --Pitcher
1504
Music:Play()
1505
-------------------------------------------------------
1506
--End Music Option--
1507
-------------------------------------------------------
1508
1509
local naeeym2 = Instance.new("BillboardGui",char)
1510
naeeym2.AlwaysOnTop = true
1511
naeeym2.Size = UDim2.new(5,35,2,35)
1512
naeeym2.StudsOffset = Vector3.new(0,2,0)
1513
naeeym2.Adornee = hed
1514
naeeym2.Name = "Name"
1515
1516
local tecks2 = Instance.new("TextLabel",naeeym2)
1517
tecks2.BackgroundTransparency = 1
1518
tecks2.TextScaled = true
1519
tecks2.BorderSizePixel = 0
1520
tecks2.Text = "normal"
1521
tecks2.Font = "Code"
1522
tecks2.TextSize = 30
1523
tecks2.TextStrokeTransparency = 0
1524
tecks2.TextColor3 = Color3.new(0,0,0)
1525
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1526
tecks2.Size = UDim2.new(1,0,0.5,0)
1527
tecks2.Parent = naeeym2
1528
1529
-------------------------------------------------------
1530
--Start Attacks N Stuff--
1531
-------------------------------------------------------
1532
local sine=0
1533
function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1534
  local Hitboxpart = Instance.new("Part", EffectModel)
1535
  RemoveOutlines(Hitboxpart)
1536
  Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1537
  Hitboxpart.CanCollide = false
1538
  Hitboxpart.Transparency = 1
1539
  Hitboxpart.Anchored = true
1540
  Hitboxpart.CFrame = Pose
1541
  game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1542
  MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1543
end
1544
wait2 = false
1545
combo = 1
1546
mouse.Button1Down:connect(function(key)
1547
  if attack == false then
1548
    attack = true
1549
    hum.WalkSpeed = 3.01
1550
    if combo == 1 and wait2 == false then
1551
      wait2 = true
1552
		for i = 0, 1.2, 0.1 do
1553
        swait()
1554
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1555
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1556
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1557
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1558
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1559
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1560
		  end
1561
		CreateSound("138097048", ra, 3, .8)
1562
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
1563
      for i = 0, 1.2, 0.1 do
1564
        swait()
1565
	BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
1566
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
1567
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1568
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
1569
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1570
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
1571
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1572
      end
1573
      combo = 2
1574
    end
1575
 	if combo == 2 and wait2 == false then
1576
      wait2 = true
1577
   for i = 0, 1.2, 0.1 do
1578
        swait()
1579
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1580
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1581
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1582
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1583
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1584
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1585
      end
1586
	CreateSound("138097048", rl, 3, 1)
1587
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1588
    for i = 0, 1.6, 0.1 do
1589
        swait()
1590
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
1591
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1592
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
1593
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
1594
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1595
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
1596
      end
1597
      combo = 3
1598
    end
1599
   if combo == 3 and wait2 == false then
1600
    for i = 0, 1.2, 0.1 do
1601
        swait()
1602
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
1603
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
1604
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
1605
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1606
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
1607
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
1608
      end
1609
	CreateSound("138097048", ra, 3, .8)
1610
      HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1611
      for i = 0, 1.2, 0.1 do
1612
        swait()
1613
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
1614
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1615
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
1616
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1617
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1618
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1619
      end
1620
		Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
1621
		Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1622
		HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1623
	for i = 0, 1.2, 0.1 do
1624
        swait()
1625
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
1626
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1627
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
1628
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1629
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
1630
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
1631
      end
1632
      combo = 1
1633
    end
1634
    hum.WalkSpeed = 8
1635
    wait2 = false
1636
    attack = false
1637
	end
1638
end)
1639
function Decapitate()
1640
	local target = nil
1641
	local targettorso = nil
1642
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1643
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1644
			target = mouse.Target.Parent.Humanoid
1645
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1646
			targethead = mouse.Target.Parent:FindFirstChild("Head")
1647
		end
1648
	end
1649
	if target ~= nil then
1650
		targettorso.Anchored = true
1651
		attack = true
1652
		hum.WalkSpeed = 0
1653
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
1654
		for i = 0,4.2,0.1 do
1655
			swait()
1656
		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)
1657
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1658
		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)
1659
		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)
1660
		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)
1661
		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)
1662
		end
1663
		local ModelHead01 = New("Model", char, "", {})
1664
        local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
1665
        local Head01 = targethead:Clone()
1666
        targethead.Transparency = 1
1667
        Head01.Parent = ModelHead01
1668
        local weldHead01 = Instance.new("Weld")
1669
        weldHead01.Parent = Head01
1670
        weldHead01.Part0 = targethead
1671
        weldHead01.Part1 = Head01
1672
        weldHead01.C1 = CFrame.new(0, 0, 0)
1673
		targethead.face:Remove()
1674
		weldHead01.Part0 = ra
1675
        weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
1676
		targettorso:BreakJoints()
1677
		CreateSound("314390675", targettorso, 5, .7)
1678
		for i = 0,3.2,0.1 do
1679
			swait()
1680
		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)
1681
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1682
		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)
1683
		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)
1684
		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)
1685
		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)
1686
		end
1687
		for i = 0,4.2,0.1 do
1688
			swait()
1689
		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)
1690
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
1691
		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)
1692
		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)
1693
		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)
1694
		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)
1695
		end
1696
		CreateSound("541909763", targettorso, 5, .8)
1697
		weldHead01:Destroy()
1698
        Head01.CanCollide = true
1699
        local bodyVelocity2 = Create("BodyVelocity")({
1700
          velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
1701
          P = 5000,
1702
          maxForce = Vector3.new(8000, 8000, 8000),
1703
          Parent = Head01
1704
        })
1705
        game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
1706
		for i = 0,6.2,0.1 do
1707
			swait()
1708
		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)
1709
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
1710
		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)
1711
		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)
1712
		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)
1713
		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)
1714
		end
1715
		targettorso.Anchored = false
1716
		attack = false
1717
		hum.WalkSpeed = 8
1718
		root.CFrame = targettorso.CFrame * CF(0,0,3.4)
1719
	end
1720
end
1721
function Laugh()
1722
	attack = true
1723
	hum.WalkSpeed = 0
1724
	CreateSound("300208779", hed, 10, 1)
1725
	for i = 0,9,0.1 do
1726
		swait()
1727
		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)
1728
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
1729
		if Mrandom(1,15) == 1 then
1730
		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)
1731
		end
1732
		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)
1733
		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)
1734
		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)
1735
		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)
1736
	end
1737
	attack = false
1738
	hum.WalkSpeed = 10
1739
end
1740
function Flying_Kick()
1741
	attack = true
1742
	hum.WalkSpeed = 0
1743
	for i = 0,2.7,0.1 do
1744
		swait()
1745
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1746
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1747
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1748
	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(30)), 0.15)
1749
	RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
1750
	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(-15)), 0.1)
1751
	end
1752
	local bodyVelocity = Create("BodyVelocity")({
1753
          velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
1754
          P = 5000,
1755
          maxForce = Vector3.new(9e99, 9e99, 9e99),
1756
          Parent = root
1757
        })
1758
      game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
1759
CreateSound("138097048", rl, 3, 1)
1760
	for i = 0,2.1,0.1 do
1761
		swait()
1762
		HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1763
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
1764
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
1765
	RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
1766
	LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
1767
	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)
1768
	LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
1769
	end
1770
	attack = false
1771
	hum.WalkSpeed = 8
1772
end
1773
function UpperCut()
1774
	attack = true
1775
	hum.WalkSpeed = 0
1776
	for i = 0,2.3,0.1 do
1777
		swait()
1778
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
1779
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1780
	RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1781
	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(30)), 0.15)
1782
	RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
1783
	LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
1784
	end
1785
	CreateSound("138097048", ra, 3, .8)
1786
	HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
1787
	for i = 0,2.8,0.1 do
1788
		swait()
1789
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
1790
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
1791
	RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
1792
	LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
1793
	RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
1794
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
1795
	end
1796
	attack = false
1797
	hum.WalkSpeed = 8
1798
end
1799
function Spinning_Kick()
1800
	attack = true
1801
	hum.WalkSpeed = 3.01
1802
	for i = 0, 1.2, 0.1 do
1803
        swait()
1804
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
1805
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1806
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1807
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1808
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
1809
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
1810
      end
1811
    for i = 0, 4.6, 0.1 do
1812
        swait()
1813
	CreateSound("138097048", rl, 3, 1)
1814
	HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
1815
        rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
1816
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
1817
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
1818
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
1819
        RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
1820
        LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
1821
      end
1822
	attack = false
1823
	hum.WalkSpeed = 8
1824
end
1825
function Beam_Of_Light()
1826
	
1827
end
1828
function Blast_Of_God()
1829
	attack = true
1830
	hum.WalkSpeed = 3.01
1831
	for i = 0,6.3,0.1 do
1832
		swait()
1833
		Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1834
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
1835
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1836
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
1837
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
1838
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
1839
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
1840
	end
1841
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1842
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
1843
	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1844
    Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
1845
 	Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1846
	Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1847
	CreateSound("142070127", tors, 10, 1)
1848
	MagniDamage(ra, 12, 40, 60, 10, "Normal")
1849
	for i = 0,2.6,0.1 do
1850
		swait()
1851
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
1852
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
1853
		RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
1854
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
1855
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
1856
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
1857
	end
1858
	attack = false
1859
	hum.WalkSpeed = 8
1860
end
1861
function Diablo_Explosion()
1862
	attack = true
1863
	hum.WalkSpeed = 3.01
1864
	for i = 0,6.3,0.1 do
1865
		swait()
1866
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1867
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1868
		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)
1869
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1870
		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)
1871
		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)
1872
		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)
1873
		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)
1874
	end
1875
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
1876
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
1877
	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
1878
    Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
1879
 	Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1880
	Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
1881
	CreateSound("142070127", tors, 10, 1)
1882
	MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
1883
	for i = 0,4.6,0.1 do
1884
		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)
1885
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1886
		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)
1887
		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)
1888
		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)
1889
		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)
1890
	end
1891
	wait(.6)
1892
	attack = false
1893
	hum.WalkSpeed = 8
1894
end
1895
function Hell_From_Above()
1896
	local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
1897
	attack = true
1898
	hum.WalkSpeed = 3.01
1899
	for i = 0,6.3,0.1 do
1900
		swait()
1901
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1902
		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)
1903
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1904
		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)
1905
		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)
1906
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
1907
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
1908
	end
1909
	CreateSound("142070127", tors, 10, 1)
1910
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1911
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1912
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1913
	Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
1914
	for i = 0,3.8,0.1 do
1915
		swait()
1916
		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)
1917
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1918
		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)
1919
		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)
1920
		RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
1921
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
1922
	end
1923
	CreateSound("224339201", tors, 10, 0.5)
1924
	for i = 1, 3 do
1925
	MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
1926
	UhhhhThing.CFrame = mouse.Hit
1927
	Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
1928
	Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
1929
	end
1930
	UhhhhThing:Destroy()
1931
	attack = false
1932
	hum.WalkSpeed = 8
1933
end
1934
function Spinning_Below()
1935
	attack = true
1936
	hum.WalkSpeed = 3.01
1937
	CreateSound("649634100", tors, 10, 0.5)
1938
	for i = 0,6.3,0.1 do
1939
		swait()
1940
		Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1941
		Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
1942
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
1943
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1944
		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)
1945
		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)
1946
		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)
1947
		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)
1948
	end
1949
	attack = false
1950
	hum.WalkSpeed = 8
1951
end
1952
function Purity_Slam()
1953
	attack = true
1954
	for i = 0,5.2,0.1 do
1955
		swait()
1956
		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)
1957
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1958
		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)
1959
		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)
1960
		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)
1961
		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)
1962
	end
1963
	CreateSound("331666100", tors, 10, 1)
1964
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
1965
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
1966
	Effects.Ring.Create(BrickC("Toothpaste"), 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)
1967
	Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
1968
	MagniDamage(tors, 12, 40, 60, 10, "Normal")
1969
	coroutine.resume(coroutine.create(function() 
1970
		for i = 0,1.8,0.1 do
1971
			swait()
1972
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
1973
		end
1974
		for i = 0,1.8,0.1 do
1975
			swait()
1976
		hum.CameraOffset = Vector3.new(0,0,0)
1977
		end
1978
	end))
1979
	for i = 1,4.7,0.1 do
1980
	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)
1981
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
1982
	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)
1983
	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)
1984
	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)
1985
	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)
1986
	end
1987
	wait(.6)
1988
	attack = false
1989
end
1990
function Painful_Stomp()
1991
	attack = true
1992
	for i = 0,5.2,0.1 do
1993
		swait()
1994
		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)
1995
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1996
		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)
1997
		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)
1998
		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)
1999
		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)
2000
	end	
2001
	CreateSound("331666100", char, 10, 1)
2002
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2003
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2004
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2005
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
2006
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
2007
	Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
2008
	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)
2009
	for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
2010
		if v:FindFirstChild("Head") then
2011
			Eviscerate(v)
2012
		end
2013
	end
2014
	coroutine.resume(coroutine.create(function() 
2015
		for i = 0,2.8,0.1 do
2016
			swait()
2017
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2018
		end
2019
		for i = 0,1.8,0.1 do
2020
			swait()
2021
		hum.CameraOffset = Vector3.new(0,0,0)
2022
		end
2023
	end))
2024
	for i = 0,3.7,0.1 do
2025
		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)
2026
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2027
		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)
2028
		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)
2029
		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)
2030
		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)
2031
	end
2032
	wait(.6)
2033
	attack = false
2034
end
2035
function Ending()
2036
	local target = nil
2037
	local targettorso = nil
2038
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2039
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
2040
			targetT  = mouse.Target.Parent
2041
			target = mouse.Target.Parent.Humanoid
2042
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
2043
			targethead = mouse.Target.Parent:FindFirstChild("Head")
2044
		end
2045
	end
2046
	if target ~= nil then
2047
		targettorso.Anchored = true
2048
		attack = true
2049
		hum.WalkSpeed = 0
2050
		local originalpos = root.CFrame
2051
		root.CFrame = targettorso.CFrame * CF(0,0,2.6)
2052
		for i = 0,1.8,0.1 do
2053
			swait()
2054
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
2055
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
2056
		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)
2057
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
2058
		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(35)), 0.1)
2059
		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)
2060
		end
2061
		Eviscerate(targetT)
2062
		CreateSound("331666100", ra, 4, 1)
2063
		CreateSound("180083286", targettorso, 10, 1)
2064
		coroutine.resume(coroutine.create(function() 
2065
		for i = 0,1.8,0.1 do
2066
			swait()
2067
			hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
2068
		end
2069
		for i = 0,1.8,0.1 do
2070
			swait()
2071
		hum.CameraOffset = Vector3.new(0,0,0)
2072
		end
2073
	end))
2074
		for i = 0,4.6,0.1 do
2075
		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)
2076
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2077
		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)
2078
		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)
2079
		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)
2080
		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)
2081
		end
2082
		wait(.6)
2083
		root.CFrame = originalpos
2084
		attack = false
2085
	hum.WalkSpeed = 8
2086
	end
2087
end
2088
2089
--[[I don't take ANY credit for this attack,
2090
	this was all nooby's hard work and the only reason i uhhh "used" it
2091
	is cause I i didn't have attack ideas at the time so yeah,
2092
	100% nooby's credit <3]]
2093
function Ende_der_Weld()
2094
	attack = true
2095
	hum.WalkSpeed = 0
2096
	for i = 0,4.6,0.1 do
2097
			swait()
2098
		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)
2099
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
2100
		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)
2101
		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)
2102
		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)
2103
		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)
2104
		end
2105
		local a = Instance.new("Part",char)
2106
		a.BrickColor = BrickColor.random()
2107
	a.Name = "Lazer"	
2108
	a.Anchored = true
2109
a.Material = "Neon"
2110
a.Transparency = 1
2111
	a.CanCollide = false
2112
	local hitbox = Instance.new("Part",char)
2113
	hitbox.Size = Vector3.new(5,5,5)
2114
	hitbox.CFrame = mouse.hit
2115
	hitbox.Anchored = true
2116
	hitbox.Transparency = 1
2117
	hitbox.CanCollide = false
2118
	local ray = Ray.new(
2119
	    ra.CFrame.p,                           -- origin
2120
	    (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
2121
	) 
2122
	local ignore = char
2123
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2124
	if hit then
2125
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
2126
	 
2127
		if not humanoid then
2128
			humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
2129
		end
2130
		if humanoid then
2131
			if humanoid.Parent:IsA"Model" then
2132
			end
2133
		end
2134
	end
2135
	a.BottomSurface = 10
2136
	a.TopSurface = 10
2137
	local distance = (ra.CFrame.p - position).magnitude
2138
	a.Size = Vector3.new(0.1, 0.1, 0.1)
2139
	a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
2140
	game:GetService("Debris"):AddItem(a, 5)
2141
	game:GetService("Debris"):AddItem(hitbox, 1)
2142
local newmesh = Instance.new("BlockMesh",a)
2143
MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025) 
2144
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
2145
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
2146
MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
2147
			 local lbs = Instance.new("Part")
2148
  lbs.Parent = char
2149
CreateSound("929619479", lbs, 10, 1)
2150
   lbs.Material = "Neon"
2151
    lbs.Color = BrickColor.Random().Color
2152
     lbs.CanCollide = false
2153
     lbs.Shape = "Ball"
2154
     lbs.Anchored = true
2155
     lbs.Transparency = 0
2156
     lbs.Size = Vector3.new(20,20,20)
2157
     lbs.CFrame = a.CFrame
2158
     local thing = Instance.new("SpecialMesh",lbs)
2159
     thing.MeshType = "Sphere"
2160
lbs.Anchored = false
2161
  local bvs = Instance.new("BodyVelocity")
2162
  bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
2163
  bvs.velocity = a.CFrame.lookVector*75
2164
  bvs.Parent = lbs
2165
lbs.Touched:connect(function(hit) 
2166
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2167
end)
2168
attack = false
2169
game:GetService("Debris"):AddItem(lbs, 10)
2170
for x = 0, 4 do
2171
	local bulletgos = IT("Model",char)
2172
	local bulletgos2 = IT("Model",char)
2173
for z = 0, 24 do
2174
			 local lb = Instance.new("Part")
2175
  lb.Parent = bulletgos
2176
   lb.Material = "Neon"
2177
    lb.Color = BrickColor.Random().Color
2178
     lb.CanCollide = false
2179
     lb.Anchored = true
2180
     lb.Transparency = 0
2181
     lb.Size = Vector3.new(2,2,2)
2182
local thing = Instance.new("SpecialMesh",lb)
2183
     thing.MeshType = "Sphere"
2184
     thing.Scale = Vector3.new(0.5,0.5,1.5)
2185
     lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2186
     lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
2187
			 local lb2 = Instance.new("Part")
2188
  lb2.Parent = bulletgos2
2189
   lb2.Material = "Neon"
2190
    lb2.Color = lb.Color
2191
     lb2.CanCollide = false
2192
     lb2.Anchored = true
2193
     lb2.Transparency = 0
2194
     lb2.Size = Vector3.new(2,2,2)
2195
     lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2196
     lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
2197
     local thing2 = Instance.new("SpecialMesh",lb2)
2198
     thing2.MeshType = "Sphere"
2199
     thing2.Scale = Vector3.new(0.5,0.5,1.5)
2200
lb.Touched:connect(function(hit) 
2201
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2202
end)
2203
lb2.Touched:connect(function(hit) 
2204
	MagniDamage(hit, 12, 40, 60, 10, "Normal")
2205
end)
2206
end
2207
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2208
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
2209
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2210
MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
2211
CreateSound("925629856", lbs, 5, 1)
2212
game:GetService("Debris"):AddItem(bulletgos, 7)
2213
game:GetService("Debris"):AddItem(bulletgos2, 7)
2214
for i,v in pairs(bulletgos:children()) do
2215
    if v:IsA("Part") then
2216
	v.Anchored = false
2217
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2218
  local bv = Instance.new("BodyVelocity")
2219
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2220
  bv.velocity = v.CFrame.lookVector*25
2221
  bv.Parent = v
2222
game:GetService("Debris"):AddItem(v, 5)
2223
    end
2224
end
2225
for i,v in pairs(bulletgos2:children()) do
2226
    if v:IsA("Part") then
2227
	v.Anchored = false
2228
	MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025) 
2229
  local bv = Instance.new("BodyVelocity")
2230
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2231
  bv.velocity = v.CFrame.lookVector*-25
2232
  bv.Parent = v
2233
game:GetService("Debris"):AddItem(v, 5)
2234
    end
2235
end
2236
wait(1)
2237
end
2238
attack = false
2239
hum.WalkSpeed = 8
2240
end
2241
-------------------------------------------------------
2242
--End Attacks N Stuff--
2243
-------------------------------------------------------
2244
mouse.KeyDown:connect(function(key)
2245
    if string.byte(key) == 48 then
2246
        Swing = 2
2247
        hum.WalkSpeed = 38.82
2248
	end
2249
end)
2250
mouse.KeyUp:connect(function(key)
2251
    if string.byte(key) == 48 then
2252
        Swing = 1
2253
        hum.WalkSpeed = 8
2254
	end
2255
end)
2256
mouse.KeyDown:connect(function(key)
2257
	if attack == false then
2258
		if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2259
			EdgyMode = true
2260
			tecks2.Text = "facepalm"
2261
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2262
			tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
2263
		for i, v in pairs(ArmourParts) do
2264
        	v.BrickColor = BrickColor.new("Really black")
2265
		      		end
2266
		for i, v in pairs(ArmourParts2) do
2267
        	v.BrickColor = BrickColor.new("Really black")
2268
		      		end
2269
    	for i, v in pairs(NeonParts) do
2270
        	v.BrickColor = BrickColor.new("Really black")
2271
      				end
2272
	maincolor = BrickColor.new("Royal purple")
2273
			Music.SoundId = "rbxassetid://188381340"
2274
			Music.Parent = tors
2275
			Music:Play()
2276
		elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2277
			EdgyMode = false
2278
			tecks2.Text = "normal"
2279
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2280
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2281
			resetmode()
2282
			Music.SoundId = "rbxassetid://1117396305"
2283
			Music.Parent = tors
2284
			Music:Play()
2285
		elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2286
			Divinity = true
2287
			tecks2.Text = "JESUS"
2288
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2289
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
2290
		for i, v in pairs(ArmourParts) do
2291
        	v.BrickColor = BrickColor.new("Institutional white")
2292
		      		end
2293
		for i, v in pairs(ArmourParts2) do
2294
        	v.BrickColor = BrickColor.new("White")
2295
		      		end
2296
    	for i, v in pairs(NeonParts) do
2297
        	v.BrickColor = BrickColor.new("New Yeller")
2298
      				end
2299
		maincolor = BrickColor.new("New Yeller")
2300
			Music.SoundId = "rbxassetid://595800581"
2301
			Music.Parent = tors
2302
			Music:Play()
2303
		elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2304
			Divinity = false
2305
			tecks2.Text = "normal"
2306
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2307
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2308
			resetmode()
2309
			Music.SoundId = "rbxassetid://1117396305"
2310
			Music.Parent = tors
2311
			Music:Play()
2312
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2313
			Fighter = true
2314
			tecks2.Text = "lucas"
2315
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2316
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
2317
		for i, v in pairs(ArmourParts) do
2318
        	v.BrickColor = BrickColor.new("Black")
2319
		      		end
2320
		for i, v in pairs(ArmourParts2) do
2321
        	v.BrickColor = BrickColor.new("Really black")
2322
		      		end
2323
    	for i, v in pairs(NeonParts) do
2324
        	v.BrickColor = BrickColor.new("Institutional white")
2325
      				end
2326
		maincolor = BrickColor.new("Really blue")
2327
			Music.SoundId = "rbxassetid://493647101"
2328
			Music.Parent = tors
2329
			Music:Play()
2330
		elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
2331
			Fighter = false
2332
			tecks2.Text = "normal"
2333
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2334
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2335
			resetmode()
2336
			Music.SoundId = "rbxassetid://1117396305"
2337
			Music.Parent = tors
2338
			Music:Play()
2339
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2340
			Purity = true
2341
			tecks2.Text = "Pure salt"
2342
			tecks2.TextColor3 = Color3.new(1, 1, 1)
2343
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
2344
		for i, v in pairs(ArmourParts) do
2345
        	v.BrickColor = BrickColor.new("Institutional white")
2346
		      		end
2347
		for i, v in pairs(ArmourParts2) do
2348
        	v.BrickColor = BrickColor.new("Institutional white")
2349
		      		end
2350
    	for i, v in pairs(NeonParts) do
2351
        	v.BrickColor = BrickColor.new("Lily white")
2352
      				end
2353
		maincolor = BrickColor.new("Lily white")
2354
			Music.SoundId = "rbxassetid://553751015"
2355
			Music.Parent = tors
2356
			Music:Play()
2357
		elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
2358
			Purity = false
2359
			tecks2.Text = "normal"
2360
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2361
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2362
			resetmode()
2363
			Music.SoundId = "rbxassetid://1117396305"
2364
			Music.Parent = tors
2365
			Music:Play()
2366
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2367
			Destruction = true
2368
			tecks2.Text = "Jimmy neutron"
2369
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2370
			tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
2371
		for i, v in pairs(ArmourParts) do
2372
        	v.BrickColor = BrickColor.new("Really black")
2373
		      		end
2374
		for i, v in pairs(ArmourParts2) do
2375
        	v.BrickColor = BrickColor.new("Black")
2376
		      		end
2377
    	for i, v in pairs(NeonParts) do
2378
        	v.BrickColor = BrickColor.new("Really red")
2379
      				end
2380
		maincolor = BrickColor.new("Really red")
2381
			Music.SoundId = "rbxassetid://613361202"
2382
			Music.Parent = tors
2383
			Music:Play()
2384
		elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
2385
			Destruction = false
2386
			tecks2.Text = "normal"
2387
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2388
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2389
			resetmode()
2390
			Music.SoundId = "rbxassetid://1117396305"
2391
			Music.Parent = tors
2392
			Music:Play()
2393
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2394
			helpme = true
2395
			tecks2.Text = "idK what to put here"
2396
			Music.SoundId = "rbxassetid://130850177"
2397
			Music.Parent = tors
2398
			Music:Play()
2399
		elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
2400
			helpme = false
2401
			tecks2.Text = "normal"
2402
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2403
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2404
			resetmode()
2405
			Music.SoundId = "rbxassetid://1117396305"
2406
			Music.Parent = tors
2407
			Music:Play()
2408
		elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1  then
2409
			tecks2.TextTransparency = 0
2410
			tecks2.TextStrokeTransparency = 0
2411
		elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0  then
2412
			tecks2.TextTransparency = 1
2413
			tecks2.TextStrokeTransparency = 1
2414
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2415
			Planetary = true
2416
			tecks2.Text = "galactic"
2417
			tecks2.TextColor3 = Color3.fromRGB(0, 255, 255)
2418
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
2419
		for i, v in pairs(ArmourParts) do
2420
        	v.BrickColor = BrickColor.new("Dark indigo")
2421
		      		end
2422
		for i, v in pairs(ArmourParts2) do
2423
        	v.BrickColor = BrickColor.new("Dark indigo")
2424
		      		end
2425
    	for i, v in pairs(NeonParts) do
2426
        	v.BrickColor = BrickColor.new("Dark indigo")
2427
      				end
2428
		maincolor = BrickColor.new("Dark indigo")
2429
			Music.SoundId = "rbxassetid://609934004"
2430
			Music.Parent = tors
2431
			Music:Play()
2432
		elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
2433
			Planetary = false
2434
			tecks2.Text = "normal"
2435
			tecks2.TextColor3 = Color3.new(0, 0, 0)
2436
			tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
2437
			resetmode()
2438
			Music.SoundId = "rbxassetid://1117396305"
2439
			Music.Parent = tors
2440
			Music:Play()
2441
		end
2442
	end
2443
end)
2444
mouse.KeyDown:connect(function(key)
2445
	if attack == false then
2446
		if EdgyMode == true then
2447
			if key == 'r' then
2448
			Decapitate()
2449
			elseif key == 'e' then
2450
				Laugh()
2451
			end
2452
		end
2453
		if Divinity == true then
2454
			if key == 'r' then
2455
				Beam_Of_Light()
2456
			elseif key == 'f' then
2457
				Blast_Of_God()
2458
			end
2459
		end
2460
		if Fighter == true then
2461
			if key == 'e' then
2462
				Flying_Kick()
2463
			elseif key == 'f' then
2464
				UpperCut()
2465
			elseif key == 't' then
2466
				Spinning_Kick()
2467
			end
2468
		end
2469
		if Purity == true then
2470
			if key == 'r' then
2471
				Purity_Slam()
2472
			end
2473
		end
2474
		if Destruction == true then
2475
			if key == 'r' then
2476
				Diablo_Explosion()
2477
			elseif key == 'f' then
2478
				Hell_From_Above()
2479
			elseif key == 't' then
2480
				Spinning_Below()
2481
			end
2482
		end
2483
		if helpme == true then
2484
			if key == 'r' then
2485
				Painful_Stomp()
2486
			elseif key == 'f' then
2487
				Ending()
2488
			elseif key == 't' then
2489
				Ende_der_Weld()
2490
			end
2491
		end
2492
	end
2493
 end)
2494
2495
2496
2497
2498
2499
2500
-------------------------------------------------------
2501
--Start Animations--
2502
-------------------------------------------------------
2503
local equipped = false
2504
local idle = 0
2505
local change = 1
2506
local val = 0
2507
local toim = 0
2508
local idleanim = 0.4
2509
hum.WalkSpeed = 8
2510
hum.Animator.Parent = nil
2511
while true do
2512
	swait()
2513
	Music.Parent = char
2514
	if helpme == true then
2515
		for i, v in pairs(ArmourParts) do
2516
       			v.BrickColor = BrickColor.random()
2517
		    end
2518
				for i, v in pairs(ArmourParts2) do
2519
        	v.BrickColor = BrickColor.random()
2520
		 	end
2521
    			for i, v in pairs(NeonParts) do
2522
        	v.BrickColor = BrickColor.random()
2523
      		end
2524
				maincolor = BrickColor.random()
2525
				tecks2.TextColor3 = maincolor.Color
2526
				tecks2.TextStrokeColor3 = maincolor.Color
2527
			MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
2528
	end
2529
	if Planetary == true then
2530
		MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
2531
	end
2532
	sine = sine + change
2533
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2534
	local velderp = root.Velocity.y
2535
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
2536
	if equipped == true or equipped == false then
2537
		if attack == false then
2538
			idle = idle + 1
2539
		else
2540
			idle = 0
2541
		end
2542
		if 1 < root.Velocity.y and hitfloor == nil then
2543
			Anim = "Jump"
2544
			change = 1
2545
			if attack == false then
2546
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
2547
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
2548
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
2549
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
2550
				LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
2551
				RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
2552
			end
2553
		elseif -1 > root.Velocity.y and hitfloor == nil then
2554
			Anim = "Fall"
2555
			change = 1
2556
			if attack == false then
2557
				rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
2558
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
2559
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
2560
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
2561
				LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
2562
				RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
2563
			end
2564
		elseif torvel < 1 and hitfloor ~= nil then
2565
			Anim = "Idle"
2566
			change = 1
2567
			if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2568
				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)
2569
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2570
				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(0)), 0.15)
2571
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
2572
				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(5 - 2.5 * Sin(sine / 20))), 0.1)
2573
				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(-5 + 2.5 * Sin(sine / 20))), 0.1)
2574
			elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2575
				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)
2576
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2577
				if Mrandom(1,15) == 1 then
2578
				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)
2579
				end
2580
				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(10)), 0.15)
2581
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
2582
				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)
2583
				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)
2584
			elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
2585
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
2586
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
2587
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2588
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
2589
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
2590
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
2591
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
2592
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
2593
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
2594
				RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
2595
				LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
2596
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
2597
				LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
2598
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
2599
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
2600
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2601
				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(-10)), 0.15)
2602
				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(6)), 0.15)
2603
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
2604
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
2605
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
2606
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
2607
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
2608
				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)
2609
				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)
2610
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
2611
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
2612
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
2613
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
2614
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
2615
				if math.random(1,1) == 1 then
2616
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
2617
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
2618
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
2619
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
2620
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 +  0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
2621
					LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
2622
				end
2623
				for i, v in pairs(ArmourParts) do
2624
       			v.BrickColor = BrickColor.random()
2625
		    end
2626
				for i, v in pairs(ArmourParts2) do
2627
        	v.BrickColor = BrickColor.random()
2628
		 	end
2629
    			for i, v in pairs(NeonParts) do
2630
        	v.BrickColor = BrickColor.random()
2631
      		end
2632
				maincolor = BrickColor.random()
2633
				tecks2.TextColor3 = maincolor.Color
2634
				tecks2.TextStrokeColor3 = maincolor.Color
2635
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
2636
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
2637
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
2638
				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)
2639
			elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
2640
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
2641
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
2642
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2643
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
2644
				RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
2645
				LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
2646
			end
2647
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2648
			Anim = "Walk"
2649
			change = .6
2650
			if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
2651
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
2652
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2653
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
2654
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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)
2655
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
2656
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45)  * Cos(sine / 7) , Rad(0) ,	Rad(-5) + la.RotVelocity.Y / 75), 0.1)
2657
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
2658
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
2659
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2660
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2661
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
2662
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
2663
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
2664
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
2665
				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)
2666
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2667
				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)
2668
				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)
2669
				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)
2670
				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)
2671
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
2672
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
2673
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
2674
				if math.random(1,1) == 1 then
2675
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
2676
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
2677
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
2678
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
2679
					RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
2680
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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)
2681
				end
2682
				for i, v in pairs(ArmourParts) do
2683
       			v.BrickColor = BrickColor.random()
2684
		    end
2685
				for i, v in pairs(ArmourParts2) do
2686
        	v.BrickColor = BrickColor.random()
2687
		 	end
2688
    			for i, v in pairs(NeonParts) do
2689
        	v.BrickColor = BrickColor.random()
2690
      		end
2691
				maincolor = BrickColor.random()
2692
				tecks2.TextColor3 = maincolor.Color
2693
				tecks2.TextStrokeColor3 = maincolor.Color
2694
				RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
2695
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
2696
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
2697
				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)
2698
			elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
2699
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
2700
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2701
				if Mrandom(1,15) == 1 then
2702
				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)
2703
				end
2704
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
2705
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * 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)
2706
				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)
2707
				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)
2708
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
2709
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
2710
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2711
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2712
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
2713
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
2714
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
2715
			end
2716
		elseif torvel >= 25 and hitfloor ~= nil then
2717
			Anim = "Sprint"
2718
			change = 1.35
2719
			if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
2720
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
2721
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2722
				RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * 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)
2723
         		LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * 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)
2724
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
2725
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
2726
			elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
2727
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
2728
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
2729
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
2730
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
2731
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
2732
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
2733
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
2734
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
2735
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
2736
				RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
2737
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
2738
				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)
2739
				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)
2740
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
2741
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
2742
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
2743
				if math.random(1,1) == 1 then
2744
					rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
2745
					tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
2746
					RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
2747
					LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
2748
					RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
2749
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
2750
				end
2751
				for i, v in pairs(ArmourParts) do
2752
       			v.BrickColor = BrickColor.random()
2753
		    end
2754
				for i, v in pairs(ArmourParts2) do
2755
        	v.BrickColor = BrickColor.random()
2756
		 	end
2757
    			for i, v in pairs(NeonParts) do
2758
        	v.BrickColor = BrickColor.random()
2759
      		end
2760
				maincolor = BrickColor.random()
2761
				tecks2.TextColor3 = maincolor.Color
2762
				tecks2.TextStrokeColor3 = maincolor.Color
2763
				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)
2764
				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(16)), 0.15)
2765
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
2766
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
2767
			elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
2768
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
2769
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
2770
				RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
2771
				LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
2772
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
2773
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
2774
			end
2775
		end
2776
	end
2777
	if 0 < #Effects then
2778
		for e = 1, #Effects do
2779
			if Effects[e] ~= nil then
2780
				local Thing = Effects[e]
2781
				if Thing ~= nil then
2782
					local Part = Thing[1]
2783
					local Mode = Thing[2]
2784
					local Delay = Thing[3]
2785
					local IncX = Thing[4]
2786
					local IncY = Thing[5]
2787
					local IncZ = Thing[6]
2788
					if 1 >= Thing[1].Transparency then
2789
						if Thing[2] == "Block1" then
2790
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2791
							local Mesh = Thing[1].Mesh
2792
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2793
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2794
						elseif Thing[2] == "Block2" then
2795
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2796
							local Mesh = Thing[7]
2797
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2798
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2799
						elseif Thing[2] == "Block3" then
2800
							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)
2801
							local Mesh = Thing[7]
2802
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2803
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2804
						elseif Thing[2] == "Cylinder" then
2805
							local Mesh = Thing[1].Mesh
2806
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2807
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2808
						elseif Thing[2] == "Blood" then
2809
							local Mesh = Thing[7]
2810
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2811
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2812
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2813
						elseif Thing[2] == "Elec" then
2814
							local Mesh = Thing[1].Mesh
2815
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2816
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2817
						elseif Thing[2] == "Disappear" then
2818
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2819
						elseif Thing[2] == "Shatter" then
2820
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2821
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2822
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2823
							Thing[6] = Thing[6] + Thing[5]
2824
						end
2825
					else
2826
						Part.Parent = nil
2827
						table.remove(Effects, e)
2828
					end
2829
				end
2830
			end
2831
		end
2832
	end
2833
end
2834
-------------------------------------------------------
2835
--End Animations And Script--
2836
-------------------------------------------------------