View difference between Paste ID: XpkLuiuX and 0yHHRFbY
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2-
--||	CREATED BY SHACKLUSTER Edit By NameClan
2+
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5-
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5+
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7-
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
7+
	script.Parent = rp.Character
8-
	script.Parent = Player.Character
8+
9
	--RemoteEvent for communicating
10-
    function Debounces:GetProgressPercentage()
10+
	local Event = Instance.new("RemoteEvent")
11-
    assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
11+
	Event.Name = "UserInput_Event"
12-
    if(self.CoolingDown and not self.Usable)then
12+
13-
        return math.max(
13+
	--Fake event to make stuff like Mouse.KeyDown work
14-
            math.floor(
14+
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16-
    if Key == "z" and ATTACK == true then
16+
		t.connect = t.Connect
17-
		Shot()
17+
		return t
18
	end
19
20-
	if Key == "b" and ATTACK == true then
20+
	--Creating fake input objects with fake variables
21-
                Kick()
21+
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24-
	if Key == "n" and ATTACK == true then
24+
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25-
                Punch()
25+
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28-
	if Key == "t" and ATTACK == true then
28+
29-
                Taunt()
29+
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32-
    if Key == "c" and ATTACK == true then
32+
		if t and t._fakeEvent then
33-
                 kiss()
33+
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36-
	if Key == "v" and ATTACK == true then
36+
37-
                 Oblivion()
37+
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40-
	if Key == "x" and ATTACK == true then
40+
41-
                 Nuke()
41+
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43-
   
43+
		m.Target = io.Target
44-
    Mouse.Button1Down:connect(function(NEWKEY)
44+
		m.Hit = io.Hit
45-
        MouseDown(NEWKEY)
45+
		if not io.isMouse then
46-
    end)
46+
			local b = io.UserInputState == Enum.UserInputState.Begin
47-
    Mouse.Button1Up:connect(function(NEWKEY)
47+
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48-
        MouseUp(NEWKEY)
48+
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49-
    end)
49+
50-
    Mouse.KeyDown:connect(function(NEWKEY)
50+
			for _,t in pairs(CAS.Actions) do
51-
        KeyDown(NEWKEY)
51+
				for _,k in pairs(t.Keys) do
52-
    end)
52+
					if k==io.KeyCode then
53-
    Mouse.KeyUp:connect(function(NEWKEY)
53+
						t.Function(t.Name,io.UserInputState,io)
54-
        KeyUp(NEWKEY)
54+
55-
    end)
55+
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62-
local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
62+
	local Player = game:GetService("Players").LocalPlayer
63-
local FireSound = "904051531"
63+
	local Event = script:WaitForChild("UserInput_Event")
64-
local LAUGHS = {834001699,834001752,834001797,834001828}
64+
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78-
local NeutralAnims = true
78+
	while wait(1/30) do
79-
local Attack = true
79+
		if h~=Mouse.Hit or t~=Mouse.Target then
80-
local BloodPuddles = {}
80+
			h,t=Mouse.Hit,Mouse.Target
81-
local Effects = {}
81+
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82-
local Debounces = {Debounces={}}
82+
83-
local Hit = {}
83+
	end]==],Player.Character)
84-
local Sine = 0
84+
85-
local Change = 1
85+
	----Sandboxed game object that allows the usage of client-side methods and services
86-
local BanishedEvents = {}
86+
	--Real game object
87
	local _rg = game
88-
q = Character:GetChildren()
88+
89-
for u = 1, #q do
89+
	--Metatable for fake service
90-
if q[u].ClassName == "Accessory" then
90+
	local fsmt = {
91-
q[u]:Destroy()
91+
		__index = function(self,k)
92-
elseif q[u].ClassName == "CharacterMesh" then
92+
			local s = rawget(self,"_RealService")
93-
q[u]:Destroy()
93+
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96-
Head.face:Destroy()
96+
			local s = rawget(self,"_RealService")
97-
Head.Mesh:Destroy()
97+
			if s then s[k]=v end
98-
newmesh = Instance.new("SpecialMesh")
98+
		end,
99-
newmesh.Scale = Vector3.new(1.1,1.1,1.1)
99+
		__call = function(self,...)
100-
newmesh.MeshId = "http://www.roblox.com/asset/?id=0"
100+
			local s = rawget(self,"_RealService")
101-
newmesh.TextureId = "http://www.roblox.com/asset/?id=0"
101+
			if s then return s(...) end
102-
newmesh.Parent = Head
102+
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120-
local sick = Instance.new("Sound",Torso)
120+
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140-
it = Instance.new
140+
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142-
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
142+
	game,owner = g,g.Players.LocalPlayer
143-
        local fp=it("Part")
143+
144-
        fp.formFactor=formfactor
144+
---------------------------
145-
        fp.Parent=parent
145+
local Player_Size = 1
146-
        fp.Reflectance=reflectance
146+
script.Name = "Banisher Gun V3 / 1"
147-
        fp.Transparency=transparency
147+
148-
        fp.CanCollide=false
148+
--||			   CREATED BY SHACKLUSTER
149-
        fp.Locked=true
149+
150-
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
150+
151-
        fp.Name=name
151+
152-
        fp.Size=size
152+
153-
        fp.Position=Character.Torso.Position
153+
154-
        fp.Material=material
154+
155-
        fp:BreakJoints()
155+
156-
        return fp
156+
157
Backpack = Player.Backpack
158-
    
158+
159-
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
159+
160-
        local mesh=it(Mesh)
160+
Mouse = Player:GetMouse()
161-
        mesh.Parent=part
161+
162-
        if Mesh=="SpecialMesh" then
162+
163-
            mesh.MeshType=meshtype
163+
164-
            mesh.MeshId=meshid
164+
165
LeftArm = Character["Left Arm"]
166-
        mesh.Offset=offset
166+
167-
        mesh.Scale=scale
167+
168-
        return mesh
168+
169
Neck = Torso["Neck"]
170-
    
170+
171-
    function weld(parent,part0,part1,c0,c1)
171+
172-
        local weld=it("Weld")
172+
173-
        weld.Parent=parent
173+
174-
        weld.Part0=part0
174+
175-
        weld.Part1=part1
175+
local SIZE = 1
176-
        weld.C0=c0
176+
177-
        weld.C1=c1
177+
178-
        return weld
178+
179
VT = Vector3.new
180
RAD = math.rad
181-
q = "Really black"
181+
182-
Claw1=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
182+
183-
Claw1weld=weld(Character,RightArm,Claw1,CFrame.new(0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, -5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
183+
184-
mesh("SpecialMesh",Claw1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
184+
185-
Claw2=part(Enum.FormFactor.Custom,Character,Enum.Material.SmoothPlastic,0,0,q,"Claw",Vector3.new(0.400000006, 0.400000036, 0.400000006))
185+
186-
Claw2weld=weld(Character,LeftArm,Claw2,CFrame.new(-0.25, -2.3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00980377197, -0.0303750038, 0.719708443, 5, 3.10001451e-005, 3.09999632e-005, 3.10008145e-005, 0, 0, 0, -4, -1))
186+
187-
mesh("SpecialMesh",Claw2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(-1,-1.8,-1))
187+
188
SIN = math.sin
189
ASIN = math.asin
190
ABS = math.abs
191
MRANDOM = math.random
192
FLOOR = math.floor
193
--//=================================\\
194
--|| 	      USEFUL VALUES
195
--\\=================================//
196
197
Animation_Speed = 3
198
local FORCERESET = false
199
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
200
local Speed = 16
201
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
202
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
203
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
204
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
205
local DAMAGEMULTIPLIER = 1
206
local ANIM = "Idle"
207-
local COMBO2 = 1
207+
208
local EQUIPPED = false
209
local HOLD = false
210-
local STAGGERHITANIM = false
210+
211-
local STAGGERANIM = false
211+
212
local SINE = 0
213
local KEYHOLD = false
214
local CHANGE = 2 / Animation_Speed
215
local WALKINGANIM = false
216-
local NOWALK = false
216+
217
local VALUE2 = false
218-
local INTRO = false
218+
219-
local TRANSFORMED = false
219+
220
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
221
--ROBLOXIDLEANIMATION.Parent = Humanoid
222
local WEAPONGUI = IT("ScreenGui", PlayerGui)
223
WEAPONGUI.Name = "BanishV3Gui"
224
local Weapon = IT("Model")
225
Weapon.Name = "Adds"
226
local Effects = IT("Folder", Weapon)
227
Effects.Name = "Effects"
228
local ANIMATOR = Humanoid.Animator
229
local ANIMATE = Character:FindFirstChild("Animate")
230
local UNANCHOR = true
231
local TOBANISH = {}
232
script.Parent = PlayerGui
233
234-
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
234+
235-
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
235+
236-
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
236+
237-
local HITBLOCKSOUNDS = {"199148933", "199148947"}
237+
238
--//=================================\\
239
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
240
--\\=================================//
241
242
ArtificialHB = Instance.new("BindableEvent", script)
243
ArtificialHB.Name = "ArtificialHB"
244
245
script:WaitForChild("ArtificialHB")
246
247
frame = Frame_Speed
248
tf = 0
249-
Class_Name = "Beserker"
249+
250-
Weapon_Name = "Claws"
250+
251
lastframe = tick()
252-
Custom_Colors = {
252+
253-
	Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
253+
254-
	Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
254+
255
	tf = tf + s
256-
	Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
256+
257-
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
257+
258-
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
258+
259-
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
259+
260-
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
260+
261
			for i = 1, math.floor(tf / frame) do
262-
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
262+
263-
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
263+
264-
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
264+
265-
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
265+
266-
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
266+
267
			tf = 0
268
		else
269-
Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
269+
270-
Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
270+
271-
Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
271+
272-
Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
272+
273-
Ability_Background_Transparency = 0  --Transparency for the background of the abilities.
273+
274-
Stat_Background_Transparency = 0 --Transparency for the background of the stats.
274+
275
--\\=================================//
276-
Player_Size = 1 --Size of the player.
276+
277-
Animation_Speed = 2
277+
sick.SoundId = "rbxassetid://576082863"
278
sick.Looped = true
279
sick.Pitch = 1
280-
Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
280+
sick.Volume = 500.1367
281-
Enable_Stats = false --Enables or disables stats.
281+
sick:Play()
282-
Put_Stats_In_Character = false --Places stats in Character.
282+
283-
Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
283+
284-
Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
284+
285-
Enable_Stagger = false --Enables or disables staggering.
285+
286-
Enable_Stun = false --Enables or disables the stun mechanic.
286+
287-
Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
287+
288-
Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
288+
289
290-
Start_Equipped = false --Starts the player equipped with their weapon.
290+
291-
Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
291+
292-
Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
292+
293-
Disable_Animator = true --Disables the Animator in the humanoid.
293+
294-
Disable_Animate = true --Disables the Animate script in the character.
294+
295-
Disable_Moving_Arms = false --Keeps the arms from moving around.
295+
296-
Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
296+
297-
Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
297+
298-
Disable_Jump = false --Disables jumping.
298+
299-
Use_HopperBin = true --Uses a hopperbin to do things.
299+
300
	end
301-
Player_Size = 1 --Size of the player.
301+
302-
Animation_Speed = 2
302+
303
304
function Swait(NUMBER)
305-
Cooldown_1 = 0 --Cooldowns for abilites.
305+
306-
Cooldown_2 = 0
306+
307-
Cooldown_3 = 0
307+
308-
Cooldown_4 = 0
308+
309-
Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
309+
310-
Skill_2_Mana_Cost = 0
310+
311-
Skill_3_Mana_Cost = 0
311+
312-
Skill_4_Mana_Cost = 0
312+
313-
Max_Mana = 0 --Maximum amount of mana you can have.
313+
314-
Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
314+
315-
Mana_Name = "Mana" --Name for the mana bar.
315+
316-
Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
316+
317-
Max_Stun = 1 --Maximum amount of stun you can have.
317+
318-
Recover_Mana = 0 --How much mana you gain.
318+
319-
Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
319+
320-
Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
320+
321-
Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
321+
322-
Recover_Secondary_Mana = 0 --How much secondary mana you gain.
322+
323-
Lose_Stun = 0 --How much stun you lose.
323+
324-
Stun_Wait = 0 --Delay between losing stun.
324+
325-
Mana_Wait = 0 --Delay between gaining mana.
325+
326-
Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
326+
327-
Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
327+
328-
Constant_Update = false --Removes the delay between updating the Weapon GUI.
328+
329-
Show_Stats = false --Hides or shows stats.
329+
330-
Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
330+
331
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
332
	local NEWPART = IT("Part")
333
	NEWPART.formFactor = FORMFACTOR
334
	NEWPART.Reflectance = REFLECTANCE
335
	NEWPART.Transparency = TRANSPARENCY
336
	NEWPART.CanCollide = false
337
	NEWPART.Locked = true
338
	NEWPART.Anchored = true
339
	if ANCHOR == false then
340
		NEWPART.Anchored = false
341
	end
342
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
343
	NEWPART.Name = NAME
344
	NEWPART.Size = SIZE
345
	NEWPART.Position = Torso.Position
346
	NEWPART.Material = MATERIAL
347
	NEWPART:BreakJoints()
348
	NEWPART.Parent = PARENT
349
	return NEWPART
350
end
351
352
	local function weldBetween(a, b)
353
	    local weldd = Instance.new("ManualWeld")
354
	    weldd.Part0 = a
355
	    weldd.Part1 = b
356
	    weldd.C0 = CFrame.new()
357
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
358
	    weldd.Parent = a
359
	    return weldd
360
	end
361
362
363
CV="Magenta"
364
    p = game.Players.LocalPlayer
365
    char = p.Character
366
    local txt = Instance.new("BillboardGui", char)
367
    txt.Adornee = char .Head
368
    txt.Name = "_status"
369
    txt.Size = UDim2.new(2, 0, 1.2, 0)
370
    txt.StudsOffset = Vector3.new(-9, 8, 0)
371
    local text = Instance.new("TextLabel", txt)
372
    text.Size = UDim2.new(10, 0, 7, 0)
373
    text.FontSize = "Size24"
374
    text.TextScaled = true
375
    text.TextTransparency = 0
376
    text.BackgroundTransparency = 1
377
    text.TextTransparency = 0
378
    text.TextStrokeTransparency = 0
379
    text.Font = "Bodoni"
380
    text.TextStrokeColor3 = Color3.new(0,0,0)
381
 
382
    v=Instance.new("Part")
383
    v.Name = "ColorBrick"
384
    v.Parent=p.Character
385
    v.FormFactor="Symmetric"
386
    v.Anchored=true
387
    v.CanCollide=false
388
    v.BottomSurface="Smooth"
389
    v.TopSurface="Smooth"
390
    v.Size=Vector3.new(10,5,3)
391
    v.Transparency=1
392
    v.CFrame=char.Torso.CFrame
393
    v.BrickColor=BrickColor.new(CV)
394
    v.Transparency=1
395
    text.TextColor3 = Color3.new(255,0,0)
396
    v.Shape="Block"
397
    text.Text = "Anime Girl"
398
399
400
function QuaternionFromCFrame(cf)
401
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
402
	local trace = m00 + m11 + m22
403
	if trace > 0 then 
404
		local s = math.sqrt(1 + trace)
405
		local recip = 0.5 / s
406
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
407
	else
408
		local i = 0
409
		if m11 > m00 then
410
			i = 1
411
		end
412
		if m22 > (i == 0 and m00 or m11) then
413
			i = 2
414
		end
415
		if i == 0 then
416
			local s = math.sqrt(m00 - m11 - m22 + 1)
417
			local recip = 0.5 / s
418
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
419
		elseif i == 1 then
420
			local s = math.sqrt(m11 - m22 - m00 + 1)
421
			local recip = 0.5 / s
422
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
423
		elseif i == 2 then
424
			local s = math.sqrt(m22 - m00 - m11 + 1)
425
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
426
		end
427
	end
428
end
429
 
430
function QuaternionToCFrame(px, py, pz, x, y, z, w)
431
	local xs, ys, zs = x + x, y + y, z + z
432
	local wx, wy, wz = w * xs, w * ys, w * zs
433
	local xx = x * xs
434
	local xy = x * ys
435
	local xz = x * zs
436
	local yy = y * ys
437
	local yz = y * zs
438
	local zz = z * zs
439
	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))
440
end
441
 
442
function QuaternionSlerp(a, b, t)
443
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
444
	local startInterp, finishInterp;
445
	if cosTheta >= 0.0001 then
446
		if (1 - cosTheta) > 0.0001 then
447
			local theta = ACOS(cosTheta)
448
			local invSinTheta = 1 / SIN(theta)
449
			startInterp = SIN((1 - t) * theta) * invSinTheta
450
			finishInterp = SIN(t * theta) * invSinTheta
451
		else
452
			startInterp = 1 - t
453
			finishInterp = t
454
		end
455
	else
456
		if (1 + cosTheta) > 0.0001 then
457
			local theta = ACOS(-cosTheta)
458
			local invSinTheta = 1 / SIN(theta)
459
			startInterp = SIN((t - 1) * theta) * invSinTheta
460
			finishInterp = SIN(t * theta) * invSinTheta
461
		else
462
			startInterp = t - 1
463
			finishInterp = t
464
		end
465
	end
466
	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
467
end
468
469
function Clerp(a, b, t)
470
	local qa = {QuaternionFromCFrame(a)}
471
	local qb = {QuaternionFromCFrame(b)}
472
	local ax, ay, az = a.x, a.y, a.z
473
	local bx, by, bz = b.x, b.y, b.z
474
	local _t = 1 - t
475
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
476
end
477
478
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
479
	local frame = IT("Frame")
480
	frame.BackgroundTransparency = TRANSPARENCY
481
	frame.BorderSizePixel = BORDERSIZEPIXEL
482
	frame.Position = POSITION
483
	frame.Size = SIZE
484
	frame.BackgroundColor3 = COLOR
485
	frame.BorderColor3 = BORDERCOLOR
486
	frame.Name = NAME
487
	frame.Parent = PARENT
488
	return frame
489
end
490
491
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
492
	local label = IT("TextLabel")
493
	label.BackgroundTransparency = 1
494
	label.Size = UD2(1, 0, 1, 0)
495
	label.Position = UD2(0, 0, 0, 0)
496
	label.TextColor3 = TEXTCOLOR
497
	label.TextStrokeTransparency = STROKETRANSPARENCY
498
	label.TextTransparency = TRANSPARENCY
499
	label.FontSize = TEXTFONTSIZE
500
	label.Font = TEXTFONT
501
	label.BorderSizePixel = BORDERSIZEPIXEL
502
	label.TextScaled = false
503
	label.Text = TEXT
504
	label.Name = NAME
505
	label.Parent = PARENT
506
	return label
507
end
508
509
function NoOutlines(PART)
510
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
511
end
512
513
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
514
	local NEWWELD = IT(TYPE)
515
	NEWWELD.Part0 = PART0
516
	NEWWELD.Part1 = PART1
517
	NEWWELD.C0 = C0
518
	NEWWELD.C1 = C1
519
	NEWWELD.Parent = PARENT
520
	return NEWWELD
521
end
522
523
local S = IT("Sound")
524
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
525
	local NEWSOUND = nil
526
	coroutine.resume(coroutine.create(function()
527
		NEWSOUND = S:Clone()
528
		NEWSOUND.Parent = PARENT
529
		NEWSOUND.Volume = VOLUME
530
		NEWSOUND.Pitch = PITCH
531
		NEWSOUND.SoundId = "1753701701"..ID
532
		NEWSOUND:play()
533
		if DOESLOOP == true then
534
			NEWSOUND.Looped = true
535
		else
536
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
537
			NEWSOUND:remove()
538
		end
539
	end))
540
	return NEWSOUND
541
end
542
543
function CFrameFromTopBack(at, top, back)
544
	local right = top:Cross(back)
545
	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)
546
end
547
548
--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})
549
function WACKYEFFECT(Table)
550
	local TYPE = (Table.EffectType or "Sphere")
551
	local SIZE = (Table.Size or VT(1,1,1))
552
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
553
	local TRANSPARENCY = (Table.Transparency or 0)
554
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
555
	local CFRAME = (Table.CFrame or Torso.CFrame)
556
	local MOVEDIRECTION = (Table.MoveToPos or nil)
557
	local ROTATION1 = (Table.RotationX or 0)
558
	local ROTATION2 = (Table.RotationY or 0)
559
	local ROTATION3 = (Table.RotationZ or 0)
560
	local MATERIAL = (Table.Material or "Neon")
561
	local COLOR = (Table.Color or C3(1,1,1))
562
	local TIME = (Table.Time or 45)
563
	local SOUNDID = (Table.SoundID or nil)
564
	local SOUNDPITCH = (Table.SoundPitch or nil)
565
	local SOUNDVOLUME = (Table.SoundVolume or nil)
566
	coroutine.resume(coroutine.create(function()
567
		local PLAYSSOUND = false
568
		local SOUND = nil
569
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
570
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
571
			PLAYSSOUND = true
572
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
573
		end
574
		EFFECT.Color = COLOR
575
		local MSH = nil
576
		if TYPE == "Sphere" then
577
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
578
		elseif TYPE == "Block" then
579
			MSH = IT("BlockMesh",EFFECT)
580-
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
580+
581
		elseif TYPE == "Wave" then
582
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
583
		elseif TYPE == "Ring" then
584
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
585
		elseif TYPE == "Slash" then
586
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
587
		elseif TYPE == "Round Slash" then
588
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
589
		elseif TYPE == "Swirl" then
590
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
591
		elseif TYPE == "Skull" then
592
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
593
		elseif TYPE == "Crystal" then
594
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
595
		end
596
		if MSH ~= nil then
597
			local MOVESPEED = nil
598
			if MOVEDIRECTION ~= nil then
599
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
600
			end
601
			local GROWTH = SIZE - ENDSIZE
602
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
603
			if TYPE == "Block" then
604
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
605
			else
606
				EFFECT.CFrame = CFRAME
607
			end
608
			for LOOP = 1, TIME+1 do
609
				Swait()
610
				MSH.Scale = MSH.Scale - GROWTH/TIME
611
				if TYPE == "Wave" then
612
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
613
				end
614
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
615
				if TYPE == "Block" then
616
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
617
				else
618
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
619
				end
620
				if MOVEDIRECTION ~= nil then
621
					local ORI = EFFECT.Orientation
622
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
623
					EFFECT.Orientation = ORI
624
				end
625
			end
626
			if PLAYSSOUND == false then
627
				EFFECT:remove()
628
			else
629
				SOUND.Stopped:Connect(function()
630
					EFFECT:remove()
631
				end)
632
			end
633
		else
634
			if PLAYSSOUND == false then
635
				EFFECT:remove()
636
			else
637
				repeat Swait() until SOUND.Playing == false
638
				EFFECT:remove()
639
			end
640
		end
641
	end))
642
end
643
644
function MakeForm(PART,TYPE)
645
	if TYPE == "Cyl" then
646
		local MSH = IT("CylinderMesh",PART)
647
	elseif TYPE == "Ball" then
648
		local MSH = IT("SpecialMesh",PART)
649
		MSH.MeshType = "Sphere"
650
	elseif TYPE == "Wedge" then
651
		local MSH = IT("SpecialMesh",PART)
652
		MSH.MeshType = "Wedge"
653
	end
654
end
655
656
function SpawnTrail(FROM,TO,BIG)
657
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
658
	MakeForm(TRAIL,"Cyl")
659
	local DIST = (FROM - TO).Magnitude
660
	if BIG == true then
661
		TRAIL.Size = VT(0.5,DIST,0.5)
662
	else
663
		TRAIL.Size = VT(0.25,DIST,0.25)
664
	end
665
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
666
	coroutine.resume(coroutine.create(function()
667
		for i = 1, 5 do
668
			Swait()
669
			TRAIL.Transparency = TRAIL.Transparency + 0.1
670
		end
671
		TRAIL:remove()
672
	end))
673
end
674
675
Debris = game:GetService("Debris")
676
677
function CastProperRay(StartPos, EndPos, Distance, Ignore)
678
	local DIRECTION = CF(StartPos,EndPos).lookVector
679
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
680
end
681
682
function turnto(position)
683
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
684
end
685
686
function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
687
local acs = Instance.new("Part")
688
acs.CanCollide = false
689
acs.Anchored = false
690
acs.Size = Vector3.new(0,0,0)
691
acs.CFrame = attachmentpart.CFrame
692
acs.Parent = Character
693
acs.BrickColor = color
694
    local meshs = Instance.new("SpecialMesh")
695
    meshs.MeshId = mesh
696
    meshs.TextureId = texture
697
    meshs.Parent = acs
698
    meshs.Scale = scale
699
    meshs.Offset = offset
700
weldBetween(attachmentpart,acs)
701
end
702
703
Character["Body Colors"].HeadColor = BrickColor.new("Really black")
704
Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
705-
local asd = Instance.new("ParticleEmitter")
705+
Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
706-
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
706+
Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
707-
asd.LightEmission = .1
707+
Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
708-
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
708+
Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
709-
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
709+
710-
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
710+
local RbxUtility = LoadLibrary("RbxUtility")
711-
asd.Transparency = bbb
711+
local Create = RbxUtility.Create
712-
asd.Size = aaa
712+
713-
asd.ZOffset = .9
713+
local m = Create("Model"){
714-
asd.Acceleration = Vector3.new(0, -15, 0)
714+
    Parent = Character,
715-
asd.LockedToPart = false
715+
    Name = "WeaponModel"
716-
asd.EmissionDirection = "Back"
716+
717-
asd.Lifetime = NumberRange.new(1, 2)
717+
718-
asd.Rotation = NumberRange.new(-100, 100)
718+
719-
asd.RotSpeed = NumberRange.new(-100, 100)
719+
720-
asd.Speed = NumberRange.new(10)
720+
721-
asd.Enabled = false
721+
local HitBox = CreatePart(3, B, "Neon", 0, 1, "Really red", "Hitbox", VT(5,1.3,0.6),false)
722-
asd.VelocitySpread = 999
722+
local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
723
-----------------------------------
724-
function getbloody(victim,amount)
724+
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
725-
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
725+
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
726-
	PART.CFrame = victim.CFrame
726+
    local mesh = IT("SpecialMesh",wave)
727-
	local HITPLAYERSOUNDS = {"356551938","264486467"}
727+
    mesh.MeshType = "Sphere"
728-
	Debris:AddItem(PART,5)
728+
    mesh.Scale = SIZE
729-
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
729+
    mesh.Offset = VT(0,0,0)
730-
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
730+
    wave.CFrame = CFRAME
731-
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
731+
    coroutine.resume(coroutine.create(function(PART)
732-
	local prtcl = asd:Clone()
732+
        for i = 1, WAIT do
733-
	prtcl.Parent = PART
733+
            Swait()
734-
	prtcl:Emit(amount*10)
734+
            mesh.Scale = mesh.Scale + GROW
735
            wave.Transparency = wave.Transparency + (1/WAIT)
736
            if wave.Transparency > 0.99 then
737-
local Particle = IT("ParticleEmitter",nil)
737+
                wave:remove()
738-
Particle.Enabled = false
738+
            end
739-
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
739+
740-
Particle.LightEmission = 0.5
740+
    end))
741-
Particle.Rate = 150
741+
742-
Particle.ZOffset = 1
742+
743-
Particle.Rotation = NumberRange.new(-180, 180)
743+
--------------
744-
Particle.RotSpeed = NumberRange.new(-180, 180)
744+
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
745-
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
745+
if TYPE == "Gem" then
746-
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
746+
    local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
747
    acs.Anchored = false
748-
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
748+
    acs.CanCollide = false
749-
function ParticleEmitter(Table)
749+
    acs.CFrame = PART.CFrame
750-
	local PRTCL = Particle:Clone()
750+
    local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
751-
	local Speed = Table.Speed or 5
751+
weldBetween(PART,acs)
752-
	local Drag = Table.Drag or 0
752+
elseif TYPE == "Skull" then
753-
	local Size1 = Table.Size1 or 1
753+
    local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
754-
	local Size2 = Table.Size2 or 5
754+
    acs.Anchored = false
755-
	local Lifetime1 = Table.Lifetime1 or 1
755+
    acs.CanCollide = false
756-
	local Lifetime2 = Table.Lifetime2 or 1.5
756+
    acs.CFrame = PART.CFrame
757-
	local Parent = Table.Parent or Torso
757+
    local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
758-
	local Emit = Table.Emit or 100
758+
weldBetween(PART,acs)
759-
	local Offset = Table.Offset or 360
759+
elseif TYPE == "Eye" then
760-
	local Acel = Table.Acel or VT(0,0,0)
760+
    local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
761-
	local Enabled = Table.Enabled or false
761+
    acs.Anchored = false
762-
	PRTCL.Parent = Parent
762+
    acs.CanCollide = false
763-
	PRTCL.Size = NumberSequence.new(Size1,Size2)
763+
    acs.CFrame = PART.CFrame
764-
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
764+
    local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
765-
	PRTCL.Speed = NumberRange.new(Speed)
765+
weldBetween(PART,acs)
766-
	PRTCL.VelocitySpread = Offset
766+
767-
	PRTCL.Drag = Drag
767+
768-
	PRTCL.Acceleration = Acel
768+
-------------------
769-
	if Enabled == false then
769+
770-
		PRTCL:Emit(Emit)
770+
    for _, v in pairs (Weapon:GetChildren()) do
771-
		Debris:AddItem(PRTCL,Lifetime2)
771+
        if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
772
            local p1 = v.Part1
773-
		PRTCL.Enabled = true
773+
            v.Part1 = nil
774
            local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
775-
	return PRTCL
775+
            v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
776
            v.Part1 = p1
777
        elseif v.ClassName == "Part" then
778
            for _, b in pairs (v:GetChildren()) do
779-
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
779+
                if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
780
                    b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
781
                end
782
            end
783
        end
784
    end
785
end
786
 
787
createaccessory(Head,"http://www.roblox.com/asset/?id=13070796","",VT(1, 1, 1),VT(0, 0.25, 0.1),BrickColor.new"Really black")
788
 
789
 
790
local AT1 = IT("Attachment",RightArm)
791
AT1.Position = VT(0,-1.15,0)
792
local AT2 = IT("Attachment",LeftArm)
793
AT2.Position = VT(0,-1.15,0)
794
 
795
Humanoid.HealthChanged:connect(function()
796
    if Humanoid.Health ~= "inf" then
797
        Humanoid.Health = "inf"
798
    end
799
    if Humanoid.MaxHealth ~= "inf" then
800
        Humanoid.MaxHealth = "inf"
801
    end
802
end)
803
 
804
local EyeSizes={
805
    NumberSequenceKeypoint.new(0,1.2,0),
806
    NumberSequenceKeypoint.new(1,0,0)
807
}
808
local EyeTrans={
809-
--||	      RESIZE PLAYER
809+
    NumberSequenceKeypoint.new(0,0.8,0),
810
    NumberSequenceKeypoint.new(1,1,0)
811
}
812
local PE=Instance.new("ParticleEmitter")
813-
RootPart.Size = RootPart.Size * Player_Size
813+
PE.LightEmission=0
814-
Torso.Size = Torso.Size * Player_Size
814+
PE.Size=NumberSequence.new(EyeSizes)
815-
Head.Size = Head.Size * Player_Size
815+
PE.Transparency=NumberSequence.new(EyeTrans)
816-
RightArm.Size = RightArm.Size * Player_Size
816+
PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
817-
LeftArm.Size = LeftArm.Size * Player_Size
817+
PE.Rotation=NumberRange.new(0,360)
818-
RightLeg.Size = RightLeg.Size * Player_Size
818+
PE.Rate=999
819-
LeftLeg.Size = LeftLeg.Size * Player_Size
819+
PE.Acceleration = Vector3.new(0,0,0)
820-
RootJoint.Parent = RootPart
820+
PE.Drag = 5
821-
Neck.Parent = Torso
821+
PE.LockedToPart = false
822-
RightShoulder.Parent = Torso
822+
PE.Speed = NumberRange.new(0,0,0)
823-
LeftShoulder.Parent = Torso
823+
PE.Rotation = NumberRange.new(-100, 100)
824-
RightHip.Parent = Torso
824+
PE.RotSpeed = NumberRange.new(-100, 100)
825-
LeftHip.Parent = Torso
825+
PE.Texture="http://www.roblox.com/asset/?id=669492379"
826
PE.Color = ColorSequence.new(Color3.new(170, 0, 170))
827-
RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
827+
PE.ZOffset = 0
828-
	RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
828+
PE.Name = "Reign"
829-
	Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
829+
PE.Enabled = false
830-
	Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
830+
PE.VelocitySpread = 10000
831-
	RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
831+
832-
	LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
832+
function particles(art)
833-
	if Disable_Moving_Arms == false then
833+
local o = PE:Clone()
834-
		RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
834+
o.Parent = art
835-
		LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
835+
o.Enabled = true
836
return o
837-
		RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
837+
838-
		LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
838+
839
particles(AT1)
840-
	RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
840+
particles(AT2)
841-
	LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
841+
842-
	RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
842+
createbodypart("Gem","Magenta",Torso,VT(0, 0.2, 0.5),VT(0.6,1.5,0.5))
843-
	LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
843+
createbodypart("Gem","Magenta",Torso,VT(0, -0.2, 0.5),VT(0.2,1,0.5))
844
createbodypart("Gem","Magenta",Torso,VT(-0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
845
createbodypart("Gem","Magenta",Torso,VT(0.3, 0.5, 0.5),VT(0.5,0.8,0.2))
846
 
847
---ribs---
848
createbodypart("Gem","Magenta",Torso,VT(0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
849
createbodypart("Gem","Magenta",Torso,VT(-0.6, 0.9, -0.57),VT(0.8,0.2,0.2))
850
 
851
createbodypart("Gem","Magenta",Torso,VT(0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
852
createbodypart("Gem","Magenta",Torso,VT(-0.7, 0.5, -0.57),VT(0.6,0.2,0.2))
853
 
854-
local PRT = CreatePart(3, char, "Fabric", 0, 0, "", "The Mask", VT(1,1,1),false)
854+
createbodypart("Gem","Magenta",Torso,VT(0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
855-
PRT.Color = C3(0,0,0)
855+
createbodypart("Gem","Magenta",Torso,VT(-0.8, 0.2, -0.57),VT(0.4,0.2,0.2))
856-
local MaskWeld = CreateWeldOrSnapOrMotor("Weld", hed, hed, PRT, CF(0,0.2,0), CF(0, 0.15, 0))
856+
--------------------------------
857-
CreateMesh("SpecialMesh", PRT, "FileMesh", "62146989", "145633085", VT(1.1,1.1,1.1)*1.05, VT(0,0,0))
857+
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
858
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
859-
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
859+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
860-
	local TORSO = Torso
860+
861-
	local HUM = Humanoid
861+
862-
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
862+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
863-
		coroutine.wrap(function()
863+
864-
			VT = Vector3.new
864+
865-
			MRANDOM = math.random
865+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
866-
			local A = TIME
866+
867-
			local B = INTENSITY
867+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
868-
			local C = true
868+
869-
			local HUMANOID = Humanoid
869+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
870-
			local TIMER = A or 35
870+
871-
			local SHAKE = B or 5
871+
872-
			local FADE = C or true
872+
873-
			if HUMANOID then
873+
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
874-
				local FADER = SHAKE / TIMER
874+
875-
				for i = 1, TIMER do
875+
876-
					wait()
876+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
877-
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
877+
878
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
879-
				HUMANOID.CameraOffset = VT(0, 0, 0)
879+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
880
MakeForm(Part,"Ball")
881
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
882-
		end)()
882+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
883
MakeForm(Part,"Wedge")
884
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
885
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
886
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
887-
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
887+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
888-
PRT.Color = C3(0,0,0)
888+
889-
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
889+
890-
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
890+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
891-
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
891+
892-
PRT.Color = C3(0,0,0)
892+
893
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
894-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
894+
895-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
895+
896
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
897
MakeForm(Part,"Wedge")
898-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
898+
899-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
899+
900-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
900+
901-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
901+
902-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
902+
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
903-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
903+
904-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
904+
905-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
905+
906-
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
906+
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
907-
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
907+
908
		LASTPART = Part
909-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
909+
910-
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
910+
911
912
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
913-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
913+
914-
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
914+
915-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
915+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
916-
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
916+
917-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
917+
918-
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
918+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
919-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
919+
920-
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
920+
921-
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
921+
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
922-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
922+
923
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
924-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
924+
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
925-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
925+
926
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
927
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
928-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
928+
929-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
929+
930-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
930+
931-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
931+
932-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
932+
933-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
933+
934-
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
934+
935-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
935+
936-
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
936+
937-
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
937+
938
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
939
		c.Material = "Glass"
940
		c.Color = C3(0,0,0)
941
	elseif c.ClassName == "Part" and c.Name == "Eye" then
942
		c.Color = C3(1,0,0)
943
		c.Material = "Neon"
944
	end
945
end
946
947
Weapon.Parent = Character
948
for _, c in pairs(Weapon:GetChildren()) do
949
	if c.ClassName == "Part" then
950
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
951
	end
952
end
953
954
local SKILLTEXTCOLOR = C3(1,0,0)
955
local SKILLFONT = "Antique"
956
local SKILLTEXTSIZE = 7
957
958
Humanoid.Died:connect(function()
959
	ATTACK = true
960-
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
960+
961
962
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
963
--[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
964
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
965
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
966
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
967
]]
968
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
969
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
970
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
971
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
972
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
973
]]
974
function printbye(Name)
975
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
976
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
977
end
978
979
workspace.ChildAdded:connect(function(instance)
980
    for BANISH = 1, #TOBANISH do
981
		if TOBANISH[BANISH] ~= nil then
982
			if instance.Name == TOBANISH[BANISH] then
983
				coroutine.resume(coroutine.create(function()
984
					printbye(instance.Name)
985
					instance:ClearAllChildren()
986
					Debris:AddItem(instance,0.0005)
987
				end))
988
			end
989
		end
990
	end
991
end)
992
993
--//=================================\\
994
--||			DAMAGING
995
--\\=================================//
996
997
function Banish(Foe)
998
	if Foe then
999
		coroutine.resume(coroutine.create(function()
1000
			--if game.Players:FindFirstChild(Foe.Name) then
1001
				table.insert(TOBANISH,Foe.Name)
1002
				printbye(Foe.Name)
1003
			--end
1004
			Foe.Archivable = true
1005
			local CLONE = Foe:Clone()
1006
			Foe:Destroy()
1007
			CLONE.Parent = Effects
1008
			CLONE:BreakJoints()
1009
			local MATERIALS = {"Glass","Neon"}
1010
			for _, c in pairs(CLONE:GetDescendants()) do
1011
				if c:IsA("BasePart") then
1012
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1013
 						CreateSound(340722848, c, 10, 1, false)
1014
					end
1015
					c.Anchored = true
1016
					c.Transparency = c.Transparency + 0.2
1017
					c.Material = MATERIALS[MRANDOM(1,2)]
1018
					c.Color = C3(1,0,0)
1019
					if c.ClassName == "MeshPart" then
1020
						c.TextureID = ""
1021
					end
1022
					if c:FindFirstChildOfClass("SpecialMesh") then
1023
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1024
					end
1025
					if c:FindFirstChildOfClass("Decal") then
1026
						c:FindFirstChildOfClass("Decal"):remove()
1027
					end
1028
					c.Name = "Banished"
1029
					c.CanCollide = false
1030
				else
1031
					c:remove()
1032
				end
1033
			end
1034
			local A = false
1035
			for i = 1, 35 do
1036-
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1036+
1037-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1037+
1038-
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1038+
1039-
	wave.CFrame = CFRAME
1039+
1040-
	coroutine.resume(coroutine.create(function(PART)
1040+
1041-
		for i = 1, WAIT do
1041+
1042
					if c:IsA("BasePart") then
1043-
			mesh.Scale = mesh.Scale + GROW
1043+
1044-
			if DOESROT == true then
1044+
1045-
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1045+
1046
						if A == false then
1047-
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1047+
1048-
			if wave.Transparency > 0.99 then
1048+
1049-
				wave:remove()
1049+
1050
						end
1051
					end
1052
				end
1053
				Swait()
1054
			end
1055-
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1055+
1056-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1056+
1057-
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1057+
1058-
	wave.CFrame = CFRAME
1058+
1059-
	coroutine.resume(coroutine.create(function(PART)
1059+
1060-
		for i = 1, WAIT do
1060+
1061
	local CHILDREN = workspace:GetDescendants()
1062-
			mesh.Scale = mesh.Scale + GROW
1062+
1063-
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1063+
1064-
			if DOESROT == true then
1064+
1065-
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1065+
1066
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1067-
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1067+
1068-
			if wave.Transparency > 0.99 then
1068+
1069-
				wave:remove()
1069+
1070
							Banish(CHILD)
1071
						else
1072
							if ISBANISH == "Gravity" then
1073
								HUM.PlatformStand = true
1074
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1075
									local grav = Instance.new("BodyPosition",TORSO)
1076
									grav.D = 15
1077
									grav.P = 20000
1078
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1079
									grav.position = TORSO.Position
1080
									grav.Name = "V3BanishForce"..Player.Name
1081
								else
1082
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1083
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1084
								end
1085
							else
1086
								HUM.PlatformStand = false
1087
							end
1088
						end
1089
					elseif ISBANISH == "Gravity" then
1090
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1091
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1092
							HUM.PlatformStand = false
1093
						end
1094
					end
1095
				end
1096
			end
1097
		end
1098
	end
1099
end
1100
1101
--//=================================\\
1102
--||	ATTACK FUNCTIONS AND STUFF
1103
--\\=================================//
1104
1105
function Banisher_Bullet()
1106
	ATTACK = true
1107
	Rooted = false
1108
	for i=0, 0.4, 0.1 / Animation_Speed do
1109
		Swait()
1110
		turnto(Mouse.Hit.p)
1111
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1112
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1113
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1114
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1115
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1116
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1117
	end
1118
	repeat
1119
		for i=0, 0.2, 0.1 / Animation_Speed do
1120
			Swait()
1121
			turnto(Mouse.Hit.p)
1122
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1123
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1124
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1125
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1126
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1127
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1128
		end
1129
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1130
		SpawnTrail(Hole.Position,POS)
1131
		if HIT ~= nil then
1132
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1133
				Banish(HIT.Parent)
1134
			end
1135
		end
1136
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1137
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1138
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1139
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1140
		for i=0, 0.3, 0.1 / Animation_Speed do
1141
			Swait()
1142
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1143
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1144
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1145
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1146
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1147
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1148
		end
1149
	until KEYHOLD == false
1150
	ATTACK = false
1151
	Rooted = false
1152
end
1153
1154
function AttackTemplate()
1155
	ATTACK = true
1156
	Rooted = false
1157
	for i=0, 1, 0.1 / Animation_Speed do
1158
		Swait()
1159
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1160
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1161
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1162
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1163
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1164
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1165
	end
1166
	ATTACK = false
1167
	Rooted = false
1168
end
1169
1170
    Humanoid.WalkSpeed = 200
1171-
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
1171+
    Humanoid.JumpPower = 1006
1172-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1172+
1173-
	local mesh
1173+
function Cso(ID, PARENT, VOLUME, PITCH)
1174-
	if KIND == "Base" then
1174+
	local NSound = nil
1175-
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
1175+
1176-
	elseif KIND == "Thin" then
1176+
		NSound = IT("Sound", PARENT)
1177-
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1177+
		NSound.Volume = VOLUME
1178-
	elseif KIND == "Round" then
1178+
		NSound.Pitch = PITCH
1179-
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1179+
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1180
		swait()
1181-
	wave.CFrame = CFRAME
1181+
		NSound:play()
1182-
	coroutine.resume(coroutine.create(function(PART)
1182+
		game:GetService("Debris"):AddItem(NSound, 10)
1183-
		for i = 1, WAIT do
1183+
1184
	return NSound
1185-
			mesh.Scale = mesh.Scale + GROW / 10
1185+
1186-
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1186+
1187-
			if wave.Transparency > 0.99 then
1187+
function Laugh()
1188-
				wave:remove()
1188+
1189
	Rooted = true
1190
	Cso("649634100", Head, 10, 0.5)
1191
	for i=0, 0.5, 0.1 / Animation_Speed do
1192
		Swait()
1193
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1194-
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1194+
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1195-
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1195+
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1196-
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1196+
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1197-
	wave.CFrame = CFRAME
1197+
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1198-
	coroutine.resume(coroutine.create(function(PART)
1198+
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1199-
		for i = 1, WAIT do
1199+
1200
	for i=1, 185 do
1201-
			mesh.Scale = mesh.Scale + GROW
1201+
1202-
			if DOESROT == true then
1202+
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1203-
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1203+
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1204
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1205-
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1205+
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1206-
			if wave.Transparency > 0.99 then
1206+
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1207-
				wave:remove()
1207+
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1208
	end
1209
	ATTACK = false
1210
	Rooted = false
1211
end
1212-
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1212+
1213-
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1213+
function WarpMeteor()
1214-
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1214+
    local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1215-
	wave.CFrame = CFRAME
1215+
    if DIST > 180 then
1216-
	coroutine.resume(coroutine.create(function(PART)
1216+
        DIST = 180
1217-
		for i = 1, WAIT do
1217+
1218
    local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
1219-
			mesh.Scale = mesh.Scale + GROW
1219+
    local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1220-
			wave.Transparency = wave.Transparency + 1 / WAIT
1220+
    if HITFLOOR then
1221-
			if wave.Transparency > 0.99 then
1221+
        local POS = HITPOS 
1222-
				wave:remove()
1222+
        ATTACK = true
1223
        Rooted = true
1224
        local WARPED = false
1225
        local SMASHED = false
1226
        local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1227
        coroutine.resume(coroutine.create(function()
1228-
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1228+
            repeat
1229-
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1229+
                Swait()
1230-
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1230+
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1231-
	wave.CFrame = CFRAME
1231+
                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)
1232-
	coroutine.resume(coroutine.create(function(PART)
1232+
                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)
1233-
		for i = 1, WAIT do
1233+
                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)
1234
                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)
1235-
			mesh.Scale = mesh.Scale + GROW
1235+
                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)
1236-
			wave.Transparency = wave.Transparency + 1 / WAIT
1236+
            until WARPED == true
1237-
			if wave.Transparency > 0.99 then
1237+
            repeat
1238-
				wave:remove()
1238+
                Swait()
1239
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1240
                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)
1241
                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)
1242
                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)
1243
                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)
1244
                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)
1245-
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1245+
            until SMASHED == true
1246
            repeat
1247-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1247+
                Swait()
1248
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1249
            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)
1250-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1250+
            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)
1251
            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)
1252
            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)
1253-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1253+
            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)
1254
            until ATTACK == false
1255-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1255+
        end))
1256
        VALUE1 = true
1257-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1257+
        CreateSound(233856115, Torso, 5, 1.6, false)
1258
        for i = 1, 25 do
1259
            Swait()
1260
            for _, c in pairs(Character:GetChildren()) do
1261-
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1261+
                if c.ClassName == "Part" then
1262
                    c.Transparency = c.Transparency + 1/25
1263
                end
1264-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1264+
            end
1265
            for _, c in pairs(Weapon:GetChildren()) do
1266
                if c.ClassName == "Part" then
1267-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1267+
                    c.Transparency = c.Transparency + 1/25
1268
                end
1269
            end
1270-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1270+
1271
        UNANCHOR = false
1272
        RootPart.Anchored = true
1273-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1273+
        RootPart.Velocity = VT(0,0,0)
1274
        local ROOTPOS = RootPart.Position
1275-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1275+
        RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1276
        WARPED = true
1277
        for i = 1, 25 do
1278-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1278+
            Swait()
1279
            for _, c in pairs(Character:GetChildren()) do
1280
                if c.ClassName == "Part" then
1281-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1281+
                    c.Transparency = c.Transparency - 1/25
1282
                end
1283
            end
1284-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1284+
            for _, c in pairs(Weapon:GetChildren()) do
1285
                if c.ClassName == "Part" then
1286
                    c.Transparency = c.Transparency - 1/25
1287
                end
1288
            end
1289
        end
1290-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1290+
        local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
1291
        SHELL.CFrame = RootPart.CFrame
1292
        MakeForm(SHELL,"Ball")
1293
        CreateSound(402981977, SHELL, 5, 1.6, false)
1294-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1294+
        for i = 1, 10 do
1295
            Swait()
1296
            SHELL.Transparency = SHELL.Transparency - 1/10
1297
            SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1298
        end
1299
        for i = 1, math.ceil(75/2) do
1300-
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1300+
            Swait()
1301
            RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1302
            SHELL.CFrame = CF(RootPart.Position)
1303-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1303+
            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})
1304
        end
1305
        RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1306-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1306+
        SHELL.CFrame = CF(RootPart.Position)
1307
        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})
1308
        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})
1309-
local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1309+
        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})
1310-
MakeForm(Hole2,"Cyl")
1310+
        for i = 1, 5 do
1311-
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
1311+
            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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1312-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1312+
1313
        SHELL:remove()
1314
        ApplyAoE(RootPart.Position,75,35,75,175,false)
1315-
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1315+
        SMASHED = true
1316
        wait(1)
1317
        VALUE1 = false
1318
        UNANCHOR = true
1319
        ATTACK = false
1320
        Rooted = false
1321
    end
1322
end
1323
 
1324
--//=================================\\
1325-
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1325+
1326-
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1326+
1327
1328
function MouseDown(Mouse)
1329
	if ATTACK == false then
1330
	end
1331
end
1332
1333
function MouseUp(Mouse)
1334
HOLD = false
1335
end
1336
1337
function KeyDown(Key)
1338
	KEYHOLD = true
1339
	if Key == "z" and ATTACK == false then
1340
		Banisher_Bullet()
1341
	end
1342
1343
	if Key == "t" and ATTACK == false then
1344
		Laugh()
1345-
function ParticleEmitter(Table)
1345+
1346-
	local PRTCL = Particle:Clone()
1346+
1347-
	local Speed = Table.Speed or 5
1347+
	if Key == "x" and ATTACK == false then
1348-
	local Drag = Table.Drag or 0
1348+
                WarpMeteor()
1349-
	local Size1 = Table.Size1 or 1
1349+
1350-
	local Size2 = Table.Size2 or 5
1350+
1351-
	local Lifetime1 = Table.Lifetime1 or 1
1351+
1352-
	local Lifetime2 = Table.Lifetime2 or 1.5
1352+
function KeyUp(Key)
1353-
	local Parent = Table.Parent or Torso
1353+
	KEYHOLD = false
1354-
	local Emit = Table.Emit or 100
1354+
1355-
	local Offset = Table.Offset or 360
1355+
1356-
	local Acel = Table.Acel or VT(0,0,0)
1356+
	Mouse.Button1Down:connect(function(NEWKEY)
1357-
	local Enabled = Table.Enabled or false
1357+
		MouseDown(NEWKEY)
1358-
	PRTCL.Parent = Parent
1358+
1359-
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1359+
	Mouse.Button1Up:connect(function(NEWKEY)
1360-
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1360+
		MouseUp(NEWKEY)
1361-
	PRTCL.Speed = NumberRange.new(Speed)
1361+
1362-
	PRTCL.VelocitySpread = Offset
1362+
	Mouse.KeyDown:connect(function(NEWKEY)
1363-
	PRTCL.Drag = Drag
1363+
		KeyDown(NEWKEY)
1364-
	PRTCL.Acceleration = Acel
1364+
1365-
	if Enabled == false then
1365+
	Mouse.KeyUp:connect(function(NEWKEY)
1366-
		PRTCL:Emit(Emit)
1366+
		KeyUp(NEWKEY)
1367-
		Debris:AddItem(PRTCL,Lifetime2)
1367+
1368
1369-
		PRTCL.Enabled = true
1369+
1370
--\\=================================//
1371-
	return PRTCL
1371+
1372
1373
function unanchor()
1374-
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1374+
1375-
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1375+
1376-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1376+
1377
			if g[i].ClassName == "Part" then
1378
				g[i].Anchored = false
1379-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1379+
1380
		end
1381
	end
1382-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1382+
1383
1384-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1384+
1385
--//=================================\\
1386-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1386+
1387
--\\=================================//
1388
1389
Humanoid.Changed:connect(function(Jump)
1390-
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1390+
1391
		Humanoid.Jump = false
1392
	end
1393-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1393+
1394
1395
local CONNECT = nil
1396-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1396+
1397
while true do
1398
	Swait()
1399-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1399+
1400
	if Character:FindFirstChildOfClass("Humanoid") == nil then
1401
		Humanoid = IT("Humanoid",Character)
1402-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1402+
1403
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1404-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1404+
1405
	end
1406
	SINE = SINE + CHANGE
1407-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1407+
1408
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1409
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1410-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1410+
	local WALKSPEEDVALUE = 24  / (Humanoid.WalkSpeed / 16)
1411
        if ANIM == "Walk" and TORSOVELOCITY > 1 then
1412
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1413-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1413+
            Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1414
            RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2)
1415
            LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed*2)
1416
        elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1417
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1418
            Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1419-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1419+
            RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2)
1420
            LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*2)
1421
	end
1422
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1423-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1423+
1424
		if ATTACK == false then
1425
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1426
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1427
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1428
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1429-
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1429+
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1430
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1431
	    end
1432-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1432+
1433
		ANIM = "Fall"
1434
		if ATTACK == false then
1435-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1435+
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1436
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1437
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1438-
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1438+
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1439
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1440
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1441-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1441+
1442
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1443
		ANIM = "Idle"
1444-
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1444+
1445
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1446
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1447
                --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
1448
                --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
1449
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1450
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1451
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1452
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1453
		end
1454-
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1454+
1455-
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1455+
1456
		if ATTACK == false then
1457
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.5 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1458
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1459
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
1460
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1461
                --RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1462
                --LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1463
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1464
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1465
		end
1466
	end
1467
	unanchor()
1468
	Humanoid.MaxHealth = "inf"
1469
	Humanoid.Health = "inf"
1470
	if Rooted == false then
1471
		Disable_Jump = false
1472
		Humanoid.WalkSpeed = Speed
1473
	elseif Rooted == true then
1474
		Disable_Jump = true
1475
		Humanoid.WalkSpeed = 0
1476
	end
1477
end
1478
1479
--//=================================\\
1480
--\\=================================//
1481
1482
1483
1484
1485
1486
--//====================================================\\--
1487
--||			  		 END OF SCRIPT
1488
--\\====================================================//--