View difference between Paste ID: KnvRSrWA and M6KDccks
SHOW: | | - or go back to the newest paste.
1
 if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
-- Created by Nebula_Zorua --
143
-- NebulaGlitcher Demo --
144
-- The official second Glitcher's Demo --
145
-- Discord: Nebula the Zorua#6969
146
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
147
--Nerfed by basstracker1970
148
--Added Err0r Overdrive
149
--Press T In Error Mode)
150
wait(1/60)
151
152
--// Shortcut Variables \\--
153
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
154
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
155
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
156
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
157
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
158
local R3 = {N=Region3.new}
159
local De = S.Debris
160
local WS = workspace
161
local Lght = S.Lighting
162
local RepS = S.ReplicatedStorage
163
local IN = Instance.new
164
local Plrs = S.Players
165
local UIS = S.UserInputService
166
local CAS = S.ContextActionService
167
--// Initializing \\--
168
local Plr = Plrs.LocalPlayer
169
local Char = Plr.Character
170
local Hum = Char:FindFirstChildOfClass'Humanoid'
171
local RArm = Char["Right Arm"]
172
local LArm = Char["Left Arm"]
173
local RLeg = Char["Right Leg"]
174
local LLeg = Char["Left Leg"]	
175
local Root = Char:FindFirstChild'HumanoidRootPart'
176
local Torso = Char.Torso
177
local Head = Char.Head
178
local NeutralAnims = true
179
local Attack = false
180
local Debounces = {Debounces={}}
181
local Mouse = Plr:GetMouse()
182
local Hit = {}
183
local Sine = 0
184
local Change = 1
185
local PlrGui = Plr:FindFirstChildOfClass'PlayerGui'
186
local Hue = 0;
187
local Combo = 1
188
local BloodPuddles = {}
189
190
local DontAttackPlayers = false
191
192
local BurnInterval = .7
193
194
local Radioactive = {}
195
196
local Hits = 0;
197
local HitTime = time()
198
199
local MaxHits = 60;
200
		
201
local Effects = IN("Folder",Char)
202
Effects.Name = "Effects"
203
204
205
--// Output Stuff \\--
206
207
function Output(type,...)
208
	print(table.concat{...,"\t"})
209
end
210
211
warn("NEBULAGLITCHER DEMO")
212
warn("CONTROLS:")
213
warn("SOLITUDE - Z, T")
214
warn("THE BIG BLACK - Z (NOT FINISHED)")
215
warn("CLARITY - Z")
216
warn("ERROR - Z")
217
warn("BLOODY NIGHT - Z")
218
warn("ANGEL - Z")
219
warn('ERROR OVERDRIVE - Z')
220
warn("The real NebulaGlitcher has more modes, and a combo system. This is just a demo.")
221
222
--// Debounce System \\--
223
224
function Debounces:New(name,cooldown)
225
	local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
226
	setmetatable(aaaaa,{__index = Debounces})
227
	Debounces.Debounces[name] = aaaaa
228
	return aaaaa
229
end
230
231
function Debounces:Use(overrideUsable)
232
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
233
	if(self.Usable or overrideUsable)then
234
		self.Usable = false
235
		self.CoolingDown = true
236
		local LastUse = time()
237
		self.LastUse = LastUse
238
		delay(self.Cooldown or 2,function()
239
			if(self.LastUse == LastUse)then
240
				self.CoolingDown = false
241
				self.Usable = true
242
			end
243
		end)
244
	end
245
end
246
247
function Debounces:Get(name)
248
	assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
249
	for i,v in next, Debounces.Debounces do
250
		if(i == name)then
251
			return v;
252
		end
253
	end
254
end
255
256
function Debounces:GetProgressPercentage()
257
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
258
	if(self.CoolingDown and not self.Usable)then
259
		return math.max(
260
			math.floor(
261
				(
262
					(time()-self.LastUse)/self.Cooldown or 2
263
				)*100
264
			)
265
		)
266
	else
267
		return 100
268
	end
269
end
270
271
--// Instance Creation Functions \\--
272
273
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
274
	local Sound = IN("Sound")
275
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
276
	Sound.Pitch = pitch or 1
277
	Sound.Volume = volume or 1
278
	Sound.Looped = looped or false
279
	if(autoPlay)then
280
		coroutine.wrap(function()
281
			repeat wait() until Sound.IsLoaded
282
			Sound.Playing = autoPlay or false
283
		end)()
284
	end
285
	if(not looped and effect)then
286
		Sound.Stopped:connect(function()
287
			Sound.Volume = 0
288
			Sound:destroy()
289
		end)
290
	elseif(effect)then
291
		warn("Sound can't be looped and a sound effect!")
292
	end
293
	Sound.Parent =parent or Torso
294
	return Sound
295
end
296
function Part(parent,color,material,size,cframe,anchored,cancollide)
297
	local part = IN("Part")
298
	part.Parent = parent or Char
299
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
300
	part.Material = material or Enum.Material.SmoothPlastic
301
	part.TopSurface,part.BottomSurface=10,10
302
	part.Size = size or V3.N(1,1,1)
303
	part.CFrame = cframe or CF.N(0,0,0)
304
	part.CanCollide = cancollide or false
305
	part.Anchored = anchored or false
306
	return part
307
end
308
309
function Weld(part0,part1,c0,c1)
310
	local weld = IN("Weld")
311
	weld.Parent = part0
312
	weld.Part0 = part0
313
	weld.Part1 = part1
314
	weld.C0 = c0 or CF.N()
315
	weld.C1 = c1 or CF.N()
316
	return weld
317
end
318
319
function Mesh(parent,meshtype,meshid,textid,scale,offset)
320
	local part = IN("SpecialMesh")
321
	part.MeshId = meshid or ""
322
	part.TextureId = textid or ""
323
	part.Scale = scale or V3.N(1,1,1)
324
	part.Offset = offset or V3.N(0,0,0)
325
	part.MeshType = meshtype or Enum.MeshType.Sphere
326
	part.Parent = parent
327
	return part
328
end
329
330
NewInstance = function(instance,parent,properties)
331
	local inst = Instance.new(instance)
332
	inst.Parent = parent
333
	if(properties)then
334
		for i,v in next, properties do
335
			pcall(function() inst[i] = v end)
336
		end
337
	end
338
	return inst;
339
end
340
341
function Clone(instance,parent,properties)
342
	local inst = instance:Clone()
343
	inst.Parent = parent
344
	if(properties)then
345
		for i,v in next, properties do
346
			pcall(function() inst[i] = v end)
347
		end
348
	end
349
	return inst;
350
end
351
352
function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
353
	local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
354
	local Sound = IN("Sound")
355
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
356
	Sound.Pitch = pitch or 1
357
	Sound.Volume = volume or 1
358
	Sound.Looped = looped or false
359
	if(autoPlay)then
360
		coroutine.wrap(function()
361
			repeat wait() until Sound.IsLoaded
362
			Sound.Playing = autoPlay or false
363
		end)()
364
	end
365
	if(not looped and effect)then
366
		Sound.Stopped:connect(function()
367
			Sound.Volume = 0
368
			soundPart:destroy()
369
		end)
370
	elseif(effect)then
371
		warn("Sound can't be looped and a sound effect!")
372
	end
373
	Sound.Parent = soundPart
374
	return Sound,soundPart
375
end
376
377
378
--// Extended ROBLOX tables \\--
379
local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
380
--// Require stuff \\--
381
function CamShake(who,times,intense,origin) 
382
	coroutine.wrap(function()
383
		if(script:FindFirstChild'CamShake')then
384
			local cam = script.CamShake:Clone()
385
			cam:WaitForChild'intensity'.Value = intense
386
			cam:WaitForChild'times'.Value = times
387
			
388
	 		if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
389
			cam.Parent = who
390
			wait()
391
			cam.Disabled = false
392
		elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
393
			local intensity = intense
394
			local cam = workspace.CurrentCamera
395
			for i = 1, times do
396
				local camDistFromOrigin
397
				if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
398
					camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
399
				elseif(typeof(origin) == 'Vector3')then
400
					camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
401
				end
402
				if(camDistFromOrigin)then
403
					intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
404
				end
405
				cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
406
				swait()
407
			end
408
		end
409
	end)()
410
end
411
412
413
function CamShakeAll(times,intense,origin)
414
	for _,v in next, Plrs:players() do
415
		CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
416
	end
417
end
418
419
function CamShakeAOE(origin,range,times,intense,blacklist)
420
	local hit = {}
421
	for _,v in next, getRegion(origin,range,blacklist or {}) do
422
		if(S.Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then
423
			CamShake(v.Parent,times,intense,origin)
424
			hit[v.Parent] = true
425
		end
426
	end
427
end
428
429
function ServerScript(code)
430
	if(script:FindFirstChild'Loadstring')then
431
		local load = script.Loadstring:Clone()
432
		load:WaitForChild'Sauce'.Value = code
433
		load.Disabled = false
434
		load.Parent = workspace
435
	elseif(NS and typeof(NS) == 'function')then
436
		NS(code,workspace)
437
	else
438
		warn("no serverscripts lol")
439
	end	
440
end
441
442
function LocalOnPlayer(who,code)
443
	ServerScript([[
444
		wait()
445
		script.Parent=nil
446
		if(not _G.Http)then _G.Http = game:service'HttpService' end
447
		
448
		local Http = _G.Http or game:service'HttpService'
449
		
450
		local source = ]].."[["..code.."]]"..[[
451
		local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
452
		local asd = Http:PostAsync(link,source)
453
		repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
454
		local ID = Http:JSONDecode(asd).Result.Require_ID
455
		local vs = require(ID).VORTH_SCRIPT
456
		vs.Parent = game:service'Players'.]]..who.Name..[[.Character
457
	]])
458
end
459
460
--// Customization \\--
461
462
local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
463
local Remove_Hats = false
464
local Remove_Clothing = false
465
local PlayerSize = 1
466
local DamageColor = BrickColor.new'Really black'
467
local MusicID = 1564523997
468
local Pitch = 1
469
local VisSong = 511924043;
470
471
local God = false
472
local Muted = false
473
474
local PrimaryParts = {}
475
local SecondaryParts = {}
476
477
local WalkSpeed = 16
478
479
local Mode = 1;
480
481
--// Weapon and GUI creation, and Character Customization \\--
482
483
pcall(function()Char.LeftWing:destroy()end)
484
pcall(function()Char.Halo:destroy()end)
485
local toggleTag = true
486
local txt = Instance.new("BillboardGui", PlrGui)
487
txt.Adornee = Head
488
txt.Name = "NameDetect"
489
txt.Size = UDim2.new(4, 0, 1.2, 0)
490
txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
491
local text = Instance.new("TextLabel", txt)
492
text.Size = UDim2.new(10/2, 0, 7/2, 0)
493
text.FontSize = "Size8"
494
text.TextScaled = true
495
text.TextTransparency = 0
496
text.BackgroundTransparency = 1 
497
text.TextTransparency = 0
498
text.TextStrokeTransparency = 0
499
text.Font = "Fantasy"
500
text.TextStrokeColor3 = Color3.new(1,1,1)
501
text.TextColor3 = Color3.new(0,0,0)
502
text.Text = "Solitude"
503
504
pcall(function() Char.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
505
pcall(function() Char.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
506
507
function RecolorTextAndRename(name,col1,col2)
508
	text.TextStrokeColor3 = col2
509
	text.TextColor3 = col1
510
	text.Text = name
511
end
512
513
New = function(Object, Parent, Name, Data)
514
	local Object = Instance.new(Object)
515
	for Index, Value in pairs(Data or {}) do
516
		Object[Index] = Value
517
	end
518
	Object.Parent = Parent
519
	Object.Name = Name
520
	return Object
521
end
522
523
local Feather = New("Model",nil,"Feather",{})
524
local Main = New("Part",Feather,"Main",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.127610922, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
525
local Meshie = New("SpecialMesh",Main,"Mesh",{MeshType = Enum.MeshType.Brick,})
526
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, 0.144406915, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
527
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,})
528
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.272017837, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
529
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
530
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,})
531
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
532
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
533
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
534
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
535
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, 0.144407034, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
536
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
537
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
538
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, -0.405595958, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
539
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
540
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C1 = CFrame.new(0, -0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
541
local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, 0.144407034, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
542
local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
543
local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, -0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
544
545
for _,v in next, Feather:children() do v.CanCollide = false v.BrickColor = BrickColor.new'Black' v.Material = Enum.Material.Neon v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) end
546
547
local Core = New("Model",Char,"Core",{})
548
549
local Core1 = New("Part",Core,"Core1",{BrickColor = BrickColor.new("Black"),CanCollide=false,Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.5, 0.5, 1.04999959),CFrame = CFrame.new(-11.8130245, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
550
local CW1 = New("Motor",Core1,"CW1",{Part0 = Core1,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761127472, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),})
551
552
local Core2 = New("Part",Core,"Core2",{BrickColor = BrickColor.new("Black"),CanCollide=false,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.349999994, 0.349999994, 1.06999981),CFrame = CFrame.new(-11.8130217, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
553
local CW2 = New("Motor",Core2,"CW2",{Part0 = Core2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761413574, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),})
554
555
local CoreH = NewInstance("Humanoid",Core,{MaxHealth=500,Health=500})
556
557
if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
558
if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
559
560
local Music = Sound(Char,MusicID,1,3,true,false,true)
561
Music.Name = 'Music'
562
563
if(PlayerSize ~= 1)then
564
	for _,v in next, Char:GetDescendants() do
565
		if(v:IsA'BasePart')then
566
			v.Size = v.Size * PlayerSize
567
		end
568
	end
569
end
570
571
local Halo = NewInstance("Model",Char,{Name='Halo'})
572
573
local LWing = NewInstance("Model",Char,{Name='LeftWing'})
574
local RWing = NewInstance("Model",Char,{Name='RightWing'})
575
576
local LWingEXT = NewInstance("Model",Char,{Name='LeftWingEXT'})
577
local RWingEXT = NewInstance("Model",Char,{Name='RightWingEXT'})
578
579
local LWingWelds = {}
580
local RWingWelds = {}
581
	
582
local LWingEWelds = {}
583
local RWingEWelds = {}
584
585
local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
586
local LWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
587
local RWingHandle = NewInstance("Part",Char,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
588
589
for i = 1, 360,5 do
590
	local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Black",Material=Enum.Material.Neon,Size=V3.N(0.25,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
591
	local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-1)})
592
	table.insert(PrimaryParts,part)
593
end
594
595
for i = 1, 6 do
596
	local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false)
597
	cr.Transparency = 1
598
	local fuck = Feather:Clone();
599
	local men = fuck.Main
600
	--local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N())
601
	local weld1 = Weld(cr,men)
602
	local weld = Weld(men,LWingHandle)
603
	if(i > 3)then
604
		for _,v in next, fuck:children() do v.Parent = LWingEXT v.Transparency = 1 end
605
	else
606
		for _,v in next, fuck:children() do v.Parent = LWing end
607
	end
608
	
609
	table.insert(LWingWelds,weld)
610
	table.insert(PrimaryParts,cr)
611
end
612
613
for i = 1, 6 do
614
	local cr = Part(Char,BrickColor.new'Black',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false)
615
	cr.Transparency = 1
616
	local fuck = Feather:Clone();
617
	local men = fuck.Main
618
	--local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N())
619
	local weld1 = Weld(cr,men)
620
	local weld = Weld(men,RWingHandle)
621
	
622
	if(i > 3)then
623
		for _,v in next, fuck:children() do v.Parent = RWingEXT if(v:IsA'BasePart')then v.Transparency = 1 end end
624
	else
625
		for _,v in next, fuck:children() do v.Parent = RWing if(v:IsA'BasePart')then v.Transparency = 1 end end
626
	end
627
	table.insert(RWingWelds,weld)
628
	table.insert(PrimaryParts,cr)
629
end
630
631
for _,v in next, PrimaryParts do
632
	if(v:IsA'BasePart')then
633
		v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
634
	end		
635
end
636
637
Core1.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
638
Core2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
639
640
	
641
--// Stop animations \\--
642
for _,v in next, Hum:GetPlayingAnimationTracks() do
643
	v:Stop();
644
end
645
646
pcall(game.Destroy,Char:FindFirstChild'Animate')
647
pcall(game.Destroy,Hum:FindFirstChild'Animator')
648
649
--// Joints \\--
650
651
local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
652
local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
653
local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
654
local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
655
local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
656
local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
657
local HW = NewInstance('Motor',Char,{Part0=Torso,Part1=HaloHandle,C0=CF.N(0,1.5,1.5)*CF.A(M.R(90),0,0)}) 
658
local LWW = NewInstance('Motor',Char,{Part0=Torso,Part1=LWingHandle,C0=CF.N(0,0,1.5)}) 
659
local RWW = NewInstance('Motor',Char,{Part0=Torso,Part1=RWingHandle,C0=CF.N(0,0,1.5)}) 
660
661
local LSC0 = LS.C0
662
local RSC0 = RS.C0
663
local NKC0 = NK.C0
664
local LHC0 = LH.C0
665
local RHC0 = RH.C0
666
local RJC0 = RJ.C0
667
668
--// Artificial HB \\--
669
670
local ArtificialHB = IN("BindableEvent", script)
671
ArtificialHB.Name = "Heartbeat"
672
673
script:WaitForChild("Heartbeat")
674
675
local tf = 0
676
local allowframeloss = false
677
local tossremainder = false
678
local lastframe = tick()
679
local frame = 1/Frame_Speed
680
ArtificialHB:Fire()
681
682
game:GetService("RunService").Heartbeat:connect(function(s, p)
683
	tf = tf + s
684
	if tf >= frame then
685
		if allowframeloss then
686
			script.Heartbeat:Fire()
687
			lastframe = tick()
688
		else
689
			for i = 1, math.floor(tf / frame) do
690
				ArtificialHB:Fire()
691
			end
692
			lastframe = tick()
693
		end
694
		if tossremainder then
695
			tf = 0
696
		else
697
			tf = tf - frame * math.floor(tf / frame)
698
		end
699
	end
700
end)
701
702
function swait(num)
703
	if num == 0 or num == nil then
704
		ArtificialHB.Event:wait()
705
	else
706
		for i = 0, num do
707
			ArtificialHB.Event:wait()
708
		end
709
	end
710
end
711
712
713
--// Effect Function(s) \\--
714
715
function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId)
716
	local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
717
	local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
718
	if(Mode == 6 or Mode == 4 or Mode == 696969)then
719
		fxP.Color = Core2.Color
720
	end
721
	local Scale = 1
722
	local speeder = Speed
723
	if(Type == "Multiply")then
724
		Scale = 1*Inc
725
	elseif(Type == "Divide")then
726
		Scale = 1/Inc
727
	end
728
	coroutine.wrap(function()
729
		for i = 0,10/Lifetime,.1 do
730
			if(Mode == 6 or Mode == 4 or Mode == 696969)then
731
				fxP.Color = Core2.Color
732
			end
733
			
734
			if(Type == "Multiply")then
735
				Scale = Scale - 0.01*Inc/Lifetime
736
			elseif(Type == "Divide")then
737
				Scale = Scale - 0.01/Inc*Lifetime
738
			end
739
			speeder = speeder - 0.01*Speed*Lifetime
740
			fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
741
			fxP.Transparency = fxP.Transparency + 0.01*Lifetime
742
			fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
743
			if(fxP.Transparency >= 1)then break end
744
			swait()
745
		end
746
		fxP:destroy()
747
	end)()
748
end
749
750
function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId,NotAffect)
751
	local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false)
752
	local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
753
	if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then
754
		fxP.Color = Core2.Color
755
	end
756
	local Scale = 1
757
	if(Type == "Multiply")then
758
		Scale = 1*Inc
759
	elseif(Type == "Divide")then
760
		Scale = 1/Inc
761
	end
762
	coroutine.wrap(function()
763
		for i = 0,10/Lifetime,.1 do
764
		if(not NotAffect and (Mode == 6 or Mode == 4 or Mode == 696969))then
765
			fxP.Color = Core2.Color
766
		end
767
			
768
			if(Type == "Multiply")then
769
				Scale = Scale - 0.01*Inc/Lifetime
770
			elseif(Type == "Divide")then
771
				Scale = Scale - 0.01/Inc*Lifetime
772
			end
773
			fxP.Transparency = fxP.Transparency + 0.01*Lifetime
774
			fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
775
			swait()
776
		end
777
		fxP:destroy()
778
	end)()
779
	return fxP
780
end
781
782
function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
783
	local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
784
	local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
785
	if(Mode == 6 or Mode == 4 or Mode == 696969)then
786
		fxP.Color = Core2.Color
787
	end
788
	local Scale = 1
789
	local speeder = Speed
790
	if(Type == "Multiply")then
791
		Scale = 1*Inc
792
	elseif(Type == "Divide")then
793
		Scale = 1/Inc
794
	end
795
	coroutine.wrap(function()
796
		for i = 0,10/Lifetime,.1 do
797
			if(Mode == 6 or Mode == 4 or Mode == 696969)then
798
				fxP.Color = Core2.Color
799
			end
800
			if(Type == "Multiply")then
801
				Scale = Scale - 0.01*Inc/Lifetime
802
			elseif(Type == "Divide")then
803
				Scale = Scale - 0.01/Inc*Lifetime
804
			end
805
			if(Fade)then
806
				fxP.Transparency = i/(10/Lifetime)
807
			end
808
			speeder = speeder - 0.01*Speed*Lifetime/10
809
			fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
810
			fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
811
			swait()
812
		end
813
		fxP:destroy()
814
	end)()
815
end
816
817
function Bezier(startpos, pos2, pos3, endpos, t)
818
	local A = startpos:lerp(pos2, t)
819
	local B  = pos2:lerp(pos3, t)
820
	local C = pos3:lerp(endpos, t)
821
	local lerp1 = A:lerp(B, t)
822
	local lerp2 = B:lerp(C, t)
823
	local cubic = lerp1:lerp(lerp2, t)
824
	return cubic
825
end
826
827
function SphereFX(duration,color,scale,pos,endScale,increment)
828
	return Effect{
829
		Effect='ResizeAndFade',
830
		Color=color,
831
		Size=scale,
832
		Mesh={MeshType=Enum.MeshType.Sphere},
833
		CFrame=pos,
834
		FXSettings={
835
			EndSize=endScale,
836
			EndIsIncrement=increment
837
		}
838
	}
839
end
840
841
function BlastFX(duration,color,scale,pos,endScale,increment)
842
	return Effect{
843
		Effect='ResizeAndFade',
844
		Color=color,
845
		Size=scale,
846
		Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
847
		CFrame=pos,
848
		FXSettings={
849
			EndSize=endScale,
850
			EndIsIncrement=increment
851
		}
852
	}
853
end
854
855
function BlockFX(duration,color,scale,pos,endScale,increment)
856
	return Effect{
857
		Effect='ResizeAndFade',
858
		Color=color,
859
		Size=scale,
860
		CFrame=pos,
861
		FXSettings={
862
			EndSize=endScale,
863
			EndIsIncrement=increment
864
		}
865
	}
866
end
867
868
function ShootBullet(data)
869
	--ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
870
	local Size = data.Size or V3.N(2,2,2)
871
	local Color = data.Color or BrickColor.new'Crimson'
872
	local StudsPerFrame = data.Speed or 10
873
	local Shape = data.Shape or 'Ball'
874
	local Frames = data.Frames or 160
875
	local Pos = data.Origin or Torso.CFrame
876
	local Direction = data.Direction or Mouse.Hit
877
	local Material = data.Material or Enum.Material.Neon
878
	local OnUpdate = data.Update or nil
879
	local OnHit = data.HitFunction or function(hit,pos)
880
		AOEDamage(pos,10,{MinimumDamage=25,MaximumDamage=60})
881
		Effect{
882
			Effect='ResizeAndFade',
883
			Color=Color,
884
			Size=V3.N(10,10,10),
885
			Material=Enum.Material.Neon,
886
			Mesh={MeshType=Enum.MeshType.Sphere},
887
			CFrame=CF.N(pos),
888
			FXSettings={
889
				EndSize=V3.N(.05,.05,.05),
890
				EndIsIncrement=true
891
			}
892
		}
893
		for i = 1, 5 do
894
			local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
895
			Effect{
896
				Effect='Fade',
897
				Frames=65,
898
				Size=V3.N(5,5,10),
899
				CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
900
				Mesh = {MeshType=Enum.MeshType.Sphere},
901
				Material=Enum.Material.Neon,
902
				Color=Color,
903
				MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
904
			}	
905
		end
906
	end	
907
	
908
	local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
909
	local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
910
	if(Shape == 'Ball')then
911
		BMesh.MeshType = Enum.MeshType.Sphere
912
	elseif(Shape == 'Head')then
913
		BMesh.MeshType = Enum.MeshType.Head
914
	elseif(Shape == 'Cylinder')then
915
		BMesh.MeshType = Enum.MeshType.Cylinder
916
	end
917
	
918
	coroutine.wrap(function()
919
		for i = 1, Frames+1 do
920
			if(OnUpdate and typeof(OnUpdate) == 'function')then
921
				OnUpdate(Bullet,BMesh,i)
922
			end
923
			local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
924
			if(hit)then
925
				OnHit(hit,pos,norm,dist)
926
				break;
927
			else
928
				Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
929
			end
930
			swait()
931
		end
932
		Bullet:destroy()
933
	end)()
934
	
935
end
936
937
function Puddle(hit,pos,norm,data)
938
	local material = data.Material or Enum.Material.SmoothPlastic
939
	local color = data.Color or BrickColor.new'Crimson'
940
	local size = data.Size or 1
941
		
942
	if(hit.Name ~= 'BloodPuddle')then
943
		local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
944
		local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
945
		BloodPuddles[Puddle] = 0
946
	else
947
		local cyl = hit:FindFirstChild'CylinderMesh'
948
		if(cyl)then
949
			BloodPuddles[hit] = 0
950
			cyl.Scale = cyl.Scale + V3.N(size,0,size)
951
			hit.Transparency = 0
952
		end
953
	end
954
end
955
956
function Droplet(data)
957
	--ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
958
	local Size = data.Size or 1
959
	local Color = data.Color or BrickColor.new'Crimson'
960
	local StudsPerFrame = data.Speed or 1
961
	local Shape = data.Shape or 'Ball'
962
	local Frames = (data.Frames or 160)+1
963
	local Pos = data.Origin or Root.CFrame
964
	local Direction = data.Direction or Root.CFrame.lookVector*100000
965
	local Material = data.Material or Enum.Material.SmoothPlastic
966
	local Drop = data.Drop or .05
967
	local Ignorelist = data.Ignorelist or nil
968
	
969
	local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
970
	local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
971
	if(Shape == 'Ball')then
972
		BMesh.MeshType = Enum.MeshType.Sphere
973
	elseif(Shape == 'Head')then
974
		BMesh.MeshType = Enum.MeshType.Head
975
	elseif(Shape == 'Cylinder')then
976
		BMesh.MeshType = Enum.MeshType.Cylinder
977
	end
978
	
979
	coroutine.wrap(function()
980
		for i = 1, Frames do
981
			Pos = Pos * CF.N(0,-(Drop*i),0)
982
			local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
983
			if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
984
				Puddle(hit,pos,norm,data)
985
				break;
986
			else
987
				Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
988
			end
989
			swait()
990
		end
991
		Bullet:destroy()
992
	end)()
993
end
994
995
function Zap(data)
996
	local sCF,eCF = data.StartCFrame,data.EndCFrame
997
	assert(sCF,"You need a start CFrame!")
998
	assert(eCF,"You need an end CFrame!")
999
	local parts = data.PartCount or 15
1000
	local zapRot = data.ZapRotation or {-5,5}
1001
	local startThick = data.StartSize or 3;
1002
	local endThick = data.EndSize or startThick/2;
1003
	local color = data.Color or BrickColor.new'Electric blue'
1004
	local delay = data.Delay or 35
1005
	local delayInc = data.DelayInc or 0
1006
	local lastLightning;
1007
	local MagZ = (sCF.p - eCF.p).magnitude
1008
	local thick = startThick
1009
	local inc = (startThick/parts)-(endThick/parts)
1010
	
1011
	for i = 1, parts do
1012
		local pos = sCF.p
1013
		if(lastLightning)then
1014
			pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
1015
		end
1016
		delay = delay + delayInc
1017
		local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
1018
		local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
1019
		if(parts == i)then
1020
			local MagZ = (pos-eCF.p).magnitude
1021
			zapPart.Size = V3.N(endThick,endThick,MagZ)
1022
			zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
1023
			Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
1024
		else
1025
			zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
1026
		end
1027
		
1028
		lastLightning = zapPart
1029
		Effect{Effect='Fade',Manual=zapPart,Frames=delay}
1030
		
1031
		thick=thick-inc
1032
		
1033
	end
1034
end
1035
1036
function Zap2(data)
1037
	local Color = data.Color or BrickColor.new'Electric blue'
1038
	local StartPos = data.Start or Torso.Position
1039
	local EndPos = data.End or Mouse.Hit.p
1040
	local SegLength = data.SegL or 2
1041
	local Thicc = data.Thickness or 0.5
1042
	local Fades = data.Fade or 45
1043
	local Parent = data.Parent or Effects
1044
	local MaxD = data.MaxDist or 200
1045
	local Branch = data.Branches or false
1046
	local Material = data.Material or Enum.Material.Neon
1047
	local Raycasts = data.Raycasts or false
1048
	local Offset = data.Offset or {0,360}
1049
	local AddMesh = (data.Mesh == nil and true or data.Mesh)
1050
	if((StartPos-EndPos).magnitude > MaxD)then
1051
		EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
1052
	end
1053
	local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
1054
	if(Raycasts)then
1055
		hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)	
1056
	end
1057
	local segments = dist/SegLength
1058
	local model = IN("Model",Parent)
1059
	model.Name = 'Lightning'
1060
	local Last;
1061
	for i = 1, segments do
1062
		local size = (segments-i)/25
1063
		local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
1064
		if(AddMesh)then IN("CylinderMesh",prt) end
1065
		if(Last and math.floor(segments) == i)then
1066
			local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
1067
			prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
1068
			prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)	
1069
		elseif(not Last)then
1070
			prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)	
1071
		else
1072
			prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
1073
		end
1074
		Last = prt
1075
		if(Branch)then
1076
			local choice = M.RNG(1,7+((segments-i)*2))
1077
			if(choice == 1)then
1078
				local LastB;
1079
				for i2 = 1,M.RNG(2,5) do
1080
					local size2 = ((segments-i)/35)/i2
1081
					local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
1082
					if(AddMesh)then IN("CylinderMesh",prt) end
1083
					if(not LastB)then
1084
						prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
1085
					else
1086
						prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
1087
					end
1088
					LastB = prt
1089
				end
1090
			end
1091
		end
1092
	end
1093
	if(Fades > 0)then
1094
		coroutine.wrap(function()
1095
			for i = 1, Fades do
1096
				for _,v in next, model:children() do
1097
					if(v:IsA'BasePart')then
1098
						v.Transparency = (i/Fades)
1099
					end
1100
				end
1101
				swait()
1102
			end
1103
			model:destroy()
1104
		end)()
1105
	else
1106
		S.Debris:AddItem(model,.01)
1107
	end
1108
	return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
1109
end
1110
1111
function Tween(obj,props,time,easing,direction,repeats,backwards)
1112
	local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
1113
	local tween = S.TweenService:Create(obj, info, props)
1114
	
1115
	tween:Play()
1116
end
1117
1118
function Effect(data)
1119
	local FX = data.Effect or 'ResizeAndFade'
1120
	local Parent = data.Parent or Effects
1121
	local Color = data.Color or C3.N(0,0,0)
1122
	local Size = data.Size or V3.N(1,1,1)
1123
	local MoveDir = data.MoveDirection or nil
1124
	local MeshData = data.Mesh or nil
1125
	local SndData = data.Sound or nil
1126
	local Frames = data.Frames or 45
1127
	local Manual = data.Manual or nil
1128
	local Material = data.Material or nil
1129
	local CFra = data.CFrame or Torso.CFrame
1130
	local Settings = data.FXSettings or {}
1131
	local Shape = data.Shape or Enum.PartType.Block
1132
	local Snd,Prt,Msh;
1133
	local RotInc = data.RotInc or {0,0,0}
1134
	if(typeof(RotInc) == 'number')then
1135
		RotInc = {RotInc,RotInc,RotInc}
1136
	end
1137
	coroutine.wrap(function()
1138
		if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
1139
			Prt = Manual
1140
		else
1141
			Prt = Part(Parent,Color,Material,Size,CFra,true,false)
1142
			Prt.Shape = Shape
1143
		end
1144
		if(typeof(MeshData) == 'table')then
1145
			Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
1146
		elseif(typeof(MeshData) == 'Instance')then
1147
			Msh = MeshData:Clone()
1148
			Msh.Parent = Prt
1149
		elseif(Shape == Enum.PartType.Block)then
1150
			Msh = Mesh(Prt,Enum.MeshType.Brick)
1151
		end
1152
		if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
1153
			Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
1154
		end
1155
		if(Snd)then
1156
			repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
1157
			Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
1158
		end
1159
		Size = (Msh and Msh.Scale or Size)
1160
		local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
1161
		
1162
		local MoveSpeed = nil;
1163
		if(MoveDir)then
1164
			MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
1165
		end
1166
		if(FX ~= 'Arc')then
1167
			for Frame = 1, Frames do
1168
				if(FX == "Fade")then
1169
					Prt.Transparency  = (Frame/Frames)
1170
				elseif(FX == "Resize")then
1171
					if(not Settings.EndSize)then
1172
						Settings.EndSize = V3.N(0,0,0)
1173
					end
1174
					if(Settings.EndIsIncrement)then
1175
						if(Msh)then
1176
							Msh.Scale = Msh.Scale + Settings.EndSize
1177
						else
1178
							Prt.Size = Prt.Size + Settings.EndSize
1179
						end					
1180
					else
1181
						if(Msh)then
1182
							Msh.Scale = Msh.Scale - grow/Frames
1183
						else
1184
							Prt.Size = Prt.Size - grow/Frames
1185
						end
1186
					end 
1187
				elseif(FX == "ResizeAndFade")then
1188
					if(not Settings.EndSize)then
1189
						Settings.EndSize = V3.N(0,0,0)
1190
					end
1191
					if(Settings.EndIsIncrement)then
1192
						if(Msh)then
1193
							Msh.Scale = Msh.Scale + Settings.EndSize
1194
						else
1195
							Prt.Size = Prt.Size + Settings.EndSize
1196
						end					
1197
					else
1198
						if(Msh)then
1199
							Msh.Scale = Msh.Scale - grow/Frames
1200
						else
1201
							Prt.Size = Prt.Size - grow/Frames
1202
						end
1203
					end 
1204
					Prt.Transparency = (Frame/Frames)
1205
				end
1206
				if(Settings.RandomizeCFrame)then
1207
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
1208
				else
1209
					Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
1210
				end
1211
				if(MoveDir and MoveSpeed)then
1212
					local Orientation = Prt.Orientation
1213
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
1214
					Prt.Orientation = Orientation
1215
				end
1216
				swait()
1217
			end
1218
			Prt:destroy()
1219
		else
1220
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
1221
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
1222
			if(start and endP)then
1223
				local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1224
				local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1225
				for Frame = 0, 1, (Settings.Speed or 0.01) do
1226
					if(Settings.Home)then
1227
						endP = Settings.Home.CFrame
1228
					end
1229
					Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
1230
				end
1231
				if(Settings.RemoveOnGoal)then
1232
					Prt:destroy()
1233
				end
1234
			else
1235
				Prt:destroy()
1236
				assert(start,"You need a start position!")
1237
				assert(endP,"You need a start position!")
1238
			end
1239
		end
1240
	end)()
1241
	return Prt,Msh,Snd
1242
end
1243
1244
1245
function SoulSteal(whom)
1246
	local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
1247
	print(torso)
1248
	if(torso and torso:IsA'BasePart')then
1249
		local Model = Instance.new("Model",Effects)
1250
		Model.Name = whom.Name.."'s Soul"
1251
		whom:BreakJoints()
1252
		local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
1253
		Soul.Name = 'Head'
1254
		NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
1255
		Effect{
1256
			Effect="Arc",
1257
			Manual = Soul,
1258
			FXSettings={
1259
				Start=torso.CFrame,
1260
				Home = Torso,
1261
				RemoveOnGoal = true,
1262
			}
1263
		}
1264
		local lastPoint = Soul.CFrame.p
1265
	
1266
		for i = 0, 1, 0.01 do 
1267
				local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
1268
				local mag = (lastPoint - Soul.Position).magnitude
1269
				Effect{
1270
					Effect = "Fade",
1271
					CFrame = point * CF.N(0, mag/2, 0),
1272
					Size = V3.N(.5,mag+.5,.5),
1273
					Color = Soul.BrickColor
1274
				}
1275
				lastPoint = Soul.CFrame.p
1276
			swait()
1277
		end
1278
		for i = 1, 5 do
1279
			Effect{
1280
				Effect="Fade",
1281
				Color = BrickColor.new'Really red',
1282
				MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
1283
			}	
1284
		end
1285
	end
1286
end
1287
1288
--// Other Functions \\ --
1289
1290
function CastRay(startPos,endPos,range,ignoreList)
1291
	local ray = Ray.new(startPos,(endPos-startPos).unit*range)
1292
	local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
1293
	return part,pos,norm,(pos and (startPos-pos).magnitude)
1294
end
1295
1296
function getRegion(point,range,ignore)
1297
    return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
1298
end
1299
1300
function clerp(startCF,endCF,alpha)
1301
	return startCF:lerp(endCF, alpha)
1302
end
1303
1304
function GetTorso(char)
1305
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
1306
end
1307
1308
1309
function ShowDamage(Pos, Text, Time, Color)
1310
	coroutine.wrap(function()
1311
	local Rate = (1 / Frame_Speed)
1312
	local Pos = (Pos or Vector3.new(0, 0, 0))
1313
	local Text = (Text or "")
1314
	local Time = (Time or 2)
1315
	local Color = (Color or Color3.new(1, 0, 1))
1316
	local EffectPart = NewInstance("Part",Effects,{
1317
		Material=Enum.Material.SmoothPlastic,
1318
		Reflectance = 0,
1319
		Transparency = 1,
1320
		BrickColor = BrickColor.new(Color),
1321
		Name = "Effect",
1322
		Size = Vector3.new(0,0,0),
1323
		Anchored = true,
1324
		CFrame = CF.N(Pos)
1325
	})
1326
	local BillboardGui = NewInstance("BillboardGui",EffectPart,{
1327
		Size = UDim2.new(1.25, 0, 1.25, 0),
1328
		Adornee = EffectPart,
1329
	})
1330
	local TextLabel = NewInstance("TextLabel",BillboardGui,{
1331
		BackgroundTransparency = 1,
1332
		Size = UDim2.new(1, 0, 1, 0),
1333
		Text = Text,
1334
		Font = "Bodoni",
1335
		TextColor3 = Color,
1336
		TextStrokeColor3 = Color3.new(0,0,0),
1337
		TextStrokeTransparency=0,
1338
		TextScaled = true,
1339
	})
1340
	S.Debris:AddItem(EffectPart, (Time))
1341
	EffectPart.Parent = workspace
1342
	delay(0, function()
1343
		Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
1344
		local Frames = (Time / Rate)
1345
		for Frame = 1, Frames do
1346
			swait()
1347
			local Percent = (Frame / Frames)
1348
			TextLabel.TextTransparency = Percent
1349
			TextLabel.TextStrokeTransparency = Percent
1350
		end
1351
		if EffectPart and EffectPart.Parent then
1352
			EffectPart:Destroy()
1353
		end
1354
	end) end)()
1355
end
1356
1357
1358
function DealDamage(data)
1359
	local Who = data.Who;
1360
	local MinDam = data.MinimumDamage or 15;
1361
	local MaxDam = data.MaximumDamage or 30;
1362
	local MaxHP = data.MaxHP or 1e5; 
1363
	
1364
	local DB = data.Debounce or .2;
1365
	
1366
	local CritData = data.Crit or {}
1367
	local CritChance = CritData.Chance or 0;
1368
	local CritMultiplier = CritData.Multiplier or 1;
1369
	
1370
	local DamageEffects = data.DamageFX or {}
1371
	local DamageType = DamageEffects.Type or "Normal"
1372
	local DeathFunction = DamageEffects.DeathFunction
1373
	
1374
	assert(Who,"Specify someone to damage!")	
1375
	
1376
	local Humanoid = Who:FindFirstChildOfClass'Humanoid'
1377
	local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
1378
	
1379
	local canHit = true
1380
	if(Humanoid)then
1381
		for _, p in pairs(Hit) do
1382
			if p[1] == Humanoid then
1383
				if(time() - p[2] <= DB) then
1384
					canHit = false
1385
				else
1386
					Hit[_] = nil
1387
				end
1388
			end
1389
		end
1390
		if(canHit)then
1391
			table.insert(Hit,{Humanoid,time()})
1392
			local HitTorso = GetTorso(Who)
1393
			local player = S.Players:GetPlayerFromCharacter(Who)
1394
			if(not player or not DontAttackPlayers and player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
1395
				if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
1396
					print'Got kill'
1397
					Humanoid.Health = 0;
1398
					Who:BreakJoints();
1399
					if(DeathFunction)then DeathFunction(Who,Humanoid) end
1400
				else
1401
					local  c = Instance.new("ObjectValue",Hum)
1402
					c.Name = "creator"
1403
					c.Value = Plr
1404
					S.Debris:AddItem(c,0.35)
1405
					if(Humanoid.Health > 0)then	
1406
						if(Mode == 9 and not Radioactive[Who])then
1407
							Radioactive[Who] = {0,M.RNG(time()+4,time()+14)}
1408
						end
1409
						if(Who:FindFirstChild'Head')then
1410
							ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), math.floor(DoneDamage), 1.5, Core2.Color)
1411
						end
1412
						if(Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
1413
						Humanoid.Health = Humanoid.Health - DoneDamage
1414
					end
1415
					
1416
					if(DamageType == 'Knockback' and HitTorso)then
1417
						local up = DamageEffects.KnockUp or 25
1418
						local back = DamageEffects.KnockBack or 25
1419
						local origin = DamageEffects.Origin or Root
1420
						local decay = DamageEffects.Decay or .5;
1421
						
1422
						local bfos = Instance.new("BodyVelocity",HitTorso)
1423
						bfos.P = 20000	
1424
						bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1425
						bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
1426
						S.Debris:AddItem(bfos,decay)
1427
					end
1428
				end
1429
			end
1430
		end
1431
	end		
1432
end
1433
1434
function AOEDamage(where,range,options)
1435
	local hit = {}
1436
	for _,v in next, getRegion(where,range,{Char}) do
1437
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
1438
			local callTable = {Who=v.Parent}
1439
			hit[v.Parent] = true
1440
			for _,v in next, options do callTable[_] = v end
1441
			DealDamage(callTable)
1442
		end
1443
	end
1444
	return hit
1445
end
1446
1447
function AOEHeal(where,range,amount)
1448
	local healed = {}
1449
	for _,v in next, getRegion(where,range,{Char}) do
1450
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
1451
		if(hum and not healed[hum])then
1452
			hum.Health = hum.Health + amount
1453
			if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
1454
				ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
1455
			end
1456
		end
1457
	end
1458
end
1459
1460
--// Chat Function \\--
1461
1462
function Chat(text,color)
1463
	coroutine.wrap(function()
1464
		if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
1465
		local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
1466
		local offset = 0;
1467
		local xsize = 0;
1468
		for i = 1, #text do
1469
			offset = offset - 16
1470
			xsize = xsize + 32 	
1471
			delay(i/25, function()
1472
				local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,0,0,300),BackgroundTransparency=1,TextColor3=(typeof(color) == 'string' and color:lower() == 'rainbow' and C3.HSV(Hue/360,1,1)) or color or Core2.Color,BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
1473
				offset = offset + 32
1474
				if(Txt.Parent)then Txt:TweenPosition(UDim2.new(0,offset,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Elastic,1) end
1475
			end)
1476
		end
1477
		BBG.Size = UDim2.new(0,xsize,0,40)
1478
		delay((#text/25)+3, function()
1479
			for _,v in next, BBG:children() do
1480
				v:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Linear,1)
1481
			end
1482
			wait(1.15)
1483
			BBG:destroy()
1484
		end)
1485
	end)()
1486
end
1487
1488
1489
--// Everything else \\--
1490
1491
function ClickGlitch()
1492
	Attack = true
1493
	NeutralAnims = false
1494
	local oWS = WalkSpeed
1495
	WalkSpeed = 0
1496
	Hum.JumpPower = 0
1497
	Hum.AutoRotate = false
1498
	Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
1499
	for i = 0, 2, 0.1 do
1500
		swait()
1501
		local Alpha = .3
1502
		Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
1503
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417825999, 0.00628786907, -0.00260206894, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha)
1504
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1505
		RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1506
		LS.C0 = clerp(LS.C0,CFrame.new(-1.30906916, 0.822547674, -0.226739705, -0.481323838, 0.719669759, -0.500402868, -0.832959116, -0.55330795, 0.00544379698, -0.272959113, 0.419435322, 0.865775645),Alpha)
1507
		RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha)
1508
		NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1509
	end
1510
	Sound(LArm,217767125,M.RNG(75,125)/100,10,false,true,true)
1511
	Effect{
1512
		Effect='Fade',
1513
		Size=V3.N(1,1,1),
1514
		CFrame=LArm.CFrame*CF.N(0,-1,0)*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360)),
1515
		Color=Core2.Color,
1516
		Material=Enum.Material.Neon,
1517
		FXSettings = {
1518
			RandomizeCFrame=true
1519
		}
1520
	}
1521
	coroutine.wrap(function()
1522
		local MousePos = Mouse.Hit
1523
		local effect = Part(Effects,Core2.Color,Enum.Material.Neon,V3.N(2.5,2.5,2.5),MousePos,true,false)
1524
		for i = 0, 6, .1 do
1525
			effect.Color = Core2.Color
1526
			MousePos = MousePos * CF.N(M.RNG(-15,15)/100,M.RNG(-15,15)/100,M.RNG(-15,15)/100)
1527
			effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360))
1528
			effect.Size = V3.N(2.5,2.5,2.5)+V3.N(M.RNG(-150,150)/100,M.RNG(-150,150)/100,M.RNG(-150,150)/100)
1529
			swait()
1530
		end
1531
		AOEDamage(MousePos.p,30,{MinimumDamage=30,MaximumDamage=75})
1532
		for i = 0, 3, .1 do
1533
			effect.Color = Core2.Color
1534
			effect.CFrame = MousePos*CF.A(M.RRNG(0,360),M.RRNG(0,360),M.RRNG(0,360))
1535
			effect.Size = effect.Size + V3.N(1,1,1)
1536
			effect.Transparency = i/3
1537
			swait()
1538
		end
1539
		effect:destroy()
1540
		
1541
	end)()
1542
	for i = 0, 1, 0.1 do
1543
		swait()
1544
		local Alpha = .3
1545
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417744182, 0.00628787512, -0.00260255905, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha)
1546
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1547
		RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1548
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12360537, 0.516349316, -0.117619619, -0.715893924, 0.486921966, -0.500402868, -0.56499064, -0.825079441, 0.00544379698, -0.410221368, 0.28662011, 0.865775645),Alpha)
1549
		RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha)
1550
		NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1551
	end
1552
	for i = 0, 1, 0.1 do
1553
		swait()
1554
		local Alpha = .3
1555
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00417825999, 0.00628786907, -0.00260206894, 0.513858557, -0.00539401267, -0.857858002, 1.84496116e-06, 0.99998033, -0.00628653914, 0.85787499, 0.00322880922, 0.513848424),Alpha)
1556
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496490777, -0.990816116, 0.0216251202, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1557
		RH.C0 = clerp(RH.C0,CFrame.new(0.49852562, -0.990978837, 0.0154569345, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1558
		LS.C0 = clerp(LS.C0,CFrame.new(-1.30906916, 0.822547674, -0.226739705, -0.481323838, 0.719669759, -0.500402868, -0.832959116, -0.55330795, 0.00544379698, -0.272959113, 0.419435322, 0.865775645),Alpha)
1559
		RS.C0 = clerp(RS.C0,CFrame.new(1.35554826, 0.564801514, -0.116690002, 0.84398663, -0.312275827, 0.436085641, 0.311970115, 0.94716835, 0.074478887, -0.43630439, 0.0731864721, 0.896817923),Alpha)
1560
		NK.C0 = clerp(NK.C0,CFrame.new(-7.85058364e-06, 1.49894369, -0.0143952277, 0.500402868, 0, 0.865792811, -0.00544379698, 0.99998033, 0.00314635527, -0.865775645, -0.00628764462, 0.500392973),Alpha)
1561
	end
1562
	WalkSpeed = oWS
1563
	Hum.JumpPower = 50
1564
	Hum.AutoRotate = true
1565
	Attack = false
1566
	NeutralAnims = true
1567
end
1568
1569
function PureBomb()
1570
	Attack = true
1571
	NeutralAnims = false
1572
	local orb = Part(Effects,BrickColor.new'Baby blue',Enum.Material.Neon,V3.N(1,1,1),RArm.CFrame*CF.N(0,-1,0),true,false)
1573
	local orbM = Mesh(orb,Enum.MeshType.Sphere,"","",V3.N(.1,.1,.1))
1574
	local Scale = 0.1
1575
	local Pos = 0
1576
	Hum.AutoRotate = false
1577
	Sound(orb,136007472,1,5,false,true,true)
1578
	for i = 0, 10, 0.1 do
1579
		Scale = Scale + .05
1580
		orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0)
1581
		Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
1582
		orbM.Scale = V3.N(Scale,Scale,Scale)
1583
		NoobySphere(4,-.1,'Multiply',orb.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(1,1,1),0,BrickColor.new'Baby blue',5)
1584
		swait()
1585
		local Alpha = .3
1586
		RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
1587
		LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990819931, 0.0216189958, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1588
		RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990974903, 0.0154631026, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1589
		LS.C0 = clerp(LS.C0,CFrame.new(-1.42302692, 0.493415803, -0.00359773822, 0.940765917, 0.153064445, 0.30254063, -0.162465662, 0.986695945, 0.00599612948, -0.297597915, -0.0547934212, 0.953117669),Alpha)
1590
		RS.C0 = clerp(RS.C0,CFrame.new(1.49654758, 0.678199768, 0.0230993181, 0.85657078, -0.45250088, 0.248051316, -0.450519741, -0.89016372, -0.0681223199, 0.251631737, -0.0534004271, -0.966348767),Alpha)
1591
		NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1592
	end
1593
	for i = 0, 2, 0.1 do
1594
		swait()
1595
		orb.CFrame = RArm.CFrame*CF.N(0,-0.5-(Scale/1.5),0)
1596
		Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
1597
		local Alpha = .3
1598
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00196742709, 0.00628469, -0.000496770546, 0.917528987, -0.00250149658, -0.39766106, 8.55154781e-07, 0.999980211, -0.00628842553, 0.397668958, 0.00576947257, 0.917510867),Alpha)
1599
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496482432, -0.990816116, 0.0216121897, 0.911208749, 0, 0.411944896, -0.00259129796, 0.999980211, 0.00573186669, -0.41193673, -0.006290399, 0.911190748),Alpha)
1600
		RH.C0 = clerp(RH.C0,CFrame.new(0.4985466, -0.990978718, 0.0154598281, 0.911208749, 0, 0.411944896, -0.00259129796, 0.999980211, 0.00573186669, -0.41193673, -0.006290399, 0.911190748),Alpha)
1601
		LS.C0 = clerp(LS.C0,CFrame.new(-1.49955761, 0.50005585, 0.0206508823, 0.931618989, 0, 0.363436669, -0.00228616199, 0.999980211, 0.0058602551, -0.363429457, -0.006290399, 0.931600571),Alpha)
1602
		RS.C0 = clerp(RS.C0,CFrame.new(1.42403603, 0.783231854, 0.129635245, 0.955871105, -0.233268648, 0.178595126, -0.293628395, -0.738623917, 0.60680896, -0.00963485241, -0.63247174, -0.774523556),Alpha)
1603
		NK.C0 = clerp(NK.C0,CFrame.new(3.81190921e-06, 1.49893928, -0.0144081786, 1, -1.86264515e-09, 0, 0, 0.99796468, 0.0637704432, 2.98023224e-08, -0.0637704507, 0.997964561),Alpha)
1604
	end
1605
	Sound(Root,260433768,1,5.25,false,true,true)
1606
	ShootBullet{Size=V3.N(Scale,Scale,Scale),Shape='Ball',Frames=320,Origin=orb.CFrame,Speed=5,Color=BrickColor.new'Baby blue',HitFunction = function(hit,pos)
1607
		local snd, part = SoundPart(151304356,1,5.25,false,true,true,CF.N(pos))
1608
		AOEDamage(pos,Scale*4,{MinimumDamage=25,MaximumDamage=60})
1609
		Effect{
1610
			Effect='ResizeAndFade',
1611
			Color=BrickColor.new'Baby blue',
1612
			Size=V3.N(Scale*2,Scale*2,Scale*2),
1613
			Material=Enum.Material.Neon,
1614
			Mesh={MeshType=Enum.MeshType.Sphere},
1615
			CFrame=CF.N(pos),
1616
			FXSettings={
1617
				EndSize=V3.N(.1,.1,.1),
1618
				EndIsIncrement=true
1619
			}
1620
		}
1621
		Effect{
1622
			Effect='ResizeAndFade',
1623
			Color=BrickColor.new'Pastel light blue',
1624
			Size=V3.N(Scale*1.5,Scale*1.5,Scale*1.5),
1625
			Material=Enum.Material.Neon,
1626
			Mesh={MeshType=Enum.MeshType.Sphere},
1627
			CFrame=CF.N(pos),
1628
			FXSettings={
1629
				EndSize=V3.N(.1,.1,.1),
1630
				EndIsIncrement=true
1631
			}
1632
		}
1633
		for i = 0, 49 do
1634
			NoobyBlock(1,M.RNG(1,10)/2,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(4,4,4),0.08,BrickColor.new('Pastel light blue'),0,true)
1635
		end
1636
		for i = 0, 9 do
1637
			NoobySphere(1,2.5,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50),-0.05,BrickColor.new'Baby blue',0)
1638
			NoobySphere(2,5,"Multiply",CF.N(pos)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(5,5,50),-0.05,BrickColor.new'Pastel light blue',0)
1639
		end
1640
	end}
1641
	orb:destroy()
1642
	for i = 0, 1, 0.1 do
1643
		swait()
1644
		Root.CFrame = CF.N(Root.CFrame.p,CF.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z).p)
1645
		local Alpha = .3
1646
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00500682555, 0.00628831051, 0.00120097224, 0.92018038, 0.00246177102, 0.391486853, -8.42089548e-07, 0.99998033, -0.0062861559, -0.391494602, 0.00578406826, 0.920162261),Alpha)
1647
		LH.C0 = clerp(LH.C0,CFrame.new(-0.498779386, -1.00248599, -0.124541134, 0.959937453, -0.00228470936, 0.280205488, -0.0405473076, 0.988310218, 0.146966696, -0.277265698, -0.152440399, 0.94862318),Alpha)
1648
		RH.C0 = clerp(RH.C0,CFrame.new(0.539460897, -1.00021362, -0.107664183, 0.949007154, 0.0409194157, -0.312587768, 0.00198236411, 0.990746439, 0.135712415, 0.31524843, -0.129411712, 0.940144241),Alpha)
1649
		LS.C0 = clerp(LS.C0,CFrame.new(-1.41884661, 0.577570677, -0.000329867005, 0.959363103, 0.138315558, 0.245949864, -0.144226983, 0.989526033, 0.00609558355, -0.242530614, -0.041320473, 0.969263554),Alpha)
1650
		RS.C0 = clerp(RS.C0,CFrame.new(1.3995322, 0.560555339, 0.0217598975, 0.860549986, -0.340243995, 0.379061729, 0.396351576, -0.0201387759, -0.917877972, 0.319936305, 0.940121651, 0.117525801),Alpha)
1651
		NK.C0 = clerp(NK.C0,CFrame.new(-1.91013669e-06, 1.4989413, -0.0144026726, 1, -1.86264515e-09, 0, 2.32830644e-10, 0.997965097, 0.0637654439, -2.98023224e-08, -0.0637654439, 0.997965038),Alpha)
1652
	end
1653
	
1654
	Hum.AutoRotate = true
1655
	
1656
	Attack = false
1657
	NeutralAnims = true
1658
end
1659
1660
function Aeroplane()
1661
	Attack = true
1662
	NeutralAnims = false
1663
	NoobySphere2(3,'Multiply',Root.CFrame,V3.N(2,2,2),.5,BrickColor.new'White')
1664
	local rad = 0
1665
	for i = 0, 3, 0.1 do
1666
		AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30})
1667
		swait()
1668
		Root.Velocity = Root.CFrame.lookVector*(350-(i*66))
1669
		local Alpha = .3
1670
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00760343159, 1, -0.486851215, 0.99976027, -0.0157056805, -0.0152531685, 0.0156109696, 0.022916859, 0.99961555, -0.0153500848, -0.99961406, 0.0231565442),Alpha)
1671
		LH.C0 = clerp(LH.C0,CFrame.new(-0.494159192, -0.989393592, 0.0215745792, 0.998326361, 0.0556856021, 0.0156117883, -0.0557892919, 0.998422861, 0.00628646836, -0.0152371004, -0.00714691728, 0.999858439),Alpha)
1672
		RH.C0 = clerp(RH.C0,CFrame.new(0.467966676, -0.990411818, 0.015948534, 0.997011065, -0.0756644681, 0.0156140458, 0.0755743459, 0.99712044, 0.00628457591, -0.0160446018, -0.00508577004, 0.999858439),Alpha)
1673
		LS.C0 = clerp(LS.C0,CFrame.new(-1.48234439, 0.488731831, 0.0204298086, 1.08988024e-06, 0.999878109, 0.0156131675, -0.999979973, -9.79125834e-05, 0.00634019636, 0.00634095073, -0.0156128611, 0.999858081),Alpha)
1674
		RS.C0 = clerp(RS.C0,CFrame.new(1.44239902, 0.478527635, -0.0251723044, 0.000173310371, -0.999878168, 0.0156102739, 0.999979973, 0.00027231226, 0.00634019636, -0.00634367391, 0.0156088611, 0.999858141),Alpha)
1675
		NK.C0 = clerp(NK.C0,CFrame.new(5.21446054e-06, 1.48825693, 0.499068856, 1, -4.4076296e-07, 3.08027957e-05, 2.98316445e-05, 0.26330927, -0.964711607, -7.68547761e-06, 0.964711607, 0.26330927),Alpha)
1676
	end
1677
	for i = 0, 18, 0.1 do
1678
		AOEDamage(Root.CFrame.p,4,{MinimumDamage=15,MaximumDamage=30})
1679
		swait()
1680
		rad = rad + .1
1681
		local Alpha = .3
1682
		Root.Velocity = Root.CFrame.lookVector*150
1683
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00760343159, 1, -0.486851215, 0.99976027, -0.0157056805, -0.0152531685, 0.0156109696, 0.022916859, 0.99961555, -0.0153500848, -0.99961406, 0.0231565442)*CF.A(0,M.R((rad*360)),0),Alpha)
1684
		LH.C0 = clerp(LH.C0,CFrame.new(-0.494159192, -0.989393592, 0.0215745792, 0.998326361, 0.0556856021, 0.0156117883, -0.0557892919, 0.998422861, 0.00628646836, -0.0152371004, -0.00714691728, 0.999858439),Alpha)
1685
		RH.C0 = clerp(RH.C0,CFrame.new(0.467966676, -0.990411818, 0.015948534, 0.997011065, -0.0756644681, 0.0156140458, 0.0755743459, 0.99712044, 0.00628457591, -0.0160446018, -0.00508577004, 0.999858439),Alpha)
1686
		LS.C0 = clerp(LS.C0,CFrame.new(-1.48234439, 0.488731831, 0.0204298086, 1.08988024e-06, 0.999878109, 0.0156131675, -0.999979973, -9.79125834e-05, 0.00634019636, 0.00634095073, -0.0156128611, 0.999858081),Alpha)
1687
		RS.C0 = clerp(RS.C0,CFrame.new(1.44239902, 0.478527635, -0.0251723044, 0.000173310371, -0.999878168, 0.0156102739, 0.999979973, 0.00027231226, 0.00634019636, -0.00634367391, 0.0156088611, 0.999858141),Alpha)
1688
		NK.C0 = clerp(NK.C0,CFrame.new(5.21446054e-06, 1.48825693, 0.499068856, 1, -4.4076296e-07, 3.08027957e-05, 2.98316445e-05, 0.26330927, -0.964711607, -7.68547761e-06, 0.964711607, 0.26330927),Alpha)
1689
	end
1690
	Attack = false
1691
	NeutralAnims = true
1692
end
1693
1694
function Shrek()
1695
	Attack = true
1696
	NeutralAnims = false
1697
	local oWS = WalkSpeed
1698
	for i = 0, 2, 0.1 do
1699
		swait()
1700
		local Alpha = .3
1701
		RJ.C0 = RJ.C0:lerp(CFrame.new(-0.0045717326, 0.0650117323, -0.292746365, 0.999985039, -0.0054067187, -0.000930163078, 0.00540099945, 0.940456271, 0.339872152, -0.000962814316, -0.339872032, 0.940471232),Alpha)
1702
		LH.C0 = LH.C0:lerp(CFrame.new(-0.497873425, -1.08922517, -0.0665005744, 0.991378665, 0.00540100131, 0.130918339, 0.0394607596, 0.940456986, -0.337614775, -0.124946497, 0.339870125, 0.932135701),Alpha)
1703
		RH.C0 = RH.C0:lerp(CFrame.new(0.497141123, -1.09262908, -0.0732582211, 0.991080165, 0.00540100131, -0.133158669, -0.0502922162, 0.940456986, -0.336171925, 0.123414315, 0.339870125, 0.932339728),Alpha)
1704
		LS.C0 = LS.C0:lerp(CFrame.new(-1.01297855, 0.687084556, -0.109048009, 0.909904242, -0.414624929, -0.0126772588, -0.341911346, -0.732326984, -0.588892102, 0.234885365, 0.540169775, -0.808112383),Alpha)
1705
		RS.C0 = RS.C0:lerp(CFrame.new(1.10972738, 0.686874747, -0.142190307, 0.902195573, 0.431141198, -0.012677161, 0.341730058, -0.732411623, -0.588892102, -0.263180494, 0.526963592, -0.808112264),Alpha)
1706
		NK.C0 = NK.C0:lerp(CFrame.new(1.14651302e-05, 1.49894774, -0.0143921971, 1.00000012, 1.31642446e-06, -5.17815351e-07, -1.28056854e-06, 0.997964919, 0.0637671649, 5.99771738e-07, -0.0637671053, 0.997964978),Alpha)
1707
	end
1708
	WalkSpeed = 0
1709
	Sound(Head,368794903,1.2,10,false,true,true)
1710
	local wo = IN("Model",Effects)
1711
	
1712
	for i = 1, 3 do
1713
		local wat = 12.5+(i*2)
1714
		local screamPart = Part(wo,BrickColor.new'Pearl',Enum.Material.Neon,V3.N(1,1,1),Head.CFrame,false,false)
1715
		screamPart.Transparency = .6+(i/10)
1716
		Mesh(screamPart,Enum.MeshType.Sphere,"","",V3.N(wat,wat,wat))
1717
		Weld(screamPart,Torso)
1718
	end
1719
	
1720
	for i = 0, 8, 0.1 do
1721
		swait()
1722
		AOEDamage(Torso.CFrame.p,20,{
1723
			MinimumDamage=5,
1724
			MaximumDamage=10
1725
		})
1726
		local Alpha = .3
1727
		RJ.C0 = RJ.C0:lerp(CFrame.new(0.00617184862, -0.15, 0.395316333, 0.999986708, 0.00508808438, -0.000884585083, -0.00509300316, 0.943203092, -0.332178056, -0.000855805352, 0.332178146, 0.943216264)*CF.A(M.R(20),0,0),Alpha)
1728
		LH.C0 = LH.C0:lerp(CFrame.new(-0.497282684, -1.06256902, -0.0290378034, 0.999878228, -0.00509300316, 0.0147562362, -9.85493534e-05, 0.943203092, 0.332217097, -0.0156101063, -0.332178056, 0.943087518)*CF.A(M.R(-20),0,0),Alpha)
1729
		RH.C0 = RH.C0:lerp(CFrame.new(0.497732252, -1.05967009, -0.03568241, 0.999878228, -0.00509300316, 0.0147562362, -9.85493534e-05, 0.943203092, 0.332217097, -0.0156101063, -0.332178056, 0.943087518)*CF.A(M.R(-20),0,0),Alpha)
1730
		LS.C0 = LS.C0:lerp(CFrame.new(-1.42849481, 0.494048148, -0.00801739097, 0.98822248, 0.134164602, 0.0735954121, -0.152104512, 0.808569551, 0.568401217, 0.0167523213, -0.572901011, 0.819453418),Alpha)
1731
		RS.C0 = RS.C0:lerp(CFrame.new(1.41312766, 0.523678839, 0.0325531065, 0.980119586, -0.184282064, 0.0735261068, 0.110644385, 0.815263927, 0.568421364, -0.164693028, -0.548985541, 0.81944561),Alpha)
1732
		NK.C0 = NK.C0:lerp(CFrame.new(9.04871195e-06, 1.49893618, -0.0143969432, 1.00000012, 9.62987542e-07, -2.71946192e-07, -9.43895429e-07, 0.997964919, 0.0637682378, 3.31550837e-07, -0.063768208, 0.997964799),Alpha)
1733
	end
1734
	wo:breakJoints()
1735
	wo:destroy()
1736
	WalkSpeed = oWS
1737
	Attack = false
1738
	NeutralAnims = true
1739
end
1740
local cansnap = true
1741
function NeckSnap(target)
1742
if cansnap == true then
1743
	if(target)then
1744
		local torso = GetTorso(target)
1745
		local hum = target:FindFirstChildOfClass'Humanoid'
1746
		local hed = target:FindFirstChild'Head'
1747
		if(torso and hum and hum.Health > 0 and hed)then
1748
			local oWS = WalkSpeed
1749
			local oPar = target.Parent
1750
			local originalpos = Root.CFrame
1751
			WalkSpeed = 0
1752
			Hum.JumpPower = 0
1753
			Attack = true
1754
			NeutralAnims = false
1755
			Root.Anchored = true
1756
			torso.Anchored = true
1757
			target.Parent = Char
1758
			Hum.AutoRotate = false
1759
			Root.CFrame = torso.CFrame*CF.N(-0.54454422, 0, 0.987496376)
1760
			for _,v in next, torso:children() do
1761
				if(v:IsA'JointInstance' and (v.Part0 == hed or v.Part1 == hed))then
1762
					v:destroy()
1763
				end
1764
			end
1765
			
1766
			local weld = NewInstance('Motor',torso,{Part0=hed,Part1=torso,C0=CF.N(0,-1.5,0)})
1767
			for i = 0, 1, 0.1 do
1768
				swait()
1769
				local Alpha = .3
1770
				RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
1771
				LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990816116, 0.0216189735, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1772
				RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1773
				LS.C0 = clerp(LS.C0,CFrame.new(-0.763917506, 0.783056259, -0.756683111, 0.675138593, -0.737685442, 0.00284584239, 0.140656561, 0.124941669, -0.982143223, 0.724157274, 0.663483143, 0.188113257),Alpha)
1774
				RS.C0 = clerp(RS.C0,CFrame.new(1.23871374, 1.09544897, -0.196351975, 0.766011953, 0.365654767, -0.528698623, -0.105766296, -0.739559352, -0.664729595, -0.634065628, 0.565109432, -0.527837396),Alpha)
1775
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737725e-05, 1.4989512, -0.0144016817, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1776
			end
1777
			Sound(hed,1093102664,1,5,false,true,true)
1778
			for i = 0, 1.3, 0.1 do
1779
				swait()
1780
				local Alpha = .3
1781
				---weld.C0 = weld.C0:lerp(CF.N(0,-1.5,0)*CF.A(0,M.R(-90),0),Alpha)
1782
				RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
1783
				LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990818024, 0.0216189846, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1784
				RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990980625, 0.0154631399, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1785
				LS.C0 = clerp(LS.C0,CFrame.new(-1.38228214, 0.484847993, -0.0603635609, 0.424681932, 0.905338109, 0.00285495515, -0.169125155, 0.0824314952, -0.982141495, -0.889405489, 0.41661495, 0.18812263),Alpha)
1786
				RS.C0 = clerp(RS.C0,CFrame.new(1.40680802, 0.48904568, -0.02736184, 0.441890627, -0.897064447, 0.00284484075, 0.169923306, 0.0805888921, -0.982156575, 0.8808285, 0.43448925, 0.188043654),Alpha)
1787
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894726, -0.014402397, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1788
			end
1789
			target.Parent = oPar
1790
			target.Humanoid:TakeDamage(math.random(15,20))
1791
			WalkSpeed = oWS
1792
			Hum.JumpPower = 50
1793
			Hum.AutoRotate = true
1794
			Root.Anchored = false
1795
			torso.Anchored = false
1796
			Attack = false
1797
			NeutralAnims = true
1798
			cansnap = false
1799
			wait(5)
1800
			cansnap = true
1801
			warn("You Can Use Neck Snap Now")
1802
		elseif cansnap == false then
1803
		warn("Move On Cooldown")
1804
			end
1805
		end
1806
	end
1807
end
1808
1809
function AttackOne()
1810
	Attack = true
1811
	NeutralAnims = false
1812
	for i = 0, .7, 0.1 do
1813
		swait()
1814
		local Alpha = .3
1815
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.054845117, 0.00628340431, 0.0621978641, 0.574560821, -0.00514742406, -0.818445683, 1.76018864e-06, 0.99998033, -0.00628790678, 0.818461895, 0.00361134461, 0.574549437),Alpha)
1816
		LH.C0 = clerp(LH.C0,CFrame.new(-0.525948346, -0.994591057, 0.0135081597, 0.989666939, 0.0856333151, 0.115006924, -0.0869238526, 0.996195495, 0.00624422729, -0.114034653, -0.0161765479, 0.993345082),Alpha)
1817
		RH.C0 = clerp(RH.C0,CFrame.new(0.487148911, -0.967346072, -0.0260838568, 0.964277864, -0.0686885938, 0.255832553, -0.00166595122, 0.964203477, 0.265158683, -0.264888048, -0.256112814, 0.92964536),Alpha)
1818
		LS.C0 = clerp(LS.C0,CFrame.new(-1.38879275, 0.498546124, -0.255748421, 0.692717075, 0.721134841, 0.0103802728, 0.00202227081, 0.0124506345, -0.999920607, -0.721206725, 0.692682922, 0.00716643687),Alpha)
1819
		RS.C0 = clerp(RS.C0,CFrame.new(1.27866459, 0.504911065, -0.181807131, 0.763874948, -0.645362377, -0.00163397193, -0.0634241104, -0.0725510716, -0.995346248, 0.642240286, 0.760423601, -0.0963514596),Alpha)
1820
		NK.C0 = clerp(NK.C0,CFrame.new(-0.0864869878, 1.49901688, -0.00313834194, 0.57456094, -0.0470548049, 0.817108035, -0.00514778076, 0.998118699, 0.0610983856, -0.818445623, -0.0393110402, 0.573237658),Alpha)
1821
	end
1822
	Sound(RArm,200632136,1.1,5,false,true,true)
1823
	for i = 0, .9, 0.1 do
1824
		swait()
1825
		local Alpha = .3
1826
		AOEDamage(RArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30})
1827
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0895246193, 0.00628795894, -0.0240665041, 0.667355478, 0.00468144845, 0.744724631, -1.60177922e-06, 0.99998033, -0.00628458662, -0.744739354, 0.0041928608, 0.667342305),Alpha)
1828
		LH.C0 = clerp(LH.C0,CFrame.new(-0.525933743, -0.994594276, 0.0135074947, 0.995298743, 0.0856334865, -0.0452488065, -0.0847965032, 0.996195495, 0.0201073457, 0.0467984378, -0.0161758773, 0.998773336),Alpha)
1829
		RH.C0 = clerp(RH.C0,CFrame.new(0.490905643, -0.74434638, -0.358290195, 0.993401766, -0.0489627272, -0.103709608, 0.0897386894, 0.894942641, 0.437063992, 0.0714142919, -0.443486929, 0.893431306),Alpha)
1830
		LS.C0 = clerp(LS.C0,CFrame.new(-1.34781098, 0.451429009, 0.184345022, 0.920896769, 0.211902812, 0.327179492, -0.00245033321, 0.842468321, -0.538740575, -0.389798939, 0.495322734, 0.776345491),Alpha)
1831
		RS.C0 = clerp(RS.C0,CFrame.new(1.33741677, 0.579409122, -0.335710943, 0.71467489, -0.698394477, 0.0385371894, -0.0347292982, -0.0904589221, -0.995294571, 0.698594153, 0.709973574, -0.0889034569),Alpha)
1832
		NK.C0 = clerp(NK.C0,CFrame.new(0.0455316827, 1.49947691, 0.069996126, 0.667355359, 0.0428168029, -0.743507743, 0.00468109129, 0.99808526, 0.0616789386, 0.744724751, -0.0446421988, 0.665876985),Alpha)
1833
	end
1834
	Combo = 2
1835
	Attack = false
1836
	NeutralAnims = true
1837
end
1838
1839
function AttackTwo()
1840
	Attack = true
1841
	NeutralAnims = false
1842
	for i = 0, 1, 0.1 do
1843
		swait()
1844
		local Alpha = .3
1845
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.00337019563, 0.00628272956, -0.00105122454, 0.788301051, 0.00386909139, 0.615277588, -1.32338778e-06, 0.99998033, -0.00628654705, -0.615289807, 0.00495487731, 0.788285434),Alpha)
1846
		LH.C0 = clerp(LH.C0,CFrame.new(-0.370244205, -1.06356883, -0.0345072895, 0.88316524, 0.227487147, 0.41020599, -0.259257317, 0.965541184, 0.0227174684, -0.390902787, -0.126412138, 0.911709964),Alpha)
1847
		RH.C0 = clerp(RH.C0,CFrame.new(0.39778316, -1.07560706, -0.0971514285, 0.900898933, -0.0766149312, -0.427213579, 0.151964575, 0.977673352, 0.145127282, 0.406556368, -0.195666283, 0.892427385),Alpha)
1848
		LS.C0 = clerp(LS.C0,CFrame.new(-1.47616029, 0.512279212, 0.0670655966, 0.904187679, -0.427135438, 0.00023345463, 0.00958644785, 0.0197467823, -0.999759197, 0.427027881, 0.903972089, 0.0219495054),Alpha)
1849
		RS.C0 = clerp(RS.C0,CFrame.new(1.33361411, 0.488021076, -0.300545812, 0.00661067665, -0.543416262, 0.839437485, 0.976997852, -0.175422177, -0.121254832, 0.213147745, 0.820930004, 0.529756606)*CF.A(0,M.R(-90),0),Alpha)
1850
		NK.C0 = clerp(NK.C0,CFrame.new(-0.000233855098, 1.49894583, -0.0145844966, 0.788300931, 0.0353745371, -0.614272296, 0.0038687347, 0.998041451, 0.062439695, 0.615277767, -0.0515977256, 0.786619961),Alpha)
1851
	end	
1852
	Sound(LArm,200632136,.9,5,false,true,true)
1853
	for i = 0, 1, 0.1 do
1854
		swait()
1855
		local Alpha = .3
1856
		AOEDamage(LArm.CFrame.p,2,{MinimumDamage=10,MaximumDamage=30})
1857
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0139055764, 0.00628619827, -0.0431878939, 0.736094832, -0.0042554969, -0.676865041, 1.4556681e-06, 0.99998033, -0.00628536195, 0.676878333, 0.00462563755, 0.736080408),Alpha)
1858
		LH.C0 = clerp(LH.C0,CFrame.new(-0.370245337, -1.06356549, -0.0345049649, 0.883166075, 0.227488101, 0.410203636, -0.25925675, 0.965541363, 0.0227144919, -0.390901268, -0.126408711, 0.911711276),Alpha)
1859
		RH.C0 = clerp(RH.C0,CFrame.new(0.397780299, -1.07560635, -0.0971318483, 0.900898337, -0.076615192, -0.427214652, 0.151964024, 0.977673769, 0.145124823, 0.406557709, -0.195663959, 0.892427325),Alpha)
1860
		LS.C0 = clerp(LS.C0,CFrame.new(-1.54785693, 0.502721965, -0.369121343, 0.640384734, 0.768054307, 9.36477445e-05, -0.0167029109, 0.0140483743, -0.999761999, -0.767872751, 0.640230715, 0.0218251087),Alpha)
1861
		RS.C0 = clerp(RS.C0,CFrame.new(1.41005266, 0.394677043, -0.101526827, 0.621816397, -0.730075538, 0.283432782, 0.783004642, 0.586830258, -0.206238553, -0.0157571733, 0.350171626, 0.93655318)*CF.A(0,M.R(-90),0),Alpha)
1862
		NK.C0 = clerp(NK.C0,CFrame.new(0.0361058414, 1.49909592, 0.00928576291, 0.736094952, -0.0389148258, 0.67575866, -0.00425585406, 0.998060346, 0.0621110015, -0.676864862, -0.0485955328, 0.7345016),Alpha)
1863
	end
1864
	Combo = 3
1865
	Attack = false
1866
	NeutralAnims = true
1867
end
1868
1869
function AttackThree()
1870
	Attack = true
1871
	NeutralAnims = false
1872
	for i = 0, 1, 0.1 do
1873
		swait()
1874
		local Alpha = .3
1875
		RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
1876
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216190033, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1877
		RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154631268, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
1878
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12213016, 0.47289753, -0.302224725, 0.912795186, -0.408417523, -7.55176477e-10, 0.00256825075, 0.00573992962, -0.999980211, 0.408409536, 0.912777245, 0.00628829934),Alpha)
1879
		RS.C0 = clerp(RS.C0,CFrame.new(1.11283636, 0.472678095, -0.337120384, 0.899599433, 0.436715961, -7.55176477e-10, -0.00274620112, 0.00565694971, -0.999980211, -0.436707377, 0.89958173, 0.00628829934),Alpha)
1880
		NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894738, -0.0144004971, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1881
	end
1882
	--for a = 1, 3 do
1883
	local a = 2
1884
	coroutine.wrap(function()
1885
		for i = 5,45,10 do
1886
			local hite = Instance.new("Part",Char)
1887
			hite.Anchored = true
1888
			hite.CanCollide = false
1889
			hite.Material = "Neon"
1890
			hite.Size = V3.N(1, 1, 1)
1891
			hite.Transparency = 1
1892
			hite.CFrame = (Root.CFrame + Root.CFrame.lookVector)*CF.A(0,M.R(90+(a*45)),0)*CF.N(0,0,i)
1893
			CamShakeAOE(hite.CFrame.p,10,30,250)
1894
			NoobySphere2(3,'Multiply',hite.CFrame,V3.N(0,0,0),.15,Core2.Color)
1895
			NoobySphere2(6,'Multiply',hite.CFrame,V3.N(0,0,0),.3,Core2.Color)
1896
			for i = 1, 2 do
1897
				NoobySphere(2,.2,'Multiply',Root.CFrame*CF.N(0,-.5,-.5)*CF.A(M.RRNG(-20,20),M.RRNG(-20,20),M.RRNG(-20,20)),V3.N(.5,.5,5),-.005,Core2.Color,0)			
1898
			end
1899
			for i = 1, 5 do
1900
				NoobySphere(2.25,.6,'Multiply',hite.CFrame*CF.N(0,0,0)*CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)),V3.N(2,2,2),0,Core2.Color,0)
1901
			end
1902
			AOEDamage(hite.CFrame.p,10,{MinimumDamage=25,MaximumDamage=45})
1903
			Sound(hite,183763506,1,5,false,true,true)
1904
			S.Debris:AddItem(hite,2)
1905
			swait()
1906
		end
1907
	end)()
1908
	--end
1909
	for i = 0, 1, 0.1 do
1910
		swait()
1911
		local Alpha = .3
1912
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.00691798097, -0.0495741703, 0.443018734, 0.999998093, -0.00196288247, -0.000110176392, 0.00196200004, 0.992848635, 0.119364031, -0.000124909915, -0.119364008, 0.992850542),Alpha)
1913
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497228384, -0.946920514, -0.0261252522, 0.999878228, 0.0041074818, 0.0150607219, -9.9174933e-05, 0.966415524, -0.256984442, -0.0156104742, 0.25695163, 0.966298223),Alpha)
1914
		RH.C0 = clerp(RH.C0,CFrame.new(0.497788221, -0.949530363, -0.0326310396, 0.999878228, 0.0041074818, 0.0150607219, -9.9174933e-05, 0.966415524, -0.256984442, -0.0156104742, 0.25695163, 0.966298223),Alpha)
1915
		LS.C0 = clerp(LS.C0,CFrame.new(-1.43487072, 0.476260573, 0.232709944, -0.586293817, 0.810098529, 9.3865674e-07, -0.00509618223, -0.00368710607, -0.999980271, -0.810082495, -0.586282253, 0.00629013777),Alpha)
1916
		RS.C0 = clerp(RS.C0,CFrame.new(1.44212484, 0.475975186, 0.187793851, -0.560718656, -0.828006506, -2.90002208e-06, 0.00520995259, -0.00352462381, -0.999980271, 0.827990055, -0.56070751, 0.00629019737),Alpha)
1917
		NK.C0 = clerp(NK.C0,CFrame.new(9.53681956e-06, 1.49895513, -0.0144005343, 1.00000012, 0, 9.31322575e-10, 1.16415322e-10, 0.99796474, 0.0637698025, -9.31322575e-10, -0.0637697875, 0.997964621),Alpha)
1918
	end
1919
	Combo = 1
1920
	Attack = false
1921
	NeutralAnims = true
1922
end
1923
1924
1925
local WingSine = 0
1926
local WingChange = 1
1927
1928
function SolitudeMode()
1929
	Attack = true
1930
	NeutralAnims = false
1931
	local Sin = 0
1932
	MusicID = 1564523997
1933
	Pitch = 1
1934
	WalkSpeed = 0
1935
	Sound(Core2,136007472,1.25,2.5,false,true,true)
1936
	for i = 0, 4, 0.1 do
1937
		swait()
1938
		NoobySphere(2.5,-1.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(3.5,3.5,45),-.035,Core2.Color,100)
1939
		Sin = Sin + 5
1940
		local Alpha = .1
1941
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00700476859, 0.0667984039, -0.448462069, 0.999972343, -0.00723911775, -0.00172879919, 0.00722799823, 0.88917774, 0.457504779, -0.00177471992, -0.457504541, 0.889205575),Alpha)
1942
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497889668, -1.14359522, -0.0677340925, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
1943
		RH.C0 = clerp(RH.C0,CFrame.new(0.497117043, -1.14809179, -0.0749855936, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
1944
		LS.C0 = clerp(LS.C0,CFrame.new(-1.20745349, 0.562693655, 0.156515986, 0.841866791, -0.539501786, -0.014077506, -0.490290582, -0.753652692, -0.43774724, 0.225555882, 0.375426948, -0.898987949)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha)
1945
		RS.C0 = clerp(RS.C0,CFrame.new(1.17680144, 0.613272369, 0.0997506529, 0.834507108, 0.550817847, -0.0140647329, 0.49015516, -0.753777146, -0.437684804, -0.251686275, 0.358357221, -0.899018526)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha)
1946
		NK.C0 = clerp(NK.C0,CFrame.new(6.50798393e-06, 1.53005648, -0.348988175, 1.00000012, 2.40840018e-06, -1.19656324e-05, 5.68898395e-06, 0.775360823, 0.631518543, 1.07986853e-05, -0.631518602, 0.775360942)*CF.A(0,M.R(0+16*M.S(Sin)),0),Alpha)
1947
	end
1948
	for _,v in next, LWing:children() do
1949
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Black' end
1950
	end
1951
	for _,v in next, RWing:children() do
1952
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end
1953
	end
1954
	for _,v in next, LWingEXT:children() do
1955
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end
1956
	end
1957
	for _,v in next, RWingEXT:children() do
1958
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Black' end
1959
	end
1960
	for _,v in next, Halo:children() do
1961
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Black' end
1962
	end
1963
	pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,0,0) end)
1964
	pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,0,0) end)
1965
	WalkSpeed = 16
1966
	Mode = 1
1967
	Core2.BrickColor = BrickColor.new'Black'
1968
	Core2.Material = Enum.Material.Neon
1969
	Sound(Root,"206082327",1,2.5,false,true,true)
1970
	Sound(Root,"847061203",1,5,false,true,true)
1971
	Sound(Root,"239000203",1,2.5,false,true,true)
1972
	Sound(Root,"579687077",.75,2.5,false,true,true)
1973
	RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
1974
	NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor)
1975
	for i = 1, 24 do
1976
		NoobyBlock(1,M.RNG(20,100)/100,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2,2,2),.04,Core2.Color,0,true)
1977
	end
1978
	for i = 0, 15 do
1979
		NoobySphere(3,-.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,25),-.04,Core2.Color,0)
1980
	end
1981
	for i = 0, 1.4, 0.1 do
1982
		swait()
1983
		local Alpha = .3
1984
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0104959598, -0.113952652, 0.672263861, 0.999963522, 0.00820299331, -0.0023882892, -0.00821700692, 0.846846819, -0.531773448, -0.00233961921, 0.531773746, 0.846883237),Alpha)
1985
		LH.C0 = clerp(LH.C0,CFrame.new(-0.49749428, -1.06169748, -0.0426189601, 0.999878228, -0.00744201383, 0.013721575, -0.000100045589, 0.875963986, 0.482376754, -0.0156094572, -0.482319295, 0.875856459),Alpha)
1986
		RH.C0 = clerp(RH.C0,CFrame.new(0.498449236, -1.1497941, 0.0108022094, 0.999878228, -0.0120362351, 0.009939529, -0.000100045589, 0.631795883, 0.775134981, -0.0156094572, -0.775041461, 0.631717622),Alpha)
1987
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12307608, 0.484921068, 0.092245549, 0.865161359, 0.501252413, -0.0155520458, 0.497926384, -0.862286389, -0.092366755, -0.059709385, 0.07216838, -0.995603561),Alpha)
1988
		RS.C0 = clerp(RS.C0,CFrame.new(1.37669122, 0.484069884, 0.0531393886, 0.866546988, -0.498853445, -0.0155524863, -0.49802509, -0.862227678, -0.0923835635, 0.032676056, 0.0878001451, -0.995602131),Alpha)
1989
		NK.C0 = clerp(NK.C0,CFrame.new(1.14440181e-05, 1.49895036, -0.0144141242, 1.00000012, 0, -9.31322575e-10, 0, 0.99796474, 0.0637694895, -9.31322575e-10, -0.0637694895, 0.99796468),Alpha)
1990
	end
1991
	Attack = false
1992
	NeutralAnims = true
1993
end
1994
1995
function PureMode()
1996
	for _,v in next, LWing:children() do
1997
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Pastel Blue' end
1998
	end
1999
	for _,v in next, RWing:children() do
2000
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end
2001
	end
2002
	for _,v in next, LWingEXT:children() do
2003
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end
2004
	end
2005
	for _,v in next, RWingEXT:children() do
2006
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Pastel Blue' end
2007
	end
2008
	for _,v in next, Halo:children() do
2009
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Pastel Blue' end
2010
	end
2011
	WalkSpeed = 16
2012
	pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(0,1,1) end)
2013
	pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(0,1,1) end)
2014
	RecolorTextAndRename("Clarity",C3.N(1,1,1),BrickColor.new'Pastel Blue'.Color)
2015
	MusicID = 1539245059
2016
	Pitch = 1
2017
	Mode = 2
2018
	Core2.BrickColor = BrickColor.new'Pastel Blue'	
2019
	Core2.Material = Enum.Material.Neon
2020
end
2021
2022
function GlitchMode()
2023
	for _,v in next, LWing:children() do
2024
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 0 v.BrickColor = BrickColor.new'White' end
2025
	end
2026
	for _,v in next, RWing:children() do
2027
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end
2028
	end
2029
	for _,v in next, LWingEXT:children() do
2030
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end
2031
	end
2032
	for _,v in next, RWingEXT:children() do
2033
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.DiamondPlate v.Transparency = 1 v.BrickColor = BrickColor.new'White' end
2034
	end
2035
	for _,v in next, Halo:children() do
2036
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'White' end
2037
	end
2038
	pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end)
2039
	pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end)
2040
	WalkSpeed = 16
2041
	RecolorTextAndRename("Error",C3.N(1,1,1),C3.N(1,1,1))
2042
	MusicID = 158964012
2043
	Pitch = .93
2044
	Mode = 3
2045
	Core2.BrickColor = BrickColor.new'Dark stone grey'
2046
	Core2.Material = Enum.Material.DiamondPlate	
2047
end	
2048
2049
function StressMode()
2050
	for _,v in next, LWing:children() do
2051
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .25 v.BrickColor = BrickColor.new'Crimson' end
2052
	end
2053
	for _,v in next, RWing:children() do
2054
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.Color = C3.RGB(16,16,16) end
2055
	end
2056
	for _,v in next, LWingEXT:children() do
2057
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end
2058
	end
2059
	for _,v in next, RWingEXT:children() do
2060
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Crimson' end
2061
	end
2062
	for _,v in next, Halo:children() do
2063
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Crimson' end
2064
	end
2065
	WalkSpeed = 14
2066
	RecolorTextAndRename("Bloody Night",C3.N(.6,0,0),C3.N(0,0,0))
2067
	MusicID = 209322206
2068
	Pitch = 1
2069
	Mode = 4
2070
	Core2.BrickColor = BrickColor.new'Really red'
2071
	Core2.Material = Enum.Material.Neon	
2072
end	
2073
2074
function JusticeMode()
2075
	for _,v in next, LWing:children() do
2076
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end
2077
	end
2078
	for _,v in next, RWing:children() do
2079
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Institutional white' end
2080
	end
2081
	for _,v in next, LWingEXT:children() do
2082
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end
2083
	end
2084
	for _,v in next, RWingEXT:children() do
2085
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 1 v.BrickColor = BrickColor.new'Institutional white' end
2086
	end
2087
	for _,v in next, Halo:children() do
2088
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Institutional white' end
2089
	end
2090
	pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(1,1,1) end)
2091
	pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(1,1,1) end)
2092
	WalkSpeed = 50
2093
	RecolorTextAndRename("Angel",C3.N(1,1,1),C3.N(0,0,0))
2094
	MusicID = 315660031
2095
	Pitch = 1
2096
	Mode = 5
2097
	Core2.BrickColor = BrickColor.new'White'
2098
	Core2.Material = Enum.Material.Neon	
2099
end	
2100
2101
function RiddleMeThis()
2102
	Attack = true
2103
	NeutralAnims = false
2104
	WalkSpeed = 0
2105
	MusicID = 1420353940
2106
	Pitch = 1
2107
	Muted = true
2108
	repeat swait() until Music.IsLoaded	
2109
	Muted = false
2110
	Music.TimePosition = 0
2111
	Chat('Riddle me this..')
2112
	for i = 0,14,.1 do
2113
		local Alpha = .1
2114
		RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674263, 4.19029675e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
2115
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496486187, -0.990816116, 0.0216199569, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
2116
		RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990978718, 0.0154640805, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
2117
		LS.C0 = clerp(LS.C0,CFrame.new(-1.15619826, 0.410764694, 0.308931053, 0.862226903, -0.506325424, 0.0141164251, 0.451236814, 0.780479908, 0.432708263, -0.230108798, -0.366722882, 0.901423633),Alpha)
2118
		RS.C0 = clerp(RS.C0,CFrame.new(1.48984146, 0.433965802, -0.137121022, 0.754978359, -0.655723989, -0.00581999123, -0.244246826, -0.272958666, -0.930503726, 0.608564973, 0.703931689, -0.366236359),Alpha)
2119
		NK.C0 = clerp(NK.C0,CFrame.new(8.11554492e-06, 1.49894369, -0.0144015253, 0.931422114, -1.17415329e-05, -0.363940746, 0.0232203864, 0.997964501, 0.0593950115, 0.363199264, -0.0637726635, 0.929526567),Alpha)
2120
		swait()
2121
	end
2122
	Chat('Riddle me that..')
2123
	for i = 0,12,.1 do
2124
		local Alpha = .1
2125
		RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868, -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
2126
		LH.C0 = clerp(LH.C0,CFrame.new(-0.49648428, -0.990818024, 0.0216189846, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
2127
		RH.C0 = clerp(RH.C0,CFrame.new(0.498537898, -0.990980625, 0.0154631399, 0.999878109, -9.59694546e-11, 0.015612145, -9.81408521e-05, 0.999980211, 0.00628542574, -0.0156118376, -0.00628619269, 0.999858439),Alpha)
2128
		LS.C0 = clerp(LS.C0,CFrame.new(-1.25402236, 0.431008309, 0.117451549, 0.884577334, 0.388638854, 0.257842481, 0.312682211, -0.0839776248, -0.946138322, -0.346053123, 0.917555273, -0.195805177),Alpha)
2129
		RS.C0 = clerp(RS.C0,CFrame.new(1.22954941, 0.384757012, 0.168471783, 0.915931404, 0.401068091, 0.0146304797, -0.379809946, 0.85445267, 0.354478538, 0.129668966, -0.330234885, 0.934949815),Alpha)
2130
		NK.C0 = clerp(NK.C0,CFrame.new(8.37445259e-06, 1.49894357, -0.0144015923, 0.920970619, 2.08709389e-06, 0.389632136, -0.0248486493, 0.99796474, 0.058729209, -0.388839096, -0.063769713, 0.919096231),Alpha)
2131
		swait()	
2132
	end
2133
	Chat("Who's afraid of the big black..")
2134
	for i = 0,16,.1 do
2135
		local Alpha = .1
2136
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00438984111, 0.0221795738, -0.281239897, 0.999988556, -0.00473595224, -0.000703255646, 0.00473099947, 0.954816878, 0.297157228, -0.000735841691, -0.297157168, 0.954828322),Alpha)
2137
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497070849, -1.04715037, -0.0156083405, 0.999878228, 0.00473099947, 0.0148762148, -9.61141777e-05, 0.954816878, -0.297194898, -0.0156100877, 0.297157228, 0.954700947),Alpha)
2138
		RH.C0 = clerp(RH.C0,CFrame.new(0.49794969, -1.05015182, -0.0222227573, 0.999878228, 0.00473099947, 0.0148762148, -9.61141777e-05, 0.954816878, -0.297194898, -0.0156100877, 0.297157228, 0.954700947),Alpha)
2139
		LS.C0 = clerp(LS.C0,CFrame.new(-1.32246351, 0.253595859, 0.199904889, 0.862232804, -0.506315708, 0.0141151678, 0.451225579, 0.780480325, 0.432719588, -0.230109304, -0.366735876, 0.90141809),Alpha)
2140
		RS.C0 = clerp(RS.C0,CFrame.new(1.33073413, 0.290129036, 0.183640629, 0.915928423, 0.401075214, 0.0146333817, -0.379820168, 0.854456067, 0.354459614, 0.129661351, -0.330217659, 0.934956849),Alpha)
2141
		NK.C0 = clerp(NK.C0,CFrame.new(1.58162902e-06, 1.5248462, -0.171738505, 1.00000012, -7.59866089e-06, 1.38636678e-05, -3.15252692e-07, 0.867144346, 0.498057216, -1.58054754e-05, -0.498057246, 0.867144227),Alpha)
2142
		swait()
2143
	end
2144
	for i = 0, .7, 0.1 do
2145
		swait()
2146
		local Alpha = .3
2147
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00700476859, 0.0667984039, -0.448462069, 0.999972343, -0.00723911775, -0.00172879919, 0.00722799823, 0.88917774, 0.457504779, -0.00177471992, -0.457504541, 0.889205575),Alpha)
2148
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497889668, -1.14359522, -0.0677340925, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
2149
		RH.C0 = clerp(RH.C0,CFrame.new(0.497117043, -1.14809179, -0.0749855936, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
2150
		LS.C0 = clerp(LS.C0,CFrame.new(-1.20745349, 0.562693655, 0.156515986, 0.841866791, -0.539501786, -0.014077506, -0.490290582, -0.753652692, -0.43774724, 0.225555882, 0.375426948, -0.898987949),Alpha)
2151
		RS.C0 = clerp(RS.C0,CFrame.new(1.17680144, 0.613272369, 0.0997506529, 0.834507108, 0.550817847, -0.0140647329, 0.49015516, -0.753777146, -0.437684804, -0.251686275, 0.358357221, -0.899018526),Alpha)
2152
		NK.C0 = clerp(NK.C0,CFrame.new(6.50798393e-06, 1.53005648, -0.348988175, 1.00000012, 2.40840018e-06, -1.19656324e-05, 5.68898395e-06, 0.775360823, 0.631518543, 1.07986853e-05, -0.631518602, 0.775360942),Alpha)
2153
	end
2154
2155
	for _,v in next, LWing:children() do
2156
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end
2157
	end
2158
	for _,v in next, RWing:children() do
2159
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end
2160
	end
2161
	for _,v in next, LWingEXT:children() do
2162
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end
2163
	end
2164
	for _,v in next, RWingEXT:children() do
2165
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end
2166
	end
2167
	for _,v in next, Halo:children() do
2168
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Really black' end
2169
	end
2170
	pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Black'.Color end)
2171
	pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Black'.Color end)
2172
	WalkSpeed = 50
2173
	RecolorTextAndRename("The Big Black",BrickColor.new'Really black'.Color,C3.N(1,1,1))
2174
	Core2.BrickColor = BrickColor.new'Really black'
2175
	Core2.Material = Enum.Material.Neon	
2176
	Mode = 666666666666
2177
	Sound(Root,"206082327",1,2.5,false,true,true)
2178
	Sound(Root,"847061203",1,5,false,true,true)
2179
	Sound(Root,"239000203",1,2.5,false,true,true)
2180
	Sound(Root,"579687077",.75,2.5,false,true,true)
2181
	NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor)
2182
	for i = 1, 24 do
2183
		NoobyBlock(1,M.RNG(20,100)/100,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2,2,2),.04,Core2.Color,0,true)
2184
	end
2185
	for i = 0, 15 do
2186
		NoobySphere(3,-.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,25),-.04,Core2.Color,0)
2187
	end
2188
	for i = 0, .7, 0.1 do
2189
		swait()
2190
		local Alpha = .3
2191
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0104959598, -0.113952652, 0.672263861, 0.999963522, 0.00820299331, -0.0023882892, -0.00821700692, 0.846846819, -0.531773448, -0.00233961921, 0.531773746, 0.846883237),Alpha)
2192
		LH.C0 = clerp(LH.C0,CFrame.new(-0.49749428, -1.06169748, -0.0426189601, 0.999878228, -0.00744201383, 0.013721575, -0.000100045589, 0.875963986, 0.482376754, -0.0156094572, -0.482319295, 0.875856459),Alpha)
2193
		RH.C0 = clerp(RH.C0,CFrame.new(0.498449236, -1.1497941, 0.0108022094, 0.999878228, -0.0120362351, 0.009939529, -0.000100045589, 0.631795883, 0.775134981, -0.0156094572, -0.775041461, 0.631717622),Alpha)
2194
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12307608, 0.484921068, 0.092245549, 0.865161359, 0.501252413, -0.0155520458, 0.497926384, -0.862286389, -0.092366755, -0.059709385, 0.07216838, -0.995603561),Alpha)
2195
		RS.C0 = clerp(RS.C0,CFrame.new(1.37669122, 0.484069884, 0.0531393886, 0.866546988, -0.498853445, -0.0155524863, -0.49802509, -0.862227678, -0.0923835635, 0.032676056, 0.0878001451, -0.995602131),Alpha)
2196
		NK.C0 = clerp(NK.C0,CFrame.new(1.14440181e-05, 1.49895036, -0.0144141242, 1.00000012, 0, -9.31322575e-10, 0, 0.99796474, 0.0637694895, -9.31322575e-10, -0.0637694895, 0.99796468),Alpha)
2197
	end
2198
	Attack = false
2199
	NeutralAnims = true
2200
end
2201
2202
2203
2204
function ErrorOverDrive()
2205
	Attack = true
2206
	NeutralAnims = false
2207
	WalkSpeed = 0
2208
	MusicID = 0
2209
	Pitch = 1
2210
	Muted = true
2211
	repeat swait() until Music.IsLoaded	
2212
	Muted = false
2213
	Music.TimePosition = 0
2214
	
2215
	
2216
	
2217
	for i = 0, .7, 0.1 do
2218
		swait()
2219
		local Alpha = .3
2220
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00700476859, 0.0667984039, -0.448462069, 0.999972343, -0.00723911775, -0.00172879919, 0.00722799823, 0.88917774, 0.457504779, -0.00177471992, -0.457504541, 0.889205575),Alpha)
2221
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497889668, -1.14359522, -0.0677340925, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
2222
		RH.C0 = clerp(RH.C0,CFrame.new(0.497117043, -1.14809179, -0.0749855936, 0.999878228, 0.00722799823, 0.0138372099, -9.56082804e-05, 0.88917774, -0.457561791, -0.0156109957, 0.457504779, 0.889070213),Alpha)
2223
		LS.C0 = clerp(LS.C0,CFrame.new(-1.20745349, 0.562693655, 0.156515986, 0.841866791, -0.539501786, -0.014077506, -0.490290582, -0.753652692, -0.43774724, 0.225555882, 0.375426948, -0.898987949),Alpha)
2224
		RS.C0 = clerp(RS.C0,CFrame.new(1.17680144, 0.613272369, 0.0997506529, 0.834507108, 0.550817847, -0.0140647329, 0.49015516, -0.753777146, -0.437684804, -0.251686275, 0.358357221, -0.899018526),Alpha)
2225
		NK.C0 = clerp(NK.C0,CFrame.new(6.50798393e-06, 1.53005648, -0.348988175, 1.00000012, 2.40840018e-06, -1.19656324e-05, 5.68898395e-06, 0.775360823, 0.631518543, 1.07986853e-05, -0.631518602, 0.775360942),Alpha)
2226
	end
2227
2228
	for _,v in next, LWing:children() do
2229
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end
2230
	end
2231
	for _,v in next, RWing:children() do
2232
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = 0 v.BrickColor = BrickColor.new'Really black' end
2233
	end
2234
	for _,v in next, LWingEXT:children() do
2235
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end
2236
	end
2237
	for _,v in next, RWingEXT:children() do
2238
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.Transparency = .5 v.BrickColor = BrickColor.new'Really black' end
2239
	end
2240
	for _,v in next, Halo:children() do
2241
		if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Neon v.BrickColor = BrickColor.new'Really black' end
2242
	end
2243
	pcall(function() Char.ReaperShadowHead.Eye1.Color = BrickColor.new'Black'.Color end)
2244
	pcall(function() Char.ReaperShadowHead.Eye2.Color = BrickColor.new'Black'.Color end)
2245
	WalkSpeed = 16
2246
	RecolorTextAndRename("ERR0R OVERDRIVE",BrickColor.new'Really black'.Color,C3.N(1,1,1))
2247
	Core2.BrickColor = BrickColor.new'Really black'
2248
	Core2.Material = Enum.Material.Neon	
2249
	Mode = 777
2250
	Sound(Root,"206082327",1,2.5,false,true,true)
2251
	Sound(Root,"847061203",1,5,false,true,true)
2252
	Sound(Root,"239000203",1,2.5,false,true,true)
2253
	Sound(Root,"579687077",.75,2.5,false,true,true)
2254
	NoobySphere2(2.5,'Multiply',Core2.CFrame,V3.N(0,0,0),1,Core2.BrickColor)
2255
	for i = 1, 24 do
2256
		NoobyBlock(1,M.RNG(20,100)/100,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(2,2,2),.04,Core2.Color,0,true)
2257
	end
2258
	for i = 0, 15 do
2259
		NoobySphere(3,-.5,'Multiply',Core2.CFrame*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,25),-.04,Core2.Color,0)
2260
	end
2261
	for i = 0, .7, 0.1 do
2262
		swait()
2263
		local Alpha = .3
2264
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.0104959598, -0.113952652, 0.672263861, 0.999963522, 0.00820299331, -0.0023882892, -0.00821700692, 0.846846819, -0.531773448, -0.00233961921, 0.531773746, 0.846883237),Alpha)
2265
		LH.C0 = clerp(LH.C0,CFrame.new(-0.49749428, -1.06169748, -0.0426189601, 0.999878228, -0.00744201383, 0.013721575, -0.000100045589, 0.875963986, 0.482376754, -0.0156094572, -0.482319295, 0.875856459),Alpha)
2266
		RH.C0 = clerp(RH.C0,CFrame.new(0.498449236, -1.1497941, 0.0108022094, 0.999878228, -0.0120362351, 0.009939529, -0.000100045589, 0.631795883, 0.775134981, -0.0156094572, -0.775041461, 0.631717622),Alpha)
2267
		LS.C0 = clerp(LS.C0,CFrame.new(-1.12307608, 0.484921068, 0.092245549, 0.865161359, 0.501252413, -0.0155520458, 0.497926384, -0.862286389, -0.092366755, -0.059709385, 0.07216838, -0.995603561),Alpha)
2268
		RS.C0 = clerp(RS.C0,CFrame.new(1.37669122, 0.484069884, 0.0531393886, 0.866546988, -0.498853445, -0.0155524863, -0.49802509, -0.862227678, -0.0923835635, 0.032676056, 0.0878001451, -0.995602131),Alpha)
2269
		NK.C0 = clerp(NK.C0,CFrame.new(1.14440181e-05, 1.49895036, -0.0144141242, 1.00000012, 0, -9.31322575e-10, 0, 0.99796474, 0.0637694895, -9.31322575e-10, -0.0637694895, 0.99796468),Alpha)
2270
	end
2271
	Attack = false
2272
	NeutralAnims = true
2273
end
2274
2275
2276
--// Wrap it all up \\--
2277
2278
function KeyPress(code)
2279
	if(code == Enum.KeyCode.One and Mode ~= 1)then
2280
		SolitudeMode()
2281
	elseif(code == Enum.KeyCode.Two and Mode ~= 2)then
2282
		PureMode()
2283
	elseif(code == Enum.KeyCode.Three and Mode ~= 3)then
2284
		GlitchMode()
2285
	elseif(code == Enum.KeyCode.Four and Mode ~= 4)then
2286
		StressMode()
2287
	elseif(code == Enum.KeyCode.Five and Mode ~= 5)then
2288
		JusticeMode()
2289
    elseif(code == Enum.KeyCode.X and Mode ~= 777)then
2290
    ClickGlitch()
2291
	-- Transformations
2292
	elseif(code == Enum.KeyCode.T)then
2293
		if(Mode == 1)then
2294
			RiddleMeThis()
2295
		elseif(Mode == 3)then
2296
		ErrorOverDrive()
2297
		end
2298
	-- Toggle player attacking
2299
	elseif(code == Enum.KeyCode.Semicolon)then
2300
		DontAttackPlayers = not DontAttackPlayers
2301
		Chat(DontAttackPlayers and "You can no longer attack players" or "You can now attack players")
2302
	-- Attacks
2303
	elseif(code == Enum.KeyCode.Z)then
2304
		if(Mode == 1 or Mode == 666666666666 or Mode == 777)then
2305
			if(not UIS.TouchEnabled)then NeckSnap((Mouse.Target and Mouse.Target.Parent)) else warn("Tap someone, to snap their neck") MobileNeckSnap() end
2306
		elseif(Mode == 2)then
2307
			PureBomb()
2308
		elseif(Mode == 3)then
2309
			ClickGlitch()
2310
		elseif(Mode == 4)then
2311
			Shrek()
2312
		elseif(Mode == 5)then
2313
			Aeroplane()
2314
		end
2315
	end
2316
end
2317
2318
function AttackCombo()
2319
	if(Combo == 1)then AttackOne() elseif(Combo == 2)then AttackTwo() elseif(Combo == 3)then AttackThree() end
2320
end
2321
2322
UIS.InputBegan:connect(function(io,gpe)
2323
	if(Attack)then return end
2324
	if(not gpe)then
2325
		local code = io.KeyCode;
2326
		if(io.UserInputType == Enum.UserInputType.Keyboard)then
2327
			KeyPress(code)
2328
		elseif(io.UserInputType == Enum.UserInputType.MouseButton1)then
2329
			AttackCombo()
2330
		end
2331
	end
2332
end)
2333
2334
2335
coroutine.wrap(function()
2336
	-- AURAS
2337
	while true do		
2338
		if(Mode == 5 or Mode == 777)then
2339
			NoobySphere(5,0.15,"Multiply",Root.CFrame*CF.N(M.RNG(-5,5),-6,M.RNG(-5,5))*CF.A(M.R(90),0,0),V3.N(1.5,1.5,10),-0.015,BrickColor.new'White',0)
2340
		elseif(Mode == 666666666666)then
2341
			NoobySphere(5,math.random(25,75)/100,"Multiply",Root.CFrame*CF.N(M.RNG(-15,15),-10,M.RNG(-15,15))*CF.A(M.R(90),0,0)*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),V3.N(.75,.75,15),.005,Core2.BrickColor,0)			
2342
		end
2343
		if(Mode == 666666666666)then
2344
			NoobySphere(5,math.random(75,150)/100,"Multiply",Root.CFrame*CF.N(M.RNG(-35,35),-10,M.RNG(-35,35))*CF.A(M.R(90),0,0)*CF.A(M.RRNG(-25,25),M.RRNG(-25,25),M.RRNG(-25,25)),V3.N(.75,.75,25),.005,Core2.BrickColor,0)					
2345
		end
2346
		
2347
		swait()
2348
	end	
2349
end)()
2350
2351
while true do
2352
	swait()
2353
	Sine = Sine + Change
2354
	WingSine = WingSine + WingChange
2355
	if(Hue > 360)then Hue = 0 end
2356
	Hue = Hue + 1
2357
	
2358
	if(not Music or not Music.Parent)then
2359
		local tPos = 0;
2360
		if(Music)then tPos = Music.TimePosition; Music:Stop(); Music:Destroy(); end
2361
		Music = Sound(Char,MusicID,1,3,true,false,true)
2362
		Music.Name = 'Music'
2363
		Music.TimePosition = tPos;
2364
	end
2365
	Music.SoundId = "rbxassetid://"..MusicID
2366
	Music.Parent = Char
2367
	Music.Pitch = Pitch
2368
	Music.Volume = 2
2369
	if(not Muted)then
2370
		Music:Resume()
2371
	else
2372
		Music:Pause()
2373
	end
2374
	
2375
	if(God)then
2376
		Hum.MaxHealth = 1e100
2377
		Hum.Health = 1e100
2378
		if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
2379
		Hum.Name = M.RNG()*100
2380
	end
2381
	
2382
	local hitfloor,posfloor,norm = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
2383
	
2384
	if(Mode == 3)then
2385
		for _,v in next, LWing:children() do
2386
			local what = M.RNG()
2387
			if(v:IsA'BasePart')then
2388
				v.Color = C3.N(what,what,what)
2389
			end
2390
		end
2391
		for _,v in next, RWing:children() do
2392
			local what = M.RNG()
2393
			if(v:IsA'BasePart')then
2394
				v.Color = C3.N(what,what,what)
2395
			end
2396
		end
2397
		for _,v in next, LWingEXT:children() do
2398
			local what = M.RNG()
2399
			if(v:IsA'BasePart')then
2400
				v.Color = C3.N(what,what,what)
2401
			end
2402
		end
2403
		for _,v in next, RWingEXT:children() do
2404
			local what = M.RNG()
2405
			if(v:IsA'BasePart')then
2406
				v.Color = C3.N(what,what,what)
2407
			end
2408
		end
2409
2410
		local what1 = M.RNG()
2411
		local what2 = M.RNG()
2412
		local what3 = M.RNG()
2413
		local what4 = M.RNG()
2414
		Core2.Color = C3.N(what1,what1,what1)
2415
		
2416
		for _,v in next, Halo:children() do
2417
			if(v:IsA'BasePart')then
2418
				v.Color = C3.N(what1,what1,what1)
2419
			end
2420
		end
2421
		
2422
		text.TextStrokeColor3 = C3.N(what2,what2,what2)
2423
		text.TextColor3 = C3.N(what3,what3,what3)
2424
		pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,what4,what4) end)
2425
		pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,what4,what4) end)
2426
	elseif(Mode == 4)then
2427
		for _,v in next, LWing:children() do
2428
			local what = M.RNG()*.5
2429
			if(v:IsA'BasePart')then
2430
				v.Color = C3.N(what,0,0)
2431
			end
2432
		end
2433
		for _,v in next, LWingEXT:children() do
2434
			local what = M.RNG()*.5
2435
			if(v:IsA'BasePart')then
2436
				v.Color = C3.N(what,0,0)
2437
			end
2438
		end
2439
2440
		local what1 = M.RNG()*.5
2441
		local what2 = M.RNG()*.5
2442
		local what3 = M.RNG()*.5
2443
		local what4 = M.RNG()*.5
2444
		Core2.Color = C3.N(what1,0,0)
2445
		
2446
		for _,v in next, Halo:children() do
2447
			if(v:IsA'BasePart')then
2448
				v.Color = C3.N(what1,0,0)
2449
			end
2450
		end
2451
		
2452
		text.TextStrokeColor3 = C3.N(what2,0,0)
2453
		text.TextColor3 = C3.N(what3,0,0)
2454
		pcall(function() Char.ReaperShadowHead.Eye1.Color = C3.N(what4,0,0) end)
2455
		pcall(function() Char.ReaperShadowHead.Eye2.Color = C3.N(what4,0,0) end)
2456
	end
2457
	
2458
	LWingWelds[1].C0 = LWingWelds[1].C0:lerp(CF.N(0,0,2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(12.5+5*M.C(WingSine/32))),.1)
2459
	LWingWelds[2].C0 = LWingWelds[2].C0:lerp(CF.N(0,1,3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(25+7.5*M.C(WingSine/32))),.1)
2460
	LWingWelds[3].C0 = LWingWelds[3].C0:lerp(CF.N(0,2,4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(37.5+10*M.C(WingSine/32))),.1)
2461
	LWingWelds[4].C0 = LWingWelds[4].C0:lerp(CF.N(0,3,5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,M.R(50+12.5*M.C(WingSine/32))),.1)
2462
	LWingWelds[5].C0 = LWingWelds[5].C0:lerp(CF.N(0,4,6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,M.R(62.5+15*M.C(WingSine/32))),.1)
2463
	LWingWelds[6].C0 = LWingWelds[6].C0:lerp(CF.N(0,5,7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,M.R(75+17.5*M.C(WingSine/32))),.1)
2464
	
2465
	RWingWelds[1].C0 = RWingWelds[1].C0:lerp(CF.N(0,0,-2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,-M.R(12.5+5*M.C(WingSine/32))),.1)
2466
	RWingWelds[2].C0 = RWingWelds[2].C0:lerp(CF.N(0,1,-3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,-M.R(25+7.5*M.C(WingSine/32))),.1)
2467
	RWingWelds[3].C0 = RWingWelds[3].C0:lerp(CF.N(0,2,-4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,-M.R(37.5+10*M.C(WingSine/32))),.1)
2468
	RWingWelds[4].C0 = RWingWelds[4].C0:lerp(CF.N(0,3,-5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,-M.R(50+12.5*M.C(WingSine/32))),.1)
2469
	RWingWelds[5].C0 = RWingWelds[5].C0:lerp(CF.N(0,4,-6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,-M.R(62.5+15*M.C(WingSine/32))),.1)
2470
	RWingWelds[6].C0 = RWingWelds[6].C0:lerp(CF.N(0,5,-7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,-M.R(75+17.5*M.C(WingSine/32))),.1)
2471
	
2472
	local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
2473
	local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle")
2474
	if(not Effects or not Effects.Parent)then
2475
		Effects = IN("Model",Char)
2476
		Effects.Name = "Effects"
2477
	end																																																																																																		
2478
	if(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then
2479
		local wsVal = 7 / (Hum.WalkSpeed/16)
2480
		local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
2481
		Change = 1
2482
			
2483
	elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then
2484
		local wsVal = 7 / (Hum.WalkSpeed/16)
2485
		local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
2486
		Change = 1
2487
		if(Mode == 7)then
2488
			RH.C1 = RH.C1:lerp(CF.N(0,1-.05*M.C(Sine/wsVal),0+.1*M.C(Sine/wsVal))*CF.A(M.R(8-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/3,0,0),Alpha)
2489
			LH.C1 = LH.C1:lerp(CF.N(0,1+.05*M.C(Sine/wsVal),0-.1*M.C(Sine/wsVal))*CF.A(M.R(8+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/3,0,0),Alpha)
2490
		else
2491
			RH.C1 = RH.C1:lerp(CF.N(0,1-.1*M.C(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(16-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/1.75,0,0),Alpha)
2492
			LH.C1 = LH.C1:lerp(CF.N(0,1+.1*M.C(Sine/wsVal),0-.2*M.C(Sine/wsVal))*CF.A(M.R(16+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/1.75,0,0),Alpha)
2493
		end
2494
	else
2495
		RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
2496
		LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
2497
	end	
2498
	
2499
	Hum.WalkSpeed = WalkSpeed
2500
	if(NeutralAnims)then	
2501
		if(State == 'Idle')then
2502
			local Alpha = .1
2503
			if(Mode == 1 or Mode == 777)then
2504
				
2505
				Change = 1
2506
				RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00779043138, -0.0846293643+.1*M.C(Sine/32), -0.204210758, 0.912902117, -0.00691865245, -0.408120036, 0.117574908, 0.961935759, 0.246689886, 0.390878439, -0.273188382, 0.87896657),Alpha)
2507
				LH.C0 = clerp(LH.C0,CFrame.new(-0.587742627, -1.00122428-.1*M.C(Sine/32), -0.165018916, 0.860076427, 0.294745922, 0.416405559, -0.252913684, 0.955196917, -0.15373303, -0.443061411, 0.0269074962, 0.896087468),Alpha)
2508
				RH.C0 = clerp(RH.C0,CFrame.new(0.343915284, -1.07833397-.1*M.C(Sine/32), -0.0402937233, 0.964631855, -0.173768938, -0.198217094, 0.117325157, 0.956397653, -0.26746732, 0.236051857, 0.234751642, 0.942958832),Alpha)
2509
				LS.C0 = clerp(LS.C0,CFrame.new(-1.39700282, 0.545769572, -0.00181379914, 0.907886505, 0.355485201, -0.222199559, -0.405204862, 0.880023003, -0.247727305, 0.107477367, 0.314944565, 0.943005204)*CF.A(0,M.R(16-8*M.C(Sine/32)),M.R(0+12*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.476125))),Alpha)
2510
				RS.C0 = clerp(RS.C0,CFrame.new(0.903979659, 0.624733686, -0.396169931, 0.827836394, 0.560810268, -0.013374418, 0.472599089, -0.7100721, -0.521965444, -0.302220345, 0.42578119, -0.852861941)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2511
				NK.C0 = clerp(NK.C0,CFrame.new(-0.0470906645, 1.53467083, -0.115898043, 0.906688511, -0.16142872, 0.389688164, -0.00265284558, 0.921666741, 0.387973785, -0.421792656, -0.352805078, 0.835236311)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2512
			elseif(Mode == 2)then
2513
				Change = 1
2514
				RJ.C0 = clerp(RJ.C0,CFrame.new(2.74447132e-13, 0.00628674868+.1*M.C(Sine/32), -5.34626452e-07, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
2515
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496485978, -0.990816116-.1*M.C(Sine/32), 0.0216165781, 0.970629156, 7.27576055e-11, 0.240580648, -0.00151285366, 0.999980211, 0.00610364834, -0.240575925, -0.00628834311, 0.970610023),Alpha)
2516
				RH.C0 = clerp(RH.C0,CFrame.new(0.491330802, -1.06821454-.1*M.C(Sine/32), 0.0589520633, 0.986244023, 0.0538565964, -0.156276181, 0.00103943795, 0.943392873, 0.331676066, 0.165292785, -0.327276021, 0.930359602),Alpha)
2517
				LS.C0 = clerp(LS.C0,CFrame.new(-0.787155986, 0.248306945, -0.683226228, 0.0398273654, -0.999169707, 0.00859495346, 0.554963291, 0.0149663882, -0.831740201, 0.830920994, 0.0378959104, 0.555098593)*CF.A(M.R(0+5*M.C(Sine/32)),0,0),Alpha)
2518
				RS.C0 = clerp(RS.C0,CFrame.new(0.787632346, 0.574486911, -0.794373989, 0.0789790228, 0.995851278, 0.0451963581, 0.631366551, -0.0148838377, -0.775341749, -0.771452367, 0.0897712111, -0.629922688)*CF.A(M.R(0+5*M.C(Sine/32)),0,0),Alpha)
2519
				NK.C0 = clerp(NK.C0,CFrame.new(8.16642296e-06, 1.49894726, -0.014402397, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
2520
			elseif(Mode == 3)then
2521
				Change = 1
2522
				RJ.C0 = clerp(RJ.C0,CFrame.new(0.022457514, 0.0062841149, -0.00324006379, 0.982301593, 0.00117789698, 0.187302738, -4.02951969e-07, 0.999980211, -0.00628649723, -0.187306449, 0.00617515948, 0.982282162),Alpha)
2523
				LH.C0 = clerp(LH.C0,CFrame.new(-0.539962769, -1.00525093, -0.13583532, 0.998935044, -0.0434875898, 0.0154168755, 0.040365234, 0.985544145, 0.164539278, -0.0223494321, -0.163741738, 0.986250162),Alpha)
2524
				RH.C0 = clerp(RH.C0,CFrame.new(0.498531163, -0.990978718, 0.01546143, 0.985106111, 0, -0.171948016, 0.00108131359, 0.999980211, 0.00619494682, 0.171944603, -0.00628860993, 0.98508662),Alpha)
2525
				LS.C0 = clerp(LS.C0,CFrame.new(-1.42806315, 0.51039964, -0.00658199936, 0.990103781, 0.139778674, -0.0125195384, -0.139578417, 0.97154665, -0.191350713, -0.0145834237, 0.191204533, 0.981441915)*CF.A(0,0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2526
				RS.C0 = clerp(RS.C0,CFrame.new(1.42666709, 0.532186806, -0.134510398, 0.990944147, -0.126525059, 0.0449620783, 0.133282125, 0.967499852, -0.214895189, -0.0163111985, 0.218941733, 0.975601614)*CF.A(0,0,M.R(0-6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.012802)),M.R(0-15*M.S(Sine/0.716246))),Alpha)
2527
				NK.C0 = clerp(NK.C0,CFrame.new(2.28285789e-05, 1.49894154, -0.0143941939, 0.984171331, -0.0497024879, -0.170107797, 0.0760453045, 0.985445082, 0.152036116, 0.160075322, -0.162565485, 0.973626494)*CF.A(M.R(0+3*M.C(Sine/32)),0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+16*M.C(Sine/0.98172)),M.R(0+15*M.S(Sine/0.65142))),Alpha)
2528
			elseif(Mode == 4)then
2529
				Change = 1 
2530
				RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858+.1*M.C(Sine/16), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha)
2531
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912-.1*M.C(Sine/16), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha)
2532
				RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476-.1*M.C(Sine/16), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha)
2533
				LS.C0 = clerp(LS.C0,CFrame.new(-1.42592692, 0.493003547, -0.129623473, 0.987043619, 0.159894824, 0.0133710029, -0.130732149, 0.849730968, -0.51075089, -0.0930281729, 0.502385318, 0.859624803)*CF.A(0,0,M.R(0+6*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.817272)),M.R(0+15*M.S(Sine/0.9872346))),Alpha)
2534
				RS.C0 = clerp(RS.C0,CFrame.new(1.1449033, 0.691183329, -0.239056498, 0.899715602, 0.434673697, 0.0396348648, 0.435808241, -0.899650335, -0.0264700353, 0.024151668, 0.0410887003, -0.998863578)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2535
				NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2536
			elseif(Mode == 5)then
2537
				Change = 1
2538
				RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.2571125+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
2539
				LH.C0 = clerp(LH.C0,CFrame.new(-0.436587602, -0.992619872, 0.0206923336, 0.99808234, 0.0599006973, 0.0156119233, -0.0600048117, 0.998178363, 0.00628757617, -0.0152068557, -0.0072123101, 0.999858439),Alpha)
2540
				RH.C0 = clerp(RH.C0,CFrame.new(0.481217712, -0.504008591, -0.8678087, 0.997120202, -0.0733773932, -0.0191624481, 0.0741236135, 0.889526427, 0.450830936, -0.0160352942, -0.450953096, 0.892403722),Alpha)
2541
				LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.1*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(0,0,M.R(0+5*M.C(Sine/32))),Alpha)
2542
				RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.1*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(0,0,M.R(0-5*M.C(Sine/32))),Alpha)
2543
				NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
2544
			elseif(Mode == 666666666666)then
2545
				Change = 1
2546
				NoobySphere(4,.025,"Multiply",RArm.CFrame*CF.N(0,-1.25,0)*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),V3.N(.5,.5,.5),0,BrickColor.new'Black',0)
2547
				RJ.C0 = clerp(RJ.C0,CFrame.new(7.0558559e-11, 1.61628103+.5*M.C(Sine/32), -3.05566937e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271),Alpha)
2548
				LH.C0 = clerp(LH.C0,CFrame.new(-0.473465502, -1.00430846, 0.0547358543, 0.996436775, 0.0789096355, 0.0297838245, -0.0829922184, 0.980262518, 0.179437637, -0.0150366053, -0.181270093, 0.983318448),Alpha)
2549
				RH.C0 = clerp(RH.C0,CFrame.new(0.500664473, -0.996896267, 0.0722374618, 0.994860828, -0.10125193, 0.00038037356, 0.0999543592, 0.982697129, 0.155934408, -0.0161624532, -0.155095011, 0.987767398),Alpha)
2550
				LS.C0 = clerp(LS.C0,CFrame.new(-1.29428089, 0.420441031, 0.493041277, 0.816086888, -0.538787425, 0.209070042, 0.381859779, 0.774240494, 0.504712522, -0.43380329, -0.33205387, 0.837588906)*CF.A(0,0,M.R(0-5*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha)
2551
				RS.C0 = clerp(RS.C0,CFrame.new(1.36178303, 0.535555065, 0.0481818169, 0.959323943, -0.276642442, -0.0562722012, -0.281998605, -0.948367953, -0.145173192, -0.0132056763, 0.155136824, -0.98780489)*CF.A(0,0,M.R(0+5*M.C(Sine/32)))*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha)
2552
				NK.C0 = clerp(NK.C0,CFrame.new(0.0176411867, 1.49121404, -0.0637010336, 0.942441404, 0.0288463272, -0.333124816, 0.0213407781, 0.989051461, 0.146020114, 0.333689809, -0.144724563, 0.931507409)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+7.5*M.S(Sine/0.01278125))),Alpha)
2553
			else			
2554
				Change = .75
2555
				RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,.2*M.C(Sine/6),0)*CF.A(M.R(-5+5*M.C(Sine/12)),M.R(-10),0),Alpha)
2556
				NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-5+5*M.C(Sine/12)),0,0),Alpha)
2557
				LS.C0 = LS.C0:lerp(LSC0*CF.A(0,0,M.R(-7-5*M.C(Sine/12))),Alpha)
2558
				RS.C0 = RS.C0:lerp(RSC0*CF.A(0,0,M.R(7+5*M.C(Sine/12))),Alpha)
2559
				LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(10),0),Alpha)
2560
				RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.2*M.C(Sine/6),0)*CF.A(M.R(5-5*M.C(Sine/12)),M.R(-10),0),Alpha)
2561
			end
2562
			-- idle
2563
		elseif(State == 'Run' and Mode ~= 5 and Mode ~= 10 and Mode ~= 666666666666)then
2564
			local wsVal = 7 / (Hum.WalkSpeed/16)
2565
			local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
2566
			RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
2567
			NK.C0 = NK.C0:lerp(NKC0,Alpha)
2568
			LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
2569
			RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
2570
			LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2571
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2572
		elseif(State == 'Walk' and Mode ~= 5 and Mode ~= 7 and Mode ~= 10 and Mode ~= 666666666666)then
2573
			local wsVal = 7 / (Hum.WalkSpeed/16)
2574
			local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
2575
			if(Mode == 4)then
2576
				RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858-.1*M.C(Sine/(wsVal)), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha)
2577
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912+.1*M.C(Sine/(wsVal)), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha)
2578
				RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476+.1*M.C(Sine/(wsVal)), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha)
2579
				LS.C0 = clerp(LS.C0,CFrame.new(-1.42592692, 0.493003547, -0.129623473, 0.987043619, 0.159894824, 0.0133710029, -0.130732149, 0.849730968, -0.51075089, -0.0930281729, 0.502385318, 0.859624803)*CF.A(M.R(0+15*M.C(Sine/wsVal)),0,0)*CF.A(0,M.R(0+4*M.C(Sine/0.817272)),M.R(0+15*M.S(Sine/0.9872346))),Alpha)
2580
				RS.C0 = clerp(RS.C0,CFrame.new(1.1449033, 0.691183329, -0.239056498, 0.899715602, 0.434673697, 0.0396348648, 0.435808241, -0.899650335, -0.0264700353, 0.024151668, 0.0410887003, -0.998863578)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2581
				NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2582
			elseif(Mode == 696969)then
2583
				RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00847404078, -0.131645858-.1*M.C(Sine/(wsVal)), -0.542845488, 0.999965072, -0.00807052851, -0.00218774565, 0.00805599708, 0.85972774, 0.510689199, -0.00224066619, -0.51068902, 0.859762609),Alpha)
2584
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496114701, -1.0144912+.1*M.C(Sine/(wsVal)), 0.0453964472, 0.976583362, 0.00805600174, 0.214989081, 0.103035107, 0.859728813, -0.50025022, -0.188862324, 0.510687351, 0.838766694),Alpha)
2585
				RH.C0 = clerp(RH.C0,CFrame.new(0.498885572, -1.01948476+.1*M.C(Sine/(wsVal)), 0.0378640294, 0.997592449, 0.00805600174, -0.0688822865, -0.0420893468, 0.859728813, -0.509013772, 0.055119466, 0.510687351, 0.857997894),Alpha)
2586
				LS.C0 = clerp(LS.C0,CFrame.new(-1.3136189, 0.462844551+.1*M.C(Sine/wsVal), 0.00274867564, 0.929629087, -0.368184805, -0.015158236, -0.360420376, -0.899919868, -0.245441884, 0.0767267719, 0.23363328, -0.969292879)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha)
2587
				RS.C0 = clerp(RS.C0,CFrame.new(1.25962329, 0.543387234+.1*M.C(Sine/wsVal), 0.0906403661, 0.898135066, 0.439483941, -0.0144048491, 0.399390757, -0.829028964, -0.391405523, -0.183958456, 0.345781803, -0.920105577)*CF.A(0,M.R(0+4*M.C(Sine/0.173278)),M.R(0+15*M.S(Sine/0.01278125))),Alpha)
2588
				NK.C0 = clerp(NK.C0,CFrame.new(7.87388399e-06, 1.43020797, -0.212884247, 1, -8.72649252e-07, -4.02983278e-06, 2.92807817e-06, 0.838354766, 0.545125127, 2.90293247e-06, -0.545125067, 0.838354826)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2589
			
2590
			elseif(Mode == 1 or Mode == 777)then
2591
				RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
2592
				NK.C0 = NK.C0:lerp(NKC0*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2593
				LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(0+37*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/(wsVal/2))) ),Alpha)
2594
				RS.C0 = clerp(RS.C0,CFrame.new(1.2, 0.7, -0.396169931, 0.827836394, 0.560810268, -0.013374418, 0.472599089, -0.7100721, -0.521965444, -0.302220345, 0.42578119, -0.852861941)*CF.A(0,M.R(0+4*M.C(Sine/0.61237)),M.R(0+15*M.S(Sine/0.716246))),Alpha)
2595
				LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2596
				RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2597
			else 
2598
				if(hitfloor and Mode == 9)then Effect{Material=Enum.Material.Neon,Effect='Fade',Mesh={MeshType=Enum.MeshType.Cylinder},Size=V3.N(.1,5,5),Frames=120,Color=BrickColor.new'Forest green',CFrame=CF.N(posfloor,posfloor+norm)*CF.A(0,M.R(90),0)} end
2599
				RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
2600
				NK.C0 = NK.C0:lerp(NKC0,Alpha)
2601
				LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.22*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5+10*M.C(Sine/(wsVal/2))) ),Alpha)
2602
				RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.22*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5-10*M.C(Sine/(wsVal/2))) ),Alpha)
2603
				LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2604
				RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2605
			end
2606
		elseif(State == 'Walk' and Mode == 7)then
2607
			local wsVal = 7 / (Hum.WalkSpeed/16)
2608
			local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
2609
			RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-2.5-1.25*M.C(Sine/(wsVal/2))),M.R(4*M.C(Sine/wsVal)),0),Alpha)
2610
			NK.C0 = NK.C0:lerp(NKC0,Alpha)
2611
			LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.11*M.C(Sine/wsVal))*CF.A(M.R(18.5*M.C(Sine/wsVal)),0,M.R(-2.5+5*M.C(Sine/(wsVal/2))) ),Alpha)
2612
			RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.11*M.C(Sine/wsVal))*CF.A(M.R(-18.5*M.C(Sine/wsVal)),0,M.R(2.5-5*M.C(Sine/(wsVal/2))) ),Alpha)
2613
			LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2614
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
2615
		elseif((State == 'Walk' or State == 'Run') and Mode == 10)then
2616
			Change = 1
2617
			local Alpha = .1
2618
			RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 0.881578624+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-45),0,0),Alpha)
2619
			LH.C0 = clerp(LH.C0,CFrame.new(-0.507622898, -0.617543876, -0.694063663, 0.999877989, -0.00717858272, 0.0138636231, -9.81731864e-05, 0.885106385, 0.465388477, -0.0156116197, -0.465333343, 0.884998262),Alpha)
2620
			RH.C0 = clerp(RH.C0,CFrame.new(0.499199599, -0.96504283, 0.0578122139, 0.999877989, -0.00369151891, 0.0151692061, -9.81731864e-05, 0.970136404, 0.242559701, -0.0156116197, -0.242531747, 0.970018268),Alpha)
2621
			LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-45),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha)
2622
			RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-45),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha)
2623
			NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(45),0,0),Alpha)
2624
		elseif((State == 'Walk' or State == 'Run') and Mode == 666666666666)then
2625
			Change = 1
2626
			local Alpha = .1
2627
			RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.61628103+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-65),0,0),Alpha)
2628
			LH.C0 = clerp(LH.C0,CFrame.new(-0.507622898, -0.617543876, -0.694063663, 0.999877989, -0.00717858272, 0.0138636231, -9.81731864e-05, 0.885106385, 0.465388477, -0.0156116197, -0.465333343, 0.884998262),Alpha)
2629
			RH.C0 = clerp(RH.C0,CFrame.new(0.499199599, -0.96504283, 0.0578122139, 0.999877989, -0.00369151891, 0.0151692061, -9.81731864e-05, 0.970136404, 0.242559701, -0.0156116197, -0.242531747, 0.970018268),Alpha)
2630
			LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-55),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha)
2631
			RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-55),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha)
2632
			NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(65),0,0),Alpha)
2633
		
2634
		elseif((State == 'Walk' or State == 'Run'))then
2635
			Change = 1
2636
			local Alpha = .1
2637
			RJ.C0 = clerp(RJ.C0,CFrame.new(5.48791013e-11, 1.2571125+.5*M.C(Sine/32), -3.51015478e-06, 0.99999994, 4.36557457e-11, 0, -4.3652193e-11, 0.999980211, -0.00628619269, 9.31322575e-10, 0.00628619175, 0.999980271)*CF.A(M.R(-75),0,0),Alpha)
2638
			LH.C0 = clerp(LH.C0,CFrame.new(-0.436587602, -0.992619872, 0.0206923336, 0.99808234, 0.0599006973, 0.0156119233, -0.0600048117, 0.998178363, 0.00628757617, -0.0152068557, -0.0072123101, 0.999858439),Alpha)
2639
			RH.C0 = clerp(RH.C0,CFrame.new(0.481217712, -0.504008591, -0.8678087, 0.997120202, -0.0733773932, -0.0191624481, 0.0741236135, 0.889526427, 0.450830936, -0.0160352942, -0.450953096, 0.892403722),Alpha)
2640
			LS.C0 = clerp(LS.C0,CFrame.new(-1.49673307, 0.593781948+.2*M.C(Sine/32), 0.0200225115, 0.966687799, 0.25548178, 0.0156119233, -0.255602777, 0.96676141, 0.00628757617, -0.0134866452, -0.0100685749, 0.999858439)*CF.A(M.R(-15),M.R(25),M.R(5+5*M.C(Sine/32))),Alpha)
2641
			RS.C0 = clerp(RS.C0,CFrame.new(1.50987279, 0.675035477+.2*M.C(Sine/32), -0.0274340063, 0.943747699, -0.330297619, 0.0156119233, 0.33023873, 0.943876505, 0.00628757617, -0.0168125015, -0.000778224785, 0.999858439)*CF.A(M.R(-15),M.R(-25),M.R(-5-5*M.C(Sine/32))),Alpha)
2642
			NK.C0 = clerp(NK.C0,CFrame.new(4.35172478e-06, 1.49894357, -0.0144011974, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799)*CF.A(M.R(75),0,0),Alpha)
2643
		
2644
		elseif(State == 'Jump')then
2645
			local Alpha = .1
2646
			local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
2647
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
2648
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
2649
			RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
2650
			NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
2651
			LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
2652
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
2653
		elseif(State == 'Fall')then
2654
			local Alpha = .1
2655
			local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
2656
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
2657
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
2658
			RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
2659
			NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
2660
			LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
2661
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
2662
		elseif(State == 'Paralyzed')then
2663
			-- paralyzed
2664
		elseif(State == 'Sit')then
2665
			-- sit
2666
		end
2667
	end
2668
	
2669
2670
	
2671
	for i,v in next, BloodPuddles do
2672
		local mesh = i:FindFirstChild'CylinderMesh'
2673
		BloodPuddles[i] = v + 1
2674
		if(not mesh or i.Transparency >= 1)then
2675
			i:destroy() 
2676
			BloodPuddles[i] = nil
2677
		elseif(v >= Frame_Speed*4)then
2678
			local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
2679
			i.Transparency = trans
2680
	            if(mesh.Scale.Z > 0)then
2681
	                mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
2682
	            end
2683
		else
2684
			i.Transparency = 0
2685
		end
2686
	end
2687
end