View difference between Paste ID: U3HfiKVi and Ngni7Dw5
SHOW: | | - or go back to the newest paste.
1-
	--[[ Godspeed ]]--
1+
print"Edit by v4mp13r2On1c and BuiIderbot. Original script by trollmon123 and tyefoodmania(Crow_Kiyoamsa)"
2-
-------------------------------------------------------
2+
3-
--[[
3+
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
4
print("FE Compatibility: by WaverlyCole & Mokiros")
5-
This script was created by WafflesAreVeryGood or Nobody#3907
5+
InternalData = {}
6
do
7-
--]]
7+
    script.Parent = owner.Character
8-
-------------------------------------------------------
8+
    local Event = Instance.new("RemoteEvent")
9-
	--[[ Reference ]]--
9+
    Event.Name = "UserInput"
10-
--[[
10+
    local function NewFakeEvent()
11-
	Burn Function
11+
        local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
12-
	hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
12+
        return Fake
13
    end
14-
	Freeze Function
14+
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
15-
	hurt(char.Head, 0, "Freeze", {char, 1})
15+
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
16
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
17-
	Stun Function
17+
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
18-
	hurt(char.Head, 0, "Stun", {char, 0.2})
18+
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
19-
--]]
19+
    local function TriggerEvent(self,Event,...)
20-
-------------------------------------------------------
20+
        local Trigger = Mouse[Event]
21-
math.randomseed(tick())
21+
        if Trigger and Trigger.fakeEvent and Trigger.Function then
22-
print("You are using a script created by WafflesAreVeryGood!")
22+
            Trigger.Function(...)
23-
warn("--------Global Message--------")
23+
        end
24-
warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
24+
    end
25-
warn("------------------------------")
25+
    Mouse.TrigEvent = TriggerEvent
26-
	--[[Changeable Variables]]--
26+
    UserInputService.TrigEvent = TriggerEvent
27-
local settings = {}
27+
    Event.OnServerEvent:Connect(function(FiredBy,Input)
28-
--ShowDamage settings
28+
        if FiredBy.Name ~= owner.Name then end
29-
settings.Damage = {
29+
        if Input.MouseEvent then
30-
	Color = nil,
30+
            Mouse.Target = Input.Target
31-
	StrokeColor = nil,
31+
            Mouse.Hit = Input.Hit
32-
	Font = nil,
32+
        else
33-
}
33+
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
34-
settings.ShowDamageEnabled = false
34+
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then
35-
settings.CustomAnim = true
35+
                return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
36-
settings.Song = 1513216381
36+
            end
37-
local soundlist = {
37+
            for _,Action in pairs(ContextActionService.Actions) do
38-
	HardHit1 = "rbxassetid://565207203",
38+
                for _,Key in pairs(Action.Keys) do
39-
	HardHit2 = "rbxassetid://541909913",
39+
                    if Key==Input.KeyCode then
40-
	HardHit3 = "rbxassetid://541909983",
40+
                        Action.Function(Action.Name,Input.UserInputState,Input)
41-
	WeakHit1 = "rbxassetid://558642292",
41+
                    end
42-
	WeakHit2 = "rbxassetid://541907812",
42+
                end
43-
	Slice1 = "rbxassetid://260429964",
43+
            end
44-
	Slice2 = "rbxassetid://260430015",
44+
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
45-
	Explosion1 = "rbxassetid://138186576",
45+
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
46-
	Explosion2 = "rbxassetid://157878578",
46+
        end
47-
	Woosh1 = "rbxassetid://541909867",
47+
    end)
48-
	Woosh2 = "rbxassetid://541909763",
48+
    InternalData["Mouse"] = Mouse
49-
	Freeze = "rbxassetid://268249319",
49+
    InternalData["ContextActionService"] = ContextActionService
50-
	Thaw = "rbxassetid://1578580965",
50+
    InternalData["UserInputService"] = UserInputService
51-
	Burn = "rbxassetid://298181829",
51+
    Event.Parent = NLS([[
52
        local Player = owner
53-
}
53+
        local Event = script:WaitForChild("UserInput")
54-
local attack_data = {
54+
        local UserInputService = game:GetService("UserInputService")
55-
	{
55+
        local Mouse = Player:GetMouse()
56-
		Name = "Godspeed",
56+
        local Input = function(Input,gameProcessedEvent)
57-
		Description = "Enable the godspeed. [TOGGLE]",
57+
            if gameProcessedEvent then return end
58-
		Key = "G",
58+
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
59-
	},
59+
        end
60-
	{
60+
        UserInputService.InputBegan:Connect(Input)
61-
		Name = "Left Punch",
61+
        UserInputService.InputEnded:Connect(Input)
62-
		Description = "Punch.",
62+
        local Hit,Target
63-
		Key = "Q",
63+
        while wait(1/30) do
64-
	},
64+
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
65-
	{
65+
                Hit,Target = Mouse.Hit,Mouse.Target
66-
		Name = "Right Punch",
66+
                Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
67-
		Description = "Punch again.",
67+
            end
68-
		Key = "E",
68+
        end
69-
	},
69+
    ]],owner.Character)
70-
	{
70+
71-
		Name = "Slam",
71+
RealGame = game;game = setmetatable({},{
72-
		Description = "Slam downwards, good spike move.",
72+
    __index = function (self,Index)
73-
		Key = "R",
73+
        local Sandbox = function (Thing)
74-
	},
74+
            if Thing:IsA("Player") then
75-
	{
75+
                local RealPlayer = Thing
76-
		Name = "Uppercut",
76+
                return setmetatable({},{
77-
		Description = "Jump into the air and do an uppercut.",
77+
                    __index = function (self,Index)
78-
		Key = "Y",
78+
                        local Type = type(RealPlayer[Index])
79-
	},
79+
                        if Type == "function" then
80-
	{
80+
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
81-
		Name = "Power Punch",
81+
                                return function (self)
82-
		Description = "Punch but stronger.",
82+
                                    return InternalData["Mouse"]
83-
		Key = "F",
83+
                                end
84-
	},
84+
                            end
85-
	{
85+
                            return function (self,...)
86-
		Name = "Run",
86+
                                return RealPlayer[Index](RealPlayer,...)
87-
		Description = "Hold shift to gotta go fast.",
87+
                            end
88-
		Key = "Shift",
88+
                        else
89-
	},
89+
                            return RealPlayer[Index]
90
                        end
91-
}
91+
                    end;
92
                    __tostring = function(self)
93-
	--[[Important Variables]]--
93+
                        return RealPlayer.Name
94-
local plr = game:GetService('Players').LocalPlayer
94+
                    end
95-
local char = plr.Character
95+
                })
96-
local mouse = plr:GetMouse()
96+
            end
97-
local input = game:GetService('UserInputService')
97+
        end
98-
----
98+
        if RealGame[Index] then
99-
local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
99+
            local Type = type(RealGame[Index])
100-
local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
100+
            if Type == "function" then
101-
local rs = torso["Right Shoulder"]
101+
                if Index:lower() == "getservice" or Index:lower() == "service" then
102-
local ls = torso["Left Shoulder"]
102+
                    return function (self,Service)
103-
local rh = torso["Right Hip"]
103+
                        if Service:lower() == "players" then
104-
local lh = torso["Left Hip"]
104+
                            return setmetatable({},{
105-
local neck = torso.Neck
105+
                                __index = function (self2,Index2)
106-
local rj = rootpart["RootJoint"]
106+
                                    local RealService = RealGame:GetService(Service)
107-
local humanoid = char:FindFirstChildOfClass("Humanoid")
107+
                                    local Type2 = type(Index2)
108-
----
108+
                                    if Type2 == "function" then
109-
local huge = Vector3.new(math.huge, math.huge, math.huge)
109+
                                        return function (self,...)
110-
local attacking = false
110+
                                            return RealService[Index2](RealService,...)
111-
local cananim = true
111+
                                        end
112-
local animpose = "Idle"
112+
                                    else
113-
local timestate = "None"
113+
                                        if Index2:lower() == "localplayer" then
114-
local lastpose = animpose
114+
                                            return Sandbox(owner)
115-
local movespeed = 0
115+
                                        end
116-
local playermass = 0
116+
                                        return RealService[Index2]
117-
for i,v in pairs(char:GetChildren()) do
117+
                                    end
118-
	if v:IsA("BasePart") then
118+
                                end;
119-
		playermass = playermass + v:GetMass()
119+
                                __tostring = function(self)
120
                                    return RealGame:GetService(Service).Name
121
                                end
122-
local timedata = {}
122+
                            })
123-
----
123+
                        elseif Service:lower() == "contextactionservice" then
124-
	--[[ Anti-Decompile ]]--
124+
                            return InternalData["ContextActionService"]
125-
script.Parent = workspace.CurrentCamera
125+
                        elseif Service:lower() == "contextactionservice" then
126-
game:GetService('Players').LocalPlayer.CharacterAdded:connect(function()
126+
                            return InternalData["UserInputService"]
127-
	script:Destroy()
127+
                        elseif Service:lower() == "runservice" then
128
                            return setmetatable({},{
129-
	--[[ Moves Gui ]]--
129+
                                __index = function(self2,Index2)
130
                                    local RealService = RealGame:GetService(Service)
131-
local mgui = Instance.new("ScreenGui")
131+
                                    local Type2 = type(Index2)
132-
mgui.Name = "MovesGui"
132+
                                    if Type2 == "function" then
133-
local bg = Instance.new("Frame")
133+
                                        return function (self,...)
134-
bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
134+
                                            return RealService[Index2](RealService,...)
135-
bg.Position = UDim2.new(0,504,0,164)
135+
                                        end
136-
bg.Name = "Background"
136+
                                    else
137-
bg.Size = UDim2.new(-0.035,379,0,225)
137+
                                        if Index2:lower() == "bindtorenderstep" then
138-
bg.Visible = false
138+
                                            return function (self,Name,Priority,Function)
139-
bg.Parent = mgui
139+
                                                return RealGame:GetService("RunService").Stepped:Connect(Function)
140-
local container = Instance.new("ScrollingFrame")
140+
                                            end
141-
container.Name = "Container"
141+
                                        end
142-
container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
142+
                                        if Index2:lower() == "renderstepped" then
143-
container.BorderSizePixel = 0
143+
                                            return RealService["Stepped"]
144-
container.Visible = true
144+
                                        end
145-
container.Position = UDim2.new(0,16,0,46)
145+
                                        return RealService[Index2]
146-
container.Size = UDim2.new(0,132,0,162)
146+
                                    end
147-
container.CanvasSize = UDim2.new(0,0,0,10)
147+
                                end
148-
container.ScrollBarThickness = 4
148+
                            })
149-
container.Parent = bg
149+
                        else
150-
local copy = Instance.new("TextButton")
150+
                            return RealGame:GetService(Service)
151-
copy.Name = "Move"
151+
                        end
152-
copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
152+
                    end
153-
copy.BorderSizePixel = 0
153+
                end
154-
copy.Position = UDim2.new(0,4,0,4)
154+
                return function (self,...)
155-
copy.Size = UDim2.new(0,118,0,29)
155+
                    return RealGame[Index](RealGame,...)
156-
copy.Font = "SourceSansLight"
156+
                end
157-
copy.Text = "Move Name"
157+
            else
158-
copy.TextColor3 = Color3.new(197/255,0,0)
158+
                if game:GetService(Index) then
159-
copy.TextSize = 20
159+
                    return game:GetService(Index)
160-
copy.Visible = false
160+
                end
161-
copy.Parent = container
161+
                return RealGame[Index]
162-
local atkinfo = container:Clone()
162+
            end
163-
for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
163+
        else
164-
atkinfo.Name = "AtkInfo"
164+
            return nil
165-
atkinfo.Visible = true
165+
        end
166-
atkinfo.Position = UDim2.new(0,167,0,50)
166+
    end
167-
atkinfo.Size = UDim2.new(0,159,0,165)
167+
});Game = game;owner = game:GetService("Players").LocalPlayer
168-
atkinfo.Parent = bg
168+
print("Complete! Running...")
169-
local movename = Instance.new("TextLabel")
169+
170-
movename.Name = "MoveName"
170+
-- Created by Nebula_Zorua --
171-
movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
171+
-- Bai Bai (Bye bye Remake) --
172-
movename.BorderSizePixel = 0
172+
-- Bye-bye baby blue.. --
173-
movename.Position = UDim2.new(0,4,0,4)
173+
-- I wish you could see the wicked truth.. --
174-
movename.Size = UDim2.new(0,150,0,30)
174+
-- Caught up in a rush, it's killing you.. --
175-
movename.Font = "SourceSansLight"
175+
176-
movename.TextColor3 = Color3.new(197/255,0,0)
176+
-- Discord: Nebula the Zorua#6969
177-
movename.TextSize = 20
177+
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
178-
movename.Text = "same"
178+
179-
movename.Parent = atkinfo
179+
wait(1/60)
180-
local movedesc = movename:Clone()
180+
181-
movedesc.Position = UDim2.new(0,4,0,47)
181+
--// Shortcut Variables \\--
182-
movedesc.Size = UDim2.new(0,150,0,133)
182+
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
183-
movedesc.Text = "Move Description"
183+
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
184-
movedesc.TextSize = 18
184+
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
185-
movedesc.Name = "MoveDesc"
185+
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
186-
movedesc.TextXAlignment = "Left"
186+
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}
187-
movedesc.TextYAlignment = "Top"
187+
local R3 = {N=Region3.new}
188-
movedesc.TextWrapped = true
188+
local De = S.Debris
189-
movedesc.Parent = atkinfo
189+
local WS = workspace
190-
local title = movedesc:Clone()
190+
local Lght = S.Lighting
191-
title.Name = "Title"
191+
local RepS = S.ReplicatedStorage
192-
title.Font = "SourceSansLight"
192+
local IN = Instance.new
193-
title.Text = "Moves List"
193+
local Plrs = S.Players
194-
title.TextSize = 28
194+
195-
title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
195+
--// Initializing \\--
196-
title.Position = UDim2.new(0,0,0,0)
196+
local Plr = Plrs.LocalPlayer
197-
title.Size = UDim2.new(1,0,0,30)
197+
local Char = Plr.Character
198-
title.TextXAlignment = "Center"
198+
local Hum = Char:FindFirstChildOfClass'Humanoid'
199-
title.TextYAlignment = "Center"
199+
local RArm = Char["Right Arm"]
200-
title.Parent = bg
200+
local LArm = Char["Left Arm"]
201-
local toggle = copy:Clone()
201+
local RLeg = Char["Right Leg"]
202-
toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
202+
local LLeg = Char["Left Leg"]	
203-
toggle.Position = UDim2.new(0,0,0,288)
203+
local Root = Char:FindFirstChild'HumanoidRootPart'
204-
toggle.Size = UDim2.new(0,70,0,20)
204+
local Torso = Char.Torso
205-
toggle.Visible = true
205+
local Head = Char.Head
206-
toggle.Font = "SourceSans"
206+
local NeutralAnims = true
207-
toggle.Text = "Toggle Moves"
207+
local Attack = false
208-
toggle.Name = "Toggle"
208+
local Debounces = {Debounces={}}
209-
toggle.TextSize = 14
209+
local Mouse = Plr:GetMouse()
210-
toggle.Parent = mgui
210+
local Hit = {}
211-
mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
211+
local Sine = 0
212-
toggle.MouseButton1Click:connect(function()
212+
local Change = 1
213-
	bg.Visible = not bg.Visible
213+
local GrabbedHead;
214
215-
local pos = copy.Position -UDim2.new(0,0,0,29)
215+
local Effects = IN("Folder",Char)
216-
for _,data in pairs(attack_data) do
216+
Effects.Name = "Effects"
217-
	local new = copy:Clone()
217+
218-
	pos = pos +UDim2.new(0,0,0,29)
218+
219-
	container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
219+
--// Debounce System \\--
220-
	new.Position = pos
220+
221-
	new.Text = data.Name.."["..data.Key.."]"
221+
222-
	new.Visible = true
222+
function Debounces:New(name,cooldown)
223-
	spawn(function()
223+
	local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
224
	setmetatable(aaaaa,{__index = Debounces})
225-
		if not new.TextFits then
225+
	Debounces.Debounces[name] = aaaaa
226-
			new.TextScaled = true
226+
	return aaaaa
227
end
228
229-
	new.Parent = container
229+
function Debounces:Use(overrideUsable)
230-
	new.MouseButton1Click:connect(function()
230+
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
231-
		movename.Text = data.Name
231+
	if(self.Usable or overrideUsable)then
232-
		movedesc.Text = data.Description
232+
		self.Usable = false
233-
		spawn(function()
233+
		self.CoolingDown = true
234
		local LastUse = time()
235-
			if not movename.TextFits then
235+
		self.LastUse = LastUse
236-
				movename.TextScaled = true
236+
		delay(self.Cooldown or 2,function()
237
			if(self.LastUse == LastUse)then
238-
				movename.TextScaled = false
238+
				self.CoolingDown = false
239
				self.Usable = true
240-
			if not movedesc.TextFits then
240+
241-
				movename.TextScaled = true
241+
242
	end
243-
				movename.TextScaled = false
243+
244
245
function Debounces:Get(name)
246
	assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
247
	for i,v in next, Debounces.Debounces do
248-
	--[[ Functions ]]--
248+
		if(i == name)then
249
			return v;
250-
function addattack(keycode, func)
250+
251-
	if keycode ~= "MouseClick" then
251+
252-
		input.InputBegan:connect(function(inp)
252+
253-
			if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
253+
254-
				func()
254+
function Debounces:GetProgressPercentage()
255
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
256
	if(self.CoolingDown and not self.Usable)then
257
		return math.max(
258-
		mouse.Button1Down:connect(function()
258+
			math.floor(
259-
			func()
259+
				(
260
					(time()-self.LastUse)/self.Cooldown or 2
261
				)*100
262
			)
263-
function attackend(keycode, func)
263+
		)
264-
	input.InputEnded:connect(function(inp)
264+
265-
		if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
265+
		return 100
266-
			func()
266+
267
end
268
269
--// Instance Creation Functions \\--
270-
function swait(t)
270+
271-
	if t then
271+
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
272-
		for i = 0, t do
272+
	local Sound = IN("Sound")
273-
			game:GetService('RunService').Stepped:wait(0)
273+
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
274
	Sound.Pitch = pitch or 1
275
	Sound.Volume = volume or 1
276-
		game:GetService('RunService').Stepped:wait(0)
276+
	Sound.Looped = looped or false
277
	if(autoPlay)then
278-
	return true
278+
		coroutine.wrap(function()
279
			repeat wait() until Sound.IsLoaded
280-
function fade(obj, dest, grow)
280+
			Sound.Playing = autoPlay or false
281-
	spawn(function()
281+
		end)()
282-
		local oldcf = obj.CFrame
282+
283-
		for i = 0, 10 do
283+
	if(not looped and effect)then
284-
			if grow then
284+
		Sound.Stopped:connect(function()
285-
				obj.Size = obj.Size +Vector3.new(1,1,1)
285+
			Sound.Volume = 0
286-
				obj.CFrame = oldcf
286+
			Sound:destroy()
287
		end)
288-
			obj.Transparency = obj.Transparency +0.1
288+
	elseif(effect)then
289
		warn("Sound can't be looped and a sound effect!")
290
	end
291-
		if dest then
291+
	Sound.Parent =parent or Torso
292-
		obj:Destroy()
292+
	return Sound
293
end
294
function Part(parent,color,material,size,cframe,anchored,cancollide)
295
	local part = IN("Part")
296-
function replacejoint(name)
296+
	part.Parent = parent or Char
297-
	local j = torso:FindFirstChild(name)
297+
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
298-
	if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
298+
	part.Material = material or Enum.Material.SmoothPlastic
299-
	if j then
299+
	part.TopSurface,part.BottomSurface=10,10
300-
		if true then
300+
	part.Size = size or V3.N(1,1,1)
301-
			local already = j.Parent:FindFirstChild(j.Name.." Replacement")
301+
	part.CFrame = cframe or CF.N(0,0,0)
302-
			local new = Instance.new("Weld")
302+
	part.CanCollide = cancollide or false
303-
			local c0 = j.C0
303+
	part.Anchored = anchored or false
304-
			local c1 = j.C1
304+
	return part
305-
			new.Part0 = j.Part0
305+
306-
			j.Part0 = nil
306+
307-
			new.Name = j.Name.." Replacement"
307+
function Weld(part0,part1,c0,c1)
308-
			if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
308+
	local weld = IN("Weld")
309-
			new.Parent = j.Parent
309+
	weld.Parent = part0
310-
			new.Part1 = j.Part1
310+
	weld.Part0 = part0
311-
			new.C0 = c0
311+
	weld.Part1 = part1
312-
			new.C1 = c1
312+
	weld.C0 = c0 or CF.N()
313-
			return new
313+
	weld.C1 = c1 or CF.N()
314
	return weld
315
end
316
317-
function removejoint(name, fast)
317+
function Mesh(parent,meshtype,meshid,textid,scale,offset)
318-
	local j = torso:FindFirstChild(name.." Replacement")
318+
	local part = IN("SpecialMesh")
319-
	if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
319+
	part.MeshId = meshid or ""
320-
	if j then
320+
	part.TextureId = textid or ""
321-
		local p0 = j.Part0
321+
	part.Scale = scale or V3.N(1,1,1)
322-
		if p0 ~= nil then
322+
	part.Offset = offset or V3.N(0,0,0)
323-
		local c0 = j.C0
323+
	part.MeshType = meshtype or Enum.MeshType.Sphere
324-
		local c1 = j.C1
324+
	part.Parent = parent
325-
		j:Destroy()
325+
	return part
326-
		local new = p0:FindFirstChild(name)
326+
327-
		local ac0 = new.C0
327+
328-
		local ac1 = new.C1
328+
NewInstance = function(instance,parent,properties)
329-
		new.Part0 = p0
329+
	local inst = Instance.new(instance)
330-
		new.C0 = c0
330+
	inst.Parent = parent
331-
		new.C1 = c1
331+
	if(properties)then
332-
		spawn(function()
332+
		for i,v in next, properties do
333-
			if name ~= "RootJoint" then
333+
			pcall(function() inst[i] = v end)
334-
			if not fast then
334+
335-
			for i = 0, 0.6, 0.1 do
335+
336-
				new.C0 = new.C0:Lerp(ac0, 0.5)
336+
	return inst;
337-
				new.C1 = new.C1:lerp(ac1, 0.5)
337+
338
339
function Clone(instance,parent,properties)
340
	local inst = instance:Clone()
341-
				new.C0 = new.C0:Lerp(ac0, 1)
341+
	inst.Parent = parent
342-
				new.C1 = new.C1:lerp(ac1, 1)
342+
	if(properties)then
343
		for i,v in next, properties do
344
			pcall(function() inst[i] = v end)
345
		end
346
	end
347
	return inst;
348
end
349-
function fixalljoints(fast)
349+
350-
	for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip",  "Neck", "RootJoint"}) do
350+
function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
351-
		removejoint(v, fast)
351+
	local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
352
	local Sound = IN("Sound")
353
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
354-
function getnewjoints()
354+
	Sound.Pitch = pitch or 1
355-
	local rs = replacejoint("Right Shoulder")
355+
	Sound.Volume = volume or 1
356-
	local ls = replacejoint("Left Shoulder")
356+
	Sound.Looped = looped or false
357-
	local rh = replacejoint("Right Hip")
357+
	if(autoPlay)then
358-
	local lh = replacejoint("Left Hip")
358+
		coroutine.wrap(function()
359-
	local neck = replacejoint("Neck")
359+
			repeat wait() until Sound.IsLoaded
360-
	local rj = replacejoint("RootJoint")
360+
			Sound.Playing = autoPlay or false
361-
	return rs,ls,rh,lh,neck,rj
361+
		end)()
362
	end
363-
function knockback(hit, dir, force)
363+
	if(not looped and effect)then
364-
	local bp = Instance.new("BodyPosition")
364+
		Sound.Stopped:connect(function()
365-
	bp.MaxForce = huge
365+
			Sound.Volume = 0
366-
	bp.D = 1000*(timestate == "Slow" and 0.9 or 1)
366+
			soundPart:destroy()
367-
	bp.P = 20000*(force/5)
367+
368-
	bp.Position = (CFrame.new(hit.Position, hit.Position+dir)*CFrame.new(0,0,-force)).p
368+
	elseif(effect)then
369-
	bp.Parent = hit
369+
		warn("Sound can't be looped and a sound effect!")
370-
	game:GetService('Debris'):AddItem(bp, force/5)
370+
371
	Sound.Parent = soundPart
372-
function soundeffect(id, volume, speed, parent, extra)
372+
	return Sound
373-
	extra = extra or {}
373+
374-
	local func = function()
374+
375-
		local s = LoadLibrary("RbxUtility").Create("Sound")()
375+
376-
		s.Name = "WSoundEffect"
376+
--// Extended ROBLOX tables \\--
377-
		s.Volume = volume
377+
local Instance = setmetatable({AllChildren = function(where,callback,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do callback(v) end end,  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})
378-
		s.PlaybackSpeed = speed
378+
--// Require stuff \\--
379-
		s.SoundId = id
379+
function CamShake(who,times,intense,origin) 
380-
		s.Looped = false
380+
	coroutine.wrap(function()
381-
		if extra.Pitch then
381+
		if(script:FindFirstChild'CamShake')then
382-
			local ef = Instance.new("PitchShiftSoundEffect")
382+
			local cam = script.CamShake:Clone()
383-
			ef.Octave = extra.Pitch or 1
383+
			cam:WaitForChild'intensity'.Value = intense
384-
			ef.Enabled = true
384+
			cam:WaitForChild'times'.Value = times
385-
			ef.Priority = 0
385+
386-
			ef.Parent = s
386+
	 		if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
387
			cam.Parent = who
388-
		s.Parent = parent
388+
			wait()
389-
		if extra.Immune then
389+
			cam.Disabled = false
390-
			Instance.new("StringValue", s).Name = "Immune"
390+
		elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
391
			local intensity = intense
392-
		s:Play()
392+
			local cam = workspace.CurrentCamera
393-
		s.TimePosition = extra.Start or 0
393+
			for i = 1, times do
394-
		repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
394+
				local camDistFromOrigin
395-
		s:Destroy()
395+
				if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
396-
		return s
396+
					camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
397
				elseif(typeof(origin) == 'Vector3')then
398-
	if extra.ForceWait then
398+
					camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
399-
		func()
399+
400
				if(camDistFromOrigin)then
401-
		return spawn(func)
401+
					intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
402
				end
403
				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)
404-
function getfunction(nm)
404+
405-
	if nm == "Burn" then
405+
406-
		return function(character, data)
406+
407-
			if character:FindFirstChild("Burn") then
407+
	end)()
408-
				return
408+
409
410-
			local val = Instance.new("StringValue")
410+
411-
			val.Name = "Burn"
411+
function CamShakeAll(times,intense,origin)
412-
			val.Parent = character
412+
	for _,v in next, Plrs:players() do
413-
			for i = 1, data.Time*100 do
413+
		CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
414-
				if not character:FindFirstChild("Burn") then
414+
415-
					break
415+
416
417-
				if i%data.Rate == 0 then
417+
function ServerScript(code)
418-
					local hum = character:FindFirstChildOfClass("Humanoid")
418+
	if(script:FindFirstChild'Loadstring')then
419-
					if hum then
419+
		local load = script.Loadstring:Clone()
420-
						hurt(torso, data.Damage)
420+
		load:WaitForChild'Sauce'.Value = code
421
		load.Disabled = false
422-
					soundeffect(soundlist.Burn, 1, 1, torso)
422+
		load.Parent = workspace
423-
					spawn(function()
423+
	elseif(NS and typeof(NS) == 'function')then
424-
						for i = 1, 4 do
424+
		NS(code,workspace)
425-
							spawn(function()
425+
426-
								local p = Instance.new("Part")
426+
		warn("no serverscripts lol")
427-
								p.Material = "Neon"
427+
	end	
428-
								p.CanCollide = false
428+
429-
								p.Anchored = true
429+
430-
								p.Size = Vector3.new(0.5,0.5,0.5)
430+
function LocalOnPlayer(who,code)
431-
								p.Name = "fireeffect"
431+
	ServerScript([[
432-
								p.Color = data.Color or Color3.new(1,162/255,0)
432+
		wait()
433-
								p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
433+
		script.Parent=nil
434-
								p.Parent = torso
434+
		if(not _G.Http)then _G.Http = game:service'HttpService' end
435-
								local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
435+
		
436-
								local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
436+
		local Http = _G.Http or game:service'HttpService'
437-
								local opcf = p.CFrame
437+
		
438-
								local opsz = p.Size
438+
		local source = ]].."[["..code.."]]"..[[
439-
								for i = 0, 1, 0.01 do
439+
		local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
440-
									p.Transparency = i/1
440+
		local asd = Http:PostAsync(link,source)
441-
									local cf = p.CFrame
441+
		repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
442-
									p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
442+
		local ID = Http:JSONDecode(asd).Result.Require_ID
443-
									p.CFrame = cf
443+
		local vs = require(ID).VORTH_SCRIPT
444-
									p.CFrame = opcf:Lerp( endcf*CFrame.Angles(math.rad(math.sin(i)*360),math.rad(math.cos(i)*360),math.rad(math.sin(i)*360)), i/1 )
444+
		vs.Parent = game:service'Players'.]]..who.Name..[[.Character
445-
									swait()
445+
	]])
446-
								end
446+
447-
								p:Destroy()
447+
448-
								swait(5)
448+
449-
							end)
449+
--// Customization \\--
450-
							swait()
450+
451
local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
452-
					end)
452+
local Remove_Hats = false
453
local Remove_Clothing = false
454
local PlayerSize = 1
455
local DamageColor = BrickColor.new'Really red'
456-
			val:Destroy()
456+
local MusicID = 947588612
457
local God = true
458
local Muted = false
459-
	if nm == "Poison" then
459+
460-
		return function(character, data)
460+
local WalkSpeed = 16
461
462
--// Weapon and GUI creation, and Character Customization \\--
463
464-
	if nm == "Freeze" then
464+
local Halo = IN("Model",Char)
465-
		return function(character, t)
465+
Halo.Name = "Halo"
466-
			if not character:FindFirstChild("Frozen") then
466+
local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
467-
				local val = Instance.new("StringValue")
467+
468-
				val.Name = "Frozen"
468+
pcall(game.Destroy,Char:FindFirstChild'ReaperShadowHead')
469-
				val.Parent = character
469+
470-
				local unanchor = {}
470+
for i = 1, 17.5 do
471-
				local freezeparts = {}
471+
	local head = Part(Char,C3.N(0,0,0),Enum.Material.Fabric,V3.N(1.01,.5,1.01),CF.N(),false,false)
472-
				soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
472+
	head.Transparency = 0+(i-1)/17.6
473-
				for _,v in pairs(character:GetDescendants()) do
473+
	Mesh(head,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
474-
					if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
474+
	Weld(Head,head,CF.N(0,.35-(i-1)/37.5,0))
475-
						if v.Transparency ~= 1 then
475+
476-
							if not v.Anchored then
476+
477-
								table.insert(unanchor, v)
477+
for i = 1,320 do
478-
							end
478+
	local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Really black",Material=Enum.Material.Neon,Size=V3.N(0.1,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
479-
							v.Anchored = true
479+
	local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
480-
							local new = v:Clone()
480+
481-
							new:ClearAllChildren()
481+
482-
							local mesh = v:FindFirstChildOfClass("SpecialMesh")
482+
local eye1 = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.15,.15),CF.N(),false,false)
483-
							if mesh then
483+
local eye1m = Mesh(eye1,Enum.MeshType.Sphere)
484-
								mesh = mesh:Clone()
484+
Weld(eye1,Head,CF.N(-.09,-.26,.55))
485-
								mesh.TextureId = ""
485+
486-
								if mesh.Scale ~= Vector3.new(1,1,1) then
486+
local eye2 = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.15,.15),CF.N(),false,false)
487-
									mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
487+
local eye2m = Mesh(eye2,Enum.MeshType.Sphere)
488-
								end
488+
Weld(eye2,Head,CF.N(.09,-.26,.55))
489-
								mesh.Parent = new
489+
490-
							end
490+
coroutine.wrap(function()
491-
							new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
491+
	while wait(3) do
492-
							new.CanCollide = false
492+
		Tween(eye1m,{Scale=V3.N(1,.1,1)},.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,true)
493-
							new.Anchored = true
493+
		Tween(eye2m,{Scale=V3.N(1,.1,1)},.25,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,true)
494-
							new.Name = "freezepart"
494+
	end	
495-
							new.Material = "Ice"
495+
end)()
496-
							new.BrickColor = BrickColor.new("Pastel light blue")
496+
497-
							new.TopSurface = "Smooth"
497+
if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
498-
							new.BottomSurface = "Smooth"
498+
if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
499-
							new.Transparency = 0
499+
500-
							new.CFrame = v.CFrame
500+
501-
							new.Parent = v
501+
for side = 1,2 do
502-
							table.insert(freezeparts, new)
502+
	local LastPart = Head;
503
	
504
	for i = 1,34 do
505
		local mult = (1-(i/38))
506-
				swait(50*t)
506+
		if(LastPart == Head)then
507-
				soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
507+
			local Horn = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
508-
				val:Destroy()
508+
			Weld(LastPart,Horn,CF.N((side == 1 and .3 or -.3),.3,-.2)*CF.A(0,M.R((side == 1 and -5 or 5)),0))
509-
				for _,v in pairs(unanchor) do
509+
			LastPart = Horn
510-
					v.Anchored = false
510+
		else
511
			local Horn = Part(Char,BrickColor.new'Really black',Enum.Material.SmoothPlastic,V3.N(.25*mult,.15,.25*mult),Head.CFrame,false,false)
512-
				for _,v in pairs(freezeparts) do
512+
			Weld(LastPart,Horn,CF.N(0,Horn.Size.Y/2,0)*CF.A(M.R(7),M.R(side == 1 and 3 or -3),0))
513-
					v.Anchored = false
513+
			LastPart = Horn	
514-
					v.CanCollide = true
514+
515-
					v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
515+
516-
					game:GetService('Debris'):AddItem(v, 5)
516+
517
518
local Music = Sound(Char,MusicID,1,3,true,false,true)
519
Music.Name = 'Music'
520
521-
	if nm == "Stun" then
521+
--// Stop animations \\--
522-
		return function(character, t)
522+
for _,v in next, Hum:GetPlayingAnimationTracks() do
523-
			local humanoid = character:FindFirstChildOfClass("Humanoid")
523+
	v:Stop();
524-
			local val = Instance.new("StringValue")
524+
525-
			val.Name = "Stun"
525+
526-
			val.Parent = character
526+
pcall(game.Destroy,Char:FindFirstChild'Animate')
527-
			if humanoid then
527+
pcall(game.Destroy,Hum:FindFirstChild'Animator')
528-
				humanoid.PlatformStand = true
528+
529
--// Joints \\--
530-
			for i = 1, t*100 do
530+
531-
				if humanoid then
531+
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)})
532-
					humanoid.PlatformStand = true
532+
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)})
533
local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
534
local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
535
local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
536-
			if humanoid then
536+
local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
537-
				humanoid.PlatformStand = false
537+
local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,.5,0)})
538
539-
			val:Destroy()
539+
local LSC0 = LS.C0
540
local RSC0 = RS.C0
541
local NKC0 = NK.C0
542-
	if nm == "Paralyze" then
542+
local LHC0 = LH.C0
543-
		return function(character, t)
543+
local RHC0 = RH.C0
544
local RJC0 = RJ.C0
545
546
--// Artificial HB \\--
547-
	return
547+
548
local ArtificialHB = IN("BindableEvent", script)
549-
function showdamage(cf, txtdata)
549+
ArtificialHB.Name = "Heartbeat"
550-
	--[[
550+
551-
		[Text Data]
551+
script:WaitForChild("Heartbeat")
552-
			Font
552+
553-
			Text
553+
local tf = 0
554-
			Color
554+
local allowframeloss = false
555-
			StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
555+
local tossremainder = false
556-
	--]]
556+
local lastframe = tick()
557-
	local p = Instance.new("Part")
557+
local frame = 1/Frame_Speed
558-
	p.Name = "DamagePart"
558+
ArtificialHB:Fire()
559-
	p.CanCollide = false
559+
560-
	p.Anchored = true
560+
game:GetService("RunService").Heartbeat:connect(function(s, p)
561-
	p.Transparency = 1
561+
	tf = tf + s
562-
	p.Size = Vector3.new(0.1,0.1,0.1)
562+
	if tf >= frame then
563-
	p.CFrame = cf
563+
		if allowframeloss then
564-
	local gui = Instance.new("BillboardGui")
564+
			script.Heartbeat:Fire()
565-
	gui.Name = "GUI"
565+
			lastframe = tick()
566-
	gui.Adornee = p
566+
		else
567-
	gui.LightInfluence = 0
567+
			for i = 1, math.floor(tf / frame) do
568-
	gui.Size = UDim2.new(1.5,0,0.7,0)
568+
				ArtificialHB:Fire()
569-
	gui.StudsOffset = Vector3.new(0,0.5,0)
569+
570-
	local tl = Instance.new("TextLabel")
570+
			lastframe = tick()
571-
	tl.Name = "tl"
571+
572-
	tl.BackgroundTransparency = 1
572+
		if tossremainder then
573-
	tl.Position = UDim2.new(0,0,0,0)
573+
			tf = 0
574-
	tl.Size = UDim2.new(2,0,2,0)
574+
		else
575-
	tl.Font = txtdata.Font or "SourceSans"
575+
			tf = tf - frame * math.floor(tf / frame)
576-
	tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
576+
577-
	tl.Text = txtdata.Text or ""
577+
578-
	tl.TextScaled = true
578+
579-
	tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
579+
580-
	tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
580+
function swait(num)
581-
	tl.Rotation = math.random(-10,10)
581+
	if num == 0 or num == nil then
582-
	tl.Parent = gui
582+
		ArtificialHB.Event:wait()
583-
	gui.Parent = p
583+
584-
	local og = gui
584+
		for i = 0, num do
585-
	gui = og:Clone()
585+
			ArtificialHB.Event:wait()
586-
	gui.Parent = og.Parent
586+
587-
	tl = gui.tl
587+
588-
	og:Destroy()
588+
589-
	p.Parent = char
589+
590-
	spawn(function()
590+
591-
		for i = 1, 100 do
591+
--// Effect Function(s) \\--
592-
			gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
592+
593-
			tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
593+
function Bezier(startpos, pos2, pos3, endpos, t)
594-
			if txtdata.StrokeColor then
594+
	local A = startpos:lerp(pos2, t)
595-
				tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
595+
	local B  = pos2:lerp(pos3, t)
596
	local C = pos3:lerp(endpos, t)
597
	local lerp1 = A:lerp(B, t)
598
	local lerp2 = B:lerp(C, t)
599-
		p:Destroy()
599+
	local cubic = lerp1:lerp(lerp2, t)
600
	return cubic
601
end
602-
function stabilizer(obj)
602+
603-
	local bp = Instance.new("BodyPosition")
603+
function SphereFX(duration,color,scale,pos,endScale,increment)
604-
	bp.MaxForce = huge
604+
	return Effect{
605-
	bp.Position = obj.Position
605+
		Effect='ResizeAndFade',
606-
	bp.Name = "Stable"
606+
		Color=color,
607-
	bp.Parent = obj
607+
		Size=scale,
608
		Mesh={MeshType=Enum.MeshType.Sphere},
609-
function setshape(obj, typ)
609+
		CFrame=pos,
610-
	local m = obj:FindFirstChildOfClass("SpecialMesh") or Instance.new("SpecialMesh")
610+
		FXSettings={
611-
	m.MeshId = typ == "Ring" and "rbxassetid://3270017" or ""
611+
			EndSize=endScale,
612-
	m.TextureId = ""
612+
			EndIsIncrement=increment
613-
	if typ == "Ring" then
613+
		}
614-
		typ = "FileMesh"
614+
	}
615
end
616-
	m.MeshType = typ
616+
617-
	m.Parent = obj
617+
function BlastFX(duration,color,scale,pos,endScale,increment)
618
	return Effect{
619-
function camshake(direction, intensity, duration)
619+
		Effect='ResizeAndFade',
620-
	if direction:lower() == "inout" then
620+
		Color=color,
621-
		workspace.CurrentCamera.FieldOfView = intensity
621+
		Size=scale,
622-
		game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
622+
		Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
623-
	elseif direction:lower() == "left" then
623+
		CFrame=pos,
624-
		humanoid.CameraOffset = Vector3.new(intensity,0,0)
624+
		FXSettings={
625-
		game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
625+
			EndSize=endScale,
626-
	elseif direction:lower() == "right" then
626+
			EndIsIncrement=increment
627-
		humanoid.CameraOffset = Vector3.new(-intensity,0,0)
627+
		}
628-
		game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
628+
	}
629-
	elseif direction:lower() == "up" then
629+
630-
		humanoid.CameraOffset = Vector3.new(0,intensity,0)
630+
631-
		game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
631+
function BlockFX(duration,color,scale,pos,endScale,increment)
632-
	elseif direction:lower() == "down" then
632+
	return Effect{
633-
		humanoid.CameraOffset = Vector3.new(0,-intensity,0)
633+
		Effect='ResizeAndFade',
634-
		game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
634+
		Color=color,
635
		Size=scale,
636
		CFrame=pos,
637-
function randomangle()
637+
		FXSettings={
638-
	return CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
638+
			EndSize=endScale,
639
			EndIsIncrement=increment
640-
function hurt(hit, dmg, effect, args)
640+
		}
641-
	--pcall(function()
641+
	}
642-
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
642+
643-
		if hum and not hum:FindFirstChild("nostop") then
643+
644-
			if hum.Parent ~= char then
644+
function ShootBullet(data)
645-
				if typeof(dmg) == "table" then
645+
	--ShootBullet{Size=V3.N(3,3,3),Shape='Ball',Frames=160,Origin=data.Circle.CFrame,Speed=10}
646-
					dmg = math.random(dmg[1], dmg[2])
646+
	local Size = data.Size or V3.N(2,2,2)
647
	local Color = data.Color or BrickColor.new'Crimson'
648-
				hum.Health = hum.Health - dmg
648+
	local StudsPerFrame = data.Speed or 10
649-
				if settings.ShowDamageEnabled then
649+
	local Shape = data.Shape or 'Ball'
650-
					local dmgdata = {
650+
	local Frames = data.Frames or 160
651-
						Color = settings.Damage.Color,
651+
	local Pos = data.Origin or Torso.CFrame
652-
						StrokeColor = settings.Damage.StrokeColor,
652+
	local Direction = data.Direction or Mouse.Hit
653-
						Font = settings.Damage.Font,
653+
	local Material = data.Material or Enum.Material.Neon
654-
						Text = dmg,
654+
	local OnHit = data.HitFunction or function(hit,pos)
655-
					}
655+
		Effect{
656-
					showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
656+
			Effect='ResizeAndFade',
657
			Color=Color,
658-
				if effect then
658+
			Size=V3.N(10,10,10),
659-
					if typeof(effect) == "function" then
659+
			Mesh={MeshType=Enum.MeshType.Sphere},
660-
						local s,m = pcall(effect, hit.CFrame)
660+
			CFrame=CF.N(pos),
661-
						if not s then
661+
			FXSettings={
662-
							warn("Error in function: "..m or "unknown")
662+
				EndSize=V3.N(.05,.05,.05),
663
				EndIsIncrement=true
664
			}
665-
					if typeof(effect) == "string" then
665+
		}
666-
						local func = getfunction(effect)
666+
		for i = 1, 5 do
667-
						if func then
667+
			local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
668-
							local s,m
668+
			Effect{
669-
							if args then
669+
				Effect='Fade',
670-
								s,m = pcall(func, unpack(args))
670+
				Frames=65,
671-
							else
671+
				Size=V3.N(5,5,10),
672-
								s,m = pcall(func)
672+
				CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
673-
							end
673+
				Mesh = {MeshType=Enum.MeshType.Sphere},
674-
							if not s then
674+
				Material=Enum.Material.Neon,
675-
								warn("Error in function: "..m or "unknown")
675+
				Color=Color,
676-
							end
676+
				MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
677
			}	
678
		end
679
	end	
680-
				return true
680+
681
	local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
682
	local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
683-
	--end)
683+
	if(Shape == 'Ball')then
684
		BMesh.MeshType = Enum.MeshType.Sphere
685-
	--[[ uhhhhhhhhhhhhhhhh ]]--
685+
	elseif(Shape == 'Head')then
686-
pcall(function()
686+
		BMesh.MeshType = Enum.MeshType.Head
687-
	NS([[
687+
	elseif(Shape == 'Cylinder')then
688-
	local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Godspeed")
688+
		BMesh.MeshType = Enum.MeshType.Cylinder
689-
	store:UpdateAsync("y'all", function(old)
689+
690-
		old = old or {}
690+
691-
		if typeof(old) ~= "table" then
691+
	coroutine.wrap(function()
692-
			old = {} --stop breaking my datastores
692+
		for i = 1, Frames+1 do
693
			local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
694-
		local ok = true
694+
			if(hit)then
695-
		for _,v in pairs(old) do
695+
				OnHit(hit,pos,norm,dist)
696-
			if typeof(v) == "table" then
696+
				break;
697-
				if v.name == owner.Name or v.userid == owner.UserId then
697+
698-
					ok = false
698+
				Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
699-
					table.insert(v.uses, tick())
699+
700
			swait()
701
		end
702
		Bullet:destroy()
703-
		if ok then
703+
	end)()
704-
			table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
704+
705
end
706-
		return old
706+
707
708-
	script:Destroy()
708+
function Zap(data)
709-
	]], workspace)
709+
	local sCF,eCF = data.StartCFrame,data.EndCFrame
710
	assert(sCF,"You need a start CFrame!")
711-
	--[[ Actual script :OOOOOOOOOO ]]--
711+
	assert(eCF,"You need an end CFrame!")
712
	local parts = data.PartCount or 15
713-
local sound = Instance.new("Sound")
713+
	local zapRot = data.ZapRotation or {-5,5}
714-
sound.Volume = 0.5
714+
	local startThick = data.StartSize or 3;
715-
sound.SoundId = "rbxassetid://"..settings.Song
715+
	local endThick = data.EndSize or startThick/2;
716-
sound.Looped = true
716+
	local color = data.Color or BrickColor.new'Electric blue'
717-
sound.Name = "BGMusic"
717+
	local delay = data.Delay or 35
718-
sound.Parent = char
718+
	local delayInc = data.DelayInc or 0
719-
sound:Play()
719+
	local lastLightning;
720-
sound.Changed:connect(function()
720+
	local MagZ = (sCF.p - eCF.p).magnitude
721-
--	swait()
721+
	local thick = startThick
722-
--	sound.Volume = 0.5
722+
	local inc = (startThick/parts)-(endThick/parts)
723-
--	sound.SoundId = "rbxassetid://"..settings.Song
723+
724-
--	sound.Looped = true
724+
	for i = 1, parts do
725-
--	sound.Name = "BGMusic"
725+
		local pos = sCF.p
726-
--	sound.Parent = char
726+
		if(lastLightning)then
727
			pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
728-
addattack(Enum.KeyCode.LeftShift, function()
728+
729-
	if humanoid.WalkSpeed > 0 then
729+
		delay = delay + delayInc
730-
		humanoid.WalkSpeed = 24
730+
		local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
731
		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)))
732
		if(parts == i)then
733-
attackend(Enum.KeyCode.LeftShift, function()
733+
			local MagZ = (pos-eCF.p).magnitude
734-
	if humanoid.WalkSpeed > 0 then
734+
			zapPart.Size = V3.N(endThick,endThick,MagZ)
735-
		humanoid.WalkSpeed = 16
735+
			zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
736
			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)}}
737
		else
738-
addattack(Enum.KeyCode.G, function()
738+
			zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
739-
	if timestate == "Slow" then
739+
740-
		pcall(function()
740+
		
741-
			timecon:disconnect()
741+
		lastLightning = zapPart
742-
			timecon = nil
742+
		Effect{Effect='Fade',Manual=zapPart,Frames=delay}
743
		
744-
		local blur = game:GetService('Lighting'):FindFirstChild("BlurE")
744+
		thick=thick-inc
745-
		if blur then
745+
		
746-
			spawn(function()
746+
747-
				for i = 1, 20 do
747+
748-
					blur.Size = 5-((i/20)*5)
748+
749
function Zap2(data)
750
	local Color = data.Color or BrickColor.new'Electric blue'
751-
				blur:Destroy()
751+
	local StartPos = data.Start or Torso.Position
752
	local EndPos = data.End or Mouse.Hit.p
753
	local SegLength = data.SegL or 2
754-
		if char:FindFirstChild("Ticking") then
754+
	local Thicc = data.Thickness or 0.5
755-
			char.Ticking:Destroy()
755+
	local Fades = data.Fade or 45
756
	local Parent = data.Parent or Effects
757-
		if char:FindFirstChild("Ambience") then
757+
	local MaxD = data.MaxDist or 200
758-
				char.Ambience:Destroy()
758+
	local Branch = data.Branches or false
759
	local Material = data.Material or Enum.Material.Neon
760-
		timestate = "Busy"
760+
	local Raycasts = data.Raycasts or false
761-
		local s = Instance.new("Sound")
761+
	local Offset = data.Offset or {0,360}
762-
		s.Volume = 2
762+
	local AddMesh = (data.Mesh == nil and true or data.Mesh)
763-
		s.Looped = false
763+
	if((StartPos-EndPos).magnitude > MaxD)then
764-
		s.SoundId = "rbxassetid://1645362088"
764+
		EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
765-
		Instance.new("StringValue", s).Name = "Immune"
765+
766-
		s.Name = "s"
766+
	local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
767-
		s.Parent = char
767+
	if(Raycasts)then
768-
		s:Play()
768+
		hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)	
769-
		spawn(function()
769+
770-
			repeat swait() until not s.Playing
770+
	local segments = dist/SegLength
771-
			s:Destroy()
771+
	local model = IN("Model",Parent)
772
	model.Name = 'Lightning'
773-
		spawn(function()
773+
	local Last;
774-
			workspace.Gravity = 196.2
774+
	for i = 1, segments do
775-
			local humsfinished = false
775+
		local size = (segments-i)/25
776-
			for _,data in pairs(timedata) do
776+
		local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
777-
				if typeof(data) ~= "RBXScriptConnection" then
777+
		if(AddMesh)then IN("CylinderMesh",prt) end
778-
					local obj = data.Object
778+
		if(Last and math.floor(segments) == i)then
779-
					if obj:IsA("BasePart") then
779+
			local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
780-
						if obj:FindFirstChild("ANTIANTI") then
780+
			prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
781-
							obj.ANTIANTI:Destroy()
781+
			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)	
782
		elseif(not Last)then
783-
						obj.Anchored = false
783+
			prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)	
784
		else
785-
					if obj:IsA("Humanoid") then
785+
			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)
786-
						local spd = data.WalkSpeed
786+
787-
						local jp = data.JumpPower
787+
		Last = prt
788-
						spawn(function()
788+
		if(Branch)then
789-
							for i = 1, 20 do
789+
			local choice = M.RNG(1,7+((segments-i)*2))
790-
								obj.WalkSpeed = (i/20)*spd
790+
			if(choice == 1)then
791-
								obj.JumpPower = (i/20)*jp
791+
				local LastB;
792-
								swait()
792+
				for i2 = 1,M.RNG(2,5) do
793-
							end
793+
					local size2 = ((segments-i)/35)/i2
794-
						end)
794+
					local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
795
					if(AddMesh)then IN("CylinderMesh",prt) end
796-
					if obj:IsA("BodyPosition") then
796+
					if(not LastB)then
797-
						local p = data.P
797+
						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)
798-
						spawn(function()
798+
					else
799-
							for i = 1, 20 do
799+
						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)
800-
								obj.P = (i/20)*p
800+
801-
								swait()
801+
					LastB = prt
802-
							end
802+
803-
						end)
803+
804
		end
805-
					if obj:IsA("BodyForce") then
805+
806-
						local frc = data.Force
806+
	if(Fades > 0)then
807-
						spawn(function()
807+
		coroutine.wrap(function()
808-
							for i = 1, 20 do
808+
			for i = 1, Fades do
809-
								obj.Force = (i/20)*frc
809+
				for _,v in next, model:children() do
810-
								swait()
810+
					if(v:IsA'BasePart')then
811-
							end
811+
						v.Transparency = (i/Fades)
812-
						end)
812+
813
				end
814-
					if obj:IsA("BodyVelocity") then
814+
815-
						local vel = data.Velocity
815+
816-
						spawn(function()
816+
			model:destroy()
817-
							for i = 1, 20 do
817+
		end)()
818-
								obj.Velocity = (i/20)*vel
818+
819-
								swait()
819+
		S.Debris:AddItem(model,.01)
820-
							end
820+
821-
						end)
821+
	return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
822
end
823-
					if obj:IsA("Sound") then
823+
824-
						local spd = data.PlaybackSpeed
824+
function Tween(obj,props,time,easing,direction,repeats,backwards)
825-
						spawn(function()
825+
	local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
826-
							for i = 1, 20 do
826+
	local tween = S.TweenService:Create(obj, info, props)
827-
								obj.PlaybackSpeed = (i/20)*spd
827+
828-
								swait()
828+
	tween:Play()
829-
							end
829+
830-
						end)
830+
831
function Effect(data)
832
	local FX = data.Effect or 'ResizeAndFade'
833-
					pcall(function()
833+
	local Parent = data.Parent or Effects
834-
						data:disconnect()
834+
	local Color = data.Color or C3.N(0,0,0)
835-
					end)
835+
	local Size = data.Size or V3.N(1,1,1)
836
	local MoveDir = data.MoveDirection or nil
837
	local MeshData = data.Mesh or nil
838-
			timedata = {}
838+
	local SndData = data.Sound or nil
839-
			swait(20)
839+
	local Frames = data.Frames or 45
840-
			timestate = "None"
840+
	local Manual = data.Manual or nil
841
	local Material = data.Material or nil
842-
		workspace.CurrentCamera.FieldOfView = 120
842+
	local CFra = data.CFrame or Torso.CFrame
843-
		game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
843+
	local Settings = data.FXSettings or {}
844-
	elseif timestate == "None" then
844+
	local Shape = data.Shape or Enum.PartType.Block
845-
		workspace.Gravity = 2
845+
	local Snd,Prt,Msh;
846-
		local blur = Instance.new("BlurEffect")
846+
	local RotInc = data.RotInc or {0,0,0}
847-
		blur.Size = 0
847+
	if(typeof(RotInc) == 'number')then
848-
		blur.Name = "BlurE"
848+
		RotInc = {RotInc,RotInc,RotInc}
849-
		blur.Parent = game:GetService('Lighting')
849+
850-
		spawn(function()
850+
	coroutine.wrap(function()
851-
			for i = 1, 20 do
851+
		if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
852-
				blur.Size = (i/20)*5
852+
			Prt = Manual
853
		else
854
			Prt = Part(Parent,Color,Material,Size,CFra,true,false)
855
			Prt.Shape = Shape
856-
		timestate = "Busy"
856+
857-
		soundeffect("rbxassetid://909142508", 0.5, 2, char.Torso, {Immune = true, Pitch = 0.5})
857+
		if(typeof(MeshData) == 'table')then
858-
		spawn(function()
858+
			Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
859-
			local humsfinished = false
859+
		elseif(typeof(MeshData) == 'Instance')then
860-
			local function bind(obj)
860+
			Msh = MeshData:Clone()
861-
				local data = {Object = obj}
861+
			Msh.Parent = Prt
862-
				if obj:IsA("BasePart") and not obj:IsDescendantOf(char) then
862+
		elseif(Shape == Enum.PartType.Block)then
863-
					obj.Velocity = obj.Velocity/10
863+
			Msh = Mesh(Prt,Enum.MeshType.Brick)
864
		end
865-
				if obj:IsA("Sound") and not obj:FindFirstChild("Immune") then
865+
		if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
866-
					local spd = obj.PlaybackSpeed
866+
			Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
867-
					local data = {Object = obj, PlaybackSpeed = spd}
867+
868-
					spawn(function()
868+
		if(Snd)then
869-
						if not humsfinished then
869+
			repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
870-
							for i = 1, 20 do
870+
			Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
871-
								obj.PlaybackSpeed = ((i/20)*spd)/2
871+
872-
								swait()
872+
		Size = (Msh and Msh.Scale or Size)
873-
							end
873+
		local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
874
		
875-
							obj.PlaybackSpeed = spd/2
875+
		local MoveSpeed = nil;
876
		if(MoveDir)then
877-
						humsfinished = true
877+
			MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
878-
					end)
878+
879-
					table.insert(timedata, data)
879+
		if(FX ~= 'Arc')then
880
			for Frame = 1, Frames do
881-
				if obj:IsA("BodyVelocity") then
881+
				if(FX == "Fade")then
882-
					local vel = obj.Velocity
882+
					Prt.Transparency  = (Frame/Frames)
883-
					local data = {Object = obj, Velocity = vel}
883+
				elseif(FX == "Resize")then
884-
					spawn(function()
884+
					if(not Settings.EndSize)then
885-
						if not humsfinished then
885+
						Settings.EndSize = V3.N(0,0,0)
886-
							for i = 1, 20 do
886+
887-
								obj.Velocity = ((i/20)*vel)/10
887+
					if(Settings.EndIsIncrement)then
888-
								swait()
888+
						if(Msh)then
889-
							end
889+
							Msh.Scale = Msh.Scale + Settings.EndSize
890
						else
891-
							obj.Velocity = vel/10
891+
							Prt.Size = Prt.Size + Settings.EndSize
892
						end					
893-
						humsfinished = true
893+
					else
894-
					end)
894+
						if(Msh)then
895-
					table.insert(timedata, data)
895+
							Msh.Scale = Msh.Scale - grow/Frames
896
						else
897-
				if obj:IsA("BodyForce") then
897+
							Prt.Size = Prt.Size - grow/Frames
898-
					local frc = obj.Force
898+
899-
					local data = {Object = obj, Force = frc}
899+
					end 
900-
					spawn(function()
900+
				elseif(FX == "ResizeAndFade")then
901-
						if not humsfinished then
901+
					if(not Settings.EndSize)then
902-
							for i = 1, 20 do
902+
						Settings.EndSize = V3.N(0,0,0)
903-
								obj.Force = ((i/20)*frc)/10
903+
904-
								swait()
904+
					if(Settings.EndIsIncrement)then
905-
							end
905+
						if(Msh)then
906
							Msh.Scale = Msh.Scale + Settings.EndSize
907-
							obj.Force = frc/10
907+
908
							Prt.Size = Prt.Size + Settings.EndSize
909-
						humsfinished = true
909+
						end					
910-
					end)
910+
					else
911-
					table.insert(timedata, data)
911+
						if(Msh)then
912
							Msh.Scale = Msh.Scale - grow/Frames
913-
				if obj:IsA("BodyPosition") then
913+
914-
					local p = obj.P
914+
							Prt.Size = Prt.Size - grow/Frames
915-
					local data = {Object = obj, P = p}
915+
916-
					spawn(function()
916+
					end 
917-
						if not humsfinished then
917+
					Prt.Transparency = (Frame/Frames)
918-
							for i = 1, 20 do
918+
919-
								obj.P = ((i/20)*p)/10
919+
				if(Settings.RandomizeCFrame)then
920-
								swait()
920+
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
921-
							end
921+
922
					Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
923-
							obj.P = p/10
923+
924
				if(MoveDir and MoveSpeed)then
925-
						humsfinished = true
925+
					local Orientation = Prt.Orientation
926-
					end)
926+
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
927-
					table.insert(timedata, data)
927+
					Prt.Orientation = Orientation
928
				end
929-
				if obj:IsA("Humanoid") and obj ~= humanoid then
929+
930-
					local ws = obj.WalkSpeed
930+
931-
					local jp = obj.JumpPower
931+
			Prt:destroy()
932-
					local data = {Object = obj, WalkSpeed = ws, JumpPower = jp}
932+
		else
933-
					spawn(function()
933+
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
934-
						if not humsfinished then
934+
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
935-
							for i = 1, 20 do
935+
			if(start and endP)then
936-
								obj.JumpPower = ((i/20)*jp)/10
936+
				local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
937-
								obj.WalkSpeed = ((i/20)*ws)/10
937+
				local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
938-
								swait()
938+
				for Frame = 0, 1, (Settings.Speed or 0.01) do
939-
							end
939+
					if(Settings.Home)then
940
						endP = Settings.Home.CFrame
941-
							obj.WalkSpeed = jp/10
941+
942-
							obj.JumpPower = ws/10
942+
					Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
943
				end
944-
						humsfinished = true
944+
				if(Settings.RemoveOnGoal)then
945-
					end)
945+
					Prt:destroy()
946-
					table.insert(timedata, data)
946+
947
			else
948
				Prt:destroy()
949-
			timecon = workspace.DescendantAdded:connect(function(obj)
949+
				assert(start,"You need a start position!")
950-
				bind(obj)
950+
				assert(endP,"You need a start position!")
951
			end
952-
			for _,obj in pairs(workspace:GetDescendants()) do
952+
953-
				bind(obj)
953+
	end)()
954
	return Prt,Msh,Snd
955-
			repeat swait() until humsfinished
955+
956-
			local sound = Instance.new("Sound")
956+
function SoulSteal(whom)
957-
			sound.Name = "Ticking"
957+
	local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
958-
			sound.Looped = true
958+
	print(torso)
959-
			sound.Volume = 0.2
959+
	if(torso and torso:IsA'BasePart')then
960-
			sound.PlaybackSpeed = 0.5
960+
		local Model = Instance.new("Model",Effects)
961-
			Instance.new("StringValue", sound).Name = "Immune"
961+
		Model.Name = whom.Name.."'s Soul"
962-
			sound.SoundId = "rbxassetid://850256806"
962+
		whom:BreakJoints()
963-
			sound.Parent = char
963+
		local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
964-
			sound:Play()
964+
		Soul.Name = 'Head'
965-
			local sound2 = sound:Clone()
965+
		NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
966-
			sound2.Name = "Ambience"
966+
		Effect{
967-
			sound2.SoundId = "rbxassetid://225115422"
967+
			Effect="Arc",
968-
			sound2.TimePosition = 30
968+
			Manual = Soul,
969-
			sound2.PlaybackSpeed = 0.05
969+
			FXSettings={
970-
			sound2:Play()
970+
				Start=torso.CFrame,
971-
			timestate = "Slow"
971+
				Home = Torso,
972
				RemoveOnGoal = true,
973-
		workspace.CurrentCamera.FieldOfView = 120
973+
			}
974-
		game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(1.8, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
974+
		}
975
		local lastPoint = Soul.CFrame.p
976
	
977-
local attacks = 0
977+
		for i = 0, 1, 0.01 do 
978-
local lastattack = ""
978+
				local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
979-
local rs2,ls2,rj2
979+
				local mag = (lastPoint - Soul.Position).magnitude
980-
addattack(Enum.KeyCode.Q, function()
980+
				Effect{
981-
	if attacking then
981+
					Effect = "Fade",
982-
		return
982+
					CFrame = point * CF.N(0, mag/2, 0),
983
					Size = V3.N(.5,mag+.5,.5),
984-
	if lastattack == "left" then
984+
					Color = Soul.BrickColor
985-
		return
985+
				}
986
				lastPoint = Soul.CFrame.p
987-
		lastattack = "left"
987+
988
		end
989-
	attacking = true
989+
		for i = 1, 5 do
990-
	if attacks <= 0 then
990+
			Effect{
991-
		rs2,ls2,rj2 = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
991+
				Effect="Fade",
992-
		for i = 0, 2, 0.1 do
992+
				Color = BrickColor.new'Really red',
993-
		rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.906966507, 0.968378186, 0.112298936, 0.621087372, 0.026099572, 0.783306599, -0.77448535, -0.132709503, 0.618514776, 0.120095201, -0.990811288, -0.0622104593), 0.2)
993+
				MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
994-
		ls2.C1 = ls2.C1:Lerp(CFrame.new(0.737226963, 0.512096643, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.2)
994+
			}	
995-
		rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.550583005, -0.834780395, 0, 0, 0, 1, -0.834780395, 0.550583005, 0), 0.2)
995+
996
	end
997
end
998
999-
	attacks = attacks + 1
999+
--// Other Functions \\ --
1000-
	local hits = {}
1000+
1001-
	local p = Instance.new("Part")
1001+
function CastRay(startPos,endPos,range,ignoreList)
1002-
	p.Anchored = false
1002+
	local ray = Ray.new(startPos,(endPos-startPos).unit*range)
1003-
	p.CanCollide = false
1003+
	local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
1004-
	p.Transparency = 1
1004+
	return part,pos,norm,(pos and (startPos-pos).magnitude)
1005-
	p.Size = Vector3.new(1.5,2.5,1.5)
1005+
1006-
	p.CFrame = char["Left Arm"].CFrame
1006+
1007-
	p.Parent = workspace
1007+
function getRegion(point,range,ignore)
1008-
	p.Touched:connect(function(hit)
1008+
    return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
1009-
		local ok = true
1009+
1010-
		for i,v in pairs(hits) do
1010+
1011-
			if hit.Parent == v then
1011+
function clerp(startCF,endCF,alpha)
1012-
				ok = false
1012+
	return startCF:lerp(endCF, alpha)
1013
end
1014
1015-
		if ok and hurt(hit, 15) then
1015+
function GetTorso(char)
1016-
			camshake("right", 0.5, 0.5)
1016+
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
1017-
			soundeffect(soundlist.HardHit1, 1, 1, char.Torso)
1017+
1018-
			table.insert(hits, hit.Parent)
1018+
1019-
			knockback(hit, rootpart.CFrame.lookVector, 0.5)
1019+
1020-
			for i = 1, 3 do
1020+
function ShowDamage(Pos, Text, Time, Color)
1021-
				local p = Instance.new("Part")
1021+
	coroutine.wrap(function()
1022-
				p.CanCollide = false
1022+
	local Rate = (1 / Frame_Speed)
1023-
				p.Anchored = true
1023+
	local Pos = (Pos or Vector3.new(0, 0, 0))
1024-
				p.Material = "Neon"
1024+
	local Text = (Text or "")
1025-
				p.Size = Vector3.new(0.5,3,0.5)
1025+
	local Time = (Time or 2)
1026-
				p.CFrame = hit.CFrame *randomangle()
1026+
	local Color = (Color or Color3.new(1, 0, 1))
1027-
				setshape(p, "Sphere")
1027+
	local EffectPart = NewInstance("Part",Effects,{
1028-
				p.Parent = char
1028+
		Material=Enum.Material.SmoothPlastic,
1029-
				spawn(function()
1029+
		Reflectance = 0,
1030-
					local endcf = p.CFrame *CFrame.new(0,5,0)
1030+
		Transparency = 1,
1031-
					for i = 1, 50 do
1031+
		BrickColor = BrickColor.new(Color),
1032-
						local cf = p.CFrame
1032+
		Name = "Effect",
1033-
						p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
1033+
		Size = Vector3.new(0,0,0),
1034-
						p.CFrame = cf
1034+
		Anchored = true,
1035-
						p.CFrame = cf:Lerp(endcf, 0.1)
1035+
		CFrame = CF.N(Pos)
1036-
						p.Transparency = i/50
1036+
	})
1037-
						swait()
1037+
	local BillboardGui = NewInstance("BillboardGui",EffectPart,{
1038
		Size = UDim2.new(1.25, 0, 1.25, 0),
1039-
					p:Destroy()
1039+
		Adornee = EffectPart,
1040-
				end)
1040+
	})
1041
	local TextLabel = NewInstance("TextLabel",BillboardGui,{
1042
		BackgroundTransparency = 1,
1043
		Size = UDim2.new(1, 0, 1, 0),
1044-
	stabilizer(p)
1044+
		Text = Text,
1045-
	soundeffect(soundlist.Woosh1, 1, 1, char.Torso)
1045+
		Font = "Bodoni",
1046-
	for i = 0, 0.4, 0.1 do
1046+
		TextColor3 = Color,
1047-
	p.CFrame = char["Left Arm"].CFrame
1047+
		TextStrokeColor3 = Color3.new(0,0,0),
1048-
	p.Stable.Position = p.Position
1048+
		TextStrokeTransparency=0,
1049-
	rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.765155435, 0.0656381845, -0.134758413, 0.690899074, 0.0384150855, 0.721929848, -0.71290642, -0.129681468, 0.689164102, 0.120095223, -0.990811288, -0.0622104444), 0.6)
1049+
		TextScaled = true,
1050-
	ls2.C1 = ls2.C1:Lerp(CFrame.new(0.594711781, 1.414186, 0, -0.303172708, 0.0272964332, -0.95254457, 0.948707044, -0.0854178295, -0.304399073, -0.0896732956, -0.995971262, 3.66734874e-08), 0.6)
1050+
	})
1051-
	rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.678091764, 0.734977245, 0, 0, 0, 1, 0.734977245, 0.678091764, -0), 0.6)
1051+
	S.Debris:AddItem(EffectPart, (Time))
1052
	EffectPart.Parent = workspace
1053
	delay(0, function()
1054-
	p:Destroy()
1054+
		Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
1055-
	attacking = false
1055+
		local Frames = (Time / Rate)
1056-
	spawn(function()
1056+
		for Frame = 1, Frames do
1057-
		swait(10)
1057+
1058-
		attacks = attacks - 1
1058+
			local Percent = (Frame / Frames)
1059-
		if attacks == 0 then
1059+
			TextLabel.TextTransparency = Percent
1060-
			fixalljoints()
1060+
			TextLabel.TextStrokeTransparency = Percent
1061-
			lastattack = ""
1061+
1062
		if EffectPart and EffectPart.Parent then
1063
			EffectPart:Destroy()
1064
		end
1065-
addattack(Enum.KeyCode.E, function()
1065+
	end) end)()
1066-
	if attacking then
1066+
1067-
		return
1067+
1068
function DealDamage(data)
1069-
	if lastattack == "right" then
1069+
	local Who = data.Who;
1070-
		return
1070+
	local MinDam = data.MinimumDamage or 15;
1071
	local MaxDam = data.MaximumDamage or 30;
1072-
		lastattack = "right"
1072+
	local MaxHP = data.MaxHP or 1e5; 
1073
	
1074-
	attacking = true
1074+
	local DB = data.Debounce or .2;
1075-
	if attacks <= 0 then
1075+
1076-
		rs2,ls2,rj2 = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
1076+
	local CritData = data.Crit or {}
1077-
		for i = 0, 2, 0.1 do
1077+
	local CritChance = CritData.Chance or 0;
1078-
		rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.66123569, -0.0759664774, 0, 0.836167634, 0.17217432, 0.520749211, -0.510048807, -0.105023548, 0.853709757, 0.201677814, -0.979451895, 8.81561668e-09), 0.2)
1078+
	local CritMultiplier = CritData.Multiplier or 1;
1079-
		ls2.C1 = ls2.C1:Lerp(CFrame.new(0.500000119, 0.96661222, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.2)
1079+
1080-
		rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.557908654, 0.829902351, 0, 0, 0, 1, 0.829902351, 0.557908654, 0), 0.2)
1080+
	local DamageEffects = data.DamageFX or {}
1081
	local DamageType = DamageEffects.Type or "Normal"
1082
	local DeathFunction = DamageEffects.DeathFunction
1083
	
1084-
	attacks = attacks + 1
1084+
	assert(Who,"Specify someone to damage!")	
1085-
	local hits = {}
1085+
1086-
	local p = Instance.new("Part")
1086+
	local Humanoid = Who:FindFirstChildOfClass'Humanoid'
1087-
	p.Anchored = false
1087+
	local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
1088-
	p.CanCollide = false
1088+
1089-
	p.Transparency = 1
1089+
	local canHit = true
1090-
	p.Size = Vector3.new(1.5,2.5,1.5)
1090+
	if(Humanoid)then
1091-
	p.CFrame = char["Right Arm"].CFrame
1091+
		for _, p in pairs(Hit) do
1092-
	p.Parent = workspace
1092+
			if p[1] == Humanoid then
1093-
	p.Touched:connect(function(hit)
1093+
				if(time() - p[2] <= DB) then
1094-
		local ok = true
1094+
					canHit = false
1095-
		for i,v in pairs(hits) do
1095+
1096-
			if hit.Parent == v then
1096+
					Hit[_] = nil
1097-
				ok = false
1097+
1098
			end
1099
		end
1100-
		if ok and hurt(hit, 15) then
1100+
		if(canHit)then
1101-
			camshake("left", 0.5, 0.5)
1101+
			table.insert(Hit,{Humanoid,time()})
1102-
			soundeffect(soundlist.HardHit2, 1, 1, char.Torso)
1102+
			local HitTorso = GetTorso(Who)
1103-
			table.insert(hits, hit.Parent)
1103+
			local player = S.Players:GetPlayerFromCharacter(Who)
1104-
			knockback(hit, rootpart.CFrame.lookVector, 0.5)
1104+
			if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
1105-
			for i = 1, 3 do
1105+
				if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
1106-
				local p = Instance.new("Part")
1106+
					print'Got kill'
1107-
				p.CanCollide = false
1107+
					Humanoid.Health = 0;
1108-
				p.Anchored = true
1108+
					Who:BreakJoints();
1109-
				p.Material = "Neon"
1109+
					if(DeathFunction)then DeathFunction(Who,Humanoid) end
1110-
				p.Size = Vector3.new(0.5,3,0.5)
1110+
1111-
				p.CFrame = hit.CFrame *randomangle()
1111+
					local  c = Instance.new("ObjectValue",Hum)
1112-
				setshape(p, "Sphere")
1112+
					c.Name = "creator"
1113-
				p.Parent = char
1113+
					c.Value = Plr
1114-
				spawn(function()
1114+
					S.Debris:AddItem(c,0.35)	
1115-
					local endcf = p.CFrame *CFrame.new(0,5,0)
1115+
					if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
1116-
					for i = 1, 50 do
1116+
						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))), DoneDamage, 1.5, DamageColor.Color)
1117-
						local cf = p.CFrame
1117+
1118-
						p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
1118+
					if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
1119-
						p.CFrame = cf
1119+
					Humanoid.Health = Humanoid.Health - DoneDamage
1120-
						p.CFrame = cf:Lerp(endcf, 0.1)
1120+
					
1121-
						p.Transparency = i/50
1121+
					if(DamageType == 'Knockback' and HitTorso)then
1122-
						swait()
1122+
						local up = DamageEffects.KnockUp or 25
1123
						local back = DamageEffects.KnockBack or 25
1124-
					p:Destroy()
1124+
						local origin = DamageEffects.Origin or Root
1125-
				end)
1125+
						local decay = DamageEffects.Decay or .5;
1126
						
1127
						local bfos = Instance.new("BodyVelocity",HitTorso)
1128
						bfos.P = 20000	
1129-
	stabilizer(p)
1129+
						bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1130-
	soundeffect(soundlist.Woosh1, 1, 1.2, char.Torso)
1130+
						bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
1131-
	for i = 0, 0.4, 0.1 do
1131+
						S.Debris:AddItem(bfos,decay)
1132-
	p.CFrame = char["Right Arm"].CFrame
1132+
1133-
	p.Stable.Position = p.Position
1133+
1134-
	rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.300615489, 1.58357882, 0.112298936, -0.591086566, -0.121709943, 0.797372818, -0.797617614, -0.0589888841, -0.600272059, 0.120095201, -0.990811288, -0.0622104593), 0.6)
1134+
1135-
	ls2.C1 = ls2.C1:Lerp(CFrame.new(0.737226963, 0.512096643, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.6)
1135+
1136-
	rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.550583005, -0.834780395, 0, 0, 0, 1, -0.834780395, 0.550583005, 0), 0.6)
1136+
	end		
1137
end
1138
1139-
	p:Destroy()
1139+
function AOEDamage(where,range,options)
1140-
	attacking = false
1140+
	local hit = {}
1141-
	spawn(function()
1141+
	for _,v in next, getRegion(where,range,{Char}) do
1142-
		swait(10)
1142+
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
1143-
		attacks = attacks - 1
1143+
			local callTable = {Who=v.Parent}
1144-
		if attacks == 0 then
1144+
			hit[v.Parent] = true
1145-
			lastattack = ""
1145+
			for _,v in next, options do callTable[_] = v end
1146-
			fixalljoints()
1146+
			DealDamage(callTable)
1147
		end
1148
	end
1149
	return hit
1150-
addattack(Enum.KeyCode.R, function()
1150+
1151-
	if attacking or attacks ~= 0 then
1151+
1152-
		return
1152+
function AOEHeal(where,range,amount)
1153
	local healed = {}
1154-
	local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
1154+
	for _,v in next, getRegion(where,range,{Char}) do
1155-
	attacking = true
1155+
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
1156-
	for i = 0, 1.3, 0.1 do
1156+
		if(hum and not healed[hum])then
1157-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.496893436, 1.07596898, -0.312988698, 0.19853723, 0.499329865, 0.843357921, 0.169898286, -0.864994049, 0.472143799, 0.965255141, 0.0495468974, -0.256568819), 0.2)
1157+
			hum.Health = hum.Health + amount
1158-
	ls.C1 = ls.C1:Lerp(CFrame.new(0.540391445, 1.0264194, -0.428114742, 0.327020317, -0.479398847, -0.81439209, -0.16517745, -0.877505124, 0.450223595, -0.930469871, -0.0127130449, -0.366147876), 0.2)
1158+
			if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
1159-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.473837465, 0.880612314, 0, 0.880612314, -0.473837465), 0.2)
1159+
				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)
1160
			end
1161
		end
1162-
	local hits = {}
1162+
1163-
	local p = Instance.new("Part")
1163+
1164-
	p.Anchored = false
1164+
1165-
	p.CanCollide = false
1165+
function ClosestHumanoid(pos,range)
1166-
	p.Transparency = 1
1166+
	local mag,closest = math.huge;
1167-
	p.Size = Vector3.new(2.5,2.5,2.5)
1167+
	for _,v in next, getRegion(pos,range or 10,{Char}) do
1168-
	p.CFrame = char["Right Arm"].CFrame *CFrame.new(1,0,0)
1168+
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
1169-
	p.Parent = workspace
1169+
		if((v.CFrame.p-pos).magnitude < mag and hum and closest ~= hum and hum.Health > 0)then
1170-
	p.Touched:connect(function(hit)
1170+
			mag = (v.CFrame.p-pos).magnitude
1171-
		local ok = true
1171+
			closest = hum
1172-
		for i,v in pairs(hits) do
1172+
1173-
			if hit.Parent == v then
1173+
1174-
				ok = false
1174+
	return closest,(closest and GetTorso(closest.Parent) or nil)
1175
end
1176
1177-
		if ok and hurt(hit, 30) then
1177+
function ByeBye()
1178-
			camshake("down", 0.7, 0.5)
1178+
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1179-
			soundeffect(soundlist.HardHit2, 1, 1, char.Torso)
1179+
1180-
			table.insert(hits, hit.Parent)
1180+
	if(torso)then
1181-
			knockback(hit, rootpart.CFrame.lookVector*Vector3.new(0.2,0,0.2)+Vector3.new(0,-1,0), 5)
1181+
		local who = torso.Parent
1182-
			for i = 1, 7 do
1182+
		local doAttack = false
1183-
				local p = Instance.new("Part")
1183+
		Instance.AllChildren(who,function(v)
1184-
				p.CanCollide = false
1184+
			if(v.Name:lower():find"arm")then
1185-
				p.Anchored = true
1185+
				doAttack = true
1186-
				p.Material = "Neon"
1186+
1187-
				p.Size = Vector3.new(0.5,3,0.5)
1187+
		end, true)
1188-
				p.CFrame = hit.CFrame *randomangle()
1188+
		if(not doAttack)then return end
1189-
				setshape(p, "Sphere")
1189+
		WalkSpeed = 0
1190-
				p.Parent = char
1190+
		Hum.JumpPower = 0
1191-
				spawn(function()
1191+
		Attack = true
1192-
					local endcf = p.CFrame *CFrame.new(0,5,0)
1192+
		NeutralAnims = false
1193-
					for i = 1, 50 do
1193+
		Hum.AutoRotate = false
1194-
						local cf = p.CFrame
1194+
		who.Parent = Char
1195-
						p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
1195+
		local oRoot
1196-
						p.CFrame = cf
1196+
		coroutine.resume(coroutine.create(function()
1197-
						p.CFrame = cf:Lerp(endcf, 0.1)
1197+
			repeat
1198-
						p.Transparency = i/50
1198+
1199-
						swait()
1199+
				torso.Anchored = true
1200
				Root.Anchored = true
1201-
					p:Destroy()
1201+
			until not Attack
1202-
				end)
1202+
			Root.Anchored = false
1203
			torso.Anchored = false
1204
			Hum.AutoRotate = true
1205
		end))
1206-
	stabilizer(p)
1206+
		torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
1207-
	soundeffect(soundlist.Woosh2, 1, 1, char.Torso)
1207+
		if(humanoid.RigType == Enum.HumanoidRigType.R6)then
1208-
	for i = 0, 0.7, 0.1 do
1208+
			for i = 0, 6, 0.1 do
1209-
	p.CFrame = char["Right Arm"].CFrame *CFrame.new(1,0,0)
1209+
1210-
	p.Stable.Position = p.Position
1210+
				local Alpha = .1
1211-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.667285919, 0.998731434, 0.0985666513, 0.472356766, -0.245664522, 0.846479833, -0.662665009, 0.53425169, 0.52483356, -0.581166148, -0.808841228, 0.0895640329), 0.35)
1211+
				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)
1212-
	ls.C1 = ls.C1:Lerp(CFrame.new(1.08004797, 1.00210166, 0.0862590671, 0.688671947, 0.329867661, -0.64569217, 0.477811068, 0.463347167, 0.746328354, 0.545369148, -0.822494209, 0.161479771), 0.35)
1212+
				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)
1213-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.431734294, 0.902000785, 0, 0.902000785, 0.431734294), 0.35)
1213+
				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)
1214
				LS.C0 = clerp(LS.C0,CFrame.new(-1.41749763, 0.558253706, 0.0724307299, 0.984057605, 0.177849606, 0.000124168335, -0.00111837965, 0.00688624149, -0.999975622, -0.177846164, 0.984033704, 0.00697536254),Alpha)
1215
				RS.C0 = clerp(RS.C0,CFrame.new(1.41673875, 0.529312432, -0.161725938, 0.9891271, -0.147063792, -0.000118533542, 0.000924787659, 0.00702595245, -0.999974966, 0.147060931, 0.989102244, 0.00708556268),Alpha)
1216-
	p:Destroy()
1216+
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1217-
	swait(10)
1217+
1218-
	fixalljoints()
1218+
			local RABC = (who:FindFirstChild'Right Arm' or who:FindFirstChild'RightUpperArm' or who:FindFirstChild'RightLowerArm' or who:FindFirstChild'RightHand' or IN("Part")).Color
1219-
	attacking = false
1219+
			local LABC = (who:FindFirstChild'Left Arm' or who:FindFirstChild'LeftUpperArm' or who:FindFirstChild'LeftLowerArm' or who:FindFirstChild'LeftHand' or IN("Part")).Color
1220
			Sound(Root,1093102664,.85,5,false,true,true)
1221-
addattack(Enum.KeyCode.Y, function()
1221+
			Sound(Root,429400881,1,1,false,true,true)
1222-
	if attacking or attacks ~= 0 then
1222+
			local FRArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=RABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
1223-
		return
1223+
			Mesh(FRArm,Enum.MeshType.FileMesh,"rbxasset://fonts/rightarm.mesh","",V3.N(1,1,1),V3.N())
1224
			local FLArm = NewInstance('Part',Effects,{Size=V3.N(1,2,1),Color=LABC,Material='Plastic',CanCollide=false,Anchored=false,Locked=true})
1225-
	attacking = true
1225+
			Mesh(FLArm,Enum.MeshType.FileMesh,"rbxasset://fonts/leftarm.mesh","",V3.N(1,1,1),V3.N())		
1226-
	local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
1226+
			local FRArmW = NewInstance('Weld',FRArm,{Part0=RArm,Part1=FRArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
1227-
	for i = 0, 1.5, 0.1 do
1227+
			local FLArmW = NewInstance('Weld',FLArm,{Part0=LArm,Part1=FLArm,C0=CF.N(0,-1.25,.65)*CF.A(M.R(90),0,0)})
1228-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.69189465, 0, -4.37113883e-08, 0, 1, -0.560839891, 0.827924252, -2.45150904e-08, -0.827924252, -0.560839891, -3.61897179e-08), 0.2)
1228+
			Instance.AllChildren(who,function(v)
1229-
	ls.C1 = ls.C1:Lerp(CFrame.new(0.517904997, 0.547646105, 0.00405242294, 0.0622798949, -0.105018295, -0.992518127, -0.0215675589, 0.994074821, -0.106536403, 0.997825623, 0.0280412138, 0.0596458912), 0.2)
1229+
				if(v.Name:lower():find"arm")then
1230-
	rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.2)
1230+
					v:destroy()
1231-
	lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.2)
1231+
1232-
	neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.2)
1232+
			end, true)
1233-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.301361054, 0.953510106, 0, 0.953510106, 0.301361054), 0.2)
1233+
			for i = 0, 4, 0.1 do
1234
				swait()
1235
				local Alpha = .3
1236-
	local lastws = humanoid.WalkSpeed
1236+
				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)
1237-
	humanoid.WalkSpeed = 0
1237+
				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)
1238-
	rootpart.Velocity = Vector3.new(0,70,0)+rootpart.CFrame.lookVector
1238+
				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)
1239-
	local hits = {}
1239+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.37231135, 0.556628764, -0.166760147, 0.49629873, 0.868151784, 0.000124280094, -0.00599422446, 0.00356988632, -0.999975622, -0.86813122, 0.496285975, 0.0069756275),Alpha)
1240-
	local p = Instance.new("Part")
1240+
				RS.C0 = clerp(RS.C0,CFrame.new(1.36567199, 0.528297484, -0.299411327, 0.523141146, -0.852246106, -0.000118162308, 0.00597720221, 0.00380767859, -0.999974966, 0.852225304, 0.523127258, 0.00708600134),Alpha)
1241-
	p.Anchored = false
1241+
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1242-
	p.CanCollide = false
1242+
1243-
	p.Transparency = 1
1243+
			for i = 0, 6, 0.1 do
1244-
	p.Size = Vector3.new(2.5,2.5,2.5)
1244+
1245-
	p.CFrame = char["Right Arm"].CFrame
1245+
				local Alpha = .1
1246-
	p.Parent = workspace
1246+
				RJ.C0 = clerp(RJ.C0,CFrame.new(0.0228011385, 0.00629060203, 1.12518191, 0.0291582551, 0.00628361246, 0.999555051, -2.14977626e-06, 0.99998033, -0.00628622202, -0.99957478, 0.00018114649, 0.0291576944),Alpha)
1247-
	p.Touched:connect(function(hit)
1247+
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496488124, -0.990816116, 0.0216191448, 0.999878168, 0, 0.0156121869, -9.81426565e-05, 0.99998033, 0.00628552027, -0.0156118795, -0.00628628489, 0.999858439),Alpha)
1248-
		local ok = true
1248+
				RH.C0 = clerp(RH.C0,CFrame.new(0.23371309, -1.09946191, -0.482504547, -0.303610921, -0.951285303, 0.0536354929, 0.952085018, -0.305077851, -0.0214900374, 0.0368061513, 0.044540938, 0.998329341),Alpha)
1249-
		for i,v in pairs(hits) do
1249+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.45626378, 0.69259727, 0.0175086595, 0.945088685, 0.326360583, 0.0172104035, -0.326625437, 0.945021749, 0.015810458, -0.011104295, -0.020563636, 0.999726892),Alpha)
1250-
			if hit.Parent == v then
1250+
				RS.C0 = clerp(RS.C0,CFrame.new(1.08771467, 0.499947339, 0.367133379, -0.0391258858, -0.881180465, -0.471158326, 0.999125242, -0.0275285728, -0.0314841382, 0.014772892, -0.471978068, 0.881486535),Alpha)
1251-
				ok = false
1251+
				NK.C0 = clerp(NK.C0,CFrame.new(-5.14835119e-06, 1.49894261, -0.0143871643, 0.204809442, 0.0562733002, -0.977182865, 0.00615302799, 0.998252332, 0.0587762482, 0.978782475, -0.0180505645, 0.204105228),Alpha)
1252
			end
1253
			Sound(Root,429400881,1,1,false,true,true)
1254-
		if ok and hurt(hit, 35) then
1254+
			torso:destroy()
1255-
			camshake("up", 0.7, 0.5)
1255+
			who.Parent = workspace
1256-
			soundeffect(soundlist.HardHit3, 1, 1, char.Torso)
1256+
			for i = 0, 4, 0.1 do
1257-
			table.insert(hits, hit.Parent)
1257+
1258-
			knockback(hit, rootpart.CFrame.lookVector*Vector3.new(0.2,0,0.2)+Vector3.new(0,1,0), 6)
1258+
				local Alpha = .4
1259-
			for i = 1, 7 do
1259+
				RJ.C0 = clerp(RJ.C0,CFrame.new(0.0181181245, 0.133765578, 0.82536447, 0.0327006169, 0.0161891486, 0.999334037, 0.633923531, 0.772680283, -0.0332608707, -0.772704244, 0.634588957, 0.0150044383),Alpha)
1260-
				local p = Instance.new("Part")
1260+
				LH.C0 = clerp(LH.C0,CFrame.new(-0.771793485, -1.32007217, 0.06628979, 0.26972881, 0.962679863, 0.0222291686, -0.962770581, 0.269182026, 0.0247809235, 0.0178724024, -0.0280857105, 0.999445796),Alpha)
1261-
				p.CanCollide = false
1261+
				RH.C0 = clerp(RH.C0,CFrame.new(0.755022645, -1.37733042, -0.499431878, 0.36903578, -0.928792715, 0.034014143, 0.929390252, 0.368510485, -0.0208280198, 0.00681034196, 0.0392986946, 0.999204397),Alpha)
1262-
				p.Anchored = true
1262+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.30144882, 0.605753839, 0.0162189379, 0.771496534, 0.63600105, 0.017206654, -0.636225641, 0.771341264, 0.0158053432, -0.0032199882, -0.0231410768, 0.999727011),Alpha)
1263-
				p.Material = "Neon"
1263+
				RS.C0 = clerp(RS.C0,CFrame.new(1.28942716, 0.343831509, 0.537701666, 0.553924322, -0.686421931, -0.471161366, 0.767158687, 0.640684545, -0.0314797312, 0.323474079, -0.344018102, 0.881485164),Alpha)
1264-
				p.Size = Vector3.new(0.5,3,0.5)
1264+
				NK.C0 = clerp(NK.C0,CFrame.new(-1.08331442e-05, 1.49893129, -0.0143847037, 0.204810485, 0.0562703013, -0.977182984, 0.00615352392, 0.998252511, 0.0587732494, 0.978782296, -0.0180504955, 0.204106256),Alpha)
1265-
				p.CFrame = hit.CFrame *randomangle()
1265+
1266-
				setshape(p, "Sphere")
1266+
			for i = 0, 4, 0.1 do
1267-
				p.Parent = char
1267+
1268-
				spawn(function()
1268+
				local Alpha = .1
1269-
					local endcf = p.CFrame *CFrame.new(0,5,0)
1269+
				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)
1270-
					for i = 1, 50 do
1270+
				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)
1271-
						local cf = p.CFrame
1271+
				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)
1272-
						p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
1272+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.47210145, 0.463549852, 0.020456871, 0.0483208001, 0.998709798, 0.0156119233, -0.99881655, 0.0482276753, 0.00628757617, 0.00552653754, -0.0158972703, 0.999858439),Alpha)
1273-
						p.CFrame = cf
1273+
				RS.C0 = clerp(RS.C0,CFrame.new(1.48960721, 0.46071431, -0.0257698279, 0.0482511185, -0.998713255, 0.0156119233, 0.99881053, 0.0483541042, 0.00628757617, -0.00703438697, 0.0152899725, 0.999858439),Alpha)
1274-
						p.CFrame = cf:Lerp(endcf, 0.1)
1274+
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1275-
						p.Transparency = i/50
1275+
1276-
						swait()
1276+
			FLArm.CanCollide = true
1277
			FRArm.CanCollide = true
1278-
					p:Destroy()
1278+
			FRArm.Parent = workspace
1279-
				end)
1279+
			FLArm.Parent = workspace
1280
			FRArmW:destroy();
1281
			FLArmW:destroy();
1282
			delay(2, function()
1283-
	stabilizer(p)
1283+
				for i = 0, 1, .05 do
1284-
	soundeffect(soundlist.Woosh2, 1, 0.9, char.Torso)
1284+
					FLArm.Transparency = i
1285-
	local rh,lh,neck = replacejoint("Right Hip"),replacejoint("Left Hip"),replacejoint("Neck")
1285+
					FRArm.Transparency = i
1286-
	for i = 0, 2, 0.1 do
1286+
1287-
	p.CFrame = char["Right Arm"].CFrame
1287+
1288-
	p.Stable.Position = p.Position
1288+
				FLArm:destroy()
1289-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.446216494, -0.361232638, -4.37113847e-08, 0, 0.99999994, -0.360836178, -0.932629287, -1.57726507e-08, 0.932629287, -0.360836178, 4.07665226e-08), 0.35)
1289+
				FRArm:destroy()
1290-
	ls.C1 = ls.C1:Lerp(CFrame.new(0.517904997, 0.547646105, 0.00405242294, 0.0622798949, -0.105018295, -0.992518127, -0.0215675589, 0.994074821, -0.106536403, 0.997825623, 0.0280412138, 0.0596458912), 0.35)
1290+
1291-
	rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.835349202, 0.549719632, 3.65142725e-08, -0.549719632, 0.835349202, -2.40290081e-08), 0.35)
1291+
			for i = 0, 3, 0.1 do
1292-
	lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 5.96046448e-08, -4.37113883e-08, 0, -1, 0.934595525, 0.355712235, -4.08524663e-08, 0.355712235, -0.934595525, -1.55486752e-08), 0.35)
1292+
1293-
	neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0765283406, 0.997067392, 0, 0.997067392, -0.0765283406), 0.35)
1293+
				local Alpha = .1
1294-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, -0.439764589, 0.236440629, -1, 0, 0, 0, 0.186102957, 0.982530236, 0, 0.982530236, -0.186102957), 0.35)
1294+
				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)
1295
				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)
1296
				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)
1297-
	fixalljoints()
1297+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.47210145, 0.463549852, 0.020456871, 0.0483208001, 0.998709798, 0.0156119233, -0.99881655, 0.0482276753, 0.00628757617, 0.00552653754, -0.0158972703, 0.999858439),Alpha)
1298-
	attacking = false
1298+
				RS.C0 = clerp(RS.C0,CFrame.new(1.48960721, 0.46071431, -0.0257698279, 0.0482511185, -0.998713255, 0.0156119233, 0.99881053, 0.0483541042, 0.00628757617, -0.00703438697, 0.0152899725, 0.999858439),Alpha)
1299-
	humanoid.WalkSpeed = lastws
1299+
				NK.C0 = clerp(NK.C0,CFrame.new(1.00737716e-05, 1.49894738, -0.0144014433, 0.99999994, 3.67523171e-07, -1.61118805e-07, -3.56500095e-07, 0.997964799, 0.0637688041, 1.8440187e-07, -0.063768819, 0.997964799),Alpha)
1300-
	swait(20)
1300+
1301
		else
1302-
addattack(Enum.KeyCode.F, function()
1302+
			for i = 0, 6, 0.1 do
1303-
	if attacking or attacks ~= 0 then
1303+
1304-
		return
1304+
				local Alpha = .1
1305
				RJ.C0 = clerp(RJ.C0,CFrame.new(0.0228011385, 0.00629060203, 1.12518191, 0.0291582551, 0.00628361246, 0.999555051, -2.14977626e-06, 0.99998033, -0.00628622202, -0.99957478, 0.00018114649, 0.0291576944),Alpha)
1306-
	local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
1306+
				LH.C0 = clerp(LH.C0,CFrame.new(-0.496488124, -0.990816116, 0.0216191448, 0.999878168, 0, 0.0156121869, -9.81426565e-05, 0.99998033, 0.00628552027, -0.0156118795, -0.00628628489, 0.999858439),Alpha)
1307-
	attacking = true
1307+
				RH.C0 = clerp(RH.C0,CFrame.new(0.23371309, -1.09946191, -0.482504547, -0.303610921, -0.951285303, 0.0536354929, 0.952085018, -0.305077851, -0.0214900374, 0.0368061513, 0.044540938, 0.998329341),Alpha)
1308-
	for i = 0, 1.3, 0.1 do
1308+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.45626378, 0.69259727, 0.0175086595, 0.945088685, 0.326360583, 0.0172104035, -0.326625437, 0.945021749, 0.015810458, -0.011104295, -0.020563636, 0.999726892),Alpha)
1309-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.49999994, -0.365668952, 0, 0.801226735, -0.011569812, 0.598249018, -0.598186672, 0.00863788743, 0.801310301, -0.0144386161, -0.999895751, -6.3113198e-10), 0.35)
1309+
				RS.C0 = clerp(RS.C0,CFrame.new(1.08771467, 0.499947339, 0.367133379, -0.0391258858, -0.881180465, -0.471158326, 0.999125242, -0.0275285728, -0.0314841382, 0.014772892, -0.471978068, 0.881486535),Alpha)
1310-
	ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, 0.810985923, -0.159224555, -0.562982619, 0.552435875, -0.108462237, 0.826468766, -0.192656472, -0.98126626, 8.42128145e-09), 0.35)
1310+
				NK.C0 = clerp(NK.C0,CFrame.new(-5.14835119e-06, 1.49894261, -0.0143871643, 0.204809442, 0.0562733002, -0.977182865, 0.00615302799, 0.998252332, 0.0587762482, 0.978782475, -0.0180505645, 0.204105228),Alpha)
1311-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.553187609, 0.833056748, 0, 0.426593065, 0.283277214, 0.858936787, 0.715543091, 0.475153178, -0.512081623), 0.35)
1311+
1312
			Sound(Root,429400881,1,1,false,true,true)
1313
			torso:destroy()
1314-
	local hits = {}
1314+
			who.Parent = workspace
1315-
	local p = Instance.new("Part")
1315+
			for i = 0, 4, 0.1 do
1316-
	p.Anchored = false
1316+
1317-
	p.CanCollide = false
1317+
				local Alpha = .4
1318-
	p.Transparency = 1
1318+
				RJ.C0 = clerp(RJ.C0,CFrame.new(0.0181181245, 0.133765578, 0.82536447, 0.0327006169, 0.0161891486, 0.999334037, 0.633923531, 0.772680283, -0.0332608707, -0.772704244, 0.634588957, 0.0150044383),Alpha)
1319-
	p.Size = Vector3.new(2.5,2.5,2.5)
1319+
				LH.C0 = clerp(LH.C0,CFrame.new(-0.771793485, -1.32007217, 0.06628979, 0.26972881, 0.962679863, 0.0222291686, -0.962770581, 0.269182026, 0.0247809235, 0.0178724024, -0.0280857105, 0.999445796),Alpha)
1320-
	p.CFrame = char["Right Arm"].CFrame
1320+
				RH.C0 = clerp(RH.C0,CFrame.new(0.755022645, -1.37733042, -0.499431878, 0.36903578, -0.928792715, 0.034014143, 0.929390252, 0.368510485, -0.0208280198, 0.00681034196, 0.0392986946, 0.999204397),Alpha)
1321-
	p.Parent = workspace
1321+
				LS.C0 = clerp(LS.C0,CFrame.new(-1.30144882, 0.605753839, 0.0162189379, 0.771496534, 0.63600105, 0.017206654, -0.636225641, 0.771341264, 0.0158053432, -0.0032199882, -0.0231410768, 0.999727011),Alpha)
1322-
	p.Touched:connect(function(hit)
1322+
				RS.C0 = clerp(RS.C0,CFrame.new(1.28942716, 0.343831509, 0.537701666, 0.553924322, -0.686421931, -0.471161366, 0.767158687, 0.640684545, -0.0314797312, 0.323474079, -0.344018102, 0.881485164),Alpha)
1323-
		local ok = true
1323+
				NK.C0 = clerp(NK.C0,CFrame.new(-1.08331442e-05, 1.49893129, -0.0143847037, 0.204810485, 0.0562703013, -0.977182984, 0.00615352392, 0.998252511, 0.0587732494, 0.978782296, -0.0180504955, 0.204106256),Alpha)
1324-
		for i,v in pairs(hits) do
1324+
1325-
			if hit.Parent == v then
1325+
1326-
				ok = false
1326+
		WalkSpeed = 16
1327
		Hum.AutoRotate = true
1328
		Hum.JumpPower = 50
1329-
		if ok and hurt(hit, 45) then
1329+
		Attack = false
1330-
			camshake("left", 0.7, 0.8)
1330+
		NeutralAnims = true
1331-
			soundeffect(soundlist.HardHit3, 1, 1, char.Torso)
1331+
1332-
			table.insert(hits, hit.Parent)
1332+
1333-
			knockback(hit, rootpart.CFrame.lookVector, 5)
1333+
1334-
			for i = 1, 7 do
1334+
function AttackTemp()
1335-
				local p = Instance.new("Part")
1335+
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1336-
				p.CanCollide = false
1336+
1337-
				p.Anchored = true
1337+
	if(torso)then
1338-
				p.Material = "Neon"
1338+
		local who = torso.Parent
1339-
				p.Size = Vector3.new(0.5,3,0.5)
1339+
		WalkSpeed = 0
1340-
				p.CFrame = hit.CFrame *randomangle()
1340+
		Hum.JumpPower = 0
1341-
				setshape(p, "Sphere")
1341+
		Attack = true
1342-
				p.Parent = char
1342+
		NeutralAnims = false
1343-
				spawn(function()
1343+
		Hum.AutoRotate = false
1344-
					local endcf = p.CFrame *CFrame.new(0,5,0)
1344+
		who.Parent = Char
1345-
					for i = 1, 50 do
1345+
		local oRoot
1346-
						local cf = p.CFrame
1346+
		coroutine.resume(coroutine.create(function()
1347-
						p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
1347+
			repeat
1348-
						p.CFrame = cf
1348+
1349-
						p.CFrame = cf:Lerp(endcf, 0.1)
1349+
				torso.Anchored = true
1350-
						p.Transparency = i/50
1350+
				Root.Anchored = true
1351-
						swait()
1351+
			until not Attack
1352
			Root.Anchored = false
1353-
					p:Destroy()
1353+
			torso.Anchored = false
1354-
				end)
1354+
			Hum.AutoRotate = true
1355
		end))
1356
		torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
1357
		WalkSpeed = 16
1358-
	stabilizer(p)
1358+
		Hum.AutoRotate = true
1359-
	soundeffect(soundlist.Woosh2, 1, 1, char.Torso)
1359+
		Hum.JumpPower = 50
1360-
	for i = 0, 0.7, 0.1 do
1360+
		Attack = false
1361-
	p.CFrame = char["Right Arm"].CFrame
1361+
		NeutralAnims = true
1362-
	p.Stable.Position = p.Position
1362+
1363-
	rs.C1 = rs.C1:Lerp(CFrame.new(-0.0815927088, 1.02625275, -0.263894349, -0.186050832, 0.00268659508, 0.982536495, -0.884674728, -0.435528874, -0.166329011, 0.427476168, -0.900170743, 0.083407253), 0.35)
1363+
1364-
	ls.C1 = ls.C1:Lerp(CFrame.new(0.594317198, 0.0587400198, -0.128876805, 0.168223724, -0.0330281407, -0.985195339, 0.966738999, -0.189804256, 0.171435371, -0.192656472, -0.98126626, 8.42128145e-09), 0.35)
1364+
1365-
	rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0.227821022, -0.806821465, -0.590735316, -0.00842596591, 0.292753816, -0.412147343, 0.862803519, -0.513161182, 0.693661571, 0.505469382), 0.35)
1365+
function Decapitate()
1366
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1367
	
1368-
	p:Destroy()
1368+
	if(torso)then
1369-
	swait(10)
1369+
		local who = torso.Parent
1370-
	fixalljoints()
1370+
		local haed = who:findFirstChild'Head'
1371-
	attacking = false
1371+
		if(not haed)then return end
1372
		WalkSpeed = 0
1373
		Hum.JumpPower = 0
1374-
if settings.CustomAnim then
1374+
		Attack = true
1375-
	if char:FindFirstChild("Animate") then
1375+
		NeutralAnims = false
1376-
		char.Animate:Destroy()
1376+
		Hum.AutoRotate = false
1377
		who.Parent = Char
1378-
	for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
1378+
		coroutine.resume(coroutine.create(function()
1379-
		track:Stop()
1379+
			repeat
1380
				swait()
1381-
	humanoid.Running:connect(function(ws)
1381+
				torso.Anchored = true
1382-
		movespeed = ws
1382+
				Root.Anchored = true
1383
			until not Attack
1384
			Root.Anchored = false
1385-
local function landing()
1385+
			torso.Anchored = false
1386-
	if animpose == "Fall" then
1386+
			Hum.AutoRotate = true
1387-
		local hit,pos = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4.1), char)
1387+
		end))
1388-
		local p = Instance.new("Part")
1388+
		torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
1389-
		p.Anchored = true
1389+
		for i = 0, 4, 0.1 do
1390-
		p.CanCollide = false
1390+
1391-
		p.Material = "Neon"
1391+
			local Alpha = .1
1392-
		p.Size = Vector3.new(0.1,0.1,0.1)
1392+
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0164915957, 0.00628865417, -0.011430705, 0.968725562, -0.00156019977, -0.248129606, 5.33546881e-07, 0.99998033, -0.00628563575, 0.248134464, 0.00608892366, 0.968706489),Alpha)
1393-
		p.CFrame = CFrame.new(pos)
1393+
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496484369, -0.990816116, 0.0216172226, 0.999878168, 0, 0.015611276, -9.81593039e-05, 0.99998033, 0.00628695311, -0.0156110227, -0.00628771912, 0.999858499),Alpha)
1394-
		setshape(p, "Sphere")
1394+
			RH.C0 = clerp(RH.C0,CFrame.new(0.498541713, -0.990978837, 0.0154649867, 0.999878168, 0, 0.015611276, -9.81593039e-05, 0.99998033, 0.00628695311, -0.0156110227, -0.00628771912, 0.999858499),Alpha)
1395-
		p.Parent = char
1395+
			LS.C0 = clerp(LS.C0,CFrame.new(-1.44623137, 0.547813952, 0.11403431, 0.942572534, 0.149771333, 0.298539042, -0.145386592, 0.98868382, -0.0369770601, -0.300698817, -0.00855001062, 0.953680933),Alpha)
1396-
		spawn(function()
1396+
			RS.C0 = clerp(RS.C0,CFrame.new(1.13921714, 0.575791061, 0.224009097, 0.504514813, -0.863395452, 0.00361199677, 0.206450492, 0.116572686, -0.971488237, 0.838357329, 0.49087587, 0.237061054),Alpha)
1397-
			for i = 1, 50 do
1397+
			NK.C0 = clerp(NK.C0,CFrame.new(1.14493978e-05, 1.49894404, -0.0143940896, 1, 6.98491931e-08, -1.22189522e-06, 7.79982656e-09, 0.99796474, 0.0637697875, 1.1920929e-06, -0.0637697875, 0.99796468),Alpha)
1398-
				local cf = p.CFrame
1398+
1399-
				p.Size = p.Size:Lerp(Vector3.new(10,0.2,10), 0.1)
1399+
		who.Parent = workspace
1400-
				p.CFrame = cf
1400+
		Sound(Root,1093102664,.85,5,false,true,true)
1401-
				p.Transparency = i/50
1401+
		Sound(Root,429400881,1,1,false,true,true)
1402
		GrabbedHead = Part(Char,haed.Color,haed.Material,haed.Size,CF.N(),false,false)
1403
		Mesh(GrabbedHead,Enum.MeshType.Head,"","",V3.N(1.25,1.25,1.25))
1404-
			p:Destroy()
1404+
		local faic = haed:FindFirstChildOfClass'Decal'
1405
		if(faic)then
1406
			faic:Clone().Parent = GrabbedHead
1407
		end
1408-
spawn(function()
1408+
		haed:destroy()
1409-
local foot = "left"
1409+
		local we = Weld(GrabbedHead,RArm,CF.N(0,0,1.25),CF.A(M.R(-90),0,0))
1410-
local rate = 0
1410+
		for i = 0, 4, 0.1 do
1411-
repeat swait()
1411+
1412-
	if timestate == "Slow" then
1412+
			local Alpha = .4
1413-
		local ws = humanoid.WalkSpeed
1413+
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.0575693622, 0.00628520455, 0.101066932, 0.464999139, 0.00556624401, 0.885293782, -1.90408173e-06, 0.99998033, -0.00628633192, -0.885311186, 0.00292145251, 0.46498996),Alpha)
1414-
		rootpart.Velocity = Vector3.new(humanoid.MoveDirection.X*ws,rootpart.Velocity.Y,humanoid.MoveDirection.Z*ws)
1414+
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496485323, -0.990816116, 0.0216203779, 0.999878287, 0, 0.0156088173, -9.81376506e-05, 0.99998033, 0.00628656521, -0.0156085193, -0.00628733169, 0.999858618),Alpha)
1415-
		if not rootpart:FindFirstChild("Gravity") then
1415+
			RH.C0 = clerp(RH.C0,CFrame.new(0.498545617, -0.990978718, 0.015469606, 0.999878287, 0, 0.0156088173, -9.81376506e-05, 0.99998033, 0.00628656521, -0.0156085193, -0.00628733169, 0.999858618),Alpha)
1416-
			local force = Instance.new("BodyForce")
1416+
			LS.C0 = clerp(LS.C0,CFrame.new(-1.44622684, 0.547813416, 0.114039615, 0.942572713, 0.149771467, 0.298538744, -0.145386502, 0.988683879, -0.036977727, -0.300698578, -0.00854929537, 0.953681111),Alpha)
1417-
			force.Name = "Gravity"
1417+
			RS.C0 = clerp(RS.C0,CFrame.new(1.45699549, 0.765083194, -0.0713857412, 0.939088941, -0.222480893, 0.261943519, 0.0847586989, -0.58871156, -0.803887427, 0.333058774, 0.77712369, -0.53399533),Alpha)
1418-
			force.Force = Vector3.new(0,-196.2*playermass*10,0)
1418+
			NK.C0 = clerp(NK.C0,CFrame.new(5.7298389e-06, 1.49894631, -0.0143892616, 1.00000012, 7.63684511e-08, -1.31130219e-06, 8.61473382e-09, 0.997964621, 0.0637715608, 1.40070915e-06, -0.0637715608, 0.997964621),Alpha)
1419-
			force.Parent = rootpart
1419+
1420
		WalkSpeed = 16
1421-
		if rate%2 == 0 then
1421+
		Hum.AutoRotate = true
1422-
			local model = char:FindFirstChild("FakeModel") or Instance.new("Model")
1422+
		Hum.JumpPower = 50
1423-
			model.Name = "FakeModel"
1423+
		Attack = false
1424-
			model.Parent = char
1424+
		NeutralAnims = true
1425-
			for _,v in pairs(char:GetChildren()) do
1425+
1426-
				local ok = false
1426+
1427-
				for _,nm in pairs({"Head", "Torso", "Right Arm", "Left Arm", "Right Leg", "Left Leg"}) do
1427+
1428-
					if v.Name == nm then
1428+
function TahHart()
1429-
						ok = true
1429+
	local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
1430
	
1431
	if(torso)then
1432-
				if v:IsA("BasePart") and v.Transparency < 1 and ok and v.Name ~= "effect" then
1432+
		local who = torso.Parent
1433-
					local v = v
1433+
		WalkSpeed = 0
1434-
					if v:IsA("Accessory") then
1434+
		Hum.JumpPower = 0
1435-
						v = v:FindFirstChild("Handle")
1435+
		Attack = true
1436
		NeutralAnims = false
1437-
					local new = v:Clone()
1437+
		Hum.AutoRotate = false
1438-
					new.Size = new.Size-Vector3.new(0.1,0.1,0.1)
1438+
		who.Parent = Char
1439-
					new.CFrame = v.CFrame *CFrame.new(math.random(-5,5)/100,math.random(-5,5)/100,math.random(-5,5)/100)
1439+
		local oRoot
1440-
					new.CanCollide = false
1440+
		coroutine.resume(coroutine.create(function()
1441-
					for _,face in pairs({"Front", "Back", "Top", "Bottom", "Left", "Right"}) do
1441+
			repeat
1442-
						new[face.."Surface"] = "SmoothNoOutlines"
1442+
1443
				torso.Anchored = true
1444-
					new.Anchored = true
1444+
				Root.Anchored = true
1445-
					for _,e in pairs(new:GetChildren()) do
1445+
			until not Attack
1446-
						e:Destroy()
1446+
			Root.Anchored = false
1447
			torso.Anchored = false
1448-
					new.Parent = model
1448+
			Hum.AutoRotate = true
1449-
					for _,e in pairs(v:GetDescendants()) do
1449+
		end))
1450-
						if e:IsA("SpecialMesh") or e:IsA("Decal") and e.Transparency < 1 then
1450+
		torso.CFrame = Root.CFrame*CF.N(0,0,-1.5)
1451-
							e:Clone().Parent = new
1451+
		for i = 0, 5, 0.1 do
1452
			swait()
1453
			local Alpha = .1
1454-
					spawn(function()
1454+
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.0114063025, 0.0062906337, 0.823636711, 0.955660641, -0.00185238488, -0.29446438, 6.33202092e-07, 0.999980211, -0.00628851401, 0.294470191, 0.00600949815, 0.955641806),Alpha)
1455-
						for i = 1, 15 do
1455+
			LH.C0 = clerp(LH.C0,CFrame.new(-0.496483088, -0.990816116, 0.0216204748, 0.988656521, 0, 0.150195315, -0.000944813946, 0.999980211, 0.00621921103, -0.15019232, -0.00629056897, 0.988636971),Alpha)
1456-
							new.Transparency = i/15
1456+
			RH.C0 = clerp(RH.C0,CFrame.new(0.49854517, -0.990978718, 0.0154605517, 0.977690578, 0, -0.210051, 0.0013213401, 0.999980211, 0.00615022983, 0.210046858, -0.00629056897, 0.977671206),Alpha)
1457-
							if new:FindFirstChildOfClass("Decal") then
1457+
			LS.C0 = clerp(LS.C0,CFrame.new(-1.44713593, 0.497297019, 0.0198487751, 0.9943645, 0.104860231, 0.0156133771, -0.104968622, 0.994455695, 0.00629058247, -0.0148671865, -0.0078940466, 0.999858439),Alpha)
1458-
								new:FindFirstChildOfClass("Decal").Transparency = i/15
1458+
			RS.C0 = clerp(RS.C0,CFrame.new(1.24000025, 0.563622832, 0.0400094986, 0.952762961, -0.299521834, -0.0502950102, 0.122506656, 0.53053093, -0.838766456, 0.277911872, 0.792984128, 0.54216361),Alpha)
1459-
							end
1459+
			NK.C0 = clerp(NK.C0,CFrame.new(1.90698097e-06, 1.49894333, -0.0144055113, 1, -1.86264515e-09, 2.98023224e-08, -1.16415322e-10, 0.997964561, 0.0637710616, 0, -0.0637710616, 0.99796468),Alpha)
1460-
							swait()
1460+
		end	
1461
		who.Parent = workspace
1462-
						new:Destroy()
1462+
		local hart = Part(Char,BrickColor.new'Crimson',Enum.Material.Granite,V3.N(1,1,1),CF.N(),false,false)
1463-
					end)
1463+
		local hartM = Mesh(hart,Enum.MeshType.Sphere)
1464
		Weld(hart,RArm,CF.N(0,1,0))
1465
		Sound(torso,429400881,1,1,false,true,true)
1466
		who:breakJoints()
1467
		for i = 0, 6, 0.1 do
1468-
		if rootpart:FindFirstChild("Gravity") then
1468+
1469-
			rootpart.Gravity:Destroy()
1469+
			local Alpha = .4
1470
			RJ.C0 = clerp(RJ.C0,CFrame.new(0.00543917716, -0.0704322308, -0.407061756, 0.977658093, -0.00600946136, 0.210115746, -0.0923573971, 0.885655761, 0.455064833, -0.188824907, -0.464303493, 0.86531347),Alpha)
1471-
		if char:FindFirstChild("FakeModel") then
1471+
			LH.C0 = clerp(LH.C0,CFrame.new(-0.598784626, -1.01931322, -0.151798934, 0.987478375, -0.00431044213, 0.157695964, 0.0628020391, 0.927741408, -0.36790216, -0.144715235, 0.373199016, 0.916395247),Alpha)
1472-
			char.FakeModel:Destroy()
1472+
			RH.C0 = clerp(RH.C0,CFrame.new(0.501758635, -1.05769944, 0.0147527754, 0.977738321, -0.0407438502, -0.205834419, -0.00124130305, 0.979826152, -0.199847892, 0.209824502, 0.195654422, 0.957963049),Alpha)
1473
			LS.C0 = clerp(LS.C0,CFrame.new(-1.46465385, 0.308270127, 0.182695374, 0.99436456, 0.0947658569, 0.0475270823, -0.104967438, 0.942948699, 0.315958142, -0.0148735195, -0.319166332, 0.947582006),Alpha)
1474
			RS.C0 = clerp(RS.C0,CFrame.new(0.439417332, 0.649217606, -0.612457514, 0.973174632, 0.169809118, 0.155229017, 0.177467406, -0.124685973, -0.97619611, -0.146412104, 0.97755748, -0.1514768),Alpha)
1475-
	rate = rate + 1
1475+
			NK.C0 = clerp(NK.C0,CFrame.new(0.32833305, 1.49151981, 0.131428123, 0.92856133, 0.371179402, -1.95354223e-05, -0.326482415, 0.81671983, -0.475791991, -0.176588207, 0.441808343, 0.879557967),Alpha)
1476-
	local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
1476+
1477-
	local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
1477+
		for i = 0, 5, 0.1 do
1478-
	local tvel = rootpart.Velocity
1478+
1479-
	if air and tvel.Y > 0 then
1479+
			local Alpha = .3
1480-
		animpose = "Jump"
1480+
			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)
1481
			LH.C0 = clerp(LH.C0,CFrame.new(-0.516345143, -0.986586034, 0.0229242463, 0.995020688, 0.0737848207, 0.0670047402, -0.0743697062, 0.997211039, 0.00627362682, -0.0663549677, -0.0112255123, 0.997732997),Alpha)
1482-
	if air and tvel.Y < 0 then
1482+
			RH.C0 = clerp(RH.C0,CFrame.new(0.477815509, -0.99112612, 0.0143765565, 0.99808538, -0.0329308398, -0.0523567572, 0.0333044007, 0.99942559, 0.00627828855, 0.0521199405, -0.0080099795, 0.998608768),Alpha)
1483-
		animpose = "Fall"
1483+
			LS.C0 = clerp(LS.C0,CFrame.new(-1.42035723, 0.493732512, 0.0194591247, 0.987250268, 0.158408627, 0.0156119233, -0.158521742, 0.987335503, 0.00628757617, -0.0144182015, -0.00868224166, 0.999858439),Alpha)
1484
			RS.C0 = clerp(RS.C0,CFrame.new(1.35784233, 0.380929202, -0.339150012, 0.890423656, 0.369434744, -0.265826464, -0.0434118584, -0.512461483, -0.857612193, -0.453057677, 0.775178194, -0.440269977),Alpha)
1485-
	if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
1485+
			NK.C0 = clerp(NK.C0,CFrame.new(5.94183803e-06, 1.49894607, -0.0144022629, 0.903856337, 0.0358069614, -0.426334888, 0.00745311938, 0.995022535, 0.0993709341, 0.427770972, -0.0929945856, 0.899090827),Alpha)
1486-
		landing()
1486+
1487-
		animpose = "Walking"
1487+
		Sound(torso,429400881,1,1,false,true,true)
1488
		for i = 0, 6, 0.1 do
1489-
	if not air and animpose == "Walking" and humanoid.WalkSpeed >= 20 then
1489+
1490-
		landing()
1490+
			local Alpha = .3
1491-
		animpose = "Running"--or Running
1491+
			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)
1492
			LH.C0 = clerp(LH.C0,CFrame.new(-0.516345143, -0.986586034, 0.0229242463, 0.995020688, 0.0737848207, 0.0670047402, -0.0743697062, 0.997211039, 0.00627362682, -0.0663549677, -0.0112255123, 0.997732997),Alpha)
1493-
	if not air and movespeed == 0 then
1493+
			RH.C0 = clerp(RH.C0,CFrame.new(0.477815509, -0.99112612, 0.0143765565, 0.99808538, -0.0329308398, -0.0523567572, 0.0333044007, 0.99942559, 0.00627828855, 0.0521199405, -0.0080099795, 0.998608768),Alpha)
1494-
		landing()
1494+
			LS.C0 = clerp(LS.C0,CFrame.new(-1.42035723, 0.493732512, 0.0194591247, 0.987250268, 0.158408627, 0.0156119233, -0.158521742, 0.987335503, 0.00628757617, -0.0144182015, -0.00868224166, 0.999858439),Alpha)
1495-
		animpose = "Idle"
1495+
			RS.C0 = clerp(RS.C0,CFrame.new(1.38204277, 0.275569797, -0.148523852, 0.434954822, 0.860323608, -0.265814841, 0.300874919, -0.417092472, -0.857617736, -0.848698258, 0.293047935, -0.440266252),Alpha)
1496
			NK.C0 = clerp(NK.C0,CFrame.new(0.185457826, 1.49546897, -0.192251831, 0.865452588, 0.124405921, -0.485298753, 0.015648175, 0.961492956, 0.274383873, 0.500746369, -0.245060325, 0.83017987),Alpha)
1497-
	if animpose == "Idle" and rate%35 == 0 then
1497+
1498-
		local left,pos1 = workspace:FindPartOnRay(Ray.new((char["Left Leg"].CFrame*CFrame.new(0,0,0)).p, Vector3.new(0,-1,0).unit * 1.1), char)
1498+
		hart:destroy()
1499-
		local right,pos2 = workspace:FindPartOnRay(Ray.new((char["Right Leg"].CFrame*CFrame.new(0,0,0)).p, Vector3.new(0,-1,0).unit * 1.1), char)
1499+
		WalkSpeed = 16
1500-
		for i,v in pairs({"Right Leg", "Left Leg"}) do
1500+
		Hum.AutoRotate = true
1501-
			local bodypart = char[v]
1501+
		Hum.JumpPower = 50
1502-
			local p = Instance.new("Part")
1502+
		Attack = false
1503-
			p.Anchored = true
1503+
		NeutralAnims = true
1504-
			p.CanCollide = false
1504+
1505-
			p.Material = "Neon"
1505+
1506-
			p.Size = Vector3.new(0.1,0.1,0.1)
1506+
1507-
			p.CFrame = CFrame.new(v == "Left Leg" and pos1 or pos2)
1507+
function YaYEET()
1508-
			setshape(p, "Sphere")
1508+
	Attack = true
1509-
			p.Parent = char
1509+
	NeutralAnims = false
1510-
			spawn(function()
1510+
	WalkSpeed = 2
1511-
				for i = 1, 50 do
1511+
	for i = 0, 3, 0.1 do
1512-
					local cf = p.CFrame
1512+
1513-
					p.Size = p.Size:Lerp(Vector3.new(5,0.2,5), 0.1)
1513+
		local Alpha = .3
1514-
					p.CFrame = cf
1514+
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00286240783, 0.00628161477, -0.00104881125, 0.812644184, -0.00366364187, -0.582748652, 1.25324027e-06, 0.99998033, -0.00628495822, 0.582760096, 0.00510670478, 0.81262815),Alpha)
1515-
					p.Transparency = i/50
1515+
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816236, 0.0216153599, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1516
		RH.C0 = clerp(RH.C0,CFrame.new(0.498535216, -0.990978837, 0.0154625224, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1517
		LS.C0 = clerp(LS.C0,CFrame.new(-1.54175317, 0.538998544, -0.350661546, 0.925994039, 0.377538294, -2.53279577e-05, -0.00177948072, 0.00429747393, -0.99998939, -0.377534091, 0.925984085, 0.0046512573),Alpha)
1518-
				p:Destroy()
1518+
		RS.C0 = clerp(RS.C0,CFrame.new(1.2351619, 0.597906828, 0.279773176, 0.93086189, 0.365330189, -0.00547149777, 0.134925321, -0.329796135, 0.934360683, 0.339545637, -0.870499015, -0.356286913),Alpha)
1519
		NK.C0 = clerp(NK.C0,CFrame.new(2.37277709e-06, 1.49894369, -0.0143988989, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1520
	end	
1521
	repeat swait()
1522-
	if animpose == "Walking" or animpose == "Running" then
1522+
		local Alpha = .3
1523-
		local left,pos1 = workspace:FindPartOnRay(Ray.new((char["Left Leg"].CFrame*CFrame.new(0,-0.95,0)).p, Vector3.new(0,-1,0).unit * 0.2), char)
1523+
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00286240783, 0.00628161477, -0.00104881125, 0.812644184, -0.00366364187, -0.582748652, 1.25324027e-06, 0.99998033, -0.00628495822, 0.582760096, 0.00510670478, 0.81262815),Alpha)
1524-
		local right,pos2 = workspace:FindPartOnRay(Ray.new((char["Right Leg"].CFrame*CFrame.new(0,-0.95,0)).p, Vector3.new(0,-1,0).unit * 0.2), char)
1524+
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496485233, -0.990816236, 0.0216153599, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1525-
		if left and foot == "right" then
1525+
		RH.C0 = clerp(RH.C0,CFrame.new(0.498535216, -0.990978837, 0.0154625224, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1526-
			foot = "left"
1526+
		LS.C0 = clerp(LS.C0,CFrame.new(-1.54175317, 0.538998544, -0.350661546, 0.925994039, 0.377538294, -2.53279577e-05, -0.00177948072, 0.00429747393, -0.99998939, -0.377534091, 0.925984085, 0.0046512573),Alpha)
1527-
			local p = Instance.new("Part")
1527+
		RS.C0 = clerp(RS.C0,CFrame.new(1.2351619, 0.597906828, 0.279773176, 0.93086189, 0.365330189, -0.00547149777, 0.134925321, -0.329796135, 0.934360683, 0.339545637, -0.870499015, -0.356286913),Alpha)
1528-
			p.Anchored = true
1528+
		NK.C0 = clerp(NK.C0,CFrame.new(2.37277709e-06, 1.49894369, -0.0143988989, 0.803447127, 0, 0.595376074, -0.00374295469, 0.99998033, 0.00505103637, -0.595364332, -0.00628670584, 0.803431273),Alpha)
1529-
			p.CanCollide = false
1529+
	until not S.UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1)
1530-
			p.Material = "Neon"
1530+
	for i = 0, .7, 0.1 do
1531-
			p.Size = Vector3.new(0.2,0.2,0.2)
1531+
1532-
			p.CFrame = CFrame.new(pos1)
1532+
		local Alpha = .3
1533-
			setshape(p, "Sphere")
1533+
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.248571783, 0.00628784206, -0.324586183, 0.811912656, 0.00367011107, 0.583767474, -1.25562076e-06, 0.99998033, -0.00628506951, -0.583779037, 0.00510219391, 0.811896563),Alpha)
1534-
			p.Parent = char
1534+
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496491075, -0.990815997, 0.0216309726, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1535-
			spawn(function()
1535+
		RH.C0 = clerp(RH.C0,CFrame.new(0.498523057, -0.990978718, 0.0154775968, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1536-
				for i = 1, 50 do
1536+
		LS.C0 = clerp(LS.C0,CFrame.new(-1.23150444, 0.50935328, 0.410490841, 0.925997376, -0.315732628, 0.206983045, -0.00177847152, 0.54460144, 0.838693202, -0.377526015, -0.776995718, 0.503737926),Alpha)
1537-
					local cf = p.CFrame
1537+
		RS.C0 = clerp(RS.C0,CFrame.new(0.944793224, 0.478973299, -0.436145425, 0.805186868, 0.59043932, 0.055278115, -0.0953396112, 0.220887601, -0.970628381, -0.5853073, 0.776266813, 0.234148055),Alpha)
1538-
					p.Size = p.Size:Lerp(Vector3.new(20,0.2,20), 0.1)
1538+
		NK.C0 = clerp(NK.C0,CFrame.new(-6.4575579e-06, 1.49894357, -0.014398125, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1539-
					p.CFrame = cf
1539+
1540-
					p.Transparency = i/50
1540+
	GrabbedHead.Parent = workspace
1541
	GrabbedHead.CanCollide = true
1542
	pcall(function() GrabbedHead.Weld:destroy() end)
1543-
				p:Destroy()
1543+
	GrabbedHead.Velocity = Mouse.Hit.lookVector*250
1544
	local ev;
1545
	local haed = GrabbedHead;
1546-
		if right and foot == "left" then
1546+
	ev = GrabbedHead.Touched:connect(function(t)
1547-
			foot = "right"
1547+
		if(t.Parent and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char) and t.Parent:FindFirstChildOfClass'Humanoid')then
1548-
			local p = Instance.new("Part")
1548+
			t.Parent:breakJoints()
1549-
			p.Anchored = true
1549+
1550-
			p.CanCollide = false
1550+
		if(ev and t.Parent ~= Char and not t.Parent:IsDescendantOf(Char))then 
1551-
			p.Material = "Neon"
1551+
			ev:disconnect() 
1552-
			p.Size = Vector3.new(0.2,0.2,0.2)
1552+
			ev = nil
1553-
			p.CFrame = CFrame.new(pos2)
1553+
			delay(2, function()
1554-
			setshape(p, "Sphere")
1554+
				for i = 0, 1, .05 do
1555-
			p.Parent = char
1555+
					haed.Transparency = i
1556-
			spawn(function()
1556+
1557-
				for i = 1, 50 do
1557+
1558-
					local cf = p.CFrame
1558+
				haed:destroy()
1559-
					p.Size = p.Size:Lerp(Vector3.new(20,0.2,20), 0.1)
1559+
1560-
					p.CFrame = cf
1560+
1561-
					p.Transparency = i/50
1561+
1562
	GrabbedHead = nil
1563
	for i = 0, 4, 0.1 do
1564-
				p:Destroy()
1564+
1565
		local Alpha = .3
1566
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.248571783, 0.00628784206, -0.324586183, 0.811912656, 0.00367011107, 0.583767474, -1.25562076e-06, 0.99998033, -0.00628506951, -0.583779037, 0.00510219391, 0.811896563),Alpha)
1567-
	end 
1567+
		LH.C0 = clerp(LH.C0,CFrame.new(-0.496491075, -0.990815997, 0.0216309726, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1568-
until not settings.CustomAnim
1568+
		RH.C0 = clerp(RH.C0,CFrame.new(0.498523057, -0.990978718, 0.0154775968, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1569
		LS.C0 = clerp(LS.C0,CFrame.new(-1.23150444, 0.50935328, 0.410490841, 0.925997376, -0.315732628, 0.206983045, -0.00177847152, 0.54460144, 0.838693202, -0.377526015, -0.776995718, 0.503737926),Alpha)
1570-
local change = 5
1570+
		RS.C0 = clerp(RS.C0,CFrame.new(0.944793224, 0.478973299, -0.436145425, 0.805186868, 0.59043932, 0.055278115, -0.0953396112, 0.220887601, -0.970628381, -0.5853073, 0.776266813, 0.234148055),Alpha)
1571-
local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
1571+
		NK.C0 = clerp(NK.C0,CFrame.new(-6.4575579e-06, 1.49894357, -0.014398125, 0.82092762, 0, -0.571032405, 0.00358997518, 0.99998033, 0.00516101997, 0.57102108, -0.00628681574, 0.820911348),Alpha)
1572-
while swait() and settings.CustomAnim do
1572+
1573-
	local num = tick()*change
1573+
	Attack = false
1574-
	if animpose == "Walking" and cananim then
1574+
	NeutralAnims = true
1575-
		change = (humanoid.WalkSpeed/16)*9
1575+
	WalkSpeed = 16
1576-
		ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -45 + 0)), 0.35)
1576+
1577-
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 2 + -1) * 0.10000000149012 + 0.10000000149012) *ang(math.rad(cos(num * 2 + 0) * 3 + -10), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + -1) * 5 + 0)), 0.35)
1577+
1578-
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + -1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 5 + 0), math.rad(cos(num * 1 + 0) * 55 + -15)), 0.35)
1578+
1579-
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -5), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
1579+
--// Wrap it all up \\--
1580-
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * -5 + 0), math.rad(cos(num * 1 + 0) * 55 + 15)), 0.35)
1580+
1581-
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -45 + 0)), 0.35)
1581+
Mouse.KeyDown:connect(function(k)
1582
	if(Attack)then return end
1583-
	if animpose == "Running" and cananim then
1583+
	if(not GrabbedHead)then
1584-
		change = (humanoid.WalkSpeed/24)*10
1584+
		if(k == 'z')then
1585-
		ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -60 + 0)), 0.35)
1585+
			ByeBye()
1586-
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 2 + -1) * 0.10000000149012 + 0.10000000149012) *ang(math.rad(cos(num * 2 + 0) * 3 + -20), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + -1) * 5 + 0)), 0.35)
1586+
		elseif(k == 'x')then
1587-
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + -1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 5 + 0), math.rad(cos(num * 1 + 0) * 65 + -10)), 0.35)
1587+
			Decapitate()
1588-
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -5), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
1588+
		elseif(k == 'c')then
1589-
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * -5 + 0), math.rad(cos(num * 1 + 0) * 65 + 10)), 0.35)
1589+
			TahHart()
1590-
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -60 + 0)), 0.35)
1590+
1591
	end
1592-
	if animpose == "Fall" and cananim then
1592+
1593-
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.499999911, -2.98023224e-08, -4.37113847e-08, 0, 0.99999994, -0.848737478, 0.528814375, -3.70994933e-08, -0.528814375, -0.848737478, -2.31152111e-08), 0.03)
1593+
1594-
		ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 2.98023224e-08, -4.37113883e-08, 0, -1, 0.751466334, 0.659771562, -3.28476375e-08, 0.659771562, -0.751466334, -2.88395317e-08), 0.03)
1594+
Mouse.Button1Down:connect(function()
1595-
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.9062047, 0.422839224, 3.96114643e-08, -0.422839224, 0.9062047, -1.84828899e-08), 0.03)
1595+
	if(Attack)then return end
1596-
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, -2.98023224e-08, -4.37113883e-08, 0, -1, 0.321224481, 0.947003067, -1.40411682e-08, 0.947003067, -0.321224481, -4.139482e-08), 0.03)
1596+
	if(GrabbedHead)then
1597-
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.385730505, 0.922611475, 0, 0.922611475, 0.385730505), 0.03)
1597+
		YaYEET()
1598-
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.394207865, -0.0643720552, -1, 0, 0, 0, -0.191213459, 0.981548548, 0, 0.981548548, 0.191213459), 0.03)
1598+
	end	
1599
end)
1600-
	if animpose == "Idle" and cananim then
1600+
1601-
		change = 3
1601+
local deg = 0
1602-
		ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.050000000745058 + 0.10000000149012, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 2 + 5), math.rad(cos(num * 0.5 + 0) * -5 + -5), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
1602+
while true do
1603-
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0.10000000149012 + 0.20000000298023) *ang(math.rad(cos(num * 1 + 0) * 1 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 10)), 0.35)
1603+
1604-
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *-0.10100000351667 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 2), math.rad(cos(num * 1 + 0) * 0 + -5), math.rad(cos(num * 1 + 0) * -2 + -2)), 0.35)
1604+
	Sine = Sine + Change
1605-
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -3), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + -5)), 0.35)
1605+
	if(not Music)then
1606-
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + -0.10100000351667, cos(num * 1 + 0) *-0.10100000351667 + -0.10199999809265, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 2), math.rad(cos(num * 1 + 0) * 0 + 5), math.rad(cos(num * 1 + 0) * 2 + 0)), 0.35)
1606+
		Music = Sound(Torso,MusicID,1,1,true,false,true)
1607-
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.050000000745058 + 0.10000000149012, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 2 + 5), math.rad(cos(num * 0.5 + 0) * 5 + 5), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
1607+
		Music.Name = 'Music'
1608
	end
1609-
	if animpose == "Jump" and cananim then
1609+
	Music.SoundId = "rbxassetid://"..MusicID
1610-
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, -0.665773153, -0.746154189, -2.91018694e-08, 0.746154189, -0.665773153, 3.26154357e-08), 0.25)
1610+
	Music.Parent = Torso
1611-
		ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0.757894218, -0.652377486, -3.31286074e-08, -0.652377486, -0.757894218, 2.85163253e-08), 0.25)
1611+
	Music.Pitch = 1
1612-
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.751373947, 0.659876645, 3.28435981e-08, -0.659876645, 0.751373947, -2.88441235e-08), 0.25)
1612+
	Music.Volume = 1
1613-
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0.429746985, 0.902949333, -1.87848368e-08, 0.902949333, -0.429746985, -3.94691675e-08), 0.25)
1613+
	if(not Muted)then
1614-
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.201922834, 0.97940141, 0, 0.97940141, 0.201922834), 0.25)
1614+
		Music:Resume()
1615-
		rj.C1 = rj.C1:Lerp(CFrame.new(0, -0.318411648, 0.10930454, -1, 0, 0, 0, 0.324682653, 0.945823014, 0, 0.945823014, -0.324682653), 0.25)
1615+
1616
		Music:Pause()
1617
	end
1618
	
1619
	
1620
	if(God)then
1621
		Hum.MaxHealth = 1e100
1622
		Hum.Health = 1e100
1623
		if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
1624
		Hum.Name = M.RNG()*100
1625
	end
1626
	
1627
	local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
1628
	
1629
	local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
1630
	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")
1631
	if(not Effects or not Effects.Parent)then
1632
		Effects = IN("Model",Char)
1633
		Effects.Name = "Effects"
1634
	end																																																																																																				
1635
	if(State == 'Run')then
1636
		local wsVal = 7 / (Hum.WalkSpeed/16)
1637
		local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
1638
		Change = 1
1639
		RH.C1 = RH.C1:lerp(CF.N(0,1-.1*M.C(Sine/wsVal),0+.2*M.C(Sine/wsVal))*CF.A(M.R(8-0*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/1.5,0,0),.2)
1640
		LH.C1 = LH.C1:lerp(CF.N(0,1+.1*M.C(Sine/wsVal),0-.2*M.C(Sine/wsVal))*CF.A(M.R(8+0*M.C(Sine/wsVal))+M.S(Sine/wsVal)/1.5,0,0),.2)
1641
	elseif(State == 'Walk')then
1642
		local wsVal = 7 / (Hum.WalkSpeed/16)
1643
		local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
1644
		Change = 1
1645
		RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,0+.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15-35*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
1646
		LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,0-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15+35*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
1647
	else
1648
		RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
1649
		LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
1650
	end
1651
	Hum.WalkSpeed = WalkSpeed
1652
	if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
1653
	if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
1654
	local face = Head:FindFirstChild'face'
1655
	if(not face)then
1656
		NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
1657
	else
1658
		face.Texture = "rbxassetid://404306534"
1659
	end
1660
	
1661
	RArm.Color 		= C3.N(0.2,0.2,0.2)
1662
	LArm.Color 		= C3.N(0.2,0.2,0.2)
1663
	RLeg.Color 		= C3.N(0.2,0.2,0.2)
1664
	LLeg.Color 		= C3.N(0.2,0.2,0.2)
1665
	Torso.Color 	= C3.N(0.2,0.2,0.2)
1666
	Head.Color 		= C3.N(0.2,0.2,0.2)
1667
	
1668
	deg = deg + 1
1669
	HW.C0 = HW.C0:lerp(CF.N(0,1.5,0)*CF.A(0,M.R(deg),0),.2)
1670
	if(NeutralAnims)then	
1671
		if(State == 'Idle')then
1672
			local Alpha = .1
1673
			Change = 1
1674
			RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1+.05*M.C(Sine/18),0),Alpha)
1675
			NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(-10-2.5*M.S(Sine/18)),M.R(20*M.C(Sine/18)),M.R(10)),Alpha)
1676
			LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.1*M.S(Sine/18),0)*CF.A(0,M.R(5+5*M.C(Sine/18)),M.R(-10-5*M.C(Sine/18))),Alpha)
1677
			RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.1*M.S(Sine/18),0)*CF.A(0,M.R(-5-5*M.C(Sine/18)),M.R(10+5*M.C(Sine/18))),Alpha)
1678
			LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/18),0)*CF.A(0,0,M.R(-10)),Alpha)
1679
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/18),-.2),Alpha)
1680
			-- idle
1681
		elseif(State == 'Run')then
1682
			local wsVal = 7 / (Hum.WalkSpeed/16)
1683
			local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
1684
			local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
1685
			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),Alpha2)
1686
			NK.C0 = NK.C0:lerp(NKC0,Alpha)
1687
			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)
1688
			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)
1689
			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)
1690
			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)
1691
		elseif(State == 'Walk')then
1692
			local wsVal = 7 / (Hum.WalkSpeed/16)
1693
			local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
1694
			local Alpha2 = math.min(.15 * (Hum.WalkSpeed/16),1)
1695
			RJ.C0 = RJ.C0:lerp(CF.N(0,-.175+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-9-2.5*M.C(Sine/(wsVal/2))),M.R(10*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha2)
1696
			NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0),Alpha)
1697
			LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(45*M.C(Sine/wsVal)),0,M.R(-5)+LArm.RotVelocity.y/75),Alpha)
1698
			RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.27*M.C(Sine/wsVal))*CF.A(M.R(-45*M.C(Sine/wsVal)),0,M.R(5)-RArm.RotVelocity.y/75),Alpha)
1699
			LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
1700
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,0,0),Alpha)
1701
		elseif(State == 'Jump')then
1702
			local Alpha = .1
1703
			local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
1704
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
1705
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
1706
			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)
1707
			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)
1708
			LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
1709
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
1710
		elseif(State == 'Fall')then
1711
			local Alpha = .1
1712
			local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
1713
			LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
1714
			RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
1715
			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)
1716
			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)
1717
			LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
1718
			RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
1719
		elseif(State == 'Paralyzed')then
1720
			-- paralyzed
1721
		elseif(State == 'Sit')then
1722
			-- sit
1723
		end
1724
	end
1725
	
1726
end