View difference between Paste ID: Rdb5eFX8 and Esg6VDDJ
SHOW: | | - or go back to the newest paste.
1-
--{{{    slenercat5's    }}}---
1+
--//====================================================\\--
2-
--{      Beat drop script      }--
2+
--||			   CREATED BY SHACKLUSTER
3-
Player=game.Players.LocalPlayer
3+
--||			   EDITED BY ZYOTECH
4-
Character=Player.Character
4+
--\\====================================================//--
5-
Head=Character:waitForChild('Head')
5+
6-
Torso=Character:waitForChild('Torso')
6+
warn'Edited by Zyotech, Steampunk bot'
7-
RootPart=Character:waitForChild('HumanoidRootPart')
7+
8-
Character.Health:remove()
8+
function swait(num)
9-
Character.Humanoid.MaxHealth=0
9+
    if num == 0 or num == nil then
10-
Humanoid=Character.Humanoid
10+
        ArtificialHB.Event:wait()
11-
Humanoid.Name='F'..math.random(0,1).. math.random(0,1) .. 'F' .. math.random(0,1)
11+
    else
12-
ff=Instance.new('ForceField',Character)ff.Visible=false
12+
        for i = 0, num do
13-
function rpg()-- remove player gravity
13+
            ArtificialHB.Event:wait()
14-
Character.Animate.Parent=nil
14+
        end
15-
for _,v in pairs (Torso:GetChildren()) do
15+
    end
16-
if v:IsA('Motor6D') then
16+
17-
	v:remove()
17+
18
function chatfunc(text)
19-
end	
19+
    local chat = coroutine.wrap(function()
20
    if Character:FindFirstChild("TalkingBillBoard")~= nil then
21-
local svch = Character
21+
        Character:FindFirstChild("TalkingBillBoard"):destroy()
22-
	local hum = Character:findFirstChild("Humanoid")
22+
    end
23-
	Character.Archivable = true
23+
    local Bill = Instance.new("BillboardGui",Character)
24-
	local chrclone = Character:clone()
24+
    Bill.Size = UDim2.new(0,100,0,40)
25-
	Character.Archivable = false
25+
    Bill.StudsOffset = Vector3.new(0,3,0)
26
    Bill.Adornee = Character.Head
27-
	local ch = chrclone:GetChildren()
27+
    Bill.Name = "TalkingBillBoard"
28-
	local i
28+
    local Hehe = Instance.new("TextLabel",Bill)
29-
	for i = 1,#ch do
29+
    Hehe.BackgroundTransparency = 1
30-
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
30+
    Hehe.BorderSizePixel = 0
31-
			ch[i]:remove()
31+
    Hehe.Text = ""
32
    Hehe.Font = "Garamond"
33
    Hehe.TextSize = 40
34-
	local function Scan(ch)
34+
    Hehe.TextStrokeTransparency = 0
35-
		local e
35+
    Hehe.Size = UDim2.new(1,0,0.5,0)
36-
		for e = 1,#ch do
36+
    coroutine.resume(coroutine.create(function()
37-
			Scan(ch[e]:GetChildren())
37+
        while Hehe ~= nil do
38-
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
38+
            swait()
39-
				ch[e]:remove()
39+
            Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) 
40
            Hehe.Rotation = math.random(-5,5)
41
            Hehe.TextColor3 = Color3.new(255,255,0)
42
            Hehe.TextStrokeColor3 = Color3.new(0,0,0)
43-
	Scan(chrclone:GetChildren())
43+
        end
44
    end))
45-
	local hum2 = chrclone:findFirstChild("Humanoid")
45+
    for i = 1,string.len(text),1 do
46
        swait()
47
        Hehe.Text = string.sub(text,1,i)
48-
	if hum2 ~= nil then
48+
    end
49-
		hum2.Name = "Humanoid2"
49+
    swait(90)--Re[math.random(1, 93)]
50-
		hum2.PlatformStand = true
50+
    for i = 0, 1, .025 do
51-
		hum2.Sit = true 
51+
        swait()
52-
		hum2.MaxHealth = 0
52+
        Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
53-
		hum2.Health = 0
53+
        Hehe.TextStrokeTransparency = i
54
        Hehe.TextTransparency = i
55
    end
56-
	local ch = Character:GetChildren()
56+
    Bill:Destroy()
57-
	local i
57+
    end)
58-
	for i = 1,#ch do
58+
chat()
59-
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
59+
60-
			ch[i]:remove()
60+
61
function onChatted(msg)
62
    chatfunc(msg)
63
end
64
65
wait(0.2)
66-
	local ch = Character:GetChildren()
66+
67-
	local i
67+
Player = game:GetService("Players").LocalPlayer
68-
	local Torso = Character.Torso
68+
PlayerGui = Player.PlayerGui
69-
	local movevector = Vector3.new()
69+
Cam = workspace.CurrentCamera
70
Backpack = Player.Backpack
71-
		local Head = Character:FindFirstChild("Head")
71+
Character = Player.Character
72-
		if Head then
72+
Humanoid = Character.Humanoid
73-
			local Neck = Instance.new("Weld")
73+
Mouse = Player:GetMouse()
74-
			Neck.Name = "Neck"
74+
RootPart = Character["HumanoidRootPart"]
75-
			Neck.Part0 = Torso
75+
Torso = Character["Torso"]
76-
			Neck.Part1 = Head
76+
Head = Character["Head"]
77-
			Neck.C0 = CFrame.new(0, 1.5, 0)
77+
RightArm = Character["Right Arm"]
78-
			Neck.C1 = CFrame.new()
78+
LeftArm = Character["Left Arm"]
79-
			Neck.Parent = Torso
79+
RightLeg = Character["Right Leg"]
80
LeftLeg = Character["Left Leg"]
81-
		local Limb = Character:FindFirstChild("Right Arm")
81+
RootJoint = RootPart["RootJoint"]
82-
		if Limb then
82+
Neck = Torso["Neck"]
83
RightShoulder = Torso["Right Shoulder"]
84-
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
84+
LeftShoulder = Torso["Left Shoulder"]
85-
			local Joint = Instance.new("Glue")
85+
RightHip = Torso["Right Hip"]
86-
			Joint.Name = "RightShoulder"
86+
LeftHip = Torso["Left Hip"]
87-
			Joint.Part0 = Torso
87+
88-
			Joint.Part1 = Limb
88+
IT = Instance.new
89-
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
89+
CF = CFrame.new
90-
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
90+
VT = Vector3.new
91-
			Joint.Parent = Torso
91+
RAD = math.rad
92
C3 = Color3.new
93-
			local B = Instance.new("Part")
93+
UD2 = UDim2.new
94-
			B.TopSurface = 0
94+
BRICKC = BrickColor.new
95-
			B.BottomSurface = 0
95+
ANGLES = CFrame.Angles
96-
			B.formFactor = "Symmetric"
96+
EULER = CFrame.fromEulerAnglesXYZ
97-
			B.Size = Vector3.new(1, 1, 1)
97+
COS = math.cos
98-
			B.Transparency = 1
98+
ACOS = math.acos
99-
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
99+
SIN = math.sin
100-
			B.Parent = Character
100+
ASIN = math.asin
101-
			local W = Instance.new("Weld")
101+
ABS = math.abs
102-
			W.Part0 = Limb
102+
MRANDOM = math.random
103-
			W.Part1 = B
103+
FLOOR = math.floor
104-
			W.C0 = CFrame.new(0, -0.5, 0)
104+
105-
			W.Parent = Limb
105+
106
--//=================================\\
107
--|| 	      USEFUL VALUES
108-
		local Limb = Character:FindFirstChild("Left Arm")
108+
--\\=================================//
109-
		if Limb then
109+
110
Animation_Speed = 3
111-
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
111+
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
112-
			local Joint = Instance.new("Glue")
112+
local Speed = 16
113-
			Joint.Name = "LeftShoulder"
113+
local SIZE = 1
114-
			Joint.Part0 = Torso
114+
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
115-
			Joint.Part1 = Limb
115+
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
116-
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
116+
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
117-
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
117+
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
118-
			Joint.Parent = Torso
118+
local DAMAGEMULTIPLIER = 1
119
local ANIM = "Idle"
120-
			local B = Instance.new("Part")
120+
local ATTACK = false
121-
			B.TopSurface = 0
121+
local EQUIPPED = false
122-
			B.BottomSurface = 0
122+
local HOLD = false
123-
			B.formFactor = "Symmetric"
123+
local COMBO = 1
124-
			B.Size = Vector3.new(1, 1, 1)
124+
local Rooted = false
125-
			B.Transparency = 1
125+
local SINE = 0
126-
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
126+
local TOBANISH = {}
127-
			B.Parent = Character
127+
local KEYHOLD = false
128-
			local W = Instance.new("Weld")
128+
local LAUGHS = {834001699,834001752,834001797,834001828}
129-
			W.Part0 = Limb
129+
local CHANGE = 2 / Animation_Speed
130-
			W.Part1 = B
130+
local WALKINGANIM = false
131-
			W.C0 = CFrame.new(0, -0.5, 0)
131+
local VALUE1 = false
132-
			W.Parent = Limb
132+
local VALUE2 = false
133
local ROBLOXIDLEANIMATION = IT("Animation")
134
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
135-
		local Limb = Character:FindFirstChild("Right Leg")
135+
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
136-
		if Limb then
136+
--ROBLOXIDLEANIMATION.Parent = Humanoid
137
local WEAPONGUI = IT("ScreenGui", PlayerGui)
138-
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
138+
WEAPONGUI.Name = "Weapon GUI"
139-
			local Joint = Instance.new("Glue")
139+
local Weapon = IT("Model")
140-
			Joint.Name = "RightHip"
140+
Weapon.Name = "Adds"
141-
			Joint.Part0 = Torso
141+
local Effects = IT("Folder", Weapon)
142-
			Joint.Part1 = Limb
142+
Effects.Name = "Effects"
143-
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
143+
local ANIMATOR = Humanoid.Animator
144-
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
144+
local ANIMATE = Character.Animate
145-
			Joint.Parent = Torso
145+
local UNANCHOR = true
146
147-
			local B = Instance.new("Part")
147+
--//=================================\\
148-
			B.TopSurface = 0
148+
--\\=================================//
149-
			B.BottomSurface = 0
149+
150-
			B.formFactor = "Symmetric"
150+
151-
			B.Size = Vector3.new(1, 1, 1)
151+
--//=================================\\
152-
			B.Transparency = 1
152+
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
153-
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
153+
--\\=================================//
154-
			B.Parent = Character
154+
155-
			local W = Instance.new("Weld")
155+
ArtificialHB = Instance.new("BindableEvent", script)
156-
			W.Part0 = Limb
156+
ArtificialHB.Name = "ArtificialHB"
157-
			W.Part1 = B
157+
158-
			W.C0 = CFrame.new(0, -0.5, 0)
158+
script:WaitForChild("ArtificialHB")
159-
			W.Parent = Limb
159+
160
frame = Frame_Speed
161
tf = 0
162-
Humanoid.WalkSpeed=250 -- flight speed
162+
allowframeloss = false
163
tossremainder = false
164-
		local Limb = Character:FindFirstChild("Left Leg")
164+
lastframe = tick()
165-
		if Limb then
165+
script.ArtificialHB:Fire()
166
167-
			Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
167+
game:GetService("RunService").Heartbeat:connect(function(s, p)
168-
			local Joint = Instance.new("Glue")
168+
	tf = tf + s
169-
			Joint.Name = "LeftHip"
169+
	if tf >= frame then
170-
			Joint.Part0 = Torso
170+
		if allowframeloss then
171-
			Joint.Part1 = Limb
171+
			script.ArtificialHB:Fire()
172-
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
172+
			lastframe = tick()
173-
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
173+
		else
174-
			Joint.Parent = Torso
174+
			for i = 1, math.floor(tf / frame) do
175
				script.ArtificialHB:Fire()
176-
			local B = Instance.new("Part")
176+
177-
			B.TopSurface = 0
177+
		lastframe = tick()
178-
			B.BottomSurface = 0
178+
179-
			B.formFactor = "Symmetric"
179+
		if tossremainder then
180-
			B.Size = Vector3.new(1, 1, 1)
180+
			tf = 0
181-
			B.Transparency = 1
181+
		else
182-
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
182+
			tf = tf - frame * math.floor(tf / frame)
183-
			B.Parent = Character
183+
184-
			local W = Instance.new("Weld")
184+
185-
			W.Part0 = Limb
185+
186-
			W.Part1 = B
186+
187-
			W.C0 = CFrame.new(0, -0.5, 0)
187+
--//=================================\\
188-
			W.Parent = Limb
188+
--\\=================================//
189
190
--//=================================\\
191-
		--[
191+
--|| 	      SOME FUNCTIONS
192-
		local Bar = Instance.new("Part")
192+
--\\=================================//
193-
		Bar.TopSurface = 0
193+
194-
		Bar.BottomSurface = 0
194+
function turnto(position)
195-
		Bar.formFactor = "Symmetric"
195+
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
196-
		Bar.Size = Vector3.new(1, 1, 1)
196+
197-
		Bar.Transparency = 1
197+
198-
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
198+
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
199-
		Bar.Parent = Character
199+
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
200-
		local Weld = Instance.new("Weld")
200+
201-
		Weld.Part0 = Torso
201+
202-
		Weld.Part1 = Bar
202+
local asd = Instance.new("ParticleEmitter")
203-
		Weld.C0 = CFrame.new(0, 0.5, 0)
203+
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
204-
		Weld.Parent = Torso
204+
asd.LightEmission = .1
205-
		--]]-- ripped that from a random script. Ball sockt joints were not working ^^^
205+
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
206-
		Humanoid.AutoRotate=false-- so you cant spazz out bruh
206+
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
207-
		RootPart.RootJoint:remove()
207+
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
208
asd.Transparency = bbb
209-
		B=Instance.new('BallSocketConstraint',Torso)
209+
asd.Size = aaa
210-
		At1=Instance.new('Attachment',Torso)
210+
asd.ZOffset = .9
211-
		At2=Instance.new('Attachment',RootPart)
211+
asd.Acceleration = Vector3.new(0, -15, 0)
212-
		B.Attachment1=At1
212+
asd.LockedToPart = false
213-
		B.Attachment0=At2
213+
asd.EmissionDirection = "Back"
214-
		for _,v in pairs(Character:GetChildren()) do
214+
asd.Lifetime = NumberRange.new(1, 2)
215-
			if v.Name=='Part' then
215+
asd.Rotation = NumberRange.new(-100, 100)
216-
				local keypoints = {}
216+
asd.RotSpeed = NumberRange.new(-100, 100)
217
asd.Speed = NumberRange.new(10)
218-
for i = 0,1,0.1 do
218+
asd.Enabled = false
219-
	local color = Color3.fromHSV(i,1,1)
219+
asd.VelocitySpread = 999
220-
	local keypoint = ColorSequenceKeypoint.new(i,color)
220+
221-
	table.insert(keypoints,keypoint)
221+
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
222
	if FLOOR ~= nil then
223-
At1=Instance.new('Attachment',v)
223+
		coroutine.resume(coroutine.create(function()
224-
At1.CFrame=CFrame.new(0,0,0)
224+
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
225-
At2=Instance.new('Attachment',v)
225+
			PART.CFrame = CF(POSITION)
226-
At2.CFrame=CFrame.new(0,-1,0)
226+
			for i = 1, 45 do
227-
local particle = Instance.new("Trail",v)
227+
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
228-
particle.Color = ColorSequence.new(keypoints)
228+
				RingPiece.Material = FLOOR.Material
229-
table.insert(attaches,particle)
229+
				RingPiece.Color = FLOOR.Color
230-
particle.Lifetime=1
230+
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
231-
particle.Attachment0=At1
231+
				Debris:AddItem(RingPiece, SWAIT)
232-
particle.Attachment1=At2
232+
233-
particle.Texture='http://www.roblox.com/asset/?id=967852042'
233+
			PART:remove()
234
		end))
235-
if v:IsA('Part') then
235+
236-
g=Instance.new('BodyForce',v)
236+
237-
g.force = Vector3.new(0, game.Workspace.Gravity, 0)*Vector3.new(0,v:GetMass(),0)
237+
238-
elseif v:IsA('Accessory') and v:findFirstChild('Handle')~=nil  then
238+
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
239-
g=Instance.new('BodyForce',v.Handle)
239+
	if FLOOR ~= nil then
240-
g.force = Vector3.new(0, game.Workspace.Gravity, 0)*Vector3.new(0,v.Handle:GetMass(),0)	
240+
		for i = 1, AMOUNT do
241
			do
242
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
243
				DEBREE.Material = FLOOR.Material
244-
attaches={
244+
				DEBREE.Color = FLOOR.Color
245
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
246-
}
246+
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
247-
	Character.Parent = workspace
247+
				coroutine.resume(coroutine.create(function()
248
					Swait(15)
249-
	--game.Debris:AddItem(Character, 12)
249+
					DEBREE.Parent = workspace
250
					DEBREE.CanCollide = true
251-
	--[[if movevector ~= Vector3.new() then
251+
					Debris:AddItem(DEBREE, SWAIT)
252-
		for i = 1,10 do
252+
				end))
253-
			wait()
253+
254-
			Torso.Velocity = movevector * 30
254+
255
	end
256-
	end]]--
256+
257
258-
	e,q=false
258+
function getbloody(victim,amount)
259-
Ms=Player:GetMouse()
259+
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
260-
Ms.KeyDown:connect(function(k)
260+
	PART.CFrame = victim.CFrame
261-
	if floating then
261+
	local HITPLAYERSOUNDS = {"356551938","264486467"}
262-
		if k=='f' then
262+
	Debris:AddItem(PART,5)
263-
		for _,v in pairs(attaches) do
263+
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
264-
			if v.Enabled==true then
264+
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
265-
			v.Enabled=false
265+
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
266-
			else v.Enabled=true
266+
	local prtcl = asd:Clone()
267
	prtcl.Parent = PART
268
	prtcl:Emit(amount*10)
269
end
270-
	if k=='q' then
270+
271-
		q=true
271+
function PositiveAngle(NUMBER)
272-
		while q do
272+
	if NUMBER >= 0 then
273-
			wait()
273+
		NUMBER = 0
274-
		RootPart.Velocity=Vector3.new(0,-100,0)
274+
275
	return NUMBER
276-
	elseif k=='e' then
276+
277-
		e=true
277+
278-
		while e do
278+
function NegativeAngle(NUMBER)
279-
			wait()
279+
	if NUMBER <= 0 then
280-
		RootPart.Velocity=Vector3.new(0,100,0)
280+
		NUMBER = 0
281
	end
282
	return NUMBER
283
end
284
285-
warn"-{    slenercat5's   }-"
285+
function SpawnTrail(FROM,TO,BIG)
286-
warn'-{{{flamingo script}}}-'
286+
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
287-
warn'-{{  E is to raise  }}-'
287+
	MakeForm(TRAIL,"Cyl")
288-
warn'-{{  Q is to lower  }}-'
288+
	local DIST = (FROM - TO).Magnitude
289-
warn'{F is to toggle trails}'
289+
	if BIG == true then
290-
Ms.KeyUp:connect(function(k)
290+
		TRAIL.Size = VT(0.5,DIST,0.5)
291-
	print(k)
291+
292-
	if k=='q' then
292+
		TRAIL.Size = VT(0.25,DIST,0.25)
293-
		q=false
293+
294
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
295-
	elseif k=='e' then
295+
	coroutine.resume(coroutine.create(function()
296-
		e=false
296+
		for i = 1, 5 do
297
			Swait()
298
			TRAIL.Transparency = TRAIL.Transparency + 0.1
299-
local keypoints = {}
299+
300
		TRAIL:remove()
301-
light={
301+
	end))
302
end
303-
}
303+
304
function Swait(NUMBER)
305-
TEHSONG=Instance.new('Sound',Torso) TEHSONG.SoundId='rbxassetid://1260234844' TEHSONG.Volume=2 TEHSONG.PlaybackSpeed=1
305+
	if NUMBER == 0 or NUMBER == nil then
306-
TEHSONG:Play()
306+
		ArtificialHB.Event:wait()
307-
Light=Instance.new('SurfaceLight',Torso)
307+
308-
Light.Face='Top'
308+
		for i = 1, NUMBER do
309-
Light2=Instance.new('SurfaceLight',Torso)
309+
			ArtificialHB.Event:wait()
310-
Light2.Face='Front'
310+
311-
Light3=Instance.new('SurfaceLight',Torso)
311+
312-
Light3.Face='Back'
312+
313-
Light4=Instance.new('SurfaceLight',Torso)
313+
314-
Light4.Face='Right'
314+
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
315-
Light5=Instance.new('SurfaceLight',Torso)
315+
	local NEWMESH = IT(MESH)
316-
Light5.Face='Left'
316+
	if MESH == "SpecialMesh" then
317-
table.insert(light,Light)
317+
		NEWMESH.MeshType = MESHTYPE
318-
table.insert(light,Light2)
318+
		if MESHID ~= "nil" and MESHID ~= "" then
319-
table.insert(light,Light3)
319+
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
320-
table.insert(light,Light4)
320+
321-
table.insert(light,Light5)
321+
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
322
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
323-
--Converted with ttyyuu12345's model to script plugin v4
323+
324-
function sandbox(var,func)
324+
325-
	local env = getfenv(func)
325+
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
326-
	local newenv = setmetatable({},{
326+
	NEWMESH.Scale = SCALE
327-
		__index = function(self,k)
327+
	NEWMESH.Parent = PARENT
328-
			if k=="script" then
328+
	return NEWMESH
329-
				return var
329+
330
331-
				return env[k]
331+
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
332
	local NEWPART = IT("Part")
333-
		end,
333+
	NEWPART.formFactor = FORMFACTOR
334-
	})
334+
	NEWPART.Reflectance = REFLECTANCE
335-
	setfenv(func,newenv)
335+
	NEWPART.Transparency = TRANSPARENCY
336-
	return func
336+
	NEWPART.CanCollide = false
337
	NEWPART.Locked = true
338
	NEWPART.Anchored = true
339
	if ANCHOR == false then
340-
floating=false
340+
		NEWPART.Anchored = false
341-
while 1 do
341+
342-
	for _,v in pairs(attaches) do
342+
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
343-
	v.LightEmission=TEHSONG.PlaybackLoudness/150
343+
	NEWPART.Name = NAME
344
	NEWPART.Size = SIZE
345-
	Humanoid.Name='F'..math.random(0,1).. math.random(0,1) .. 'F' .. math.random(0,1)
345+
	NEWPART.Position = Torso.Position
346-
	if not floating then
346+
	NEWPART.Material = MATERIAL
347-
		for _,v in pairs(light) do
347+
	NEWPART:BreakJoints()
348-
	v.Color=Color3.new(1,1,1)
348+
	NEWPART.Parent = PARENT
349
	return NEWPART
350
end
351
352-
		for _,v in pairs(light) do
352+
	local function weldBetween(a, b)
353-
		v.Range=TEHSONG.PlaybackLoudness
353+
	    local weldd = Instance.new("ManualWeld")
354-
		v.Color=Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
354+
	    weldd.Part0 = a
355
	    weldd.Part1 = b
356
	    weldd.C0 = CFrame.new()
357-
	if floating then
357+
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
358-
	workspace.CurrentCamera.FieldOfView=80+TEHSONG.PlaybackLoudness/150
358+
	    weldd.Parent = a
359
	    return weldd
360-
	if TEHSONG.TimePosition>11 then-- beat drop
360+
361-
		if not floating then
361+
362-
			rpg()
362+
363-
			floating=true
363+
function QuaternionFromCFrame(cf)
364-
			print(floating)
364+
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
365
	local trace = m00 + m11 + m22
366
	if trace > 0 then 
367-
	wait()
367+
		local s = math.sqrt(1 + trace)
368-
end
368+
		local recip = 0.5 / s
369
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
370
	else
371
		local i = 0
372
		if m11 > m00 then
373
			i = 1
374
		end
375
		if m22 > (i == 0 and m00 or m11) then
376
			i = 2
377
		end
378
		if i == 0 then
379
			local s = math.sqrt(m00 - m11 - m22 + 1)
380
			local recip = 0.5 / s
381
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
382
		elseif i == 1 then
383
			local s = math.sqrt(m11 - m22 - m00 + 1)
384
			local recip = 0.5 / s
385
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
386
		elseif i == 2 then
387
			local s = math.sqrt(m22 - m00 - m11 + 1)
388
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
389
		end
390
	end
391
end
392
 
393
function QuaternionToCFrame(px, py, pz, x, y, z, w)
394
	local xs, ys, zs = x + x, y + y, z + z
395
	local wx, wy, wz = w * xs, w * ys, w * zs
396
	local xx = x * xs
397
	local xy = x * ys
398
	local xz = x * zs
399
	local yy = y * ys
400
	local yz = y * zs
401
	local zz = z * zs
402
	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))
403
end
404
 
405
function QuaternionSlerp(a, b, t)
406
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
407
	local startInterp, finishInterp;
408
	if cosTheta >= 0.0001 then
409
		if (1 - cosTheta) > 0.0001 then
410
			local theta = ACOS(cosTheta)
411
			local invSinTheta = 1 / SIN(theta)
412
			startInterp = SIN((1 - t) * theta) * invSinTheta
413
			finishInterp = SIN(t * theta) * invSinTheta
414
		else
415
			startInterp = 1 - t
416
			finishInterp = t
417
		end
418
	else
419
		if (1 + cosTheta) > 0.0001 then
420
			local theta = ACOS(-cosTheta)
421
			local invSinTheta = 1 / SIN(theta)
422
			startInterp = SIN((t - 1) * theta) * invSinTheta
423
			finishInterp = SIN(t * theta) * invSinTheta
424
		else
425
			startInterp = t - 1
426
			finishInterp = t
427
		end
428
	end
429
	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
430
end
431
432
function Shatter(Part)
433
	if Part.Transparency == 0 then
434
		local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
435
		Debris:AddItem(SOUNDPART,5)
436
		CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
437
		local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
438
		local SIZESET = SIZE/4
439
		local XOffset = Part.Size.X*1.5/SIZESET
440
		local YOffset = Part.Size.Y*1.5/SIZESET
441
		local ZOffset = Part.Size.Z*1.5/SIZESET
442
		for x = 1, math.ceil(XOffset) do
443
			for y = 1, math.ceil(YOffset) do
444
				for z = 1, math.ceil(ZOffset) do
445
					local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
446
					SHARD.CanCollide = true
447
					SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
448
					SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
449
					Debris:AddItem(SHARD,MRANDOM(10,25)/3)
450
				end
451
			end
452
		end
453
	end
454
	Part:remove()
455
end
456
457
function Clerp(a, b, t)
458
	local qa = {QuaternionFromCFrame(a)}
459
	local qb = {QuaternionFromCFrame(b)}
460
	local ax, ay, az = a.x, a.y, a.z
461
	local bx, by, bz = b.x, b.y, b.z
462
	local _t = 1 - t
463
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
464
end
465
466
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
467
	local frame = IT("Frame")
468
	frame.BackgroundTransparency = TRANSPARENCY
469
	frame.BorderSizePixel = BORDERSIZEPIXEL
470
	frame.Position = POSITION
471
	frame.Size = SIZE
472
	frame.BackgroundColor3 = COLOR
473
	frame.BorderColor3 = BORDERCOLOR
474
	frame.Name = NAME
475
	frame.Parent = PARENT
476
	return frame
477
end
478
479
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
480
	local label = IT("TextLabel")
481
	label.BackgroundTransparency = 1
482
	label.Size = UD2(1, 0, 1, 0)
483
	label.Position = UD2(0, 0, 0, 0)
484
	label.TextColor3 = TEXTCOLOR
485
	label.TextStrokeTransparency = STROKETRANSPARENCY
486
	label.TextTransparency = TRANSPARENCY
487
	label.FontSize = TEXTFONTSIZE
488
	label.Font = TEXTFONT
489
	label.BorderSizePixel = BORDERSIZEPIXEL
490
	label.TextScaled = false
491
	label.Text = TEXT
492
	label.Name = NAME
493
	label.Parent = PARENT
494
	return label
495
end
496
497
function NoOutlines(PART)
498
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
499
end
500
501
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
502
	local NEWWELD = IT(TYPE)
503
	NEWWELD.Part0 = PART0
504
	NEWWELD.Part1 = PART1
505
	NEWWELD.C0 = C0
506
	NEWWELD.C1 = C1
507
	NEWWELD.Parent = PARENT
508
	return NEWWELD
509
end
510
511
local S = IT("Sound")
512
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
513
	local NEWSOUND = nil
514
	coroutine.resume(coroutine.create(function()
515
		NEWSOUND = S:Clone()
516
		NEWSOUND.Parent = PARENT
517
		NEWSOUND.Volume = VOLUME
518
		NEWSOUND.Pitch = PITCH
519
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
520
		NEWSOUND:play()
521
		if DOESLOOP == true then
522
			NEWSOUND.Looped = true
523
		else
524
			repeat wait(1) until NEWSOUND.Playing == false
525
			NEWSOUND:remove()
526
		end
527
	end))
528
	return NEWSOUND
529
end
530
531
function CFrameFromTopBack(at, top, back)
532
	local right = top:Cross(back)
533
	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)
534
end
535
536
--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})
537
function WACKYEFFECT(Table)
538
	local TYPE = (Table.EffectType or "Sphere")
539
	local SIZE = (Table.Size or VT(1,1,1))
540
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
541
	local TRANSPARENCY = (Table.Transparency or 0)
542
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
543
	local CFRAME = (Table.CFrame or Torso.CFrame)
544
	local MOVEDIRECTION = (Table.MoveToPos or nil)
545
	local ROTATION1 = (Table.RotationX or 0)
546
	local ROTATION2 = (Table.RotationY or 0)
547
	local ROTATION3 = (Table.RotationZ or 0)
548
	local MATERIAL = (Table.Material or "Neon")
549
	local COLOR = (Table.Color or C3(1,1,1))
550
	local TIME = (Table.Time or 45)
551
	local SOUNDID = (Table.SoundID or nil)
552
	local SOUNDPITCH = (Table.SoundPitch or nil)
553
	local SOUNDVOLUME = (Table.SoundVolume or nil)
554
	coroutine.resume(coroutine.create(function()
555
		local PLAYSSOUND = false
556
		local SOUND = nil
557
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
558
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
559
			PLAYSSOUND = true
560
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
561
		end
562
		EFFECT.Color = COLOR
563
		local MSH = nil
564
		if TYPE == "Sphere" then
565
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
566
		elseif TYPE == "Block" then
567
			MSH = IT("BlockMesh",EFFECT)
568
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
569
		elseif TYPE == "Wave" then
570
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
571
		elseif TYPE == "Ring" then
572
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
573
		elseif TYPE == "Slash" then
574
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
575
		elseif TYPE == "Round Slash" then
576
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
577
		elseif TYPE == "Swirl" then
578
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
579
		elseif TYPE == "Skull" then
580
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
581
		elseif TYPE == "Crystal" then
582
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
583
		end
584
		if MSH ~= nil then
585
			local MOVESPEED = nil
586
			if MOVEDIRECTION ~= nil then
587
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
588
			end
589
			local GROWTH = SIZE - ENDSIZE
590
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
591
			if TYPE == "Block" then
592
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
593
			else
594
				EFFECT.CFrame = CFRAME
595
			end
596
			for LOOP = 1, TIME+1 do
597
				Swait()
598
				MSH.Scale = MSH.Scale - GROWTH/TIME
599
				if TYPE == "Wave" then
600
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
601
				end
602
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
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 = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
607
				end
608
				if MOVEDIRECTION ~= nil then
609
					local ORI = EFFECT.Orientation
610
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
611
					EFFECT.Orientation = ORI
612
				end
613
			end
614
			if PLAYSSOUND == false then
615
				EFFECT:remove()
616
			else
617
				repeat Swait() until SOUND.Playing == false
618
				EFFECT:remove()
619
			end
620
		else
621
			if PLAYSSOUND == false then
622
				EFFECT:remove()
623
			else
624
				repeat Swait() until SOUND.Playing == false
625
				EFFECT:remove()
626
			end
627
		end
628
	end))
629
end
630
631
function MakeForm(PART,TYPE)
632
	if TYPE == "Cyl" then
633
		local MSH = IT("CylinderMesh",PART)
634
	elseif TYPE == "Ball" then
635
		local MSH = IT("SpecialMesh",PART)
636
		MSH.MeshType = "Sphere"
637
	elseif TYPE == "Wedge" then
638
		local MSH = IT("SpecialMesh",PART)
639
		MSH.MeshType = "Wedge"
640
	end
641
end
642
643
Debris = game:GetService("Debris")
644
645
function CastProperRay(StartPos, EndPos, Distance, Ignore)
646
	local DIRECTION = CF(StartPos,EndPos).lookVector
647
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
648
end
649
650
function CharacterFade(COLOR,TIMER)
651
	coroutine.resume(coroutine.create(function()
652
		local FADE = IT("Model",Effects)
653
		for _, c in pairs(Character:GetChildren()) do
654
			if c.ClassName == "Part" and c ~= RootPart then
655
				local FADER = c:Clone()
656
				FADER.Color = COLOR
657
				FADER.CFrame = c.CFrame
658
				FADER.Parent = FADE
659
				FADER.Anchored = true
660
				FADER.Transparency = 0.25
661
				FADER:BreakJoints()
662
				FADER.Material = "Glass"
663
				FADER:ClearAllChildren()
664
				if FADER.Name == "Head" then
665
					FADER.Size = VT(1,1,1)
666
				end
667
			end
668
		end
669
		local TRANS = 0.75/TIMER
670
		for i = 1, TIMER do
671
			Swait()
672
			for _, c in pairs(FADE:GetChildren()) do
673
				if c.ClassName == "Part" then
674
					c.Transparency = c.Transparency + TRANS
675
				end
676
			end
677
		end
678
		FADE:remove()
679
	end))
680
end
681
682
local PE=Instance.new("ParticleEmitter")
683
PE.LightEmission=0.3
684
PE.Size=NumberSequence.new(0)
685
PE.Transparency=NumberSequence.new(0,1)
686
PE.Rotation=NumberRange.new(0,360)
687
PE.LockedToPart = false
688
PE.Speed = NumberRange.new(0,0,0)
689
PE.ZOffset = 0.3
690
PE.Rate = 999
691
PE.VelocitySpread = 25
692
PE.Name = "Particles"
693
694
function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
695
    local particle = nil
696
    coroutine.resume(coroutine.create(function(PART)
697
        particle = PE:Clone()
698
        Swait()
699
        particle.Rate = 999
700
        particle.Parent = art
701
        particle.Acceleration = accel
702
        if type == "Fire" then
703
            local EyeSizes={
704
                NumberSequenceKeypoint.new(0,size,size/2),
705
                NumberSequenceKeypoint.new(1,size/4,size/8)
706
            }
707
            particle.Size = NumberSequence.new(EyeSizes)
708
        elseif type == "Smoke" then
709
            local EyeSizes={
710
                NumberSequenceKeypoint.new(0,size/5,0),
711
                NumberSequenceKeypoint.new(1,size*2,0.5)
712
            }
713
            particle.Size = NumberSequence.new(EyeSizes)
714
        elseif type == "Solid" then
715
            local EyeSizes={
716
                NumberSequenceKeypoint.new(0,size,0),
717
                NumberSequenceKeypoint.new(1,size,0)
718
            }
719
            particle.Size = NumberSequence.new(EyeSizes)
720
        end
721
        particle.Lifetime=NumberRange.new(lifetime)
722
        particle.Drag = drag
723
        if locked == true then
724
            particle.LockedToPart = true
725
        end
726
        particle.Speed = NumberRange.new(speed*0.8,speed)
727
        particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
728
        particle.Enabled = isenabledbydefault
729
        particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
730
    end))
731
return particle
732
end
733
734
--//=================================\\
735
--||	     RAGDOLL STUFF
736
--\\=================================//
737
738
function recurse(root,callback,i)
739
	i= i or 0
740
	for _,v in pairs(root:GetChildren()) do
741
		i = i + 1
742
		callback(i,v)
743
		
744
		if #v:GetChildren() > 0 then
745
			i = recurse(v,callback,i)
746
		end
747
	end
748
	
749
	return i
750
end
751
752
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
753
	attachmentName = attachmentName.."RigAttachment"
754
	local constraint = Instance.new(className.."Constraint")
755
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
756
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
757
	constraint.Name = "RagdollConstraint"..part1.Name
758
	
759
	for _,propertyData in next,properties or {} do
760
		constraint[propertyData[1]] = propertyData[2]
761
	end
762
	
763
	constraint.Parent = character
764
end
765
766
function getAttachment0(character, attachmentName)
767
	for _,child in next,character:GetChildren() do
768
		local attachment = child:FindFirstChild(attachmentName)
769
		if attachment then
770
			return attachment
771
		end
772
	end
773
end
774
775
function ArtificialHitbox(Part)
776
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
777
	HITBOX.CanCollide = true
778
	HITBOX.CFrame = Part.CFrame
779
	weldBetween(Part,HITBOX)
780
end
781
782
function R15Ragdoll(character,KeepArms)
783
	character:BreakJoints()
784
	coroutine.resume(coroutine.create(function()
785
		recurse(character, function(_,v)
786
			if v:IsA("Attachment") then
787
				v.Axis = Vector3.new(0, 1, 0)
788
				v.SecondaryAxis = Vector3.new(0, 0, 1)
789
				v.Rotation = Vector3.new(0, 0, 0)
790
			end
791
		end)
792
		for _,child in next,character:GetChildren() do
793
			if child:IsA("Accoutrement") then
794
				for _,part in next,child:GetChildren() do
795
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
796
						local attachment1 = part:FindFirstChildOfClass("Attachment")
797
						local attachment0 = getAttachment0(character,attachment1.Name)
798
						if attachment0 and attachment1 then
799
							local constraint = Instance.new("HingeConstraint")
800
							constraint.Attachment0 = attachment0
801
							constraint.Attachment1 = attachment1
802
							constraint.LimitsEnabled = true
803
							constraint.UpperAngle = 0
804
							constraint.LowerAngle = 0
805
							constraint.Parent = character
806
						end
807
						ArtificialHitbox(part)
808
					elseif part.Name == "HumanoidRootPart" then
809
						part:remove()
810
					end
811
				end
812
			end
813
		end
814
		
815
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
816
			{"LimitsEnabled",true};
817
			{"UpperAngle",5};
818
		})
819
		if character:FindFirstChild("Head") then
820
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
821
				{"LimitsEnabled",true};
822
				{"UpperAngle",15};
823
			})
824
		end
825
		
826
		local handProperties = {
827
			{"LimitsEnabled", true};
828
			{"UpperAngle",0};
829
			{"LowerAngle",0};
830
		}
831
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
832
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
833
		
834
		local shinProperties = {
835
			{"LimitsEnabled", true};
836
			{"UpperAngle", 0};
837
			{"LowerAngle", -75};
838
		}
839
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
840
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
841
		
842
		local footProperties = {
843
			{"LimitsEnabled", true};
844
			{"UpperAngle", 15};
845
			{"LowerAngle", -45};
846
		}
847
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
848
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
849
		if KeepArms == true then
850
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
851
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
852
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
853
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
854
		end
855
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
856
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
857
		Debris:AddItem(character,5)
858
	end))
859
end
860
861
function Ragdoll(Character2,CharTorso,KeepArms)
862
	coroutine.resume(coroutine.create(function()
863
		Character2:BreakJoints()
864
		local hum = Character2:findFirstChild("Humanoid")
865
		hum:remove()
866
		local function Scan(ch)
867
			local e
868
			for e = 1,#ch do
869
				Scan(ch[e]:GetChildren())
870
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
871
					ch[e]:remove()
872
				end
873
			end
874
		end
875
		local NEWHUM = IT("Humanoid")
876
		NEWHUM.Name = "Corpse"
877
		NEWHUM.Health = 0
878
		NEWHUM.MaxHealth = 0
879
		NEWHUM.PlatformStand = true
880
		NEWHUM.Parent = Character2
881
		NEWHUM.DisplayDistanceType = "None"
882
	
883
		local ch = Character2:GetChildren()
884
		local i
885
		for i = 1,#ch do
886
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
887
				ch[i]:remove()
888
			end
889
		end
890
	
891
		local Torso2 = Character2.Torso
892
		local movevector = Vector3.new()
893
	
894
		if Torso2 then
895
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
896
			local Head = Character2:FindFirstChild("Head")
897
			if Head then
898
				local Neck = Instance.new("Weld")
899
				Neck.Name = "Neck"
900
				Neck.Part0 = Torso2
901
				Neck.Part1 = Head
902
				Neck.C0 = CFrame.new(0, 1.5, 0)
903
				Neck.C1 = CFrame.new()
904
				Neck.Parent = Torso2
905
	
906
			end
907
			local Limb = Character2:FindFirstChild("Right Arm")
908
			if Limb and KeepArms == true then
909
	
910
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
911
				local Joint = Instance.new("Glue")
912
				Joint.Name = "RightShoulder"
913
				Joint.Part0 = Torso2
914
				Joint.Part1 = Limb
915
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
916
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
917
				Joint.Parent = Torso2
918
	
919
				local B = Instance.new("Part")
920
				B.TopSurface = 0
921
				B.BottomSurface = 0
922
				B.formFactor = "Symmetric"
923
				B.Size = Vector3.new(1, 1, 1)
924
				B.Transparency = 1
925
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
926
				B.Parent = Character2
927
				local W = Instance.new("Weld")
928
				W.Part0 = Limb
929
				W.Part1 = B
930
				W.C0 = CFrame.new(0, -0.5, 0)
931
				W.Parent = Limb
932
	
933
			end
934
			local Limb = Character2:FindFirstChild("Left Arm")
935
			if Limb and KeepArms == true then
936
	
937
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
938
				local Joint = Instance.new("Glue")
939
				Joint.Name = "LeftShoulder"
940
				Joint.Part0 = Torso2
941
				Joint.Part1 = Limb
942
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
943
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
944
				Joint.Parent = Torso2
945
	
946
				local B = Instance.new("Part")
947
				B.TopSurface = 0
948
				B.BottomSurface = 0
949
				B.formFactor = "Symmetric"
950
				B.Size = Vector3.new(1, 1, 1)
951
				B.Transparency = 1
952
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
953
				B.Parent = Character2
954
				local W = Instance.new("Weld")
955
				W.Part0 = Limb
956
				W.Part1 = B
957
				W.C0 = CFrame.new(0, -0.5, 0)
958
				W.Parent = Limb
959
	
960
			end
961
			local Limb = Character2:FindFirstChild("Right Leg")
962
			if Limb then
963
	
964
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
965
				local Joint = Instance.new("Glue")
966
				Joint.Name = "RightHip"
967
				Joint.Part0 = Torso2
968
				Joint.Part1 = Limb
969
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
970
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
971
				Joint.Parent = Torso2
972
	
973
				local B = Instance.new("Part")
974
				B.TopSurface = 0
975
				B.BottomSurface = 0
976
				B.formFactor = "Symmetric"
977
				B.Size = Vector3.new(1, 1, 1)
978
				B.Transparency = 1
979
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
980
				B.Parent = Character2
981
				local W = Instance.new("Weld")
982
				W.Part0 = Limb
983
				W.Part1 = B
984
				W.C0 = CFrame.new(0, -0.5, 0)
985
				W.Parent = Limb
986
	
987
			end
988
			local Limb = Character2:FindFirstChild("Left Leg")
989
			if Limb then
990
	
991
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
992
				local Joint = Instance.new("Glue")
993
				Joint.Name = "LeftHip"
994
				Joint.Part0 = Torso2
995
				Joint.Part1 = Limb
996
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
997
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
998
				Joint.Parent = Torso2
999
	
1000
				local B = Instance.new("Part")
1001
				B.TopSurface = 0
1002
				B.BottomSurface = 0
1003
				B.formFactor = "Symmetric"
1004
				B.Size = Vector3.new(1, 1, 1)
1005
				B.Transparency = 1
1006
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1007
				B.Parent = Character2
1008
				local W = Instance.new("Weld")
1009
				W.Part0 = Limb
1010
				W.Part1 = B
1011
				W.C0 = CFrame.new(0, -0.5, 0)
1012
				W.Parent = Limb
1013
	
1014
			end
1015
			--[
1016
			local Bar = Instance.new("Part")
1017
			Bar.TopSurface = 0
1018
			Bar.BottomSurface = 0
1019
			Bar.formFactor = "Symmetric"
1020
			Bar.Size = Vector3.new(1, 1, 1)
1021
			Bar.Transparency = 1
1022
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1023
			Bar.Parent = Character2
1024
			local Weld = Instance.new("Weld")
1025
			Weld.Part0 = Torso2
1026
			Weld.Part1 = Bar
1027
			Weld.C0 = CFrame.new(0, 0.5, 0)
1028
			Weld.Parent = Torso2
1029
			--]]
1030
		end
1031
		Character2.Parent = workspace
1032
		Debris:AddItem(Character2,5)
1033
	
1034
		return Character2,Torso2
1035
	end))
1036
end
1037
1038
--//=================================\\
1039
--||	     WEAPON CREATION
1040
--\\=================================//
1041
1042
local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
1043
DUST.ZOffset = 1
1044
RightArm.Transparency = 1
1045
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
1046
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1047
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
1048
MakeForm(Sphere,"Ball")
1049
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1050
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0.3,0.3,0.1),false)
1051
MakeForm(LaserPart,"Ball")
1052
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1053
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
1054
MakeForm(Bump,"Ball")
1055
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1056
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0.4,0,0.4),false)
1057
MakeForm(BottomLaser,"Cyl")
1058
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1059
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.5,0.5),false)
1060
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1061
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.5,0.5),false)
1062
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
1063
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.5,0.5),false)
1064
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
1065
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.56,0.5),false)
1066
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
1067
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.56,0.5),false)
1068
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
1069
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.25,0.5),false)
1070
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
1071
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(0,0.3,0.5),false)
1072
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
1073
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(1.4,0,1.4),false)
1074
MakeForm(Part,"Cyl")
1075
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1076
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Part", VT(1.4,0,1.4),false)
1077
MakeForm(Part,"Cyl")
1078
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
1079
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
1080
MakeForm(Sphere,"Ball")
1081
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1082
1083
local PART = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Gear", LeftArm.Size*1.1, false)
1084
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1085
local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", LeftArm.Size*1.11, false)
1086
MakeForm(PART,"Wedge")
1087
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,-0.01) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
1088
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*1.11, false)
1089
MakeForm(PART,"Wedge")
1090
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,-0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1091
local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", VT(1,1,1)*1.11, false)
1092
MakeForm(PART,"Wedge")
1093
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,-1.655,-0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(180), RAD(180), RAD(0)), CF(0, 0, 0))
1094
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
1095
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,0.4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1096
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
1097
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,-0.4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1098
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
1099
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1100
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
1101
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,1.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1102
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
1103
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,0.55,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1104
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
1105
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,-0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1106
local PART = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Gear", VT(0.5,3,0.8), false)
1107
MakeForm(PART,"Ball")
1108
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,0.55,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1109
local PART = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Gear", LeftArm.Size*0.8, false)
1110
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1111
local PART = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "New Yeller", "Gear", LeftArm.Size*0.7, false)
1112
PART.Color = C3(0,0,0)
1113
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,1.11,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1114
local PART = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Gear", LeftArm.Size*0.7, false)
1115
MakeForm(PART,"Ball")
1116
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.6,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1117
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Claw", VT(0,0,0), false)
1118
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.5,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
1119
CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
1120
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Claw", VT(0,0,0), false)
1121
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
1122
CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.025,0.025), VT(0,0,0))
1123
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Claw", VT(0,0,0), false)
1124
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(-0.5,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
1125
CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
1126
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Claw", VT(0,0,0), false)
1127
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(-0.25,1,1) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
1128
CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
1129
local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "New Yeller", "Claw", VT(0,0,0), false)
1130
CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.25,1,1) * ANGLES(RAD(90), RAD(180-45), RAD(0)), CF(0, 0, 0))
1131
CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
1132
1133
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1134
MakeForm(Barrel,"Cyl")
1135
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1136
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.25,1,0.25),false)
1137
MakeForm(Part,"Cyl")
1138
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1139
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0,0.1,0.2),false)
1140
MakeForm(Part,"Wedge")
1141
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1142
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
1143
MakeForm(Hole,"Cyl")
1144
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1145
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
1146
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1147
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1148
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
1149
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1150
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1151
1152
if Character:FindFirstChildOfClass("Accessory") then
1153
	Character:FindFirstChildOfClass("Accessory"):remove()
1154
elseif Character:FindFirstChildOfClass("Hat") then
1155
	Character:FindFirstChildOfClass("Hat"):remove()
1156
end
1157
if Head:FindFirstChild("face") then
1158
	Head.face.Texture = "rbxassetid://"
1159
end
1160
1161
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "New Yeller", "Hood", VT(1,1,1),false)
1162
PRT.Color = C3(0,0,0)
1163
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
1164
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
1165
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
1166
PRT.Color = C3(0,0,0)
1167
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
1168
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
1169
1170
local LASTPART = Head
1171
for i = 1, 20 do
1172
	local MATH = (1-(i/25))
1173
	if LASTPART == Head then
1174
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New Yeller", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1175
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
1176
		LASTPART = Horn
1177
		Horn.Color = C3((i*3-3)/255,0,0)
1178
	else
1179
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New Yeller", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1180
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
1181
		LASTPART = Horn
1182
		Horn.Color = C3((i*3-3)/255,0,0)
1183
	end
1184
end
1185
local LASTPART = Head
1186
for i = 1, 20 do
1187
	local MATH = (1-(i/25))
1188
	if LASTPART == Head then
1189
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New Yeller", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1190
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
1191
		LASTPART = Horn
1192
		Horn.Color = C3((i*3-3)/255,0,0)
1193
	else
1194
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1195
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
1196
		LASTPART = Horn
1197
		Horn.Color = C3((i*3-3)/255,0,0)
1198
	end
1199
end
1200
1201
local Eye = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", VT(0.6,0.1,1)/2,false)
1202
MakeForm(Eye,"Ball")
1203
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1204
local Eye = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", VT(0.6,0.1,1)/2,false)
1205
MakeForm(Eye,"Ball")
1206
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1207
local Eye = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", VT(0.1,1,1)/2,false)
1208
MakeForm(Eye,"Ball")
1209
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1210
local Eye = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", VT(0.1,1,1)/2,false)
1211
MakeForm(Eye,"Ball")
1212
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1213
1214
local A = IT("Attachment",Torso)
1215
A.Position = VT(1,1.3,0)
1216
A.Orientation = VT(-0.098, -89.999, 0.227)
1217
local B = IT("Attachment",Torso)
1218
B.Position = VT(-1.3,-0.6,0)
1219
B.Orientation = VT(-88.911, -68.808, 158.782)
1220
local ChainLink = IT("Beam",Torso)
1221
ChainLink.Texture = "rbxassetid://73042633" 
1222
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1223
ChainLink.TextureSpeed = 1
1224
ChainLink.FaceCamera = true
1225
ChainLink.Width0 = 1
1226
ChainLink.Width1 = 1
1227
ChainLink.TextureLength = 3
1228
ChainLink.Attachment0 = A
1229
ChainLink.Attachment1 = B
1230
ChainLink.CurveSize0 = 1.6
1231
ChainLink.CurveSize1 = 1.6
1232
ChainLink.FaceCamera = true
1233
ChainLink.Transparency = NumberSequence.new(0)
1234
local ChainLink = IT("Beam",Torso)
1235
ChainLink.Texture = "rbxassetid://73042633" 
1236
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1237
ChainLink.TextureSpeed = 1
1238
ChainLink.FaceCamera = true
1239
ChainLink.Width0 = 1
1240
ChainLink.Width1 = 1
1241
ChainLink.TextureLength = 3
1242
ChainLink.Attachment0 = B
1243
ChainLink.Attachment1 = A
1244
ChainLink.CurveSize0 = 1.6
1245
ChainLink.CurveSize1 = 1.6
1246
ChainLink.FaceCamera = true
1247
ChainLink.Transparency = NumberSequence.new(0)
1248
local A = IT("Attachment",Torso)
1249
A.Position = VT(1.3,-0.85,0)
1250
A.Orientation = VT(-0.098, -89.999, 0.227)
1251
local B = IT("Attachment",Torso)
1252
B.Position = VT(-1,2,0)
1253
B.Orientation = VT(-88.911, -68.808, 158.782)
1254
local ChainLink = IT("Beam",Torso)
1255
ChainLink.Texture = "rbxassetid://73042633" 
1256
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1257
ChainLink.TextureSpeed = 1
1258
ChainLink.FaceCamera = true
1259
ChainLink.Width0 = 1
1260
ChainLink.Width1 = 1
1261
ChainLink.TextureLength = 3
1262
ChainLink.Attachment0 = A
1263
ChainLink.Attachment1 = B
1264
ChainLink.CurveSize0 = 1.3
1265
ChainLink.CurveSize1 = 1.3
1266
ChainLink.FaceCamera = true
1267
ChainLink.Transparency = NumberSequence.new(0)
1268
local ChainLink = IT("Beam",Torso)
1269
ChainLink.Texture = "rbxassetid://73042633" 
1270
ChainLink.Color = ColorSequence.new(C3(58,125,21))
1271
ChainLink.TextureSpeed = 1
1272
ChainLink.FaceCamera = true
1273
ChainLink.Width0 = 1
1274
ChainLink.Width1 = 1
1275
ChainLink.TextureLength = 3
1276
ChainLink.Attachment0 = B
1277
ChainLink.Attachment1 = A
1278
ChainLink.CurveSize0 = 1.3
1279
ChainLink.CurveSize1 = 1.3
1280
ChainLink.FaceCamera = true
1281
ChainLink.Transparency = NumberSequence.new(0)
1282
1283
local LEFTWINGS = {}
1284
local RIGHTWINGS = {}
1285
local BODY = {}
1286
1287
local Back = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(1,1,0.35),false)
1288
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
1289
1290
local ANGLE = 35
1291
for i = 1, 5 do
1292
	local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
1293
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
1294
	local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.25,1,0.25),false)
1295
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
1296
	ANGLE = ANGLE - 15
1297
	table.insert(LEFTWINGS,WingWeld)
1298
end
1299
1300
ANGLE = 35
1301
for i = 1, 5 do
1302
	local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
1303
	local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
1304
	local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.25,1,0.25),false)
1305
	CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
1306
	ANGLE = ANGLE - 15
1307
	table.insert(RIGHTWINGS,WingWeld)
1308
end
1309
1310
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.6,0.2),false)
1311
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1312
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.5,0.2),false)
1313
MakeForm(Part,"Wedge")
1314
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1315
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.3,0.2),false)
1316
MakeForm(Part,"Wedge")
1317
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1318
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.3,0.3),false)
1319
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1320
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.5,0.5),false)
1321
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1322
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.4,0.4,0.4),false)
1323
MakeForm(Part,"Cyl")
1324
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1325
for i = 1, 8 do
1326
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Eye", VT(0,0.35,0.41),false)
1327
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1328
end
1329
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Eye", VT(0.38,0.41,0.38),false)
1330
MakeForm(Part,"Cyl")
1331
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1332
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.37,0.5,0.37),false)
1333
MakeForm(Part,"Ball")
1334
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1335
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.7,0.4),false)
1336
MakeForm(Part,"Wedge")
1337
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1338
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.4,0.2),false)
1339
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1340
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.35,0.35,0.35),false)
1341
MakeForm(Part,"Cyl")
1342
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1343
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.5,0.1,0.5),false)
1344
MakeForm(Part,"Cyl")
1345
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1346
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.5,0.1,0.45),false)
1347
MakeForm(Part,"Cyl")
1348
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1349
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.5,0.2),false)
1350
MakeForm(Part,"Wedge")
1351
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1352
local LASTPART = Handle
1353
for i = 1, 10 do
1354
	if LASTPART == Handle then
1355
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.2,0),false)
1356
		LASTPART = Part
1357
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1358
	else
1359
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.05,0),false)
1360
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1361
		LASTPART = Part
1362
	end
1363
end
1364
1365
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.15,2,0.15),false)
1366
MakeForm(Barrel,"Cyl")
1367
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1368
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0.25,1,0.25),false)
1369
MakeForm(Part,"Cyl")
1370
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1371
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0,0.1,0.2),false)
1372
MakeForm(Part,"Wedge")
1373
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1374
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
1375
MakeForm(Hole,"Cyl")
1376
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1377
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
1378
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1379
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1380
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
1381
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1382
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1383
coroutine.resume(coroutine.create(function()
1384
	while wait() do
1385
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1386
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1387
	end
1388
end))
1389
1390
local Handle = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,1.2,0.2),false)
1391
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1392
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.8,0.2),false)
1393
MakeForm(Part,"Wedge")
1394
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1395
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.5,0.6),false)
1396
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1397
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.4,0.4,0.4),false)
1398
MakeForm(Part,"Cyl")
1399
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1400
for i = 1, 8 do
1401
    local Piece = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0,0.35,0.41),false)
1402
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1403
end
1404
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.5,0.2),false)
1405
MakeForm(Part,"Wedge")
1406
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1407
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Eye", VT(0.39,0.41,0.39),false)
1408
MakeForm(Part,"Cyl")
1409
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1410
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.5,0.5),false)
1411
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1412
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.4,0.5),false)
1413
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1414
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0,0.6),false)
1415
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1416
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.28,5,0.28),false)
1417
MakeForm(RightBarrel,"Cyl")
1418
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1419
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0,0.2,0.2),false)
1420
MakeForm(Part,"Wedge")
1421
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1422
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Eye", VT(0.2,0,0.2),false)
1423
MakeForm(RightHole,"Cyl")
1424
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
1425
local Handle = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,1.2,0.2),false)
1426
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1427
local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.8,0.2),false)
1428
MakeForm(Part,"Wedge")
1429
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1430
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.5,0.6),false)
1431
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1432
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.4,0.4,0.4),false)
1433
MakeForm(Part,"Cyl")
1434
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1435
for i = 1, 8 do
1436
    local Piece = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Eye", VT(0,0.35,0.41),false)
1437
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1438
end
1439
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0.5,0.2),false)
1440
MakeForm(Part,"Wedge")
1441
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1442
local Part = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.39,0.41,0.39),false)
1443
MakeForm(Part,"Cyl")
1444
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1445
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.5,0.5),false)
1446
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1447
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.3,0.4,0.5),false)
1448
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1449
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.2,0,0.6),false)
1450
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1451
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0.28,5,0.28),false)
1452
MakeForm(LeftBarrel,"Cyl")
1453
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1454
local Part = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Part", VT(0,0.2,0.2),false)
1455
MakeForm(Part,"Wedge")
1456
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1457
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "New Yeller", "Eye", VT(0.2,0,0.2),false)
1458
MakeForm(LeftHole,"Cyl")
1459
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1460
 
1461
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1462
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1463
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1464
MakeForm(Part,"Wedge")
1465
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1466
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1467
MakeForm(Part,"Wedge")
1468
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1469
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1470
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1471
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1472
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1473
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1474
MakeForm(Part,"Cyl")
1475
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1476
for i = 1, 8 do
1477
    local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1478
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1479
end
1480
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1481
MakeForm(Part,"Cyl")
1482
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1483
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1484
MakeForm(Part,"Ball")
1485
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1486
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1487
MakeForm(Part,"Wedge")
1488
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1489
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1490
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1491
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1492
MakeForm(Part,"Cyl")
1493
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1494
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1495
MakeForm(Part,"Cyl")
1496
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1497
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1498
MakeForm(Part,"Cyl")
1499
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1500
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1501
MakeForm(Part,"Wedge")
1502
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1503
local LASTPART = Handle
1504
for i = 1, 10 do
1505
    if LASTPART == Handle then
1506
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1507
        LASTPART = Part
1508
        CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1509
    else
1510
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1511
        CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1512
        LASTPART = Part
1513
    end
1514
end
1515
1516
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
1517
PRT.Color = C3(1,1,1)
1518
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1519
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
1520
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1521
PRT.Color = C3(0, 111, 0)
1522
MakeForm(PRT,"Ball")
1523
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1524
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1525
PRT.Color = C3(0, 111, 0)
1526
MakeForm(PRT,"Ball")
1527
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1528
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1529
PRT.Color = C3(0, 111, 0)
1530
MakeForm(PRT,"Ball")
1531
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1532
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1533
PRT.Color = C3(0, 111, 0)
1534
MakeForm(PRT,"Ball")
1535
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1536
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1537
PRT.Color = C3(0, 111, 0)
1538
MakeForm(PRT,"Ball")
1539
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1540
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1541
PRT.Color = C3(0, 111, 0)
1542
MakeForm(PRT,"Ball")
1543
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1544
1545
for _, c in pairs(Weapon:GetChildren()) do
1546
	if c.ClassName == "Part" then
1547
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1548
	end
1549
end
1550
1551
local SKILLTEXTCOLOR = C3(1,0,0)
1552
local SKILLFONT = "SciFi"
1553
local SKILLTEXTSIZE = 5
1554
1555
Weapon.Parent = Character
1556
1557
Humanoid.Died:connect(function()
1558
	ATTACK = true
1559
end)
1560
1561
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1562
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1563
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1564
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1565
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1566
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1567
1568
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Steampunk Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
1569
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Morning star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
1570
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Block smash", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
1571
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Steampunk Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
1572
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E] Red Hell", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
1573
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X] Banish from the Realm", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
1574
1575
1576
--//=================================\\
1577
--||			DAMAGING
1578
--\\=================================//
1579
1580
function killnearest(position,range,EFFECT)
1581
	for i,v in ipairs(workspace:GetChildren()) do
1582
	local body = v:GetChildren()
1583
		for part = 1, #body do
1584
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1585
				local SIZE = body[part].Size.Magnitude
1586
				if(body[part].Position - position).Magnitude < range + SIZE/2 then
1587
					if v.ClassName == "Model" then
1588
						if v:FindFirstChildOfClass("Humanoid") ~= nil then
1589
							if v:FindFirstChildOfClass("Humanoid").Health > 0 then
1590
								v:BreakJoints()
1591
								if EFFECT == "Glitch" then
1592
									coroutine.resume(coroutine.create(function()
1593
										local ORIGINPOS = body[part].CFrame
1594
										local SIZE = body[part].Size
1595
										for i = 1, 100 do
1596
											Swait()
1597
											local PART = body[part]
1598
											PART.Anchored = true
1599
											PART.Size = SIZE*MRANDOM(5,15)/10
1600
											PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
1601
										end
1602
										body[part]:remove()
1603
									end))
1604
								elseif EFFECT == "Shatter" then
1605
									for _, c in pairs(v:GetChildren()) do
1606
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
1607
											Shatter(c)
1608
										end
1609
									end
1610
								end
1611
							end
1612
						end
1613
					end
1614
				end
1615
			end
1616
		end
1617
	end
1618
end
1619
1620
function Kill(Char)
1621
	local NewCharacter = IT("Model",Effects)
1622
	NewCharacter.Name = "Ow im ded ;-;"
1623
	for _, c in pairs(Char:GetDescendants()) do
1624
		if c:IsA("BasePart") and c.Transparency == 0 then
1625
			if c.Parent == Char then
1626
				getbloody(c,5)
1627
			end
1628
			c:BreakJoints()
1629
			c.Material = "Glass"
1630
			c.Color = C3(0.5,0,0)
1631
			c.CanCollide = true
1632
			c.Transparency = 0.3
1633
			if c:FindFirstChildOfClass("SpecialMesh") then
1634
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1635
			end
1636
			if c.Name == "Head" then
1637
				c:ClearAllChildren()
1638
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1639
			end
1640
			if c.ClassName == "MeshPart" then
1641
				c.TextureID = ""
1642
			end
1643
			if c:FindFirstChildOfClass("BodyPosition") then
1644
				c:FindFirstChildOfClass("BodyPosition"):remove()
1645
			end
1646
			if c:FindFirstChildOfClass("ParticleEmitter") then
1647
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1648
			end
1649
			c.Parent = NewCharacter
1650
			c.Name = "DeadPart"
1651
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1652
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1653
		end
1654
	end
1655
	Char:remove()
1656
	Debris:AddItem(NewCharacter,5)
1657
end
1658
1659
function ApplyAoE(POSITION,RANGE,FLING,BURN)
1660
	local CHILDREN = workspace:GetDescendants()
1661
	for index, CHILD in pairs(CHILDREN) do
1662
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1663
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1664
			if HUM then
1665
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1666
				if TORSO then
1667
					if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
1668
						CHILD:BreakJoints()
1669
						if FLING ~= 0 then
1670
							for _, c in pairs(CHILD:GetChildren()) do
1671
								if c:IsA("BasePart") and c.Transparency == 0 then
1672
									if BURN == true then
1673
										Fire(c)
1674
									end
1675
									local bv = Instance.new("BodyVelocity") 
1676
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1677
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1678
									bv.Parent = c
1679
									Debris:AddItem(bv,0.05)
1680
								end
1681
							end
1682
						end
1683
					end
1684
				end
1685
			end
1686
		end
1687
	end
1688
end
1689
1690
function Banish(Foe)
1691
	if Foe then
1692
		coroutine.resume(coroutine.create(function()
1693
			--if game.Players:FindFirstChild(Foe.Name) then
1694
				table.insert(TOBANISH,Foe.Name)
1695
				printbye(Foe.Name)
1696
			--end
1697
			Foe.Archivable = true
1698
			local CLONE = Foe:Clone()
1699
			Foe:Destroy()
1700
			CLONE.Parent = Effects
1701
			CLONE:BreakJoints()
1702
			local MATERIALS = {"Glass","Neon"}
1703
			for _, c in pairs(CLONE:GetDescendants()) do
1704
				if c:IsA("BasePart") then
1705
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1706
 						CreateSound(340722848, c, 10, 1, false)
1707
					end
1708
					c.Anchored = true
1709
					c.Transparency = c.Transparency + 0.2
1710
					c.Material = MATERIALS[MRANDOM(1,2)]
1711
					c.Color = C3(1,0,0)
1712
					if c.ClassName == "MeshPart" then
1713
						c.TextureID = ""
1714
					end
1715
					if c:FindFirstChildOfClass("SpecialMesh") then
1716
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1717
					end
1718
					if c:FindFirstChildOfClass("Decal") then
1719
						c:FindFirstChildOfClass("Decal"):remove()
1720
					end
1721
					c.Name = "Banished"
1722
					c.CanCollide = false
1723
				else
1724
					c:remove()
1725
				end
1726
			end
1727
			local A = false
1728
			for i = 1, 35 do
1729
				if A == false then
1730
					A = true
1731
				elseif A == true then
1732
					A = false
1733
				end
1734
				for _, c in pairs(CLONE:GetDescendants()) do
1735
					if c:IsA("BasePart") then
1736
						c.Anchored = true
1737
						c.Material = MATERIALS[MRANDOM(1,2)]
1738
						c.Transparency = c.Transparency + 0.8/35
1739
						if A == false then
1740
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1741
						elseif A == true then
1742
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1743
						end
1744
					end
1745
				end
1746
				Swait()
1747
			end
1748
			CLONE:remove()
1749
		end))
1750
	end
1751
end
1752
1753
function ApplyAoE(POSITION,RANGE,ISBANISH)
1754
	local CHILDREN = workspace:GetDescendants()
1755
	for index, CHILD in pairs(CHILDREN) do
1756
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1757
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1758
			if HUM then
1759
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1760
				if TORSO then
1761
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1762
						if ISBANISH == true then
1763
							Banish(CHILD)
1764
						else
1765
							if ISBANISH == "Gravity" then
1766
								HUM.PlatformStand = true
1767
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1768
									local grav = Instance.new("BodyPosition",TORSO)
1769
									grav.D = 15
1770
									grav.P = 20000
1771
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1772
									grav.position = TORSO.Position
1773
									grav.Name = "V3BanishForce"..Player.Name
1774
								else
1775
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1776
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1777
								end
1778
							else
1779
								HUM.PlatformStand = false
1780
							end
1781
						end
1782
					elseif ISBANISH == "Gravity" then
1783
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1784
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1785
							HUM.PlatformStand = false
1786
						end
1787
					end
1788
				end
1789
			end
1790
		end
1791
	end
1792
end
1793
1794
function ApplyDamage(Humanoid,Damage,TorsoPart)
1795
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1796
	defence.Name = ("HitBy"..Player.Name)
1797
	game:GetService("Debris"):AddItem(defence, 0.001)
1798
	Damage = Damage * DAMAGEMULTIPLIER
1799
	if Humanoid.Health ~= 0 then
1800
		local CritChance = MRANDOM(1,100)
1801
		if Damage > Humanoid.Health then
1802
			Damage = math.ceil(Humanoid.Health)
1803
			if Damage == 0 then
1804
				Damage = 0.1
1805
			end
1806
		end
1807
		Humanoid.Health = Humanoid.Health - Damage
1808
	end
1809
end
1810
1811
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1812
	local CHILDREN = workspace:GetDescendants()
1813
	for index, CHILD in pairs(CHILDREN) do
1814
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1815
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1816
			if HUM then
1817
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1818
				if TORSO then
1819
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1820
						if INSTAKILL == true then
1821
							CHILD:BreakJoints()
1822
						else
1823
							local DMG = MRANDOM(MINDMG,MAXDMG)
1824
							ApplyDamage(HUM,DMG,TORSO)
1825
						end
1826
						if FLING > 0 then
1827
							for _, c in pairs(CHILD:GetChildren()) do
1828
								if c:IsA("BasePart") then
1829
									local bv = Instance.new("BodyVelocity") 
1830
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1831
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1832
									bv.Parent = c
1833
									Debris:AddItem(bv,0.05)
1834
								end
1835
							end
1836
						end
1837
					end
1838
				end
1839
			end
1840
		end
1841
	end
1842
end
1843
1844
--//=================================\\
1845
--||	ATTACK FUNCTIONS AND STUFF
1846
--\\=================================//
1847
1848
function WarpMeteor()
1849
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1850
	if DIST > 9999 then
1851
		DIST = 9999
1852
	end
1853
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1854
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1855
	if HITFLOOR then
1856
		local POS = HITPOS	
1857
		ATTACK = true
1858
		Rooted = false
1859
		local WARPED = false
1860
		local SMASHED = false
1861
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1862
		coroutine.resume(coroutine.create(function()
1863
			repeat
1864
				Swait()
1865
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1866
				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)
1867
				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)
1868
				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)
1869
				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)
1870
				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)
1871
			until WARPED == true
1872
			repeat
1873
				Swait()
1874
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1875
				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)
1876
				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)
1877
				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)
1878
				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)
1879
				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)
1880
			until SMASHED == true
1881
			repeat
1882
				Swait()
1883
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1884
			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)
1885
			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)
1886
			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)
1887
			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)
1888
			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)
1889
			until ATTACK == false
1890
		end))
1891
		VALUE1 = true
1892
		CreateSound(233856115, Torso, 5, 1.6, false)
1893
		for i = 1, 25 do
1894
			Swait()
1895
			for _, c in pairs(Character:GetChildren()) do
1896
				if c.ClassName == "Part" then
1897
					c.Transparency = c.Transparency + 1/25
1898
				end
1899
			end
1900
			for _, c in pairs(Weapon:GetChildren()) do
1901
				if c.ClassName == "Part" then
1902
					c.Transparency = c.Transparency + 1/25
1903
				end
1904
			end
1905
		end
1906
		UNANCHOR = false
1907
		RootPart.Anchored = true
1908
		RootPart.Velocity = VT(0,0,0)
1909
		local ROOTPOS = RootPart.Position
1910
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1911
		WARPED = true
1912
		for i = 1, 25 do
1913
			Swait()
1914
			for _, c in pairs(Character:GetChildren()) do
1915
				if c.ClassName == "Part" then
1916
					c.Transparency = c.Transparency - 1/25
1917
				end
1918
			end
1919
			for _, c in pairs(Weapon:GetChildren()) do
1920
				if c.ClassName == "Part" then
1921
					c.Transparency = c.Transparency - 1/25
1922
				end
1923
			end
1924
		end
1925
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
1926
		SHELL.CFrame = RootPart.CFrame
1927
		MakeForm(SHELL,"Ball")
1928
		CreateSound(402981977, SHELL, 5, 1.6, false)
1929
		for i = 1, 10 do
1930
			Swait()
1931
			SHELL.Transparency = SHELL.Transparency - 1/10
1932
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1933
		end
1934
		for i = 1, math.ceil(75/2) do
1935
			Swait()
1936
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1937
			SHELL.CFrame = CF(RootPart.Position)
1938
			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})
1939
		end
1940
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1941
		SHELL.CFrame = CF(RootPart.Position)
1942
		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})
1943
		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})
1944
		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})
1945
		for i = 1, 5 do
1946
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1947
		end
1948
		SHELL:remove()
1949
		ApplyAoE(RootPart.Position,75,35,75,175,true)
1950
		SMASHED = true
1951
		wait(1)
1952
		VALUE1 = false
1953
		UNANCHOR = true
1954
		ATTACK = false
1955
		Rooted = false
1956
	end
1957
end
1958
1959
function Morning_Star()
1960
	ATTACK = true
1961
	Rooted = true
1962
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
1963
	for i=0, 1, 0.1 / Animation_Speed do
1964
		Swait()
1965
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1966
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1967
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1968
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1969
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1970
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1971
	end	
1972
	coroutine.resume(coroutine.create(function()
1973
		local POS = Mouse.Hit.p
1974
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
1975
		MakeForm(RAY,"Cyl")
1976
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
1977
		MakeForm(SPHERE,"Ball")
1978
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
1979
		MakeForm(SHIELD,"Ball")
1980
		SHIELD.CFrame = CF(POS)
1981
		RAY.CFrame = CF(POS)
1982
		SPHERE.CFrame = CF(POS)
1983
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1984
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1985
		for i = 1, 200 do
1986
			Swait()
1987
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1988
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1989
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
1990
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
1991
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1992
		end	
1993
		for i = 1, 45 do
1994
			Swait()
1995
			RAY.Transparency = RAY.Transparency + 1/45
1996
			SPHERE.Transparency = RAY.Transparency 
1997
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1998
		end
1999
		RAY:remove()
2000
		SHIELD:remove()
2001
		SPHERE:remove()
2002
	end))
2003
	for i=0, 1, 0.1 / Animation_Speed do
2004
		Swait()
2005
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2006
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2007
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2008
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2009
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2010
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2011
	end
2012
	ATTACK = false
2013
	Rooted = false
2014
end
2015
2016
function CyberSmash()
2017
	ATTACK = true
2018
	Rooted = false
2019
	local GYRO = IT("BodyGyro",RootPart)
2020
	GYRO.D = 100
2021
	GYRO.P = 2000
2022
	GYRO.MaxTorque = VT(0,4000000,0)
2023
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2024
	local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Block", VT(25,25,25))
2025
	SMASH.CanCollide = true
2026
	SMASH.Color = C3(0,0,0)
2027
	local EF = Instance.new("SelectionBox",SMASH)
2028
	EF.Adornee = SMASH
2029
	EF.Color = BrickColor.new("Really red")
2030
	EF.LineThickness = 0.2
2031
	EF.Transparency = 1
2032
	coroutine.resume(coroutine.create(function()
2033
		for i = 1, 20 do
2034
			Swait()
2035
			SMASH.Transparency = SMASH.Transparency - 0.05
2036
			EF.Transparency = SMASH.Transparency
2037
		end
2038
	end))
2039
	repeat
2040
		SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
2041
		Swait()
2042
		GYRO.cframe = CF(RootPart.Position,SMASH.Position)
2043
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
2044
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
2045
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2046
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2047
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2048
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2049
	until HOLD == true and SMASH.Transparency < 0.99
2050
	for i = 1, 25 do
2051
		Swait()
2052
		SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
2053
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
2054
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
2055
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2056
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2057
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2058
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2059
	end
2060
	local TOCH = SMASH.Touched:Connect(function(hit)
2061
		if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
2062
			Shatter(hit)
2063
		end
2064
	end)
2065
	local n0 = nil
2066
	local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
2067
	if HITFLOOR ~= nil then
2068
		if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
2069
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2070
				if HITFLOOR.Parent.ClassName == "Model" then
2071
					HITFLOOR.Parent:BreakJoints()
2072
				elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
2073
					HITFLOOR.Parent.Parent:BreakJoints()
2074
				end
2075
			end
2076
			local POS = HITPOS
2077
			n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
2078
		end
2079
	end
2080
	killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
2081
	SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
2082
	WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
2083
	for i = 1, 25 do
2084
		Swait()
2085
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
2086
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
2087
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2088
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2089
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2090
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2091
	end
2092
	coroutine.resume(coroutine.create(function()
2093
		wait(0.2)
2094
		TOCH:disconnect()
2095
		wait(1.8)
2096
		for i = 1, 100 do
2097
			Swait()
2098
			SMASH.Transparency = i/100
2099
		end
2100
		for i = 1, 10 do
2101
			Swait()
2102
			EF.Transparency = EF.Transparency + 0.1
2103
		end
2104
		SMASH:remove()
2105
	end))
2106
	GYRO:remove()
2107
	ATTACK = false
2108
	Rooted = false
2109
end
2110
2111
2112
function MagicMissiles()
2113
	ATTACK = true
2114
	Rooted = true
2115
	local SELECTING = true
2116
	local SPOTS = {}
2117
	coroutine.resume(coroutine.create(function()
2118
		local LOOP = 0
2119
		repeat
2120
			LOOP = LOOP + 1
2121
			Swait()
2122
			if LOOP >= 10 then
2123
				LOOP = 0
2124
				for i = 1, #SPOTS do
2125
					if SPOTS[i] ~= nil then
2126
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2127
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2128
					end
2129
				end
2130
			end
2131
			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)
2132
			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)
2133
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2134
			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)
2135
			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)
2136
			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)
2137
		until SELECTING == false
2138
		Rooted = false
2139
		repeat
2140
			LOOP = LOOP + 1
2141
			Swait()
2142
			if LOOP >= 10 then
2143
				LOOP = 0
2144
				for i = 1, #SPOTS do
2145
					if SPOTS[i] ~= nil then
2146
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2147
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2148
					end
2149
				end
2150
			end
2151
			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)
2152
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2153
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2154
			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)
2155
			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)
2156
			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)
2157
		until ATTACK == false
2158
	end))
2159
	repeat
2160
		repeat Swait() until HOLD == true
2161
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
2162
			if DIST > 65 then
2163
				DIST = 65
2164
			end
2165
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
2166
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
2167
			if HITFLOOR ~= nil then
2168
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
2169
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
2170
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2171
			end
2172
		repeat Swait() until HOLD == false
2173
	until #SPOTS == 5
2174
	SELECTING = false
2175
	for i = 1, #SPOTS do
2176
		if SPOTS[i] ~= nil then
2177
			local POS = SPOTS[i]
2178
			coroutine.resume(coroutine.create(function()
2179
				local MISSILE = IT("Model",Effects)
2180
				MISSILE.Name = "Missile"
2181
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
2182
				MakeForm(BASEPART,"Cyl")
2183
				MISSILE.PrimaryPart = BASEPART
2184
				BASEPART.CFrame = POS*CF(0,-30*3,0)
2185
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
2186
				MakeForm(HEAD,"Ball")
2187
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
2188
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
2189
				MakeForm(TAIL,"Cyl")
2190
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
2191
				for i = 1, 10 do
2192
					Swait()
2193
					for _, c in pairs(MISSILE:GetChildren()) do
2194
						if c.ClassName == "Part" then
2195
							c.Transparency = c.Transparency - 1/10
2196
						end
2197
					end
2198
				end
2199
				for i = 1, 15*1.5 do
2200
					Swait()
2201
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
2202
				end
2203
				ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
2204
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
2205
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
2206
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2207
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2208
				MISSILE:remove()
2209
			end))
2210
		end
2211
	end
2212
	wait(0.6)
2213
	ATTACK = false
2214
	Rooted = false
2215
end
2216
2217
function Banisher_Bullet()
2218
	ATTACK = true
2219
	Rooted = false
2220
	for i=0, 0.4, 0.1 / Animation_Speed do
2221
		Swait()
2222
		turnto(Mouse.Hit.p)
2223
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2224
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2225
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2226
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2227
		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)
2228
		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)
2229
	end
2230
	repeat
2231
		for i=0, 0.2, 0.1 / Animation_Speed do
2232
			Swait()
2233
			turnto(Mouse.Hit.p)
2234
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2235
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2236
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2237
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2238
			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)
2239
			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)
2240
		end
2241
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2242
		SpawnTrail(Hole.Position,POS)
2243
		if HIT ~= nil then
2244
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2245
				Banish(HIT.Parent)
2246
			end
2247
		end
2248
		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})
2249
		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})
2250
		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})
2251
		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})
2252
		for i=0, 0.3, 0.1 / Animation_Speed do
2253
			Swait()
2254
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2255
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
2256
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2257
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2258
			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)
2259
			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)
2260
		end
2261
	until KEYHOLD == false
2262
	ATTACK = false
2263
	Rooted = false
2264
end
2265
2266
function AttackTemplate()
2267
	ATTACK = true
2268
	Rooted = false
2269
	for i=0, 1, 0.1 / Animation_Speed do
2270
		Swait()
2271
		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)
2272
		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)
2273
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2274
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2275
		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)
2276
		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)
2277
	end
2278
	ATTACK = false
2279
	Rooted = false
2280
end
2281
2282
function Taunt()
2283
    ATTACK = true
2284
    Rooted = true
2285
    local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
2286
    repeat
2287
        Swait()
2288
        TAUNT.Parent = Torso
2289
        TAUNT.Playing = true
2290
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2291
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2292
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2293
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2294
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2295
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2296
    until TAUNT.TimePosition >= 1.25
2297
    for i=0, 1.6, 0.1 / Animation_Speed do
2298
        Swait()
2299
        TAUNT.Parent = Torso
2300
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
2301
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2302
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2303
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2304
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2305
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2306
    end
2307
    ATTACK = false
2308
    Rooted = false
2309
end
2310
2311
function TakeOnMe()
2312
	Speed = 5
2313
	local MEME = CreateSound(726613238, Effects, 10, 1, false)
2314
	ATTACK = true
2315
	Rooted = false
2316
	local DANCE = true
2317
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2318
		if NEWKEY == "p" then
2319
			DANCE = false
2320
		end
2321
	end)
2322
	PLAYSONG = false
2323
	while true do
2324
		for i = 1, 15 do
2325
			Swait()
2326
			MEME.Parent = Effects
2327
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2328
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2329
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2330
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2331
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2332
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2333
		end
2334
		if DANCE == false then
2335
			break
2336
		end
2337
		for i = 1, 15 do
2338
			Swait()
2339
			MEME.Parent = Effects
2340
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2341
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2342
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2343
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2344
			RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2345
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2346
		end
2347
	end
2348
	PLAYSONG = true
2349
	KEY:Disconnect()
2350
	MEME:remove()
2351
	Speed = 25
2352
	ATTACK = false
2353
	Rooted = false
2354
end
2355
2356
function Laugh()
2357
	ATTACK = true
2358
	local LAUGH = nil
2359
	coroutine.resume(coroutine.create(function()
2360
		repeat
2361
			Swait()
2362
			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)
2363
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2364
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2365
			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)
2366
			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)
2367
			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)
2368
		until LAUGH ~= nil
2369
		repeat
2370
			Swait()
2371
			LAUGH.Parent = Head
2372
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2373
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2374
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2375
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2376
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2377
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2378
		until LAUGH.Playing == false
2379
	ATTACK = false
2380
	end))
2381
	wait(0.1)
2382
	LAUGH = CreateSound(525166232, Head, 10, 1, false)
2383
end
2384
2385
2386
function Deathbound()
2387
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
2388
	ATTACK = true
2389
	Rooted = true
2390
	for i=0, 1, 0.1 / Animation_Speed do
2391
		Swait()
2392
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2393
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2394
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2395
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2396
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2397
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2398
	end
2399
	local DONE = false
2400
	local GATE = nil
2401
	local GATESPIN = true
2402
	coroutine.resume(coroutine.create(function()
2403
		repeat
2404
			Swait()
2405
			if GATE ~= nil then
2406
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2407
			end
2408
		until GATESPIN == false
2409
	end))
2410
	coroutine.resume(coroutine.create(function()
2411
		repeat
2412
			Swait()
2413
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2414
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2415
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2416
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2417
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2418
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2419
		until DONE == true
2420
		Swait(50)
2421
		for i = 1, 35 do
2422
			Swait(4)
2423
			local FIRED = false
2424
			local CHILDREN = workspace:GetDescendants()
2425
			for index, CHILD in pairs(CHILDREN) do
2426
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2427
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2428
					if HUM then
2429
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2430
						if TORSO then
2431
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2432
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2433
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2434
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2435
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2436
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2437
								Kill(CHILD)
2438
								FIRED = true
2439
								break
2440
							end
2441
						end
2442
					end
2443
				end
2444
			end
2445
			if FIRED == false then
2446
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2447
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2448
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2449
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2450
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2451
				if HITBOD ~= nil then
2452
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2453
						Kill(HITBOD.Parent)
2454
					end
2455
				end
2456
			end
2457
		end
2458
		for i = 1, 45 do
2459
			Swait()
2460
			GATE.Size = GATE.Size - VT(3,0,3)
2461
		end
2462
		GATESPIN = false
2463
		GATE:remove()
2464
	end))
2465
	Swait(15)
2466
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2467
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
2468
	local DECAL = IT("Decal",GATE)
2469
	DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
2470
	DECAL.Face = "Top"
2471
	GATE.CFrame = CF(HITPOS)
2472
	CreateSound(160772554, GATE, 7, 1.3, false)
2473
	for i = 1, 45 do
2474
		Swait()
2475
		GATE.Size = GATE.Size + VT(3,0,3)
2476
	end
2477
	CreateSound(145080998, RightHole, 7, 1, false)
2478
	CreateSound(145080998, LeftHole, 7, 1, false)
2479
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2480
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2481
	ATTACK = false
2482
	Rooted = false
2483
	DONE = true
2484
end
2485
2486
function Anger()
2487
    ATTACK = true
2488
    local LAUGH = nil
2489
    coroutine.resume(coroutine.create(function()
2490
        repeat
2491
            Swait()
2492
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2493
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2494
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2495
            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)
2496
            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)
2497
            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)
2498
        until LAUGH ~= nil
2499
        repeat
2500
            Swait()
2501
            LAUGH.Parent = Head
2502
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2503
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2504
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2505
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2506
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2507
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2508
        until LAUGH.Playing == false
2509
    ATTACK = false
2510
    end))
2511
    wait(0.1)
2512
    CHOICE = 6
2513
    chatfunc("I WON'T FORGIVE YOU...")
2514
    LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
2515
    wait(1.5)
2516
    CHOICE = MRANDOM (1,5)
2517
end
2518
2519
function DoDaTwist()
2520
	ATTACK = true
2521
	Rooted = false
2522
	TAUNT = true
2523
	for i=0, 0.1, 0.1 / Animation_Speed do
2524
		Swait()
2525
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2526
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2527
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2528
	end
2529
	for i=0, 3, 0.1 / Animation_Speed do
2530
		Swait()
2531
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2532
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2533
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2534
	end
2535
	CreateSound(363808674, Torso, 10, 1.3)
2536
	for i=0, 1, 0.1 / Animation_Speed do
2537
		Swait()
2538
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
2539
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
2540
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2541
	end
2542
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2543
	CreateSound(649634100, Torso, 10, 0.8)
2544
	for i=0, 0.01, 0.1 / Animation_Speed do
2545
		Swait()
2546
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
2547
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
2548
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
2549
	end
2550
	ATTACK = false
2551
	Rooted = false
2552
	TAUNT = false
2553
end
2554
2555
function dudewtfbro()
2556
	local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
2557
	if HITFLOOR then
2558
		local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
2559
		CreateSound("1295446488", Torso, 5, 1)
2560
		for i = 1, 5 do
2561
			WACKYEFFECT({
2562
				Time = MRANDOM(15, 35),
2563
				EffectType = "Round Slash",
2564
				Size = VT(0, 0, 0),
2565
				Size2 = VT(0.3, 0, 0.3),
2566
				Transparency = 0.5,
2567
				Transparency2 = 1,
2568
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
2569
				MoveToPos = nil,
2570
				RotationX = MRANDOM(-50, 50) / 10,
2571
				RotationY = MRANDOM(-50, 50) / 10,
2572
				RotationZ = MRANDOM(-50, 50) / 10,
2573
				Material = "Neon",
2574
				Color = C3(1, 1, 1),
2575
				SoundID = nil,
2576
				SoundPitch = nil,
2577
				SoundVolume = nil
2578
			})
2579
		end
2580
		ATTACK = true
2581
		Rooted = true
2582
		UNANCHOR = false
2583
		RootPart.Anchored = true
2584
		RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
2585
		for i = 1, 5 do
2586
			WACKYEFFECT({
2587
				Time = MRANDOM(15, 35),
2588
				EffectType = "Round Slash",
2589
				Size = VT(0, 0, 0),
2590
				Size2 = VT(0.3, 0, 0.3),
2591
				Transparency = 0.5,
2592
				Transparency2 = 1,
2593
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
2594
				MoveToPos = nil,
2595
				RotationX = MRANDOM(-50, 50) / 10,
2596
				RotationY = MRANDOM(-50, 50) / 10,
2597
				RotationZ = MRANDOM(-50, 50) / 10,
2598
				Material = "Neon",
2599
				Color = C3(1, 1, 1),
2600
				SoundID = nil,
2601
				SoundPitch = nil,
2602
				SoundVolume = nil
2603
			})
2604
		end
2605
		for i = 0, 0.2, 0.1 / Animation_Speed do
2606
			Swait()
2607
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
2608
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2609
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2610
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2611
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2612
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
2613
		end
2614
		for i = 0, 1, 0.1 / Animation_Speed do
2615
			Swait()
2616
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
2617
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
2618
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
2619
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
2620
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
2621
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
2622
		end
2623
		for i = 1, 10 do
2624
			Swait()
2625
			RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
2626
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
2627
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
2628
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
2629
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
2630
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
2631
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
2632
		end
2633
		for i = 0, 0.2, 0.1 / Animation_Speed do
2634
			Swait()
2635
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
2636
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
2637
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2638
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
2639
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2640
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2641
		end
2642
		local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
2643
		if HITFLOOR then
2644
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
2645
				local CHILDREN = HITFLOOR.Parent:GetDescendants()
2646
				for index, CHILD in pairs(CHILDREN) do
2647
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
2648
						for i = 1, 5 do
2649
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
2650
							CHILD:remove()
2651
						end
2652
					end
2653
				end
2654
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2655
				SOUNDPART.CFrame = CF(HITPOS)
2656
				Debris:AddItem(SOUNDPART, 5)
2657
				CreateSound("130972023", SOUNDPART, 6, 3)
2658
				CreateSound("182765513", SOUNDPART, 6, 1)
2659
				WACKYEFFECT({
2660
					EffectType = "Ring",
2661
					Size = VT(0, 0, 0),
2662
					Size2 = VT(1, 1, 0),
2663
					Transparency = 0.7,
2664
					Transparency2 = 1,
2665
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2666
					MoveToPos = nil,
2667
					RotationX = 0,
2668
					RotationY = 0,
2669
					RotationZ = 0,
2670
					Material = "Neon",
2671
					Color = C3(1, 1, 1),
2672
					SoundID = nil,
2673
					SoundPitch = nil,
2674
					SoundVolume = nil
2675
				})
2676
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2677
				local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
2678
				for index, CHILD in pairs(CHILDREN) do
2679
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
2680
						for i = 1, 5 do
2681
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
2682
							CHILD:remove()
2683
						end
2684
					end
2685
				end
2686
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2687
				SOUNDPART.CFrame = CF(HITPOS)
2688
				Debris:AddItem(SOUNDPART, 5)
2689
				CreateSound("130972023", SOUNDPART, 6, 3)
2690
				CreateSound("182765513", SOUNDPART, 6, 1)
2691
				WACKYEFFECT({
2692
					EffectType = "Ring",
2693
					Size = VT(0, 0, 0),
2694
					Size2 = VT(1, 1, 0),
2695
					Transparency = 0.7,
2696
					Transparency2 = 1,
2697
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2698
					MoveToPos = nil,
2699
					RotationX = 0,
2700
					RotationY = 0,
2701
					RotationZ = 0,
2702
					Material = "Neon",
2703
					Color = C3(1, 1, 1),
2704
					SoundID = nil,
2705
					SoundPitch = nil,
2706
					SoundVolume = nil
2707
				})
2708
			elseif HITFLOOR.Anchored == false then
2709
				if HITFLOOR.Parent ~= workspace then
2710
					local CHILDREN = HITFLOOR.Parent:GetDescendants()
2711
					for index, CHILD in pairs(CHILDREN) do
2712
						if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
2713
							for i = 1, 5 do
2714
								CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
2715
							end
2716
							CHILD:remove()
2717
						end
2718
					end
2719
				else
2720
					for i = 1, 5 do
2721
						CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
2722
					end
2723
					HITFLOOR:remove()
2724
				end
2725
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2726
				SOUNDPART.CFrame = CF(HITPOS)
2727
				Debris:AddItem(SOUNDPART, 5)
2728
				CreateSound("130972023", SOUNDPART, 10, 3)
2729
				CreateSound("178452217", SOUNDPART, 6, 1)
2730
				WACKYEFFECT({
2731
					EffectType = "Ring",
2732
					Size = VT(0, 0, 0),
2733
					Size2 = VT(1, 1, 0),
2734
					Transparency = 0.7,
2735
					Transparency2 = 1,
2736
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
2737
					MoveToPos = nil,
2738
					RotationX = 0,
2739
					RotationY = 0,
2740
					RotationZ = 0,
2741
					Material = "Neon",
2742
					Color = C3(1, 1, 1),
2743
					SoundID = nil,
2744
					SoundPitch = nil,
2745
					SoundVolume = nil
2746
				})
2747
			else
2748
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
2749
				SOUNDPART.CFrame = CF(HITPOS)
2750
				Debris:AddItem(SOUNDPART, 5)
2751
				CreateSound("130972023", SOUNDPART, 10, 1)
2752
				CreateSound("130972023", SOUNDPART, 6, 0.7)
2753
				CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
2754
				CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
2755
				ApplyAoE(HITPOS, 15, 45, 75, 75, false)
2756
				ApplyAoE(HITPOS, 25, 25, 35, 35, false)
2757
				for i = 1, 5 do
2758
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
2759
				end
2760
				for i = 1, 5 do
2761
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
2762
				end
2763
			end
2764
		end
2765
		for i = 0, 1.2, 0.1 / Animation_Speed do
2766
			Swait()
2767
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
2768
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
2769
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
2770
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
2771
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2772
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
2773
		end
2774
		ATTACK = false
2775
		Rooted = false
2776
		UNANCHOR = true
2777
		RootPart.Anchored = false
2778
	end
2779
end
2780
2781
--//=================================\\
2782
--||	  ASSIGN THINGS TO KEYS
2783
--\\=================================//
2784
2785
function MouseDown(Mouse)
2786
	HOLD = true
2787
	if ATTACK == false then
2788
	end
2789
end
2790
2791
function MouseUp(Mouse)
2792
HOLD = false
2793
end
2794
2795
function KeyDown(Key)
2796
	KEYHOLD = true
2797
	if Key == "z" and ATTACK == false then
2798
		WarpMeteor()
2799
	end
2800
2801
	if Key == "b" and ATTACK == false then
2802
		Morning_Star()
2803
	end
2804
2805
	if Key == "c" and ATTACK == false then
2806
		KEYHOLD = true
2807
		CyberSmash()
2808
	end
2809
2810
	if Key == "v" and ATTACK == false then
2811
		KEYHOLD = true
2812
		MagicMissiles()
2813
	end
2814
2815
	if Key == "e" and ATTACK == false then
2816
		Deathbound()
2817
	end
2818
2819
	if Key == "x" and ATTACK == false then
2820
		Banisher_Bullet()
2821
	end
2822
2823
	if Key == "t" and ATTACK == false then
2824
		Taunt()
2825
	end
2826
2827
	if Key == "p" and ATTACK == false then
2828
		TakeOnMe()
2829
	end
2830
2831
	if Key == "y" and ATTACK == false then
2832
		Laugh()
2833
	end
2834
2835
	if Key == "f" and ATTACK == false then
2836
		Anger()
2837
	end
2838
2839
	if Key == "u" and ATTACK == false then
2840
			DoDaTwist()
2841
		end
2842
	if Key == "q" and ATTACK == false then
2843
		dudewtfbro()
2844
	end
2845
2846
end
2847
2848
function KeyUp(Key)
2849
	KEYHOLD = false
2850
end
2851
2852
	Mouse.Button1Down:connect(function(NEWKEY)
2853
		MouseDown(NEWKEY)
2854
	end)
2855
	Mouse.Button1Up:connect(function(NEWKEY)
2856
		MouseUp(NEWKEY)
2857
	end)
2858
	Mouse.KeyDown:connect(function(NEWKEY)
2859
		KeyDown(NEWKEY)
2860
	end)
2861
	Mouse.KeyUp:connect(function(NEWKEY)
2862
		KeyUp(NEWKEY)
2863
	end)
2864
2865
--//=================================\\
2866
--\\=================================//
2867
2868
function AntiTimeStop()
2869
	for _, c in pairs(Character:GetChildren()) do
2870
		if c:IsA("BasePart") then
2871
			c.Anchored = false
2872
		end
2873
	end
2874
	for _, c in pairs(Weapon:GetChildren()) do
2875
		if c:IsA("BasePart") then
2876
			c.Anchored = false
2877
		end
2878
	end
2879
end
2880
2881
--//=================================\\
2882
--||	WRAP THE WHOLE SCRIPT UP
2883
--\\=================================//
2884
2885
Humanoid.Changed:connect(function(Jump)
2886
	if Jump == "Jump" and (Disable_Jump == true) then
2887
		Humanoid.Jump = false
2888
	end
2889
end)
2890
2891
local sick = IT("Sound")
2892
2893
while true do
2894
	Swait()
2895
	script.Parent = WEAPONGUI
2896
	ANIMATE.Parent = nil
2897
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2898
	    v:Stop();
2899
	end
2900
	SINE = SINE + CHANGE
2901
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2902
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2903
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2904
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2905
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2906
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2907
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
2908
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2909
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2910
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2911
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2912
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2913
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2914
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2915
	end
2916
	if HITFLOOR == nil then
2917
		ANIM = "Midair"
2918
		if ATTACK == false then
2919
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2920
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2921
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2922
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2923
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2924
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2925
		end
2926
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2927
		ANIM = "Idle"
2928
		if ATTACK == false then
2929
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2930
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2931
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2932
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2933
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2934
		end
2935
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2936
		ANIM = "Walk"
2937
		if ATTACK == false then
2938
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2939
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2940
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
2941
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
2942
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2943
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2944
		end
2945
	end
2946
	sick.SoundId = "rbxassetid://584489577"
2947
	sick.Looped = true
2948
	sick.Pitch = 1
2949
	sick.Volume = 2
2950
	sick.Playing = true
2951
	sick.Parent = Effects
2952
	AntiTimeStop()
2953
	if Rooted == false then
2954
		Disable_Jump = false
2955
		Humanoid.WalkSpeed = Speed
2956
	elseif Rooted == true then
2957
		Disable_Jump = true
2958
		Humanoid.WalkSpeed = 0
2959
	end
2960
end
2961
2962
	Humanoid.MaxHealth = "inf"
2963
	Humanoid.Health = "inf"
2964
2965
local WhiteList={}WhiteList[1]="Zyotech"WhiteList[2]="neonsamgames11"WhiteList[3]="lukasafuri"WhiteList[4]="Animetaional_Clone"WhiteList[5]="CODED_FILE"WhiteList[6]=""WhiteList[7]="megasteak105"WhiteList[8]="MLGOfficalMLG"WhiteList[9]="lllkillrIII"WhiteList[10]="pixelanthony11"WhiteList[11]="CakeCoo"
2966
local flg=false 
2967
for i=1,#WhiteList do 
2968
if WhiteList[i]==Player.Name then 
2969
flg=true end end 
2970
if not flg then error("Hah, nice try using this.")end
2971
2972
--//=================================\\
2973
--\\=================================//
2974
2975
--//====================================================\\--
2976
--||			  		 END OF SCRIPT
2977
--\\====================================================//--