View difference between Paste ID: ZYNWydUv and QRRpdjRU
SHOW: | | - or go back to the newest paste.
1
 if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
----God of shapes created by Father_Heaven
143
--using shackluster scripts--
144
--More added by XDavodioX--
145
--That includes--
146
--Name
147
--Smite
148
--The Gui
149
--Teleport
150
151
152
153
function sandbox(var,func)
154
	local env = getfenv(func)
155
	local newenv = setmetatable({},{
156
		__index = function(self,k)
157
			if k=="script" then
158
				return var
159
			else
160
				return env[k]
161
			end
162
		end,
163
	})
164
	setfenv(func,newenv)
165
	return func
166
end
167
function NS(...)
168
	local tab = {...}
169
	local fat = {}
170
	for i = 1, #tab do
171
		local v = tab[i]
172
		table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
173
	end
174
	return NumberSequence.new(fat);	
175
end
176
177
cors = {}
178
mas = Instance.new("Model",game:GetService("Lighting"))
179
ParticleEmitter0 = Instance.new("ParticleEmitter")
180
ParticleEmitter1 = Instance.new("ParticleEmitter")
181
ParticleEmitter2 = Instance.new("ParticleEmitter")
182
ParticleEmitter0.Name = "Flames"
183
ParticleEmitter0.Parent = mas
184
ParticleEmitter0.Speed = NumberRange.new(0, 15)
185
ParticleEmitter0.Rotation = NumberRange.new(0, 360)
186
ParticleEmitter0.Enabled = false
187
ParticleEmitter0.LightEmission = 1
188
ParticleEmitter0.LightInfluence = 1
189
ParticleEmitter0.Transparency = NumberSequence.new(1,0)
190
ParticleEmitter0.ZOffset = 1
191
ParticleEmitter0.Size = NumberSequence.new(10,0)
192
ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
193
ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
194
ParticleEmitter0.Rate = 9999
195
ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
196
ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
197
ParticleEmitter0.VelocitySpread = 25
198
ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
199
ParticleEmitter1.Name = "Death"
200
ParticleEmitter1.Parent = mas
201
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
202
ParticleEmitter1.Enabled = false
203
ParticleEmitter1.LightEmission = 0.75
204
ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
205
ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
206
ParticleEmitter1.ZOffset = 0.5
207
ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
208
ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
209
ParticleEmitter1.Drag = 5
210
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
211
ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
212
ParticleEmitter1.Rate = 999
213
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
214
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
215
ParticleEmitter1.VelocitySpread = 360
216
ParticleEmitter2.Name = "Wing"
217
ParticleEmitter2.Parent = mas
218
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
219
ParticleEmitter2.Enabled = false
220
ParticleEmitter2.LightEmission = 1
221
ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
222
ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
223
ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
224
ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
225
ParticleEmitter2.LockedToPart = true
226
ParticleEmitter2.Rate = 300
227
228
for i,v in pairs(mas:GetChildren()) do
229
	v.Parent = script
230
	pcall(function() v:MakeJoints() end)
231
end
232
mas:Destroy()
233
for i,v in pairs(cors) do
234
	spawn(function()
235
		pcall(v)
236
	end)
237
end
238
239
240
241
242
243
244
245
function onKeyPress(inputObject, gameProcessedEvent)
246
	if inputObject.KeyCode == Enum.KeyCode.L then
247
		
248
		
249
		local q = game.Players:GetChildren() for i = 1, #q do if q[i].Character.Parent ~= workspace and q[i].Parent ~= nil then q[i].Character.Parent = workspace  local sound2 = Instance.new("Sound",workspace) sound2.SoundId = "rbxassetid://245910488" sound2.Volume = 5 sound2:Play() end end end
250
		
251
		
252
	end
253
254
255
256
257
258
259
260
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
261
262
263
264
265
266
267
268
269
Player = game:GetService("Players").LocalPlayer
270
Character = Player.Character
271
272
273
274
Torso = Character["Torso"]
275
Head = Character["Head"]
276
RightArm = Character["Right Arm"]
277
LeftArm = Character["Left Arm"]
278
RightLeg = Character["Right Leg"]
279
LeftLeg = Character["Left Leg"]
280
Neck = Torso["Neck"]
281
	
282
wait(1)
283
284
	
285
286
287
288
289
local createstuff = function()
290
	local stuff = Instance.new("Model")
291
292
local ParticleBox = Instance.new("Part")
293
294
295
stuff.Name = "Stuff"
296
stuff.Parent = workspace
297
298
ParticleBox.Size = Vector3.new(10, 10, 10)
299
ParticleBox.BottomSurface = Enum.SurfaceType.Smooth
300
ParticleBox.Material = Enum.Material.SmoothPlastic
301
ParticleBox.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
302
ParticleBox.BrickColor = BrickColor.new("Really black")
303
ParticleBox.TopSurface = Enum.SurfaceType.Smooth
304
ParticleBox.Name = "ParticleBox"
305
ParticleBox.Parent = stuff
306
ParticleBox.CFrame = CFrame.new(9.8, 44.1, -48.7)
307
ParticleBox.Transparency = 1
308
309
local headness = Instance.new("Part")
310
headness.Parent = stuff
311
headness.Name = ("headness")
312
headness.Size = Vector3.new(2,1,1)
313
headness.Transparency = 0.5
314
headness.Material = ("Neon")
315
headness.BrickColor = BrickColor.new("Navy blue")
316
headness.CanCollide = false
317
318
319
local Blockhead = Instance.new("BlockMesh")
320
Blockhead.Name = ("Blockhead")
321
Blockhead.Offset = Vector3.new(0,-0.45,0)
322
Blockhead.Scale = Vector3.new(0.56,1.1,1.1)
323
Blockhead.Parent = stuff
324
325
local MajesticGlow = Instance.new("PointLight")
326
MajesticGlow.Color = Color3.new(6/225,6/255,159/255)
327
MajesticGlow.Range = 25
328
MajesticGlow.Shadows = false
329
MajesticGlow.Brightness = 1
330
MajesticGlow.Name = ("MajesticGlow")
331
MajesticGlow.Parent = stuff
332
333
334
335
for i,v in pairs(stuff:GetChildren()) do
336
	v.Parent = script
337
end
338
end
339
	
340
createstuff()
341
342
343
wait(1)
344
345
Player = game:GetService("Players").LocalPlayer
346
PlayerGui = Player.PlayerGui
347
Cam = workspace.CurrentCamera
348
Backpack = Player.Backpack
349
Character = Player.Character
350
Humanoid = Character.Humanoid
351
Mouse = Player:GetMouse()
352
RootPart = Character["HumanoidRootPart"]
353
Torso = Character["Torso"]
354
Head = Character["Head"]
355
RightArm = Character["Right Arm"]
356
LeftArm = Character["Left Arm"]
357
RightLeg = Character["Right Leg"]
358
LeftLeg = Character["Left Leg"]
359
RootJoint = RootPart["RootJoint"]
360
Neck = Torso["Neck"]
361
RightShoulder = Torso["Right Shoulder"]
362
LeftShoulder = Torso["Left Shoulder"]
363
RightHip = Torso["Right Hip"]
364
LeftHip = Torso["Left Hip"]
365
local sick = Instance.new("Sound",Character)
366
Player_Size = 1
367
368
IT = Instance.new
369
CF = CFrame.new
370
VT = Vector3.new
371
RAD = math.rad
372
C3 = Color3.new
373
UD2 = UDim2.new
374
BRICKC = BrickColor.new
375
ANGLES = CFrame.Angles
376
EULER = CFrame.fromEulerAnglesXYZ
377
COS = math.cos
378
ACOS = math.acos
379
SIN = math.sin
380
ASIN = math.asin
381
ABS = math.abs
382
MRANDOM = math.random
383
FLOOR = math.floor
384
385
Animation_Speed = 3
386
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
387
local Speed = 35
388
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
389
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
390
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
391
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
392
local DAMAGEMULTIPLIER = 1
393
local ANIM = "Idle"
394
local ATTACK = false
395
local EQUIPPED = false
396
local HOLD = false
397
local COMBO = 1
398
local Rooted = false
399
local SINE = 0
400
local KEYHOLD = false
401
local CHANGE = 2 / Animation_Speed
402
local WALKINGANIM = false
403
local VALUE1 = false
404
local VALUE2 = false
405
local ROBLOXIDLEANIMATION = IT("Animation")
406
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
407
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
408
--ROBLOXIDLEANIMATION.Parent = Humanoid
409
local WEAPONGUI = IT("ScreenGui", PlayerGui)
410
WEAPONGUI.Name = "Weapon GUI"
411
local Effects = IT("Folder", Character)
412
Effects.Name = "Effects"
413
414
local SKILLTEXTCOLOR = C3(0,1,0)
415
416
417
local remember = coroutine.wrap(function()
418
	while true do
419
		
420
	for _, c in pairs(Character:GetChildren()) do
421
		if c:IsA("Folder") then
422
			Effects = c
423
			
424
			
425
		
426
			
427
		end
428
		
429
	
430
	
431
	end
432
		
433
		 
434
		
435
		
436
		wait()
437
	end
438
	
439
end)
440
441
remember()
442
443
444
445
446
local ANIMATOR = Humanoid.Animator
447
local ANIMATE = Character.Animate
448
local UNANCHOR = true
449
local PLAYSONG = true
450
local EXTRATRANS = 0
451
452
--//=================================\\
453
--\\=================================//
454
455
456
--//=================================\\
457
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
458
--\\=================================//
459
460
ArtificialHB = Instance.new("BindableEvent", script)
461
ArtificialHB.Name = "ArtificialHB"
462
463
script:WaitForChild("ArtificialHB")
464
465
frame = Frame_Speed
466
tf = 0
467
allowframeloss = false
468
tossremainder = false
469
lastframe = tick()
470
script.ArtificialHB:Fire()
471
472
game:GetService("RunService").Heartbeat:connect(function(s, p)
473
	tf = tf + s
474
	if tf >= frame then
475
		if allowframeloss then
476
			script.ArtificialHB:Fire()
477
			lastframe = tick()
478
		else
479
			for i = 1, math.floor(tf / frame) do
480
				script.ArtificialHB:Fire()
481
			end
482
		lastframe = tick()
483
		end
484
		if tossremainder then
485
			tf = 0
486
		else
487
			tf = tf - frame * math.floor(tf / frame)
488
		end
489
	end
490
end)
491
492
--//=================================\\
493
--||        Nameing crep             ||
494
--\\=================================//
495
496
497
m = game.Players.LocalPlayer
498
char = m.Character
499
local txt = Instance.new("BillboardGui", char)
500
txt.Adornee = char.Head
501
txt.Name = "_status"
502
txt.Size = UDim2.new(2, 0, 1.2, 0)
503
txt.StudsOffset = Vector3.new(-9, 8, 0)
504
local text = Instance.new("TextLabel", txt)
505
text.Size = UDim2.new(10, 0, 7, 0)
506
text.FontSize = "Size24"
507
text.TextScaled = true
508
text.TextTransparency = 0
509
text.BackgroundTransparency = 1
510
text.TextTransparency = 0
511
text.TextStrokeTransparency = 1
512
text.Font = "Arcade"
513
text.TextStrokeColor3 = Color3.new(0, 0, 0)
514
v = Instance.new("Part")
515
v.Name = "ColorBrick"
516
v.Parent = m.Character
517
v.FormFactor = "Symmetric"
518
v.Anchored = true
519
v.CanCollide = false
520
v.BottomSurface = "Smooth"
521
v.TopSurface = "Smooth"
522
v.Size = Vector3.new(10, 5, 3)
523
v.Transparency = 1
524
v.CFrame = char.Torso.CFrame
525
v.BrickColor = BrickColor.new("Really black")
526
v.Transparency = 1
527
v.Shape = "Block"
528
spawn(function()
529
local TweenService = game:GetService("TweenService")
530
local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
531
local Int = 0
532
while wait(0.5) do
533
    if Int == #Colours then Int = 0 end
534
    Int = Int+1
535
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
536
end
537
end)
538
text.Text = "God of Shapes"
539
540
541
--//=================================\\
542
--|| 	      SOME FUNCTIONS
543
--\\=================================//
544
545
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
546
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
547
end
548
549
function PositiveAngle(NUMBER)
550
	if NUMBER >= 0 then
551
		NUMBER = 0
552
	end
553
	return NUMBER
554
end
555
556
function NegativeAngle(NUMBER)
557
	if NUMBER <= 0 then
558
		NUMBER = 0
559
	end
560
	return NUMBER
561
end
562
563
function Swait(NUMBER)
564
	if NUMBER == 0 or NUMBER == nil then
565
		ArtificialHB.Event:wait()
566
	else
567
		for i = 1, NUMBER do
568
			ArtificialHB.Event:wait()
569
		end
570
	end
571
end
572
573
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
574
	local NEWMESH = IT(MESH)
575
	if MESH == "SpecialMesh" then
576
		NEWMESH.MeshType = MESHTYPE
577
		if MESHID ~= "nil" and MESHID ~= "" then
578
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
579
		end
580
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
581
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
582
		end
583
	end
584
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
585
	NEWMESH.Scale = SCALE
586
	NEWMESH.Parent = PARENT
587
	return NEWMESH
588
end
589
590
591
592
	local function weldBetween(a, b)
593
	    local weldd = Instance.new("ManualWeld")
594
	    weldd.Part0 = a
595
	    weldd.Part1 = b
596
	    weldd.C0 = CFrame.new()
597
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
598
	    weldd.Parent = a
599
	    return weldd
600
	end
601
602
603
function QuaternionFromCFrame(cf)
604
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
605
	local trace = m00 + m11 + m22
606
	if trace > 0 then 
607
		local s = math.sqrt(1 + trace)
608
		local recip = 0.5 / s
609
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
610
	else
611
		local i = 0
612
		if m11 > m00 then
613
			i = 1
614
		end
615
		if m22 > (i == 0 and m00 or m11) then
616
			i = 2
617
		end
618
		if i == 0 then
619
			local s = math.sqrt(m00 - m11 - m22 + 1)
620
			local recip = 0.5 / s
621
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
622
		elseif i == 1 then
623
			local s = math.sqrt(m11 - m22 - m00 + 1)
624
			local recip = 0.5 / s
625
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
626
		elseif i == 2 then
627
			local s = math.sqrt(m22 - m00 - m11 + 1)
628
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
629
		end
630
	end
631
end
632
 
633
function QuaternionToCFrame(px, py, pz, x, y, z, w)
634
	local xs, ys, zs = x + x, y + y, z + z
635
	local wx, wy, wz = w * xs, w * ys, w * zs
636
	local xx = x * xs
637
	local xy = x * ys
638
	local xz = x * zs
639
	local yy = y * ys
640
	local yz = y * zs
641
	local zz = z * zs
642
	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))
643
end
644
 
645
function QuaternionSlerp(a, b, t)
646
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
647
	local startInterp, finishInterp;
648
	if cosTheta >= 0.0001 then
649
		if (1 - cosTheta) > 0.0001 then
650
			local theta = ACOS(cosTheta)
651
			local invSinTheta = 1 / SIN(theta)
652
			startInterp = SIN((1 - t) * theta) * invSinTheta
653
			finishInterp = SIN(t * theta) * invSinTheta
654
		else
655
			startInterp = 1 - t
656
			finishInterp = t
657
		end
658
	else
659
		if (1 + cosTheta) > 0.0001 then
660
			local theta = ACOS(-cosTheta)
661
			local invSinTheta = 1 / SIN(theta)
662
			startInterp = SIN((t - 1) * theta) * invSinTheta
663
			finishInterp = SIN(t * theta) * invSinTheta
664
		else
665
			startInterp = t - 1
666
			finishInterp = t
667
		end
668
	end
669
	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
670
end
671
672
function Clerp(a, b, t)
673
	local qa = {QuaternionFromCFrame(a)}
674
	local qb = {QuaternionFromCFrame(b)}
675
	local ax, ay, az = a.x, a.y, a.z
676
	local bx, by, bz = b.x, b.y, b.z
677
	local _t = 1 - t
678
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
679
end
680
681
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
682
	local frame = IT("Frame")
683
	frame.BackgroundTransparency = TRANSPARENCY
684
	frame.BorderSizePixel = BORDERSIZEPIXEL
685
	frame.Position = POSITION
686
	frame.Size = SIZE
687
	frame.BackgroundColor3 = COLOR
688
	frame.BorderColor3 = BORDERCOLOR
689
	frame.Name = NAME
690
	frame.Parent = PARENT
691
	return frame
692
end
693
694
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
695
	local label = IT("TextLabel")
696
	label.BackgroundTransparency = 1
697
	label.Size = UD2(1, 0, 1, 0)
698
	label.Position = UD2(0, 0, 0, 0)
699
	label.TextColor3 = TEXTCOLOR
700
	label.TextStrokeTransparency = STROKETRANSPARENCY
701
	label.TextTransparency = TRANSPARENCY
702
	label.FontSize = TEXTFONTSIZE
703
	label.Font = TEXTFONT
704
	label.BorderSizePixel = BORDERSIZEPIXEL
705
	label.TextScaled = false
706
	label.Text = TEXT
707
	label.Name = NAME
708
	label.Parent = PARENT
709
	return label
710
end
711
712
function NoOutlines(PART)
713
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
714
end
715
716
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
717
	local NEWWELD = IT(TYPE)
718
	NEWWELD.Part0 = PART0
719
	NEWWELD.Part1 = PART1
720
	NEWWELD.C0 = C0
721
	NEWWELD.C1 = C1
722
	NEWWELD.Parent = PARENT
723
	return NEWWELD
724
end
725
726
local S = IT("Sound")
727
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
728
	local NEWSOUND = nil
729
	coroutine.resume(coroutine.create(function()
730
		NEWSOUND = S:Clone()
731
		NEWSOUND.Parent = PARENT
732
		NEWSOUND.Volume = VOLUME
733
		NEWSOUND.Pitch = PITCH
734
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
735
		NEWSOUND:play()
736
		if DOESLOOP == true then
737
			NEWSOUND.Looped = true
738
		else
739
			repeat wait(1) until NEWSOUND.Playing == false
740
			NEWSOUND:remove()
741
		end
742
	end))
743
	return NEWSOUND
744
end
745
746
function CFrameFromTopBack(at, top, back)
747
	local right = top:Cross(back)
748
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
749
end
750
751
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
752
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
753
	local mesh = IT("SpecialMesh",wave)
754
	mesh.MeshType = "FileMesh"
755
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
756
	mesh.Scale = SIZE
757
	mesh.Offset = VT(0,0,-SIZE.X/8)
758
	wave.CFrame = CFRAME
759
	coroutine.resume(coroutine.create(function(PART)
760
		for i = 1, WAIT do
761
			Swait()
762
			mesh.Scale = mesh.Scale + GROW
763
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
764
			if DOESROT == true then
765
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
766
			end
767
			wave.Transparency = wave.Transparency + (0.5/WAIT)
768
			if wave.Transparency > 0.99 then
769
				wave:remove()
770
			end
771
		end
772
	end))
773
end
774
775
function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
776
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
777
	local mesh = IT("SpecialMesh",wave)
778
	mesh.MeshType = "FileMesh"
779
	mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
780
	mesh.Scale = SIZE
781
	mesh.Offset = VT(0,0,-SIZE.X/8)
782
	wave.CFrame = CFRAME
783
	coroutine.resume(coroutine.create(function(PART)
784
		for i = 1, WAIT do
785
			Swait()
786
			mesh.Scale = mesh.Scale + GROW
787
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
788
			if DOESROT == true then
789
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
790
			end
791
			wave.Transparency = wave.Transparency + (0.5/WAIT)
792
			if wave.Transparency > 0.99 then
793
				wave:remove()
794
			end
795
		end
796
	end))
797
end
798
799
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
800
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
801
	local mesh = IT("SpecialMesh",wave)
802
	mesh.MeshType = "FileMesh"
803
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
804
	mesh.Scale = SIZE
805
	wave.CFrame = CFRAME
806
	coroutine.resume(coroutine.create(function(PART)
807
		for i = 1, WAIT do
808
			Swait()
809
			mesh.Scale = mesh.Scale + GROW
810
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
811
			if DOESROT == true then
812
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
813
			end
814
			wave.Transparency = wave.Transparency + (0.5/WAIT)
815
			if wave.Transparency > 0.99 then
816
				wave:remove()
817
			end
818
		end
819
	end))
820
end
821
822
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
823
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
824
	local mesh = IT("SpecialMesh",wave)
825
	mesh.MeshType = "Sphere"
826
	mesh.Scale = SIZE
827
	mesh.Offset = VT(0,0,0)
828
	wave.CFrame = CFRAME
829
	coroutine.resume(coroutine.create(function(PART)
830
		for i = 1, WAIT do
831
			Swait()
832
			mesh.Scale = mesh.Scale + GROW
833
			wave.Transparency = wave.Transparency + (1/WAIT)
834
			if wave.Transparency > 0.99 then
835
				wave:remove()
836
			end
837
		end
838
	end))
839
end
840
841
842
-------------------------------------------
843
------------------------------------------------
844
845
------------------------------------------------------------------------------------------------------------------------------
846
847
848
849
850
851
852
local headness = script.headness
853
headness.Parent = Character
854
headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
855
weldBetween(Head,headness)
856
857
local Blockhead = script.Blockhead
858
Blockhead.Parent = headness
859
860
861
862
for _, c in pairs(Character:GetChildren()) do
863
	
864
	if c:IsA("BasePart") then
865
		if c:FindFirstChildOfClass("ParticleEmitter") then
866
			c:Remove()
867
		end
868
		if c == Head then
869
			if c:FindFirstChild("face") then
870
				c.face:remove()
871
			end
872
		end
873
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic"then
874
		c:remove()
875
	end
876
end
877
local BODY = {}
878
for _, c in pairs(Character:GetDescendants()) do
879
	if c:IsA("BasePart") and c.Name ~= "Handle" then
880
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
881
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
882
			
883
		end
884
		
885
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
886
887
	elseif c:IsA("JointInstance") then
888
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
889
	elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
890
		c:remove()
891
	
892
	end
893
	
894
	
895
end
896
897
for e = 1, #BODY do
898
	if BODY[e] ~= nil then
899
		local STUFF = BODY[e]
900
		local PART = STUFF[1]
901
		local PARENT = STUFF[2]
902
		local MATERIAL = STUFF[3]
903
		local COLOR = STUFF[4]
904
		local TRANSPARENCY = STUFF[5]
905
		if PART.ClassName == "Part" and PART ~= RootPart then
906
			PART.Material = MATERIAL
907
			PART.Color = COLOR
908
			PART.Transparency = TRANSPARENCY
909
		end
910
		PART.AncestryChanged:Connect(function()
911
			PART.Parent = PARENT
912
		end)
913
	end
914
end
915
function refit()
916
	
917
	
918
	Character.Parent = workspace
919
	for e = 1, #BODY do
920
		if BODY[e] ~= nil then
921
			local STUFF = BODY[e]
922
			local PART = STUFF[1]
923
			local PARENT = STUFF[2]
924
			local MATERIAL = STUFF[3]
925
			local COLOR = STUFF[4]
926
			local TRANSPARENCY = STUFF[5]
927
			if PART:IsA("BasePart") and PART ~= RootPart then
928
				
929
			end
930
	
931
			if PART.Parent ~= PARENT then
932
				Humanoid:remove()
933
				PART.Parent = PARENT
934
				Humanoid = IT("Humanoid",Character)
935
			end
936
			
937
		end
938
	end
939
end
940
941
Humanoid.Died:connect(function()
942
	for _, c in pairs(Character:GetChildren()) do
943
		c:Remove()
944
		local headness = script.headness
945
headness.Parent = Character
946
headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
947
weldBetween(headness,Head)
948
949
		local Blockhead = script.Blockhead
950
		Blockhead.Parent = headness
951
	end
952
	refit()
953
	createstuff()
954
end)
955
956
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
957
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
958
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
959
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
960
--local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") 
961
--local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") 
962
local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.01, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
963
964
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Change to Cube", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 1")
965
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[R] Change to Explosion", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 2")
966
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text 3")
967
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[F] Rainbow Smite", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text4")
968
--local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[G] Rainbow Nuke (NOT WORKING UGH)", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text5")
969
--local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[] ", SKILLTEXTCOLOR, 6, "Arcade", 0, 2, 1, "Text6")
970
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Cube of Rainbow", SKILLTEXTCOLOR, 7, "Arcade", 0, 2, 1, "Text7")
971
972
spawn(function()
973
local TweenService = game:GetService("TweenService")
974
local Colourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
975
local Intt = 0
976
while wait(0.5) do
977
    if Intt == #Colourss then Intt = 0 end
978
    Intt = Intt+1
979
    TweenService:Create(SKILL7TEXT,TweenInfo.new(1),{TextColor3 = Colourss[Intt]}):Play()
980
end
981
end)
982
983
spawn(function()
984
local TweenService = game:GetService("TweenService")
985
local Coloursss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
986
local Inttt = 0
987
while wait(0.5) do
988
    if Inttt == #Coloursss then Inttt = 0 end
989
    Inttt = Inttt+1
990
    TweenService:Create(SKILL4TEXT,TweenInfo.new(1),{TextColor3 = Coloursss[Inttt]}):Play()
991
end
992
end)
993
994
--spawn(function()
995
--local TweenService = game:GetService("TweenService")
996
--local Clourss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
997
--local Itt = 0
998
--while wait(0.5) do
999
--    --if Itt == #Clourss then Itt = 0 end
1000
--    --Itt = Itt+1
1001
--    --TweenService:Create(SKILL5TEXT,TweenInfo.new(1),{TextColor3 = Clourss[Itt]}):Play()
1002
--end
1003
--end)
1004
1005
spawn(function()
1006
local TweenService = game:GetService("TweenService")
1007
local Clouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
1008
local Itlt = 0
1009
while wait(0.5) do
1010
    if Itlt == #Clouurss then Itlt = 0 end
1011
    Itlt = Itlt+1
1012
    TweenService:Create(SKILL1TEXT,TweenInfo.new(1),{TextColor3 = Clouurss[Itlt]}):Play()
1013
end
1014
end)
1015
1016
spawn(function()
1017
local TweenService = game:GetService("TweenService")
1018
local Cloouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
1019
local Ixtlt = 0
1020
while wait(0.5) do
1021
    if Ixtlt == #Cloouurss then Ixtlt = 0 end
1022
    Ixtlt = Ixtlt+1
1023
    TweenService:Create(SKILL2TEXT,TweenInfo.new(1),{TextColor3 = Cloouurss[Ixtlt]}):Play()
1024
end
1025
end)
1026
1027
spawn(function()
1028
local TweenService = game:GetService("TweenService")
1029
local Cllouurss = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
1030
local Itplt = 0
1031
while wait(0.5) do
1032
    if Itplt == #Cllouurss then Itplt = 0 end
1033
    Itplt = Itplt+1
1034
    TweenService:Create(SKILL3TEXT,TweenInfo.new(1),{TextColor3 = Cllouurss[Itplt]}):Play()
1035
end
1036
end)
1037
1038
local r = 255
1039
local g = 0
1040
local b = 0
1041
1042
local random3 = coroutine.wrap(function()
1043
	while true do
1044
		
1045
	for i = 0, 254/5 do
1046
		Swait()
1047
		
1048
		g = g + 5
1049
	end
1050
	for i = 0, 254/5 do
1051
		Swait()
1052
		
1053
		r = r - 5
1054
	end
1055
	for i = 0, 254/5 do
1056
		Swait()
1057
		b = b + 5
1058
	end
1059
	for i = 0, 254/5 do
1060
		Swait()
1061
		g = g - 5
1062
	end
1063
	for i = 0, 254/5 do
1064
		Swait()
1065
		r = r + 5
1066
	end
1067
	for i = 0, 254/5 do
1068
		Swait()
1069
		b = b - 5
1070
	end
1071
	
1072
	
1073
	
1074
	Swait()
1075
	
1076
	
1077
	
1078
	
1079
	
1080
	
1081
		
1082
	
1083
end
1084
			
1085
end)	
1086
random3()	
1087
local r1 = r		
1088
local g1 = g
1089
local b1 = b
1090
1091
local RainbowEffect = coroutine.wrap(function()
1092
		while true do
1093
			Swait()
1094
			r1 = r
1095
			g1 = g
1096
			b1 = b
1097
			
1098
		end
1099
		
1100
end)
1101
1102
1103
function WACKYEFFECT(Table)
1104
	
1105
	local TYPE = Table.EffectType or "Sphere"
1106
	local SIZE = Table.Size or VT(1, 1, 1)
1107
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
1108
	local TRANSPARENCY = Table.Transparency or 0
1109
	local ENDTRANSPARENCY = Table.Transparency2 or 1
1110
	local CFRAME = Table.CFrame or Torso.CFrame
1111
	local MOVEDIRECTION = Table.MoveToPos or nil
1112
	local ROTATION1 = Table.RotationX or 0
1113
	local ROTATION2 = Table.RotationY or 0
1114
	local ROTATION3 = Table.RotationZ or 0
1115
	local MATERIAL = Table.Material or "Neon"
1116
	local COLOR = Table.Color or C3(r1/255,g1/255, b1/255)
1117
	
1118
	
1119
	RainbowEffect()
1120
	local TIME = Table.Time or 45
1121
	local SOUNDID = Table.SoundID or nil
1122
	local SOUNDPITCH = Table.SoundPitch or nil
1123
	local SOUNDVOLUME = Table.SoundVolume or nil
1124
	coroutine.resume(coroutine.create(function()
1125
		
1126
	 
1127
		local PLAYSSOUND = false
1128
		local SOUND
1129
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
1130
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1131
			PLAYSSOUND = true
1132
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1133
		end
1134
		
1135
		local colorss = coroutine.wrap(function()
1136
			for i = 0,50,1 do
1137
				
1138
				Swait()
1139
				
1140
				EFFECT.Color = Color3.new(r1/255,g1/255, b1/255)
1141
			end
1142
		end)
1143
		colorss()
1144
		local MSH
1145
		if TYPE == "Sphere" then
1146
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
1147
		elseif TYPE == "Block" then
1148
			MSH = IT("BlockMesh", EFFECT)
1149
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
1150
		elseif TYPE == "Wave" then
1151
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1152
		elseif TYPE == "Ring" then
1153
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
1154
		elseif TYPE == "Slash" then
1155
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
1156
		elseif TYPE == "Round Slash" then
1157
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
1158
		elseif TYPE == "Swirl" then
1159
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
1160
		elseif TYPE == "Skull" then
1161
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
1162
		elseif TYPE == "Crystal" then
1163
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
1164
		end
1165
		if MSH ~= nil then
1166
			local MOVESPEED
1167
			if MOVEDIRECTION ~= nil then
1168
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
1169
			end
1170
			local GROWTH = SIZE - ENDSIZE
1171
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1172
			if TYPE == "Block" then
1173
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1174
			else
1175
				EFFECT.CFrame = CFRAME
1176
			end
1177
			for LOOP = 1, TIME + 1 do
1178
				Swait()
1179
				
1180
				MSH.Scale = MSH.Scale - GROWTH / TIME
1181
				if TYPE == "Wave" then
1182
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
1183
				end
1184
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
1185
				if TYPE == "Block" then
1186
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1187
				else
1188
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
1189
				end
1190
				if MOVEDIRECTION ~= nil then
1191
					local ORI = EFFECT.Orientation
1192
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
1193
					EFFECT.Orientation = ORI
1194
				end
1195
			end
1196
			if PLAYSSOUND == false then
1197
				EFFECT:remove()
1198
			else
1199
				repeat
1200
					Swait()
1201
				until SOUND.Playing == false
1202
				EFFECT:remove()
1203
			end
1204
		elseif PLAYSSOUND == false then
1205
			EFFECT:remove()
1206
		else
1207
			repeat
1208
				Swait()
1209
			until SOUND.Playing == false
1210
			EFFECT:remove()
1211
		end
1212
	end))
1213
end
1214
1215
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1216
	local NEWMESH = IT(MESH)
1217
	if MESH == "SpecialMesh" then
1218
		NEWMESH.MeshType = MESHTYPE
1219
		if MESHID ~= "nil" and MESHID ~= "" then
1220
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
1221
		end
1222
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1223
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
1224
		end
1225
	end
1226
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1227
	NEWMESH.Scale = SCALE
1228
	NEWMESH.Parent = PARENT
1229
	return NEWMESH
1230
end
1231
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1232
	local NEWPART = IT("Part")
1233
	NEWPART.formFactor = FORMFACTOR
1234
	NEWPART.Reflectance = REFLECTANCE
1235
	NEWPART.Transparency = TRANSPARENCY
1236
	NEWPART.CanCollide = false
1237
	NEWPART.Locked = true
1238
	NEWPART.Anchored = true
1239
	if ANCHOR == false then
1240
		NEWPART.Anchored = false
1241
	end
1242
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1243
	NEWPART.Name = NAME
1244
	NEWPART.Size = SIZE
1245
	NEWPART.Position = Torso.Position
1246
	NEWPART.Material = MATERIAL
1247
	NEWPART:BreakJoints()
1248
	NEWPART.Parent = PARENT
1249
	return NEWPART
1250
end
1251
1252
local DParticles = script.Death
1253
DParticles:remove()
1254
DParticles.Name = "ArchangelDeathParticles"
1255
1256
function MakeForm(PART, TYPE)
1257
	if TYPE == "Cyl" then
1258
		local MSH = IT("CylinderMesh", PART)
1259
	elseif TYPE == "Ball" then
1260
		local MSH = IT("SpecialMesh", PART)
1261
		MSH.MeshType = "Sphere"
1262
	elseif TYPE == "Wedge" then
1263
		local MSH = IT("SpecialMesh", PART)
1264
		MSH.MeshType = "Wedge"
1265
	end
1266
end
1267
Debris = game:GetService("Debris")
1268
1269
local DECAL = IT("Decal")
1270
function MakeRing()
1271
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
1272
	local MSH = IT("BlockMesh", RING)
1273
	local TOP = DECAL:Clone()
1274
	local BOTTOM = DECAL:Clone()
1275
	TOP.Parent = RING
1276
	BOTTOM.Parent = RING
1277
	TOP.Face = "Top"
1278
	BOTTOM.Face = "Bottom"
1279
	TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
1280
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
1281
	local function REMOVE()
1282
		coroutine.resume(coroutine.create(function()
1283
			local SIZE = MSH.Scale.X
1284
			for i = 1, 35 do
1285
				Swait()
1286
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
1287
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
1288
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
1289
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
1290
			end
1291
			RING:remove()
1292
		end))
1293
	end
1294
	return RING, MSH, REMOVE
1295
end
1296
1297
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1298
	local TORSO = Torso
1299
	local HUM = Humanoid
1300
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1301
		coroutine.wrap(function()
1302
			VT = Vector3.new
1303
			MRANDOM = math.random
1304
			local A = TIME
1305
			local B = INTENSITY
1306
			local C = true
1307
			local HUMANOID = Humanoid
1308
			local TIMER = A or 35
1309
			local SHAKE = B or 5
1310
			local FADE = C or true
1311
			if HUMANOID then
1312
				local FADER = SHAKE / TIMER
1313
				for i = 1, TIMER do
1314
					wait()
1315
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
1316
				end
1317
				HUMANOID.CameraOffset = VT(0, 0, 0)
1318
			end
1319
1320
		end)()
1321
	end
1322
end
1323
1324
function KillChildren(v)
1325
	v:BreakJoints()
1326
	for _, c in pairs(v:GetChildren()) do
1327
		if c:IsA("BasePart") then
1328
			if c.Transparency < 1 then
1329
				if c:FindFirstChildOfClass("Decal") then
1330
					c:FindFirstChildOfClass("Decal"):remove()
1331
				end
1332
				particles(c)
1333
				c.PE.Enabled = true
1334
				c.Parent = Effects
1335
				c.CanCollide = false
1336
				c.Material = "Neon"
1337
				c.Color = C3(1,1,1)
1338
				c.Transparency = 1
1339
				local grav = Instance.new("BodyPosition",c)
1340
				grav.P = 20000
1341
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1342
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1343
				grav.Name = "GravityForce"
1344
				coroutine.resume(coroutine.create(function()
1345
					for i = 1, 20 do
1346
						Swait()
1347
						c.Transparency = c.Transparency + 1/20
1348
					end
1349
					c.PE.Enabled = false
1350
					Debris:AddItem(c,2)
1351
				end))
1352
			end
1353
		end
1354
	end
1355
end
1356
1357
function killnearest(position,range,maxstrength)
1358
	for i,v in ipairs(workspace:GetChildren()) do
1359
	local body = v:GetChildren()
1360
		for part = 1, #body do
1361
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1362
				if(body[part].Position - position).Magnitude < range then
1363
					if v.ClassName == "Model" then
1364
						v:BreakJoints()
1365
					end
1366
					--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
1367
					body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1368
				end
1369
			end
1370
		end
1371
		if v.ClassName == "Part" then
1372
			if v.Anchored == false and (v.Position - position).Magnitude < range then
1373
				--table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
1374
				v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1375
			end
1376
		end
1377
	end
1378
end
1379
1380
function ApplyAoE(POSITION, RANGE)
1381
	local PARTS = {}
1382
	for index, CHILD in pairs(workspace:GetDescendants()) do
1383
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1384
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1385
			if HUM then
1386
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1387
				if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
1388
					CHILD:BreakJoints()
1389
					for index, PART in pairs(CHILD:GetChildren()) do
1390
						if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
1391
							local P = DParticles:Clone()
1392
							
1393
							P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
1394
							
1395
							table.insert(PARTS, {PART, P})
1396
						end
1397
					end
1398
				end
1399
			end
1400
		elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
1401
			local FOLDER = IT("Folder", CHILD)
1402
			FOLDER.Name = "ewdfrfgrwefd"
1403
			local P = DParticles:Clone()
1404
			
1405
			CHILD.Velocity = Vector3.new(math.huge,math.huge,math.huge)
1406
			
1407
			
1408
			P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
1409
			P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
1410
			table.insert(PARTS, {CHILD, P})
1411
		end
1412
	end
1413
	coroutine.resume(coroutine.create(function()
1414
		if #PARTS > 0 then
1415
			for i = 1, 85 do
1416
				Swait()
1417
				for E = 1, #PARTS do
1418
					local F = PARTS[E]
1419
					local A = F[1]
1420
					local B = F[2]
1421
					A.Transparency = A.Transparency + 0.011764705882352941
1422
					B.Rate = math.ceil(B.Rate * 1.2)
1423
					for index, E in pairs(A:GetChildren()) do
1424
						
1425
					end
1426
				end
1427
			end
1428
			for E = 1, #PARTS do
1429
				local F = PARTS[E]
1430
				local A = F[1]
1431
				local B = F[2]
1432
				B.Enabled = false
1433
				Debris:AddItem(A, 3)
1434
			end
1435
		end
1436
	end))
1437
end
1438
1439
function AntiTimeStop()
1440
	for _, c in pairs(Character:GetChildren()) do
1441
		if c:IsA("Part") and c ~= RootPart then
1442
			c.Anchored = false
1443
		end
1444
	end
1445
	if UNANCHOR == true then
1446
		RootPart.Anchored = false
1447
	else
1448
		RootPart.Anchored = true
1449
	end
1450
end
1451
1452
Humanoid.Changed:connect(function(Jump)
1453
	if Jump == "Jump" and (Disable_Jump == true) then
1454
		Humanoid.Jump = false
1455
	end
1456
	
1457
	
1458
end)
1459
1460
1461
local cR=255
1462
local cG=0
1463
local cB=0
1464
local flg5=1 local omgidk=1
1465
local add=7.5
1466
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
1467
	if omgidk>10000 then omgidk=0 end
1468
	omgidk=omgidk+1
1469
	if cR>=255 then flg5=1 end
1470
	if cG>=255 then flg5=2 end
1471
	if cB>=255 then flg5=3 end
1472
	if flg5==1 then cR=cR-add cG=cG+add end
1473
	if flg5==2 then cG=cG-add cB=cB+add end
1474
	if flg5==3 then cB=cB-add cR=cR+add end
1475
	color=Color3.fromRGB(cR,cG,cB)
1476
end)
1477
1478
--------------------------------------------------\\\\
1479
--		ATTACKS									  ||||
1480
--------------------------------------------------////
1481
1482
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
1483
	coroutine.resume(coroutine.create(function()
1484
		local METEOR = IT("Model",Effects)
1485
		METEOR.Name = "Meteorite"
1486
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1487
		METEOR.PrimaryPart = CENTER
1488
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
1489
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1490
		for i = 1, 15 do
1491
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
1492
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1493
		end
1494
		if ISDEBREE ~= true then
1495
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1496
		else
1497
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1498
		end
1499
		local IMPACT = false
1500
		CreateSound(463593339, CENTER, 10, 0.6)
1501
		if SIZE >= 3.5 then
1502
			for i = 1, MRANDOM(3,7) do
1503
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
1504
			end
1505
		end
1506
		for i = 1, 200 do
1507
			Swait()
1508
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
1509
			if HITFLOOR == nil then
1510
				local ORI = CENTER.Orientation
1511
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
1512
			else
1513
				if HITFLOOR.Anchored == true then
1514
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
1515
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
1516
				end
1517
				IMPACT = true
1518
				break
1519
			end
1520
		end
1521
		if IMPACT == true then
1522
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1523
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
1524
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
1525
			ApplyAoE(CENTER.Position,30*SIZE)
1526
		end
1527
		METEOR:remove()
1528
	end))
1529
end
1530
1531
function SpawnSmite(POS)
1532
	local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
1533
	local EMITPOS = HITPOS
1534
	if HITFLOOR ~= nil then
1535
		if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
1536
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
1537
			EMITPOS = HITPOS
1538
		elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1539
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
1540
			EMITPOS = HITPOS
1541
		end
1542
	end
1543
	if HITFLOOR ~= nil then
1544
		ApplyAoE(EMITPOS,10)
1545
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
1546
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1547
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1548
		for i = 1, 5 do
1549
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
1550
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 1602946208, SoundPitch = 1, SoundVolume = 5})
1551
		end
1552
	end
1553
end
1554
1555
function Meteor()
1556
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1557
	if DIST > 180 then
1558
		DIST = 180
1559
	end
1560
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1561
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1562
	if HITFLOOR then
1563
		local POS = HITPOS	
1564
		ATTACK = true
1565
		Rooted = true
1566
		local WARPED = false
1567
		local SMASHED = false
1568
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1569
		coroutine.resume(coroutine.create(function()
1570
			repeat
1571
				Swait()
1572
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1573
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1574
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1575
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1576
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1577
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1578
			until WARPED == true
1579
			repeat
1580
				Swait()
1581
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1582
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1583
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1584
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1585
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1586
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1587
			until SMASHED == true
1588
			repeat
1589
				Swait()
1590
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1591
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
1592
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1593
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1594
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
1595
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1596
			until ATTACK == false
1597
		end))
1598
		VALUE1 = true
1599
		CreateSound(233856115, Torso, 5, 1.6, false)
1600
		for i = 1, 25 do
1601
			Swait()
1602
			for _, c in pairs(Character:GetChildren()) do
1603
				if c.ClassName == "Part" then
1604
					c.Transparency = c.Transparency + 1/25
1605
				end
1606
			end
1607
			for _, c in pairs(Weapon:GetChildren()) do
1608
				if c.ClassName == "Part" then
1609
					c.Transparency = c.Transparency + 1/25
1610
				end
1611
			end
1612
		end
1613
		UNANCHOR = false
1614
		RootPart.Anchored = true
1615
		RootPart.Velocity = VT(0,0,0)
1616
		local ROOTPOS = RootPart.Position
1617
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1618
		WARPED = true
1619
		for i = 1, 25 do
1620
			Swait()
1621
			for _, c in pairs(Character:GetChildren()) do
1622
				if c.ClassName == "Part" then
1623
					c.Transparency = c.Transparency - 0/25
1624
				end
1625
			end
1626
			for _, c in pairs(Weapon:GetChildren()) do
1627
				if c.ClassName == "Part" then
1628
					c.Transparency = c.Transparency - 1/25
1629
				end
1630
			end
1631
		end
1632
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Color3.fromRGB(cR,cG,cB)", "Part", VT(0,0,0))
1633
		SHELL.CFrame = RootPart.CFrame
1634
		MakeForm(SHELL,"Ball")
1635
		CreateSound(402981977, SHELL, 5, 1.6, false)
1636
		for i = 1, 10 do
1637
			Swait()
1638
			SHELL.Transparency = SHELL.Transparency - 0
1639
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1640
		end
1641
		for i = 1, math.ceil(75/2) do
1642
			Swait()
1643
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1644
			SHELL.CFrame = CF(RootPart.Position)
1645
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1646
		end
1647
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1648
		SHELL.CFrame = CF(RootPart.Position)
1649
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
1650
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1651
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1652
		for i = 1, 5 do
1653
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1654
		end
1655
		SHELL:remove()
1656
		ApplyAoE(RootPart.Position,75,35,75,175,false)
1657
		SMASHED = true
1658
		wait(1)
1659
		VALUE1 = false
1660
		UNANCHOR = true
1661
		ATTACK = false
1662
		Rooted = false
1663
	end
1664
end
1665
1666
1667
function Click()
1668
	ATTACK = true
1669
	Rooted = false
1670
	local HIT = nil
1671
	OFFSET = -45
1672
	for i=0, 1, 0.1 / Animation_Speed do
1673
		Swait()
1674
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1675
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1676
	end
1677
	OFFSET = 45
1678
	local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
1679
	PUNCH.CanCollide = true
1680
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
1681
	TAUNT = true
1682
	local TOUCH = PUNCH.Touched:Connect(function(hit)
1683
		if hit.Parent:FindFirstChildOfClass("Humanoid") then
1684
			HIT = hit.Parent
1685
		end
1686
	end)
1687
	for i=0, 0.3, 0.1 / Animation_Speed do
1688
		Swait()
1689
		RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
1690
		if HIT ~= nil then
1691
			break
1692
		end
1693
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
1694
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1695
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1696
	end
1697
	PUNCH:remove()
1698
	TOUCH:disconnect()
1699
	if HIT ~= nil then
1700
		for _, c in pairs(HIT:GetChildren()) do
1701
			if c:IsA("BasePart") then
1702
				c.Anchored = true
1703
			end
1704
		end
1705
		Rooted = true
1706
		CreateSound(649634100, Torso, 10, 0.8)
1707
		CreateSound(1368573150, RightArm, 3, 1.5)
1708
		for i=0, 0.6, 0.1 / Animation_Speed do
1709
			Swait()
1710
			WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1711
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
1712
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1713
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1714
		end
1715
		for _, c in pairs(HIT:GetChildren()) do
1716
			if c:IsA("BasePart") then
1717
				c.Anchored = false
1718
			end
1719
		end
1720
		KillChildren(HIT)
1721
	end
1722
	OFFSET = 0
1723
	ATTACK = false
1724
	Rooted = false
1725
	TAUNT = false
1726
end
1727
1728
function Boom()
1729
	Rooted = true
1730
	ATTACK = true
1731
	Character:BreakJoints()
1732
	local Explosion = IT("Explosion",Effects)
1733
	Explosion.Position = HandlePart.Position
1734
	Explosion.BlastPressure = 5000000
1735
	local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really white", "Handle", VT(0, 0, 0))
1736
	PRT.CanCollide = false
1737
	PRT.CFrame = CF(HandlePart.Position)
1738
	Debris:AddItem(PRT,10)
1739
	CreateSound("2248511", Effects, 10, 0.2)
1740
	MagicSphere(VT(5,5,5),250,PRT.CFrame*CF(0,-2,0),"White",VT(6,2,6))
1741
	MagicSphere(VT(4,4,4),250,PRT.CFrame*CF(0,-2,0),"Really white",VT(6,2,6))
1742
	MagicSphere(VT(5,5,5),250,PRT.CFrame,"White",VT(5,15,5))
1743
	MagicSphere(VT(4,4,4),250,PRT.CFrame,"Really white",VT(5,15,5))
1744
	CreateWave(VT(1,5,1),250,PRT.CFrame*CF(0,-2,0),true,4,"White",VT(5,1,5))
1745
	CreateSwirl(VT(0,0,0),250,PRT.CFrame,true,-4,"Pine Cone",VT(6,6,6))
1746
	CreateSpikeball(VT(0,0,0),250,PRT.CFrame,true,15,"Pine Cone",VT(3,3,3))
1747
	for i = 1, 250 do
1748
		Swait()
1749
		killnearest(PRT.Position,750000,75)
1750
	end
1751
	ATTACK = false
1752
	Rooted = false
1753
end
1754
1755
function Dismantle()
1756
	
1757
	local model = Instance.new("Model")
1758
	model.Parent = workspace
1759
	model.Name = math.random(-10000,10000)
1760
	
1761
	
1762
	local Spawner = Instance.new("Part")
1763
	Spawner.Name = "12qwaszx"
1764
	Spawner.CFrame = (Mouse.Hit)
1765
	Spawner.Anchored = true
1766
	Spawner.Size = Vector3.new(0,0,0)
1767
	Spawner.Transparency = 1
1768
	Spawner.Parent = workspace
1769
	
1770
	
1771
	
1772
	
1773
	
1774
	local Box = Instance.new("Part")
1775
	Box.Position = (Spawner.Position)
1776
	Box.CanCollide = false
1777
	Box.Transparency = 0.5
1778
	Box.Size = Vector3.new(20,20,20)
1779
	Box.Anchored = true
1780
	Box.Material = "Neon"
1781
	Box.Parent = model
1782
	
1783
	local selection = Instance.new("SelectionBox")
1784
	selection.Parent = Box
1785
	selection.Adornee = Box
1786
	selection.LineThickness = 1
1787
	
1788
 	
1789
	local face1 = Instance.new("Part")
1790
	face1.Size = Vector3.new(2,20,20)
1791
	face1.Transparency = 1
1792
	face1.CFrame = (Spawner.CFrame)
1793
	face1.Anchored = true
1794
	face1.Parent = model
1795
	face1.CFrame =  Box.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1796
	face1.Material = "Neon"
1797
	
1798
	local face2 = Instance.new("Part")
1799
	face2.Size = Vector3.new(2,20,20)
1800
	face2.Transparency = 1
1801
	face2.CFrame = (Spawner.CFrame)
1802
	face2.Anchored = true
1803
	face2.Parent = model
1804
	face2.CFrame = Box.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1805
	face2.Material = "Neon"
1806
	
1807
	local face3 = Instance.new("Part")
1808
	face3.Size = Vector3.new(20,20,2)
1809
	face3.Transparency = 1
1810
	face3.CFrame = (Spawner.CFrame)
1811
	face3.Anchored = true
1812
	face3.Parent = model
1813
	face3.CFrame = Box.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1814
	face3.Material = "Neon"
1815
	
1816
	local face4 = Instance.new("Part")
1817
	face4.Size = Vector3.new(20,20,2)
1818
	face4.Transparency = 1
1819
	face4.CFrame = (Spawner.CFrame)
1820
	face4.Anchored = true
1821
	face4.Parent = model
1822
	face4.CFrame = Box.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1823
	face4.Material = "Neon"
1824
	
1825
	local face5 = Instance.new("Part")
1826
	face5.Size = Vector3.new(20,2,20)
1827
	face5.Transparency = 1
1828
	face5.CFrame = (Spawner.CFrame)
1829
	face5.Anchored = true
1830
	face5.Parent = model
1831
	face5.CFrame = Box.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1832
	face5.Material = "Neon"
1833
	
1834
	local face6 = Instance.new("Part")
1835
	face6.Size = Vector3.new(20,2,20)
1836
	face6.Transparency = 1
1837
	face6.CFrame = (Spawner.CFrame)
1838
	face6.Anchored = true
1839
	face6.Parent = model
1840
	face6.CFrame = Box.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1841
	face6.Material = "Neon"
1842
	
1843
	
1844
	
1845
	
1846
	
1847
	
1848
	
1849
	
1850
	
1851
	model.PrimaryPart = Spawner
1852
1853
1854
1855
1856
	local RainbowEffect = coroutine.wrap(function()
1857
		
1858
		while true do
1859
		Swait()
1860
		Box.Color = Color3.new(r/255,g/255,b/255)
1861
	
1862
		
1863
		
1864
		
1865
		
1866
		
1867
		
1868
		selection.Color3 = Color3.new(r/255,g/255,b/255)
1869
		
1870
		end
1871
	end)
1872
	
1873
	RainbowEffect()
1874
	local e = 0
1875
	
1876
	
1877
	local killing = false
1878
	
1879
	if killing == false then
1880
		function onTouched(part) 
1881
	
1882
1883
			local hit = part
1884
			hit.CFrame = CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y, Spawner.CFrame.Z)
1885
				
1886
			end
1887
		else
1888
		
1889
	end
1890
		
1891
1892
	
1893
	
1894
	
1895
	
1896
	
1897
	
1898
	Box.Touched:connect(onTouched) 
1899
	
1900
	
1901
	local spin = coroutine.wrap(function()
1902
			while true do
1903
				 e = e + 0.01
1904
				model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y ,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
1905
				Swait()
1906
			end
1907
			
1908
		end)
1909
	
1910
	spin()
1911
	local moveup = coroutine.wrap(function()
1912
		local p = 0
1913
		
1914
		
1915
		
1916
		for i = 0,0.7,0.01 do
1917
			Swait()
1918
			p = p+0.01
1919
			
1920
			
1921
			
1922
			
1923
			
1924
			model:SetPrimaryPartCFrame(CFrame.new(Spawner.CFrame.X,Spawner.CFrame.Y + p,Spawner.CFrame.Z) * CFrame.fromEulerAnglesXYZ(e,e,0) )
1925
			
1926
1927
			
1928
		end
1929
		
1930
		
1931
		
1932
	end)
1933
	
1934
	
1935
	
1936
	moveup()
1937
	
1938
	
1939
	
1940
	
1941
	
1942
	
1943
	wait(1)
1944
	
1945
	local FLASH = coroutine.wrap(function()
1946
		local p = 1
1947
		
1948
		
1949
		
1950
		for i = 0,0.7,0.01 do
1951
			Swait()
1952
			p = p-0.01
1953
			
1954
			
1955
			face1.Transparency = p
1956
			face2.Transparency = p
1957
			face3.Transparency = p
1958
			face4.Transparency = p
1959
			face5.Transparency = p
1960
			face6.Transparency = p
1961
		end
1962
			
1963
		
1964
		
1965
		
1966
		
1967
	end)
1968
	
1969
	local sound = Instance.new("Sound")
1970
	sound.Parent = Box
1971
	sound.SoundId = "rbxassetid://1996663666"
1972
	sound.EmitterSize = 100
1973
	sound.MaxDistance = 1000
1974
	sound.TimePosition = 0
1975
	sound:Play()
1976
	sound.Volume = 5
1977
	
1978
	
1979
	
1980
	FLASH()
1981
	wait(2)
1982
	
1983
	sound:Pause()
1984
	
1985
	local sound2 = Instance.new("Sound")
1986
	sound2.Parent = Box
1987
	sound2.SoundId = "rbxassetid://178452241"
1988
	sound2.EmitterSize = 100
1989
	sound2.MaxDistance = 1000
1990
	sound2.TimePosition = 0
1991
	sound2:Play()
1992
	sound2.Volume = 10
1993
	
1994
	local LIGHTNING = coroutine.wrap(function()
1995
		local p = 0
1996
		for i = 0,1,0.01 do
1997
			Swait()
1998
			face1.Transparency = p
1999
			face2.Transparency = p
2000
			face3.Transparency = p
2001
			face4.Transparency = p
2002
			face5.Transparency = p
2003
			face6.Transparency = p
2004
			p = p+0.08
2005
		end
2006
			
2007
2008
		
2009
	end)
2010
	
2011
	LIGHTNING()
2012
	
2013
	
2014
	
2015
	
2016
	
2017
	function onTouched(part) 
2018
		
2019
		
2020
		local hit = part
2021
			
2022
			
2023
				
2024
		
2025
		local dismantle2 = coroutine.wrap(function()
2026
				for i = 0,2,0.01 do
2027
					
2028
				
2029
					Swait()
2030
					
2031
				
2032
					
2033
					hit.Velocity = Vector3.new(math.huge,math.huge,math.huge)
2034
2035
					
2036
					
2037
				end
2038
			
2039
			end)
2040
			dismantle2()
2041
		
2042
		
2043
		
2044
		
2045
	
2046
		
2047
		
2048
		
2049
		
2050
		
2051
		
2052
	end
2053
	
2054
	Box.Touched:connect(onTouched) 
2055
	
2056
	
2057
	
2058
	
2059
	
2060
	
2061
	
2062
	
2063
	
2064
	
2065
	
2066
	
2067
	wait()
2068
	local DISAPPER = coroutine.wrap(function()
2069
		local p = 0
2070
		for i = 0,2,0.01 do
2071
			Swait()
2072
			face1.Transparency = face1.Transparency + p 
2073
			face2.Transparency = face1.Transparency + p 
2074
			face3.Transparency = face1.Transparency + p 
2075
			face4.Transparency = face1.Transparency + p 
2076
			face5.Transparency = face1.Transparency + p 
2077
			face6.Transparency = face1.Transparency + p 
2078
			Box.Transparency = p
2079
			selection.Transparency = p
2080
			p = p+0.01
2081
		end
2082
			
2083
2084
		
2085
	end)
2086
	DISAPPER()
2087
	
2088
	wait(2)
2089
	
2090
	model:Remove()
2091
end
2092
2093
2094
2095
-----------------------------------------------------------------------------------------------------
2096
2097
function implode()
2098
	
2099
	
2100
	
2101
end
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
function Smite()
2121
	
2122
	local spawner = Instance.new("Part")
2123
	spawner.Parent = workspace
2124
	spawner.Transparency = 1
2125
	spawner.CFrame = (Mouse.Hit)
2126
	spawner.Size = Vector3.new(0,0,0)
2127
	spawner.Anchored = true
2128
	
2129
	local suck =  Instance.new("Part")
2130
	suck.Transparency = 0
2131
	suck.CFrame = (spawner.CFrame)
2132
	suck.Size = Vector3.new(70,70,70)
2133
	suck.Material = "Neon"
2134
	suck.Anchored = true
2135
	suck.CanCollide = false
2136
	suck.Shape = "Ball"
2137
	suck.Parent = workspace
2138
	
2139
	local colors = coroutine.wrap(function()
2140
		for i = 1,55 do
2141
			Swait()
2142
			
2143
			
2144
			
2145
			suck.Color = Color3.new(r/255,g/255,b/255)
2146
		end
2147
		
2148
		
2149
	end)
2150
	
2151
	colors()
2152
	
2153
	
2154
	local fade = coroutine.wrap(function()
2155
				
2156
			local p = 0
2157
			
2158
			for i = 1,55 do
2159
				
2160
			
2161
			suck.Transparency = p
2162
			p = p+0.02
2163
			Swait()
2164
			end
2165
				
2166
				
2167
2168
			end)
2169
    		
2170
			fade()
2171
	
2172
	
2173
	
2174
	
2175
	local size = coroutine.wrap(function()
2176
				
2177
			local p = 70
2178
			
2179
			for i = 1,55 do
2180
				
2181
				
2182
				
2183
			
2184
			suck.Size = Vector3.new(p,p,p)
2185
			p = p - 1
2186
			
2187
			Swait()
2188
			end
2189
				
2190
				
2191
2192
			end)
2193
    		
2194
			size()
2195
2196
	local move = coroutine.wrap(function()
2197
		for i = 1,55 do
2198
			Swait()
2199
			
2200
			suck.CFrame = (spawner.CFrame)
2201
			
2202
			
2203
		end
2204
2205
	end)
2206
	
2207
	move()
2208
	
2209
	function onTouched(part) 
2210
			local hit = part
2211
			
2212
			if hit:FindFirstChild("BodyPosition") then
2213
				else				
2214
				
2215
				local blackhole1 = coroutine.wrap(function()
2216
				local pull = Instance.new("BodyPosition")
2217
				pull.position = suck.Position
2218
				pull.Parent = hit
2219
				pull.P = 10000000000
2220
				pull.MaxForce = Vector3.new(10000,10000,10000)
2221
				wait(2)
2222
				pull:Remove()
2223
					
2224
				end)
2225
				blackhole1()
2226
			end
2227
						
2228
		end
2229
	
2230
	suck.Touched:connect(onTouched)
2231
	
2232
	wait(1)
2233
	suck:Remove()
2234
	
2235
	local death = Instance.new("Part")
2236
	
2237
	local boooom = coroutine.wrap(function()
2238
		Swait()
2239
		
2240
		local bang = Instance.new("Explosion")
2241
		
2242
	bang.BlastPressure = math.huge
2243
	bang.BlastRadius = 20
2244
	bang.DestroyJointRadiusPercent = 100
2245
	bang.Position = (spawner.Position)
2246
	bang.Visible = false
2247
	bang.Parent = spawner
2248
	
2249
	local sound2 = Instance.new("Sound")
2250
	sound2.Parent = spawner
2251
	sound2.SoundId = "rbxassetid://168586586"
2252
	sound2.EmitterSize = 100
2253
	sound2.MaxDistance = 1000
2254
	sound2.TimePosition = 0
2255
	sound2:Play()
2256
	sound2.Volume = 10
2257
		
2258
	death.Parent = workspace
2259
	death.Transparency = 1
2260
	death.CFrame = (spawner.CFrame)
2261
	death.Size = Vector3.new(20,20,20)
2262
	
2263
	death.Velocity = Vector3.new(math.huge,math.huge,math.huge)
2264
	
2265
	local size = coroutine.wrap(function()
2266
				
2267
			local p = 20
2268
			
2269
			for i = 1,55 do
2270
				
2271
				
2272
				
2273
			death.CFrame = (spawner.CFrame)
2274
			death.Size = Vector3.new(p,p,p)
2275
			p = p + 1
2276
			
2277
			Swait()
2278
			end
2279
				
2280
				
2281
2282
			end)
2283
    		
2284
			size()
2285
	
2286
	
2287
		bang.Parent = spawner
2288
		
2289
	end)
2290
	
2291
boooom()
2292
2293
	local RING, MESH, DELET = MakeRing()
2294
	local POS = spawner.Position
2295
	RING.CFrame = CF(spawner.Position + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), spawner.Position) * ANGLES(RAD(90), RAD(0), RAD(0))
2296
	
2297
	local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
2298
	
2299
	if HITFLOOR then
2300
		
2301
		local DIST = (RING.Position - HITPOS).Magnitude
2302
		
2303
		for i = 1, 5 do
2304
			WACKYEFFECT({
2305
				EffectType = "Wave",
2306
				Size = VT(25, 0, 25),
2307
				Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
2308
				Transparency = 0,
2309
				Transparency2 = 1,
2310
				CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
2311
				MoveToPos = nil,
2312
				RotationX = 0,
2313
				RotationY = 3,
2314
				RotationZ = 0,
2315
				Material = "Neon",
2316
			
2317
				Color = C3(r1/255, g1/255, b1/255),
2318
				SoundID = nil,
2319
				SoundPitch = nil,
2320
				SoundVolume = nil
2321
			})
2322
			WACKYEFFECT({
2323
				EffectType = "Round Slash",
2324
				Size = VT(3, 0, 3) / 13,
2325
				Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
2326
				Transparency = 0,
2327
				Transparency2 = 1,
2328
				CFrame = CF(spawner.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
2329
				MoveToPos = nil,
2330
				RotationX = 0,
2331
				RotationY = 0,
2332
				RotationZ = 0,
2333
				Material = "Neon",
2334
				Color = C3(r1/255, g1/255, b1/255),
2335
				SoundID = nil,
2336
				SoundPitch = nil,
2337
				SoundVolume = nil
2338
			})
2339
			WACKYEFFECT({
2340
				Time = 35,
2341
				EffectType = "Sphere",
2342
				Size = VT(22, 22, 22),
2343
				Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
2344
				Transparency = 0,
2345
				Transparency2 = 1,
2346
				CFrame = CF(spawner.Position),
2347
				MoveToPos = nil,
2348
				RotationX = 0,
2349
				RotationY = 0,
2350
				RotationZ = 0,
2351
				Material = "Neon",
2352
				
2353
				Color = C3(r1/255, g1/255, b1/255),
2354
				SoundID = 459523898,
2355
				SoundPitch = MRANDOM(9, 12) / 10,
2356
				SoundVolume = 10
2357
			})
2358
		end
2359
		SHAKECAM(spawner.Position, 100, 8, 15)
2360
		ApplyAoE(spawner.Position, 50)
2361
		
2362
		
2363
	
2364
	
2365
		
2366
		
2367
		
2368
		
2369
		
2370
		
2371
		
2372
		
2373
		
2374
		
2375
		
2376
		
2377
		for i = 1, 25 do
2378
			Swait()
2379
			
2380
		end
2381
		
2382
	end
2383
	
2384
	wait(0.2)
2385
	
2386
	death:Remove()
2387
	DELET()
2388
	wait(2)
2389
	spawner:Remove()
2390
	
2391
end
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
v = 0
2430
2431
2432
function onKeyPress(inputObject, gameProcessedEvent)
2433
	if inputObject.KeyCode == Enum.KeyCode.E then
2434
		v = 0
2435
		SKILL7TEXT.Text = "[CLICK] Cube of Rainbow"
2436
	end
2437
end
2438
 
2439
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
2440
2441
2442
function onKeyPress(inputObject, gameProcessedEvent)
2443
	if inputObject.KeyCode == Enum.KeyCode.R then
2444
		v = 1
2445
		SKILL7TEXT.Text = "[CLICK] Explosion of Rainbow"
2446
	end
2447
end
2448
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
2449
2450
2451
Mouse.Button1Down:connect(function()
2452
	
2453
2454
	
2455
	if v == 0 then
2456
		Dismantle()
2457
		
2458
	end
2459
	
2460
	if v == 1 then
2461
		implode()
2462
		Smite()
2463
	end
2464
	
2465
end)
2466
2467
Mouse.KeyDown:connect(function(key)
2468
	if key == "f" then
2469
		SpawnSmite(Mouse.Hit.p)
2470
	end
2471
	if Key == "z" then
2472
		Smite()
2473
	end
2474
	if Key == "x" then
2475
		implode()
2476
	end
2477
	if Key == "c" then
2478
		Dismantle()
2479
	end
2480
	if key == "q" then
2481
		local pos = RootPart.Position
2482
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
2483
	end
2484
	if Key == "g" then
2485
		Boom()
2486
	end
2487
end)
2488
2489
2490
function onKeyPress(inputObject, gameProcessedEvent)
2491
	if inputObject.KeyCode == Enum.KeyCode.P then
2492
		
2493
		for _, c in pairs(Character:GetChildren()) do
2494
			c:Remove()
2495
			createstuff()
2496
			headness.Parent = Character
2497
			headness.CFrame = Torso.CFrame*CFrame.new(0,2,0)
2498
			weldBetween(headness,Head)
2499
			txt.Adornee = BlockHead
2500
2501
		
2502
		end
2503
		
2504
		sick.SoundId = "rbxassetid://556122490"
2505
	sick.Looped = true
2506
	sick.Pitch = 1
2507
	sick.Volume = 2
2508
	sick.Parent = Effects
2509
	sick.Playing = PLAYSONG
2510
		
2511
		local Effects = IT("Folder", Character)
2512
		Effects.Name = "Effects"
2513
		
2514
		local Effects = IT("Folder", Character)
2515
	Effects.Name = "Effects"
2516
	local deathpart = Instance.new("Part")
2517
	deathpart.Parent = game.Workspace
2518
	deathpart.CFrame = (Torso.CFrame)
2519
	deathpart.Anchored = true
2520
	deathpart.Size = Vector3.new(2,2,2)
2521
	deathpart.Material = ("Neon")
2522
	deathpart.CanCollide = false
2523
	deathpart.Transparency = 0
2524
	deathpart.Shape = "Ball"	
2525
		
2526
		
2527
		local stoptime = coroutine.wrap(function()
2528
				
2529
			local p = 2
2530
			
2531
			
2532
			
2533
			for i = 1,10,0.1 do
2534
				
2535
			deathpart.CFrame = (Torso.CFrame)
2536
			
2537
			deathpart.Color = Color3.new(r/255,g/255,b/255)
2538
			deathpart.Size = Vector3.new(p,p,p)
2539
			Blockhead.Parent = headness
2540
			
2541
			p = p+2
2542
			Swait()
2543
			end
2544
				
2545
				
2546
2547
			end)
2548
    		
2549
			stoptime()
2550
		
2551
		------------------------------------------
2552
		
2553
		
2554
		
2555
		
2556
		local stoptime = coroutine.wrap(function()
2557
				
2558
			local p = 2
2559
			
2560
			
2561
			
2562
			for i = 1,10,0.1 do
2563
				
2564
			
2565
			
2566
			
2567
			
2568
			deathpart.Transparency = p/30
2569
			
2570
			p = p+1
2571
			Swait()
2572
			end
2573
				
2574
				
2575
2576
			end)
2577
    		
2578
			stoptime()
2579
		
2580
		
2581
		
2582
		
2583
		
2584
		
2585
		
2586
		
2587
		
2588
		
2589
		
2590
		
2591
		wait(1)
2592
	
2593
	deathpart:Remove()
2594
		
2595
		
2596
	end
2597
	
2598
	
2599
	
2600
end
2601
 
2602
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
2603
2604
2605
2606
2607
2608
2609
2610
2611
	
2612
		
2613
local random4 = coroutine.wrap(function()
2614
	while true do
2615
		
2616
		RightArm.Color = Color3.new(r/255,g/255,b/255)
2617
		LeftArm.Color = Color3.new(r/255,g/255,b/255)
2618
		RightLeg.Color = Color3.new(r/255,g/255,b/255)
2619
		LeftLeg.Color = Color3.new(r/255,g/255,b/255)
2620
		headness.Color = Color3.new(r/255,g/255,b/255)
2621
		Torso.Color = Color3.new(r/255,g/255,b/255)
2622
		headness.Transparency = 0.5
2623
		RootPart.Transparency = 1
2624
		
2625
		
2626
		Swait()
2627
	end
2628
end)
2629
	
2630
	random4()
2631
2632
while true do
2633
	
2634
	
2635
	RightArm.Transparency = 0.3
2636
	LeftArm.Transparency = 0.3
2637
	RightLeg.Transparency = 0.3
2638
	LeftLeg.Transparency = 0.3
2639
	Torso.Transparency = 0.3
2640
	Head.Transparency = 1
2641
	RightArm.Material = ("Neon")
2642
	LeftArm.Material = ("Neon")
2643
	LeftLeg.Material = ("Neon")
2644
	RightLeg.Material = ("Neon")
2645
	Torso.Material = ("Neon")
2646
	Head.Material = ("Neon")
2647
	headness.Material = ("Neon")
2648
	
2649
	
2650
	function fix()
2651
	
2652
if Head.Size ~=  Vector3.new(2,1,1)then	
2653
	Head.Size = Vector3.new(1,1,1)	
2654
end
2655
	
2656
	
2657
if RightArm.Size ~=  Vector3.new(1,2,1)then	
2658
	RightArm.Size = Vector3.new(1,2,1)
2659
end
2660
2661
	
2662
if LeftArm.Size ~=  Vector3.new(1,2,1)then	
2663
	LeftArm.Size = Vector3.new(1,2,1)
2664
end	
2665
	
2666
if RightLeg.Size ~=  Vector3.new(1,2,1)then	
2667
	RightLeg.Size = Vector3.new(1,2,1)
2668
end
2669
2670
if LeftArm.Size ~=  Vector3.new(1,2,1)then	
2671
	LeftArm.Size = Vector3.new(1,2,1)	
2672
end
2673
2674
if Torso.Size ~=  Vector3.new(2,2,1)then	
2675
	Torso.Size = Vector3.new(2,2,1)
2676
end
2677
end
2678
2679
	
2680
	
2681
	Swait()
2682
2683
	script.Parent = WEAPONGUI
2684
	ANIMATE.Parent = nil
2685
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2686
	    v:Stop();
2687
	end
2688
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2689
		Humanoid = IT("Humanoid",Character)
2690
	end
2691
	
2692
	SINE = SINE + CHANGE
2693
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2694
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2695
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2696
	local WALKSPEEDVALUE = 4
2697
	
2698
	if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true  then
2699
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2700
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2701
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2702
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2703
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
2704
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2705
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2706
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2707
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2708
	end
2709
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2710
		ANIM = "Jump"
2711
		if ATTACK == false then
2712
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2713
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2714
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2715
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2716
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2717
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2718
		end
2719
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2720
		ANIM = "Fall"
2721
		if ATTACK == false then
2722
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2723
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2724
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2725
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2726
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2727
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2728
		end
2729
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2730
		ANIM = "Idle"
2731
		if ATTACK == false then
2732
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2733
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2734
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2735
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2736
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2737
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2738
		end
2739
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2740
		ANIM = "Walk"
2741
		if ATTACK == false then
2742
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2743
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2744
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2745
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2746
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2747
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2748
		end
2749
	end
2750
	for _, c in pairs(Character:GetChildren()) do
2751
		if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "SelectionBox" or c.Name == "Body Colors"  then
2752
			c:remove()
2753
		end
2754
	end
2755
	AntiTimeStop()
2756
	fix()
2757
	
2758
	Humanoid.MaxHealth = 10e10
2759
	Humanoid.Health = 10e10
2760
	
2761
2762
	
2763
	
2764
	if Rooted == false then
2765
		Disable_Jump = false
2766
		Humanoid.WalkSpeed = Speed
2767
	elseif Rooted == true then
2768
		Disable_Jump = true
2769
		Humanoid.WalkSpeed = 0
2770
	end
2771
	
2772
	
2773
--1383666704
2774
	sick.SoundId = "rbxassetid://556122490"
2775
	sick.Looped = true
2776
	sick.Pitch = 1
2777
	sick.Volume = 2
2778
	sick.Parent = Effects
2779
	sick.Playing = PLAYSONG
2780
	Humanoid.PlatformStand = false
2781
	Humanoid.Name = "the god of shapes"
2782
	refit()
2783
	
2784
	for _, c in pairs(Character:GetChildren()) do
2785
		if c:IsA("BasePart") and ATTACK == false then
2786
			for _, e in pairs(c:GetChildren()) do
2787
				if e:IsA("BodyPosition") or e:IsA("BodyGyro") or e:IsA("Decal") or e:IsA("ParticleEmitter") or e:IsA("Fire") or e:IsA("Smoke") or e:IsA("SelectionBox") or  c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" or c.ClassName == "ShirtGraphic" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
2788
					e:remove()
2789
				end
2790
			end
2791
		end
2792
	end
2793
end