View difference between Paste ID: K76sBaL5 and gB5ZZPDr
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
5
	script.Parent = InternalData.RealOwner.Character
6
	local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
7
	local function createObject (connections, index)
8
    	local proxy = newproxy (true);local meta = getmetatable (proxy);
9
    	local runbind = function (self, i, ...) connections[i]:Fire (...); end;
10
		while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
11
    	meta.__index = function (self, i)
12
        	if (i == 'TriggerEvent') then return runbind end;
13
        	return connections[i] and connections[i].Event or index[i];
14
    	end;
15
    	meta.__newindex = index;meta.__metatable = false;return proxy
16
	end;
17
	local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
18
	local UserInputService = createObject({"InputBegan","InputEnded"},{})
19
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
20
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
21
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
22
	Event.OnServerEvent:Connect(function(FiredBy,Input)
23
		if FiredBy ~= InternalData.RealOwner then return end
24
		if Input.MouseEvent then
25
			Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
26
		elseif Input.Sound then
27
			if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
28
		else
29
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
30
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
31
			for _,Action in pairs(ContextActionService.Actions) do
32
				for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
33
			end
34
			Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
35
		end
36
	end)
37
	InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
38
	Event.Parent = NLS([[
39
		local Player = owner;
40
		local Sounds = {};
41
		local Event = script:WaitForChild("UserInput");
42
		local UserInputService = game:GetService("UserInputService");
43
		local Mouse = Player:GetMouse();
44
		local Input = function(Input,gameProcessedEvent)
45
			if gameProcessedEvent then return end
46
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
47
		end
48
		Event.OnClientEvent:connect(function(Args)
49
			if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
50
		end)
51
		UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
52
		local Hit,Target
53
		while wait(1/30) do
54
			for x,Sound in pairs(Sounds) do
55
				if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
56
			end
57
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
58
				Hit = Mouse.Hit;Target = Mouse.Target;
59
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
60
			end
61
		end
62
	]],InternalData.RealOwner.Character)
63
end
64
InternalData.NewOwner = setmetatable({},{
65
	__index = function (self,Index)
66
			local Type = type(InternalData.RealOwner[Index])
67
			if Type == "function" then
68
				if Index:lower() == "getmouse" or Index:lower() == "mouse" then
69
				return function (self)return InternalData["Mouse"] end
70
				end
71
			return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
72
		elseif Index == "FakePlayer" then
73
			return true
74
		end
75
		return InternalData.RealOwner[Index]
76
	end;
77
	__tostring = function(self) return tostring(InternalData.RealOwner) end
78
})
79
--LoadLibrary("RbxUtility").Create
80
InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
81
	if Library == "RbxUtility" then
82
		return setmetatable({},{
83
			__tostring = function() return "RbxUtility" end;
84
			__index = function(self, Index)
85
				if Index:lower() == "create" then
86
					return function(Type)
87
						return function(Data)
88
							Data = Data or {}
89
							local Inst = Instance.new(Type)
90
							for x,y in pairs(Data) do
91
								if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
92
								if y == owner then y = InternalData.RealOwner end
93
								Inst[x] = y
94
							end
95
							return Inst
96
						end
97
					end
98
				end
99
				return InternalData.LoadLibrary(Library)[Index]
100
			end
101
		})
102
	end
103
	return InternalData.LoadLibrary(Library)
104
end
105
InternalData.RealInstance = Instance;Instance = setmetatable({},{
106
	__index = function (self,Index)
107
		if Index:lower() == 'new' then
108
			return function (Type, Parent)
109
				if Parent == owner then Parent = InternalData.RealOwner end
110
				if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
111
				local Real = InternalData.RealInstance.new(Type,Parent)
112
				if not Type then return end
113
				if Type == "BillboardGui" then
114
					local ToReturn = setmetatable({},{
115
						__index = function (self,Index)
116
							if type(Real[Index]) == "function" then
117
								if Index:lower() == "clone" then
118
									return function (self)
119
										local Real = Real:Clone()
120
										local ToReturn = setmetatable({RealObject = Real},{
121
											__index = function (self,Index)
122
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
123
												return Real[Index]
124
											end;
125
											__newindex = function (self,Index,Value)
126
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
127
												if Value == owner then Value = InternalData.RealOwner end
128
												Real[Index] = Value
129
											end;
130
											__tostring = function(self) return tostring(Real) end;
131
										})
132
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
133
									end
134
								end
135
								return function (self,...) return Real[Index](Real,...)end
136
							end
137
							return Real[Index]
138
						end;
139
						__newindex = function (self,Index,Value)
140
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
141
							if Value == owner then Value = InternalData.RealOwner end
142
							Real[Index] = Value
143
						end;
144
						__tostring = function(self) return tostring(Real) end;
145
					})
146
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
147
				elseif Type:lower() == "sound" then
148
					Real.Parent = owner.Character;
149
					local ToReturn = setmetatable({RealObject = Real},{
150
						__index = function (self,Index)
151
							if Index:lower() == "playbackloudness" then
152
								return InternalData.SoundLoudness[Real] or 0
153
							elseif type(Real[Index]) == "function" then
154
								if Index:lower() == "clone" then
155
									return function (self)
156
										local Real = Real:Clone()
157
										local ToReturn = setmetatable({},{
158
											__index = function (self,Index)
159
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
160
												return Real[Index]
161
											end;
162
											__newindex = function (self,Index,Value)
163
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
164
												if Value == owner then Value = InternalData.RealOwner end
165
												Real[Index] = Value
166
											end;
167
											__tostring = function(self) return tostring(Real) end;
168
										})
169
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
170
									end
171
								end
172
								return function (self,...) return Real[Index](Real,...)end
173
							end
174
							return Real[Index]
175
						end;
176
						__newindex = function (self,Index,Value)
177
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
178
							if Value == owner then Value = InternalData.RealOwner end
179
							Real[Index] = Value
180
						end;
181
						__tostring = function(self) return tostring(Real) end;
182
					})
183
					InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
184
				else
185
					local ToReturn = setmetatable({RealObject = Real},{
186
						__index = function (self,Index)
187
							if type(Real[Index]) == "function" then
188
								if Index:lower() == "clone" then
189
									return function (self)
190
										local Real = Real:Clone()
191
										local ToReturn = setmetatable({},{
192
											__index = function (self,Index)
193
												if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
194
												return Real[Index]
195
											end;
196
											__newindex = function (self,Index,Value)
197
												if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
198
												if Value == owner then Value = InternalData.RealOwner end
199
												Real[Index] = Value
200
											end;
201
											__tostring = function(self) return tostring(Real) end;
202
										})
203
										InternalData.RealObjs[ToReturn] = Real;return ToReturn;
204
									end
205
								end
206
								return function (self,...) return Real[Index](Real,...)end
207
							end
208
							return Real[Index]
209
						end;
210
						__newindex = function (self,Index,Value)
211
							if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
212
							if Value == owner then Value = InternalData.RealOwner end
213
							Real[Index] = Value
214
						end;
215
						__tostring = function(self) return tostring(Real) end;
216
					})
217
					InternalData.RealObjs[ToReturn] = Real;return ToReturn;
218
				end
219
			end
220
		end
221
		return InternalData.RealInstance[Index]
222
	end;
223
	__tostring = function(self) return tostring(InternalData.RealInstance) end;
224
});
225
InternalData.RealGame = game;game = setmetatable({},{
226
	__index = function (self,Index)
227
		if InternalData.RealGame[Index] then
228
			local Type = type(InternalData.RealGame[Index])
229
			if Type == "function" then
230
				if Index:lower() == "getservice" or Index:lower() == "service" then
231
					return function (self,Service)
232
						local FakeServices = {
233
							["players"] = function()
234
								return setmetatable({},{
235
									__index = function (self2,Index2)
236
										local RealService = InternalData.RealGame:GetService(Service)
237
										local Type2 = type(RealService[Index2])
238
										if Type2 == "function" then
239
											return function (self,...) return RealService[Index2](RealService,...)end
240
										else
241
											if Index2:lower() == "localplayer" then return InternalData.NewOwner end
242
											return RealService[Index2]
243
										end
244
									end;
245
									__tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
246
								})
247
							end;
248
							["contextactionservice"] = function() return InternalData["ContextActionService"] end;
249
							["userinputservice"] = function() return InternalData["UserInputService"] end;
250
							["debris"] = function()
251
								return setmetatable({},{
252
									__index = function(self2,Index2)
253
										local RealService = InternalData.RealGame:GetService(Service)
254
										local Type2 = type(RealService[Index2])
255
										if Type2 == "function" then
256
											if Index2:lower() == "additem" then
257
												return function (self,Item,Time)
258
													if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
259
													return RealService:AddItem(Item,Time)
260
												end
261
											end
262
											return function (self,...) return RealService[Index2](RealService,...) end
263
										end
264
										return RealService[Index2]
265
									end;
266
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
267
								})
268
							end;
269
							["runservice"] = function()
270
								return setmetatable({},{
271
									__index = function(self2,Index2)
272
										local RealService = InternalData.RealGame:GetService(Service)
273
										local Type2 = type(RealService[Index2])
274
										if Type2 == "function" then
275
											return function (self,...) return RealService[Index2](RealService,...) end
276
										else
277
											local RunServices = {
278
												["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
279
												["renderstepped"] = function() return RealService["Stepped"] end
280
											}
281
											if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
282
											return RealService[Index2]
283
										end
284
									end;
285
									__tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
286
								})
287
							end
288
						}
289
						if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
290
						return InternalData.RealGame:GetService(Service)
291
					end
292
				end
293
				return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
294
			else
295
				if game:GetService(Index) then return game:GetService(Index) end
296
				return InternalData.RealGame[Index]
297
			end
298
		end
299
		return nil
300
	end;
301
	__tostring = function(self) return tostring(InternalData.game) end
302
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
303
304
local cR=255
305
local cG=0
306
local cB=0
307
local flg5=1 local omgidk=1
308
local add=7.5
309
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
310
    if omgidk>10000 then omgidk=0 end
311
    omgidk=omgidk+1
312
    if cR>=255 then flg5=1 end
313
    if cG>=255 then flg5=2 end
314
    if cB>=255 then flg5=3 end
315
    if flg5==1 then cR=cR-add cG=cG+add end
316
    if flg5==2 then cG=cG-add cB=cB+add end
317
    if flg5==3 then cB=cB-add cR=cR+add end
318
    color = Color3.fromRGB(cR,cG,cB)
319
end)
320
321
--//====================================================\\--
322
--||               CREATED BY SHACKLUSTER
323
--\\====================================================//--
324
 
325
print("------------------------------------------------")
326
327
print("Script created by Shackluster")
328
print("Edit by 1x1x1x1x1x1x1x0x0x2")
329
print("Script.name = What you glove.")
330
331
print("------------------------------------------------")
332
wait(0.2)
333
 
334
 
335
 
336
Player = game:GetService("Players").LocalPlayer
337
PlayerGui = Player.PlayerGui
338
Cam = workspace.CurrentCamera
339
Backpack = Player.Backpack
340
Character = Player.Character
341
Humanoid = Character.Humanoid
342
Mouse = Player:GetMouse()
343
RootPart = Character["HumanoidRootPart"]
344
Torso = Character["Torso"]
345
Head = Character["Head"]
346
RightArm = Character["Right Arm"]
347
LeftArm = Character["Left Arm"]
348
RightLeg = Character["Right Leg"]
349
LeftLeg = Character["Left Leg"]
350
RootJoint = RootPart["RootJoint"]
351
Neck = Torso["Neck"]
352
RightShoulder = Torso["Right Shoulder"]
353
LeftShoulder = Torso["Left Shoulder"]
354
RightHip = Torso["Right Hip"]
355
LeftHip = Torso["Left Hip"]
356
local sick = Instance.new("Sound",Character)
357
sick.SoundId = "rbxassetid://165704299"
358
sick.Looped = true
359
sick.Pitch = 1
360
sick.Volume = 1
361
sick:Play()
362
 
363
IT = Instance.new
364
CF = CFrame.new
365
VT = Vector3.new
366
RAD = math.rad
367
C3 = Color3.new
368
UD2 = UDim2.new
369
BRICKC = BrickColor.new
370
ANGLES = CFrame.Angles
371
EULER = CFrame.fromEulerAnglesXYZ
372
COS = math.cos
373
ACOS = math.acos
374
SIN = math.sin
375
ASIN = math.asin
376
ABS = math.abs
377
MRANDOM = math.random
378
FLOOR = math.floor
379
 
380
yee = Instance.new("ForceField", Character)
381
yee.Visible = false
382
383
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
384
    local NEWMESH = IT(MESH)
385
    if MESH == "SpecialMesh" then
386
        NEWMESH.MeshType = MESHTYPE
387
        if MESHID ~= "nil" and MESHID ~= "" then
388
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
389
        end
390
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
391
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
392
        end
393
    end
394
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
395
    NEWMESH.Scale = SCALE
396
    NEWMESH.Parent = PARENT
397
    return NEWMESH
398
end
399
 
400
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
401
    local NEWPART = IT("Part")
402
    NEWPART.formFactor = FORMFACTOR
403
    NEWPART.Reflectance = REFLECTANCE
404
    NEWPART.Transparency = TRANSPARENCY
405
    NEWPART.CanCollide = false
406
    NEWPART.Locked = true
407
    NEWPART.Anchored = true
408
    if ANCHOR == false then
409
        NEWPART.Anchored = false
410
    end
411
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
412
    NEWPART.Name = NAME
413
    NEWPART.Size = SIZE
414
    NEWPART.Position = Torso.Position
415
    NEWPART.Material = MATERIAL
416
    NEWPART:BreakJoints()
417
    NEWPART.Parent = PARENT
418
    return NEWPART
419
end
420
 
421
--//=================================\\
422
--||          CUSTOMIZATION
423
--\\=================================//
424
 
425
Player_Size = 1 --Size of the player.
426
Animation_Speed = 3
427
Animation_Speed2 = 0.8
428
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
429
 
430
local Speed = 20
431
local Effects2 = {}
432
 
433
--//=================================\\
434
--||      END OF CUSTOMIZATION
435
--\\=================================//
436
 
437
    local function weldBetween(a, b)
438
        local weldd = Instance.new("ManualWeld")
439
        weldd.Part0 = a
440
        weldd.Part1 = b
441
        weldd.C0 = CFrame.new()
442
        weldd.C1 = b.CFrame:inverse() * a.CFrame
443
        weldd.Parent = a
444
        return weldd
445
    end
446
 
447
--//=================================\\
448
--||          USEFUL VALUES
449
--\\=================================//
450
 
451
local CO1 = 0
452
local CO2 = 0
453
local CO3 = 0
454
local CO4 = 0
455
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
456
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
457
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
458
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
459
local CHANGEDEFENSE = 0
460
local CHANGEDAMAGE = 0
461
local CHANGEMOVEMENT = 0
462
local ANIM = "Idle"
463
local ATTACK = false
464
local EQUIPPED = false
465
local HOLD = false
466
local COMBO = 1
467
local Rooted = false
468
local SINE = 0
469
local KEYHOLD = false
470
local BLCF = nil
471
local SCFR = nil
472
local STAGGERHITANIM = false
473
local STAGGERANIM = false
474
local STUNANIM = false
475
local CRITCHANCENUMBER = 0
476
local IDLENUMBER = 0
477
local DONUMBER = 0
478
local HANDIDLE = false
479
local CHANGE = 2 / Animation_Speed
480
local WALKINGANIM = false
481
local WALK = 0
482
local VALUE1 = false
483
local VALUE2 = false
484
local DISABLEJUMPING = false
485
local HASBEENBLOCKED = false
486
local STUNDELAYNUMBER = 0
487
local MANADELAYNUMBER = 0
488
local SECONDARYMANADELAYNUMBER = 0
489
local ROBLOXIDLEANIMATION = IT("Animation")
490
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
491
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
492
--ROBLOXIDLEANIMATION.Parent = Humanoid
493
local WEAPONGUI = IT("ScreenGui", PlayerGui)
494
WEAPONGUI.Name = "Weapon GUI"
495
local Weapon = IT("Model")
496
Weapon.Name = "Adds"
497
local HITFLOOR = nil
498
local Effects = IT("Folder", Weapon)
499
Effects.Name = "Effects"
500
local ANIMATOR = Humanoid.Animator
501
local ANIMATE = Character.Animate
502
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
503
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
504
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
505
local HITBLOCKSOUNDS = {"199148933", "199148947"}
506
local UNANCHOR = true
507
local HURTSOUND = "1080625252"
508
local DEATHSOUNDS = {"340963282", "340963317"}
509
 
510
local SKILLTEXTCOLOR = C3(239/255, 184/255, 56/255)
511
local CHOSENBRICK = "Gold"
512
local CHOSENBRICK1 = "White"
513
local CHOSENBRICK2 = "Gold"
514
515
--//=================================\\
516
--\\=================================//
517
 
518
 
519
--//=================================\\
520
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
521
--\\=================================//
522
 
523
ArtificialHB = Instance.new("BindableEvent", script)
524
ArtificialHB.Name = "ArtificialHB"
525
 
526
script:WaitForChild("ArtificialHB")
527
 
528
frame = Frame_Speed
529
tf = 0
530
allowframeloss = false
531
tossremainder = false
532
lastframe = tick()
533
script.ArtificialHB:Fire()
534
 
535
game:GetService("RunService").Heartbeat:connect(function(s, p)
536
    tf = tf + s
537
    if tf >= frame then
538
        if allowframeloss then
539
            script.ArtificialHB:Fire()
540
            lastframe = tick()
541
        else
542
            for i = 1, math.floor(tf / frame) do
543
                script.ArtificialHB:Fire()
544
            end
545
        lastframe = tick()
546
        end
547
        if tossremainder then
548
            tf = 0
549
        else
550
            tf = tf - frame * math.floor(tf / frame)
551
        end
552
    end
553
end)
554
 
555
--//=================================\\
556
--\\=================================//
557
 
558
 
559
 
560
 
561
 
562
--//=================================\\
563
--||          SOME FUNCTIONS
564
--\\=================================//
565
 
566
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
567
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
568
end
569
 
570
function PositiveAngle(NUMBER)
571
    if NUMBER >= 0 then
572
        NUMBER = 0
573
    end
574
    return NUMBER
575
end
576
 
577
function NegativeAngle(NUMBER)
578
    if NUMBER <= 0 then
579
        NUMBER = 0
580
    end
581
    return NUMBER
582
end
583
 
584
function Swait(NUMBER)
585
    if NUMBER == 0 or NUMBER == nil then
586
        ArtificialHB.Event:wait()
587
    else
588
        for i = 1, NUMBER do
589
            ArtificialHB.Event:wait()
590
        end
591
    end
592
end
593
 
594
function QuaternionFromCFrame(cf)
595
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
596
    local trace = m00 + m11 + m22
597
    if trace > 0 then
598
        local s = math.sqrt(1 + trace)
599
        local recip = 0.5 / s
600
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
601
    else
602
        local i = 0
603
        if m11 > m00 then
604
            i = 1
605
        end
606
        if m22 > (i == 0 and m00 or m11) then
607
            i = 2
608
        end
609
        if i == 0 then
610
            local s = math.sqrt(m00 - m11 - m22 + 1)
611
            local recip = 0.5 / s
612
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
613
        elseif i == 1 then
614
            local s = math.sqrt(m11 - m22 - m00 + 1)
615
            local recip = 0.5 / s
616
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
617
        elseif i == 2 then
618
            local s = math.sqrt(m22 - m00 - m11 + 1)
619
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
620
        end
621
    end
622
end
623
 
624
function QuaternionToCFrame(px, py, pz, x, y, z, w)
625
    local xs, ys, zs = x + x, y + y, z + z
626
    local wx, wy, wz = w * xs, w * ys, w * zs
627
    local xx = x * xs
628
    local xy = x * ys
629
    local xz = x * zs
630
    local yy = y * ys
631
    local yz = y * zs
632
    local zz = z * zs
633
    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))
634
end
635
 
636
function QuaternionSlerp(a, b, t)
637
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
638
    local startInterp, finishInterp;
639
    if cosTheta >= 0.0001 then
640
        if (1 - cosTheta) > 0.0001 then
641
            local theta = ACOS(cosTheta)
642
            local invSinTheta = 1 / SIN(theta)
643
            startInterp = SIN((1 - t) * theta) * invSinTheta
644
            finishInterp = SIN(t * theta) * invSinTheta
645
        else
646
            startInterp = 1 - t
647
            finishInterp = t
648
        end
649
    else
650
        if (1 + cosTheta) > 0.0001 then
651
            local theta = ACOS(-cosTheta)
652
            local invSinTheta = 1 / SIN(theta)
653
            startInterp = SIN((t - 1) * theta) * invSinTheta
654
            finishInterp = SIN(t * theta) * invSinTheta
655
        else
656
            startInterp = t - 1
657
            finishInterp = t
658
        end
659
    end
660
    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
661
end
662
 
663
function Clerp(a, b, t)
664
    local qa = {QuaternionFromCFrame(a)}
665
    local qb = {QuaternionFromCFrame(b)}
666
    local ax, ay, az = a.x, a.y, a.z
667
    local bx, by, bz = b.x, b.y, b.z
668
    local _t = 1 - t
669
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
670
end
671
 
672
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
673
    local frame = IT("Frame")
674
    frame.BackgroundTransparency = TRANSPARENCY
675
    frame.BorderSizePixel = BORDERSIZEPIXEL
676
    frame.Position = POSITION
677
    frame.Size = SIZE
678
    frame.BackgroundColor3 = COLOR
679
    frame.BorderColor3 = BORDERCOLOR
680
    frame.Name = NAME
681
    frame.Parent = PARENT
682
    return frame
683
end
684
 
685
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
686
    local label = IT("TextLabel")
687
    label.BackgroundTransparency = 1
688
    label.Size = UD2(1, 0, 1, 0)
689
    label.Position = UD2(0, 0, 0, 0)
690
    label.TextColor3 = TEXTCOLOR
691
    label.TextStrokeTransparency = STROKETRANSPARENCY
692
    label.TextTransparency = TRANSPARENCY
693
    label.FontSize = TEXTFONTSIZE
694
    label.Font = TEXTFONT
695
    label.BorderSizePixel = BORDERSIZEPIXEL
696
    label.TextScaled = false
697
    label.Text = TEXT
698
    label.Name = NAME
699
    label.Parent = PARENT
700
    return label
701
end
702
 
703
function NoOutlines(PART)
704
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
705
end
706
 
707
 
708
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
709
    local NEWWELD = IT(TYPE)
710
    NEWWELD.Part0 = PART0
711
    NEWWELD.Part1 = PART1
712
    NEWWELD.C0 = C0
713
    NEWWELD.C1 = C1
714
    NEWWELD.Parent = PARENT
715
    return NEWWELD
716
end
717
 
718
function CreateSound(ID, PARENT, VOLUME, PITCH)
719
    local NEWSOUND = nil
720
    coroutine.resume(coroutine.create(function()
721
        NEWSOUND = IT("Sound", PARENT)
722
        NEWSOUND.Volume = VOLUME
723
        NEWSOUND.Pitch = PITCH
724
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
725
        Swait()
726
        NEWSOUND:play()
727
        game:GetService("Debris"):AddItem(NEWSOUND, 10)
728
    end))
729
    return NEWSOUND
730
end
731
 
732
function CFrameFromTopBack(at, top, back)
733
    local right = top:Cross(back)
734
    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)
735
end
736
 
737
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
738
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
739
    local mesh = IT("SpecialMesh",wave)
740
    mesh.MeshType = "FileMesh"
741
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
742
    mesh.Scale = SIZE
743
    mesh.Offset = VT(0,0,-SIZE.X/8)
744
    wave.CFrame = CFRAME
745
    coroutine.resume(coroutine.create(function(PART)
746
        for i = 1, WAIT do
747
            Swait()
748
            mesh.Scale = mesh.Scale + GROW
749
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
750
            if DOESROT == true then
751
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
752
            end
753
            wave.Transparency = wave.Transparency + (0.5/WAIT)
754
            if wave.Transparency > 0.99 then
755
                wave:remove()
756
            end
757
        end
758
    end))
759
end
760
 
761
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
762
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
763
    local mesh = IT("SpecialMesh",wave)
764
    mesh.MeshType = "FileMesh"
765
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
766
    mesh.Scale = SIZE
767
    --mesh.Offset = VT(0,0,-SIZE.X/8)
768
    wave.CFrame = CFRAME
769
    coroutine.resume(coroutine.create(function(PART)
770
        for i = 1, WAIT do
771
            Swait()
772
            mesh.Scale = mesh.Scale + GROW
773
            --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
774
            if DOESROT == true then
775
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
776
            end
777
            wave.Transparency = wave.Transparency + (0.5/WAIT)
778
            if wave.Transparency > 0.99 then
779
                wave:remove()
780
            end
781
        end
782
    end))
783
end
784
 
785
local EyeSizes={
786
    NumberSequenceKeypoint.new(0,1,0),
787
    NumberSequenceKeypoint.new(1,0,0)
788
}
789
local EyeTrans={
790
    NumberSequenceKeypoint.new(0,0.8,0),
791
    NumberSequenceKeypoint.new(1,1,0)
792
}
793
794
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
795
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
796
    local mesh = IT("SpecialMesh",wave)
797
    mesh.MeshType = "FileMesh"
798
    mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
799
    mesh.Scale = SIZE
800
    wave.CFrame = CFRAME
801
    coroutine.resume(coroutine.create(function(PART)
802
        for i = 1, WAIT do
803
            Swait()
804
            mesh.Scale = mesh.Scale + GROW
805
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
806
            if DOESROT == true then
807
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
808
            end
809
            wave.Transparency = wave.Transparency + (0.5/WAIT)
810
            if wave.Transparency > 0.99 then
811
                wave:remove()
812
            end
813
        end
814
    end))
815
end
816
 
817
 
818
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
819
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
820
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
821
    wave.CFrame = CFRAME
822
    coroutine.resume(coroutine.create(function(PART)
823
        for i = 1, WAIT do
824
            Swait()
825
            mesh.Scale = mesh.Scale * GROW
826
            wave.Transparency = wave.Transparency + (0.5/WAIT)
827
            if wave.Transparency > 0.99 then
828
                wave:remove()
829
            end
830
        end
831
    end))
832
end
833
 
834
function CreateWave1(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
835
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
836
	local mesh = IT("SpecialMesh",wave)
837
	mesh.MeshType = "FileMesh"
838
	mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
839
	mesh.Scale = VT(size,size,size)
840
	mesh.Offset = VT(0,0,-size/8)
841
	wave.CFrame = cframe
842
	coroutine.resume(coroutine.create(function(PART)
843
		for i = 1, waitt do
844
			Swait()
845
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
846
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
847
			if doesrotate == true then
848
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
849
			end
850
			wave.Transparency = wave.Transparency + (0.5/waitt)
851
			if wave.Transparency > 0.99 then
852
				wave:remove()
853
			end
854
		end
855
	end))
856
end
857
858
function CreateSwirl1(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
859
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
860
	local mesh = IT("SpecialMesh",wave)
861
	mesh.MeshType = "FileMesh"
862
	mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
863
	mesh.Scale = VT(size,size,size)
864
	wave.CFrame = cframe
865
	coroutine.resume(coroutine.create(function(PART)
866
		for i = 1, waitt do
867
			Swait()
868
			mesh.Scale = mesh.Scale + VT(size/5,size/10,size/5)
869
			if doesrotate == true then
870
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
871
			end
872
			wave.Transparency = wave.Transparency + (0.5/waitt)
873
			if wave.Transparency > 0.99 then
874
				wave:remove()
875
			end
876
		end
877
	end))
878
end
879
880
function CreateTornado1(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
881
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
882
	local mesh = IT("SpecialMesh",wave)
883
	mesh.MeshType = "FileMesh"
884
	mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
885
	mesh.Scale = VT(size,size,size)
886
	wave.CFrame = cframe
887
	coroutine.resume(coroutine.create(function(PART)
888
		for i = 1, waitt do
889
			Swait()
890
			mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
891
			if doesrotate == true then
892
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
893
			end
894
			wave.Transparency = wave.Transparency + (0.5/waitt)
895
			if wave.Transparency > 0.99 then
896
				wave:remove()
897
			end
898
		end
899
	end))
900
end
901
902
function CreateRing1(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
903
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0), true)
904
	local mesh = IT("SpecialMesh",wave)
905
	mesh.MeshType = "FileMesh"
906
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
907
	mesh.Scale = VT(size,size,size)
908
	mesh.Offset = VT(0,0,0)
909
	wave.CFrame = cframe
910
	coroutine.resume(coroutine.create(function(PART)
911
		for i = 1, waitt do
912
			Swait()
913
			mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
914
			if doesrotate == true then
915
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
916
			end
917
			wave.Transparency = wave.Transparency + (0.5/waitt)
918
			if wave.Transparency > 0.99 then
919
				wave:remove()
920
			end
921
		end
922
	end))
923
end
924
925
function MagicBlock1(size,waitt,cframe,color)
926
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size), true)
927
	local mesh = IT("BlockMesh",wave)
928
	wave.CFrame = cframe
929
	coroutine.resume(coroutine.create(function(PART)
930
		for i = 1, waitt do
931
			Swait()
932
			mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
933
			wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
934
			wave.Transparency = wave.Transparency + (1/waitt)
935
			if wave.Transparency > 0.99 then
936
				wave:remove()
937
			end
938
		end
939
	end))
940
end
941
942
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
943
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
944
    local mesh = IT("SpecialMesh",wave)
945
    mesh.MeshType = "Sphere"
946
    mesh.Scale = SIZE
947
    mesh.Offset = VT(0,0,0)
948
    wave.CFrame = CFRAME
949
    coroutine.resume(coroutine.create(function(PART)
950
        for i = 1, WAIT do
951
            Swait()
952
            mesh.Scale = mesh.Scale + GROW
953
            wave.Transparency = wave.Transparency + (1/WAIT)
954
            if wave.Transparency > 0.99 then
955
                wave:remove()
956
            end
957
        end
958
    end))
959
end
960
 
961
function MakeForm(PART,TYPE)
962
    if TYPE == "Cyl" then
963
        local MSH = IT("CylinderMesh",PART)
964
    elseif TYPE == "Ball" then
965
        local MSH = IT("SpecialMesh",PART)
966
        MSH.MeshType = "Sphere"
967
    elseif TYPE == "Wedge" then
968
        local MSH = IT("SpecialMesh",PART)
969
        MSH.MeshType = "Wedge"
970
    end
971
end
972
 
973
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
974
    if FLOOR ~= nil then
975
        coroutine.resume(coroutine.create(function()
976
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
977
            PART.CFrame = CF(POSITION)
978
            for i = 1, 45 do
979
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
980
                RingPiece.Material = FLOOR.Material
981
                RingPiece.Color = FLOOR.Color
982
                RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
983
                Debris:AddItem(RingPiece,SWAIT/100)
984
            end
985
            PART:remove()
986
        end))
987
    end
988
end
989
 
990
function CheckTableForString(Table, String)
991
    for i, v in pairs(Table) do
992
        if string.find(string.lower(String), string.lower(v)) then
993
            return true
994
        end
995
    end
996
    return false
997
end
998
 
999
function CheckIntangible(Hit)
1000
    local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
1001
    if Hit and Hit.Parent then
1002
        if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
1003
            return true
1004
        end
1005
    end
1006
    return false
1007
end
1008
 
1009
Debris = game:GetService("Debris")
1010
 
1011
local S = IT("Sound")
1012
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1013
	local NEWSOUND = nil
1014
	coroutine.resume(coroutine.create(function()
1015
		NEWSOUND = S:Clone()
1016
		NEWSOUND.Parent = PARENT
1017
		NEWSOUND.Volume = VOLUME
1018
		NEWSOUND.Pitch = PITCH
1019
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1020
		NEWSOUND:play()
1021
		if DOESLOOP == true then
1022
			NEWSOUND.Looped = true
1023
		else
1024
			repeat wait(1) until NEWSOUND.Playing == false
1025
			NEWSOUND:remove()
1026
		end
1027
	end))
1028
	return NEWSOUND
1029
end
1030
1031
Player = owner
1032
Character = Player.Character
1033
PlayerGui = Player.PlayerGui
1034
Backpack = Player.Backpack
1035
Torso = Character.Torso
1036
Head = Character.Head
1037
Humanoid = Character.Humanoid
1038
RootPart = Character.HumanoidRootPart
1039
RootJoint = RootPart.RootJoint
1040
LeftArm = Character["Left Arm"]
1041
LeftLeg = Character["Left Leg"]
1042
RightArm = Character["Right Arm"]
1043
RightLeg = Character["Right Leg"]
1044
LS = Torso["Left Shoulder"]
1045
LH = Torso["Left Hip"]
1046
RS = Torso["Right Shoulder"]
1047
RH = Torso["Right Hip"]
1048
Humanoid.MaxHealth = math.huge
1049
1050
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1051
    local Direction = CFrame.new(StartPos, Vec).lookVector
1052
    local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1053
    local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1054
    if RayHit and CheckIntangible(RayHit) then
1055
        if DelayIfHit then
1056
            wait()
1057
        end
1058
        RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
1059
    end
1060
    return RayHit, RayPos, RayNormal
1061
end
1062
 
1063
function CreateNeonCircle(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
1064
	local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0, 0, 0), false)
1065
	for i = 1, 45 do
1066
		local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS, WIDTH, SIZE * 0.65), false)
1067
		local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i * 8), RAD(0)), CF(0, 0, 0) * CF(SIZE * 4, 0, 0))
1068
	end
1069
	local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1070
	coroutine.resume(coroutine.create(function()
1071
		if DOESSPIN == true then
1072
			while true do
1073
				wait()
1074
				PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE * 2), RAD(0)), 1)
1075
			end
1076
		end
1077
	end))
1078
end
1079
1080
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
1081
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1082
    local mesh = IT("SpecialMesh",wave)
1083
    mesh.MeshType = "FileMesh"
1084
    mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
1085
    mesh.Scale = SIZE
1086
    mesh.Offset = VT(0,0,0)
1087
    wave.CFrame = CFRAME
1088
    coroutine.resume(coroutine.create(function(PART)
1089
        for i = 1, WAIT do
1090
            Swait()
1091
            mesh.Scale = mesh.Scale + GROW
1092
            if DOESROT == true then
1093
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1094
            end
1095
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1096
            if wave.Transparency > 0.99 then
1097
                wave:remove()
1098
            end
1099
        end
1100
    end))
1101
end
1102
1103
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1104
function WACKYEFFECT(Table)
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(1,1,1))
1117
	local TIME = (Table.Time or 45)
1118
	local SOUNDID = (Table.SoundID or nil)
1119
	local SOUNDPITCH = (Table.SoundPitch or nil)
1120
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1121
	coroutine.resume(coroutine.create(function()
1122
		local PLAYSSOUND = false
1123
		local SOUND = nil
1124
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1125
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1126
			PLAYSSOUND = true
1127
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1128
		end
1129
		EFFECT.Color = COLOR
1130
		local MSH = nil
1131
		if TYPE == "Sphere" then
1132
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1133
		elseif TYPE == "Block" then
1134
			MSH = IT("BlockMesh",EFFECT)
1135
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1136
		elseif TYPE == "Wave" then
1137
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1138
		elseif TYPE == "Ring" then
1139
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1140
		elseif TYPE == "Slash" then
1141
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1142
		elseif TYPE == "Round Slash" then
1143
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1144
		elseif TYPE == "Swirl" then
1145
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1146
		elseif TYPE == "Skull" then
1147
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1148
		elseif TYPE == "Crystal" then
1149
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1150
		end
1151
		if MSH ~= nil then
1152
			local MOVESPEED = nil
1153
			if MOVEDIRECTION ~= nil then
1154
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1155
			end
1156
			local GROWTH = SIZE - ENDSIZE
1157
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1158
			if TYPE == "Block" then
1159
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1160
			else
1161
				EFFECT.CFrame = CFRAME
1162
			end
1163
			for LOOP = 1, TIME+1 do
1164
				Swait()
1165
				MSH.Scale = MSH.Scale - GROWTH/TIME
1166
				if TYPE == "Wave" then
1167
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1168
				end
1169
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1170
				if TYPE == "Block" then
1171
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1172
				else
1173
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1174
				end
1175
				if MOVEDIRECTION ~= nil then
1176
					local ORI = EFFECT.Orientation
1177
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1178
					EFFECT.Orientation = ORI
1179
				end
1180
			end
1181
			if PLAYSSOUND == false then
1182
				EFFECT:remove()
1183
			else
1184
				SOUND.Stopped:Connect(function()
1185
					EFFECT:remove()
1186
				end)
1187
			end
1188
		else
1189
			if PLAYSSOUND == false then
1190
				EFFECT:remove()
1191
			else
1192
				repeat Swait() until SOUND.Playing == false
1193
				EFFECT:remove()
1194
			end
1195
		end
1196
	end))
1197
end
1198
1199
local asd = Instance.new("ParticleEmitter")
1200
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
1201
asd.LightEmission = .1
1202
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1203
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
1204
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1205
asd.Transparency = bbb
1206
asd.Size = aaa
1207
asd.ZOffset = .9
1208
asd.Acceleration = Vector3.new(0, -15, 0)
1209
asd.LockedToPart = false
1210
asd.EmissionDirection = "Back"
1211
asd.Lifetime = NumberRange.new(1, 2)
1212
asd.Rotation = NumberRange.new(-100, 100)
1213
asd.RotSpeed = NumberRange.new(-100, 100)
1214
asd.Speed = NumberRange.new(10)
1215
asd.Enabled = false
1216
asd.VelocitySpread = 999
1217
1218
local PE=Instance.new("ParticleEmitter",art)
1219
PE.LightEmission=.8
1220
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
1221
PE.Size=NumberSequence.new(EyeSizes)
1222
PE.Transparency=NumberSequence.new(EyeTrans)
1223
PE.Lifetime=NumberRange.new(0.35,1.5)
1224
PE.Rotation=NumberRange.new(0,360)
1225
PE.Rate=999
1226
PE.VelocitySpread = 10000
1227
PE.Acceleration = Vector3.new(0,0,0)
1228
PE.Drag = 5
1229
PE.Speed = NumberRange.new(0,0,0)
1230
PE.Texture="http://www.roblox.com/asset/?id=1351966707"
1231
PE.ZOffset = -1.5
1232
PE.Name = "PE"
1233
PE.Enabled = false
1234
1235
local P=Instance.new("ParticleEmitter",art)
1236
P.LightEmission=.8
1237
P.Color = ColorSequence.new(BRICKC("Pink").Color)
1238
P.Size=NumberSequence.new(EyeSizes)
1239
P.Transparency=NumberSequence.new(EyeTrans)
1240
P.Lifetime=NumberRange.new(0.35,1.5)
1241
P.Rotation=NumberRange.new(0,360)
1242
P.Rate=999
1243
P.VelocitySpread = 10000
1244
P.Acceleration = Vector3.new(0,0,0)
1245
P.Drag = 5
1246
P.Speed = NumberRange.new(0,0,0)
1247
P.Texture="http://www.roblox.com/asset/?id=1351966707"
1248
P.ZOffset = -1.5
1249
P.Name = "P"
1250
P.Enabled = false
1251
 
1252
function particles(art)
1253
    local PARTICLES = PE:Clone()
1254
    PARTICLES.Parent = art
1255
end
1256
1257
function particles1(art)
1258
    local PARTICLES1 = P:Clone()
1259
    PARTICLES1.Parent = art
1260
end
1261
1262
function getbloody(victim,amount)
1263
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
1264
	PART.CFrame = victim.CFrame
1265
	local HITPLAYERSOUNDS = {"356551938","264486467"}
1266
	Debris:AddItem(PART,5)
1267
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1268
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1269
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1270
	local prtcl = asd:Clone()
1271
	prtcl.Parent = PART
1272
	prtcl:Emit(amount*10)
1273
end
1274
1275
local Particle = IT("ParticleEmitter",nil)
1276
Particle.Enabled = false
1277
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
1278
Particle.LightEmission = 0.5
1279
Particle.Rate = 150
1280
Particle.ZOffset = 1
1281
Particle.Rotation = NumberRange.new(-180, 180)
1282
Particle.RotSpeed = NumberRange.new(-180, 180)
1283
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1284
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
1285
1286
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1287
function ParticleEmitter(Table)
1288
	local PRTCL = Particle:Clone()
1289
	local Speed = Table.Speed or 5
1290
	local Drag = Table.Drag or 0
1291
	local Size1 = Table.Size1 or 1
1292
	local Size2 = Table.Size2 or 5
1293
	local Lifetime1 = Table.Lifetime1 or 1
1294
	local Lifetime2 = Table.Lifetime2 or 1.5
1295
	local Parent = Table.Parent or Torso
1296
	local Emit = Table.Emit or 100
1297
	local Offset = Table.Offset or 360
1298
	local Acel = Table.Acel or VT(0,0,0)
1299
	local Enabled = Table.Enabled or false
1300
	PRTCL.Parent = Parent
1301
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1302
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1303
	PRTCL.Speed = NumberRange.new(Speed)
1304
	PRTCL.VelocitySpread = Offset
1305
	PRTCL.Drag = Drag
1306
	PRTCL.Acceleration = Acel
1307
	if Enabled == false then
1308
		PRTCL:Emit(Emit)
1309
		Debris:AddItem(PRTCL,Lifetime2)
1310
	else
1311
		PRTCL.Enabled = true
1312
	end
1313
	return PRTCL
1314
end
1315
1316
function Zap(Table)
1317
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
1318
	local Duration = Table.Duration or 2
1319
	local Offset = Table.Offset or 2
1320
	local Individualize = Table.Individualize or false
1321
	local MaxRange = Table.MaxRange or 200
1322
	local SegmentLength = Table.SegmentLength or 5
1323
	local Transparency = Table.Transparency or 0
1324
	local Ignore = Table.Ignore or {}
1325
	local SIZE = Table.SIZE or 0.3
1326
	if not (StartPos and TargetPos) or not Character then
1327
		return
1328
	end
1329
	local LightningModel = IT("Folder", Effects)
1330
	LightningModel.Name = "ZAPP"
1331
	for i, v in pairs({Character, LightningModel}) do
1332
		table.insert(Ignore, v)
1333
	end
1334
	local LastPos = StartPos
1335
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
1336
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
1337
	local RayLength = (StartPos - RayPos).Magnitude
1338
	local Struck = false
1339
	local TotalSegments = math.ceil(RayLength / SegmentLength)
1340
	Direction = CFrame.new(StartPos, RayPos).lookVector
1341
	local LightningBolt = IT("Model", Effects)
1342
	LightningBolt.Name = "Lightning"
1343
	if not Individualize then
1344
		table.insert(LightningBolts, LightningBolt)
1345
	end
1346
	LastBolt = LightningBolt
1347
	Debris:AddItem(LightningBolt, Duration)
1348
	LightningBolt.Parent = LightningModel
1349
	for i = 1, TotalSegments do
1350
		if not Struck then
1351
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
1352
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
1353
			local SegmentVec = NewPos - LastPos
1354
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
1355
			local RayVec = LastPos - RayPos
1356
			local LightningPart = BaseLightning:Clone()
1357
			LightningPart.BrickColor = BrickColor.new(Color)
1358
			LightningPart.Transparency = Transparency
1359
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
1360
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
1361
			table.insert(Effects2, {
1362
				LightningPart,
1363
				"Disappear",
1364
				0.025,
1365
				1,
1366
				1,
1367
				1,
1368
				2
1369
			})
1370
			local CylinderMesh = IT("CylinderMesh", LightningPart)
1371
			local OrigCF = LightningPart.CFrame
1372
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
1373
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
1374
			LightningPart.Parent = LightningBolt
1375
			LastPos = NewPos
1376
		end
1377
	end
1378
	return {
1379
		RayHit = RayHit,
1380
		RayPos = RayPos,
1381
		RayNormal = RayNormal,
1382
		LightningModel = LightningModel
1383
	}
1384
end
1385
1386
function MagicSphere2(size,waitt,cframe,color)
1387
	local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1), true)
1388
	local mesh = IT("SpecialMesh",wave)
1389
	mesh.MeshType = "Sphere"
1390
	mesh.Scale = VT(size,size,size)
1391
	mesh.Offset = VT(0,0,0)
1392
	wave.CFrame = cframe
1393
	coroutine.resume(coroutine.create(function(PART)
1394
		for i = 1, waitt do
1395
			Swait()
1396
			mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
1397
			wave.Transparency = wave.Transparency - (1/waitt)
1398
		end
1399
		wave:remove()
1400
	end))
1401
end
1402
1403
function re(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
1404
    local CirclePart = IT("Model",Effects)
1405
    CirclePart.Name = "re"
1406
	local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0, 0, 0), false)
1407
	for i = 1, 45 do
1408
		local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS, WIDTH, SIZE * 0.65), false)
1409
		local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i * 8), RAD(0)), CF(0, 0, 0) * CF(SIZE * 4, 0, 0))
1410
	end
1411
	local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1412
	coroutine.resume(coroutine.create(function()
1413
		if DOESSPIN == true then
1414
			while true do
1415
				wait()
1416
				PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE * 2), RAD(0)), 1)
1417
			end
1418
		end
1419
	end))
1420
end
1421
1422
1423
function turnto(position)
1424
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1425
end
1426
 
1427
--//=================================\\
1428
--||         WEAPON CREATION
1429
--\\=================================//
1430
 
1431
function createaddon(position,size)
1432
	local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
1433
	local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
1434
	local part = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
1435
	local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
1436
end
1437
1438
local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(1.025*Player_Size,2.025*Player_Size,1.025*Player_Size),false)
1439
local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1440
FIST.CanCollide = true
1441
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,1.05*Player_Size,1.05*Player_Size),false)
1442
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1443
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.06*Player_Size,0.2*Player_Size,1.06*Player_Size),false)
1444
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1445
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.55*Player_Size,1.05*Player_Size),false)
1446
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1447
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.25*Player_Size,1.05*Player_Size),false)
1448
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.15 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
1449
MakeForm(part,"Wedge")
1450
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.05*Player_Size,0.25*Player_Size,1.05*Player_Size),false)
1451
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1452
MakeForm(part,"Wedge")
1453
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.035*Player_Size,0.3*Player_Size,1.035*Player_Size),false)
1454
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1455
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.035*Player_Size,0.3*Player_Size,1.035*Player_Size),false)
1456
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1457
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(1.1*Player_Size,1.1*Player_Size,1.1*Player_Size),false)
1458
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1459
MakeForm(part,"Wedge")
1460
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "Gauntlet Part", VT(1.15*Player_Size,1.15*Player_Size,1.15*Player_Size),false)
1461
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.05 * Player_Size, -0.505 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1462
MakeForm(part,"Wedge")
1463
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
1464
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1465
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
1466
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1467
local part = CreatePart(3, Weapon, "Granite", 0, 0, "Deep orange", "Gauntlet Part", VT(0.2*Player_Size,0.7*Player_Size,0.7*Player_Size),false)
1468
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.28 * Player_Size, -0.77 * Player_Size, 0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1469
createaddon(0.4,0.4)
1470
createaddon(0.5,0.3)
1471
createaddon(0.6,0.2)
1472
local part = CreatePart(3, Weapon, "Neon", 0, 0, "CGA brown", "Neon Gauntlet Part", VT(0.3*Player_Size,1.1*Player_Size,0.3*Player_Size),false)
1473
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1474
1475
for _, c in pairs(Weapon:GetChildren()) do
1476
    if c.ClassName == "Part" then
1477
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1478
    end
1479
end
1480
 
1481
Weapon.Parent = Character
1482
 
1483
Humanoid.Died:connect(function()
1484
    ATTACK = true
1485
end)
1486
 
1487
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")
1488
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")
1489
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")
1490
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")
1491
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.15, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1492
1493
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] laber", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
1494
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Z] laber", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
1495
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] laber", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3")
1496
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[E] laber", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4")
1497
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[U] Karma mode...", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text5")
1498
1499
--//=================================\\
1500
--||         DAMAGE FUNCTIONS
1501
--\\=================================//
1502
 
1503
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
1504
    local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
1505
    STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
1506
    local BODYGYRO = IT("BodyGyro", STATPART)
1507
    local BODYPOSITION = IT("BodyPosition", STATPART)
1508
    BODYPOSITION.P = 2000
1509
    BODYPOSITION.D = 100
1510
    BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
1511
    BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
1512
    game:GetService("Debris"):AddItem(STATPART ,5)
1513
    local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
1514
    BILLBOARDGUI.Adornee = STATPART
1515
    BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
1516
    BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
1517
    BILLBOARDGUI.AlwaysOnTop = false
1518
    local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
1519
    TEXTLABEL.BackgroundTransparency = 1
1520
    TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
1521
    TEXTLABEL.Text = TEXT
1522
    TEXTLABEL.Font = "SciFi"
1523
    TEXTLABEL.FontSize="Size42"
1524
    TEXTLABEL.TextColor3 = COLOR
1525
    TEXTLABEL.TextStrokeTransparency = 1
1526
    TEXTLABEL.TextScaled = true
1527
    TEXTLABEL.TextWrapped = true
1528
    coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
1529
        if LABELTYPE == "Normal" then
1530
            for i = 1, 30 do
1531
                Swait()
1532
                STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
1533
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
1534
            end
1535
        elseif LABELTYPE == "Debuff" then
1536
            for i = 1, 30 do
1537
                Swait()
1538
                STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
1539
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
1540
            end
1541
        elseif LABELTYPE == "Shock" then
1542
            local ORIGIN = STATPART.Position
1543
            for i = 1, 30 do
1544
                Swait()
1545
                STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
1546
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
1547
            end
1548
        end
1549
        THEPART.Parent = nil
1550
    end),STATPART, BODYPOSITION, TEXTLABEL)
1551
end
1552
 
1553
local Particle = IT("ParticleEmitter",nil)
1554
Particle.Enabled = false
1555
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1556
Particle.LightEmission = 2
1557
Particle.Rate = 200
1558
Particle.ZOffset = 2
1559
Particle.Rotation = NumberRange.new(-180, 180)
1560
Particle.RotSpeed = NumberRange.new(-180, 180)
1561
Particle.Texture = "http://www.roblox.com/asset/?id=1647687279"
1562
Particle.Color = ColorSequence.new(Color3.fromRGB(1,1,1),Color3.fromRGB(1,1,1))
1563
1564
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1565
function ParticleEmitter(Table)
1566
	local PRTCL = Particle:Clone()
1567
	local Speed = Table.Speed or 5
1568
	local Drag = Table.Drag or 0
1569
	local Size1 = Table.Size1 or 1
1570
	local Size2 = Table.Size2 or 5
1571
	local Lifetime1 = Table.Lifetime1 or 1
1572
	local Lifetime2 = Table.Lifetime2 or 1.5
1573
	local Parent = Table.Parent or Torso
1574
	local Emit = Table.Emit or 100
1575
	local Offset = Table.Offset or 360
1576
	local Acel = Table.Acel or VT(0,0,0)
1577
	local Enabled = Table.Enabled or false
1578
	PRTCL.Parent = Parent
1579
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1580
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1581
	PRTCL.Speed = NumberRange.new(Speed)
1582
	PRTCL.VelocitySpread = Offset
1583
	PRTCL.Drag = Drag
1584
	PRTCL.Acceleration = Acel
1585
	if Enabled == false then
1586
		PRTCL:Emit(Emit)
1587
		Debris:AddItem(PRTCL,Lifetime2)
1588
	else
1589
		PRTCL.Enabled = true
1590
	end
1591
	return PRTCL
1592
end
1593
1594
local TAUNT = false
1595
1596
--//=================================\\
1597
--||            DAMAGING
1598
--\\=================================//
1599
 
1600
function killnearest(position,range,maxstrength,direction)
1601
    for i,v in ipairs(workspace:GetChildren()) do
1602
    local body = v:GetChildren()
1603
        for part = 1, #body do
1604
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1605
                if(body[part].Position - position).Magnitude < range then
1606
                    if v.ClassName == "Model" then
1607
                        --v:BreakJoints()
1608
                    end
1609
                    local POS = position
1610
                    coroutine.resume(coroutine.create(function()
1611
                        body[part].Anchored = true
1612
                        body[part].Parent = Effects
1613
                        body[part].CanCollide = true
1614
                        local SIZE = body[part].Size
1615
                        body[part].Material = "Neon"
1616
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
1617
                        for i = 1, 75 do
1618
                            Swait()
1619
                            body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1620
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1621
                        end
1622
                        coroutine.resume(coroutine.create(function()
1623
                            while true do
1624
                                Swait()
1625
                                body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1626
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1627
                            end
1628
                        end))
1629
                        body[part].Anchored = false
1630
                        body[part].Velocity = direction.lookVector*maxstrength
1631
                    end))
1632
                end
1633
            end
1634
        end
1635
        if v.ClassName == "Part" then
1636
            if v.Anchored == false and (v.Position - position).Magnitude < range then
1637
                local POS = position
1638
                coroutine.resume(coroutine.create(function()
1639
                    v.Anchored = true
1640
                    v.Parent = Effects
1641
                    local SIZE = v.Size
1642
                    v.Material = "Neon"
1643
                    CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
1644
                    for i = 1, 75 do
1645
                        Swait()
1646
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1647
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1648
                    end
1649
                    coroutine.resume(coroutine.create(function()
1650
                        while true do
1651
                            Swait()
1652
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1653
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1654
                        end
1655
                    end))
1656
                    v.Anchored = false
1657
                    v.Velocity = direction.lookVector*maxstrength
1658
                end))
1659
            end
1660
        end
1661
    end
1662
end
1663
 
1664
function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
1665
	local dmg = math.huge
1666
	for i,v in ipairs(workspace:GetChildren()) do
1667
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1668
		local body = v:GetChildren()
1669
			for part = 1, #body do
1670
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1671
					if(body[part].Position - position).Magnitude < radius then
1672
						if v.ClassName == "Model" then
1673
							if v:FindFirstChild("Humanoid") then
1674
								if v.Humanoid.Health ~= 0 then
1675
									if CanBeDodgedByJumping == true then
1676
										if body[part].Position.Y < position.Y+5 then
1677
											if math.random(1,100) < critrate+1 then
1678
												v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1679
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1680
											else
1681
												v.Humanoid.Health = v.Humanoid.Health - dmg
1682
												StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1683
											end
1684
											local defence = Instance.new("BoolValue",v)
1685
											defence.Name = ("HitBy"..Player.Name)
1686
											game:GetService("Debris"):AddItem(defence, 0.25)
1687
										end
1688
									else
1689
										if beserk == true then
1690
											v.Humanoid.Health = 0
1691
										end
1692
										if math.random(1,100) < critrate+1 then
1693
											v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
1694
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
1695
										else
1696
											v.Humanoid.Health = v.Humanoid.Health - dmg
1697
											StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
1698
										end
1699
										local defence = Instance.new("BoolValue",v)
1700
										defence.Name = ("HitBy"..Player.Name)
1701
										game:GetService("Debris"):AddItem(defence, 0.25)
1702
									end
1703
								end
1704
							end
1705
						end
1706
						body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1707
					end
1708
				end
1709
			end
1710
			if v.ClassName == "Part" then
1711
				if v.Anchored == false and (v.Position - position).Magnitude < radius then
1712
					v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1713
				end
1714
			end
1715
		end
1716
	end
1717
end
1718
1719
function SpawnSoul(Humanoid)
1720
	coroutine.resume(coroutine.create(function()
1721
		local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
1722
		local SOULMODEL = IT("Model",Effects)
1723
		SOULMODEL.Name = Humanoid.Parent.Name.."'s Soul"
1724
		local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "White", "Head", VT(0.5,0.5,0.5))
1725
		SOUL.CFrame = CF(TORSO.Position)
1726
	 	local A1 = IT("Attachment",SOUL)
1727
	 	A1.Position = Vector3.new(0, 0.25, 0)
1728
	 	local A2 = IT("Attachment",SOUL)
1729
	    A2.Position = Vector3.new(0, -0.25, 0)
1730
	 	local Trail = IT("Trail",SOUL)
1731
	    Trail.LightEmission = 0.3
1732
	    Trail.FaceCamera = true
1733
	    Trail.Texture = "rbxassetid://945758042"
1734
	    Trail.Attachment0 = A1
1735
	    Trail.Attachment1 = A2
1736
	    Trail.Lifetime = 0.5
1737
	    Trail.MinLength = 0
1738
	    Trail.Transparency = NumberSequence.new(0)
1739
	    Trail.Color = ColorSequence.new(SOUL.Color)
1740
		MakeForm(SOUL,"Ball")
1741
		local DISTANCE = nil
1742
		local HUM = IT("Humanoid",SOULMODEL)
1743
		repeat
1744
			Swait()
1745
			SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
1746
			DISTANCE = (SOUL.Position - Torso.Position).Magnitude
1747
		until DISTANCE < 0.4
1748
		WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
1749
		SOUL.Transparency = 1
1750
		A1.Parent = Torso
1751
		A2.Parent = Torso
1752
		Trail.Parent = Torso
1753
		Debris:AddItem(SOULMODEL,10)
1754
		SOULWELL = SOULWELL + 1
1755
		for i = 1, 100 do
1756
			Swait()
1757
			Trail.Transparency = NumberSequence.new(i/100)
1758
		end
1759
		A1:remove()
1760
		A2:remove()
1761
		Trail:remove()
1762
	end))
1763
end
1764
1765
function new_mode()
1766
	ATTACK = true
1767
	Rooted = false
1768
	TAUNT = true
1769
	for i=0, 0.1, 0.1 / Animation_Speed do
1770
		Swait()
1771
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1772
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1773
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1774
	end
1775
	for i=0, 3, 0.1 / Animation_Speed do
1776
		Swait()
1777
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1778
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1779
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1780
	end
1781
	CreateSound(363808674, Torso, 10, 1.3)
1782
	for i=0, 1, 0.1 / Animation_Speed do
1783
		Swait()
1784
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
1785
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
1786
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1787
	end
1788
	CreateSound(649634100, Torso, 10, 0.8)
1789
	for i=0, 0.01, 0.1 / Animation_Speed do
1790
		Swait()
1791
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
1792
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1793
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1794
	end
1795
	ATTACK = false
1796
	Rooted = false
1797
	TAUNT = false
1798
end
1799
1800
function Shatter(Part)
1801
	if Part.Transparency == 0 then
1802
		local SOUNDPART = CreatePart(3, Effects, "Glass", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
1803
		Debris:AddItem(SOUNDPART,5)
1804
		CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
1805
		local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
1806
		local SIZESET = SIZE/4
1807
		local XOffset = Part.Size.X*1.5/SIZESET
1808
		local YOffset = Part.Size.Y*1.5/SIZESET
1809
		local ZOffset = Part.Size.Z*1.5/SIZESET
1810
		for x = 1, math.ceil(XOffset) do
1811
			for y = 1, math.ceil(YOffset) do
1812
				for z = 1, math.ceil(ZOffset) do
1813
					local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
1814
					SHARD.CanCollide = true
1815
					SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
1816
					SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
1817
					Debris:AddItem(SHARD,MRANDOM(10,25)/10)
1818
					for _, c in pairs(Part:GetChildren()) do
1819
						if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
1820
							c:Clone().Parent = SHARD
1821
						end
1822
					end
1823
				end
1824
			end
1825
		end
1826
	end
1827
	Part:remove()
1828
end
1829
1830
function createfireball(size,explosionsize,pos,velocity)
1831
	local FIREBALLCOLORS = {"yeller", "yeller", "yeller"}
1832
	local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
1833
	local FIREBALL = IT("Part",Effects)
1834
	FIREBALL.Shape = "Ball"
1835
	FIREBALL.Size = VT(size,size,size)
1836
	FIREBALL.Material = "Neon"
1837
	FIREBALL.CFrame = CF(pos)
1838
	FIREBALL.Transparency = 1
1839
	local bv = Instance.new("BodyVelocity") 
1840
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1841
	bv.velocity = velocity
1842
	bv.Parent = FIREBALL
1843
	bv.Name = "MOVE"
1844
	local HIT = false
1845
	local harm = FIREBALL.Touched:Connect(function(hit)
1846
		if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
1847
			HIT = true
1848
			coroutine.resume(coroutine.create(function()
1849
				FIREBALL.Anchored = true
1850
				FIREBALL.CanCollide = false
1851
				CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
1852
				AoEDamage(FIREBALL.Position,explosionsize*2,35,45,25,false,3,2,false,true)
1853
				for i = 1, 2 do
1854
					MagicBlock1(explosionsize/3/i,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1855
1856
MagicBlock1(explosionsize/1/i,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1857
				end
1858
				Swait(250)
1859
				FIREBALL:remove()
1860
			end))
1861
		end
1862
	end)
1863
	coroutine.resume(coroutine.create(function()
1864
		repeat
1865
			Swait()
1866
			MagicBlock2(size,25,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1867
		until HIT == true
1868
	end))
1869
	return FIREBALL
1870
end
1871
1872
function CreateWave3(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
1873
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
1874
    local mesh = IT("SpecialMesh",wave)
1875
    mesh.MeshType = "FileMesh"
1876
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
1877
    mesh.Scale = VT(size,size,size)
1878
    mesh.Offset = VT(0,0,-size/8)
1879
    wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
1880
    coroutine.resume(coroutine.create(function(PART)
1881
        for i = 1, waitt do
1882
            Swait()
1883
            mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
1884
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1885
            if doesrotate == true then
1886
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
1887
            end
1888
            wave.Transparency = wave.Transparency + (0.5/waitt)
1889
            if wave.Transparency > 0.99 then
1890
                wave:remove()
1891
            end
1892
        end
1893
    end))
1894
end
1895
1896
function Erupt(cframe,size)
1897
	coroutine.resume(coroutine.create(function()
1898
		local FIREBALLCOLORS = {"Deep orange", "Deep orange", "Deep orange"}
1899
		local FIREPILLARHITSOUNDS = {"171378971", "646619365", "472579737", "144140670"}
1900
		for i = 1, 5 do
1901
			CreateSwirl(0,i,true,-0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1902
			Swait(15)
1903
		end
1904
		AoEDamage(cframe.p,size,35,45,25,false,3,2,false,true)
1905
		local brick = IT("Part",Effects)
1906
		brick.CanCollide = false
1907
		brick.Anchored = true
1908
		brick.Size = VT(0,0,0)
1909
		brick.Transparency = 1
1910
		brick.Name = "POS"
1911
		brick.CFrame = cframe
1912
		game:GetService("Debris"):AddItem(brick, 5)
1913
		AoEDamage(brick.Position,size*2,35,45,25,false,3,2,false,true)
1914
		CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], brick, 3, 1)
1915
		MagicSphere1(size,25,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1916
		MagicSphere1(size/2,35,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1917
		MagicSphere1(size/3,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1918
		MagicSphere2(size*5,25,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1919
		CreateSwirl1(0,size,true,0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1920
		CreateSwirl1(0,size,true,0.35,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1921
		CreateSwirl1(0,size,true,0.1,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1922
		CreateSwirl1(0,size,true,-0.5,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1923
		CreateSwirl1(0,size,true,-0.35,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1924
		CreateSwirl1(0,size,true,-0.1,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1925
		MagicBlock1(size/6,45,cframe,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)])
1926
	end))
1927
end
1928
1929
function killnearest1(position,range,maxstrength)
1930
	for i,v in ipairs(workspace:GetChildren()) do
1931
	local body = v:GetChildren()
1932
		for part = 1, #body do
1933
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1934
				if(body[part].Position - position).Magnitude < range then
1935
					if v.ClassName == "Model" then
1936
						v:BreakJoints()
1937
					end
1938
					table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
1939
					body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1940
				end
1941
			end
1942
		end
1943
		if v.ClassName == "Part" then
1944
			if v.Anchored == false and (v.Position - position).Magnitude < range then
1945
				table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
1946
				v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
1947
			end
1948
		end
1949
	end
1950
end
1951
1952
function KillChildren(v)
1953
    v:BreakJoints()
1954
    for _, c in pairs(v:GetChildren()) do
1955
        if c.ClassName == "Part" or c.ClassName == "MesPart" then
1956
            if c.Transparency < 1 then
1957
                if c:FindFirstChildOfClass("Decal") then
1958
                    c:FindFirstChildOfClass("Decal"):remove()
1959
                end
1960
                particles(c)
1961
                c.PE.Enabled = true
1962
                c.Parent = Effects
1963
                c.CanCollide = false
1964
                c.Material = "Neon"
1965
                c.Color = C3(1,0,0)
1966
                c.Transparency = 0.5
1967
                local grav = Instance.new("BodyPosition",c)
1968
                grav.P = 20000
1969
                grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1970
                grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
1971
                grav.Name = "GravityForce"
1972
                coroutine.resume(coroutine.create(function()
1973
                for i = 1, 50 do
1974
                    Swait()
1975
                    c.Transparency = c.Transparency + 0.01
1976
                end
1977
                c.PE.Enabled = false
1978
                Debris:AddItem(c,2)
1979
                end))
1980
            end
1981
        end
1982
    end
1983
end
1984
1985
function KillChildren1(v)
1986
    v:BreakJoints()
1987
    for _, c in pairs(v:GetChildren()) do
1988
        if c.ClassName == "Part" or c.ClassName == "MesPart" then
1989
            if c.Transparency < 1 then
1990
                if c:FindFirstChildOfClass("Decal") then
1991
                    c:FindFirstChildOfClass("Decal"):remove()
1992
                end
1993
                particles1(c)
1994
                c.P.Enabled = true
1995
                c.Parent = Effects
1996
                c.CanCollide = false
1997
                c.Material = "Neon"
1998
                c.Color = C3(0.5,0,0.5)
1999
                c.Transparency = 0.5
2000
                local grav = Instance.new("BodyPosition",c)
2001
                grav.P = 20000
2002
                grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2003
                grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
2004
                grav.Name = "GravityForce"
2005
                coroutine.resume(coroutine.create(function()
2006
                for i = 1, 50 do
2007
                    Swait()
2008
                    c.Transparency = c.Transparency + 0.01
2009
                end
2010
                c.P.Enabled = false
2011
                Debris:AddItem(c,2)
2012
                end))
2013
            end
2014
        end
2015
    end
2016
end
2017
 
2018
function killnearest2(position,range)
2019
    for i,v in ipairs(workspace:GetChildren()) do
2020
    local body = v:GetChildren()
2021
        for part = 1, #body do
2022
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2023
                if(body[part].Position - position).Magnitude < range then
2024
                    if v.ClassName == "Model" then
2025
                        KillChildren(v)
2026
                    end
2027
                end
2028
            end
2029
        end
2030
    end
2031
end
2032
2033
function killnearest3(position,range)
2034
    for i,v in ipairs(workspace:GetChildren()) do
2035
    local body = v:GetChildren()
2036
        for part = 1, #body do
2037
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2038
                if(body[part].Position - position).Magnitude < range then
2039
                    if v.ClassName == "Model" then
2040
                        KillChildren1(v)
2041
                    end
2042
                end
2043
            end
2044
        end
2045
    end
2046
end
2047
2048
function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
2049
	if FLOOR ~= nil then
2050
		coroutine.resume(coroutine.create(function()
2051
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
2052
			PART.CFrame = CF(POSITION)
2053
			for i = 1, 45 do
2054
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
2055
				RingPiece.Material = FLOOR.Material
2056
				RingPiece.Color = FLOOR.Color
2057
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2058
				Debris:AddItem(RingPiece,SWAIT)
2059
			end
2060
			PART:remove()
2061
		end))
2062
	end
2063
end
2064
2065
function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
2066
	if FLOOR ~= nil then
2067
		for i = 1, AMOUNT do
2068
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
2069
			DEBREE.Material = FLOOR.Material
2070
			DEBREE.Color = FLOOR.Color
2071
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2072
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
2073
			coroutine.resume(coroutine.create(function()
2074
				Swait(15)
2075
				DEBREE.Parent = workspace
2076
				DEBREE.CanCollide = true
2077
				Debris:AddItem(DEBREE,SWAIT)
2078
			end))
2079
		end
2080
	end
2081
end
2082
2083
function ApplyDamage1(Humanoid,Damage,CritRate,CritMultiplier,DoesOneShot)
2084
	coroutine.resume(coroutine.create(function()
2085
		local defence = Instance.new("BoolValue",Humanoid.Parent)
2086
		defence.Name = ("HitBy"..Player.Name)
2087
		game:GetService("Debris"):AddItem(defence, 0.001)
2088
		Damage = Damage * DAMAGEMULTIPLIER
2089
		if Humanoid.Health ~= 0 then
2090
			local CritChance = MRANDOM(1,100)
2091
			if CritChance < CritRate + 1 then
2092
				Damage = Damage*CritMultiplier
2093
			end
2094
			if Damage > Humanoid.Health then
2095
				Damage = math.ceil(Humanoid.Health)
2096
				if Damage == 0 then
2097
					Damage = 0.1
2098
				end
2099
			end
2100
			if DoesOneShot == false then
2101
				for _, c in pairs(Humanoid.Parent:GetChildren()) do
2102
					if c.Name ~= "HumanoidRootPart" and c.Name ~= "Torso" and c.Name ~= "Head" and c.Name ~= "UpperTorso" and c.Name ~= "LowerTorso" then
2103
						if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2104
							if MRANDOM(1,20) == 1 then
2105
								Shatter(c)
2106
							end
2107
						end
2108
					end
2109
				end
2110
				Humanoid.Health = Humanoid.Health - Damage
2111
				if Humanoid.Parent:FindFirstChild("Head") then
2112
					CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 5, 1)
2113
					if CritChance < CritRate + 1 then
2114
						StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
2115
					else
2116
						StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
2117
					end
2118
				end
2119
			elseif DoesOneShot == true then
2120
				--print("["..Humanoid.Parent.Name.."]: One shot!? Really!?!?")
2121
				Humanoid.Parent:BreakJoints()
2122
				if Humanoid.Parent:FindFirstChild("Head") then
2123
					StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "INF", C3(1, 0, 0))
2124
				end
2125
				for _, c in pairs(Humanoid.Parent:GetChildren()) do
2126
					if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2127
						Shatter(c)
2128
					end
2129
				end
2130
			end
2131
			if Humanoid.Health == 0 then
2132
				--print("["..Humanoid.Parent.Name.."]: It's like stepping on glass, but worse!")
2133
				SpawnSoul(Humanoid)
2134
				for _, c in pairs(Humanoid.Parent:GetChildren()) do
2135
					if c.ClassName == "Part" or c.ClassName == "MeshPart" then
2136
						Shatter(c)
2137
					end
2138
				end
2139
			end
2140
		end
2141
	end))
2142
end
2143
2144
function AoEDamage1(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
2145
	local dmg = math.random(10000,100000)
2146
	for i,v in ipairs(workspace:GetChildren()) do
2147
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
2148
		local body = v:GetChildren()
2149
			for part = 1, #body do
2150
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2151
					if(body[part].Position - position).Magnitude < radius then
2152
						if v.ClassName == "Model" then
2153
							if v:FindFirstChildOfClass("Humanoid") then
2154
								ApplyDamage1(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
2155
								local bv = Instance.new("BodyVelocity") 
2156
								bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2157
								bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
2158
								bv.Parent = body[part]
2159
								Debris:AddItem(bv,0.2)
2160
							end
2161
						end
2162
					end
2163
				end
2164
			end
2165
		end
2166
		if v:FindFirstChild("HitBy"..Player.Name) then
2167
			v:FindFirstChild("HitBy"..Player.Name):remove()
2168
		end
2169
	end
2170
end
2171
2172
local HANDFOLDER = IT("Folder",Weapon)
2173
HANDFOLDER.Name = "Hands"
2174
2175
--//=================================\\
2176
--||    ATTACK FUNCTIONS AND STUFF
2177
--\\=================================//
2178
 
2179
function AttackTemplate()
2180
    ATTACK = true
2181
    Rooted = false
2182
    for i=0, 1, 0.1 / Animation_Speed do
2183
        Swait()
2184
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
2185
        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.1 / Animation_Speed)
2186
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
2187
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
2188
        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)
2189
        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)
2190
    end
2191
    ATTACK = false
2192
    Rooted = false
2193
end
2194
 
2195
function turnto(pos)
2196
	RootPart.CFrame = CF(RootPart.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
2197
end
2198
2199
function Fire()
2200
	ATTACK = true
2201
	Rooted = true
2202
	CreateSound("169445572", RightArm, 2, 1.6)
2203
	for i=0, 5, 0.1 / Animation_Speed2 do
2204
		Swait()
2205
		turnto(Mouse.Hit.p)
2206
		MagicSphere(0.8,15,RightArm.CFrame * CF(0,-1.5,0),"CGA brown")
2207
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
2208
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
2209
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
2210
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
2211
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
2212
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
2213
	end
2214
	local aimpos = Mouse.Hit.p
2215
	createfireball(4,8,RightArm.CFrame * CF(0,-5,0).p,CF(RightArm.CFrame * CF(0,-5,0).p,aimpos).lookVector*100)
2216
	for i=0, 1.5, 0.1 / Animation_Speed2 do
2217
		Swait()
2218
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
2219
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
2220
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
2221
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
2222
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
2223
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
2224
	end
2225
	ATTACK = false
2226
	Rooted = false
2227
end
2228
2229
function PinkPunch()
2230
    ATTACK = true
2231
    Rooted = false
2232
    local SPEED = Speed
2233
    Speed = 8
2234
    CreateSound("136007472", RightArm, 10, 1.1)
2235
    for i=0, 3, 0.1 / Animation_Speed do
2236
        Swait()
2237
        turnto(Mouse.Hit.p)
2238
        MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Pink",VT(-1/15,-1/15,-1/15))
2239
        MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Pink",VT(-2/15,-2/15,-2/15))
2240
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
2241
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
2242
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2243
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2244
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2245
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2246
    end
2247
    for i=0, 0.15, 0.1 / Animation_Speed do
2248
        Swait()
2249
        turnto(Mouse.Hit.p)
2250
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
2251
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
2252
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2253
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2254
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2255
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2256
    end
2257
    local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Pink", "Punch", VT(50,50,50),false)
2258
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
2259
    PART.Shape = "Ball"
2260
    local bv = Instance.new("BodyVelocity")
2261
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2262
    bv.velocity = RootPart.CFrame.lookVector*600
2263
    bv.Parent = PART
2264
    bv.Name = "PROJECTILEVELOCITY"
2265
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Pink",VT(2.5,0.2,2.5))
2266
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Pink",VT(3,0.2,3))
2267
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Pink",VT(2,0.6,2))
2268
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Pink",VT(2.2,0.6,2.2))
2269
    CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
2270
    coroutine.resume(coroutine.create(function()
2271
        for i = 1, 10 do
2272
            Swait()
2273
            PART.Transparency = PART.Transparency + 0.2/10
2274
            PART.Size = PART.Size + VT(5,5,5)
2275
            killnearest3(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
2276
        end
2277
        PART:Destroy()
2278
    end))
2279
    for i=0, 1, 0.1 / Animation_Speed do
2280
        Swait()
2281
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
2282
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
2283
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2284
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2285
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
2286
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
2287
    end
2288
    Speed = SPEED
2289
    ATTACK = false
2290
    Rooted = false
2291
end
2292
2293
function GoldenPunch()
2294
    ATTACK = true
2295
    Rooted = false
2296
    local SPEED = Speed
2297
    Speed = 8
2298
    CreateSound("169445572", RightArm, 10, 1.1)
2299
    for i=0, 4, 0.1 / Animation_Speed do
2300
        Swait()
2301
        turnto(Mouse.Hit.p)
2302
        MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Deep orange",VT(-1/15,-1/15,-1/15))
2303
        MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Gold",VT(-2/15,-2/15,-2/15))
2304
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
2305
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
2306
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2307
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2308
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2309
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2310
    end
2311
    for i=0, 0.15, 0.1 / Animation_Speed do
2312
        Swait()
2313
        turnto(Mouse.Hit.p)
2314
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
2315
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
2316
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2317
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2318
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2319
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2320
    end
2321
    local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Gold", "Punch", VT(50,50,50),false)
2322
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
2323
    PART.Shape = "Ball"
2324
    local bv = Instance.new("BodyVelocity")
2325
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2326
    bv.velocity = RootPart.CFrame.lookVector*600
2327
    bv.Parent = PART
2328
    bv.Name = "PROJECTILEVELOCITY"
2329
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(2.5,0.2,2.5))
2330
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(3,0.2,3))
2331
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(2,0.6,2))
2332
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(2.2,0.6,2.2))
2333
    CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
2334
    coroutine.resume(coroutine.create(function()
2335
        for i = 1, 10 do
2336
            Swait()
2337
            PART.Transparency = PART.Transparency + 0.2/10
2338
            PART.Size = PART.Size + VT(5,5,5)
2339
            killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
2340
        end
2341
        PART:Destroy()
2342
    end))
2343
    for i=0, 1, 0.1 / Animation_Speed do
2344
        Swait()
2345
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
2346
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
2347
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2348
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2349
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
2350
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
2351
    end
2352
    Speed = SPEED
2353
    ATTACK = false
2354
    Rooted = false
2355
end
2356
2357
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
2358
	coroutine.resume(coroutine.create(function()
2359
		local METEOR = IT("Model",Effects)
2360
		METEOR.Name = "Meteorite"
2361
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2362
		METEOR.PrimaryPart = CENTER
2363
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2364
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2365
		for i = 1, 15 do
2366
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
2367
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2368
		end
2369
		if ISDEBREE ~= true then
2370
			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))))
2371
		else
2372
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2373
		end
2374
		local IMPACT = false
2375
		CreateSound(463593339, CENTER, 10, 0.6)
2376
		if SIZE >= 3.5 then
2377
			for i = 1, MRANDOM(3,7) do
2378
				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)
2379
			end
2380
		end
2381
		for i = 1, 200 do
2382
			Swait()
2383
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
2384
			if HITFLOOR == nil then
2385
				local ORI = CENTER.Orientation
2386
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2387
			else
2388
				if HITFLOOR.Anchored == true then
2389
					CreateDebreeRing1(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
2390
					CreateFlyingDebree1(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
2391
				end
2392
				IMPACT = true
2393
				break
2394
			end
2395
		end
2396
		if IMPACT == true then
2397
			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 = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2398
			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 = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
2399
			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 = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2400
			killnearest2(CENTER.Position,30*SIZE)
2401
		end
2402
		METEOR:remove()
2403
	end))
2404
end
2405
2406
function Q()
2407
	ATTACK = true
2408
	Rooted = false
2409
	CreateSound(1368573150, RightArm, 3, 1.5)
2410
	for i=0, 0.6, 0.1 / Animation_Speed do
2411
		Swait()
2412
		WACKYEFFECT({TIME = 15, 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,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2413
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2414
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2415
	end
2416
	local POWER1 = 0
2417
	repeat 
2418
		Swait() 
2419
		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,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2420
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2421
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2422
		POWER1 = POWER1 + 10
2423
		if POWER1 >= 100 then
2424
			POWER1 = 100
2425
		end
2426
	until KEYHOLD == false
2427
	if POWER1 < 1 then
2428
		SpawnMeteor(Mouse.Hit.p/2)
2429
	else
2430
		if POWER1 < 100 then
2431
			POWER1 = 100
2432
		end
2433
		SpawnMeteor(Mouse.Hit.p,POWER1/59)
2434
	end
2435
	ATTACK = false
2436
	Rooted = false
2437
end
2438
2439
function Mach20()
2440
    local ORIGIN = RootPart.Position
2441
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
2442
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
2443
    CreateWave3(0,5,true,-0.2,150,RootPart,-2,"Pearl")
2444
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
2445
    SOUNDPART.CFrame = RootPart.CFrame
2446
    Debris:AddItem(SOUNDPART,5)
2447
    CreateSound("1295446488", SOUNDPART, 2, 1)
2448
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
2449
    Swait()
2450
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
2451
    CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
2452
    CreateWave3(0,5,true,-0.2,150,RootPart,-2,"Pearl")
2453
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
2454
    SOUNDPART.CFrame = RootPart.CFrame
2455
    Debris:AddItem(SOUNDPART,5)
2456
    CreateSound("1295446488", SOUNDPART, 2, 1)
2457
    if MRANDOM(1,8) == 1 then
2458
        ATTACK = true
2459
        Rooted = true
2460
        local FRUITSTABLE = {
2461
            {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
2462
            {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
2463
            {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
2464
        }
2465
        local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
2466
        local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
2467
        CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
2468
        FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
2469
        weldBetween(RightArm,FRUITMODEL)
2470
        for i=0, 4, 0.1 / Animation_Speed do
2471
            Swait()
2472
            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)
2473
            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)
2474
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2475
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2476
            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)
2477
            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)
2478
        end
2479
        CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
2480
        FRUITMODEL:remove()
2481
        for i = 1, 15 do
2482
            Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
2483
        end
2484
        for i=0, 0.5, 0.1 / Animation_Speed do
2485
            Swait()
2486
            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)
2487
            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)
2488
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2489
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2490
            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)
2491
            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)
2492
        end
2493
        ATTACK = false
2494
        Rooted = false
2495
    end
2496
end
2497
 
2498
function ImplosionCollision()
2499
    ATTACK = true
2500
    Rooted = true
2501
    CreateSound("169445572", RightArm, 10, 0.8)
2502
    for i=0, 8, 0.1 / Animation_Speed do
2503
        Swait()
2504
        turnto(Mouse.Hit.p)
2505
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Gold",VT(0.2,0,0.2))
2506
        Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Gold", 1.1)
2507
        MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
2508
        MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Gold",VT(0.001,0.001,2),0)
2509
        MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Deep orange",VT(-1/15,-1/15,-1/15))
2510
        MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Gold",VT(-2/15,-2/15,-2/15))
2511
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
2512
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
2513
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2514
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2515
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2516
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2517
    end
2518
    for i=0, 0.15, 0.1 / Animation_Speed do
2519
        Swait()
2520
        turnto(Mouse.Hit.p)
2521
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
2522
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
2523
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2524
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2525
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2526
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2527
    end
2528
    MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Gold",VT(-0.04,-0.04,-0.04))
2529
    MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
2530
    coroutine.resume(coroutine.create(function()
2531
        Swait(100)
2532
        for i = 1, 5 do
2533
            MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Gold",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
2534
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(4.5*i,0.2,4.5*i))
2535
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(5*i,0.2,5*i))
2536
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Gold",VT(4*i,0.6,4*i))
2537
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Gold",VT(5.2*i,0.6,5.2*i))
2538
        end
2539
        killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
2540
        for i = 1, 5 do
2541
            CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
2542
            CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
2543
        end
2544
        coroutine.resume(coroutine.create(function()
2545
            for i = 1, 50 do
2546
                Swait()
2547
                for i = 1, 1 do
2548
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
2549
                end
2550
                for i = 1, 2 do
2551
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Gold", 1 + MRANDOM(1,30)/3)
2552
                end
2553
            end
2554
        end))
2555
    end))
2556
    for i=0, 4, 0.1 / Animation_Speed do
2557
        Swait()
2558
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
2559
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
2560
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2561
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2562
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
2563
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
2564
    end
2565
    ATTACK = false
2566
    Rooted = false
2567
end
2568
 
2569
function W()
2570
    ATTACK = true
2571
    Rooted = true
2572
    UNANCHOR = false
2573
    RootPart.Anchored = true
2574
    MagicSphere(VT(0,0,0),15,Torso.CFrame,"Really red",VT(2,2,2))
2575
    MagicSphere(VT(0,0,0),15,Torso.CFrame,"Really red",VT(2,2,2))
2576
    for i=0, 0.5, 0.1 / Animation_Speed do
2577
        Swait()
2578
        CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
2579
        MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
2580
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2581
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2582
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2583
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2584
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2585
    end
2586
    for i = 1, 10 do
2587
        Swait()
2588
        CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
2589
        MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
2590
        for _, c in pairs(HANDFOLDER:GetChildren()) do
2591
            if c.ClassName == "Part" then
2592
                c.Transparency = c.Transparency + 0.1
2593
            end
2594
        end
2595
    end
2596
    for i=0, 1, 0.1 / Animation_Speed do
2597
        Swait()
2598
        CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
2599
        MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
2600
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2601
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2602
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2603
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2604
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2605
    end
2606
    local ORIGIN = RootPart.Position
2607
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
2608
    for i=0, 1, 0.1 / Animation_Speed do
2609
        Swait()
2610
        CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
2611
        MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5))
2612
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2613
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2614
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2615
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2616
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2617
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2618
    end
2619
    UNANCHOR = true
2620
    RootPart.Anchored = false
2621
    for i = 1, 10 do
2622
        Swait()
2623
        CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(1,1,0))
2624
        MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really red",VT(0.5,0,0.5))
2625
        for _, c in pairs(HANDFOLDER:GetChildren()) do
2626
            if c.ClassName == "Part" then
2627
                c.Transparency = c.Transparency - 0.1
2628
            end
2629
        end
2630
    end
2631
    ATTACK = false
2632
    Rooted = false
2633
end
2634
2635
function t()
2636
	ATTACK = true
2637
	--Rooted = true
2638
	for i=0, 2, 0.1 / Animation_Speed do
2639
		Swait()
2640
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2641
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2642
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2643
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2644
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2645
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2646
	end
2647
	local winz = CreateSound("958211048", Head, 50, 1)
2648
	local loop = 0
2649
	repeat
2650
		Swait()
2651
		loop = loop + 1
2652
		if loop == 25 then
2653
			loop = 0
2654
			Humanoid.Jump = true
2655
		end
2656
	until winz.Playing == false
2657
	ATTACK = false
2658
	--Rooted = false
2659
end
2660
2661
local asd = Instance.new("ParticleEmitter")
2662
asd.Color = ColorSequence.new(Color3.new(0, 0, 0))
2663
asd.LightEmission = .1
2664
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
2665
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 4),NumberSequenceKeypoint.new(1, 8)})
2666
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2667
asd.Transparency = bbb
2668
asd.Size = aaa
2669
asd.ZOffset = .9
2670
asd.Acceleration = Vector3.new(0, 0, 0)
2671
asd.LockedToPart = false
2672
asd.EmissionDirection = "Back"
2673
asd.Lifetime = NumberRange.new(1, 2)
2674
asd.Rotation = NumberRange.new(-100, 100)
2675
asd.RotSpeed = NumberRange.new(-100, 100)
2676
asd.Speed = NumberRange.new(6)
2677
asd.Enabled = false
2678
asd.Drag = 3
2679
asd.VelocitySpread = 10000
2680
 
2681
function poofcloud(pos,amount)
2682
local prt = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Poof", VT(0,0,0))
2683
prt.Anchored = true
2684
prt.CFrame = CF(pos)
2685
local prtcl = asd:Clone()
2686
prtcl.Parent = prt
2687
prtcl:Emit(amount)
2688
CreateSound("966888080", prt, 6, (math.random(12,16)/10))
2689
coroutine.resume(coroutine.create(function()
2690
    wait(3)
2691
    prt:remove()
2692
end))
2693
end
2694
 
2695
local naeeym2 = Instance.new("BillboardGui",Character)
2696
naeeym2.AlwaysOnTop = true
2697
naeeym2.Size = UDim2.new(5,35,2,35)
2698
naeeym2.StudsOffset = Vector3.new(0,1,0)
2699
naeeym2.Adornee = Character.Head
2700
naeeym2.Name = "Name"
2701
local tecks2 = Instance.new("TextLabel",naeeym2)
2702
tecks2.BackgroundTransparency = 1
2703
tecks2.TextScaled = true
2704
tecks2.BorderSizePixel = 0
2705
tecks2.Text = "Laber"
2706
tecks2.Font = "Antique"
2707
tecks2.TextSize = 30
2708
tecks2.TextStrokeTransparency = 0
2709
tecks2.TextColor3 = Color3.new(1,1,1)
2710
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
2711
tecks2.Size = UDim2.new(1,0,0.5,0)
2712
tecks2.Parent = naeeym2
2713
2714
function ghost()
2715
    tecks2.TextTransparency = 1
2716
    poofcloud(Torso.Position,50)
2717
    g = Character:GetChildren()
2718
    for i = 1, #g do
2719
        if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
2720
            g[i].Transparency = 1
2721
            Head.face.Transparency = 1
2722
        elseif g[i].ClassName == "Accessory" then
2723
            g[i].Handle.Transparency = 1
2724
        end
2725
    end
2726
    g = Weapon:GetChildren()
2727
    for i = 1, #g do
2728
        if g[i].ClassName == "Part" then
2729
            g[i].Transparency = 1
2730
        end
2731
    end
2732
end
2733
 
2734
function Trail(Part)
2735
    local TRAIL = Part:Clone()
2736
    TRAIL.CanCollide = false
2737
    TRAIL.Anchored = true
2738
    TRAIL.Parent = Effects
2739
    TRAIL.Name = "Trail"
2740
    local TRANS = Part.Transparency
2741
    coroutine.resume(coroutine.create(function()
2742
        for i = 1, 20 do
2743
            Swait()
2744
            TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
2745
        end
2746
        TRAIL:remove()
2747
    end))
2748
end
2749
 
2750
function noghost()
2751
    tecks2.TextTransparency = 0
2752
    poofcloud(Torso.Position,50)
2753
    g = Character:GetChildren()
2754
    for i = 1, #g do
2755
        if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
2756
            g[i].Transparency = 0
2757
            Head.face.Transparency = 0
2758
        elseif g[i].ClassName == "Accessory" then
2759
            g[i].Handle.Transparency = 0
2760
        end
2761
    end
2762
    g = Weapon:GetChildren()
2763
    for i = 1, #g do
2764
        if g[i].ClassName == "Part" then
2765
            g[i].Transparency = 0
2766
        end
2767
    end
2768
end
2769
2770
local SHIELD = false
2771
2772
function shield()
2773
	if SHIELD == false then
2774
		SHIELD = true
2775
		coroutine.resume(coroutine.create(function()
2776
			local woa = IT("Part",Effects)
2777
			woa.Size = VT(5,12,0)
2778
			woa.CFrame = RootPart.CFrame * CF(0,3,-7)
2779
			woa.Anchored = true
2780
			local mesh = IT("SpecialMesh",woa)
2781
			mesh.MeshType = "FileMesh"
2782
			mesh.MeshId = "rbxassetid://1044207043"
2783
			mesh.TextureId = "rbxassetid://1044207051"
2784
			mesh.Scale = VT(3,3,3)
2785
			CreateSound("638062404", woa, 50, 1)
2786
			local woosh = woa.Touched:Connect(function(hit)
2787
				if hit.Parent.ClassName == "Model" then
2788
					hit.Parent:BreakJoints()
2789
					CreateSound("978878312", hit, 2, 1)
2790
				elseif hit.ClassName == "Part" and hit.Anchored == false then
2791
					hit:remove()
2792
				end
2793
			end) 
2794
			repeat
2795
				Swait()
2796
				woa.CFrame = RootPart.CFrame * CF(0,3,-7)
2797
			until SHIELD == false
2798
			woosh:disconnect()
2799
			CreateSound("638062404", woa, 50, 1)
2800
			woa.Anchored = false
2801
			local bv = Instance.new("BodyVelocity") 
2802
			bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2803
			bv.velocity = RootPart.CFrame.lookVector*150
2804
			bv.Parent = woa
2805
			bv.Name = "DASH"
2806
			local paw = woa.Touched:Connect(function(hit)
2807
				if hit.Parent.ClassName == "Model" then
2808
					woa:remove()
2809
					hit.Parent:BreakJoints()
2810
					CreateSound("978878312", hit, 2, 1)
2811
				end
2812
			end) 
2813
		end))
2814
	elseif SHIELD == true then
2815
		SHIELD = false
2816
	end
2817
end
2818
2819
function dab()
2820
	ATTACK = true
2821
	Rooted = true
2822
	local lookatmydab = CreateSound("420701460", Head, 50, 1)
2823
	sick.Volume = 10
2824
	for i=0, 1, 0.1 / Animation_Speed do
2825
		killnearest1(RootPart.Position,25,150)
2826
		Swait()
2827
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
2828
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
2829
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(15), RAD(-35), RAD(-100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*4)
2830
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*4)
2831
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
2832
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
2833
	end
2834
	repeat 
2835
		killnearest1(RootPart.Position,25,150)
2836
		Swait() 
2837
	until lookatmydab.Playing == false
2838
	sick.Volume = 1
2839
	ATTACK = false
2840
	Rooted = false
2841
end
2842
2843
function go()
2844
	ATTACK = true
2845
	Rooted = true
2846
	local target = nil
2847
	local targettorso = nil
2848
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2849
		target = Mouse.Target.Parent.Humanoid
2850
		targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
2851
	end
2852
	if target ~= nil then
2853
		targettorso.Anchored = true
2854
		for i=0, 1, 0.1 / Animation_Speed do
2855
			Swait()
2856
			RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)	
2857
			targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)	
2858
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2859
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2860
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2861
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2862
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2863
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2864
		end
2865
		local omae = CreateSound("940337206", Head, 50, 1)
2866
		repeat 	
2867
			Swait()
2868
			RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)	
2869
			if target then
2870
				targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)	
2871
			end
2872
		until omae.Playing == false
2873
		if target then
2874
			local nani = CreateSound("948494432", targettorso, 50, 1)
2875
			repeat 	
2876
				Swait()
2877
				RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)	
2878
				if target then
2879
					targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)	
2880
				end	
2881
			until nani.Playing == false
2882
			target.Parent:BreakJoints()
2883
			targettorso.Anchored = false
2884
			local boom = Instance.new("Explosion",workspace)
2885
			boom.Position = targettorso.Position
2886
	 		CreateSound("691216625", targettorso, 50, 1)
2887
		end
2888
	end
2889
	Rooted = false
2890
	ATTACK = false
2891
end
2892
2893
function yo()
2894
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2895
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
2896
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
2897
		if TORSO and HUM.Health > 0 then
2898
			ATTACK = true
2899
			Rooted = false
2900
			local GYRO = IT("BodyGyro",RootPart)
2901
			GYRO.D = 275
2902
			GYRO.P = 20000
2903
			GYRO.MaxTorque = VT(0,40000,0)
2904
			for i=0, 0.8, 0.1 / Animation_Speed do
2905
				Swait()
2906
				GYRO.cframe = CF(RootPart.Position,TORSO.Position)
2907
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2908
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2909
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2910
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2911
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2912
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2913
			end			
2914
			local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
2915
			MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
2916
			local grav = Instance.new("BodyPosition",TORSO)
2917
			grav.D = 1500
2918
			grav.P = 20000
2919
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2920
			grav.position = TORSO.Position+VT(0,15,0)
2921
			Debris:AddItem(grav,10)
2922
			Debris:AddItem(MAGIC,10)
2923
			CreateSound(429459101, Torso, 7, 1, false)
2924
			CreateSound(429459101, TORSO, 7, 1, false)
2925
			for i=0, 1, 0.1 / Animation_Speed do
2926
				Swait()
2927
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2928
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2929
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2930
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2931
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2932
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2933
			end
2934
			GYRO:remove()
2935
			ATTACK = false
2936
			Rooted = false
2937
		end
2938
	end
2939
end
2940
2941
function ro()
2942
	ATTACK = true
2943
	Rooted = true
2944
	local ROAR = CreateSound("199978176", Head, 10, 1)
2945
	Swait()
2946
	repeat
2947
		Swait()
2948
		ROAR.Parent = Head
2949
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2950
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2951
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2952
	    LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2953
            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)
2954
            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)
2955
	until ROAR.Playing == false
2956
	ATTACK = false
2957
	Rooted = false
2958
end
2959
2960
function bl()
2961
	local HASSTARTED = false
2962
	local target = nil
2963
	local targettorso = nil
2964
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
2965
		if Mouse.Target.Parent.Humanoid.PlatformStand == false then
2966
			target = Mouse.Target.Parent.Humanoid
2967
			targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
2968
		end
2969
	end
2970
	if target ~= nil then
2971
		CreateSound("305685800", Head, 10, 1)
2972
		targettorso.Anchored = true
2973
		HASSTARTED = true
2974
		ATTACK = true
2975
		Rooted = true
2976
		RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
2977
		coroutine.resume(coroutine.create(function()
2978
			Swait(10*100)
2979
			if HASSTARTED == true then
2980
				ATTACK = false
2981
				Rooted = false
2982
				UNANCHOR = true
2983
			end
2984
		end))
2985
		UNANCHOR = false
2986
		RootPart.Anchored = true
2987
		coroutine.resume(coroutine.create(function()
2988
			for i=0, 3, 0.1 / Animation_Speed do
2989
				Swait()
2990
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
2991
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
2992
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
2993
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
2994
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2995
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
2996
			end
2997
			for i=0, 3, 0.1 / Animation_Speed do
2998
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
2999
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
3000
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3001
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3002
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3003
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3004
			end
3005
			getbloody(targettorso,25)
3006
			Swait(5)
3007
			targettorso:remove()
3008
			Swait(15)
3009
			ATTACK = false
3010
			Rooted = false
3011
			HASSTARTED = false
3012
			UNANCHOR = true
3013
		end))
3014
	end
3015
end
3016
3017
function low()
3018
	ATTACK = true
3019
	Rooted = true
3020
	for i=0, 2, 0.1 / Animation_Speed do
3021
		Swait()
3022
		MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Black",VT(0.001,0.001,0.5),0.5)
3023
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3024
		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)
3025
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3026
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3027
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3028
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3029
	end
3030
	CreateSound("3264923", Torso, 10, 3)
3031
	coroutine.resume(coroutine.create(function()
3032
		local FRAME = Torso.CFrame
3033
		MagicSphere(VT(3,3,3),450,FRAME,"Black",VT(-3/550,-3/550,-3/550),0)
3034
		for i = 1, 450 do
3035
			Swait()
3036
			MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"Black",VT(0.001,0.001,2.5),0.5)
3037
			AoEDamage(FRAME.p,1,1500,1000000,-5,false,12,3,false)
3038
		end
3039
		MagicSphere(VT(6,6,6),70,FRAME,"Black",VT(1,1,1),0)
3040
		MagicSphere(VT(5,5,5),70,FRAME,"Black",VT(1,1,1),0.5)
3041
		AoEDamage(FRAME.p,55,1500,1000000,-5,false,2,30,false)
3042
	end))
3043
	ATTACK = false
3044
	Rooted = false
3045
end
3046
3047
3048
local Decal = IT("Decal")
3049
function MagicRing()
3050
	local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
3051
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
3052
	local decal = Decal:Clone()
3053
	decal.Parent = O1
3054
	decal.Face = "Top"
3055
	decal.Texture = "http://www.roblox.com/asset/?id=917750924"
3056
	local decal2 = Decal:Clone()
3057
	decal2.Parent = O1
3058
	decal2.Face = "Bottom"
3059
	decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
3060
	return O1
3061
end
3062
3063
local LEVEL = 1
3064
3065
function I()
3066
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
3067
	if HITFLOOR ~= nil then
3068
		do
3069
			local POWER = LEVEL
3070
			ATTACK = true
3071
			Rooted = true
3072
			local CENTER = MagicRing()
3073
			CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
3074
			CreateSound("424777055", CENTER, 10, 1)
3075
			local RAIN = {}
3076
			for i = 1, 55 do
3077
				Swait()
3078
				CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
3079
				CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3080
			        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3081
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3082
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3083
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3084
            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)
3085
            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)
3086
			end
3087
			local MAXDIST = 15
3088
			local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
3089
			local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
3090
			local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
3091
			local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
3092
			MakeForm(ORB, "Ball")
3093
			CreateSound("201858045", ORB, 10, 0.5)
3094
			for i = 0, 1, 0.1 / Animation_Speed do
3095
				Swait()
3096
				ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
3097
				ORB.Transparency = 0
3098
				ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
3099
				local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
3100
				local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
3101
				local ZAPTABLE = Zap({
3102
					StartPosition = POS,
3103
					TargetPosition = ORB.Position,
3104
					Character = workspace,
3105
					Color = "Gold",
3106
					Individual = true,
3107
					MaxRange = RANGE,
3108
					SegmentLength = POWER * 2,
3109
					Offset = 1
3110
				})
3111
				Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3112
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3113
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3114
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3115
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3116
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3117
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3118
			end
3119
			coroutine.resume(coroutine.create(function()
3120
				ORB.CFrame = CF(ORB.Position, HITPOS3)
3121
				local IMPACT = false
3122
				for i = 1, 400 do
3123
					Swait()
3124
					ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
3125
					local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
3126
					if HIT ~= nil then
3127
						IMPACT = true
3128
						break
3129
					end
3130
				end
3131
				if IMPACT == true then
3132
					ORB.Transparency = 1
3133
					local FRONT = ORB.CFrame * CF(0, 0, -1).p
3134
					ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
3135
					for i = 1, 35 do
3136
						if MRANDOM(1, 5) == 1 then
3137
							local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 15).p
3138
							local ZAPTABLE = Zap({
3139
								SIZE = POWER,
3140
								StartPosition = ORB.Position,
3141
								TargetPosition = POS,
3142
								Character = workspace,
3143
								Color = "Gold",
3144
								Individual = true,
3145
								MaxRange = POWER * 35,
3146
								SegmentLength = POWER * 5,
3147
								Offset = 3
3148
							})
3149
							Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
3150
						end
3151
						ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
3152
						MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
3153
						CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
3154
						killnearest(ORB.Position, ORB.Size.X * 2, 500)
3155
						Swait()
3156
					end
3157
				else
3158
					ORB:remove()
3159
				end
3160
			end))
3161
			ATTACK = false
3162
			Rooted = false
3163
			coroutine.resume(coroutine.create(function()
3164
				for i = 1, 55 do
3165
					Swait()
3166
					CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
3167
					CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
3168
				end
3169
				CENTER:remove()
3170
			end))
3171
		end
3172
	end
3173
end
3174
3175
function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
3176
	if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
3177
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
3178
		local dmg = math.huge
3179
		if humanoid.Health > 0 then
3180
			if beserk == true then
3181
				humanoid.Health = 0
3182
			else
3183
				CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
3184
				hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
3185
				if math.random(1,100) < critrate+1 then
3186
					humanoid.Health = humanoid.Health - dmg*critmultiplier
3187
					StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
3188
				else
3189
					humanoid.Health = humanoid.Health - dmg
3190
					StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
3191
				end
3192
				local defence = Instance.new("BoolValue",hit.Parent)
3193
				defence.Name = ("HitBy"..Player.Name)
3194
				game:GetService("Debris"):AddItem(defence, 0.25)
3195
			end
3196
		end
3197
	end
3198
end
3199
3200
function Attack1()
3201
	ATTACK = true
3202
	for i=0, 1, 0.1 / Animation_Speed2 do
3203
		Swait()
3204
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
3205
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(75)), 0.15 / Animation_Speed2)
3206
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3207
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3208
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3209
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3210
	end
3211
	local harm = FIST.Touched:Connect(function(hit)
3212
		dealdamage(hit,1500,1800,0,false,0,0)
3213
	end)
3214
	CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
3215
	for i=0, 1.5, 0.1 / Animation_Speed2 do
3216
		Swait()
3217
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 0.4 / Animation_Speed2)
3218
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
3219
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3220
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3221
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3222
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3223
	end
3224
	harm:disconnect()
3225
	ATTACK = false
3226
end
3227
3228
function Bomb()
3229
	ATTACK = true
3230
	Rooted = false
3231
	local GYRO = IT("BodyGyro",RootPart)
3232
	GYRO.D = 100
3233
	GYRO.P = 2000
3234
	GYRO.MaxTorque = VT(0,4000000,0)
3235
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3236
	local BOMB = CreatePart(3, Effects, "Neon", 0, 1, "Pink", "Anime_Bomb", VT(0,0,0))
3237
	for i=0, 2, 0.1 / Animation_Speed do
3238
		BOMB.CFrame = RootPart.CFrame*CF(0,5,0)
3239
		Swait()
3240
		WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,2,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = BOMB.Position, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(0.1,0,0.1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
3241
		WACKYEFFECT({Time = 100, EffectType = "Block", Size = VT(2,2,2), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
3242
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3243
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3244
		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.5 / Animation_Speed)
3245
		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.5 / Animation_Speed)
3246
		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.5 / Animation_Speed)
3247
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3248
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3249
	end
3250
	GYRO:remove()
3251
	coroutine.resume(coroutine.create(function()
3252
		BOMB.CFrame = CF(BOMB.Position,Mouse.Hit.p)
3253
		local IMPACT = false
3254
		for i = 1,150 do
3255
			Swait()
3256
			if MRANDOM(1,5) == 1 then
3257
				WACKYEFFECT({Time = 50, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.CFrame*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3258
			end
3259
			WACKYEFFECT({Time = 10, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
3260
			BOMB.CFrame = BOMB.CFrame*CF(0,0,-1)
3261
			local HIT = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2, Character)
3262
			if HIT ~= nil then
3263
				IMPACT = true
3264
				break
3265
			end
3266
		end
3267
		if IMPACT == true then
3268
			killnearest3(BOMB.Position,5,2,2,VALUE1)
3269
			WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3270
			WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3271
			WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0,0.1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3272
		else
3273
			BOMB:remove()
3274
		end
3275
	end))
3276
	ATTACK = false
3277
	Rooted = false
3278
end
3279
3280
function kiss()
3281
	ATTACK = true
3282
	Rooted = false
3283
	local HASGRABBED = false
3284
	local GRABTARGET = nil
3285
	local TORS = nil
3286
	local WELD = nil
3287
	for i=0, 1, 0.1 / Animation_Speed do
3288
		Swait()
3289
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3290
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3291
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3292
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3293
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3294
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3295
	end
3296
	local GRAB1 = RightArm.Touched:Connect(function(hit)
3297
		if hit.Parent:FindFirstChild("Humanoid") then
3298
			if hit.Parent.Humanoid.Health ~= 0 then
3299
				UNANCHOR = false
3300
				RootPart.Anchored = true
3301
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
3302
				TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
3303
           		WELD = weldBetween(RootPart,TORS)
3304
				HASGRABBED = true
3305
				Rooted = true
3306
			end
3307
		end
3308
	end)
3309
	local GRAB2 = LeftArm.Touched:Connect(function(hit)
3310
		if hit.Parent:FindFirstChild("Humanoid") then
3311
			if hit.Parent.Humanoid.Health ~= 0 then
3312
				UNANCHOR = false
3313
				RootPart.Anchored = true
3314
				TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
3315
				TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
3316
           		WELD = weldBetween(RootPart,TORS)
3317
				HASGRABBED = true
3318
				Rooted = true
3319
			end
3320
		end
3321
	end)
3322
	for i=0, 1, 0.1 / Animation_Speed do
3323
		Swait()
3324
		if HASGRABBED == true then
3325
			break
3326
		end
3327
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3328
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3329
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3330
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3331
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3332
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3333
	end
3334
	GRAB1:disconnect()
3335
	GRAB2:disconnect()
3336
	if HASGRABBED == true then
3337
		TORS.Anchored = false
3338
		GRABTARGET = TORS.Parent
3339
                HED = GRABTARGET:FindFirstChild("Head")
3340
		for i=0, 2, 0.1 / Animation_Speed do
3341
			Swait()
3342
			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)
3343
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3344
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3345
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3346
			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)
3347
			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)
3348
		end
3349
						local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
3350
                                                local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
3351
                                                CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
3352
		local ECH = 0
3353
		CreateSound("247269322", Head, 10, 0.8)
3354
		for i=0, 8, 0.1 / Animation_Speed do
3355
			Swait()
3356
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3357
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
3358
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3359
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3360
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3361
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3362
		end
3363
		WELD:remove()
3364
                killnearest3(heart.Position,heart.Size.Y/2+2,2,RootPart.CFrame)
3365
	end
3366
	UNANCHOR = true
3367
	ATTACK = false
3368
	Rooted = false
3369
end
3370
3371
function jump()
3372
Speed = 0
3373
    ATTACK = true
3374
    --Rooted = true
3375
    for i=0, 2, 0.1 / Animation_Speed do
3376
        Swait()
3377
        RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3378
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3379
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3380
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3381
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
3382
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3383
    end
3384
    CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
3385
    CreateWave3(0,3.5,true,0.2,150,RootPart,-2,"Black")
3386
    CreateWave3(0,5,true,-0.2,150,RootPart,-2,"Black")
3387
    local bv = Instance.new("BodyVelocity")
3388
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3389
    bv.velocity = Vector3.new(0,300,0)
3390
    bv.Parent = Torso
3391
    bv.Name = "DASH"
3392
    ATTACK = false
3393
    --Rooted = false
3394
    game:GetService("Debris"):AddItem(bv, 0.5)
3395
        coroutine.resume(coroutine.create(function()
3396
            Swait(50)
3397
            HASJUMPED = false
3398
            Speed = 20
3399
        end))
3400
end
3401
3402
function Attack2()
3403
	ATTACK = true
3404
	for i=0, 1.5, 0.1 / Animation_Speed2 do
3405
		Swait()
3406
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
3407
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
3408
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3409
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3410
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3411
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3412
	end
3413
	local harm = FIST.Touched:Connect(function(hit)
3414
		dealdamage(hit,500,8000,0,false,0,0)
3415
	end)
3416
	CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
3417
	for i=0, 1.5, 0.1 / Animation_Speed2 do
3418
		Swait()
3419
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
3420
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
3421
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3422
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3423
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3424
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3425
	end
3426
	harm:disconnect()
3427
	ATTACK = false
3428
       Speed = 20
3429
end
3430
3431
function Attack3()
3432
	ATTACK = true
3433
	for i=0, 1, 0.1 / Animation_Speed2 do
3434
		Swait()
3435
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
3436
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(75)), 0.15 / Animation_Speed2)
3437
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3438
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3439
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3440
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3441
	end
3442
	local harm = FIST.Touched:Connect(function(hit)
3443
		dealdamage(hit,854852652564,9999999999999999999999,0,false,0,0)
3444
	end)
3445
	CreateSound("596439421", RightArm, 1, MRANDOM(7, 12) / 10)
3446
	for i=0, 1.5, 0.1 / Animation_Speed2 do
3447
		Swait()
3448
		MagicSphere2(2,15,RightArm.CFrame * CF(0,1.2,0),"CHOSENBRICK")
3449
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.3)
3450
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
3451
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
3452
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
3453
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
3454
		RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3455
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
3456
	end
3457
	harm:disconnect()
3458
	ATTACK = false
3459
end
3460
3461
function swait(num)
3462
	if num == 0 or num == nil then
3463
		ArtificialHB.Event:wait()
3464
	else
3465
		for i = 0, num do
3466
			ArtificialHB.Event:wait()
3467
		end
3468
	end
3469
end
3470
3471
function chatfunc(text)
3472
	local chat = coroutine.wrap(function()
3473
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
3474
		Character:FindFirstChild("TalkingBillBoard"):destroy()
3475
	end
3476
	local Bill = Instance.new("BillboardGui",Character)
3477
	Bill.Size = UDim2.new(0,100,0,40)
3478
	Bill.StudsOffset = Vector3.new(0,3,0)
3479
	Bill.Adornee = Character.Head
3480
	Bill.Name = "TalkingBillBoard"
3481
	local Hehe = Instance.new("TextLabel",Bill)
3482
	Hehe.BackgroundTransparency = 1
3483
	Hehe.BorderSizePixel = 0
3484
	Hehe.Text = ""
3485
	Hehe.Font = "Garamond"
3486
	Hehe.TextSize = 40
3487
	Hehe.TextStrokeTransparency = 0
3488
	Hehe.Size = UDim2.new(1,0,0.5,0)
3489
	coroutine.resume(coroutine.create(function()
3490
		while Hehe ~= nil do
3491
			swait()	
3492
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
3493
			Hehe.Rotation = math.random(-5,5)
3494
			Hehe.TextColor3 = BRICKC(CHOSENBRICK1).Color
3495
			Hehe.TextStrokeColor3 = BRICKC(CHOSENBRICK2).Color
3496
		end
3497
	end))
3498
	for i = 1,string.len(text),1 do
3499
		swait()
3500
		Hehe.Text = string.sub(text,1,i)
3501
	end
3502
	swait(90)--Re[math.random(1, 93)]
3503
	for i = 0, 1, .025 do
3504
		swait()
3505
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
3506
		Hehe.TextStrokeTransparency = i
3507
		Hehe.TextTransparency = i
3508
	end
3509
	Bill:Destroy()
3510
	end)
3511
chat()
3512
end
3513
3514
function onChatted(msg)
3515
	chatfunc(msg)
3516
end
3517
3518
Player.Chatted:connect(onChatted)
3519
3520
--//=================================\\
3521
--||      ASSIGN THINGS TO KEYS
3522
--\\=================================//
3523
 
3524
function MouseDown(Mouse)
3525
	if ATTACK == false then
3526
		if COMBO == 1 then
3527
			COMBO = "HALT"
3528
			Attack1()
3529
			COMBO = 2
3530
		elseif COMBO == 2 then
3531
			COMBO = "HALT"
3532
			Attack2()
3533
			COMBO = 3
3534
		elseif COMBO == 3 then
3535
			COMBO = "HALT"
3536
			Attack3()
3537
			COMBO = 1
3538
		end
3539
	end
3540
end
3541
 
3542
function MouseUp(Mouse)
3543
HOLD = false
3544
end
3545
 
3546
function KeyDown(Key)
3547
    KEYHOLD = true
3548
	if Key == "q" and ATTACK == false then
3549
		if CHOSENBRICK == "Gold" then
3550
			GoldenPunch()
3551
		elseif CHOSENBRICK == "New Yeller" then
3552
3553
		elseif CHOSENBRICK == "Really red" then
3554
			Q()
3555
                elseif CHOSENBRICK == "Really blue" then
3556
                        shield()
3557
                elseif CHOSENBRICK == "Pink" then
3558
                        kiss()
3559
                elseif CHOSENBRICK == "Black" then
3560
                       jump()
3561
                elseif CHOSENBRICK == "Deep orange" then
3562
                       
3563
                elseif CHOSENBRICK == "RAINBOW" then
3564
3565
		end
3566
	end
3567
 
3568
    if Key == "z" and ATTACK == false then
3569
		if CHOSENBRICK == "Gold" then
3570
			CHOSENBRICK = "Really red"
3571
		elseif CHOSENBRICK == "Really red" then
3572
			CHOSENBRICK = "Really blue"
3573
		elseif CHOSENBRICK == "Really blue" then
3574
			CHOSENBRICK = "Pink"
3575
                elseif CHOSENBRICK == "Pink" then
3576
                        CHOSENBRICK = "Black"
3577
                elseif CHOSENBRICK == "Black" then
3578
                        CHOSENBRICK = "Deep orange"
3579
                elseif CHOSENBRICK == "Deep orange" then
3580
                        CHOSENBRICK = "RAINBOW"
3581
                elseif CHOSENBRICK == "RAINBOW" then
3582
                        CHOSENBRICK = "Gold"
3583
3584
		end
3585
	end
3586
3587
    if Key == "u" and ATTACK == false then
3588
		if CHOSENBRICK == "Gold" then
3589
                        new_mode()
3590
			CHOSENBRICK = "New Yeller"
3591
		elseif CHOSENBRICK == "Really red" then
3592
                        new_mode()
3593
			CHOSENBRICK = "New Yeller"
3594
		elseif CHOSENBRICK == "Really blue" then
3595
                        new_mode()
3596
			CHOSENBRICK = "New Yeller"
3597
                elseif CHOSENBRICK == "Pink" then
3598
                        new_mode()
3599
                        CHOSENBRICK = "New Yeller"
3600
                elseif CHOSENBRICK == "Black" then
3601
                        new_mode()
3602
                        CHOSENBRICK = "New Yeller"
3603
                elseif CHOSENBRICK == "RAINBOW" then
3604
                        new_mode()
3605
                        CHOSENBRICK = "New Yeller"
3606
                elseif CHOSENBRICK == "New Yeller" then
3607
                        new_mode()
3608
                        CHOSENBRICK = "Gold"
3609
3610
		end
3611
	end
3612
3613
 
3614
    if Key == "c" and ATTACK == false then
3615
        		if CHOSENBRICK == "Gold" then
3616
			Mach20()
3617
		elseif CHOSENBRICK == "New Yeller" then
3618
3619
		elseif CHOSENBRICK == "Really red" then
3620
                        W()
3621
                elseif CHOSENBRICK == "Really blue" then
3622
                        dab()
3623
                elseif CHOSENBRICK == "Pink" then
3624
                        PinkPunch()
3625
                elseif CHOSENBRICK == "Black" then
3626
                        low()
3627
                elseif CHOSENBRICK == "Deep orange" then
3628
3629
                elseif CHOSENBRICK == "RAINBOW" then
3630
3631
    		end
3632
	end
3633
 
3634
 if Key == "l" and ATTACK == false then
3635
                        if VALUE1 == false then
3636
                        ghost()
3637
                        VALUE1 = true
3638
                        elseif VALUE1 == true then
3639
                        noghost()
3640
                        VALUE1 = false
3641
    		end
3642
	end
3643
3644
    if Key == "e" and ATTACK == false then
3645
		if CHOSENBRICK == "Gold" then
3646
			ImplosionCollision()
3647
		elseif CHOSENBRICK == "New Yeller" then
3648
			
3649
		elseif CHOSENBRICK == "Really red" then
3650
                        yo()
3651
                elseif CHOSENBRICK == "Really blue" then
3652
                        go()
3653
                elseif CHOSENBRICK == "Pink" then
3654
                        Bomb()
3655
                elseif CHOSENBRICK == "Black" then
3656
                        bl()
3657
                elseif CHOSENBRICK == "Deep orange" then
3658
3659
                elseif CHOSENBRICK == "RAINBOW" then
3660
3661
    		end
3662
	end
3663
 
3664
    if Key == "t" and ATTACK == false then
3665
		if CHOSENBRICK == "Gold" then
3666
			
3667
		elseif CHOSENBRICK == "New Yeller" then
3668
			
3669
		elseif CHOSENBRICK == "Really red" then
3670
                        ro()
3671
                elseif CHOSENBRICK == "Really blue" then
3672
                        t()
3673
                elseif CHOSENBRICK == "Pink" then
3674
3675
                elseif CHOSENBRICK == "Black" then
3676
3677
                elseif CHOSENBRICK == "Deep orange" then
3678
3679
                elseif CHOSENBRICK == "RAINBOW" then
3680
3681
    		end
3682
	end
3683
3684
    if Key == "p" and ATTACK == false then
3685
        if Speed == 20 then
3686
            Speed = 150
3687
        elseif Speed == 150 then
3688
            Speed = 20
3689
        end
3690
    end
3691
end
3692
 
3693
function KeyUp(Key)
3694
    KEYHOLD = false
3695
end
3696
 
3697
    Mouse.Button1Down:connect(function(NEWKEY)
3698
        MouseDown(NEWKEY)
3699
    end)
3700
    Mouse.Button1Up:connect(function(NEWKEY)
3701
        MouseUp(NEWKEY)
3702
    end)
3703
    Mouse.KeyDown:connect(function(NEWKEY)
3704
        KeyDown(NEWKEY)
3705
    end)
3706
    Mouse.KeyUp:connect(function(NEWKEY)
3707
        KeyUp(NEWKEY)
3708
    end)
3709
 
3710
--//=================================\\
3711
--\\=================================//
3712
 
3713
 
3714
function unanchor()
3715
    if UNANCHOR == true then
3716
        g = Character:GetChildren()
3717
        for i = 1, #g do
3718
            if g[i].ClassName == "Part" then
3719
                g[i].Anchored = false
3720
            end
3721
        end
3722
    end
3723
end
3724
 
3725
 
3726
--//=================================\\
3727
--||    WRAP THE WHOLE SCRIPT UP
3728
--\\=================================//
3729
 
3730
Humanoid.Changed:connect(function(Jump)
3731
    if Jump == "Jump" and (Disable_Jump == true) then
3732
        Humanoid.Jump = false
3733
    end
3734
end)
3735
 
3736
while true do
3737
    Swait()
3738
    ANIMATE.Parent = nil
3739
    local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
3740
    IDLEANIMATION:Play()
3741
    SINE = SINE + CHANGE
3742
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3743
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3744
    local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
3745
    HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
3746
    local WALKSPEEDVALUE = 0
3747
    if Speed < 35 then
3748
        WALKSPEEDVALUE = 6
3749
    else
3750
        WALKSPEEDVALUE = 3
3751
    end
3752
	if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 then
3753
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3754
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
3755
		--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3756
		--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3757
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3758
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3759
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3760
		--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3761
		--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3762
	end
3763
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3764
			ANIM = "Jump"
3765
			if ATTACK == false then
3766
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3767
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3768
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3769
				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)
3770
				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)
3771
				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)
3772
	        end
3773
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3774
			ANIM = "Fall"
3775
			if ATTACK == false then
3776
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3777
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3778
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3779
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3780
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
3781
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
3782
			end
3783
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3784
			ANIM = "Idle"
3785
			if ATTACK == false then
3786
				if VALUE1 == 1 then
3787
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3788
					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)
3789
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3790
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3791
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3792
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3793
				elseif VALUE1 == 2 then
3794
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
3795
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
3796
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3797
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3798
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3799
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3800
				elseif VALUE1 == 3 then
3801
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3802
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3803
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3804
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3805
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3806
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3807
				elseif VALUE1 == 4 then
3808
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3809
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3810
					if MRANDOM(1,5) == 1 then
3811
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
3812
					end
3813
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3814
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3815
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3816
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3817
				elseif VALUE1 == 5 then
3818
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3819
					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)
3820
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3821
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3822
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3823
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3824
				elseif VALUE1 == 6 then
3825
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3826
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3827
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3828
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
3829
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3830
					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)
3831
				elseif VALUE1 == 7 then
3832
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3833
					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)
3834
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3835
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3836
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3837
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3838
				elseif VALUE1 == 8 then
3839
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + -0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
3840
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
3841
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3842
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3843
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3844
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3845
				end
3846
			end
3847
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3848
			ANIM = "Walk"
3849
			WALK = WALK + 1 / Animation_Speed
3850
			if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
3851
				WALK = 0
3852
				if WALKINGANIM == true then
3853
					WALKINGANIM = false
3854
				elseif WALKINGANIM == false then
3855
					WALKINGANIM = true
3856
				end
3857
			end
3858
			--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3859
			--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
3860
			if ATTACK == false then
3861
				if VALUE1 < 4 or VALUE1 == 6 then
3862
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3863
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3864
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
3865
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
3866
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3867
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3868
				elseif VALUE1 == 4 then
3869
					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)
3870
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3871
					if MRANDOM(1,15) == 1 then
3872
						Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
3873
					end
3874
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
3875
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
3876
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
3877
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
3878
				elseif VALUE1 == 7 then
3879
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3880
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3881
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3882
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3883
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3884
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
3885
				elseif VALUE1 == 5 then
3886
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3887
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3888
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3889
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3890
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3891
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3892
				elseif VALUE1 == 8 then
3893
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3894
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3895
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
3896
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
3897
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3898
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
3899
				end
3900
			end
3901
		end
3902
    unanchor()
3903
    Humanoid.MaxHealth = "inf"
3904
    Humanoid.Health = "inf"
3905
    if Rooted == false then
3906
        Disable_Jump = false
3907
        Humanoid.WalkSpeed = Speed
3908
    elseif Rooted == true then
3909
        Disable_Jump = true
3910
        Humanoid.WalkSpeed = 0
3911
    end
3912
	for _, c in pairs(Character:GetDescendants()) do
3913
		if c.ClassName == "Part" and c.Name ~= "Neon Gauntlet Part" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
3914
		elseif c.ClassName == "Part" and c.Name == "Neon Gauntlet Part" then
3915
			c.BrickColor = BRICKC(CHOSENBRICK2)
3916
			c.Material = "Neon"
3917
                        elseif c.ClassName == "Poof" then
3918
		        c.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB))
3919
		end
3920
	end
3921
3922
	for _, c in pairs(Character:GetDescendants()) do
3923
		if c.ClassName == "Part" and c.Name ~= "Gauntlet Part" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
3924
		elseif c.ClassName == "Part" and c.Name == "Gauntlet Part" then
3925
			c.BrickColor = BRICKC(CHOSENBRICK1)
3926
			c.Material = "Granite"
3927
		end
3928
	end
3929
3930
	SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK2).Color
3931
	SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK2).Color
3932
	SKILL3TEXT.TextColor3 = BRICKC(CHOSENBRICK2).Color
3933
	SKILL4TEXT.TextColor3 = BRICKC(CHOSENBRICK2).Color
3934
        SKILL5TEXT.TextColor3 = BrickColor.Random().Color
3935
	if CHOSENBRICK == "Gold" then
3936
                CHOSENBRICK1 = "Gold"
3937
                CHOSENBRICK2 = "Gold"
3938
                Speed = 20
3939
                VALUE1 = 1
3940
                sick.SoundId = "rbxassetid://165704299"
3941
		SKILL1TEXT.Text = "[Q] Punch"
3942
		SKILL2TEXT.Text = "[Z] Evil mode..."
3943
                SKILL3TEXT.Text = "[E] Super punch"
3944
		SKILL4TEXT.Text = "[C] Warp"
3945
                SKILL5TEXT.Text = "[U] Karma mode..."
3946
                tecks2.Text = "!#$฿-Nomal-฿&#!"
3947
                tecks2.TextColor3 = Color3.new(0,0,0)
3948
                tecks2.TextStrokeColor3 = C3(239/255, 184/255, 56/255)
3949
                sick.Volume = 1
3950
	elseif CHOSENBRICK == "New Yeller" then
3951
                VALUE1 = 4
3952
               	CHOSENBRICK1 = BrickColor.Random().Color
3953
                CHOSENBRICK2 = BrickColor.Random().Color
3954
                sick.SoundId = "rbxassetid://432664291"
3955
		SKILL1TEXT.Text = "[Q] Comming soon"
3956
		SKILL2TEXT.Text = "[Z] comming soon"
3957
                SKILL3TEXT.Text = "[E] Comming soon"
3958
		SKILL4TEXT.Text = "[C] comming soon"
3959
                SKILL5TEXT.Text = "[U] Nomal mode..."
3960
                sick.Volume = 1
3961
               	tecks2.TextColor3 = BrickColor.Random().Color
3962
	        tecks2.TextStrokeColor3 = BrickColor.Random().Color
3963
               tecks2.Text = "kArMa."
3964
	elseif CHOSENBRICK == "Really red" then
3965
                VALUE1 = 3
3966
                 CHOSENBRICK1 = "Really red"
3967
                CHOSENBRICK2 = "Really red"
3968
                sick.SoundId = "rbxassetid://1524659810"
3969
		SKILL1TEXT.Text = "[Q] Meteor"
3970
		SKILL2TEXT.Text = "[Z] Meme mode..."
3971
                SKILL3TEXT.Text = "[E] Lift"
3972
		SKILL4TEXT.Text = "[C] Warp"
3973
                tecks2.Text = "-$#฿-Evil-฿#$-"
3974
                tecks2.TextColor3 = Color3.new(0,0,0)
3975
                tecks2.TextStrokeColor3 = Color3.new(25,0,0)
3976
	elseif CHOSENBRICK == "Really blue" then
3977
                VALUE1 = 5
3978
                CHOSENBRICK1 = "New Yeller"
3979
                CHOSENBRICK2 = "Really blue"
3980
		SKILL1TEXT.Text = "[Q] WOA!"
3981
		SKILL2TEXT.Text = "[Z] Anime mode..."
3982
                SKILL3TEXT.Text = "[E] NANI"
3983
		SKILL4TEXT.Text = "[C] Dab"
3984
                sick.SoundId = "rbxassetid://2039029608"
3985
                tecks2.Text = "$#฿-@Meme glove@-฿#$"
3986
                tecks2.TextColor3 = Color3.new(0,0,0)
3987
                tecks2.TextStrokeColor3 = Color3.new(0,0,1.5)
3988
	elseif CHOSENBRICK == "Pink" then
3989
                VALUE1 = 6
3990
                CHOSENBRICK1 = "Black"
3991
                CHOSENBRICK2 = "Pink"
3992
		SKILL1TEXT.Text = "[Q] kiss"
3993
		SKILL2TEXT.Text = "[Z] Darkness mode..."
3994
                SKILL3TEXT.Text = "[E] Anime Bomb"
3995
		SKILL4TEXT.Text = "[C] Punch"
3996
                sick.SoundId = "rbxassetid://1131624146"
3997
                tecks2.Text = "!$#฿-Anime-฿#$!"
3998
                tecks2.TextColor3 = Color3.new(0,0,0)
3999
                tecks2.TextStrokeColor3 = Color3.new(0.5,0,0.5)
4000
                elseif CHOSENBRICK == "Black" then
4001
                VALUE1 = 7
4002
                CHOSENBRICK1 = "Really black"
4003
                CHOSENBRICK2 = "Really black"
4004
		SKILL1TEXT.Text = "[Q] Super Jump"
4005
		SKILL2TEXT.Text = "[Z] Doge mode..."
4006
                SKILL3TEXT.Text = "[E] Darkness dead"
4007
		SKILL4TEXT.Text = "[C] Darkness Caver"
4008
                sick.SoundId = "rbxassetid://338110450"
4009
                tecks2.Text = "!$\#��-Darkness-��#\$!"
4010
                tecks2.TextColor3 = Color3.new(0,0,0)
4011
                tecks2.TextStrokeColor3 = Color3.new(0.5,0.5,0.5)
4012
                elseif CHOSENBRICK == "Deep orange" then
4013
                CHOSENBRICK1 = "Deep orange"
4014
                CHOSENBRICK2 = "Deep orange"
4015
		SKILL1TEXT.Text = "[Q] comming soon"
4016
		SKILL2TEXT.Text = "[Z] Rainbow mode..."
4017
                SKILL3TEXT.Text = "[E] comming soon"
4018
		SKILL4TEXT.Text = "[C] comming soon"
4019
                Speed = 65
4020
                VALUE1 = 2
4021
                sick.SoundId = "rbxassetid://412964077"
4022
                tecks2.Text = "!$#฿[<-Doge->]฿#$!"
4023
                tecks2.TextColor3 = Color3.new(0,0,0)
4024
                tecks2.TextStrokeColor3 = Color3.new(233,255,0)
4025
                elseif CHOSENBRICK == "RAINBOW" then
4026
                VALUE1 = 7
4027
                CHOSENBRICK1 = Color3.fromRGB(cR,cG,cB)
4028
                CHOSENBRICK2 = Color3.fromRGB(cR,cG,cB)
4029
		SKILL1TEXT.Text = "[Q] comming soon"
4030
		SKILL2TEXT.Text = "[Z] Nomal mode..."
4031
                SKILL3TEXT.Text = "[E] comming soon"
4032
		SKILL4TEXT.Text = "[L] Rainbow ghost (NOT WORKING)"
4033
                Speed = 30
4034
                sick.SoundId = "rbxassetid://1493882272"
4035
                tecks2.Text = "-$ Rainbow $-"
4036
                tecks2.TextColor3 = Color3.fromRGB(cR,cG,cB)
4037
                tecks2.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB)               
4038
	end
4039
end
4040
4041
 
4042
--//=================================\\
4043
--\\=================================//
4044
 
4045
 
4046
 
4047
 
4048
 
4049
--//====================================================\\--
4050
--||                     END OF SCRIPT
4051
--\\====================================================//--