View difference between Paste ID: SktnD13R and m4hGJj7F
SHOW: | | - or go back to the newest paste.
1-
 if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
1+
--      [[[
2
--000000[[====================================================================================\\
3-
    script.Parent = owner.Character
3+
--000000[[                    DEIVIS97 EDIT    
4-
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
4+
--000000[[====================================================================================//
5-
    local function NewFakeEvent()
5+
--      [[[
6-
        local Bind = Instance.new("BindableEvent")
6+
-- This script has been converted to FE by iPxter
7-
        local Fake;Fake = {Connections = {},
7+
8-
        fakeEvent=true;
8+
9-
        Connect=function(self,Func)
9+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
10-
            Bind.Event:connect(Func)
10+
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
11-
            self.Connections[Bind] = true
11+
12-
            return setmetatable({Connected = true},{
12+
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
13-
            __index = function (self,Index)
13+
	script.Parent = Player.Character
14-
                if Index:lower() == "disconnect" then
14+
15-
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
15+
	--RemoteEvent for communicating
16-
                end
16+
	local Event = Instance.new("RemoteEvent")
17-
                return Fake[Index]
17+
	Event.Name = "UserInput_Event"
18-
            end;
18+
19-
            __tostring = function() return "Connection" end;
19+
	--Fake event to make stuff like Mouse.KeyDown work
20-
        })
20+
	local function fakeEvent()
21-
        end}
21+
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
22-
        Fake.connect = Fake.Connect;return Fake;
22+
		t.connect = t.Connect
23-
    end
23+
		return t
24-
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
24+
25-
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
25+
26-
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
26+
	--Creating fake input objects with fake variables
27-
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
27+
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
28-
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
28+
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
29-
    local function TriggerEvent(self,Event,...)
29+
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
30-
        local Trigger = Mouse[Event]
30+
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
31-
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
31+
	end}
32-
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
32+
	--Merged 2 functions into one by checking amount of arguments
33-
        end
33+
	CAS.UnbindAction = CAS.BindAction
34-
    end
34+
35-
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
35+
	--This function will trigger the events that have been :Connect()'ed
36-
    Event.OnServerEvent:Connect(function(FiredBy,Input)
36+
	local function te(self,ev,...)
37-
        if FiredBy.Name ~= owner.Name then return end
37+
		local t = m[ev]
38-
        if Input.MouseEvent then
38+
		if t and t._fakeEvent and t.Function then
39-
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
39+
			t.Function(...)
40-
        else
40+
41-
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
41+
42-
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
42+
	m.TrigEvent = te
43-
            for _,Action in pairs(ContextActionService.Actions) do
43+
	UIS.TrigEvent = te
44-
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
44+
45-
            end
45+
	Event.OnServerEvent:Connect(function(plr,io)
46-
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
46+
	    if plr~=Player then return end
47-
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
47+
		if io.isMouse then
48-
        end
48+
			m.Target = io.Target
49-
    end)
49+
			m.Hit = io.Hit
50-
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
50+
51-
    Event.Parent = NLS([[
51+
			local b = io.UserInputState == Enum.UserInputState.Begin
52-
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
52+
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
53-
        local Input = function(Input,gameProcessedEvent)
53+
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
54-
            if gameProcessedEvent then return end
54+
55-
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
55+
			for _,t in pairs(CAS.Actions) do
56-
        end
56+
				for _,k in pairs(t.Keys) do
57-
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
57+
					if k==io.KeyCode then
58-
        local Hit,Target
58+
						t.Function(t.Name,io.UserInputState,io)
59-
        while wait(1/30) do
59+
60-
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
60+
61-
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
61+
62-
            end
62+
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
63-
        end
63+
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
64-
    ]],owner.Character)
64+
	    end
65
	end)
66-
RealGame = game;game = setmetatable({},{
66+
	Event.Parent = NLS([==[
67-
    __index = function (self,Index)
67+
	local Player = game:GetService("Players").LocalPlayer
68-
        local Sandbox = function (Thing)
68+
	local Event = script:WaitForChild("UserInput_Event")
69-
            if Thing:IsA("Player") then
69+
70-
                local RealPlayer = Thing
70+
	local UIS = game:GetService("UserInputService")
71-
                return setmetatable({},{
71+
	local input = function(io,a)
72-
                    __index = function (self,Index)
72+
		if a then return end
73-
                        local Type = type(RealPlayer[Index])
73+
		--Since InputObject is a client-side instance, we create and pass table instead
74-
                        if Type == "function" then
74+
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
75-
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
75+
76-
                                return function (self)return InternalData["Mouse"] end
76+
	UIS.InputBegan:Connect(input)
77-
                            end
77+
	UIS.InputEnded:Connect(input)
78-
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
78+
79-
                        end
79+
	local Mouse = Player:GetMouse()
80-
                        return RealPlayer[Index]
80+
	local h,t
81-
                    end;
81+
	--Give the server mouse data 30 times every second, but only if the values changed
82-
                    __tostring = function(self) return RealPlayer.Name end
82+
	--If player is not moving their mouse, client won't fire events
83-
                })
83+
	while wait(1/30) do
84-
            end
84+
		if h~=Mouse.Hit or t~=Mouse.Target then
85-
        end
85+
			h,t=Mouse.Hit,Mouse.Target
86-
        if RealGame[Index] then
86+
			Event:FireServer({isMouse=true,Target=t,Hit=h})
87-
            local Type = type(RealGame[Index])
87+
88-
            if Type == "function" then
88+
	end]==],Player.Character)
89-
                if Index:lower() == "getservice" or Index:lower() == "service" then
89+
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
90-
                    return function (self,Service)
90+
91-
                        local FakeServices = {
91+
local Player = owner
92-
                            ["players"] = function()
92+
repeat
93-
                                return setmetatable({},{
93+
	wait()
94-
                                    __index = function (self2,Index2)
94+
until Player.Character
95-
                                        local RealService = RealGame:GetService(Service)
95+
local Character = Player.Character
96-
                                        local Type2 = type(Index2)
96+
TrailSettings = {
97-
                                        if Type2 == "function" then
97+
	Lifetime = 1,
98-
                                            return function (self,...) return RealService[Index2](RealService,...)end
98+
	Texture = "http://www.roblox.com/asset/?id=1097260739",
99-
                                        else
99+
	Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
100-
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
100+
	Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
101-
                                            return RealService[Index2]
101+
	AllBody = true,
102-
                                        end
102+
	UpperBodyOnly = false,
103-
                                    end;
103+
	LowerBodyOnly = false,
104-
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
104+
	Accessories = false,
105-
                                })
105+
	Extras = true,
106-
                            end;
106+
	R15 = false,
107-
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
107+
	R15Parts = {"UpperTorso", "LowerTorso"}
108-
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
108+
109-
                            ["runservice"] = function()
109+
local Trail
110-
                                return setmetatable({},{
110+
function UpperBody()
111-
                                    __index = function(self2,Index2)
111+
	if TrailSettings.R15 == false then
112-
                                        local RealService = RealGame:GetService(Service)
112+
		A0 = Instance.new("Attachment", Character.Torso)
113-
                                        local Type2 = type(Index2)
113+
		A1 = Instance.new("Attachment", Character.Head)
114-
                                        if Type2 == "function" then
114+
		A2 = Instance.new("Attachment", Character["Right Arm"])
115-
                                            return function (self,...) return RealService[Index2](RealService,...) end
115+
		A3 = Instance.new("Attachment", Character["Left Arm"])
116-
                                        else
116+
		Trail = Instance.new("Trail", Character)
117-
                                            local RunServices = {
117+
		Trail.Attachment0 = A0
118-
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
118+
		Trail.Attachment1 = A1
119-
                                                ["renderstepped"] = function() return RealService["Stepped"] end
119+
		Trail.Texture = TrailSettings.Texture
120-
                                            }
120+
		Trail.Color = TrailSettings.Color1
121-
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
121+
		Trail.Lifetime = TrailSettings.Lifetime
122-
                                            return RealService[Index2]
122+
		local Trail2 = Trail:Clone()
123-
                                        end
123+
		Trail2.Parent = Character
124-
                                    end
124+
		Trail2.Attachment1 = A2
125-
                                })
125+
		local Trail3 = Trail:Clone()
126-
                            end
126+
		Trail3.Parent = Character
127-
                        }
127+
		Trail3.Attachment1 = A3
128-
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
128+
		local Trail6 = Trail:Clone()
129-
                        return RealGame:GetService(Service)
129+
		Trail6.Parent = Character
130-
                    end
130+
		Trail6.Attachment0 = A1
131-
                end
131+
		Trail6.Attachment1 = A2
132-
                return function (self,...) return RealGame[Index](RealGame,...) end
132+
		local Trail7 = Trail:Clone()
133-
            else
133+
		Trail7.Parent = Character
134-
                if game:GetService(Index) then return game:GetService(Index) end
134+
		Trail7.Attachment0 = A1
135-
                return RealGame[Index]
135+
		Trail7.Attachment1 = A3
136-
            end
136+
137-
        end
137+
		A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
138-
        return nil
138+
		A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
139-
    end
139+
		A1 = Instance.new("Attachment", Character.Head)
140-
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
140+
		A2 = Instance.new("Attachment", Character.RightUpperArm)
141
		A2R = Instance.new("Attachment", Character.RightLowerArm)
142-
local isScriptNil = false
142+
		A3 = Instance.new("Attachment", Character.LeftUpperArm)
143
		A3R = Instance.new("Attachment", Character.LeftLowerArm)
144-
local PlrName = "animefreak15439"
144+
		Trail = Instance.new("Trail", Character)
145-
local Plrs = game:GetService("Players")
145+
		Trail.Attachment0 = A0
146-
local RunService = game:GetService("RunService")
146+
		Trail.Attachment1 = A1
147-
local Content = game:GetService("ContentProvider")
147+
		Trail.Texture = TrailSettings.Texture
148-
local LP = Plrs.LocalPlayer
148+
		Trail.Color = TrailSettings.Color1
149-
local Char = LP.Character
149+
		Trail.Lifetime = TrailSettings.Lifetime
150-
local PlrGui = LP.PlayerGui
150+
		local Trail2 = Trail:Clone()
151-
local Backpack = LP.Backpack
151+
		Trail2.Parent = Character
152-
local Mouse = LP:GetMouse()
152+
		Trail2.Attachment1 = A2
153
		local Trail3 = Trail:Clone()
154-
local Camera = Workspace.CurrentCamera
154+
		Trail3.Parent = Character
155-
local LastCamCF = Camera.CoordinateFrame
155+
		Trail3.Attachment1 = A3
156-
local AnimJoints = {}
156+
		local Trail6 = Trail:Clone()
157-
local Cons = {}
157+
		Trail6.Parent = Character
158-
local mDown = false
158+
		Trail6.Attachment0 = A1
159-
local Multi = false
159+
		Trail6.Attachment1 = A2
160-
local Grabbing = false
160+
		local Trail7 = Trail:Clone()
161-
local Current = {}
161+
		Trail7.Parent = Character
162-
local Alpha = 1
162+
		Trail7.Attachment0 = A1
163-
local LightNum = 1
163+
		Trail7.Attachment1 = A3
164
		local Trail1R = Trail:Clone()
165-
Current.Part = nil
165+
		Trail1R.Parent = Character
166-
Current.BP = nil
166+
		Trail1R.Attachment1 = A2R
167-
Current.BA = nil
167+
		local Trail2R = Trail:Clone()
168-
Current.Mass = nil
168+
		Trail2R.Parent = Character
169
		Trail2R.Attachment1 = A3R
170-
local LastPart = nil
170+
		local Trail6R = Trail:Clone()
171
		Trail6.Parent = Character
172-
local Head = Char["Head"]
172+
		Trail6.Attachment0 = A1
173-
local Torso = Char["Torso"]
173+
		Trail6.Attachment1 = A2R
174-
local Humanoid = Char["Humanoid"]
174+
		local Trail7R = Trail:Clone()
175-
local LA = Char["Left Arm"]
175+
		Trail7.Parent = Character
176-
local RA = Char["Right Arm"]
176+
		Trail7.Attachment0 = A1
177-
local LL = Char["Left Leg"]
177+
		Trail7.Attachment1 = A3R
178-
local RL = Char["Right Leg"]
178+
179
end
180-
local LS, RS;
180+
function LowerBody()
181
	if TrailSettings.R15 == false then
182-
local OrigLS = Torso["Left Shoulder"]
182+
		A4 = Instance.new("Attachment", Character["Right Leg"])
183-
local OrigRS = Torso["Right Shoulder"]
183+
		A5 = Instance.new("Attachment", Character["Left Leg"])
184
		local Trail4 = Trail:Clone()
185-
for _,v in pairs(Char:GetChildren()) do
185+
		Trail4.Parent = Character
186-
	if v.Name == ModID then
186+
		Trail4.Attachment1 = A4
187-
		v:Destroy()
187+
		local Trail5 = Trail:Clone()
188
		Trail5.Parent = Character
189
		Trail5.Attachment1 = A5
190
		local Trail8 = Trail:Clone()
191-
for _,v in pairs(PlrGui:GetChildren()) do
191+
		Trail8.Parent = Character
192-
	if v.Name == "PadsGui" then
192+
		Trail8.Attachment0 = A2
193-
		v:Destroy()
193+
		Trail8.Attachment1 = A4
194
		Trail8.Color = TrailSettings.Color2
195
		local Trail9 = Trail:Clone()
196
		Trail9.Parent = Character
197-
local ModID = "Pads"
197+
		Trail9.Attachment0 = A3
198-
local Objects = {}
198+
		Trail9.Attachment1 = A5
199-
local Grav = 196.2
199+
		Trail9.Color = TrailSettings.Color2
200
		local FT = Trail:Clone()
201-
local sin=math.sin
201+
		FT.Parent = Character
202-
local cos=math.cos
202+
		FT.Attachment0 = A4
203-
local max=math.max
203+
		FT.Attachment1 = A5
204-
local min=math.min
204+
		FT.Color = TrailSettings.Color2
205-
local atan2=math.atan2
205+
206-
local random=math.random
206+
		A4 = Instance.new("Attachment", Character.RightLowerLeg)
207-
local tau = 2 * math.pi
207+
		A4R = Instance.new("Attachment", Character.RightUpperLeg)
208
		A5 = Instance.new("Attachment", Character.LeftLowerLeg)
209-
local BodyObjects = {
209+
		A5R = Instance.new("Attachment", Character.LeftUpperLeg)
210-
	["BodyVelocity"] = true;
210+
		local Trail4 = Trail:Clone()
211-
	["BodyAngularVelocity"] = true;
211+
		Trail4.Parent = Character
212-
	["BodyForce"] = true;
212+
		Trail4.Attachment1 = A4
213-
	["BodyThrust"] = true;
213+
		local Trail5 = Trail:Clone()
214-
	["BodyPosition"] = true;
214+
		Trail5.Parent = Character
215-
	["RocketPropulsion"] = true;
215+
		Trail5.Attachment1 = A5
216
		local Trail8 = Trail:Clone()
217
		Trail8.Parent = Character
218-
if LP.Name == PlrName and isScriptNil then
218+
		Trail8.Attachment0 = A2
219-
	script.Parent = nil
219+
		Trail8.Attachment1 = A4
220
		Trail8.Color = TrailSettings.Color2
221
		local Trail9 = Trail:Clone()
222-
LP.CameraMode = "Classic"
222+
		Trail9.Parent = Character
223
		Trail9.Attachment0 = A3
224-
local Assets = {
224+
		Trail9.Attachment1 = A5
225
		Trail9.Color = TrailSettings.Color2
226
		local FT = Trail:Clone()
227-
local LS0, LS1 = OrigLS.C0, OrigLS.C1
227+
		FT.Parent = Character
228-
local RS0, RS1 = OrigRS.C0, OrigRS.C1
228+
		FT.Attachment0 = A4
229
		FT.Attachment1 = A5
230-
for i,v in pairs(Assets) do
230+
		FT.Color = TrailSettings.Color2
231-
	local ID = tostring(Assets[i])
231+
		local Trail3R = Trail:Clone()
232-
	Assets[i] = "http://www.roblox.com/asset/?id=" .. ID
232+
		Trail3R.Parent = Character
233-
	Content:Preload("http://www.roblox.com/asset/?id=" .. ID)
233+
		Trail3R.Attachment1 = A4R
234
		local Trail4R = Trail:Clone()
235
		Trail4R.Parent = Character
236
		Trail4R.Attachment1 = A5R
237-
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components();
237+
		local Trail8 = Trail:Clone()
238-
	local trace = m00 + m11 + m22 if trace > 0 then 
238+
		Trail8.Parent = Character
239-
		local s = math.sqrt(1 + trace);
239+
		Trail8.Attachment0 = A2R
240-
		local recip = 0.5/s;
240+
		Trail8.Attachment1 = A4R
241-
		return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5;
241+
		Trail8.Color = TrailSettings.Color2
242-
	else 
242+
		local Trail9 = Trail:Clone()
243-
		local i = 0;
243+
		Trail9.Parent = Character
244-
		if m11 > m00 then 
244+
		Trail9.Attachment0 = A3R
245-
			i = 1;
245+
		Trail9.Attachment1 = A5R
246-
		end;
246+
		Trail9.Color = TrailSettings.Color2
247
		local FT2R = Trail:Clone()
248-
			i = 2 end if i == 0 then
248+
		FT2R.Parent = Character
249-
			local s = math.sqrt(m00-m11-m22+1);
249+
		FT2R.Attachment0 = A4R
250-
			local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip; 
250+
		FT2R.Attachment1 = A5R
251
		FT2R.Color = TrailSettings.Color2
252-
			local s = math.sqrt(m11-m22-m00+1);
252+
253-
			local recip = 0.5/s;
253+
254-
			return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip ;
254+
function AllBody()
255
	UpperBody()
256-
			local s = math.sqrt(m22-m00-m11+1);
256+
	LowerBody()
257-
			local recip = 0.5/s;
257+
258-
			return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip;
258+
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
259-
		end;
259+
	TrailSettings.UpperBodyOnly = false
260-
	end; 
260+
	TrailSettings.LowerBodyOnly = false
261-
end;
261+
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
262
	TrailSettings.UpperBodyOnly = false
263
	TrailSettings.LowerBodyOnly = false
264-
	local xs, ys, zs = x + x, y + y, z + z;
264+
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
265-
	local wx, wy, wz = w*xs, w*ys, w*zs;
265+
	TrailSettings.UpperBodyOnly = false
266-
	local xx = x*xs;
266+
	TrailSettings.LowerBodyOnly = false
267-
	local xy = x*ys;
267+
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
268-
	local xz = x*zs;
268+
	TrailSettings.AllBody = true
269-
	local yy = y*ys;
269+
	TrailSettings.UpperBodyOnly = false
270-
	local yz = y*zs;
270+
	TrailSettings.LowerBodyOnly = false
271-
	local zz = z*zs;
271+
272-
	return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
272+
if TrailSettings.UpperBodyOnly == true then
273-
end;
273+
	UpperBody()
274
	print("Called Upper Body Trail")
275
elseif TrailSettings.LowerBodyOnly == true then
276-
	local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4];
276+
	LowerBody()
277-
	local startInterp, finishInterp; 
277+
	print("Called Lower Body Trail")
278
elseif TrailSettings.AllBody == true then
279
	AllBody()
280-
			local theta = math.acos(cosTheta);
280+
	print("Called Full Body Trail")
281-
			local invSinTheta = 1/math.sin(theta);
281+
282-
			startInterp = math.sin((1-t)*theta)*invSinTheta;
282+
if TrailSettings.Accessories == true then
283-
			finishInterp = math.sin(t*theta)*invSinTheta;
283+
	for Index, Item in pairs(Character:GetChildren()) do
284
		if Item:IsA("Accessory") then
285-
			startInterp = 1-t finishInterp = t;
285+
			local AA = Instance.new("Attachment", Item.Handle)
286-
		end;
286+
			local ATrail = Trail:Clone()
287-
	else 
287+
			ATrail.Parent = Character
288-
		if (1+cosTheta) > 0.0001 then
288+
			ATrail.Attachment1 = AA
289-
			local theta = math.acos(-cosTheta);
289+
290-
			local invSinTheta = 1/math.sin(theta);
290+
291-
			startInterp = math.sin((t-1)*theta)*invSinTheta;
291+
292-
			finishInterp = math.sin(t*theta)*invSinTheta;
292+
if TrailSettings.Extras == true then
293-
		else startInterp = t-1 finishInterp = t;
293+
	spawn(function()
294-
		end;
294+
		repeat
295-
	end;
295+
			wait()
296-
	return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp;
296+
		until Trail
297-
end;
297+
		local AB = Instance.new("Attachment", a)
298
		local ABT = Trail:Clone()
299-
function CLerp(a,b,t)
299+
		ABT.Parent = Character
300-
	local qa={QuaternionFromCFrame(a)};
300+
		ABT.Attachment0 = A4
301-
	local qb={QuaternionFromCFrame(b)};
301+
		ABT.Attachment1 = AB
302-
	local ax,ay,az=a.x,a.y,a.z;
302+
		ABT.Color = TrailSettings.Color2
303-
	local bx,by,bz=b.x,b.y,b.z;
303+
		local ABT2 = Trail:Clone()
304-
	local _t=1-t;
304+
		ABT2.Parent = Character
305-
	return QuaternionToCFrame(_t*ax+t*bx,_t*ay+t*by,_t*az+t*bz,QuaternionSlerp(qa, qb, t));
305+
		ABT2.Attachment0 = A5
306
		ABT2.Attachment1 = AB
307
		ABT2.Color = TrailSettings.Color2
308-
function GetWeld(weld) 
308+
309-
	local obj 
309+
310-
	for i, v in pairs(AnimJoints) do 
310+
wait(0.1)
311-
		if v[1] == weld then 
311+
--//====================================================\\--
312-
			obj = v 
312+
--||			   CREATED BY SHACKLUSTER
313-
			break 
313+
--\\====================================================//--
314-
		end 
314+
315-
	end 
315+
local Player = owner
316-
	if not obj then 
316+
local Character = Player.Character
317-
		obj = {weld,NV} 
317+
local Humanoid = Character.Humanoid
318-
		table.insert(AnimJoints,obj) 
318+
local LeftArm = Character["Left Arm"]
319-
	end 
319+
local RightArm = Character["Right Arm"]
320-
	return weld.C0.p, obj[2] 
320+
local LeftLeg = Character["Left Leg"]
321-
end 
321+
local RightLeg = Character["Right Leg"]
322
local Head = Character.Head
323-
function SetWeld(weld, i, loops, origpos, origangle, nextpos, nextangle, override, overrideLower, smooth) 
323+
local Torso = Character.Torso
324-
	smooth = smooth or 1 
324+
local Camera = game.Workspace.CurrentCamera
325-
	local obj 
325+
local RootPart = Character.HumanoidRootPart
326-
	for i, v in pairs(AnimJoints) do 
326+
local RootJoint = RootPart.RootJoint
327-
		if v[1] == weld then 
327+
local attack = false
328-
			obj = v 
328+
local Anim = 'Idle'
329-
			break 
329+
local Lighty = game:GetService"Lighting"
330-
		end 
330+
local attacktype = 1
331-
	end 
331+
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
332-
	if not obj then 
332+
local velocity = RootPart.Velocity.y
333-
		obj = {weld,NV} 
333+
local sine = 0
334-
		table.insert(AnimJoints,obj) 
334+
local change = 1
335-
	end 
335+
local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
336
local Create = LoadLibrary("RbxUtility").Create
337-
	local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops 
337+
function swait(num)
338
	if num == 0 or num == nil then
339-
	local tox,toy,toz = 0,0,0 
339+
		ArtificialHB.Event:wait()
340-
	tox = math.abs(origangle.x - nextangle.x) *perc 
340+
341-
	toy = math.abs(origangle.y - nextangle.y) *perc 
341+
		for i = 0, num do
342-
	toz = math.abs(origangle.z - nextangle.z) *perc 
342+
			ArtificialHB.Event:wait()
343-
	tox = ((origangle.x > nextangle.x and -tox) or tox)
343+
344-
	toy = ((origangle.y > nextangle.y and -toy) or toy)
344+
345-
	toz = ((origangle.z > nextangle.z and -toz) or toz)
345+
346
347-
	local tox2,toy2,toz2 = 0,0,0 
347+
local chara = Character
348-
	tox2 = math.abs(origpos.x - nextpos.x) *perc 
348+
local m = Create("Model"){
349-
	toy2 = math.abs(origpos.y - nextpos.y) *perc 
349+
	Parent = Character,
350-
	toz2 = math.abs(origpos.z - nextpos.z) *perc 
350+
	Name = "WeaponModel",
351-
	tox2 = (origpos.x > nextpos.x and -tox2) or tox2 
351+
352-
	toy2 = (origpos.y > nextpos.y and -toy2) or toy2 
352+
function chatfunc(text)
353-
	toz2 = (origpos.z > nextpos.z and -toz2) or toz2 
353+
	local chat = coroutine.wrap(function()
354
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
355-
	obj[2] = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz) 
355+
		Character:FindFirstChild("TalkingBillBoard"):destroy()
356-
	weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz) 
356+
357-
end 
357+
	local Bill = Instance.new("BillboardGui",Character)
358
	Bill.Size = UDim2.new(0,100,0,40)
359-
function RotateCamera(x, y)
359+
	Bill.StudsOffset = Vector3.new(0,3,0)
360-
	Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(x, y, 0) * CFrame.new(0, 0, (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude)
360+
	Bill.Adornee = Character.Head
361
	Bill.Name = "TalkingBillBoard"
362
	local Hehe = Instance.new("TextLabel",Bill)
363-
function GetAngles(cf)
363+
	Hehe.BackgroundTransparency = 1
364-
	local lv = cf.lookVector
364+
	Hehe.BorderSizePixel = 0
365-
	return -math.asin(lv.y), math.atan2(lv.x, -lv.z)
365+
	Hehe.Text = ""
366
	Hehe.Font = "Garamond"
367
	Hehe.TextSize = 40
368-
local LastCamCF = Camera.CoordinateFrame
368+
	Hehe.TextStrokeTransparency = 0
369
	Hehe.Size = UDim2.new(1,0,0.5,0)
370-
function Look()
370+
	coroutine.resume(coroutine.create(function()
371-
	if AlphaOn == true then
371+
		while Hehe ~= nil do
372-
		local x, y = GetAngles(LastCamCF:toObjectSpace(Camera.CoordinateFrame))
372+
			swait()	
373-
		Camera.CoordinateFrame = LastCamCF
373+
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
374-
		RotateCamera(x * -(Alpha), y * -(Alpha))
374+
			Hehe.Rotation = math.random(-5,5)
375-
		LastCamCF = Camera.CoordinateFrame
375+
			Hehe.TextColor3 = Color3.new(255,255,0)
376
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
377
		end
378
	end))
379-
function Cor(Func)
379+
	for i = 1,string.len(text),1 do
380-
	local Ok, Err = coroutine.resume(coroutine.create(Func))
380+
		swait()
381-
	if not Ok then
381+
		Hehe.Text = string.sub(text,1,i)
382-
		print(Err)
382+
383
	swait(90)--Re[math.random(1, 93)]
384
	for i = 0, 1, .025 do
385
		swait()
386-
function Cor2(Func)
386+
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
387-
	local Ok, Err = ypcall(Func)
387+
		Hehe.TextStrokeTransparency = i
388-
	if not Ok then
388+
		Hehe.TextTransparency = i
389-
		print(Err)
389+
390
	Bill:Destroy()
391
	end)
392
chat()
393-
function MakePads()
393+
394-
	-- 1 - VTelekinesis
394+
395-
	P1 = Instance.new("Model")
395+
function onChatted(msg)
396-
	P1.Name = ModID
396+
	chatfunc(msg)
397
end
398-
	-- 2 - RBase
398+
399-
	P2 = Instance.new("Part")
399+
Player.Chatted:connect(onChatted)
400-
	P2.CFrame = CFrame.new(Vector3.new(21.100008, 1.95000589, 11.899971)) * CFrame.Angles(-0, 0, -0)
400+
wait(0.2)
401-
	P2.FormFactor = Enum.FormFactor.Custom
401+
402-
	P2.Size = Vector3.new(0.799999952, 0.200000003, 0.800000012)
402+
Player = owner
403-
	P2.Anchored = true
403+
PlayerGui = Player.PlayerGui
404-
	P2.BrickColor = BrickColor.new("White")
404+
Cam = workspace.CurrentCamera
405-
	P2.Friction = 0.30000001192093
405+
Backpack = Player.Backpack
406-
	P2.Shape = Enum.PartType.Block
406+
Character = Player.Character
407-
	P2.Name = "RBase"
407+
Humanoid = Character.Humanoid
408-
	P2.Parent = P1
408+
RootPart = Character["HumanoidRootPart"]
409-
    P2.Transparency = 1
409+
Torso = Character["Torso"]
410-
	-- 3 - Mesh
410+
Head = Character["Head"]
411-
	P3 = Instance.new("CylinderMesh")
411+
RightArm = Character["Right Arm"]
412-
	P3.Scale = Vector3.new(1, 0.5, 1)
412+
LeftArm = Character["Left Arm"]
413-
	P3.Parent = P2
413+
RightLeg = Character["Right Leg"]
414
LeftLeg = Character["Left Leg"]
415-
	-- 4 - LBase
415+
RootJoint = RootPart["RootJoint"]
416-
	P4 = Instance.new("Part")
416+
Neck = Torso["Neck"]
417-
	P4.CFrame = CFrame.new(Vector3.new(18.100008, 1.95000589, 11.899971)) * CFrame.Angles(-0, 0, -0)
417+
RightShoulder = Torso["Right Shoulder"]
418-
	P4.FormFactor = Enum.FormFactor.Custom
418+
LeftShoulder = Torso["Left Shoulder"]
419-
	P4.Size = Vector3.new(0.799999952, 0.200000003, 0.800000012)
419+
RightHip = Torso["Right Hip"]
420-
	P4.Anchored = true
420+
LeftHip = Torso["Left Hip"]
421-
	P4.BrickColor = BrickColor.new("White")
421+
Character.Archivable = true
422-
	P4.Friction = 0.30000001192093
422+
Player:ClearCharacterAppearance()
423-
	P4.Shape = Enum.PartType.Block
423+
424-
	P4.Name = "LBase"
424+
IT = Instance.new
425-
	P4.Parent = P1
425+
CF = CFrame.new
426-
    P4.Transparency = 1
426+
VT = Vector3.new
427-
	-- 5 - Mesh
427+
RAD = math.rad
428-
	P5 = Instance.new("CylinderMesh")
428+
C3 = Color3.new
429-
	P5.Scale = Vector3.new(1, 0.5, 1)
429+
UD2 = UDim2.new
430-
	P5.Parent = P4
430+
BRICKC = BrickColor.new
431
ANGLES = CFrame.Angles
432-
	-- 7 - Mesh
432+
EULER = CFrame.fromEulerAnglesXYZ
433-
	P7 = Instance.new("CylinderMesh")
433+
COS = math.cos
434-
	P7.Scale = Vector3.new(1, 0.5, 1)
434+
ACOS = math.acos
435-
	P7.Parent = P6
435+
SIN = math.sin
436
ASIN = math.asin
437
ABS = math.abs
438
MRANDOM = math.random
439-
	-- 9 - Mesh
439+
FLOOR = math.floor
440-
	P9 = Instance.new("CylinderMesh")
440+
local CHOICE = MRANDOM(1,5)
441-
	P9.Scale = Vector3.new(1, 0.5, 1)
441+
--//=================================\\
442-
	P9.Parent = P8
442+
--|| 	      USEFUL VALUES
443
--\\=================================//
444
445
Animation_Speed = 3
446-
	-- 11 - Mesh
446+
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
447-
	P11 = Instance.new("CylinderMesh")
447+
local Speed = 20
448-
	P11.Scale = Vector3.new(1, 0.5, 1)
448+
local SIZE = 1.4
449-
	P11.Parent = P10
449+
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
450
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
451
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
452-
	-- 13 - Mesh
452+
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
453-
	P13 = Instance.new("CylinderMesh")
453+
local DAMAGEMULTIPLIER = "inf"
454-
	P13.Scale = Vector3.new(1, 0.5, 1)
454+
local ANIM = "Idle"
455-
	P13.Parent = P12
455+
local ATTACK = false
456
local EQUIPPED = false
457
local HOLD = false
458-
	-- 15 - Mesh
458+
local COMBO = 1
459-
	P15 = Instance.new("CylinderMesh")
459+
local Rooted = false
460-
	P15.Scale = Vector3.new(1, 0.5, 1)
460+
local SINE = 0
461-
	P15.Parent = P14
461+
local KEYHOLD = false
462
local CHANGE = 2 / Animation_Speed
463-
	-- 17 - Mesh
463+
local WALKINGANIM = false
464-
	P17 = Instance.new("CylinderMesh")
464+
local VALUE1 = false
465-
	P17.Scale = Vector3.new(1, 0.5, 1)
465+
local VALUE2 = false
466-
	P17.Parent = P16
466+
local ROBLOXIDLEANIMATION = IT("Animation")
467
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
468-
	P1.Parent = LP.Character
468+
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
469-
	P1:MakeJoints()
469+
local ATANIM = IT("Animation")
470-
	return P1
470+
ATANIM.Name = "Attack Animation"
471
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
472
--ROBLOXIDLEANIMATION.Parent = Humanoid
473-
weldModel = function(model, unanchor, rooty)
473+
local WEAPONGUI = IT("ScreenGui", PlayerGui)
474-
	local parts = {}
474+
WEAPONGUI.Name = "Weapon GUI"
475-
	local function recurse(object)
475+
local Weapon = IT("Model")
476-
		if object:IsA("BasePart") then
476+
Weapon.Name = "Adds"
477-
			table.insert(parts, object)
477+
local Effects = IT("Folder", Weapon)
478
Effects.Name = "Effects"
479-
		for _,child in pairs(object:GetChildren()) do
479+
local ANIMATOR = Humanoid.Animator
480-
			recurse(child)
480+
local ANIMATE = Character.Animate
481
local UNANCHOR = true
482
local CLOCKLOOP = 0
483-
	recurse(model)
483+
local SONG = 492070484
484
local CLOCKTARGET = nil
485-
	local rootPart = rooty or parts[1]
485+
local CLOCKSPEED = 4
486-
	for _, part in pairs(parts) do
486+
script.Parent = WEAPONGUI
487-
		local cframe = rootPart.CFrame:toObjectSpace(part.CFrame)
487+
local CLONE = Character:Clone()
488-
		local weld = Instance.new("Weld")
488+
CLONE.Parent = nil
489-
		weld.Part0 = rootPart
489+
Character.Archivable = false
490-
		weld.Part1 = part
490+
local sick = Instance.new("Sound",Torso)
491-
		weld.C0 = cframe
491+
sick.Volume = 50999
492-
		weld.Parent = rootPart
492+
493
--//=================================\\
494
--\\=================================//
495-
	if unanchor then
495+
496-
		for _, part in pairs(parts) do
496+
497-
			part.Anchored = false
497+
--//=================================\\
498-
			part.CanCollide = false
498+
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
499
--\\=================================//
500
501
ArtificialHB = Instance.new("BindableEvent", script)
502
ArtificialHB.Name = "ArtificialHB"
503-
weldItem = function(rootPart, Item, TheC0, unanchor, ParentItem)
503+
504-
	local cframe = TheC0 or rootPart.CFrame:toObjectSpace(Item.CFrame)
504+
script:WaitForChild("ArtificialHB")
505-
	local weld = Instance.new("Weld")
505+
506-
	weld.Name = "Weld"
506+
frame = Frame_Speed
507-
	weld.Part0 = rootPart
507+
tf = 0
508-
	weld.Part1 = Item
508+
allowframeloss = false
509-
	weld.C0 = cframe
509+
tossremainder = false
510-
	weld.Parent = ParentItem and Item or rootPart
510+
lastframe = tick()
511
script.ArtificialHB:Fire()
512-
	if unanchor then
512+
513-
		Item.Anchored = false
513+
game:GetService("RunService").Heartbeat:connect(function(s, p)
514
	tf = tf + s
515-
	return weld, cframe
515+
	if tf >= frame then
516
		if allowframeloss then
517
			script.ArtificialHB:Fire()
518-
scaleModel = function(model, scale)
518+
			lastframe = tick()
519-
	local parts = {}
519+
520-
	local function recurse(object)
520+
			for i = 1, math.floor(tf / frame) do
521-
		if object:IsA("BasePart") then
521+
				script.ArtificialHB:Fire()
522-
			table.insert(parts, object)
522+
523
		lastframe = tick()
524-
		for _,child in pairs(object:GetChildren()) do
524+
525-
			recurse(child)
525+
		if tossremainder then
526
			tf = 0
527
		else
528-
	recurse(model)
528+
			tf = tf - frame * math.floor(tf / frame)
529
		end
530-
	local top, bottom, left, right, back, front
530+
531-
	for _, part in pairs(parts) do
531+
532-
		if top == nil or top < part.Position.y then			top = part.Position.y end
532+
533-
		if bottom == nil or bottom > part.Position.y then	bottom = part.Position.y end
533+
--//=================================\\
534-
		if left == nil or left > part.Position.x then		left = part.Position.x end
534+
--\\=================================//
535-
		if right == nil or right < part.Position.x then		right = part.Position.x end
535+
536-
		if back == nil or back > part.Position.z then		back = part.Position.z end
536+
--//=================================\\
537-
		if front == nil or front < part.Position.z then		front = part.Position.z end
537+
--|| 	      SOME FUNCTIONS
538
--\\=================================//
539
540-
	local middle = Vector3.new( left+right, top+bottom, back+front )/2
540+
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
541-
	local minSize = Vector3.new(0.2, 0.2, 0.2)
541+
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
542
end
543-
	for _, part in pairs(parts) do
543+
544-
		local foo = part.CFrame.p - middle
544+
function PositiveAngle(NUMBER)
545-
		local rotation = part.CFrame - part.CFrame.p
545+
	if NUMBER >= 0 then
546-
		local newSize = part.Size*scale
546+
		NUMBER = 0
547-
		part.FormFactor = "Custom"
547+
548-
		part.Size = newSize
548+
	return NUMBER
549-
		part.CFrame = CFrame.new( middle + foo*scale ) * rotation
549+
550-
		
550+
551-
		if newSize.x < minSize.x or newSize.y < minSize.y or newSize.z < minSize.z then
551+
function NegativeAngle(NUMBER)
552-
			local mesh
552+
	if NUMBER <= 0 then
553-
			for _, child in pairs(part:GetChildren()) do
553+
		NUMBER = 0
554-
				if child:IsA("DataModelMesh") then
554+
555-
					mesh = child
555+
	return NUMBER
556-
					break
556+
557
558
function Swait(NUMBER)
559-
			
559+
	if NUMBER == 0 or NUMBER == nil then
560-
			if mesh == nil then
560+
		ArtificialHB.Event:wait()
561-
				mesh = Instance.new("BlockMesh", part)
561+
562
		for i = 1, NUMBER do
563-
			
563+
			ArtificialHB.Event:wait()
564-
			local oScale = mesh.Scale
564+
565-
			local newScale = newSize/minSize * oScale
565+
566-
			if 0.2 < newSize.x then newScale = Vector3.new(1 * oScale.x, newScale.y, newScale.z) end
566+
567-
			if 0.2 < newSize.y then newScale = Vector3.new(newScale.x, 1 * oScale.y, newScale.z) end
567+
568-
			if 0.2 < newSize.z then newScale = Vector3.new(newScale.x, newScale.y, 1 * oScale.z) end
568+
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
569-
			
569+
	local NEWMESH = IT(MESH)
570-
			mesh.Scale = newScale
570+
	if MESH == "SpecialMesh" then
571
		NEWMESH.MeshType = MESHTYPE
572
		if MESHID ~= "nil" and MESHID ~= "" then
573
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
574
		end
575-
function getMass(Obj, Total)
575+
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
576-
	local newTotal = Total
576+
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
577-
	local returnTotal = 0
577+
578
	end
579-
	if Obj:IsA("BasePart") then
579+
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
580-
		newTotal = newTotal + Objects[Obj]
580+
	NEWMESH.Scale = SCALE
581-
	elseif BodyObjects[Obj.ClassName] then
581+
	NEWMESH.Parent = PARENT
582-
		Obj:Destroy()
582+
	return NEWMESH
583
end
584
585-
	if Obj:GetChildren() and #Obj:GetChildren() > 0 then
585+
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
586-
		for _,v in pairs(Obj:GetChildren()) do
586+
	local NEWPART = IT("Part")
587-
			returnTotal = returnTotal + getMass(v, newTotal)
587+
	NEWPART.formFactor = FORMFACTOR
588
	NEWPART.Reflectance = REFLECTANCE
589
	NEWPART.Transparency = TRANSPARENCY
590-
		returnTotal = newTotal
590+
	NEWPART.CanCollide = false
591
	NEWPART.Locked = true
592
	NEWPART.Anchored = true
593-
	return returnTotal
593+
	if ANCHOR == false then
594
		NEWPART.Anchored = false
595
	end
596-
function getTargFromCurrent()
596+
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
597-
	local Current = Current.Part
597+
	NEWPART.Name = NAME
598-
	if Current:IsA("BasePart") then
598+
	NEWPART.Size = SIZE
599-
		return Current
599+
	NEWPART.Position = Torso.Position
600-
	elseif Current:findFirstChild("Torso") then
600+
	NEWPART.Material = MATERIAL
601-
		return Current.Torso
601+
	NEWPART:BreakJoints()
602
	NEWPART.Parent = PARENT
603-
		for _,v in pairs(Current:GetChildren()) do
603+
	return NEWPART
604-
			if v:IsA("BasePart") then
604+
605-
				return v
605+
606
	local function weldBetween(a, b)
607
	    local weldd = Instance.new("ManualWeld")
608
	    weldd.Part0 = a
609
	    weldd.Part1 = b
610
	    weldd.C0 = CFrame.new()
611-
function Fire(Part, Vec, Inv)
611+
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
612-
	pcall(function()
612+
	    weldd.Parent = a
613-
		Current.BP:Destroy()
613+
	    return weldd
614-
		Current.BP = nil
614+
615
616-
	pcall(function()
616+
617-
		Current.BA:Destroy()
617+
618-
		Current.BA = nil
618+
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
619
	local trace = m00 + m11 + m22
620-
	pcall(function()
620+
	if trace > 0 then 
621-
		if Inv then
621+
		local s = math.sqrt(1 + trace)
622-
			Part.Velocity = -((Vec - Torso.Position).unit * Grav * 1.1)
622+
		local recip = 0.5 / s
623
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
624-
			Part.Velocity = ((Vec - Camera.CoordinateFrame.p).unit * Grav * 1.1)
624+
625
		local i = 0
626-
		Current.Mass = nil
626+
		if m11 > m00 then
627
			i = 1
628-
	Reset()
628+
629
		if m22 > (i == 0 and m00 or m11) then
630
			i = 2
631-
function Reset()
631+
632-
	LS.Parent = nil
632+
		if i == 0 then
633-
	RS.Parent = nil
633+
			local s = math.sqrt(m00 - m11 - m22 + 1)
634
			local recip = 0.5 / s
635-
	OrigLS.Parent = Torso
635+
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
636-
	OrigRS.Parent = Torso
636+
637
			local s = math.sqrt(m11 - m22 - m00 + 1)
638-
	OrigLS.C0 = LS0
638+
			local recip = 0.5 / s
639-
	OrigRS.C0 = RS0
639+
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
640
		elseif i == 2 then
641
			local s = math.sqrt(m22 - m00 - m11 + 1)
642-
function Start()
642+
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
643-
	Cor(function()
643+
644-
		repeat wait(1/30) until LP.Character and LP.Character.Parent == Workspace and LP.Character:findFirstChild("Torso")
644+
645-
		Char = LP.Character
645+
646-
		PlrGui = LP.PlayerGui
646+
 
647-
		Backpack = LP.Backpack
647+
648-
		Mouse = LP:GetMouse()
648+
	local xs, ys, zs = x + x, y + y, z + z
649-
		
649+
	local wx, wy, wz = w * xs, w * ys, w * zs
650-
		for _,v in pairs(Cons) do
650+
	local xx = x * xs
651-
			v:disconnect()
651+
	local xy = x * ys
652
	local xz = x * zs
653-
		Cons = {}
653+
	local yy = y * ys
654
	local yz = y * zs
655-
		Camera = Workspace.CurrentCamera
655+
	local zz = z * zs
656-
		LastCamCF = Camera.CoordinateFrame
656+
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
657-
		AnimJoints = {}
657+
658-
		mDown = false
658+
 
659-
		Multi = false
659+
660-
		Grabbing = false
660+
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
661-
		Current = {}
661+
	local startInterp, finishInterp;
662-
		Alpha = 1
662+
663
		if (1 - cosTheta) > 0.0001 then
664-
		Head = Char["Head"]
664+
			local theta = ACOS(cosTheta)
665-
		Torso = Char["Torso"]
665+
			local invSinTheta = 1 / SIN(theta)
666-
		Humanoid = Char["Humanoid"]
666+
			startInterp = SIN((1 - t) * theta) * invSinTheta
667-
		LA = Char["Left Arm"]
667+
			finishInterp = SIN(t * theta) * invSinTheta
668-
		RA = Char["Right Arm"]
668+
669-
		LL = Char["Left Leg"]
669+
			startInterp = 1 - t
670-
		RL = Char["Right Leg"]
670+
			finishInterp = t
671-
		
671+
672-
		OrigLS = Torso["Left Shoulder"]
672+
673-
		OrigRS = Torso["Right Shoulder"]
673+
		if (1 + cosTheta) > 0.0001 then
674
			local theta = ACOS(-cosTheta)
675-
		for _,v in pairs(Char:GetChildren()) do
675+
			local invSinTheta = 1 / SIN(theta)
676-
			if v.Name == ModID then
676+
			startInterp = SIN((t - 1) * theta) * invSinTheta
677-
				v:Destroy()
677+
			finishInterp = SIN(t * theta) * invSinTheta
678
		else
679
			startInterp = t - 1
680
			finishInterp = t
681-
		for _,v in pairs(PlrGui:GetChildren()) do
681+
682-
			if v.Name == "PadsGui" then
682+
683-
				v:Destroy()
683+
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
684
end
685
686-
		
686+
function Clerp(a, b, t)
687-
		LS = Instance.new("Weld")
687+
	local qa = {QuaternionFromCFrame(a)}
688-
		RS = Instance.new("Weld")
688+
	local qb = {QuaternionFromCFrame(b)}
689
	local ax, ay, az = a.x, a.y, a.z
690-
		LS.Name = OrigLS.Name
690+
	local bx, by, bz = b.x, b.y, b.z
691-
		LS.Part0 = Torso
691+
	local _t = 1 - t
692-
		LS.Part1 = LA
692+
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
693-
		LS.C0 = LS0
693+
694-
		LS.C1 = CFrame.new(0, 0.5, 0,  1, 0, 0,  0, 0, 1,  0, -1, 0)
694+
695
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
696-
		RS.Name = OrigRS.Name
696+
	local frame = IT("Frame")
697-
		RS.Part0 = Torso
697+
	frame.BackgroundTransparency = TRANSPARENCY
698-
		RS.Part1 = RA
698+
	frame.BorderSizePixel = BORDERSIZEPIXEL
699-
		RS.C0 = RS0
699+
	frame.Position = POSITION
700-
		RS.C1 = CFrame.new(0, 0.5, 0,  1, 0, 0,  0, 0, 1,  0, -1, 0)
700+
	frame.Size = SIZE
701
	frame.BackgroundColor3 = COLOR
702-
		local Pads = MakePads()
702+
	frame.BorderColor3 = BORDERCOLOR
703-
		local LPad = Pads.LBase
703+
	frame.Name = NAME
704-
		local RPad = Pads.RBase
704+
	frame.Parent = PARENT
705
	return frame
706-
		weldModel(LPad, true, LPad)
706+
707-
		weldModel(RPad, true, RPad)
707+
708
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
709-
		local GripWeldL = Instance.new("Weld")
709+
	local label = IT("TextLabel")
710-
		GripWeldL.Name = "GripWeldL"
710+
	label.BackgroundTransparency = 1
711-
		GripWeldL.Part0 = LA
711+
	label.Size = UD2(1, 0, 1, 0)
712-
		GripWeldL.Part1 = LPad
712+
	label.Position = UD2(0, 0, 0, 0)
713-
		GripWeldL.C0 = CFrame.new(0, -1.05, 0) * CFrame.Angles(0, math.rad(180), 0)
713+
	label.TextColor3 = TEXTCOLOR
714-
		GripWeldL.Parent = LA
714+
	label.TextStrokeTransparency = STROKETRANSPARENCY
715
	label.TextTransparency = TRANSPARENCY
716-
		local GripWeldR = Instance.new("Weld")
716+
	label.FontSize = TEXTFONTSIZE
717-
		GripWeldR.Name = "GripWeldR"
717+
	label.Font = TEXTFONT
718-
		GripWeldR.Part0 = RA
718+
	label.BorderSizePixel = BORDERSIZEPIXEL
719-
		GripWeldR.Part1 = RPad
719+
	label.TextStrokeColor3 = C3(1,1,1)
720-
		GripWeldR.C0 = CFrame.new(0, -1.05, 0) * CFrame.Angles(0, math.rad(180), 0)
720+
	label.TextScaled = false
721-
		GripWeldR.Parent = RA
721+
	label.Text = TEXT
722-
		
722+
	label.Name = NAME
723-
		local isParts = false
723+
	label.Parent = PARENT
724
	return label
725-
		table.insert(Cons, Mouse.KeyDown:connect(function(Key)
725+
726-
			Key = Key:lower()
726+
727-
			if Key == "z" then
727+
function NoOutlines(PART)
728-
				--Stuff
728+
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
729-
			elseif Key == "f" then
729+
730-
				local Current = Current.Part
730+
731-
				if Current and Current.Parent ~= nil and not Multi then
731+
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
732-
					Current:BreakJoints()
732+
	local NEWWELD = IT(TYPE)
733
	NEWWELD.Part0 = PART0
734-
			elseif Key == "q" then
734+
	NEWWELD.Part1 = PART1
735-
				if isParts then
735+
	NEWWELD.C0 = C0
736-
					isParts = false
736+
	NEWWELD.C1 = C1
737-
					for _,v in pairs(Workspace:GetChildren()) do
737+
	NEWWELD.Parent = PARENT
738-
						if v.Name == "MyPartV" and v:IsA("BasePart") then
738+
	return NEWWELD
739-
							v:Destroy()
739+
740
741
local S = IT("Sound")
742
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
743-
					isParts = true
743+
	local NEWSOUND = nil
744-
					for i = 1, 50 do
744+
	coroutine.resume(coroutine.create(function()
745-
						local Part = Instance.new("Part")
745+
		NEWSOUND = S:Clone()
746-
						Part.Color = Color3.new(math.random(), math.random(), math.random())
746+
		NEWSOUND.Parent = PARENT
747-
						Part.Transparency = 0
747+
		NEWSOUND.Volume = VOLUME
748-
						Part.Size = Vector3.new(math.random(1, 3), math.random(1, 3), math.random(1, 3))
748+
		NEWSOUND.Pitch = PITCH
749-
						Part.Archivable = true
749+
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
750-
						Part.CanCollide = false
750+
		NEWSOUND:play()
751-
						Part.Material = "Neon"
751+
		if DOESLOOP == true then
752-
						Part.Locked = false
752+
			NEWSOUND.Looped = true
753-
						Part.CFrame = Torso.CFrame * CFrame.new(math.random(-15, 15), -1, math.random(-15, 15))
753+
754-
						Part.Anchored = true
754+
			repeat wait(1) until NEWSOUND.Playing == false
755-
						Part.Name = "MyPartV"
755+
			NEWSOUND:remove()
756-
						Part.TopSurface = "Smooth"
756+
757-
						Part.BottomSurface = "Smooth"
757+
	end))
758-
						Part.Parent = Workspace
758+
	return NEWSOUND
759
end
760
761-
			elseif Key == "e" then
761+
function CFrameFromTopBack(at, top, back)
762-
				local Targ;
762+
763-
				if Current.Part and Current.Part ~= nil then
763+
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
764-
					Targ = getTargFromCurrent()
764+
765
766-
					Targ = LastPart
766+
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
767
function WACKYEFFECT(Table)
768-
				if Targ and Targ.Parent ~= nil and not Multi then
768+
	local TYPE = (Table.EffectType or "Sphere")
769-
					local Ex = Instance.new("Explosion", Workspace)
769+
	local SIZE = (Table.Size or VT(1,1,1))
770-
					Ex.Position = Targ.CFrame.p
770+
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
771-
					Ex.BlastRadius = 16
771+
	local TRANSPARENCY = (Table.Transparency or 0)
772-
					Ex.DestroyJointRadiusPercent = 0.5
772+
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
773
	local CFRAME = (Table.CFrame or Torso.CFrame)
774-
			elseif Key == "c" then
774+
	local MOVEDIRECTION = (Table.MoveToPos or nil)
775-
				if Current.Part and Current.Part.Parent ~= nil and not Multi then
775+
	local ROTATION1 = (Table.RotationX or 0)
776-
					local Part = getTargFromCurrent()
776+
	local ROTATION2 = (Table.RotationY or 0)
777-
					if Part then
777+
	local ROTATION3 = (Table.RotationZ or 0)
778-
						Grabbing = false
778+
	local MATERIAL = (Table.Material or "Neon")
779-
						if Mouse.Hit then
779+
	local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
780-
							local TargPos = CFrame.new(Camera.CoordinateFrame.p, Mouse.Hit.p) * CFrame.new(0, 0, -1000)
780+
	local TIME = (Table.Time or 45)
781-
							Fire(Part, TargPos.p)
781+
	local SOUNDID = (Table.SoundID or nil)
782
	local SOUNDPITCH = (Table.SoundPitch or nil)
783-
							Fire(Part, Mouse.Origin.p + Mouse.UnitRay.Direction, true)
783+
	local SOUNDVOLUME = (Table.SoundVolume or nil)
784
	coroutine.resume(coroutine.create(function()
785
		local PLAYSSOUND = false
786
		local SOUND = nil
787
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
788
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
789
			PLAYSSOUND = true
790-
		table.insert(Cons, Mouse.Button1Up:connect(function()
790+
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
791-
			mDown = false
791+
792-
			if Grabbing == true and Multi == false then
792+
		EFFECT.Color = COLOR
793-
				Grabbing = false
793+
		local MSH = nil
794-
				Reset()
794+
		if TYPE == "Sphere" then
795
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
796-
			if Current.Part ~= nil then
796+
		elseif TYPE == "Block" then
797-
				LastPart = getTargFromCurrent()
797+
			MSH = IT("BlockMesh",EFFECT)
798-
				Current = {}
798+
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
799
		elseif TYPE == "Wave" then
800
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
801
		elseif TYPE == "Ring" then
802-
		local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1)
802+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
803-
			local oldParts = {}
803+
		elseif TYPE == "Slash" then
804-
			for _,v in pairs(Par:GetChildren()) do
804+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
805-
				v.CFrame = CFrame.new(5e5, 5e5, 5e5)
805+
		elseif TYPE == "Round Slash" then
806-
				table.insert(oldParts, v)
806+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
807
		elseif TYPE == "Swirl" then
808-
			local Distance = (Start-End).Magnitude
808+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
809-
			local ArcScale = ArcScale or 1
809+
		elseif TYPE == "Skull" then
810-
			local RandomScale = RandomScale or 0
810+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
811-
			local Last = Start
811+
		elseif TYPE == "Crystal" then
812-
			local IterNum = 0
812+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
813
		end
814-
			while Par.Parent do
814+
		if MSH ~= nil then
815-
				IterNum = IterNum + 1
815+
			local MOVESPEED = nil
816-
				local New = nil
816+
			if MOVEDIRECTION ~= nil then
817-
				if (Last-End).Magnitude < Length then
817+
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
818-
					New = CFrame.new(End)
818+
819
			local GROWTH = SIZE - ENDSIZE
820-
					if (End-Last).Magnitude < Length*2 then
820+
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
821-
						RandomScale = RandomScale*0.5
821+
			if TYPE == "Block" then
822-
						ArcScale = ArcScale*0.5
822+
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
823
			else
824-
					local Direct = CFrame.new(Last,End)
824+
				EFFECT.CFrame = CFRAME
825-
					New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale)))
825+
826-
					New = New*CFrame.new(0,0,-Length)
826+
			for LOOP = 1, TIME+1 do
827
				Swait()
828-
				local Trail = nil
828+
				MSH.Scale = MSH.Scale - GROWTH/TIME
829-
				if oldParts[IterNum] then
829+
				if TYPE == "Wave" then
830-
					Trail = oldParts[IterNum]
830+
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
831-
					Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("White")) or BrickColor.new("Cyan")
831+
832-
					Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
832+
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
833-
					Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
833+
				if TYPE == "Block" then
834-
					oldParts[IterNum] = nil
834+
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
835
				else
836-
					Trail = Instance.new("Part")
836+
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
837-
					Trail.Name = "Part"
837+
838-
					Trail.FormFactor = "Custom"
838+
				if MOVEDIRECTION ~= nil then
839-
					Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("White")) or BrickColor.new("White")
839+
					local ORI = EFFECT.Orientation
840-
					Trail.Transparency = 0
840+
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
841-
					Trail.Anchored = true
841+
					EFFECT.Orientation = ORI
842-
					Trail.CanCollide = false
842+
843-
					Trail.Locked = true
843+
844-
					Trail.BackSurface = "SmoothNoOutlines"
844+
			if PLAYSSOUND == false then
845-
					Trail.BottomSurface = "SmoothNoOutlines"
845+
				EFFECT:remove()
846-
					Trail.FrontSurface = "SmoothNoOutlines"
846+
847-
					Trail.LeftSurface = "SmoothNoOutlines"
847+
				repeat Swait() until SOUND.Playing == false
848-
					Trail.RightSurface = "SmoothNoOutlines"
848+
				EFFECT:remove()
849-
					Trail.TopSurface = "SmoothNoOutlines"
849+
850-
					Trail.Material = "Neon"
850+
851-
					Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
851+
			if PLAYSSOUND == false then
852-
					Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
852+
				EFFECT:remove()
853-
					Trail.Parent = Par
853+
854
				repeat Swait() until SOUND.Playing == false
855-
				Last = New.p
855+
				EFFECT:remove()
856-
				if (Last-End).Magnitude < 1 then
856+
857-
					break
857+
858
	end))
859
end
860-
			for _,v in pairs(oldParts) do
860+
861-
				v:Destroy()
861+
function MakeForm(PART,TYPE)
862
	if TYPE == "Cyl" then
863
		local MSH = IT("CylinderMesh",PART)
864
	elseif TYPE == "Ball" then
865-
		table.insert(Cons, Mouse.Button1Down:connect(function()
865+
		local MSH = IT("SpecialMesh",PART)
866-
			mDown = true
866+
		MSH.MeshType = "Sphere"
867-
			local Targ = Mouse.Target
867+
	elseif TYPE == "Wedge" then
868-
			Cor(function()
868+
		local MSH = IT("SpecialMesh",PART)
869-
				if Targ and Objects[Targ] and not Multi then
869+
		MSH.MeshType = "Wedge"
870-
					Grabbing = true
870+
871-
					Current.Part = Targ
871+
872-
					local Mass = Objects[Targ]
872+
873-
					local ForceNum = 0
873+
Debris = game:GetService("Debris")
874-
					local Hum = nil
874+
875-
					
875+
function CastProperRay(StartPos, EndPos, Distance, Ignore)
876-
					for _,v in pairs(Targ:GetChildren()) do
876+
	local DIRECTION = CF(StartPos,EndPos).lookVector
877-
						if BodyObjects[v.ClassName] then
877+
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
878-
							v:Destroy()
878+
879
880
function turnto(position)
881-
					
881+
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
882-
					for _,v in pairs(Workspace:GetChildren()) do
882+
883-
						if v:findFirstChild("Humanoid") and v:IsAncestorOf(Targ) then
883+
884-
							Hum = v.Humanoid
884+
--//=================================\\
885-
							Mass = getMass(v, 0)
885+
--||	     WEAPON CREATION
886-
							Current.Part = v
886+
--\\=================================//
887-
							break
887+
888
Humanoid.Parent = nil
889
RootPart.Size = RootPart.Size*SIZE
890-
					
890+
Torso.Size = Torso.Size*SIZE
891-
					Current.Mass = Mass
891+
RightArm.Size = RightArm.Size*SIZE
892-
					
892+
RightLeg.Size = RightLeg.Size*SIZE
893-
					if not Hum then
893+
LeftArm.Size = LeftArm.Size*SIZE
894-
						Targ:BreakJoints()
894+
LeftLeg.Size = LeftLeg.Size*SIZE
895
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
896-
					
896+
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
897-
					ForceNum = Mass * Grav
897+
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
898-
					Targ.CanCollide = true
898+
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
899-
					Targ.Anchored = false
899+
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
900-
					
900+
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
901-
					local BP = Instance.new("BodyPosition")
901+
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
902-
					BP.maxForce = Vector3.new(3 * ForceNum, 3 * ForceNum, 3 * ForceNum)
902+
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
903-
					BP.Parent = Targ
903+
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
904-
					
904+
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
905-
					local Ang = Instance.new("BodyAngularVelocity")
905+
Head.Size = Head.Size*SIZE
906-
					Ang.Parent = Targ
906+
RootJoint.Parent = RootPart
907-
					
907+
Neck.Parent = Torso
908-
					Current.BP = BP
908+
RightShoulder.Parent = Torso
909-
					Current.BA = Ang
909+
LeftShoulder.Parent = Torso
910-
					
910+
RightHip.Parent = Torso
911-
					OrigLS.Parent = nil
911+
LeftHip.Parent = Torso
912-
					OrigRS.Parent = nil
912+
913-
					
913+
Humanoid.DisplayDistanceType = "None"
914-
					LS.Parent = Torso
914+
local naeeym2 = IT("BillboardGui",Character)
915-
					RS.Parent = Torso
915+
naeeym2.AlwaysOnTop = true
916-
					
916+
naeeym2.Size = UDim2.new(5,35,2,15)
917-
					LS.C0 = LS0
917+
naeeym2.StudsOffset = Vector3.new(0,2,0)
918-
					RS.C0 = RS0
918+
naeeym2.MaxDistance = 75
919-
					
919+
naeeym2.Adornee = Character.Head
920-
					local DirDot = Mouse.UnitRay.Direction:Dot(Targ.Position - Mouse.Origin.p)
920+
naeeym2.Name = "Name"
921-
					local BPPos = Vector3.new(0, 0, 0)
921+
local tecks2 = IT("TextLabel",naeeym2)
922-
					local Vel = Vector3.new(0, 0, 0)
922+
tecks2.BackgroundTransparency = 1
923-
					local Vlev = random() * math.pi
923+
tecks2.TextScaled = true
924-
					local RPos = Vector3.new(random() * 2 - 1, cos(Vlev), random() * 2 - 1)
924+
tecks2.BorderSizePixel = 0
925-
					
925+
tecks2.Text = "Master of Time"
926-
					local Ball = Instance.new("Part")
926+
tecks2.Font = "Fantasy"
927-
					Ball.Name = "Ball"
927+
tecks2.TextSize = 30
928-
					Ball.FormFactor = "Custom"
928+
tecks2.TextStrokeTransparency = 0
929-
					Ball.Color = Color3.new(0, 1, 1)
929+
tecks2.TextColor3 = C3(0,0,0)
930-
					Ball.Transparency = 0.3
930+
tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
931-
					Ball.Anchored = true
931+
tecks2.Size = UDim2.new(1,0,0.5,0)
932-
					Ball.CanCollide = false
932+
tecks2.Parent = naeeym2
933-
					Ball.Locked = true
933+
local top = Instance.new("Shirt")
934-
					Ball.BottomSurface, Ball.TopSurface = "Smooth", "Smooth"
934+
top.ShirtTemplate = "rbxassetid://45695443"
935-
					Ball.Size = Vector3.new(0.5, 0.5, 0.5)
935+
top.Parent = Character
936-
					Ball.CFrame = Torso.CFrame * CFrame.new(0, 1, -3)
936+
top.Name = "Cloth"
937-
					Ball.Parent = Char
937+
local bottom = Instance.new("Pants")
938
bottom.PantsTemplate = "rbxassetid://45696190"
939-
					if Targ.Name == "MyPartV" then
939+
bottom.Parent = Character
940-
						Targ.Name = "MyPartF"
940+
bottom.Name = "Cloth"
941
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
942
PRT.Color = C3(0,0,0)
943-
					local LightMod = Instance.new("Model", Char)
943+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
944-
						
944+
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
945-
					local Mesh = Instance.new("SpecialMesh")
945+
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
946-
					Mesh.MeshType = "Sphere"
946+
PRT.Color = C3(0,0,0)
947-
					Mesh.Parent = Ball
947+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
948-
					
948+
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
949-
					local Size = 0.5
949+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
950-
					local Rise = true
950+
PRT.Color = C3(255/255, 0/255, 0/255)
951-
					
951+
MakeForm(PRT,"Ball")
952-
					while Grabbing and BP and Ang and Targ.Parent ~= nil do
952+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
953-
						local BPPos = Mouse.Origin.p + Mouse.UnitRay.Direction * DirDot
953+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
954-
						Ang.angularvelocity = Vel
954+
PRT.Color = C3(255/255, 255/255, 0/255)
955-
						BP.position = BPPos + RPos
955+
MakeForm(PRT,"Ball")
956-
						RPos = Vector3.new(max(-1, min(RPos.x + random() * 0.02 - 0.01, 1)), cos(Vlev), max(-1, min(RPos.z + random() * 0.02 - 0.01, 1)))
956+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
957-
						Vel = Vector3.new(max(-1, min(Vel.x + random() * 0.2 - 0.1, 1)), max(-1, min(Vel.y + random() * 0.2 - 0.1, 1)), max(-1, min(Vel.z + random() * 0.2 - 0.1, 1)))
957+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
958-
						Vlev = (Vlev + 0.05) % tau
958+
PRT.Color = C3(255/255, 255/255, 0/255)
959-
						
959+
MakeForm(PRT,"Ball")
960-
						if Hum then
960+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
961-
							Hum.Sit = true
961+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
962
PRT.Color = C3(255/255, 255/255, 0/255)
963-
						
963+
MakeForm(PRT,"Ball")
964-
						if LA.Parent ~= nil and RA.Parent ~= nil then
964+
local Aura = Instance.new('ParticleEmitter')
965-
							local LPos = (LA.CFrame * CFrame.new(0, -1, 0)).p
965+
Aura.Name = "Aura"
966-
							local RPos = (RA.CFrame * CFrame.new(0, -1, 0)).p
966+
Aura.Texture = "rbxassetid://131765579"
967-
							if Rise == true then
967+
Aura.Parent = PRT
968-
								if Size < 0.6 then
968+
Aura.LightEmission = 0.3
969-
									Size = Size + 0.05
969+
Aura.Transparency = NumberSequence.new(0,0.6,1)
970-
								else
970+
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
971-
									Size = Size + 0.1
971+
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
972
Aura.LockedToPart = false
973-
								if Size >= 2.2 then
973+
Aura.Lifetime = NumberRange.new(2)
974-
									Rise = false
974+
Aura.Rate = 30
975
Aura.Speed = NumberRange.new(1)
976-
							else
976+
Aura.EmissionDirection = "Top"
977-
								if Size > 2.1 then
977+
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
978-
									Size = Size - 0.05
978+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
979-
								else
979+
PRT.Color = C3(255/255, 255/255, 0/255)
980-
									Size = Size - 0.1
980+
MakeForm(PRT,"Ball")
981
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
982-
								if Size <= 0.5 then
982+
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
983-
									Rise = true
983+
PRT.Color = C3(255/255, 255/255, 0/255)
984
MakeForm(PRT,"Ball")
985
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
986-
							Ball.Size = Vector3.new(Size, Size, Size)
986+
987-
							Ball.CFrame = CFrame.new(LPos:Lerp(RPos, 0.5), Targ.Position) * CFrame.new(0, 0, -2.2)
987+
local LASTPART = Head
988-
							LightNum = LightNum + 1
988+
for i = 1, 24 do
989-
							makeLightning(LightMod, Ball.Position, Targ.Position, 0.2, 4, 50, 1, LightNum)
989+
	local MATH = (1-(i/30))
990-
						elseif Ball.Parent ~= nil then
990+
	if LASTPART == Head then
991-
							Ball:Destroy()
991+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
992
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
993-
						
993+
		LASTPART = Horn
994-
						if LS and LS.Parent == Torso then
994+
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
995-
							LS.C0 = CFrame.new(Vector3.new(-1.5, 0.5, 0), Torso.CFrame:pointToObjectSpace((Targ.CFrame or Torso.CFrame * CFrame.new(-1.5, 0.5, 1)).p))
995+
		local Aura = Instance.new('ParticleEmitter')
996
Aura.Name = "Aura"
997-
						if RS and RS.Parent == Torso then
997+
Aura.Texture = "rbxassetid://242997264"
998-
							RS.C0 = CFrame.new(Vector3.new(1.5, 0.5, 0), Torso.CFrame:pointToObjectSpace((Targ.CFrame or Torso.CFrame * CFrame.new(1.5, 0.5, 1)).p))
998+
Aura.Parent = Horn
999
Aura.LightEmission = 0.8
1000-
						RunService.Heartbeat:wait()
1000+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1001
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1002
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1003
Aura.LockedToPart = true
1004-
						for i = 0.5, 1, 0.1 do
1004+
Aura.Lifetime = NumberRange.new(2)
1005-
							for i2,v in pairs(LightMod:GetChildren()) do
1005+
Aura.Rate = 25
1006-
								--v.Light.Range = 6-(i*5)
1006+
Aura.Speed = NumberRange.new(0.1)
1007-
								v.Transparency = i
1007+
Aura.EmissionDirection = "Top"
1008
	else
1009-
							wait(1/30)
1009+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1010
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1011-
						LightMod:Destroy()
1011+
		LASTPART = Horn
1012
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1013-
					
1013+
				local Aura = Instance.new('ParticleEmitter')
1014-
					if BP and BP.Parent ~= nil then
1014+
Aura.Name = "Aura"
1015-
						BP:Destroy()
1015+
Aura.Texture = "rbxassetid://242997264"
1016
Aura.Parent = Horn
1017-
					
1017+
Aura.LightEmission = 0.8
1018-
					if Ang and Ang.Parent ~= nil then
1018+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1019-
						Ang:Destroy()
1019+
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1020
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1021-
					
1021+
Aura.LockedToPart = true
1022-
					pcall(function() Ball:Destroy() end)
1022+
Aura.Lifetime = NumberRange.new(2)
1023
Aura.Rate = 25
1024-
			end)
1024+
Aura.Speed = NumberRange.new(0.1)
1025
Aura.EmissionDirection = "Top"
1026
	end
1027
end
1028
local LASTPART = Head
1029-
function Add(Obj)
1029+
for i = 1, 24 do
1030-
	if Obj:IsA("BasePart") and not Objects[Obj] and not (Obj.Name == "Base" and Obj.ClassName == "Part") then
1030+
	local MATH = (1-(i/30))
1031-
		Objects[Obj] = Obj:GetMass()
1031+
	if LASTPART == Head then
1032-
		Obj.Changed:connect(function(P)
1032+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1033-
			if P:lower() == "size" and Objects[Obj] and Obj.Parent ~= nil then
1033+
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1034-
				Objects[Obj] = Obj:GetMass()
1034+
		LASTPART = Horn
1035
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1036
				local Aura = Instance.new('ParticleEmitter')
1037
Aura.Name = "Aura"
1038
Aura.Texture = "rbxassetid://242997264"
1039
Aura.Parent = Horn
1040-
function Rem(Obj)
1040+
Aura.LightEmission = 0.8
1041-
	if Objects[Obj] then
1041+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1042-
		Objects[Obj] = nil
1042+
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1043
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1044
Aura.LockedToPart = true
1045
Aura.Lifetime = NumberRange.new(2)
1046-
function Recursion(Obj)
1046+
Aura.Rate = 25
1047-
	ypcall(function()
1047+
Aura.Speed = NumberRange.new(0.1)
1048-
		Add(Obj)
1048+
Aura.EmissionDirection = "Top"
1049-
		if #Obj:GetChildren() > 0 then
1049+
1050-
			for _,v in pairs(Obj:GetChildren()) do 
1050+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1051-
				Recursion(v)
1051+
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1052
		LASTPART = Horn
1053
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1054
				local Aura = Instance.new('ParticleEmitter')
1055
Aura.Name = "Aura"
1056
Aura.Texture = "rbxassetid://242997264"
1057-
Workspace.DescendantAdded:connect(function(Obj)
1057+
Aura.Parent = Horn
1058-
	Add(Obj)
1058+
Aura.LightEmission = 0.8
1059
Aura.Transparency = NumberSequence.new(0,0.6,1)
1060
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1061-
Workspace.DescendantRemoving:connect(function(Obj)
1061+
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1062-
	Rem(Obj)
1062+
Aura.LockedToPart = true
1063
Aura.Lifetime = NumberRange.new(2)
1064
Aura.Rate = 25
1065-
for _,v in pairs(Workspace:GetChildren()) do
1065+
Aura.Speed = NumberRange.new(0.1)
1066-
	Recursion(v)
1066+
Aura.EmissionDirection = "Top"
1067
	end
1068
end
1069-
Start()
1069+
local LASTPART = Head
1070
for i = 1, 8 do
1071-
if LP.Name == PlrName then
1071+
	local MATH = (1-(i/14))
1072-
	LP.CharacterAdded:connect(Start)
1072+
	if LASTPART == Head then
1073
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1074
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1075-
local verlet = {}
1075+
		LASTPART = Horn
1076-
verlet.step_time = 1 / 50
1076+
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1077-
verlet.gravity = Vector3.new(0, -10, 0)
1077+
				local Aura = Instance.new('ParticleEmitter')
1078
Aura.Name = "Aura"
1079-
local char = game.Players.LocalPlayer.Character
1079+
Aura.Texture = "rbxassetid://242997264"
1080-
local torso = char:WaitForChild("Torso")
1080+
Aura.Parent = Horn
1081-
local parts = {}
1081+
Aura.LightEmission = 0.8
1082-
local render = game:GetService("RunService").RenderStepped
1082+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1083
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1084-
wait(2)
1084+
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1085
Aura.LockedToPart = true
1086-
local point = {}
1086+
Aura.Lifetime = NumberRange.new(2)
1087-
local link = {}
1087+
Aura.Rate = 25
1088-
local rope = {}
1088+
Aura.Speed = NumberRange.new(0.1)
1089
Aura.EmissionDirection = "Top"
1090-
local function ccw(A,B,C)
1090+
1091-
    return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
1091+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1092
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1093
		LASTPART = Horn
1094-
local function intersect(A,B,C,D)
1094+
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1095-
    return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
1095+
				local Aura = Instance.new('ParticleEmitter')
1096
Aura.Name = "Aura"
1097
Aura.Texture = "rbxassetid://242997264"
1098-
local function vec2(v)
1098+
Aura.Parent = Horn
1099-
	return Vector2.new(v.x, v.z)
1099+
Aura.LightEmission = 0.8
1100
Aura.Transparency = NumberSequence.new(0,0.6,1)
1101
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1102-
function point:step()
1102+
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1103-
	if not self.fixed then
1103+
Aura.LockedToPart = true
1104-
		local derivative = (self.position - self.last_position) * 0.95
1104+
Aura.Lifetime = NumberRange.new(2)
1105-
		self.last_position = self.position
1105+
Aura.Rate = 25
1106-
		self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
1106+
Aura.Speed = NumberRange.new(0.1)
1107-
		--[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
1107+
Aura.EmissionDirection = "Top"
1108-
		local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
1108+
1109-
		local pointE = self.position + torso.CFrame.lookVector * 100
1109+
1110-
		local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
1110+
local LASTPART = Head
1111-
		if not doIntersect then
1111+
for i = 1, 8 do
1112-
			self.postition = self.position - torso.CFrame.lookVector * 10
1112+
	local MATH = (1-(i/14))
1113-
		end]]
1113+
	if LASTPART == Head then
1114
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1115
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1116
		LASTPART = Horn
1117-
function link:step()
1117+
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1118
				local Aura = Instance.new('ParticleEmitter')
1119-
		local distance = self.point1.position - self.point2.position
1119+
Aura.Name = "Aura"
1120-
		local magnitude = distance.magnitude
1120+
Aura.Texture = "rbxassetid://242997264"
1121-
		local differance = (self.length - magnitude) / magnitude
1121+
Aura.Parent = Horn
1122-
		local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
1122+
Aura.LightEmission = 0.8
1123-
		if not self.point1.fixed then
1123+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1124-
			self.point1.position = self.point1.position + translation
1124+
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1125
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1126-
		if not self.point2.fixed then
1126+
Aura.LockedToPart = true
1127-
			self.point2.position = self.point2.position - translation
1127+
Aura.Lifetime = NumberRange.new(2)
1128
Aura.Rate = 25
1129
Aura.Speed = NumberRange.new(0.1)
1130
Aura.EmissionDirection = "Top"
1131
	else
1132-
function verlet.new(class, a, b, c)
1132+
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1133-
	if class == "Point" then
1133+
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1134-
		local new = {}
1134+
		LASTPART = Horn
1135-
		setmetatable(new, {__index = point})
1135+
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1136-
		new.class = class
1136+
				local Aura = Instance.new('ParticleEmitter')
1137-
		new.position = a or Vector3.new()
1137+
Aura.Name = "Aura"
1138-
		new.last_position = new.position
1138+
Aura.Texture = "rbxassetid://242997264"
1139-
		new.velocity = verlet.gravity
1139+
Aura.Parent = Horn
1140-
		new.fixed = false
1140+
Aura.LightEmission = 0.8
1141-
		return new
1141+
Aura.Transparency = NumberSequence.new(0,0.6,1)
1142-
	elseif class == "Link" then
1142+
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1143-
		local new = {}
1143+
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1144-
		setmetatable(new, {__index = link})
1144+
Aura.LockedToPart = true
1145-
		new.class = class
1145+
Aura.Lifetime = NumberRange.new(2)
1146-
		new.point1 = a
1146+
Aura.Rate = 25
1147-
		new.point2 = b
1147+
Aura.Speed = NumberRange.new(0.1)
1148-
		new.length = c or (a.position - b.position).magnitude
1148+
Aura.EmissionDirection = "Top"
1149-
		return new
1149+
1150-
	elseif class == "Rope" then
1150+
1151-
		local new = {}
1151+
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1152-
		setmetatable(new, {__index = link})
1152+
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1153-
		new.class = class
1153+
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1154-
		new.start_point = a
1154+
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1155-
		new.finish_point = b
1155+
MakeForm(PRT,"Cyl")
1156-
		new.points = {}
1156+
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1157-
		new.links = {}
1157+
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1158-
		local inc = (b - a) / 10
1158+
MakeForm(PRT,"Cyl")
1159-
		for i = 0, 10 do
1159+
PRT.Color = C3(255/255, 255/255, 0/255)
1160-
			table.insert(new.points, verlet.new("Point", a + (i * inc)))
1160+
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1161
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1162-
		for i = 2, #new.points do
1162+
MakeForm(RING,"Cyl")
1163-
			table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
1163+
RING.Color = C3(0,0,0)
1164
for i = 1, 12 do
1165-
		return new
1165+
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1166
	PRT.Color = C3(0,0,0)
1167
	local MSH = IT("BlockMesh",PRT)
1168
	MSH.Scale = VT(0.6,1,1)
1169-
local tris = {}
1169+
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1170-
local triParts = {}
1170+
1171
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1172-
local function GetDiscoColor(hue)
1172+
PRT.Color = C3(0,0,0)
1173-
 local section = hue % 1 * 3
1173+
local MSH = IT("BlockMesh",PRT)
1174-
 local secondary = 0.5 * math.pi * (section % 1)
1174+
MSH.Scale = VT(0.4,1,1)
1175-
 if section < 1 then
1175+
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1176-
  return Color3.new(0, 0, 0)
1176+
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1177-
 elseif section < 2 then
1177+
PRT.Color = C3(0,0,0)
1178-
  return Color3.new(0, 0, 0)
1178+
local MSH = IT("BlockMesh",PRT)
1179-
 else
1179+
MSH.Scale = VT(0.4,1,1)
1180-
  return Color3.new(0, 0, 0)
1180+
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1181-
 end
1181+
coroutine.resume(coroutine.create(function()
1182
	while true do
1183
		Swait()
1184-
local function setupPart(part)
1184+
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1185-
	part.Anchored = true
1185+
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1186-
	part.FormFactor = 3
1186+
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1187-
	part.CanCollide = false
1187+
		if CLOCKLOOP <= -150 then
1188-
	part.TopSurface = 10
1188+
			if VALUE1 == false then
1189-
	part.BottomSurface = 10
1189+
				CLOCKLOOP = 0
1190-
	part.LeftSurface = 10
1190+
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
1191-
	part.RightSurface = 10
1191+
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1192-
	part.FrontSurface = 10
1192+
				ApplyAoE(HITPOS,10,15,45,75,true)
1193-
	part.BackSurface = 10
1193+
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1194-
	part.Material = "Neon"
1194+
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1195-
	local m = Instance.new("SpecialMesh", part)
1195+
				if CLOCKTARGET ~= nil then
1196-
	m.MeshType = "Wedge"
1196+
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1197-
	m.Scale = Vector3.new(0.2, 1, 1)
1197+
					if CLOCKTARGET.Torso ~= nil then
1198-
	return part
1198+
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1199
					end
1200
					if CLOCKTARGET.Health == 0 then
1201-
local function CFrameFromTopBack(at, top, back)
1201+
						CLOCKTARGET = nil
1202
					end
1203-
	return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x,  right.y, top.y, back.y, right.z, top.z, back.z)
1203+
1204
			end
1205
		end
1206-
local function drawTri(parent, a, b, c)
1206+
1207-
	local this = {}
1207+
end))
1208-
	local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
1208+
1209-
	local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
1209+
for _, c in pairs(Weapon:GetChildren()) do
1210-
	function this:Set(a, b, c)
1210+
	if c.ClassName == "Part" then
1211-
		local ab, bc, ca = b-a, c-b, a-c
1211+
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1212-
		local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
1212+
1213-
		local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
1213+
1214-
		local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
1214+
1215-
		local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
1215+
Neck.Name = "Weld"
1216-
		if edg1 < edg2 then
1216+
RootJoint.Name = "Weld"
1217-
			if edg1 >= edg3 then		
1217+
RightShoulder.Name = "Weld"
1218-
				a, b, c = c, a, b
1218+
LeftShoulder.Name = "Weld"
1219-
				ab, bc, ca = ca, ab, bc
1219+
RightHip.Name = "Weld"
1220-
				abm = cam
1220+
LeftHip.Name = "Weld"
1221
1222
local BODY = {}
1223-
			if edg2 < edg3 then
1223+
for _, c in pairs(Character:GetDescendants()) do
1224-
				a, b, c = b, c, a
1224+
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1225-
				ab, bc, ca = bc, ca, ab
1225+
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1226-
				abm = bcm
1226+
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1227
		end
1228-
				a, b, c = c, a, b
1228+
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1229-
				ab, bc, ca = ca, ab, bc
1229+
	elseif c:IsA("JointInstance") then
1230-
				abm = cam
1230+
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1231
	end
1232
end
1233-
	 
1233+
for e = 1, #BODY do
1234-
		local len1 = -ca:Dot(ab)/abm
1234+
	if BODY[e] ~= nil then
1235-
		local len2 = abm - len1
1235+
		local STUFF = BODY[e]
1236-
		local width = (ca + ab.unit*len1).magnitude
1236+
		local PART = STUFF[1]
1237-
	 
1237+
		local PARENT = STUFF[2]
1238-
		local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
1238+
		local MATERIAL = STUFF[3]
1239-
	 
1239+
		local COLOR = STUFF[4]
1240-
		if len1 > 0.2 then
1240+
		local TRANSPARENCY = STUFF[5]
1241-
			mPart1.Parent = parent
1241+
		if PART.ClassName == "Part" and PART ~= RootPart then
1242-
			mPart1.Size = Vector3.new(0.2, width, len1)
1242+
			PART.Material = MATERIAL
1243-
			mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1243+
			PART.Color = COLOR
1244
			PART.Transparency = TRANSPARENCY
1245-
			mPart1.Parent = nil
1245+
1246
		PART.AncestryChanged:Connect(function()
1247-
		
1247+
			PART.Parent = PARENT
1248-
		if len2 > 0.2 then
1248+
1249-
			mPart2.Parent = parent
1249+
1250-
			mPart2.Size = Vector3.new(0.2, width, len2)
1250+
1251-
			mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1251+
1252
function refit()
1253-
			mPart2.Parent = nil
1253+
	Character.Parent = workspace
1254-
		end	
1254+
	for e = 1, #BODY do
1255
		if BODY[e] ~= nil then
1256-
	function this:SetProperty(prop, value)
1256+
			local STUFF = BODY[e]
1257-
		mPart1[prop] = value
1257+
			local PART = STUFF[1]
1258-
		mPart2[prop] = value
1258+
			local PARENT = STUFF[2]
1259
			local MATERIAL = STUFF[3]
1260-
	this:Set(a, b, c)
1260+
			local COLOR = STUFF[4]
1261-
	function this:Destroy()
1261+
			local TRANSPARENCY = STUFF[5]
1262-
		mPart1:Destroy()
1262+
			if PART.ClassName == "Part" and PART ~= RootPart then
1263-
		mPart2:Destroy()
1263+
				PART.Material = MATERIAL
1264
				PART.Color = COLOR
1265-
	this.p1 = mPart1
1265+
				PART.Transparency = TRANSPARENCY
1266-
	this.p2 = mPart2
1266+
1267-
	this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
1267+
			if PART.Parent ~= PARENT then
1268-
	this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
1268+
				Humanoid:remove()
1269-
	return this
1269+
				PART.Parent = PARENT
1270
				Humanoid = IT("Humanoid",Character)
1271
chatfunc ("I dont have time to die...")
1272-
function verlet.draw(object, id)
1272+
1273-
	if object.class == "Point" then
1273+
1274-
		local part = parts[id]
1274+
1275-
		part.BrickColor = BrickColor.new(107, 0, 107)
1275+
1276-
		part.Transparency = 0
1276+
local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
1277-
		part.formFactor = 3
1277+
local SKILLFONT = "Fantasy"
1278-
		part.Anchored = true
1278+
local SKILLTEXTSIZE = 7
1279-
		part.CanCollide = false
1279+
1280-
		part.TopSurface = 0
1280+
Weapon.Parent = Character
1281-
		part.BottomSurface = 0
1281+
Humanoid.Parent = Character
1282-
		part.Size = Vector3.new(0.35, 0.35, 0.35)
1282+
1283-
		part.Material = "Neon"
1283+
Humanoid.Died:connect(function()
1284-
		part.CFrame = CFrame.new(object.position)
1284+
	refit()
1285-
		part.Parent = torso
1285+
1286-
		return part
1286+
chatfunc("Gentlemen, you just annoyed me")
1287-
	elseif object.class == "Link" then
1287+
warn("deivis97 edit")
1288-
		local part = parts[id]
1288+
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1289-
		local dist = (object.point1.position - object.point2.position).magnitude
1289+
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1290-
		part.Size = Vector3.new(0.2, 0.2, dist)
1290+
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1291-
		part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
1291+
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1292-
		part.Parent = torso
1292+
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1293-
		return part
1293+
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1294
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1295
1296
1297-
function verlet.clear()
1297+
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
1298-
	for _, v in pairs(workspace:GetChildren()) do
1298+
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
1299-
		if v.Name == "Part" then
1299+
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1300-
			v:Destroy()
1300+
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1301
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
1302
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1303
local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1304
1305-
local points = {}
1305+
--//=================================\\
1306-
local links = {}
1306+
--||			DAMAGING
1307
--\\=================================//
1308-
for x = 0, 2 do
1308+
1309-
	points[x] = {}
1309+
function ApplyDamage(Humanoid,Damage,TorsoPart)
1310-
	for y = 0, 3 do
1310+
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1311-
		points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
1311+
	defence.Name = ("HitBy"..Player.Name)
1312-
		points[x][y].fixed = y == 0
1312+
	game:GetService("Debris"):AddItem(defence, 0.001)
1313
	Damage = Damage * DAMAGEMULTIPLIER
1314
	if Humanoid.Health ~= 0 then
1315
		local CritChance = MRANDOM(1,100)
1316-
for x = 1, 2 do
1316+
		if Damage > Humanoid.Health then
1317-
	for y = 0, 3 do
1317+
			Damage = math.ceil(Humanoid.Health)
1318-
		links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
1318+
			if Damage == 0 then
1319
				Damage = 0.1
1320
			end
1321
		end
1322-
for x = 0, 2 do
1322+
		Humanoid.Health = Humanoid.Health - Damage
1323-
	for y = 1, 3 do
1323+
1324-
		links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
1324+
1325
1326
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1327
	local CHILDREN = workspace:GetDescendants()
1328-
render:connect(function()
1328+
	for index, CHILD in pairs(CHILDREN) do
1329-
	for x = 0, 2 do
1329+
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1330-
		for y = 0, 3 do
1330+
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1331-
			if y == 0 then
1331+
			if HUM then
1332-
				points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
1332+
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1333
				if TORSO then
1334-
				points[x][y]:step()
1334+
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1335
						if INSTAKILL == false then
1336
							CHILD:BreakJoints()
1337
						else
1338-
	for i = 1, #links do
1338+
							local DMG = MRANDOM(MINDMG,MAXDMG)
1339-
		links[i]:step()
1339+
							ApplyDamage(HUM,DMG,TORSO)
1340
						end
1341-
	for i = 1, #tris do
1341+
						if FLING > 0 then
1342-
		triParts[#triParts + 1] = tris[i].p1
1342+
							for _, c in pairs(CHILD:GetChildren()) do
1343-
		triParts[#triParts + 1] = tris[i].p2
1343+
								if c:IsA("BasePart") then
1344
									local bv = Instance.new("BodyVelocity") 
1345-
	tris = {}
1345+
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1346-
	for x = 1, 2 do
1346+
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1347-
		for y = 1, 3 do
1347+
									bv.Parent = c
1348-
			tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
1348+
									Debris:AddItem(bv,0.05)
1349-
			tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
1349+
1350
							end
1351
						end
1352-
end)
1352+
1353
				end
1354
			end
1355
		end
1356
	end
1357
end
1358
1359
--//=================================\\
1360
--||	ATTACK FUNCTIONS AND STUFF
1361
--\\=================================//
1362
1363
Circle = nil
1364
CircleParts = {}
1365
Equipped = false
1366
1367
function RayCast(Position, Direction, MaxDistance, IgnoreList)
1368
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
1369
end
1370
	Equipped = true
1371
	Circle = Instance.new("Model")
1372
	Circle.Name = "Circle"
1373
	Angle = 0
1374
	for i = 1, 1 do
1375
		local CirclePart = Instance.new("Part")
1376
		CirclePart.Name = "CirclePart"
1377
		CirclePart.Transparency = 1
1378
		CirclePart.BrickColor = BrickColor.new("Really black")
1379
		CirclePart.Material = Enum.Material.Plastic
1380
		CirclePart.Shape = Enum.PartType.Block
1381
		CirclePart.FormFactor = Enum.FormFactor.Custom
1382
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
1383
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
1384
		CirclePart.Anchored = true
1385
		CirclePart.CanCollide = false
1386
		CirclePart.Locked = true
1387
		CirclePart.Size = Vector3.new(10, 0.2, 10)
1388
		local Aura = Instance.new('ParticleEmitter')
1389
Aura.Name = "Aura"
1390
Aura.Texture = "rbxassetid://641078192"
1391
Aura.Parent = CirclePart
1392
Aura.LightEmission = 0
1393
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
1394
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
1395
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
1396
Aura.LockedToPart = false
1397
Aura.Lifetime = NumberRange.new(1)
1398
Aura.Rate = 50
1399
Aura.Speed = NumberRange.new(2.5)
1400
Aura.SpreadAngle = Vector2.new(80,80)
1401
		local BlockMesh = Instance.new("BlockMesh")
1402
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
1403
		BlockMesh.Parent = CirclePart
1404
		CirclePart.Parent = Circle
1405
		local Star = Instance.new("Decal", CirclePart)
1406
		Star.Texture = "http://www.roblox.com/asset/?id=253215684"
1407
		Star.Face = "Top"
1408
		local Light = Instance.new("PointLight", CirclePart)
1409
		Light.Color = Color3.new(.20,0,0)
1410
		Light.Brightness = 100
1411
		Light.Range = 15
1412
		table.insert(CircleParts, CirclePart)
1413
	end
1414
	Spawn(function()
1415
		while Equipped and Humanoid.Parent and Torso.Parent do
1416
			if Angle == 360 then
1417
				Angle = 0
1418
			end
1419
			Angle = Angle + 0.05
1420
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1421
			if Hit then
1422
				if not Circle.Parent then
1423
					Circle.Parent = Character
1424
				end
1425
				for i, v in pairs(CircleParts) do
1426
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
1427
				end
1428
			else
1429
				Circle.Parent = nil
1430
			end
1431
			wait()
1432
		end
1433
	end)
1434
1435
1436
1437
function MagicMissiles()
1438
	ATTACK = true
1439
	Rooted = false
1440
	local SELECTING = true
1441
	local SPOTS = {}
1442
	coroutine.resume(coroutine.create(function()
1443
		local LOOP = 0
1444
		repeat
1445
			LOOP = LOOP + 1
1446
			Swait()
1447
			if LOOP >= 15 then
1448
				LOOP = 0
1449
				for i = 1, #SPOTS do
1450
					if SPOTS[i] ~= nil then
1451
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1452
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1453
					end
1454
				end
1455
			end
1456
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1457
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1458
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1459
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1460
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1461
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1462
		until SELECTING == false
1463
		Rooted = false
1464
		repeat
1465
			LOOP = LOOP + 1
1466
			Swait()
1467
			if LOOP >= 15 then
1468
				LOOP = 0
1469
				for i = 1, #SPOTS do
1470
					if SPOTS[i] ~= nil then
1471
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1472
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1473
					end
1474
				end
1475
			end
1476
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1477
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1478
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1479
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1480
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1481
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1482
		until ATTACK == false
1483
	end))
1484
	repeat
1485
		repeat Swait() until HOLD == true
1486
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1487
			if DIST > 9999 then
1488
				DIST = 9999
1489
			end
1490
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1491
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1492
			if HITFLOOR ~= nil then
1493
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1494
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
1495
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1496
			end
1497
		repeat Swait() until HOLD == false
1498
	until #SPOTS == 5
1499
	SELECTING = false
1500
	for i = 1, #SPOTS do
1501
		if SPOTS[i] ~= nil then
1502
			local POS = SPOTS[i]
1503
			coroutine.resume(coroutine.create(function()
1504
				local MISSILE = IT("Model",Effects)
1505
				MISSILE.Name = "Missile"
1506
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
1507
				MakeForm(BASEPART,"Cyl")
1508
				MISSILE.PrimaryPart = BASEPART
1509
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1510
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
1511
				MakeForm(HEAD,"Ball")
1512
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1513
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
1514
				MakeForm(TAIL,"Cyl")
1515
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1516
				chatfunc("you like nukes?")
1517
				for i = 1, 15 do
1518
					Swait()
1519
					for _, c in pairs(MISSILE:GetChildren()) do
1520
						if c.ClassName == "Part" then
1521
							c.Transparency = c.Transparency - 1/10
1522
						end
1523
					end
1524
				end
1525
				for i = 1, 15*1.5 do
1526
					Swait()
1527
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1528
				end
1529
				ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
1530
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1531
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1532
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1533
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1534
				MISSILE:remove()
1535
			end))
1536
		end
1537
	end
1538
	wait(0.6)
1539
	ATTACK = false
1540
	Rooted = false
1541
end
1542
1543
function TimesUp()
1544
	CLOCKTARGET = nil
1545
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1546
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1547
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1548
		if TORSO then
1549
			ATTACK = true
1550
			Rooted = false
1551
			coroutine.resume(coroutine.create(function()
1552
				repeat
1553
					Swait()
1554
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1555
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1556
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1557
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1558
					RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1559
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1560
				until ATTACK == false
1561
			end))
1562
			if Effects:FindFirstChild("NeonDoll") then
1563
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1564
			end
1565
			wait(0.5)
1566
			local FAKECHARACTER = IT("Model",Effects)
1567
			FAKECHARACTER.Name = "NeonDoll"
1568
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
1569
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1570
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1571
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1572
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1573
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1574
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1575
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1576
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1577
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1578
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
1579
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1580
			CreateSound(201858045, TORS, 5, 0.4, false)
1581
			for i = 1, 50 do
1582
				Swait()
1583
				CLOCKSPEED = 2.5
1584
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1585
					if c.ClassName == "Part" then
1586
						c.Transparency = c.Transparency - 0.5/150
1587
					end
1588
				end
1589
			end
1590
			CLOCKTARGET = HUM
1591
			coroutine.resume(coroutine.create(function()
1592
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
1593
				for i = 1, 25 do
1594
					Swait()
1595
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1596
						if c.ClassName == "Part" then
1597
							c.Transparency = c.Transparency + 0.5/25
1598
						end
1599
					end
1600
				end
1601
				CLOCKSPEED = 4
1602
				FAKECHARACTER:remove()
1603
			end))
1604
			wait(0.5)
1605
			ATTACK = false
1606
			Rooted = false
1607
		end
1608
	end
1609
end
1610
1611
function ChainPunch()
1612
	ATTACK = true
1613
	Rooted = false
1614
	local GYRO = IT("BodyGyro",RootPart)
1615
	GYRO.D = 25
1616
	GYRO.P = 2000
1617
	GYRO.MaxTorque = VT(0,40000,0)
1618
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1619
	repeat
1620
		Swait()
1621
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1622
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1623
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1624
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1625
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1626
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1627
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1628
	until HOLD == true
1629
	local POS = Mouse.Hit.p
1630
	local CHAINS = false
1631
	local CHAINLINKS = {}
1632
	local A = IT("Attachment",RightArm)
1633
	A.Position = VT(1,-1,0)*SIZE
1634
	A.Orientation = VT(-90, -89.982, 0)
1635
	local B = IT("Attachment",RightArm)
1636
	B.Position = VT(-1,-1,0)*SIZE
1637
	B.Orientation = VT(-90, 89.988, 0)
1638
	local C = IT("Attachment",RightArm)
1639
	C.Position = VT(0.5,-1.3,0)*SIZE
1640
	C.Orientation = VT(-90, -89.982, 0)
1641
	local D = IT("Attachment",RightArm)
1642
	D.Position = VT(-0.5,-1.3,0)*SIZE
1643
	D.Orientation = VT(-90, 89.988, 0)
1644
	local LIGHT = IT("Attachment",RightArm)
1645
	LIGHT.Position = VT(0,-1,0)*SIZE
1646
	local LIGHT2 = IT("PointLight",LIGHT)
1647
	LIGHT2.Range = 7
1648
	LIGHT2.Brightness = 5
1649
	LIGHT2.Color = SKILLTEXTCOLOR
1650
	chatfunc("Falcon...")
1651
	for i = 1, 2 do
1652
		local TWIST = -2
1653
		local START = A
1654
		local END = B
1655
		if i == 1 then
1656
			START = B
1657
			END = A
1658
		end
1659
		local ChainLink = IT("Beam",Torso)
1660
		ChainLink.Texture = "rbxassetid://73042633"
1661
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1662
		ChainLink.TextureSpeed = 1
1663
		ChainLink.Width0 = 1
1664
		ChainLink.Width1 = 1
1665
		ChainLink.TextureLength = 2.5
1666
		ChainLink.Attachment0 = START
1667
		ChainLink.Attachment1 = END
1668
		ChainLink.CurveSize0 = TWIST
1669
		ChainLink.CurveSize1 = TWIST
1670
		--ChainLink.FaceCamera = true
1671
		ChainLink.Segments = 45
1672
		ChainLink.Transparency = NumberSequence.new(1)
1673
		table.insert(CHAINLINKS,ChainLink)
1674
	end
1675
	for i = 1, 2 do
1676
		local TWIST = -1
1677
		local START = C
1678
		local END = D
1679
		if i == 1 then
1680
			START = D
1681
			END = C
1682
		end
1683
		local ChainLink = IT("Beam",Torso)
1684
		ChainLink.Texture = "rbxassetid://73042633"
1685
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1686
		ChainLink.TextureSpeed = 1
1687
		ChainLink.Width0 = 1
1688
		ChainLink.Width1 = 1
1689
		ChainLink.TextureLength = 5
1690
		ChainLink.Attachment0 = START
1691
		ChainLink.Attachment1 = END
1692
		ChainLink.CurveSize0 = TWIST
1693
		ChainLink.CurveSize1 = TWIST
1694
		--ChainLink.FaceCamera = true
1695
		ChainLink.Segments = 25
1696
		ChainLink.LightEmission = 0.5
1697
		ChainLink.Transparency = NumberSequence.new(1)
1698
		table.insert(CHAINLINKS,ChainLink)
1699
	end
1700
	coroutine.resume(coroutine.create(function()
1701
		repeat
1702
			Swait()
1703
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1704
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1705
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1706
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1707
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1708
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1709
		until CHAINS == true
1710
		repeat
1711
			Swait()
1712
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1713
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
1714
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1715
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1716
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1717
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1718
		until ATTACK == false
1719
		for e = 1, 15 do
1720
			Swait()
1721
			chatfunc("PUNCH!!!")
1722
			for i = 1, #CHAINLINKS do
1723
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1724
			end
1725
		end
1726
		A:remove()
1727
		B:remove()
1728
		C:remove()
1729
		D:remove()
1730
	end))
1731
	CreateSound(233856115, RightArm, 5, 1.2, false)
1732
	for e = 1, 15 do
1733
		Swait()
1734
		for i = 1, #CHAINLINKS do
1735
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1736
		end
1737
	end
1738
	CHAINS = true
1739
	Rooted = true
1740
	wait(0.25)
1741
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
1742
	FIST.Color = C3(1, 215/255, 1)
1743
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1744
	local LIGHT3 = IT("PointLight",FIST)
1745
	LIGHT3.Range = 7
1746
	LIGHT3.Brightness = 5
1747
	LIGHT3.Color = SKILLTEXTCOLOR
1748
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1749
	local FISTA = IT("Attachment",FIST)
1750
	FISTA.Position = VT(0.062, 0.977, 0)
1751
	local ChainLink = IT("Beam",Torso)
1752
	ChainLink.Texture = "rbxassetid://73042633"
1753
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1754
	ChainLink.TextureSpeed = 2
1755
	ChainLink.Width0 = 3
1756
	ChainLink.Width1 = 3
1757
	ChainLink.TextureLength = 12
1758
	ChainLink.Attachment0 = LIGHT
1759
	ChainLink.Attachment1 = FISTA
1760
	ChainLink.FaceCamera = true
1761
	ChainLink.Segments = 45
1762
	ChainLink.LightEmission = 0.5
1763
	ChainLink.Transparency = NumberSequence.new(0.25)
1764
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1765
	for i = 1, 85 do
1766
		Swait()
1767
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1768
		ChainLink.TextureLength = 12+(i*2)
1769
		ApplyAoE(FIST.Position,10,15,25,100,true)
1770
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1771
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1772
		if HITFLOOR ~= nil then
1773
			HITFLOOR:BreakJoints()
1774
			coroutine.resume(coroutine.create(function()
1775
				for i = 1, 15 do
1776
					Swait()
1777
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1778
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
1779
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1780
				end
1781
			end))
1782
			break
1783
		end
1784
	end
1785
	coroutine.resume(coroutine.create(function()
1786
		for i = 1, 50 do
1787
			Swait()
1788
			FIST.Transparency = FIST.Transparency + 0.5/50
1789
			LIGHT3.Range = LIGHT3.Range - 7/50
1790
		end
1791
		FIST:remove()
1792
	end))
1793
	LIGHT:remove()
1794
	GYRO:remove()
1795
	ATTACK = false
1796
	Rooted = false
1797
end
1798
1799
function WarpMeteor()
1800
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1801
	if DIST > 9999 then
1802
		DIST = 9999
1803
	end
1804
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1805
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1806
	if HITFLOOR then
1807
		local POS = HITPOS	
1808
		ATTACK = true
1809
		Rooted = false
1810
		local WARPED = false
1811
		local SMASHED = false
1812
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1813
		coroutine.resume(coroutine.create(function()
1814
			repeat
1815
				Swait()
1816
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1817
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1818
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1819
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1820
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1821
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1822
			until WARPED == true
1823
			repeat
1824
				Swait()
1825
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1826
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1827
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1828
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1829
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1830
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
			until SMASHED == true
1832
			repeat
1833
				Swait()
1834
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1835
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
1836
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1837
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1838
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
1839
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1840
			until ATTACK == false
1841
		end))
1842
		VALUE1 = true
1843
		CreateSound(233856115, Torso, 5, 1.6, false)
1844
		chatfunc("This hurt more than you think")
1845
		for i = 1, 25 do
1846
			Swait()
1847
			for _, c in pairs(Character:GetChildren()) do
1848
				if c.ClassName == "Part" then
1849
					c.Transparency = c.Transparency + 1/25
1850
				end
1851
			end
1852
			for _, c in pairs(Weapon:GetChildren()) do
1853
				if c.ClassName == "Part" then
1854
					c.Transparency = c.Transparency + 1/25
1855
				end
1856
			end
1857
		end
1858
		UNANCHOR = false
1859
		RootPart.Anchored = true
1860
		RootPart.Velocity = VT(0,0,0)
1861
		local ROOTPOS = RootPart.Position
1862
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1863
		WARPED = true
1864
		for i = 1, 25 do
1865
			Swait()
1866
			for _, c in pairs(Character:GetChildren()) do
1867
				if c.ClassName == "Part" then
1868
					c.Transparency = c.Transparency - 1/25
1869
				end
1870
			end
1871
			for _, c in pairs(Weapon:GetChildren()) do
1872
				if c.ClassName == "Part" then
1873
					c.Transparency = c.Transparency - 1/25
1874
				end
1875
			end
1876
		end
1877
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
1878
		SHELL.CFrame = RootPart.CFrame
1879
		MakeForm(SHELL,"Ball")
1880
		CreateSound(402981977, SHELL, 5, 1.6, false)
1881
		for i = 1, 10 do
1882
			Swait()
1883
			SHELL.Transparency = SHELL.Transparency - 1/10
1884
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1885
		end
1886
		for i = 1, math.ceil(75/2) do
1887
			Swait()
1888
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1889
			SHELL.CFrame = CF(RootPart.Position)
1890
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1891
		end
1892
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1893
		SHELL.CFrame = CF(RootPart.Position)
1894
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
1895
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1896
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1897
		for i = 1, 5 do
1898
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1899
		end
1900
		SHELL:remove()
1901
		ApplyAoE(RootPart.Position,75,35,75,175,true)
1902
		SMASHED = true
1903
		wait(1)
1904
		VALUE1 = false
1905
		UNANCHOR = true
1906
		ATTACK = false
1907
		Rooted = false
1908
	end
1909
end
1910
1911
function PandorasBox()
1912
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
1913
	if HITFLOOR ~= nil then
1914
		ATTACK = false
1915
		Rooted = false
1916
		local RINGSPIN = true
1917
		local CONSTRUCTING = true
1918
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
1919
		RING.Color = C3(0,0,0)
1920
		MakeForm(RING,"Cyl")
1921
		RING.CFrame = CF(HITPOS)
1922
		CreateSound(402981977, RING, 5, 1.2, false)
1923
		coroutine.resume(coroutine.create(function()
1924
			repeat
1925
				Swait()
1926
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1927
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1928
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1929
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1930
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1931
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1932
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1933
			until CONSTRUCTING == false
1934
			repeat 
1935
				Swait() 
1936
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1937
			until RINGSPIN == false
1938
			for i = 1, 25 do
1939
				Swait()
1940
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1941
				RING.Size = RING.Size - VT(0.15,0,0.15)
1942
				--DECAL.Transparency = DECAL.Transparency + 1/25
1943
				RING.Transparency = RING.Transparency + 1/25
1944
			end
1945
			RING:remove()
1946
		end))
1947
		for i = 1, 15 do
1948
			Swait()
1949
			RING.Size = RING.Size + VT(0.75,0,0.75)
1950
			RING.Transparency = RING.Transparency - 1/15
1951
		end
1952
		chatfunc("let's see your prize...")
1953
		local BOXSPIN = true
1954
		local PANDORASBOX = IT("Model",Effects)
1955
		PANDORASBOX.Name = "Pandora's Box"
1956
		local BOX = IT("Model",PANDORASBOX)
1957
		BOX.Name = "Body"
1958
		local LID = IT("Model",PANDORASBOX)
1959
		LID.Name = "Lid"
1960
		--BUILDING THE BOX--
1961
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
1962
			BASE.Color = C3(0,0,0)
1963
			PANDORASBOX.PrimaryPart = BASE
1964
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
1965
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1966
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
1967
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1968
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
1969
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1970
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
1971
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
1972
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
1973
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1974
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
1975
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1976
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
1977
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1978
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
1979
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1980
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
1981
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1982
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
1983
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
1984
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
1985
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1986
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
1987
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
1988
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
1989
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
1990
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
1991
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
1992
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
1993
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
1994
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
1995
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
1996
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
1997
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
1998
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
1999
			-------------
2000
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
2001
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
2002
			LID.PrimaryPart = LIDPART
2003
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2004
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
2005
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2006
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
2007
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2008
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
2009
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2010
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
2011
			local DECAL = IT("Decal",LIDPART)
2012
			DECAL.Face = "Top"
2013
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
2014
			DECAL.Color3 = C3(0,0,0)
2015
		--BUILDING THE BOX--
2016
		coroutine.resume(coroutine.create(function()
2017
			repeat
2018
				Swait()
2019
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
2020
			until BOXSPIN == false
2021
		end))
2022
		for i = 1, 25 do
2023
			Swait()
2024
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
2025
		end
2026
		wait(0.5)
2027
		BOXSPIN = false
2028
		CONSTRUCTING = false	
2029
		coroutine.resume(coroutine.create(function()
2030
			WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
2031
			--[[for i = 1, 45 do
2032
				Swait()
2033
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
2034
			end-
2035
			LID:remove()]]--
2036
			for _, c in pairs(LID:GetChildren()) do
2037
				if c.ClassName == "Part" then
2038
					c.Anchored = false
2039
					c.CanCollide = true
2040
					if c ~= LIDPART then
2041
						weldBetween(LIDPART,c)
2042
					end
2043
				end
2044
			end
2045
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
2046
			Debris:AddItem(LID,15)
2047
			wait(0.5)
2048
			local RANDOMEFFECT = MRANDOM(1,4)
2049
			if RANDOMEFFECT == 1 then
2050
				for i = 1, 45 do
2051
					wait((2-(i/15))/15)
2052
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
2053
				end	
2054
				wait(1)
2055
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
2056
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
2057
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2058
				for i = 1, 5 do
2059
					WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2060
				end
2061
				ApplyAoE(BASE.Position,50,1,200,375,true)
2062
				ApplyAoE(BASE.Position,250,35,75,175,true)
2063
			elseif RANDOMEFFECT == 2 then
2064
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2065
				FIELD.CFrame = BASE.CFrame
2066
				MakeForm(FIELD,"Ball")
2067
				for i = 1, 50 do
2068
					Swait()
2069
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2070
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2071
				end
2072
				wait(0.2)
2073
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
2074
				coroutine.resume(coroutine.create(function()
2075
					for i = 1, 75 do
2076
						Swait()
2077
						LOOP.Volume = LOOP.Volume + 10/75
2078
						LOOP.Parent = FIELD
2079
						local CHILDREN = workspace:GetDescendants()
2080
						for index, CHILD in pairs(CHILDREN) do
2081
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2082
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2083
								if HUM then
2084
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2085
									if TORSO then
2086
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2087
											HUM.Health = HUM.Health - 1.5
2088
											TORSO.Velocity = VT(0,5,0)
2089
											HUM.PlatformStand = true
2090
											if TORSO.RotVelocity.Magnitude < 15 then
2091
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2092
											end
2093
										end
2094
									end
2095
								end
2096
							end
2097
						end
2098
						FIELD.Size = FIELD.Size + VT(9,9,9)
2099
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2100
					end
2101
					for i = 1, 500 do
2102
						Swait()
2103
						LOOP.Parent = FIELD
2104
						local CHILDREN = workspace:GetDescendants()
2105
						for index, CHILD in pairs(CHILDREN) do
2106
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2107
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2108
								if HUM then
2109
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2110
									if TORSO then
2111
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2112
											TORSO.Velocity = VT(0,5,0)
2113
											HUM.Health = HUM.Health - 1.5
2114
											HUM.PlatformStand = true
2115
											if TORSO.RotVelocity.Magnitude < 15 then
2116
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2117
											end
2118
										end
2119
									end
2120
								end
2121
							end
2122
						end
2123
					end
2124
					for i = 1, 25 do
2125
						Swait()
2126
						LOOP.Volume = LOOP.Volume + 10/25
2127
						LOOP.Parent = FIELD
2128
						local CHILDREN = workspace:GetDescendants()
2129
						for index, CHILD in pairs(CHILDREN) do
2130
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2131
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2132
								if HUM then
2133
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2134
									if TORSO then
2135
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2136
											TORSO.Velocity = VT(0,5,0)
2137
											HUM.Health = HUM.Health - 1.5
2138
											HUM.PlatformStand = false
2139
											if TORSO.RotVelocity.Magnitude < 15 then
2140
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2141
											end
2142
										end
2143
									end
2144
								end
2145
							end
2146
						end
2147
						FIELD.Size = FIELD.Size - VT(3,3,3)
2148
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2149
					end	
2150
					FIELD:remove()
2151
				end))
2152
			elseif RANDOMEFFECT == 3 then
2153
				for i = 1, 10 do
2154
					wait(0.15)
2155
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
2156
					coroutine.resume(coroutine.create(function()
2157
						local MINION = CLONE:Clone()
2158
						MINION.Parent = Effects
2159
						MINION.Name = "Shadow"
2160
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
2161
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
2162
						for _, c in pairs(MINION:GetChildren()) do
2163
							if c.ClassName == "Part" then
2164
								c.Material = "Neon"
2165
								c.Color = C3(0,0,0)
2166
								c.Transparency = 0.25
2167
								if c.Name == "Head" then
2168
									c:ClearAllChildren()
2169
									local MSH = IT("BlockMesh",c)
2170
									MSH.Scale = VT(0.5,1,1)
2171
								end
2172
							end
2173
						end
2174
						local TORSO = MINION.Torso
2175
						local HUMAN = MINION.Humanoid
2176
						HUMAN.WalkSpeed = 20
2177
						HUMAN.MaxHealth = math.huge
2178
						HUMAN.Health = math.huge
2179
						HUMAN.DisplayDistanceType = "None"
2180
						HUMAN.Died:connect(function()
2181
							MINION:remove()
2182
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
2183
						end)
2184
						wait(1)
2185
						local findNearestTorso = function(POS)
2186
							local list = game.Workspace:GetDescendants()
2187
							local torso = nil
2188
							local dist = 500
2189
							local temp = nil
2190
							local human = nil
2191
							local temp2 = nil
2192
							for x = 1, #list do
2193
								temp2 = list[x]
2194
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
2195
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2196
									human = temp2:findFirstChildOfClass("Humanoid")
2197
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2198
										if (temp.Position - POS).magnitude < dist then
2199
											torso = temp
2200
											dist = (temp.Position - POS).magnitude
2201
										end
2202
									end
2203
								end
2204
							end
2205
							return torso, dist
2206
						end
2207
						for i = 1, 40 do
2208
							if HUMAN.Health == 0 then
2209
								break
2210
							end
2211
							wait(0.3)
2212
							local target,dist= findNearestTorso(TORSO.Position)
2213
							if target then
2214
								HUMAN:MoveTo(target.Position)
2215
								if dist < 25 then
2216
									CreateSound(348663022, TORSO, 10, 1, true)
2217
									wait(2)
2218
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
2219
									--ANIM:Play()
2220
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
2221
									ApplyAoE(TORSO.Position,10,0,0,85,true)
2222
									WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
2223
									for i = 1, 5 do
2224
										WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2225
									end
2226
									break
2227
								end
2228
							end
2229
						end
2230
						MINION:remove()
2231
					end))
2232
				end
2233
			elseif RANDOMEFFECT == 4 then
2234
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2235
				FIELD.Color = C3(0,0,0)
2236
				FIELD.CFrame = BASE.CFrame
2237
				MakeForm(FIELD,"Ball")
2238
				FIELD.CanCollide = true
2239
				for i = 1, 50 do
2240
					Swait()
2241
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2242
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2243
				end
2244
				wait(0.2)
2245
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
2246
				coroutine.resume(coroutine.create(function()
2247
					local E = 0
2248
					for i = 1, 75 do
2249
						E = E + 1
2250
						Swait()
2251
						if E >= 35 then
2252
							E = 0
2253
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2254
						end
2255
						LOOP.Volume = LOOP.Volume + 10/75
2256
						LOOP.Parent = FIELD
2257
						local CHILDREN = workspace:GetDescendants()
2258
						for index, CHILD in pairs(CHILDREN) do
2259
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2260
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2261
								if HUM then
2262
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2263
									if TORSO then
2264
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2265
											for _, c in pairs(CHILD:GetChildren()) do
2266
												if c:IsA("BasePart") then
2267
													local bv = Instance.new("BodyVelocity") 
2268
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2269
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2270
													bv.Parent = c
2271
													Debris:AddItem(bv,0.05)
2272
												end
2273
											end
2274
											HUM.Health = HUM.Health - 0.3
2275
										end
2276
									end
2277
								end
2278
							end
2279
						end
2280
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
2281
					end
2282
					for i = 1, 180 do
2283
						E = E + 1
2284
						Swait()
2285
						if E >= 35 then
2286
							E = 0
2287
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2288
						end
2289
						LOOP.Parent = FIELD
2290
						local CHILDREN = workspace:GetDescendants()
2291
						for index, CHILD in pairs(CHILDREN) do
2292
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2293
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2294
								if HUM then
2295
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2296
									if TORSO then
2297
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2298
											for _, c in pairs(CHILD:GetChildren()) do
2299
												if c:IsA("BasePart") then
2300
													local bv = Instance.new("BodyVelocity") 
2301
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2302
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2303
													bv.Parent = c
2304
													Debris:AddItem(bv,0.05)
2305
												end
2306
											end
2307
											HUM.Health = HUM.Health - 0.3
2308
										end
2309
									end
2310
								end
2311
							end
2312
						end
2313
					end
2314
					ApplyAoE(FIELD.Position,40,15,20,375,true)
2315
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
2316
					for i = 1, 5 do
2317
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2318
					end
2319
					FIELD:remove()
2320
				end))
2321
			elseif RANDOMEFFECT == 5 then
2322
			end
2323
			wait(0.5)
2324
			for i = 1, 25 do
2325
				Swait()
2326
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
2327
			end
2328
			PANDORASBOX:remove()
2329
			RINGSPIN = false
2330
		end))
2331
		ATTACK = false
2332
		Rooted = false
2333
	end
2334
end
2335
2336
function TimeStop ()
2337
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2338
	CHOICE = 6
2339
	CreateSound(1193182658, Character, 5, 1, false)
2340
	chatfunc ("Za warudo...")
2341
     back = CreateSound(1841228386, Character, 9999, 1, false)
2342
	local killsky = Instance.new('Sky', game:GetService'Lighting')
2343
killsky.SkyboxBk = "rbxassetid://1013852"
2344
killsky.SkyboxDn = "rbxassetid://1013853"
2345
killsky.SkyboxFt = "rbxassetid://1013850"
2346
killsky.SkyboxLf = "rbxassetid://1013851"
2347
killsky.SkyboxRt = "rbxassetid://1013849"
2348
killsky.SkyboxUp = "rbxassetid://1013854"
2349
killsky.StarCount = 0
2350
killsky.SunAngularSize = 0
2351
killsky.MoonAngularSize = 0
2352
killsky.MoonTextureId = ""
2353
killsky.CelestialBodiesShown = false
2354
game.Lighting.FogColor = Color3.new(1,1,0)
2355
game.Lighting.FogEnd = 1400
2356
	if HITFLOOR ~= nil then
2357
		ATTACK = false
2358
		Rooted = false
2359
		local RINGSPIN = true
2360
		local CONSTRUCTING = true
2361
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
2362
		RING.Color = C3(0,0,0)
2363
		MakeForm(RING,"Cyl")
2364
		RING.CFrame = CF(HITPOS)
2365
		coroutine.resume(coroutine.create(function()
2366
			repeat
2367
				Swait()
2368
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2369
			until CONSTRUCTING == false
2370
			repeat 
2371
				Swait() 
2372
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2373
			until RINGSPIN == false
2374
			for i = 1, 25 do
2375
				Swait()
2376
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2377
				RING.Size = RING.Size - VT(0.15,0,0.15)
2378
				--DECAL.Transparency = DECAL.Transparency + 1/25
2379
				RING.Transparency = RING.Transparency + 1/25
2380
			end
2381
			RING:remove()
2382
		end))
2383
		for i = 1, 15 do
2384
			Swait()
2385
			RING.Size = RING.Size + VT(0,0,0)
2386
			RING.Transparency = RING.Transparency - 1/15
2387
		end
2388
		end
2389
	local RANDOMEFFECT = MRANDOM(1)
2390
	local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
2391
			BASE.Color = C3(0,0,0)
2392
			BASE.Transparency = 1
2393
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
2394
	if RANDOMEFFECT == 1 then
2395
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2396
				FIELD.CFrame = BASE.CFrame
2397
				MakeForm(FIELD,"Ball")
2398
				for i = 1, 50 do
2399
					Swait()
2400
					FIELD.Size = VT(0,0,0)
2401
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2402
				end
2403
				end
2404
				wait(0.2)
2405
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2406
				FIELD.CFrame = BASE.CFrame
2407
				local LOOP = CreateSound(1393698948, Character, 0, 1, true)
2408
				coroutine.resume(coroutine.create(function()
2409
					for i = 1, 75 do
2410
						Swait()
2411
						LOOP.Volume = LOOP.Volume + 10/75
2412
						LOOP.Parent = FIELD
2413
						local CHILDREN = workspace:GetDescendants()
2414
						for index, CHILD in pairs(CHILDREN) do
2415
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2416
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2417
								if HUM then
2418
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2419
									if TORSO then
2420
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2421
											HUM.Health = HUM.Health - 0
2422
											TORSO.Velocity = VT(0,5,0)
2423
											HUM.PlatformStand = true
2424
											if TORSO.RotVelocity.Magnitude < 15 then
2425
										 		TORSO.Anchored = true
2426
											end
2427
										end
2428
									end
2429
								end
2430
							end
2431
						end
2432
						FIELD.Size = FIELD.Size + VT(90,90,90)
2433
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2434
					end
2435
				for i = 1, 500 do
2436
						Swait()
2437
						LOOP.Parent = FIELD
2438
						local CHILDREN = workspace:GetDescendants()
2439
						for index, CHILD in pairs(CHILDREN) do
2440
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2441
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2442
								if HUM then
2443
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2444
									if TORSO then
2445
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2446
											TORSO.Velocity = VT(0,5,0)
2447
											HUM.Health = HUM.Health - 0
2448
											HUM.PlatformStand = true
2449
											if TORSO.RotVelocity.Magnitude < 15 then
2450
										 		TORSO.Anchored = true
2451
											end
2452
										end
2453
									end
2454
								end
2455
							end
2456
						end
2457
					end
2458
 wait (20)
2459
back:Remove()
2460
		CreateSound(1538466750, Character, 99999, 1, false)
2461
		chatfunc ("the time rusume")
2462
		killsky:Remove()
2463
		game.Lighting.FogEnd = 90000000
2464
		wait (5)
2465
		CHOICE = MRANDOM (1,5)
2466
					for i = 1, 25 do
2467
						Swait()
2468
						LOOP.Volume = LOOP.Volume + 10/25
2469
						LOOP.Parent = FIELD
2470
						local CHILDREN = workspace:GetDescendants()
2471
						for index, CHILD in pairs(CHILDREN) do
2472
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2473
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2474
								if HUM then
2475
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2476
									if TORSO then
2477
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2478
											TORSO.Velocity = VT(0,5,0)
2479
											HUM.Health = HUM.Health - 0
2480
											HUM.PlatformStand = false
2481
											if TORSO.RotVelocity.Magnitude < 15 then
2482
										 		TORSO.Anchored = false
2483
										end
2484
									end
2485
								end
2486
							end
2487
						end
2488
						FIELD.Size = FIELD.Size - VT(3,3,3)
2489
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2490
						     end
2491
						end
2492
				end))	
2493
				FIELD:Remove()
2494
           ATTACK = false
2495
		Rooted = false
2496
	end
2497
2498
				
2499
function Taunt()
2500
	ATTACK = true
2501
	local LAUGH = nil
2502
	coroutine.resume(coroutine.create(function()
2503
		repeat
2504
			Swait()
2505
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2506
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2507
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2508
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2509
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2510
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2511
		until LAUGH ~= nil
2512
		repeat
2513
			Swait()
2514
			LAUGH.Parent = Head
2515
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2516
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2517
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2518
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2519
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2520
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2521
		until LAUGH.Playing == false
2522
	ATTACK = false
2523
	end))
2524
	wait(0.1)
2525
	CHOICE = 6
2526
	chatfunc("I HATE YOU...")
2527
	LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
2528
	wait(1.5)
2529
	CHOICE = MRANDOM (1,5)
2530
end
2531
2532
--//=================================\\
2533
--||	  ASSIGN THINGS TO KEYS
2534
--\\=================================//
2535
2536
function MouseDown(Mouse)
2537
	HOLD = true
2538
	if ATTACK == false then
2539
	end
2540
end
2541
2542
function MouseUp(Mouse)
2543
HOLD = false
2544
end
2545
2546
function KeyDown(Key)
2547
	KEYHOLD = true
2548
	if Key == "z" and ATTACK == false then
2549
		MagicMissiles()
2550
	end
2551
2552
	if Key == "b" and ATTACK == false then
2553
		TimesUp()
2554
	end
2555
2556
	if Key == "c" and ATTACK == false then
2557
		ChainPunch()
2558
	end
2559
2560
	if Key == "v" and ATTACK == false then
2561
		WarpMeteor()
2562
	end
2563
2564
	if Key == "x" and ATTACK == false then
2565
		PandorasBox()
2566
	end
2567
	
2568
	if Key == "g" and ATTACK == false then
2569
		TimeStop()
2570
	end
2571
2572
	if Key == "t" and ATTACK == false then
2573
		Taunt()
2574
		elseif Key == "1" and ATTACK == false then
2575
			if CHOICE ~= 1 then
2576
				CHOICE = 1
2577
				sick:Play()
2578
				chatfunc("original song")
2579
			end
2580
		elseif Key == "2" and ATTACK == false then
2581
			if CHOICE ~= 2 then
2582
				CHOICE = 2
2583
				sick:Play()
2584
				chatfunc("no comments...")
2585
			end
2586
		elseif Key == "3" and ATTACK == false then
2587
			if CHOICE ~= 3 then
2588
				CHOICE = 3
2589
				sick:Play()
2590
				chatfunc("Now the fight really begins...")
2591
				tecks2.Color = Color3.new (255,0,0)
2592
			end
2593
		elseif Key == "4" and ATTACK == false then
2594
			if CHOICE ~= 4 then
2595
				CHOICE = 4
2596
				sick:Play()
2597
				chatfunc("Just let me relax a little")
2598
			end	
2599
				elseif Key == "5" and ATTACK == false then
2600
			if CHOICE ~= 5 then
2601
				CHOICE = 5
2602
				sick:Play()
2603
				chatfunc("Why not this sound, i like it")
2604
			end
2605
		elseif Key == "6" and ATTACK == false then
2606
			if CHOICE ~= 6 then
2607
				CHOICE = 6
2608
				sick:Play()
2609
				chatfunc("music off")
2610
			end
2611
	end
2612
end
2613
2614
function KeyUp(Key)
2615
	KEYHOLD = false
2616
end
2617
2618
	Mouse.Button1Down:connect(function(NEWKEY)
2619
		MouseDown(NEWKEY)
2620
	end)
2621
	Mouse.Button1Up:connect(function(NEWKEY)
2622
		MouseUp(NEWKEY)
2623
	end)
2624
	Mouse.KeyDown:connect(function(NEWKEY)
2625
		KeyDown(NEWKEY)
2626
	end)
2627
	Mouse.KeyUp:connect(function(NEWKEY)
2628
		KeyUp(NEWKEY)
2629
	end)
2630
2631
--//=================================\\
2632
--\\=================================//
2633
2634
2635
function unanchor()
2636
	if UNANCHOR == true then
2637
		RootPart.Anchored = false
2638
	end
2639
	g = Character:GetChildren()
2640
	for i = 1, #g do
2641
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2642
			g[i].Anchored = false
2643
		end
2644
	end
2645
	g = Weapon:GetChildren()
2646
	for i = 1, #g do
2647
		if g[i].ClassName == "Part" then
2648
			g[i].Anchored = false
2649
		end
2650
	end
2651
end
2652
2653
2654
--//=================================\\
2655
--||	WRAP THE WHOLE SCRIPT UP
2656
--\\=================================//
2657
2658
Humanoid.Changed:connect(function(Jump)
2659
	if Jump == "Jump" and (Disable_Jump == true) then
2660
		Humanoid.Jump = false
2661
	end
2662
end)
2663
2664
while true do
2665
	Swait()
2666
           refit()
2667
	script.Parent = WEAPONGUI
2668
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2669
	    v:Stop();
2670
	end
2671
	ANIMATE.Parent = nil
2672
	SINE = SINE + CHANGE*1.5
2673
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2674
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2675
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2676
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2677
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2678
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2679
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2680
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2681
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2682
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2683
	end
2684
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2685
		ANIM = "Jump"
2686
		if ATTACK == false then
2687
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2688
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2689
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2690
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2691
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2692
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2693
	    end
2694
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2695
		ANIM = "Fall"
2696
		if ATTACK == false then
2697
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2698
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2699
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2700
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2701
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2702
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2703
		end
2704
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2705
		ANIM = "Idle"
2706
		if ATTACK == false then
2707
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2708
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2709
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2710
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2711
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2712
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2713
			end
2714
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2715
		ANIM = "Walk"
2716
		if ATTACK == false then
2717
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2718
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2719
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2720
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2721
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2722
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2723
		end
2724
	end
2725
	unanchor()
2726
	Humanoid.MaxHealth = "inf"
2727
	Humanoid.Health = "inf"
2728
	if Rooted == false then
2729
		Disable_Jump = false
2730
		Humanoid.WalkSpeed = Speed
2731
	elseif Rooted == true then
2732
		Disable_Jump = true
2733
		Humanoid.WalkSpeed = 0
2734
	end
2735
	for _, c in pairs(Character:GetChildren()) do
2736
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2737
			c.Material = "Fabric"
2738
			if c:FindFirstChildOfClass("ParticleEmitter") then
2739
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2740
			end
2741
			if c ~= Head then
2742
				c.Color = C3(0,0,0)
2743
			else
2744
				c.Color = C3(0,0,0)
2745
			end
2746
			if c == Head then
2747
				if c:FindFirstChild("face") then
2748
					c.face:remove()
2749
				end
2750
			end
2751
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2752
			c:remove()
2753
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2754
			c:remove()
2755
		end
2756
	end
2757
	sick.SoundId = "rbxassetid://"..bored[CHOICE]
2758
	sick.Looped = true
2759
	sick.Pitch = 1
2760
	sick.Volume = 999999
2761
	sick.Parent = Character
2762
	sick:Resume()
2763
	--sick.Playing = false
2764
	Humanoid.Name = "Master of Time = "..Player.Name
2765
end
2766
2767
--//=================================\\
2768
--\\=================================//
2769
2770
2771
2772
2773
2774
--//====================================================\\--
2775
--||			  		 END OF SCRIPT
2776
--\\====================================================//--