View difference between Paste ID: AmMkcCtH and SX1ZpzEH
SHOW: | | - or go back to the newest paste.
1-
Player=game:GetService("Players").Overgamer10
1+
--Chocobo Gifted by TheRedAngel, Regular Script!
2-
Character=Player.Character 
2+
3-
PlayerGui=Player.PlayerGui
3+
Player = game.Players.overhaleren
4-
Backpack=Player.Backpack 
4+
5-
Torso=Character.Torso 
5+
Character = Player.Character 
6-
Head=Character.Head 
6+
7-
Humanoid=Character.Humanoid
7+
PlayerGui = Player.PlayerGui 
8-
m=Instance.new('Model',Character)
8+
9-
LeftArm=Character["Left Arm"] 
9+
Backpack = Player.Backpack 
10-
LeftLeg=Character["Left Leg"] 
10+
11-
RightArm=Character["Right Arm"] 
11+
Torso = Character.Torso 
12-
RightLeg=Character["Right Leg"] 
12+
13-
LS=Torso["Left Shoulder"] 
13+
Head = Character.Head 
14-
LH=Torso["Left Hip"] 
14+
15-
RS=Torso["Right Shoulder"] 
15+
LeftArm = Character["Left Arm"] 
16-
RH=Torso["Right Hip"] 
16+
17-
Face = Head.face
17+
LeftLeg = Character["Left Leg"] 
18-
Neck=Torso.Neck
18+
19-
it=Instance.new
19+
RightArm = Character["Right Arm"] 
20-
attacktype=1
20+
21-
vt=Vector3.new
21+
RightLeg = Character["Right Leg"] 
22-
cf=CFrame.new
22+
23-
euler=CFrame.fromEulerAnglesXYZ
23+
LS = Torso["Left Shoulder"] 
24-
angles=CFrame.Angles
24+
25-
cloaked=false
25+
LH = Torso["Left Hip"] 
26-
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
26+
27-
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
27+
RS = Torso["Right Shoulder"] 
28-
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
28+
29-
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
29+
RH = Torso["Right Hip"] 
30-
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
30+
31-
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
31+
ModelName = "Chocobo"
32-
RootPart=Character.HumanoidRootPart
32+
33-
RootJoint=RootPart.RootJoint
33+
34-
RootCF=euler(-1.57,0,3.14)
34+
35
attacktype = 1
36-
attackdebounce = false 
36+
37-
deb=false
37+
Hitdeb = 0
38-
equipped=true
38+
39-
hand=false
39+
value1=0
40-
MMouse=nil
40+
41-
combo=0
41+
Neck = Torso.Neck
42-
mana=0
42+
43-
trispeed=.2
43+
local neckcf0 = Neck.C0
44-
attackmode='none'
44+
45-
local idle=0
45+
46-
local Anim="Idle"
46+
----------------------------
47-
local Effects={}
47+
48-
local gun=false
48+
--Customize
49-
local shoot=false
49+
50-
player=nil 
50+
Energy = 200
51-
mana=0
51+
52
MaxEnergy = 200
53-
mouse=Player:GetMouse()
53+
54-
--save shoulders 
54+
ChocoboHP = 500
55-
RSH, LSH=nil, nil 
55+
56-
--welds 
56+
57-
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
57+
Alive = false
58-
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
58+
59-
LH=Torso["Left Hip"]
59+
60-
RH=Torso["Right Hip"]
60+
mindamage = 20
61-
TorsoColor=Torso.BrickColor
61+
62-
function NoOutline(Part)
62+
maxdamage = 40
63-
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
63+
64
crtmaxdamage = 50
65-
player=Player 
65+
66-
ch=Character
66+
omindamage = mindamage
67-
RSH=ch.Torso["Right Shoulder"] 
67+
68-
LSH=ch.Torso["Left Shoulder"] 
68+
omaxdamage = maxdamage 
69
70-
RSH.Parent=nil 
70+
ocrtmaxdamage = crtmaxdamage
71-
LSH.Parent=nil 
71+
72
crtrate = 100/5
73-
RW.Name="Right Shoulder"
73+
74-
RW.Part0=ch.Torso 
74+
--100%/critpercentage
75-
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
75+
76-
RW.C1=cf(0, 0.5, 0) 
76+
77-
RW.Part1=ch["Right Arm"] 
77+
oblkbrkr = 2
78-
RW.Parent=ch.Torso 
78+
79
blockbreaker = oblkbrkr
80-
LW.Name="Left Shoulder"
80+
81-
LW.Part0=ch.Torso 
81+
82-
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
82+
speed = 30
83-
LW.C1=cf(0, 0.5, 0) 
83+
84-
LW.Part1=ch["Left Arm"] 
84+
jump = 60
85-
LW.Parent=ch.Torso 
85+
86
87-
	Player=game:GetService('Players').LocalPlayer
87+
if Character.Name=="Name" then
88-
	Character=Player.Character
88+
89-
	Mouse=Player:GetMouse()
89+
ColorVariation = "Name her" 
90-
	m=Instance.new('Model',Character)
90+
91
elseif Character.Name=="DahNoob" then
92
93-
	local function weldBetween(a, b)
93+
ColorVariation = "DahNoob" 
94-
	    local weldd = Instance.new("ManualWeld")
94+
95-
	    weldd.Part0 = a
95+
elseif Character.Name=="Robloxshathelper" then
96-
	    weldd.Part1 = b
96+
97-
	    weldd.C0 = CFrame.new()
97+
ColorVariation = "Robloxshathelper"
98-
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
98+
99-
	    weldd.Parent = a
99+
100-
	    return weldd
100+
101-
	end
101+
ColorVariation = "Yellow"
102-
	
102+
103-
	it=Instance.new
103+
104-
	
104+
105-
	function nooutline(part)
105+
106-
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
106+
if ColorVariation == "Yellow" then
107-
	end
107+
108-
	
108+
handlecolor = BrickColor.new("Bright yellow")
109-
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
109+
110-
		local fp=it("Part")
110+
bcolor = BrickColor.new("Bright orange") 
111-
		fp.formFactor=formfactor
111+
112-
		fp.Parent=parent
112+
beakcolor = BrickColor.new("Bright orange")
113-
		fp.Reflectance=reflectance
113+
114-
		fp.Transparency=transparency
114+
ropecolor = BrickColor.new("Brown")
115-
		fp.CanCollide=false
115+
116-
		fp.Locked=true
116+
eyecolor = BrickColor.new("Bright blue")
117-
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
117+
118-
		fp.Name=name
118+
elseif                                 ColorVariation == "Red" then
119-
		fp.Size=size
119+
120-
		fp.Position=Character.Torso.Position
120+
handlecolor =BrickColor.new("Bright red")
121-
		nooutline(fp)
121+
122-
		fp.Material=material
122+
bcolor = BrickColor.new("Black")
123-
		fp:BreakJoints()
123+
124-
		return fp
124+
beakcolor = BrickColor.new("Really red")
125-
	end
125+
126-
	
126+
ropecolor = BrickColor.new("Brown")
127-
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
127+
128-
		local mesh=it(Mesh)
128+
eyecolor = BrickColor.new("Bright blue")
129-
		mesh.Parent=part
129+
130-
		if Mesh=="SpecialMesh" then
130+
elseif                                 ColorVariation == "Black" then
131-
			mesh.MeshType=meshtype
131+
132-
			mesh.MeshId=meshid
132+
handlecolor = BrickColor.new("Black")
133-
		end
133+
134-
		mesh.Offset=offset
134+
bcolor = BrickColor.new("Brown")
135-
		mesh.Scale=scale
135+
136-
		return mesh
136+
beakcolor = BrickColor.new("Bright orange")
137-
	end
137+
138-
	
138+
ropecolor = BrickColor.new("Brown")
139-
	function weld(parent,part0,part1,c0,c1)
139+
140-
		local weld=it("Weld")
140+
eyecolor = BrickColor.new("Bright blue")
141-
		weld.Parent=parent
141+
142-
		weld.Part0=part0
142+
elseif                                 ColorVariation == "Purple" then
143-
		weld.Part1=part1
143+
144-
		weld.C0=c0
144+
handlecolor = BrickColor.new("Alder")
145-
		weld.C1=c1
145+
146-
		return weld
146+
bcolor = BrickColor.new("Bright violet")
147-
	end    
147+
148
beakcolor = BrickColor.new("Bright orange")
149
150-
    Player=game:GetService('Players').LocalPlayer
150+
ropecolor = BrickColor.new("Brown")
151-
	Character=Player.Character
151+
152-
	Mouse=Player:GetMouse()
152+
eyecolor = BrickColor.new("Bright blue")
153-
	m=Instance.new('Model',Character)
153+
154
elseif                                 ColorVariation == "Name" then
155
156-
	local function weldBetween(a, b)
156+
handlecolor =BrickColor.new("White")
157-
	    local weldd = Instance.new("ManualWeld")
157+
158-
	    weldd.Part0 = a
158+
bcolor = BrickColor.new("Bright orange")
159-
	    weldd.Part1 = b
159+
160-
	    weldd.C0 = CFrame.new()
160+
beakcolor = BrickColor.new("Bright orange")
161-
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
161+
162-
	    weldd.Parent = a
162+
ropecolor = BrickColor.new("Brown")
163-
	    return weldd
163+
164-
	end
164+
eyecolor = BrickColor.new("Navy blue")
165-
	
165+
166-
	it=Instance.new
166+
elseif                                 ColorVariation == "Orange" then
167-
	
167+
168-
	function nooutline(part)
168+
handlecolor =BrickColor.new("Neon orange")
169-
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
169+
170-
	end
170+
bcolor = BrickColor.new("Brown")
171-
	
171+
172-
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
172+
beakcolor = BrickColor.new("Brown")
173-
		local fp=it("Part")
173+
174-
		fp.formFactor=formfactor
174+
ropecolor = BrickColor.new("Bright yellow")
175-
		fp.Parent=parent
175+
176-
		fp.Reflectance=reflectance
176+
eyecolor = BrickColor.new("Royal purple")
177-
		fp.Transparency=transparency
177+
178-
		fp.CanCollide=false
178+
elseif                                 ColorVariation == "DahNoob" then
179-
		fp.Locked=true
179+
180-
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
180+
handlecolor = BrickColor.new("Black")
181-
		fp.Name=name
181+
182-
		fp.Size=size
182+
bcolor = BrickColor.new("Medium stone grey") 
183-
		fp.Position=Character.Torso.Position
183+
184-
		nooutline(fp)
184+
beakcolor = BrickColor.new("Medium stone grey")
185-
		fp.Material=material
185+
186-
		fp:BreakJoints()
186+
ropecolor = BrickColor.new("Brown")
187-
		return fp
187+
188-
	end
188+
eyecolor = BrickColor.new("Really black")
189-
	
189+
190-
	function swait(num)
190+
elseif                                 ColorVariation == "Robloxshathelper" then
191-
    if num==0 or num==nil then
191+
192-
    game:service'RunService'.Stepped:wait(0)
192+
handlecolor = BrickColor.new("Bright blue")
193-
    else
193+
194-
    for i=0,num do
194+
bcolor = BrickColor.new("Bright orange") 
195-
    game:service'RunService'.Stepped:wait(0)
195+
196
beakcolor = BrickColor.new("Bright orange")
197
198
ropecolor = BrickColor.new("Brown")
199-
	
199+
200-
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
200+
eyecolor = BrickColor.new("Bright blue")
201-
		local mesh=it(Mesh)
201+
202-
		mesh.Parent=part
202+
203-
		if Mesh=="SpecialMesh" then
203+
204-
			mesh.MeshType=meshtype
204+
--Custom
205-
			mesh.MeshId=meshid
205+
206-
		end
206+
handlecolor =BrickColor.new("Bright blue")
207-
		mesh.Offset=offset
207+
208-
		mesh.Scale=scale
208+
bcolor = BrickColor.new("Medium blue")
209-
		return mesh
209+
210-
	end
210+
beakcolor = BrickColor.new("Medium blue")
211-
	
211+
212-
	function weld(parent,part0,part1,c0,c1)
212+
ropecolor = BrickColor.new("White")
213-
		local weld=it("Weld")
213+
214-
		weld.Parent=parent
214+
215-
		weld.Part0=part0
215+
216-
		weld.Part1=part1
216+
217-
		weld.C0=c0
217+
Ride = true
218-
		weld.C1=c1
218+
219-
		return weld
219+
Rope = true
220-
	end
220+
221-
	
221+
222-
	
222+
223-
local function CFrameFromTopBack(at, top, back)
223+
ToolName = "Chocobo"
224-
local right = top:Cross(back)
224+
225-
return CFrame.new(at.x, at.y, at.z,
225+
226-
right.x, top.x, back.x,
226+
---------------------------------------------------------------------------------------------------------------------------------------
227-
right.y, top.y, back.y,
227+
228-
right.z, top.z, back.z)
228+
if Character:findFirstChild("EquippedVal",true) ~= nil then
229
230
Character:findFirstChild("EquippedVal",true).Parent = nil
231-
function Triangle(a, b, c)
231+
232-
local edg1 = (c-a):Dot((b-a).unit)
232+
233-
local edg2 = (a-b):Dot((c-b).unit)
233+
234-
local edg3 = (b-c):Dot((a-c).unit)
234+
ev = Instance.new("BoolValue",Character)
235-
if edg1 <= (b-a).magnitude and edg1 >= 0 then
235+
236-
a, b, c = a, b, c
236+
ev.Name = "EquippedVal"
237-
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
237+
238-
a, b, c = b, c, a
238+
ev.Value = false
239-
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
239+
240-
a, b, c = c, a, b
240+
if Character:findFirstChild("Block",true) ~= nil then
241
242-
assert(false, "unreachable")
242+
Character:findFirstChild("Block",true).Parent = nil
243
244
end
245-
local len1 = (c-a):Dot((b-a).unit)
245+
246-
local len2 = (b-a).magnitude - len1
246+
247-
local width = (a + (b-a).unit*len1 - c).magnitude
247+
248
--player
249-
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
249+
250
player = nil
251-
local list = {}
251+
252
--welds
253-
local Color = BrickColor.new("Dark grey")
253+
254
RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
255-
if len1 > 0.01 then
255+
256-
local w1 = Instance.new('WedgePart', m)
256+
--what anim
257-
game:GetService("Debris"):AddItem(w1,5)
257+
258-
w1.Material = "SmoothPlastic"
258+
anim = "none"
259-
w1.FormFactor = 'Custom'
259+
260-
w1.BrickColor = BrickColor.new(Color)
260+
--other var
261-
w1.Transparency = 0
261+
262-
w1.Reflectance = 0
262+
player = Player
263-
w1.Material = "SmoothPlastic"
263+
264-
w1.CanCollide = false
264+
ch = Character
265-
NoOutline(w1)
265+
266-
local sz = Vector3.new(0.2, width, len1)
266+
--save shoulders
267-
w1.Size = sz
267+
268-
local sp = Instance.new("SpecialMesh",w1)
268+
AoETrue = {}
269-
sp.MeshType = "Wedge"
269+
270-
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
270+
RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
271-
w1:BreakJoints()
271+
272-
w1.Anchored = true
272+
273-
w1.Parent = workspace
273+
274-
w1.Transparency = 0.7
274+
function RWFunc()
275-
table.insert(Effects,{w1,"Disappear",.01})
275+
276-
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
276+
        RW.Part1 = ch["Right Arm"]
277-
table.insert(list,w1)
277+
278
        RSH.Part1 = nil
279
280-
if len2 > 0.01 then
280+
281-
local w2 = Instance.new('WedgePart', m)
281+
282-
game:GetService("Debris"):AddItem(w2,5)
282+
function LWFunc()
283-
w2.Material = "SmoothPlastic"
283+
284-
w2.FormFactor = 'Custom'
284+
        LW.Part1 = ch["Left Arm"]
285-
w2.BrickColor = BrickColor.new(Color)
285+
286-
w2.Transparency = 0
286+
        LSH.Part1 = nil
287-
w2.Reflectance = 0
287+
288-
w2.Material = "SmoothPlastic"
288+
289-
w2.CanCollide = false
289+
290-
NoOutline(w2)
290+
function RWLFunc()
291-
local sz = Vector3.new(0.2, width, len2)
291+
292-
w2.Size = sz
292+
        RWL.Part1 = ch["Right Leg"]
293-
local sp = Instance.new("SpecialMesh",w2)
293+
294-
sp.MeshType = "Wedge"
294+
        RHL.Part1 = nil
295-
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
295+
296-
w2:BreakJoints()
296+
        RightLeg.CanCollide = false
297-
w2.Anchored = true
297+
298-
w2.Parent = workspace
298+
299-
w2.Transparency = 0.7
299+
300-
table.insert(Effects,{w2,"Disappear",.01})
300+
301-
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
301+
function LWLFunc()
302-
table.insert(list,w2)
302+
303
        LWL.Part1 = ch["Left Leg"]
304-
return unpack(list)
304+
305
        LHL.Part1 = nil
306-
	
306+
307-
	
307+
        LeftLeg.CanCollide = true
308-
so = function(id,par,vol,pit) 
308+
309
end
310-
local sou = Instance.new("Sound",par or workspace)
310+
311-
sou.Volume=vol
311+
312-
sou.Pitch=pit or 1
312+
function RWLRem()
313-
sou.SoundId=id
313+
314-
swait() 
314+
        RWL.Part1 = nil
315-
sou:play() 
315+
316-
game:GetService("Debris"):AddItem(sou,6)
316+
        RHL.Part1 = ch["Right Leg"]
317
318
        RightLeg.CanCollide = false
319
320-
function clerp(a,b,t) 
320+
321-
local qa = {QuaternionFromCFrame(a)}
321+
322-
local qb = {QuaternionFromCFrame(b)} 
322+
function LWLRem()
323-
local ax, ay, az = a.x, a.y, a.z 
323+
324-
local bx, by, bz = b.x, b.y, b.z
324+
        LWL.Part1 = nil
325-
local _t = 1-t
325+
326-
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
326+
        LHL.Part1 = ch["Left Leg"]
327
328
        LeftLeg.CanCollide = false
329-
function QuaternionFromCFrame(cf) 
329+
330-
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
330+
331-
local trace = m00 + m11 + m22 
331+
332-
if trace > 0 then 
332+
function RWRem()
333-
local s = math.sqrt(1 + trace) 
333+
334-
local recip = 0.5/s 
334+
        RW.Part1 = nil
335-
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
335+
336-
else 
336+
        RSH.Part1 = ch["Right Arm"]
337-
local i = 0 
337+
338-
if m11 > m00 then
338+
339-
i = 1
339+
340
function LWRem()
341-
if m22 > (i == 0 and m00 or m11) then 
341+
342-
i = 2 
342+
        LW.Part1 = nil
343
344-
if i == 0 then 
344+
        LSH.Part1 = ch["Left Arm"]
345-
local s = math.sqrt(m00-m11-m22+1) 
345+
346-
local recip = 0.5/s 
346+
347-
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
347+
348-
elseif i == 1 then 
348+
349-
local s = math.sqrt(m11-m22-m00+1) 
349+
350-
local recip = 0.5/s 
350+
351-
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
351+
352-
elseif i == 2 then 
352+
if Character:findFirstChild(ModelName,true) ~= nil then
353-
local s = math.sqrt(m22-m00-m11+1) 
353+
354-
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
354+
Character:findFirstChild(ModelName,true).Parent = nil
355
356
        RHL.Part1 = ch["Right Leg"]
357
358
        LHL.Part1 = ch["Left Leg"]
359-
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
359+
360-
local xs, ys, zs = x + x, y + y, z + z 
360+
        RSH.Part1 = ch["Right Arm"]
361-
local wx, wy, wz = w*xs, w*ys, w*zs 
361+
362-
local xx = x*xs 
362+
        LSH.Part1 = ch["Left Arm"]
363-
local xy = x*ys 
363+
364-
local xz = x*zs 
364+
365-
local yy = y*ys 
365+
366-
local yz = y*zs 
366+
367-
local zz = z*zs 
367+
368-
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)) 
368+
369
370
371-
function QuaternionSlerp(a, b, t) 
371+
372-
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
372+
local swordholder = Instance.new("Model")
373-
local startInterp, finishInterp; 
373+
374-
if cosTheta >= 0.0001 then 
374+
swordholder.Name = ModelName
375-
if (1 - cosTheta) > 0.0001 then 
375+
376-
local theta = math.acos(cosTheta) 
376+
swordholder.Parent = Character
377-
local invSinTheta = 1/math.sin(theta) 
377+
378-
startInterp = math.sin((1-t)*theta)*invSinTheta 
378+
379-
finishInterp = math.sin(t*theta)*invSinTheta  
379+
--derp
380-
else 
380+
381-
startInterp = 1-t 
381+
        RW.Part0 = ch.Torso
382-
finishInterp = t 
382+
383
        RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
384-
else 
384+
385-
if (1+cosTheta) > 0.0001 then 
385+
        RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
386-
local theta = math.acos(-cosTheta) 
386+
387-
local invSinTheta = 1/math.sin(theta) 
387+
        RW.Parent = swordholder
388-
startInterp = math.sin((t-1)*theta)*invSinTheta 
388+
389-
finishInterp = math.sin(t*theta)*invSinTheta 
389+
        --
390-
else 
390+
391-
startInterp = t-1 
391+
        LW.Part0 = ch.Torso
392-
finishInterp = t 
392+
393
        LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
394
395-
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 
395+
        LW.C1 = CFrame.new(0, 0.5, 0)
396
397
        LW.Parent = swordholder
398-
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
398+
399-
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
399+
        --
400
401
        RWL.Part0 = ch.Torso
402-
Player=game:GetService('Players').LocalPlayer
402+
403-
        Character=Player.Character
403+
        RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
404-
        Mouse=Player:GetMouse()
404+
405-
        m=Instance.new('Model',Character)
405+
        RWL.C1 = CFrame.new(0.5, 1, 0)
406
407
        RWL.Parent = swordholder
408-
        local function weldBetween(a, b)
408+
409-
            local weldd = Instance.new("ManualWeld")
409+
        --
410-
            weldd.Part0 = a
410+
411-
            weldd.Part1 = b
411+
        LWL.Part0 = ch.Torso
412-
            weldd.C0 = CFrame.new()
412+
413-
            weldd.C1 = b.CFrame:inverse() * a.CFrame
413+
        LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
414-
            weldd.Parent = a
414+
415-
            return weldd
415+
        LWL.C1 = CFrame.new(-0.5, 1, 0)
416
417-
        
417+
        LWL.Parent = swordholder
418-
        it=Instance.new
418+
419-
        
419+
420-
        function nooutline(part)
420+
421-
                part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
421+
422
423-
        
423+
local msh1 = Instance.new("SpecialMesh")
424-
        function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
424+
425-
                local fp=it("Part")
425+
msh1.Scale = Vector3.new(1,1.2,1.2)
426-
                fp.formFactor=formfactor
426+
427-
                fp.Parent=parent
427+
msh1.MeshType = "Sphere"
428-
                fp.Reflectance=reflectance
428+
429-
                fp.Transparency=transparency
429+
local msh2 = Instance.new("CylinderMesh")
430-
                fp.CanCollide=false
430+
431-
                fp.Locked=true
431+
local msh3 = Instance.new("CylinderMesh")
432-
                fp.BrickColor=BrickColor.new(tostring(brickcolor))
432+
433-
                fp.Name=name
433+
local msh4 = Instance.new("SpecialMesh")
434-
                fp.Size=size
434+
435-
                fp.Position=Character.Torso.Position
435+
msh4.Scale = Vector3.new(1,1,1)
436-
                nooutline(fp)
436+
437-
                fp.Material=material
437+
msh4.MeshType = "Sphere"
438-
                fp:BreakJoints()
438+
439-
                return fp
439+
local msh5 = Instance.new("SpecialMesh")
440
441-
        
441+
msh5.Scale = Vector3.new(1,0.75,1.2)
442-
        function mesh(Mesh,part,meshtype,meshid,offset,scale)
442+
443-
                local mesh=it(Mesh)
443+
msh5.MeshId = "http://www.roblox.com/asset/?id=1778999"
444-
                mesh.Parent=part
444+
445-
                if Mesh=="SpecialMesh" then
445+
local msh6 = Instance.new("SpecialMesh")
446-
                        mesh.MeshType=meshtype
446+
447-
                        mesh.MeshId=meshid
447+
msh6.Scale = Vector3.new(1,1,1)
448
449-
                mesh.Offset=offset
449+
msh6.MeshType = "Sphere"
450-
                mesh.Scale=scale
450+
451-
                return mesh
451+
local msh7 = Instance.new("SpecialMesh")
452
453-
        
453+
msh7.Scale = Vector3.new(1,1,1)
454-
        function weld(parent,part0,part1,c0,c1)
454+
455-
                local weld=it("Weld")
455+
msh7.MeshType = "Sphere"
456-
                weld.Parent=parent
456+
457-
                weld.Part0=part0
457+
local msh6a = Instance.new("SpecialMesh")
458-
                weld.Part1=part1
458+
459-
                weld.C0=c0
459+
msh6a.Scale = Vector3.new(1,1,1)
460-
                weld.C1=c1
460+
461-
                return weld
461+
msh6a.MeshType = "Sphere"
462
463
local msh7a = Instance.new("SpecialMesh")
464-
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Handle",Vector3.new(0.249872148, 0.251215011, 0.249872148))
464+
465-
handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000205993652, -0.360076904, -0.95643425, -0.99999994, -0.000225757583, -0.000720398675, 0.00072045275, -0.000239534784, -0.999999762, 0.000225584954, -1, 0.000239697489))
465+
msh7a.Scale = Vector3.new(1,1,1)
466-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.251215041))
466+
467-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, 0.0691184998, -0.314193964, 1.00000024, -5.92179131e-005, -1.29602695e-005, 5.92175056e-005, 1, -1.97537011e-005, 1.29613618e-005, 1.97527552e-005, 1))
467+
msh7a.MeshType = "Sphere"
468-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
468+
469-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
469+
local msh8 = Instance.new("SpecialMesh")
470-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, -0.45242691, 0.288010597, -0.999997497, 0.000725772523, 0.000227257871, -0.000725722872, -1.00000441, 0.000240282548, 0.000227538287, 0.000240116162, 1.00000548))
470+
471-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
471+
msh8.Scale = Vector3.new(1,1,1)
472-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
472+
473-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.45243454, 0.0367903709, 0.999997497, -0.000720366137, -0.00022235082, 0.000720317767, 1.00000441, -0.000239741683, 0.000222629576, 0.000239580055, 1.00000548))
473+
msh8.MeshType = "Sphere"
474-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
474+
475-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822561, 0.249872148))
475+
local msh9 = Instance.new("SpecialMesh")
476-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.207035065, -0.17373085, 0.999997497, -0.00072160142, -0.00022359869, 0.00073676958, 0.866149008, 0.499794632, -0.000166879006, -0.499795169, 0.866149962))
476+
477-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
477+
msh9.Scale = Vector3.new(1,1,1)
478-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
478+
479-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, 0.45243454, 0.0888251066, -0.999997497, 0.000725971942, 0.00021874324, 0.000725924212, 1.00000441, -0.000240576948, -0.000219023961, -0.000240416673, -1.00000548))
479+
msh9.MeshType = "Sphere"
480-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
480+
481-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.502430081, 0.249872148))
481+
local msh10 = Instance.new("SpecialMesh")
482-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.131931305, -0.502456903, 1.00000024, -5.92213473e-005, -1.04527553e-005, 5.92209981e-005, 1, -1.97814952e-005, 1.04538531e-005, 1.97806949e-005, 1))
482+
483-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
483+
msh10.Scale = Vector3.new(1,1,1)
484-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
484+
485-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.559078217, 0.125410795, 1.00000036, -5.56436135e-006, 5.70751354e-006, 5.56418672e-006, 1.00000012, -6.32018782e-007, -5.70759948e-006, 6.31829607e-007, 1))
485+
msh10.MeshType = "Sphere"
486-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
486+
487-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.251215011))
487+
local msh11 = Instance.new("SpecialMesh")
488-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000114440918, -0.559070587, -0.0630459785, 1.00000036, -3.43425199e-009, 4.1882933e-007, 3.25962901e-009, 1.00000012, -5.07861841e-009, -4.18907319e-007, 4.86033969e-009, 1))
488+
489-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
489+
msh11.Scale = Vector3.new(1,1,1)
490-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
490+
491-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.326820374, 0.287996054, 0.999997497, -0.000720454438, -0.00022328952, 0.000720405835, 1.00000441, -0.000239729197, 0.000223568277, 0.000239566856, 1.00000548))
491+
msh11.MeshType = "Sphere"
492-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
492+
493-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
493+
local msh12 = Instance.new("SpecialMesh")
494-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.389625549, 0.162387133, 0.999997497, -0.00072036538, -0.000222872448, 0.000720316893, 1.00000441, -0.000239734727, 0.000223151204, 0.000239572721, 1.00000548))
494+
495-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
495+
msh12.Scale = Vector3.new(1,1,1)
496-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
496+
497-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.0062828064, -0.125666976, 1.00000036, -5.82076609e-011, -1.0415279e-007, -5.82076609e-011, 1.00000012, 1.92085281e-009, 1.04069201e-007, -2.12457962e-009, 1))
497+
msh12.MeshType = "Sphere"
498-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
498+
499-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.320299208, 0.249872148))
499+
local msh13 = Instance.new("SpecialMesh")
500-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000480651855, 0.235279083, -0.0481357574, 0.999997497, -0.000721339951, -0.000224050062, 0.000736768707, 0.866149008, 0.499794632, -0.000166357378, -0.499795169, 0.866149962))
500+
501-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
501+
msh13.Scale = Vector3.new(1,1,1)
502-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
502+
503-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, 0.182186127, 0.12538743, -1.00000036, 9.11590178e-006, 1.74332206e-006, -9.11578536e-006, -1.00000012, 9.46136424e-007, 1.74326954e-006, 9.45903594e-007, 1))
503+
msh13.MeshType = "Sphere"
504-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
504+
505-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
505+
local msh14 = Instance.new("SpecialMesh")
506-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433101654, -1.0681597, -0.000518798828, -0.000720398675, -0.999999762, 0.000239697489, 0.000225757554, 0.000239534755, 0.999999881, -0.99999994, 0.00072045275, 0.000225584954))
506+
507-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
507+
msh14.Scale = Vector3.new(1,1,1)
508-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
508+
509-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449054718, 1.06155396, -0.000518798828, 0.000349763839, 0.706936777, -0.707275927, -0.00066903315, -0.707275689, -0.706936777, -0.99999994, 0.00072045275, 0.000225584954))
509+
msh14.MeshType = "Sphere"
510-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327357, 0.195947766, 2.49582171))
510+
511-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.25121507, 0.249872148))
511+
local msh15 = Instance.new("SpecialMesh")
512-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.370616913, 0.125349045, 1.00000036, 7.15954229e-009, -5.11285134e-006, -7.33416528e-009, 1.00000012, 6.86413841e-008, 5.11277858e-006, -6.88451109e-008, 1))
512+
513-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
513+
msh15.Scale = Vector3.new(1,1,1)
514-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.628037453))
514+
515-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -0.55904007, -0.628454924, 1.00000036, -3.20364488e-005, -2.10887192e-005, 3.20360414e-005, 1.00000012, -1.04982755e-005, 2.10889866e-005, 1.0497417e-005, 1))
515+
msh15.MeshType = "Sphere"
516-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
516+
517-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822561, 0.249872148, 0.502430081))
517+
local msh16 = Instance.new("SpecialMesh")
518-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433403015, -0.188618064, 1.00000036, 1.11758709e-008, -6.992203e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.9921266e-006, -9.38744051e-008, 1))
518+
519-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
519+
msh16.Scale = Vector3.new(1,1,1)
520-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
520+
521-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, -1.00516951, 0.320278168, -1.00000024, 6.65510888e-005, 1.68400602e-005, 1.68413608e-005, 2.0647436e-005, 1, 6.65506232e-005, 1, -2.06487457e-005))
521+
msh16.MeshType = "Sphere"
522-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
522+
523-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822591, 0.249872148))
523+
local msh17 = Instance.new("SpecialMesh")
524-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.0691642761, -1.00482428, 1.00000024, -5.9222104e-005, -9.93106914e-006, 5.92217548e-005, 1, -1.9788451e-005, 9.9321569e-006, 1.97876652e-005, 1))
524+
525-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
525+
msh17.Scale = Vector3.new(1,1,1)
526-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
526+
527-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433422089, -0.753872871, 1.00000036, 8.68557254e-006, -5.82381335e-006, -8.68568895e-006, 1.00000012, 2.99772364e-006, 5.8237415e-006, -2.99786916e-006, 1))
527+
msh17.MeshType = "Sphere"
528-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
528+
529-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.376822591))
529+
local msh18 = Instance.new("SpecialMesh")
530-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, 0.32036972, -0.753610492, 1.00000024, -5.92212891e-005, -1.04526243e-005, 5.92209399e-005, 1, -1.97814952e-005, 1.04537221e-005, 1.97806949e-005, 1))
530+
531-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
531+
msh18.Scale = Vector3.new(1,1,1)
532-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.376822591, 0.376822591))
532+
533-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, 0.0691490173, -0.753605008, 1.00000024, -5.9221813e-005, -1.01400929e-005, 5.92214637e-005, 1, -1.97856716e-005, 1.01411933e-005, 1.97848713e-005, 1))
533+
msh18.MeshType = "Sphere"
534-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 1))
534+
535-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.25121507, 0.502430022))
535+
local msh19 = Instance.new("SpecialMesh")
536-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.244979858, -0.188724279, 1.00000036, 1.11758709e-008, -6.99218845e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.99211205e-006, -9.38744051e-008, 1))
536+
537-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.376822591, 0.376822561))
537+
msh19.Scale = Vector3.new(1,1,1)
538-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.433349609, -1.38218713, 1.00000024, -5.91896242e-005, -2.39263682e-005, 5.92111028e-005, 1, -1.96207548e-005, 2.39328383e-005, 1.96265173e-005, 1))
538+
539-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
539+
msh19.MeshType = "Sphere"
540-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, -0.559082031, 0.251346588, -1.00000024, -2.39079236e-005, -1.38423338e-005, -2.39082146e-005, 1, 9.51347465e-006, 1.38421719e-005, 9.51398397e-006, -1))
540+
541-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
541+
local msh20 = Instance.new("SpecialMesh")
542-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
542+
543-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144958496, 0.559082031, -0.251361251, -1.00000024, -1.84752862e-005, -6.47418165e-006, 1.84755772e-005, -1, -9.59941826e-006, -6.47407114e-006, -9.59972385e-006, 1))
543+
msh20.Scale = Vector3.new(1,1,1)
544-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
544+
545-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
545+
msh20.MeshType = "Sphere"
546-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.43346405, 0.502572298, -1.00000036, 5.48030948e-006, -6.26139763e-006, 5.48013486e-006, 1.00000012, -2.82510882e-007, 6.26146448e-006, -2.82365363e-007, -1))
546+
547-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
547+
local msh21 = Instance.new("SpecialMesh")
548-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
548+
549-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, 0.43346405, -0.502573967, -1.00000036, 1.09116663e-005, 1.524249e-006, -1.09114917e-005, -1.00000012, 1.91022991e-007, 1.52417022e-006, 1.90804712e-007, 1))
549+
msh21.Scale = Vector3.new(1,1,1)
550-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
550+
551-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.25121507))
551+
msh21.MeshType = "Sphere"
552-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.0565261841, -1.06798422, 1.00000024, -5.9191836e-005, -2.70642977e-005, 5.91911376e-005, 1, -1.95882458e-005, 2.70653727e-005, 1.95864559e-005, 1))
552+
553-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
553+
local msh22 = Instance.new("CylinderMesh")
554-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
554+
555-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000495910645, -0.625137329, -0.67111969, 0.999997497, -0.00072721875, -0.000194401277, 0.000651851704, 0.707277596, 0.706942856, -0.000376532524, -0.70694226, 0.70727849))
555+
local msh23 = Instance.new("CylinderMesh")
556-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687335))
556+
557-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.395663708))
557+
local msh24 = Instance.new("BlockMesh")
558-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 0.144451141, -0.62521112, 1.00000024, -5.9185375e-005, -3.07253576e-005, 5.91846183e-005, 1, -1.95451576e-005, 3.07264309e-005, 1.95431639e-005, 1))
558+
559-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
559+
local msh25 = Instance.new("BlockMesh")
560-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
560+
561-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.433422089, -1.63327813, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
561+
local msh26 = Instance.new("BlockMesh")
562-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
562+
563-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.376822591, 0.251215041))
563+
local msh27 = Instance.new("BlockMesh")
564-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.433334351, -1.0680908, 1.00000036, -4.52231034e-005, -2.28274512e-005, 4.52225795e-005, 1.00000012, -1.49286498e-005, 2.28280478e-005, 1.49274274e-005, 1))
564+
565-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
565+
local msh28 = Instance.new("CylinderMesh")
566-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.43334198, 1.75898731, 0.000129699707, -2.69297161e-005, -1.00000012, 1.91715808e-005, -6.51740556e-005, -1.91696308e-005, -1, 1.00000036, -2.69311131e-005, -6.51736191e-005))
566+
567-
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
567+
local msh29 = Instance.new("CylinderMesh")
568-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
568+
569-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000129699707, -0.684700012, -1.50741279, 1.00000024, -6.4982567e-005, -1.10206747e-005, 6.50263974e-005, 1, -1.95248285e-005, 1.10326419e-005, 1.95386674e-005, 1))
569+
local msh30 = Instance.new("BlockMesh")
570-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
570+
571-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
571+
local msh31 = Instance.new("BlockMesh")
572-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, -0.684638977, -1.63328862, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
572+
573-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
573+
local msh32 = Instance.new("BlockMesh")
574-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.251215041, 0.249872148, 0.376822591))
574+
575-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.244930267, 1.75896168, 0.000129699707, -2.69391458e-005, -1.00000012, 1.92259758e-005, -5.96150421e-005, -1.9224186e-005, -1, 1.00000036, -2.69404845e-005, -5.96145801e-005))
575+
local msh33 = Instance.new("BlockMesh")
576-
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
576+
577-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
577+
578-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125732422, -0.684707642, -0.125760436, 1.00000036, -5.79509651e-006, 7.80390383e-006, 5.79492189e-006, 1.00000012, 1.72105501e-007, -7.80397568e-006, -1.72265572e-007, 1))
578+
local prt1 = Instance.new("Part")
579-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
579+
580-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.502430081))
580+
prt1.formFactor = 3
581-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.307754517, -0.6913836, 1.00000024, -1.13646965e-005, -1.22719966e-005, 1.13644637e-005, 1, -3.66875611e-006, 1.22719612e-005, 3.66842141e-006, 1))
581+
582-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
582+
prt1.CanCollide = true
583-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
583+
584-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125473022, -0.684703827, -0.125751019, 1.00000036, -5.79480547e-006, 7.69880899e-006, 5.79463085e-006, 1.00000012, 1.73502485e-007, -7.69889721e-006, -1.73648004e-007, 1))
584+
prt1.Name = "ChocoboBody"
585-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
585+
586-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 1.13046777))
586+
prt1.Locked = true
587-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.91821289e-005, -0.182117462, -1.13084769, 1.00000024, -5.91959688e-005, -2.53911767e-005, 5.91952703e-005, 1, -1.96104957e-005, 2.53922535e-005, 1.96088076e-005, 1))
587+
588-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
588+
prt1.Size = Vector3.new(3.5,2.5,5) 
589-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
589+
590-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, 0.502620816, 0.182220459, -1.00000036, 3.14078643e-005, 2.9162622e-005, -2.91631495e-005, -1.99905044e-005, -1, -3.14071076e-005, -1.00000012, 1.99916249e-005))
590+
prt1.Parent = swordholder
591-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
591+
592-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
592+
msh1.Parent = prt1
593-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.502616286, -0.182235718, -1.00000036, 3.87764885e-005, 2.37294116e-005, 2.37300956e-005, 1.99014321e-005, 1, 3.87758482e-005, 1.00000012, -1.99025526e-005))
593+
594-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
594+
prt1.BrickColor = handlecolor
595-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
595+
596-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125656128, -0.684650421, -0.251537204, 1.00000036, 1.50175765e-008, -8.97663449e-006, -1.51921995e-008, 1.00000012, 1.48662366e-007, 8.97656173e-006, -1.48866093e-007, 1))
596+
local prt2 = Instance.new("Part")
597-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
597+
598-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
598+
prt2.formFactor = 3
599-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125549316, -0.684650421, -0.251536846, 1.00000036, 1.51921995e-008, -9.08120455e-006, -1.53668225e-008, 1.00000012, 1.5005935e-007, 9.08113088e-006, -1.50248525e-007, 1))
599+
600-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
600+
prt2.CanCollide = true
601-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
601+
602-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06815958, 0.433101654, -0.000518798828, -0.000225757482, -0.000239519795, -0.999999642, -0.000720398501, -0.999999523, 0.000239682529, -0.99999994, 0.00072045275, 0.000225584954))
602+
prt2.Name = "ChocoboNeck"
603-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
603+
604-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
604+
prt2.Locked = true
605-
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06155396, -0.449050903, -0.000518798828, -0.000669033267, -0.707275808, -0.706936955, -0.000349763926, -0.706936955, 0.707276046, -0.99999994, 0.00072045275, 0.000225584954))
605+
606-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
606+
prt2.Size = Vector3.new(1.25,2,1.25)
607-
BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Barrel",Vector3.new(0.251214981, 0.249872148, 0.376822591))
607+
608-
BarrelAweld=weld(m,handle,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433361053, 1.76527333, 0.00016784668, -5.6413468e-005, -1, 1.91889267e-005, -7.36084621e-005, -1.91846048e-005, -1.00000024, 1.00000048, -5.64150396e-005, -7.36074362e-005))
608+
prt2.Parent = swordholder
609-
mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
609+
610-
mesh("BlockMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
610+
msh2.Parent = prt2
611
612-
handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","handle2",Vector3.new(0.249872148, 0.251215011, 0.249872148))
612+
prt2.BrickColor = handlecolor
613-
handle2weld=weld(m,Character["Left Arm"],handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.36007309, -0.95643425, -0.99999994, -0.000225757583, -0.000720398675, 0.00072045275, -0.000239534784, -0.999999762, 0.000225584954, -1, 0.000239697489))
613+
614-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.251215041))
614+
local prt3 = Instance.new("Part")
615-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, 0.0691146851, -0.314193964, 1.00000024, -5.92179131e-005, -1.29602695e-005, 5.92175056e-005, 1, -1.97537011e-005, 1.29613618e-005, 1.97527552e-005, 1))
615+
616-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
616+
prt3.formFactor = 3
617-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
617+
618-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, -0.452423096, 0.288010597, -0.999997497, 0.000725772523, 0.000227257871, -0.000725722872, -1.00000441, 0.000240282548, 0.000227538287, 0.000240116162, 1.00000548))
618+
prt3.CanCollide = true
619-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
619+
620-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
620+
prt3.Name = "ChocoboNeck2"
621-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.452430725, 0.0367903709, 0.999997497, -0.000720366137, -0.00022235082, 0.000720317767, 1.00000441, -0.000239741683, 0.000222629576, 0.000239580055, 1.00000548))
621+
622-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
622+
prt3.Locked = true
623-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822561, 0.249872148))
623+
624-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.20703125, -0.173728943, 0.999997497, -0.00072160142, -0.00022359869, 0.00073676958, 0.866149008, 0.499794632, -0.000166879006, -0.499795169, 0.866149962))
624+
prt3.Size = Vector3.new(1.25,2,1.25)
625-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
625+
626-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
626+
prt3.Parent = swordholder
627-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000465393066, 0.452430725, 0.0888252258, -0.999997497, 0.000725971942, 0.00021874324, 0.000725924212, 1.00000441, -0.000240576948, -0.000219023961, -0.000240416673, -1.00000548))
627+
628-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
628+
msh3.Parent = prt3
629-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.502430081, 0.249872148))
629+
630-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.13192749, -0.502457142, 1.00000024, -5.92213473e-005, -1.04527553e-005, 5.92209981e-005, 1, -1.97814952e-005, 1.04538531e-005, 1.97806949e-005, 1))
630+
prt3.BrickColor = handlecolor
631-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
631+
632-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
632+
local prt3a = Instance.new("Part")
633-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.559078217, 0.125410557, 1.00000036, -5.56436135e-006, 5.70751354e-006, 5.56418672e-006, 1.00000012, -6.32018782e-007, -5.70759948e-006, 6.31829607e-007, 1))
633+
634-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
634+
prt3a.formFactor = 3
635-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.251215011))
635+
636-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000114440918, -0.559074402, -0.0630459785, 1.00000036, -3.43425199e-009, 4.1882933e-007, 3.25962901e-009, 1.00000012, -5.07861841e-009, -4.18907319e-007, 4.86033969e-009, 1))
636+
prt3a.CanCollide = false
637-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
637+
638-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
638+
prt3a.Name = "ChocoboNeck2Joint"
639-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.326816559, 0.287996054, 0.999997497, -0.000720454438, -0.00022328952, 0.000720405835, 1.00000441, -0.000239729197, 0.000223568277, 0.000239566856, 1.00000548))
639+
640-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
640+
prt3a.Locked = true
641-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
641+
642-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000473022461, 0.389621735, 0.162387133, 0.999997497, -0.00072036538, -0.000222872448, 0.000720316893, 1.00000441, -0.000239734727, 0.000223151204, 0.000239572721, 1.00000548))
642+
prt3a.Size = Vector3.new(0.2,0.2,0.2)
643-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
643+
644-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215011, 0.249872148))
644+
prt3a.Parent = swordholder
645-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0.006275177, -0.125666976, 1.00000036, -5.82076609e-011, -1.0415279e-007, -5.82076609e-011, 1.00000012, 1.92085281e-009, 1.04069201e-007, -2.12457962e-009, 1))
645+
646-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
646+
prt3a.Transparency = 1
647-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.320299208, 0.249872148))
647+
648-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000480651855, 0.235275269, -0.0481338501, 0.999997497, -0.000721339951, -0.000224050062, 0.000736768707, 0.866149008, 0.499794632, -0.000166357378, -0.499795169, 0.866149962))
648+
local prt4 = Instance.new("Part")
649-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
649+
650-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
650+
prt4.formFactor = 3
651-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, 0.182186127, 0.12538743, -1.00000036, 9.11590178e-006, 1.74332206e-006, -9.11578536e-006, -1.00000012, 9.46136424e-007, 1.74326954e-006, 9.45903594e-007, 1))
651+
652-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
652+
prt4.CanCollide = true
653-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
653+
654-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433105469, -1.0681597, -0.000518798828, -0.000720398675, -0.999999762, 0.000239697489, 0.000225757554, 0.000239534755, 0.999999881, -0.99999994, 0.00072045275, 0.000225584954))
654+
prt4.Name = "Head"
655-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
655+
656-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
656+
prt4.Locked = true 
657-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449050903, 1.06155396, -0.000518798828, 0.000349763839, 0.706936777, -0.707275927, -0.00066903315, -0.707275689, -0.706936777, -0.99999994, 0.00072045275, 0.000225584954))
657+
658-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327357, 0.195947766, 2.49582171))
658+
prt4.Size = Vector3.new(2,2,3)
659-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.25121507, 0.249872148))
659+
660-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.370620728, 0.125349045, 1.00000036, 7.15954229e-009, -5.11285134e-006, -7.33416528e-009, 1.00000012, 6.86413841e-008, 5.11277858e-006, -6.88451109e-008, 1))
660+
prt4.Parent = swordholder
661-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
661+
662-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.628037453))
662+
msh4.Parent = prt4 
663-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -0.559043884, -0.628455162, 1.00000036, -3.20364488e-005, -2.10887192e-005, 3.20360414e-005, 1.00000012, -1.04982755e-005, 2.10889866e-005, 1.0497417e-005, 1))
663+
664-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
664+
prt4.BrickColor = handlecolor
665-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822561, 0.249872148, 0.502430081))
665+
666-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.43340683, -0.188618183, 1.00000036, 1.11758709e-008, -6.992203e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.9921266e-006, -9.38744051e-008, 1))
666+
local trs = Instance.new("Part")
667-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
667+
668-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
668+
trs.formFactor = 3
669-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, -1.00516927, 0.320274353, -1.00000024, 6.65510888e-005, 1.68400602e-005, 1.68413608e-005, 2.0647436e-005, 1, 6.65506232e-005, 1, -2.06487457e-005))
669+
670-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
670+
trs.CanCollide = true
671-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.376822591, 0.249872148))
671+
672-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.0691604614, -1.0048244, 1.00000024, -5.9222104e-005, -9.93106914e-006, 5.92217548e-005, 1, -1.9788451e-005, 9.9321569e-006, 1.97876652e-005, 1))
672+
trs.Name = "Torso"
673-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
673+
674-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
674+
trs.Locked = true 
675-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, -0.433425903, -0.753872871, 1.00000036, 8.68557254e-006, -5.82381335e-006, -8.68568895e-006, 1.00000012, 2.99772364e-006, 5.8237415e-006, -2.99786916e-006, 1))
675+
676-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
676+
trs.Size = Vector3.new(0.2,0.2,0.2)
677-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.249872148, 0.376822591))
677+
678-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, 0.320365906, -0.75361073, 1.00000024, -5.92212891e-005, -1.04526243e-005, 5.92209399e-005, 1, -1.97814952e-005, 1.04537221e-005, 1.97806949e-005, 1))
678+
trs.Parent = swordholder
679-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 1))
679+
680-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.249872148, 0.376822591, 0.376822591))
680+
trs.Transparency = 1
681-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, 0.0691452026, -0.753605008, 1.00000024, -5.9221813e-005, -1.01400929e-005, 5.92214637e-005, 1, -1.97856716e-005, 1.01411933e-005, 1.97848713e-005, 1))
681+
682-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 1))
682+
local wt = Instance.new("Weld")
683-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.25121507, 0.502430022))
683+
684-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.244983673, -0.188724399, 1.00000036, 1.11758709e-008, -6.99218845e-006, -1.13504939e-008, 1.00000012, 9.36706783e-008, 6.99211205e-006, -9.38744051e-008, 1))
684+
wt.Parent = trs
685-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.376822591, 0.376822561))
685+
686-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.433353424, -1.38218737, 1.00000024, -5.91896242e-005, -2.39263682e-005, 5.92111028e-005, 1, -1.96207548e-005, 2.39328383e-005, 1.96265173e-005, 1))
686+
wt.Part0 = trs
687-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
687+
688-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000114440918, -0.559089661, 0.251346469, -1.00000024, -2.39079236e-005, -1.38423338e-005, -2.39082146e-005, 1, 9.51347465e-006, 1.38421719e-005, 9.51398397e-006, -1))
688+
wt.Part1 = prt4
689-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
689+
690-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
690+
wt.C0 = CFrame.Angles(math.rad(25),0,0)
691-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144958496, 0.559089661, -0.251361251, -1.00000024, -1.84752862e-005, -6.47418165e-006, 1.84755772e-005, -1, -9.59941826e-006, -6.47407114e-006, -9.59972385e-006, 1))
691+
692-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
692+
local prt5 = Instance.new("Part")
693-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
693+
694-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.43347168, 0.502572179, -1.00000036, 5.48030948e-006, -6.26139763e-006, 5.48013486e-006, 1.00000012, -2.82510882e-007, 6.26146448e-006, -2.82365363e-007, -1))
694+
prt5.formFactor = 3
695-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
695+
696-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
696+
prt5.CanCollide = false
697-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, 0.433467865, -0.502573967, -1.00000036, 1.09116663e-005, 1.524249e-006, -1.09114917e-005, -1.00000012, 1.91022991e-007, 1.52417022e-006, 1.90804712e-007, 1))
697+
698-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
698+
prt5.Name = "Beak"
699-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.25121507))
699+
700-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.0565299988, -1.0679841, 1.00000024, -5.9191836e-005, -2.70642977e-005, 5.91911376e-005, 1, -1.95882458e-005, 2.70653727e-005, 1.95864559e-005, 1))
700+
prt5.Locked = true
701-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
701+
702-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
702+
prt5.Size = Vector3.new(1,1.5,1)
703-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000495910645, -0.625141144, -0.67111969, 0.999997497, -0.00072721875, -0.000194401277, 0.000651851704, 0.707277596, 0.706942856, -0.000376532524, -0.70694226, 0.70727849))
703+
704-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687335))
704+
prt5.Parent = swordholder
705-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.395663708))
705+
706-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 0.144447327, -0.62521112, 1.00000024, -5.9185375e-005, -3.07253576e-005, 5.91846183e-005, 1, -1.95451576e-005, 3.07264309e-005, 1.95431639e-005, 1))
706+
msh5.Parent = prt5
707-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
707+
708-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.376822591, 0.249872148))
708+
prt5.BrickColor = beakcolor
709-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000106811523, -0.433425903, -1.63327825, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
709+
710-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.502687216))
710+
711-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.376822591, 0.251215041))
711+
local prt6 = Instance.new("Part")
712-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.433338165, -1.06809092, 1.00000036, -4.52231034e-005, -2.28274512e-005, 4.52225795e-005, 1.00000012, -1.49286498e-005, 2.28280478e-005, 1.49274274e-005, 1))
712+
713-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 0.376822591))
713+
prt6.formFactor = 3
714-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433349609, 1.75898743, 0.000129699707, -2.69297161e-005, -1.00000012, 1.91715808e-005, -6.51740556e-005, -1.91696308e-005, -1, 1.00000036, -2.69311131e-005, -6.51736191e-005))
714+
715-
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
715+
prt6.CanCollide = false
716-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
716+
717-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000129699707, -0.684707642, -1.50741291, 1.00000024, -6.4982567e-005, -1.10206747e-005, 6.50263974e-005, 1, -1.95248285e-005, 1.10326419e-005, 1.95386674e-005, 1))
717+
prt6.Name = "Eye1"
718-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
718+
719-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
719+
prt6.Locked = true
720-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, -0.684642792, -1.63328874, 1.00000024, -5.919463e-005, -2.74966787e-005, 5.91939315e-005, 1, -1.95596949e-005, 2.74977483e-005, 1.95578905e-005, 1))
720+
721-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
721+
prt6.Size = Vector3.new(0.3,0.3,0.6)
722-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.251215041, 0.249872148, 0.376822591))
722+
723-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.244937897, 1.75896156, 0.000129699707, -2.69391458e-005, -1.00000012, 1.92259758e-005, -5.96150421e-005, -1.9224186e-005, -1, 1.00000036, -2.69404845e-005, -5.96145801e-005))
723+
prt6.Parent = swordholder
724-
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
724+
725-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
725+
msh6.Parent = prt6
726-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125732422, -0.684711456, -0.125760555, 1.00000036, -5.79509651e-006, 7.80390383e-006, 5.79492189e-006, 1.00000012, 1.72105501e-007, -7.80397568e-006, -1.72265572e-007, 1))
726+
727-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
727+
prt6.BrickColor = BrickColor.new("White")
728-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822501, 0.249872148, 0.502430081))
728+
729-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -0.307758331, -0.691383839, 1.00000024, -1.13646965e-005, -1.22719966e-005, 1.13644637e-005, 1, -3.66875611e-006, 1.22719612e-005, 3.66842141e-006, 1))
729+
local prt7 = Instance.new("Part")
730-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
730+
731-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
731+
prt7.formFactor = 3
732-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125473022, -0.684707642, -0.125751138, 1.00000036, -5.79480547e-006, 7.69880899e-006, 5.79463085e-006, 1.00000012, 1.73502485e-007, -7.69889721e-006, -1.73648004e-007, 1))
732+
733-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
733+
prt7.CanCollide = false
734-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822501, 0.249872148, 1.13046777))
734+
735-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.91821289e-005, -0.182121277, -1.13084757, 1.00000024, -5.91959688e-005, -2.53911767e-005, 5.91952703e-005, 1, -1.96104957e-005, 2.53922535e-005, 1.96088076e-005, 1))
735+
prt7.Name = "Eye2"
736-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
736+
737-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
737+
prt7.Locked = true
738-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, 0.502620697, 0.182224274, -1.00000036, 3.14078643e-005, 2.9162622e-005, -2.91631495e-005, -1.99905044e-005, -1, -3.14071076e-005, -1.00000012, 1.99916249e-005))
738+
739-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
739+
prt7.Size = Vector3.new(0.3,0.3,0.6)
740-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.376822591, 0.249872148, 0.249872148))
740+
741-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, -0.502616286, -0.182239532, -1.00000036, 3.87764885e-005, 2.37294116e-005, 2.37300956e-005, 1.99014321e-005, 1, 3.87758482e-005, 1.00000012, -1.99025526e-005))
741+
prt7.Parent = swordholder
742-
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 0.502687216))
742+
743-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
743+
msh7.Parent = prt7
744-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.125656128, -0.684658051, -0.251536965, 1.00000036, 1.50175765e-008, -8.97663449e-006, -1.51921995e-008, 1.00000012, 1.48662366e-007, 8.97656173e-006, -1.48866093e-007, 1))
744+
745-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
745+
prt7.BrickColor = BrickColor.new("White")
746-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.249872148, 0.249872148, 0.249872148))
746+
747-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.125549316, -0.684654236, -0.251536846, 1.00000036, 1.51921995e-008, -9.08120455e-006, -1.53668225e-008, 1.00000012, 1.5005935e-007, 9.08113088e-006, -1.50248525e-007, 1))
747+
local prt6a = Instance.new("Part")
748-
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 0.502687216, 0.502687216))
748+
749-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
749+
prt6a.formFactor = 3
750-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06815958, 0.433105469, -0.000518798828, -0.000225757482, -0.000239519795, -0.999999642, -0.000720398501, -0.999999523, 0.000239682529, -0.99999994, 0.00072045275, 0.000225584954))
750+
751-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
751+
prt6a.CanCollide = false
752-
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.249872148, 0.251215041, 0.628037632))
752+
753-
Partweld=weld(m,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06155396, -0.449050903, -0.000518798828, -0.000669033267, -0.707275808, -0.706936955, -0.000349763926, -0.706936955, 0.707276046, -0.99999994, 0.00072045275, 0.000225584954))
753+
prt6a.Name = "Eye1a"
754-
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.0791327506, 0.195947751, 2.49582171))
754+
755-
BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Barrel",Vector3.new(0.251214981, 0.249872148, 0.376822591))
755+
prt6a.Locked = true
756-
BarrelBweld=weld(m,handle2,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.433368683, 1.76527357, 0.00016784668, -5.6413468e-005, -1, 1.91889267e-005, -7.36084621e-005, -1.91846048e-005, -1.00000024, 1.00000048, -5.64150396e-005, -7.36074362e-005))
756+
757-
mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.502687216, 1))
757+
prt6a.Size = Vector3.new(0.2,0.2,0.3)
758-
mesh("BlockMesh",handle2,"","",Vector3.new(0, 0, 0),Vector3.new(0.502687216, 1, 0.502687216))
758+
759
prt6a.Parent = swordholder
760-
function Laser(Part,Dmg) 
760+
761-
sp = Part.Position 
761+
msh6a.Parent = prt6a
762-
dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0) 
762+
763-
local hit,pos = rayCast(sp,dirr.lookVector,500,Character) 
763+
prt6a.BrickColor = eyecolor
764-
local las=Instance.new("Part",Character) 
764+
765-
las.Anchored=true 
765+
local prt7a = Instance.new("Part")
766-
las.Locked=true 
766+
767-
las.CanCollide=false 
767+
prt7a.formFactor = 3
768-
las.TopSurface=0 
768+
769-
las.BottomSurface=0 
769+
prt7a.CanCollide = false
770-
las.FormFactor = "Custom" 
770+
771-
las.BrickColor=BrickColor.new("Light stone grey") 
771+
prt7a.Name = "Eye2a"
772-
las.Size=Vector3.new(1,1,1) 
772+
773-
las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) 
773+
prt7a.Locked = true
774-
local msh=Instance.new("SpecialMesh",las) 
774+
775-
mag = (Part.Position-pos).magnitude 
775+
prt7a.Size = Vector3.new(0.2,0.2,0.3)
776-
msh.Scale=Vector3.new(0.1,mag,0.1) 
776+
777-
coroutine.resume(coroutine.create(function(Part,Mesh) 
777+
prt7a.Parent = swordholder
778-
for i = 0,1,0.1 do 
778+
779
msh7a.Parent = prt7a
780-
Part.Transparency = Part.Transparency + 0.1 
780+
781-
Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15) 
781+
prt7a.BrickColor = eyecolor
782
783-
Part.Parent = nil 
783+
784-
end),las,msh) 
784+
local prt8 = Instance.new("Part")
785-
if pos ~= nil then 
785+
786-
local las2=Instance.new("Part",Character) 
786+
prt8.formFactor = 3
787-
las2.Anchored=true 
787+
788-
las2.Locked=true 
788+
prt8.CanCollide = false
789-
las2.CanCollide=false 
789+
790-
las2.TopSurface=0 
790+
prt8.Name = "HeadFeathers" 
791-
las2.BottomSurface=0 
791+
792-
las2.FormFactor = "Custom" 
792+
prt8.Locked = true
793-
las2.BrickColor=BrickColor.new("Light stone grey") 
793+
794-
las2.Size=Vector3.new(1,1,1) 
794+
prt8.Size = Vector3.new(1,0.2,3)
795-
--las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) 
795+
796-
las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0) 
796+
prt8.Parent = swordholder
797-
local msh=Instance.new("SpecialMesh",las2) 
797+
798-
msh.MeshType = "Sphere"
798+
msh8.Parent = prt8
799-
mag = (Part.Position-pos).magnitude 
799+
800-
msh.Scale=Vector3.new(0.1,0.1,0.1) 
800+
prt8.BrickColor = handlecolor
801-
coroutine.resume(coroutine.create(function(Part,Mesh) 
801+
802-
--wait(10) 
802+
local prt9 = Instance.new("Part")
803-
for i = 0,1,0.1 do 
803+
804
prt9.formFactor = 3
805-
Part.Transparency = Part.Transparency + 0.1 
805+
806-
Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5) 
806+
prt9.CanCollide = false
807
808-
Part.Parent = nil 
808+
prt9.Name = "HeadFeathers"
809-
end),las2,msh) 
809+
810
prt9.Locked = true
811-
if hit ~= nil and pos ~= nil then 
811+
812-
if hit.Parent.className == "Hat" then 
812+
prt9.Size = Vector3.new(1,0.2,3)
813-
hit:BreakJoints() 
813+
814-
hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5)) 
814+
prt9.Parent = swordholder
815
816-
if(hit.Parent:findFirstChild("Humanoid")~= nil)then 
816+
msh9.Parent = prt9
817-
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then 
817+
818-
hit.Parent.Humanoid:TakeDamage(Dmg) 
818+
prt9.BrickColor = handlecolor 
819
820
local prt10 = Instance.new("Part")
821-
--[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then 
821+
822-
end ]] 
822+
prt10.formFactor = 3
823
824
prt10.CanCollide = false
825
826-
function attackone()
826+
prt10.Name = "HeadFeathers"
827-
		attack=true
827+
828-
		for i=0,1,0.1 do
828+
prt10.Locked = true
829-
			swait()
829+
830-
			RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
830+
prt10.Size = Vector3.new(1,0.2,3)
831-
			LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
831+
832-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
832+
prt10.Parent = swordholder
833-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
833+
834-
		end
834+
msh10.Parent = prt10
835-
		Laser(BarrelA,20)
835+
836-
			so("http://www.roblox.com/asset/?id=149155476",Torso,1,1) 
836+
prt10.BrickColor = handlecolor
837-
		for i=0,1,0.2 do
837+
838-
			swait()
838+
839-
			RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(50),math.rad(50)),.3)
839+
--Wings!!
840-
			LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
840+
841-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(10),math.rad(-50)),.3)
841+
local prt11 = Instance.new("Part")
842-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
842+
843-
		end
843+
prt11.formFactor = 3
844-
		attack=false
844+
845
prt11.CanCollide = false
846
847-
function attacktwo()
847+
prt11.Name = "RightWing"
848-
		attack=true
848+
849-
		for i=0,1,0.1 do
849+
prt11.Locked = true
850-
			swait()
850+
851-
			RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(30),math.rad(50)),.3)
851+
prt11.Size = Vector3.new(1,3,5)
852-
			LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
852+
853-
			--LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
853+
prt11.Parent = swordholder
854-
			--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
854+
855-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
855+
msh11.Parent = prt11
856-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
856+
857-
		end
857+
prt11.BrickColor = handlecolor
858-
		Laser(BarrelB,20)
858+
859-
			so("http://www.roblox.com/asset/?id=149155476",Torso,1,1) 
859+
local prt12 = Instance.new("Part")
860-
		for i=0,1,0.2 do
860+
861-
			swait()
861+
prt12.formFactor = 3
862-
			RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(30),math.rad(50)),.3)
862+
863-
			LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(-50),math.rad(-50)),.3)
863+
prt12.CanCollide = false
864-
			--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(50),math.rad(50)),.3)
864+
865-
			--LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
865+
prt12.Name = "RightWing1"
866-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-10),math.rad(50)),.3)
866+
867-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
867+
prt12.Locked = true
868-
		end
868+
869-
		attack=false
869+
prt12.Size = Vector3.new(0.5,1,2)
870-
	end
870+
871
prt12.Parent = swordholder
872-
function attackthree()
872+
873-
	attack=true
873+
msh12.Parent = prt12
874-
	for i=0,1,0.1 do
874+
875-
			swait()
875+
prt12.BrickColor = handlecolor
876-
			RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
876+
877-
            LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
877+
local prt13 = Instance.new("Part")
878-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
878+
879-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
879+
prt13.formFactor = 3
880-
		end
880+
881-
	for i=0,1,0.2 do
881+
prt13.CanCollide = false
882-
			swait()
882+
883-
					Laser(BarrelA,20)
883+
prt13.Name = "RightWing2"
884-
					Laser(BarrelB,20)
884+
885-
		so("http://www.roblox.com/asset/?id=149155476",Torso,1,1) 
885+
prt13.Locked = true
886-
			RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(100),math.rad(-10),math.rad(-50)),.3)
886+
887-
			LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(100),math.rad(-10),math.rad(-50)),.3)
887+
prt13.Size = Vector3.new(0.5,1,2)
888-
			Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(-10),math.rad(50)),.3)
888+
889-
            RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
889+
prt13.Parent = swordholder
890-
		end
890+
891-
	attack=false
891+
msh13.Parent = prt13
892
893
prt13.BrickColor = handlecolor
894-
mouse.Button1Down:connect(function()
894+
895-
	if attack==false then
895+
local prt14 = Instance.new("Part")
896-
		if attacktype==1 then
896+
897-
			attack=true
897+
prt14.formFactor = 3
898-
			attacktype=2
898+
899-
			attackone()
899+
prt14.CanCollide = false
900-
		elseif attacktype==2 then
900+
901-
			attack=true
901+
prt14.Name = "RightWing3"
902-
			attacktype=3
902+
903-
			attacktwo()
903+
prt14.Locked = true
904-
			elseif attacktype==3 then
904+
905-
			attack=true
905+
prt14.Size = Vector3.new(0.5,1,2)
906-
			attacktype=1
906+
907-
			attackthree()
907+
prt14.Parent = swordholder
908-
		end
908+
909-
	end
909+
msh14.Parent = prt14
910
911
prt14.BrickColor = handlecolor
912-
mouse.KeyDown:connect(function(k)
912+
913-
	k=k:lower()
913+
local prt15 = Instance.new("Part")
914-
	
914+
915
prt15.formFactor = 3
916
917
prt15.CanCollide = false
918-
local sine = 0
918+
919-
local change = 1
919+
prt15.Name = "RightWing4"
920-
local val = 0
920+
921
prt15.Locked = true
922-
while true do
922+
923-
swait()
923+
prt15.Size = Vector3.new(0.5,1,2)
924-
sine = sine + change
924+
925-
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
925+
prt15.Parent = swordholder
926-
local velderp=RootPart.Velocity.y
926+
927-
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
927+
msh15.Parent = prt15
928-
if equipped==true or equipped==false then
928+
929-
if attack==false then
929+
prt15.BrickColor = handlecolor
930-
idle=idle+1
930+
931
932-
idle=0
932+
local prt16 = Instance.new("Part")
933
934-
if idle>=500 then
934+
prt16.formFactor = 3
935-
if attack==false then
935+
936-
--Sheath()
936+
prt16.CanCollide = false
937
938
prt16.Name = "LeftWing"
939-
if RootPart.Velocity.y > 1 and hitfloor==nil then 
939+
940-
Anim="Jump"
940+
prt16.Locked = true
941-
if attack==false then
941+
942
prt16.Size = Vector3.new(1,3,5)
943-
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
943+
944-
Anim="Fall"
944+
prt16.Parent = swordholder
945-
if attack==false then
945+
946
msh16.Parent = prt16
947-
elseif torvel<1 and hitfloor~=nil then
947+
948-
Anim="Idle"
948+
prt16.BrickColor = handlecolor
949-
if attack==false then
949+
950-
RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
950+
local prt17 = Instance.new("Part")
951-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
951+
952-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(50)),.3)
952+
prt17.formFactor = 3
953-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
953+
954
prt17.CanCollide = false
955-
elseif torvel>2 and torvel<22 and hitfloor~=nil then
955+
956-
Anim="Walk"
956+
prt17.Name = "LeftWing1"
957-
if attack==false then
957+
958-
change=3
958+
prt17.Locked = true
959-
RW.C0=clerp(RW.C0,cf(.8,0.5,-1)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
959+
960-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(50),math.rad(30),math.rad(-50)),.3)
960+
prt17.Size = Vector3.new(0.5,1,2)
961-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(-10),math.rad(50)),.3)
961+
962-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
962+
prt17.Parent = swordholder
963
964-
elseif torvel>=22 and hitfloor~=nil then
964+
msh17.Parent = prt17
965-
Anim="Run"
965+
966-
if attack==false then
966+
prt17.BrickColor = handlecolor
967
968
local prt18 = Instance.new("Part")
969
970-
end
970+
prt18.formFactor = 3
971
972
prt18.CanCollide = false
973
974
prt18.Name = "LeftWing2"
975
976
prt18.Locked = true
977
978
prt18.Size = Vector3.new(0.5,1,2)
979
980
prt18.Parent = swordholder
981
982
msh18.Parent = prt18
983
984
prt18.BrickColor = handlecolor
985
986
local prt19 = Instance.new("Part") 
987
988
prt19.formFactor = 3
989
990
prt19.CanCollide = false
991
992
prt19.Name = "LeftWing3"
993
994
prt19.Locked = true
995
996
prt19.Size = Vector3.new(0.5,1,2)
997
998
prt19.Parent = swordholder
999
1000
msh19.Parent = prt19
1001
1002
prt19.BrickColor = handlecolor
1003
1004
local prt20 = Instance.new("Part")
1005
1006
prt20.formFactor = 3
1007
1008
prt20.CanCollide = false
1009
1010
prt20.Name = "LeftWing4"
1011
1012
prt20.Locked = true
1013
1014
prt20.Size = Vector3.new(0.5,1,2)
1015
1016
prt20.Parent = swordholder
1017
1018
msh20.Parent = prt20
1019
1020
prt20.BrickColor = handlecolor
1021
1022
1023
--Tail
1024
1025
local prt21 = Instance.new("Part")
1026
1027
prt21.formFactor = 3
1028
1029
prt21.CanCollide = false
1030
1031
prt21.Name = "Tail"
1032
1033
prt21.Locked = true
1034
1035
prt21.Size = Vector3.new(3,6,1)
1036
1037
prt21.Parent = swordholder
1038
1039
msh21.Parent = prt21
1040
1041
prt21.BrickColor = handlecolor
1042
1043
1044
--Legs
1045
1046
local prt22 = Instance.new("Part")
1047
1048
prt22.formFactor = 3
1049
1050
prt22.CanCollide = true
1051
1052
prt22.Name = "RightLeg"
1053
1054
prt22.Locked = true
1055
1056
prt22.Size = Vector3.new(1,2,1)
1057
1058
prt22.Parent = swordholder
1059
1060
msh22.Parent = prt22
1061
1062
prt22.BrickColor = handlecolor
1063
1064
local prt22a = Instance.new("Part")
1065
1066
prt22a.formFactor = 3
1067
1068
prt22a.CanCollide = false
1069
1070
prt22a.Name = "RightLega"
1071
1072
prt22a.Locked = true
1073
1074
prt22a.Size = Vector3.new(0.2,0.2,0.2)
1075
1076
prt22a.Parent = swordholder
1077
1078
prt22a.Transparency = 1
1079
1080
local prt23 = Instance.new("Part")
1081
1082
prt23.formFactor = 3
1083
1084
prt23.CanCollide = false
1085
1086
prt23.Name = "RightLeg2"
1087
1088
prt23.Locked = true
1089
1090
prt23.Size = Vector3.new(0.75,2,0.75)
1091
1092
prt23.Parent = swordholder
1093
1094
msh23.Parent = prt23
1095
1096
prt23.BrickColor = bcolor
1097
1098
local prt24 = Instance.new("Part")
1099
1100
prt24.formFactor = 3
1101
1102
prt24.CanCollide = false
1103
1104
prt24.Name = "RightFeet"
1105
1106
prt24.Locked = true
1107
1108
prt24.Size = Vector3.new(1,0.75,2.5)
1109
1110
prt24.Parent = swordholder
1111
1112
msh24.Parent = prt24
1113
1114
prt24.BrickColor = bcolor
1115
1116
local prt25 = Instance.new("Part")
1117
1118
prt25.formFactor = 3
1119
1120
prt25.CanCollide = false
1121
1122
prt25.Name = "RightFeet1"
1123
1124
prt25.Locked = true 
1125
1126
prt25.Size = Vector3.new(0.3,0.3,1.5)
1127
1128
prt25.Parent = swordholder
1129
1130
msh25.Parent = prt25
1131
1132
prt25.BrickColor = bcolor
1133
1134
local prt26 = Instance.new("Part")
1135
1136
prt26.formFactor = 3
1137
1138
prt26.CanCollide = false
1139
1140
prt26.Name = "RightFeet2"
1141
1142
prt26.Locked = true 
1143
1144
prt26.Size = Vector3.new(0.5,0.5,1.5)
1145
1146
prt26.Parent = swordholder
1147
1148
msh26.Parent = prt26
1149
1150
prt26.BrickColor = bcolor
1151
1152
local prt27 = Instance.new("Part")
1153
1154
prt27.formFactor = 3
1155
1156
prt27.CanCollide = false
1157
1158
prt27.Name = "RightFeet3"
1159
1160
prt27.Locked = true 
1161
1162
prt27.Size = Vector3.new(0.5,0.5,1.5)
1163
1164
prt27.Parent = swordholder
1165
1166
msh27.Parent = prt27
1167
1168
prt27.BrickColor = bcolor
1169
1170
1171
local prt28 = Instance.new("Part")
1172
1173
prt28.formFactor = 3
1174
1175
prt28.CanCollide = true
1176
1177
prt28.Name = "LeftLeg"
1178
1179
prt28.Locked = true
1180
1181
prt28.Size = Vector3.new(1,2,1)
1182
1183
prt28.Parent = swordholder
1184
1185
msh28.Parent = prt28
1186
1187
prt28.BrickColor = handlecolor
1188
1189
local prt28a = Instance.new("Part")
1190
1191
prt28a.formFactor = 3
1192
1193
prt28a.CanCollide = false
1194
1195
prt28a.Name = "LeftLega"
1196
1197
prt28a.Locked = true
1198
1199
prt28a.Size = Vector3.new(0.2,0.2,0.2)
1200
1201
prt28a.Parent = swordholder
1202
1203
prt28a.Transparency = 1
1204
1205
local prt29 = Instance.new("Part")
1206
1207
prt29.formFactor = 3
1208
1209
prt29.CanCollide = false
1210
1211
prt29.Name = "LeftLeg2"
1212
1213
prt29.Locked = true
1214
1215
prt29.Size = Vector3.new(0.75,2,0.75)
1216
1217
prt29.Parent = swordholder
1218
1219
msh29.Parent = prt29
1220
1221
prt29.BrickColor = bcolor
1222
1223
local prt30 = Instance.new("Part")
1224
1225
prt30.formFactor = 3
1226
1227
prt30.CanCollide = false
1228
1229
prt30.Name = "LeftFeet"
1230
1231
prt30.Locked = true
1232
1233
prt30.Size = Vector3.new(1,0.75,2.5)
1234
1235
prt30.Parent = swordholder
1236
1237
msh30.Parent = prt30
1238
1239
prt30.BrickColor = bcolor
1240
1241
local prt31 = Instance.new("Part")
1242
1243
prt31.formFactor = 3
1244
1245
prt31.CanCollide = false
1246
1247
prt31.Name = "LeftFeet1"
1248
1249
prt31.Locked = true 
1250
1251
prt31.Size = Vector3.new(0.3,0.3,1.5)
1252
1253
prt31.Parent = swordholder
1254
1255
msh31.Parent = prt31
1256
1257
prt31.BrickColor = bcolor
1258
1259
local prt32 = Instance.new("Part")
1260
1261
prt32.formFactor = 3
1262
1263
prt32.CanCollide = false
1264
1265
prt32.Name = "LeftFeet2"
1266
1267
prt32.Locked = true 
1268
1269
prt32.Size = Vector3.new(0.5,0.5,1.5)
1270
1271
prt32.Parent = swordholder
1272
1273
msh32.Parent = prt32
1274
1275
prt32.BrickColor = bcolor
1276
1277
local prt33 = Instance.new("Part")
1278
1279
prt33.formFactor = 3
1280
1281
prt33.CanCollide = false
1282
1283
prt33.Name = "RightFeet3"
1284
1285
prt33.Locked = true 
1286
1287
prt33.Size = Vector3.new(0.5,0.5,1.5)
1288
1289
prt33.Parent = swordholder
1290
1291
msh33.Parent = prt33
1292
1293
prt33.BrickColor = bcolor
1294
1295
1296
--Backseat :D
1297
1298
local prt34 = Instance.new("Seat")
1299
1300
prt34.formFactor = 3
1301
1302
prt34.CanCollide = false
1303
1304
prt34.Name = "Backseat"
1305
1306
prt34.Locked = true 
1307
1308
prt34.Size = Vector3.new(0.2,1,0.2)
1309
1310
prt34.Parent = swordholder
1311
1312
prt34.Transparency = 1
1313
1314
1315
--
1316
1317
local prt35 = Instance.new("Part")
1318
1319
prt35.formFactor = 3
1320
1321
prt35.CanCollide = true
1322
1323
prt35.Name = "Stand"
1324
1325
prt35.Locked = true 
1326
1327
prt35.Size = Vector3.new(1,4,1)
1328
1329
prt35.Parent = swordholder
1330
1331
prt35.Transparency = 1
1332
1333
local w35 = Instance.new("Weld")
1334
1335
w35.Parent = prt35
1336
1337
w35.Part0 = prt35
1338
1339
w35.Part1 = prt1
1340
1341
w35.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1342
1343
w35.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 2,0)  
1344
1345
1346
--Torso
1347
1348
local w1 = Instance.new("Weld")
1349
1350
w1.Parent = prt1 
1351
1352
w1.Part0 = prt1
1353
1354
w1.Part1 = Torso 
1355
1356
w1.C1 = CFrame.fromEulerAnglesXYZ(0, math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)
1357
1358
w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-0), math.rad(0)) * CFrame.new(0, 3, -1)
1359
1360
--Neck
1361
1362
local w2 = Instance.new("Weld")
1363
1364
w2.Parent = prt2
1365
1366
w2.Part0 = prt2
1367
1368
w2.Part1 = prt1
1369
1370
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
1371
1372
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
1373
1374
local w3a = Instance.new("Weld")
1375
1376
w3a.Parent = prt3a
1377
1378
w3a.Part0 = prt3a
1379
1380
w3a.Part1 = prt1
1381
1382
w3a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1383
1384
w3a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -1.5,3)
1385
1386
local w3 = Instance.new("Weld")
1387
1388
w3.Parent = prt3
1389
1390
w3.Part0 = prt3
1391
1392
w3.Part1 = prt3a
1393
1394
w3.C1 = CFrame.Angles(math.rad(-20), 0, 0) * CFrame.new(0, 0.465,0) 
1395
1396
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
1397
1398
--Head
1399
1400
local w4 = Instance.new("Weld")
1401
1402
w4.Parent = prt4
1403
1404
w4.Part0 = prt4
1405
1406
w4.Part1 = prt3
1407
1408
w4.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1409
1410
w4.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -2.5/2,0.25)
1411
1412
local w5 = Instance.new("Weld")
1413
1414
w5.Parent = prt5 
1415
1416
w5.Part0 = prt5
1417
1418
w5.Part1 = prt4
1419
1420
w5.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1421
1422
w5.C0 = CFrame.Angles(math.rad(100), 0, 0) * CFrame.new(0, 0.25,1.45)
1423
1424
local w6 = Instance.new("Weld")
1425
1426
w6.Parent = prt6
1427
1428
w6.Part0 = prt6
1429
1430
w6.Part1 = prt4
1431
1432
w6.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1433
1434
w6.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.75, -0.25,0.75)
1435
1436
local w7 = Instance.new("Weld")
1437
1438
w7.Parent = prt7
1439
1440
w7.Part0 = prt7
1441
1442
w7.Part1 = prt4
1443
1444
w7.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1445
1446
w7.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.75, -0.25,0.75)
1447
1448
local w6a = Instance.new("Weld")
1449
1450
w6a.Parent = prt6a
1451
1452
w6a.Part0 = prt6a
1453
1454
w6a.Part1 = prt4
1455
1456
w6a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1457
1458
w6a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0.775, -0.25,0.91)
1459
1460
local w7a = Instance.new("Weld")
1461
1462
w7a.Parent = prt7a
1463
1464
w7a.Part0 = prt7a
1465
1466
w7a.Part1 = prt4
1467
1468
w7a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1469
1470
w7a.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(-0.775, -0.25,0.91)
1471
1472
local w8 = Instance.new("Weld")
1473
1474
w8.Parent = prt8
1475
1476
w8.Part0 = prt8
1477
1478
w8.Part1 = prt4
1479
1480
w8.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1481
1482
w8.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.9,-1)
1483
1484
local w9 = Instance.new("Weld")
1485
1486
w9.Parent = prt9
1487
1488
w9.Part0 = prt9
1489
1490
w9.Part1 = prt4
1491
1492
w9.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0) 
1493
1494
w9.C0 = CFrame.Angles(math.rad(0), math.rad(20), math.rad(-40)) * CFrame.new(0.75, -0.5,-1)
1495
1496
local w10 = Instance.new("Weld")
1497
1498
w10.Parent = prt10
1499
1500
w10.Part0 = prt10
1501
1502
w10.Part1 = prt4
1503
1504
w10.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1505
1506
w10.C0 = CFrame.Angles(math.rad(0), math.rad(-20), math.rad(40)) * CFrame.new(-0.75, -0.5,-1)
1507
1508
--Right Wing
1509
1510
local w11 = Instance.new("Weld")
1511
1512
w11.Parent = prt11
1513
1514
w11.Part0 = prt11
1515
1516
w11.Part1 = prt1
1517
1518
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1519
1520
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
1521
1522
local w12 = Instance.new("Weld")
1523
1524
w12.Parent = prt12
1525
1526
w12.Part0 = prt12
1527
1528
w12.Part1 = prt11
1529
1530
w12.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1531
1532
w12.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
1533
1534
local w13 = Instance.new("Weld")
1535
1536
w13.Parent = prt13
1537
1538
w13.Part0 = prt13
1539
1540
w13.Part1 = prt11
1541
1542
w13.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1543
1544
w13.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
1545
1546
local w14 = Instance.new("Weld")
1547
1548
w14.Parent = prt14
1549
1550
w14.Part0 = prt14
1551
1552
w14.Part1 = prt11
1553
1554
w14.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1555
1556
w14.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
1557
1558
local w15 = Instance.new("Weld")
1559
1560
w15.Parent = prt15
1561
1562
w15.Part0 = prt15
1563
1564
w15.Part1 = prt11
1565
1566
w15.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1567
1568
w15.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
1569
1570
--Left Wing
1571
1572
local w16 = Instance.new("Weld")
1573
1574
w16.Parent = prt16
1575
1576
w16.Part0 = prt16
1577
1578
w16.Part1 = prt1
1579
1580
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1581
1582
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
1583
1584
local w17 = Instance.new("Weld")
1585
1586
w17.Parent = prt17
1587
1588
w17.Part0 = prt17
1589
1590
w17.Part1 = prt16
1591
1592
w17.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1593
1594
w17.C0 = CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-2.5)
1595
1596
local w18 = Instance.new("Weld")
1597
1598
w18.Parent = prt18
1599
1600
w18.Part0 = prt18
1601
1602
w18.Part1 = prt16
1603
1604
w18.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1605
1606
w18.C0 = CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)) * CFrame.new(0, -0.25,-2.25)
1607
1608
local w19 = Instance.new("Weld")
1609
1610
w19.Parent = prt19
1611
1612
w19.Part0 = prt19
1613
1614
w19.Part1 = prt16
1615
1616
w19.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1617
1618
w19.C0 = CFrame.Angles(math.rad(65), math.rad(0), math.rad(0)) * CFrame.new(0, -0.5,-2)
1619
1620
local w20 = Instance.new("Weld")
1621
1622
w20.Parent = prt20
1623
1624
w20.Part0 = prt20
1625
1626
w20.Part1 = prt16
1627
1628
w20.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1629
1630
w20.C0 = CFrame.Angles(math.rad(75), math.rad(0), math.rad(0)) * CFrame.new(0, -0.75,-1.5)
1631
1632
--Tail
1633
1634
local w21 = Instance.new("Weld")
1635
1636
w21.Parent = prt21 
1637
1638
w21.Part0 = prt21
1639
1640
w21.Part1 = prt1
1641
1642
w21.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1643
1644
w21.C0 = CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)) * CFrame.new(0, -1.5,-3.5)
1645
1646
--Right Leg
1647
1648
local w22 = Instance.new("Weld")
1649
1650
w22.Parent = prt22
1651
1652
w22.Part0 = prt22
1653
1654
w22.Part1 = prt1
1655
1656
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1657
1658
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
1659
1660
local w22a = Instance.new("Weld")
1661
1662
w22a.Parent = prt22a
1663
1664
w22a.Part0 = prt22a
1665
1666
w22a.Part1 = prt22
1667
1668
w22a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1669
1670
w22a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0) 
1671
1672
local w23 = Instance.new("Weld")
1673
1674
w23.Parent = prt23
1675
1676
w23.Part0 = prt23
1677
1678
w23.Part1 = prt22a
1679
1680
w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
1681
1682
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
1683
1684
local w24 = Instance.new("Weld")
1685
1686
w24.Parent = prt24
1687
1688
w24.Part0 = prt24
1689
1690
w24.Part1 = prt23
1691
1692
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
1693
1694
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
1695
1696
local w25 = Instance.new("Weld")
1697
1698
w25.Parent = prt25
1699
1700
w25.Part0 = prt25
1701
1702
w25.Part1 = prt24
1703
1704
w25.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1705
1706
w25.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5) 
1707
1708
local w26 = Instance.new("Weld")
1709
1710
w26.Parent = prt26
1711
1712
w26.Part0 = prt26
1713
1714
w26.Part1 = prt24
1715
1716
w26.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1717
1718
w26.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5) 
1719
1720
local w27 = Instance.new("Weld")
1721
1722
w27.Parent = prt27
1723
1724
w27.Part0 = prt27
1725
1726
w27.Part1 = prt24
1727
1728
w27.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1729
1730
w27.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5)  
1731
1732
--Left Leg
1733
1734
local w28 = Instance.new("Weld")
1735
1736
w28.Parent = prt28
1737
1738
w28.Part0 = prt28
1739
1740
w28.Part1 = prt1
1741
1742
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1743
1744
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
1745
1746
local w28a = Instance.new("Weld")
1747
1748
w28a.Parent = prt28a
1749
1750
w28a.Part0 = prt28a
1751
1752
w28a.Part1 = prt28
1753
1754
w28a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1755
1756
w28a.C0 = CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)) * CFrame.new(0, 1,0) 
1757
1758
local w29 = Instance.new("Weld")
1759
1760
w29.Parent = prt29
1761
1762
w29.Part0 = prt29
1763
1764
w29.Part1 = prt28a
1765
1766
w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
1767
1768
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
1769
1770
local w30 = Instance.new("Weld")
1771
1772
w30.Parent = prt30
1773
1774
w30.Part0 = prt30
1775
1776
w30.Part1 = prt29
1777
1778
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
1779
1780
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
1781
1782
local w31 = Instance.new("Weld")
1783
1784
w31.Parent = prt31
1785
1786
w31.Part0 = prt31
1787
1788
w31.Part1 = prt30
1789
1790
w31.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1791
1792
w31.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.1,-1.5) 
1793
1794
local w32 = Instance.new("Weld")
1795
1796
w32.Parent = prt32
1797
1798
w32.Part0 = prt32
1799
1800
w32.Part1 = prt30
1801
1802
w32.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1803
1804
w32.C0 = CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)) * CFrame.new(-0.75, 0.1,1.5) 
1805
1806
local w33 = Instance.new("Weld")
1807
1808
w33.Parent = prt33
1809
1810
w33.Part0 = prt33
1811
1812
w33.Part1 = prt30
1813
1814
w33.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1815
1816
w33.C0 = CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)) * CFrame.new(0.75, 0.1,1.5) 
1817
1818
--Backseat 
1819
1820
local w34 = Instance.new("Weld")
1821
1822
w34.Parent = prt1
1823
1824
w34.Part0 = prt34
1825
1826
w34.Part1 = prt1
1827
1828
w34.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1829
1830
w34.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, -1,-1.5)  
1831
1832
if Alive then
1833
1834
local hum = Instance.new("Humanoid")
1835
1836
hum.Parent = swordholder
1837
1838
hum.MaxHealth = ChocoboHP
1839
1840
hum.Health = ChocoboHP
1841
1842
hum.PlatformStand = true
1843
1844
end
1845
1846
1847
local w36 = Instance.new("Weld")
1848
1849
local w37 = Instance.new("Weld")
1850
1851
--[[if Rope then
1852
1853
local msh36 = Instance.new("BlockMesh")
1854
1855
local prt36 = Instance.new("Part")
1856
1857
prt36.formFactor = 3
1858
1859
prt36.CanCollide = true
1860
1861
prt36.Name = "MouthRope"
1862
1863
prt36.Locked = true 
1864
1865
prt36.Size = Vector3.new(1,0.2,0.2)
1866
1867
prt36.Parent = swordholder
1868
1869
msh36.Parent = prt36
1870
1871
prt36.BrickColor = ropecolor
1872
1873
w36.Parent = prt36
1874
1875
w36.Part0 = prt36
1876
1877
w36.Part1 = prt5
1878
1879
w36.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1880
1881
w36.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,0)  
1882
1883
local msh37 = Instance.new("BlockMesh")
1884
1885
local prt37 = Instance.new("Part")
1886
1887
prt37.formFactor = 3
1888
1889
prt37.CanCollide = true
1890
1891
prt37.Name = "MouthRope2"
1892
1893
prt37.Locked = true 
1894
1895
prt37.Size = Vector3.new(3,0.2,0.2)
1896
1897
prt37.Parent = swordholder
1898
1899
msh37.Parent = prt37
1900
1901
prt37.BrickColor = ropecolor
1902
1903
w37.Parent = prt37
1904
1905
w37.Part0 = prt37
1906
1907
w37.Part1 = Torso
1908
1909
w37.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1910
1911
w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0,-1)  
1912
1913
local prt38a = Instance.new("Part")
1914
1915
prt38a.formFactor = 3
1916
1917
prt38a.CanCollide = false
1918
1919
prt38a.Name = "MouthRope3Joint"
1920
1921
prt38a.Locked = true 
1922
1923
prt38a.Size = Vector3.new(0.2,0.2,0.2)
1924
1925
prt38a.Parent = swordholder
1926
1927
prt38a.Transparency = 1
1928
1929
local w38a = Instance.new("Weld")
1930
1931
w38a.Parent = prt38a
1932
1933
w38a.Part0 = prt38a
1934
1935
w38a.Part1 = prt3
1936
1937
w38a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1938
1939
w38a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0.5, 1.5,0.5)  
1940
1941
local prt39a = Instance.new("Part")
1942
1943
prt39a.formFactor = 3 
1944
1945
prt39a.CanCollide = false
1946
1947
prt39a.Name = "MouthRope4Joint"
1948
1949
prt39a.Locked = true 
1950
1951
prt39a.Size = Vector3.new(0.2,0.2,0.2)
1952
1953
prt39a.Parent = swordholder
1954
1955
prt39a.Transparency = 1
1956
1957
local w39a = Instance.new("Weld")
1958
1959
w39a.Parent = prt39a
1960
1961
w39a.Part0 = prt39a
1962
1963
w39a.Part1 = prt3
1964
1965
w39a.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
1966
1967
w39a.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-0.5, 1.5,0.5)  
1968
1969
local msh38 = Instance.new("BlockMesh")
1970
1971
local prt38 = Instance.new("Part")
1972
1973
prt38.formFactor = 3
1974
1975
prt38.Name = "MouthRope3"
1976
1977
prt38.Locked = true 
1978
1979
prt38.Size = Vector3.new(0.2,0.2,0.2)
1980
1981
prt38.Parent = swordholder
1982
1983
msh38.Parent = prt38
1984
1985
prt38.BrickColor = ropecolor
1986
1987
prt38.CanCollide = false
1988
1989
prt38.Anchored = true
1990
1991
local msh39 = Instance.new("BlockMesh")
1992
1993
local prt39 = Instance.new("Part")
1994
1995
prt39.formFactor = 3
1996
1997
prt39.Name = "MouthRope4"
1998
1999
prt39.Locked = true 
2000
2001
prt39.Size = Vector3.new(0.2,0.2,0.2)
2002
2003
prt39.Parent = swordholder
2004
2005
msh39.Parent = prt39
2006
2007
prt39.BrickColor = ropecolor
2008
2009
prt39.CanCollide = false
2010
2011
prt39.Anchored = true
2012
2013
local msh40 = Instance.new("BlockMesh")
2014
2015
local prt40 = Instance.new("Part")
2016
2017
prt40.formFactor = 3
2018
2019
prt40.Name = "MouthRope5"
2020
2021
prt40.Locked = true 
2022
2023
prt40.Size = Vector3.new(0.2,0.2,0.2)
2024
2025
prt40.Parent = swordholder
2026
2027
msh40.Parent = prt40
2028
2029
prt40.BrickColor = ropecolor
2030
2031
prt40.CanCollide = false
2032
2033
prt40.Anchored = true
2034
2035
local msh41 = Instance.new("BlockMesh")
2036
2037
local prt41 = Instance.new("Part")
2038
2039
prt41.formFactor = 3
2040
2041
prt41.Name = "MouthRope6"
2042
2043
prt41.Locked = true 
2044
2045
prt41.Size = Vector3.new(0.2,0.2,0.2)
2046
2047
prt41.Parent = swordholder
2048
2049
msh41.Parent = prt41
2050
2051
prt41.BrickColor = ropecolor
2052
2053
prt41.CanCollide = false
2054
2055
prt41.Anchored = true
2056
2057
coroutine.resume(coroutine.create(function()
2058
2059
repeat
2060
2061
wait()
2062
2063
local ll = prt37.CFrame * CFrame.new(prt37.Size.x/-2,0,0)
2064
2065
local rr = prt37.CFrame * CFrame.new(prt37.Size.x/2,0,0)
2066
2067
local oristrpos1 = prt38a.CFrame
2068
2069
local oristrpos2 = prt39a.CFrame
2070
2071
local oristrpos3 = prt36.CFrame*CFrame.new((prt36.Size.x/-2)+0.1,0,0)
2072
2073
local oristrpos4 = prt36.CFrame*CFrame.new((prt36.Size.x/2)-0.1,0,0)
2074
2075
local mg1 = (ll.p - oristrpos1.p).magnitude
2076
2077
local mg2 = (rr.p - oristrpos2.p).magnitude
2078
2079
local mg3 = (oristrpos1.p - oristrpos3.p).magnitude
2080
2081
local mg4 = (oristrpos2.p - oristrpos4.p).magnitude
2082
2083
prt38.Size = Vector3.new(0.2,mg1,0.2) 
2084
2085
prt38.CFrame = CFrame.new((ll.p+oristrpos1.p)/2,oristrpos1.p) * CFrame.Angles(math.rad(90),0,0)
2086
2087
prt39.Size = Vector3.new(0.2,mg2,0.2)
2088
2089
prt39.CFrame = CFrame.new((rr.p+oristrpos2.p)/2,oristrpos2.p) * CFrame.Angles(math.rad(90),0,0)
2090
2091
prt40.Size = Vector3.new(0.2,mg3,0.2)
2092
2093
prt40.CFrame = CFrame.new((oristrpos1.p+oristrpos3.p)/2,oristrpos3.p) * CFrame.Angles(math.rad(90),0,0)
2094
2095
prt41.Size = Vector3.new(0.2,mg3,0.2)
2096
2097
prt41.CFrame = CFrame.new((oristrpos2.p+oristrpos4.p)/2,oristrpos4.p) * CFrame.Angles(math.rad(90),0,0)
2098
2099
until false
2100
2101
end))
2102
2103
end]]
2104
2105
2106
2107
local function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2108
2109
return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2110
2111
end 
2112
2113
2114
local bg = Instance.new("BodyGyro")
2115
2116
bg.maxTorque = bg.maxTorque * math.huge
2117
2118
local bp = Instance.new("BodyPosition")
2119
2120
bp.maxForce = Vector3.new(math.huge,0,math.huge)
2121
2122
bp.P = bp.p * 10
2123
2124
2125
function unequipweld()
2126
2127
w1.Part1 = nil
2128
2129
bg.Parent = prt1
2130
2131
bg.cframe = prt1.CFrame
2132
2133
local hit,pos = rayCast(Torso.Position+Vector3.new(0,10,0), Vector3.new(0,-2,0), 1000, Character)
2134
2135
bp.position = pos + Vector3.new(0,4,0)
2136
2137
bp.Parent = prt1
2138
2139
w37.Part1 = prt2
2140
2141
w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)  
2142
2143
end
2144
2145
2146
unequipweld()
2147
2148
bp.position = (Head.CFrame*CFrame.new(10,0,0)).p
2149
2150
bg.cframe = Head.CFrame
2151
2152
2153
function equipweld()
2154
2155
w1.Part1 = Torso 
2156
2157
bg.Parent = nil
2158
2159
bp.Parent = nil
2160
2161
w37.Part1 = Torso 
2162
2163
w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)  
2164
2165
end
2166
2167
  
2168
2169
2170
2171
function ss(parent,p) --Slash
2172
2173
2174
local SlashSound = Instance.new("Sound")
2175
2176
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
2177
2178
SlashSound.Parent = parent
2179
2180
SlashSound.Volume = .7
2181
2182
SlashSound.Pitch = p
2183
2184
SlashSound.PlayOnRemove = true
2185
2186
coroutine.resume(coroutine.create(function()
2187
2188
wait() 
2189
2190
SlashSound.Parent = nil
2191
2192
end))
2193
2194
end
2195
2196
function uss(parent,p) --unsheath
2197
2198
2199
local SlashSound = Instance.new("Sound")
2200
2201
SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
2202
2203
SlashSound.Parent = parent
2204
2205
SlashSound.Volume = .7
2206
2207
SlashSound.Pitch = p
2208
2209
SlashSound.PlayOnRemove = true
2210
2211
coroutine.resume(coroutine.create(function()
2212
2213
wait() 
2214
2215
SlashSound.Parent = nil
2216
2217
end))
2218
2219
end
2220
2221
function fs(parent,p) --Fire Sound
2222
2223
2224
local SlashSound = Instance.new("Sound")
2225
2226
SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
2227
2228
SlashSound.Parent = parent
2229
2230
SlashSound.Volume = .7
2231
2232
SlashSound.Pitch = p
2233
2234
SlashSound.PlayOnRemove = true
2235
2236
coroutine.resume(coroutine.create(function()
2237
2238
wait()
2239
2240
SlashSound.Parent = nil
2241
2242
end))
2243
2244
end
2245
2246
function ms(parent,p) --Metal Cling Sound
2247
2248
2249
local SlashSound = Instance.new("Sound")
2250
2251
SlashSound.SoundId = "rbxasset://sounds\\metal.ogg"
2252
2253
SlashSound.Parent = parent
2254
2255
SlashSound.Volume = 5
2256
2257
SlashSound.Pitch = p
2258
2259
SlashSound.PlayOnRemove = true
2260
2261
coroutine.resume(coroutine.create(function()
2262
2263
wait()
2264
2265
SlashSound.Parent = nil
2266
2267
end))
2268
2269
end
2270
2271
function ws(parent,p) --Walk Sound
2272
2273
2274
local SlashSound = Instance.new("Sound")
2275
2276
SlashSound.SoundId = "rbxasset://sounds\\bfsl-minifigfoots1.mp3"
2277
2278
SlashSound.Parent = parent
2279
2280
SlashSound.Volume = 1
2281
2282
SlashSound.Pitch = p
2283
2284
SlashSound.PlayOnRemove = true
2285
2286
coroutine.resume(coroutine.create(function()
2287
2288
wait()
2289
2290
SlashSound.Parent = nil
2291
2292
end))
2293
2294
end
2295
2296
--
2297
2298
--
2299
2300
2301
function returndmg()
2302
2303
mindamage = omindamage
2304
2305
maxdamage = omaxdamage
2306
2307
crtmaxdamage = ocrtmaxdamage
2308
2309
end
2310
2311
2312
function subdmg(sub)
2313
2314
mindamage = omindamage - sub
2315
2316
maxdamage = omaxdamage - sub
2317
2318
crtmaxdamage = ocrtmaxdamage - sub
2319
2320
end
2321
2322
2323
function prcntdmg(sub)
2324
2325
mindamage = math.floor(omindamage - (omindamage*(sub/100)))
2326
2327
maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100)))
2328
2329
crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100)))
2330
2331
end
2332
2333
2334
function tagHumanoid(humanoid, player)
2335
2336
        local creator_tag = Instance.new("ObjectValue")
2337
2338
        creator_tag.Value = player
2339
2340
        creator_tag.Name = "creator"
2341
2342
        creator_tag.Parent = humanoid
2343
2344
end
2345
2346
2347
function untagHumanoid(humanoid)
2348
2349
        if humanoid ~= nil then
2350
2351
                local tag = humanoid:findFirstChild("creator")
2352
2353
                if tag ~= nil then
2354
2355
                        tag.Parent = nil
2356
2357
                end
2358
2359
        end
2360
2361
end
2362
2363
2364
2365
2366
2367
function hideanim()
2368
2369
attack = true
2370
2371
RWRem()
2372
2373
LWRem()        
2374
2375
RWLRem()
2376
2377
LWLRem()
2378
2379
unequipweld()
2380
2381
attack = false
2382
2383
end
2384
2385
2386
2387
function equipanim()
2388
2389
attack = true
2390
2391
RWFunc()
2392
2393
RWLFunc()
2394
2395
LWLFunc()
2396
2397
LWFunc()
2398
2399
equipweld()
2400
2401
for i = 0.1 ,1 ,0.1 do
2402
2403
wait()
2404
2405
RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(-20*i))
2406
2407
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
2408
2409
LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45*i),math.rad(0),math.rad(20*i))
2410
2411
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) 
2412
2413
RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(25*i))
2414
2415
RWL.C1 = CFrame.new(0.5, 1, 0)
2416
2417
LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45*i), 0, math.rad(-25*i))
2418
2419
LWL.C1 = CFrame.new(-0.5, 1, 0)
2420
2421
Neck.C0 = neckcf0 * CFrame.Angles(math.rad(0),0,math.rad(0))
2422
2423
end 
2424
2425
2426
attack = false
2427
2428
end
2429
2430
2431
function noarms()
2432
2433
RWRem()
2434
2435
LWRem()
2436
2437
w37.Part1 = prt2
2438
2439
w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.5,-0.6)  
2440
2441
end
2442
2443
2444
function arms()
2445
2446
RWFunc()
2447
2448
LWFunc()
2449
2450
w37.Part1 = Torso 
2451
2452
w37.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,1.25)  
2453
2454
end
2455
2456
2457
function faketors()
2458
2459
local T = Instance.new("Part")
2460
2461
T.formFactor = 0
2462
2463
T.CanCollide = false
2464
2465
T.Name = "FakeTorso"
2466
2467
T.Locked = true
2468
2469
T.Size = Torso.Size
2470
2471
T.Parent = swordholder
2472
2473
T.Transparency = 1
2474
2475
T.BrickColor = Torso.BrickColor
2476
2477
for i,z in pairs(Character:GetChildren()) do
2478
2479
if z.className == "CharacterMesh" then
2480
2481
if z.BodyPart == Enum.BodyPart.Torso then
2482
2483
local SM = Instance.new("SpecialMesh",T)
2484
2485
SM.MeshId = "http://www.roblox.com/asset/?id=" .. z.MeshId
2486
2487
if z.BaseTextureId ~= 0 then
2488
2489
SM.TextureId = z.BaseTextureId
2490
2491
elseif z.OverlayTextureId ~= 0 then
2492
2493
SM.TextureId = z.OverlayTextureId
2494
2495
else
2496
2497
SM.TextureId = ""
2498
2499
end
2500
2501
end
2502
2503
end
2504
2505
end
2506
2507
local wt = Instance.new("Weld")
2508
2509
wt.Parent = T
2510
2511
wt.Part0 = T
2512
2513
wt.Part1 = Torso
2514
2515
RW.Part0 = T
2516
2517
LW.Part0 = T
2518
2519
T.Transparency = 0
2520
2521
Torso.Transparency = 1
2522
2523
RHL.Part0 = T
2524
2525
LHL.Part0 = T
2526
2527
return wt,T
2528
2529
end
2530
2531
2532
2533
if (script.Parent.className ~= "HopperBin") then 
2534
2535
Tool = Instance.new("HopperBin") 
2536
2537
Tool.Parent = Backpack 
2538
2539
Tool.Name = ToolName
2540
2541
script.Parent = Tool 
2542
2543
end 
2544
2545
Bin = script.Parent 
2546
2547
 
2548
2549
function damagesplat(dmg,hit,crit,blocked)
2550
2551
    local mo = Instance.new("Model")
2552
2553
    mo.Name = dmg
2554
2555
    local pa = Instance.new("Part",mo)
2556
2557
    pa.formFactor = 3
2558
2559
    pa.Size = Vector3.new(0.8,0.3,0.8)
2560
2561
    if crit then
2562
2563
    pa.BrickColor = BrickColor.new("Bright yellow")
2564
2565
    elseif not crit then
2566
2567
    pa.BrickColor = BrickColor.new("Bright red")
2568
2569
    end
2570
2571
    if blocked then pa.BrickColor = BrickColor.new("Bright blue") end
2572
2573
    pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
2574
2575
    pa.Name = "Head"
2576
2577
    local hah = Instance.new("Humanoid")
2578
2579
    hah.Parent = mo
2580
2581
    hah.MaxHealth = 0
2582
2583
    hah.Health = 0
2584
2585
    local bp = Instance.new("BodyPosition")
2586
2587
    bp.P = 14000
2588
2589
    bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2590
2591
    bp.position = hit.Position + Vector3.new(0, 5, 0)
2592
2593
    coroutine.resume(coroutine.create(function()
2594
2595
        wait()
2596
2597
        mo.Parent = workspace
2598
2599
        bp.Parent = pa
2600
2601
        wait(1.4)
2602
2603
        mo:remove()
2604
2605
    end))
2606
2607
    return pa
2608
2609
end
2610
2611
2612
function damage(hum,dmg,critornot)
2613
2614
local pa = damagesplat(dmg,hum.Torso,critornot)
2615
2616
hum:TakeDamage(dmg)
2617
2618
coroutine.resume(coroutine.create(function()
2619
2620
tagHumanoid(hum,Player)
2621
2622
wait(1)
2623
2624
untagHumanoid(hum)
2625
2626
end))
2627
2628
return pa
2629
2630
end
2631
2632
2633
function AddEnergy(add)
2634
2635
Energy = Energy + add
2636
2637
if Energy > MaxEnergy then
2638
2639
Energy = MaxEnergy
2640
2641
end
2642
2643
end
2644
2645
2646
2647
2648
function OT(hit) --Normal Damage
2649
2650
if Hitdeb == 1 then return end
2651
2652
if hit.Parent == nil then return end
2653
2654
local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then
2655
2656
if hum.Health <= 0 then return end
2657
2658
if hit.Parent:findFirstChild("Block") ~= nil then 
2659
2660
if hit.Parent.Block.Value then 
2661
2662
damagesplat(0,hum.Torso,false,true) 
2663
2664
Hitdeb = 1
2665
2666
if hit.Parent.Block:findFirstChild("BlockPower") ~= nil then
2667
2668
if hit.Parent.Block.BlockPower.Value <= 1 then
2669
2670
hit.Parent.Block.Value = false 
2671
2672
elseif hit.Parent.Block.BlockPower.Value > 1 then
2673
2674
local critrandomizer = math.random(crtrate)
2675
2676
if critrandomizer ~= 1 then
2677
2678
hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker 
2679
2680
elseif critrandomizer == 1 then
2681
2682
hit.Parent.Block.BlockPower.Value = hit.Parent.Block.BlockPower.Value - blockbreaker + 2
2683
2684
end
2685
2686
end
2687
2688
end
2689
2690
return end end
2691
2692
local critrandomizer = math.random(crtrate)
2693
2694
if critrandomizer ~= 1 then
2695
2696
local rndmdamage = math.random(mindamage,maxdamage)
2697
2698
damage(hum,rndmdamage,false)
2699
2700
elseif critrandomizer == 1 then
2701
2702
local rndmdamage = math.random(maxdamage,crtmaxdamage)
2703
2704
damage(hum,rndmdamage,true)
2705
2706
end
2707
2708
Hitdeb = 1
2709
2710
end
2711
2712
end
2713
2714
2715
2716
function AoE(p,magnitude) 
2717
2718
        local c = game.Workspace:GetChildren();
2719
2720
        for i = 1, #c do
2721
2722
                local hum = c[i]:findFirstChild("Humanoid")
2723
2724
                if hum ~= nil and hum.Health ~= 0 then
2725
2726
                local head = c[i]:findFirstChild("Head");
2727
2728
                if head ~= nil then
2729
2730
                local mag = (head.Position - p).magnitude;
2731
2732
                if mag <= magnitude and c[i].Name ~= Character.Name then
2733
2734
                local foundd = false
2735
2736
                for ii = 1 , #AoETrue do
2737
2738
                if AoETrue[ii] == c[i].Name then
2739
2740
2741
                foundd = true
2742
2743
                end
2744
2745
                end
2746
2747
                if foundd then
2748
2749
2750
                end
2751
2752
                --
2753
2754
                if not foundd then
2755
2756
local critrandomizer = math.random(crtrate)
2757
2758
if critrandomizer ~= 1 then
2759
2760
local rndmdamage = math.random(mindamage,maxdamage)
2761
2762
damage(hum,rndmdamage,false)
2763
2764
elseif critrandomizer == 1 then
2765
2766
local rndmdamage = math.random(maxdamage,crtmaxdamage)
2767
2768
damage(hum,rndmdamage,true)
2769
2770
end
2771
2772
                table.insert(AoETrue,c[i].Name)
2773
2774
                end
2775
2776
                end
2777
2778
                end
2779
2780
                end
2781
2782
        end
2783
2784
                for ii = 1 , #AoETrue do
2785
2786
                table.remove(AoETrue,#AoETrue)
2787
2788
                end
2789
2790
end
2791
2792
2793
--
2794
2795
2796
2797
--
2798
2799
2800
function effect(Color,Ref,LP,P1)
2801
2802
local effectsmsh = Instance.new("BlockMesh")
2803
2804
effectsmsh.Scale = Vector3.new(1,1,1)
2805
2806
effectsmsh.Name = "Mesh"
2807
2808
local effectsg = Instance.new("Part")
2809
2810
effectsg.formFactor = 3
2811
2812
effectsg.CanCollide = false
2813
2814
effectsg.Name = "Eff"
2815
2816
effectsg.Locked = true
2817
2818
effectsg.Anchored = true
2819
2820
effectsg.Size = Vector3.new(0.2,1,0.2)
2821
2822
effectsg.Parent = swordholder
2823
2824
effectsmsh.Parent = effectsg
2825
2826
effectsg.BrickColor = BrickColor.new(Color)
2827
2828
effectsg.Reflectance = Ref
2829
2830
local point1 = P1
2831
2832
local mg = (LP.p - point1.p).magnitude
2833
2834
effectsg.Size = Vector3.new(0.2,mg,0.2)
2835
2836
effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
2837
2838
coroutine.resume(coroutine.create(function()
2839
2840
for i = 0 , 1 , 0.1 do
2841
2842
wait()
2843
2844
effectsg.Transparency = 1*i
2845
2846
effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
2847
2848
end
2849
2850
wait()
2851
2852
effectsg.Parent = nil
2853
2854
end))
2855
2856
end
2857
2858
--
2859
2860
2861
2862
con = nil
2863
2864
2865
2866
function dmgcnnct()
2867
2868
if con ~= nil then
2869
2870
con:disconnect()
2871
2872
Hitdeb = 0
2873
2874
end
2875
2876
con = prt4.Touched:connect(OT)
2877
2878
end
2879
2880
2881
function dmgdc() 
2882
2883
if con ~= nil then
2884
2885
con:disconnect()
2886
2887
Hitdeb = 0
2888
2889
end
2890
2891
end
2892
2893
2894
function rptddmg(value,des,inc)
2895
2896
coroutine.resume(coroutine.create(function()
2897
2898
repeat
2899
2900
wait(inc)
2901
2902
Hitdeb = 0
2903
2904
until value == des
2905
2906
end))
2907
2908
end
2909
2910
2911
function atktype(s,e)
2912
2913
coroutine.resume(coroutine.create(function ()
2914
2915
attacktype = e
2916
2917
wait(0.25)
2918
2919
attacktype = s
2920
2921
end))
2922
2923
end
2924
2925
2926
jumping = false
2927
2928
walking = false
2929
2930
function Walk()
2931
2932
if walking or jumping then return end
2933
2934
walking = true
2935
2936
for i = 0.2 , 1, 0.2 do
2937
2938
wait()
2939
2940
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
2941
2942
w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
2943
2944
w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)  
2945
2946
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
2947
2948
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
2949
2950
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
2951
2952
-- 
2953
2954
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
2955
2956
w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
2957
2958
w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)  
2959
2960
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
2961
2962
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
2963
2964
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
2965
2966
--
2967
2968
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
2969
2970
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
2971
2972
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
2973
2974
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
2975
2976
end
2977
2978
repeat 
2979
2980
2981
for i = 0.1 , 1, 0.1 do
2982
2983
if not walking or jumping then break end
2984
2985
wait()
2986
2987
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
2988
2989
w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
2990
2991
w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)  
2992
2993
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0) 
2994
2995
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
2996
2997
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
2998
2999
-- 
3000
3001
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3002
3003
w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3004
3005
w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3006
3007
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0) 
3008
3009
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3010
3011
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3012
3013
--
3014
3015
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3016
3017
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
3018
3019
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3020
3021
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
3022
3023
end
3024
3025
for i = 0.1 , 1, 0.1 do
3026
3027
if not walking or jumping then break end
3028
3029
wait()
3030
3031
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3032
3033
w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3034
3035
w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3036
3037
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3038
3039
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3040
3041
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3042
3043
-- 
3044
3045
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3046
3047
w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3048
3049
w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3050
3051
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3052
3053
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3054
3055
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3056
3057
--
3058
3059
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3060
3061
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
3062
3063
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3064
3065
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
3066
3067
end 
3068
3069
until not walking or jumping
3070
3071
for i = 0.2 , 1, 0.2 do
3072
3073
if not walking or jumping then break end
3074
3075
wait()
3076
3077
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3078
3079
w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3080
3081
w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)  
3082
3083
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3084
3085
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3086
3087
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3088
3089
-- 
3090
3091
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3092
3093
w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3094
3095
w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)  
3096
3097
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3098
3099
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3100
3101
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3102
3103
--
3104
3105
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3106
3107
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(-1.5, 0,0)
3108
3109
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3110
3111
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(1.5, 0,0)
3112
3113
end 
3114
3115
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3116
3117
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3118
3119
w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3120
3121
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3122
3123
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3124
3125
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3126
3127
-- 
3128
3129
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3130
3131
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3132
3133
w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3134
3135
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3136
3137
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3138
3139
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3140
3141
end
3142
3143
3144
3145
function Jump()
3146
3147
if jumping then return end
3148
3149
jumping = true 
3150
3151
local vel = Instance.new("BodyVelocity",prt1)
3152
3153
vel.maxForce = Vector3.new(0,1,0) * math.huge
3154
3155
vel.P = vel.P * 5
3156
3157
vel.velocity = Vector3.new(0,jump,0)
3158
3159
coroutine.resume(coroutine.create(function()
3160
3161
wait() wait() wait() wait()
3162
3163
vel.Parent=nil
3164
3165
end))
3166
3167
ss(Head,1)
3168
3169
for i = 0.2 , 1 , 0.2 do
3170
3171
wait()
3172
3173
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3174
3175
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3176
3177
w23.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)  
3178
3179
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
3180
3181
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3182
3183
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3184
3185
-- 
3186
3187
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3188
3189
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3190
3191
w29.C1 = CFrame.Angles(math.rad(80-80*i), 0, 0) * CFrame.new(0, -0.25,0)  
3192
3193
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
3194
3195
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3196
3197
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3198
3199
--Neck
3200
3201
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3202
3203
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5)
3204
3205
w3.C1 = CFrame.Angles(math.rad(-20+20*i), 0, 0) * CFrame.new(0, 0.465,0) 
3206
3207
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3208
3209
--Wings
3210
3211
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3212
3213
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
3214
3215
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3216
3217
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
3218
3219
end
3220
3221
wait(0.5)
3222
3223
for i = 0.2 , 1 , 0.2 do
3224
3225
wait()
3226
3227
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3228
3229
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3230
3231
w23.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)  
3232
3233
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3234
3235
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3236
3237
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3238
3239
-- 
3240
3241
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3242
3243
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3244
3245
w29.C1 = CFrame.Angles(math.rad(80*i), 0, 0) * CFrame.new(0, -0.25,0)  
3246
3247
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3248
3249
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3250
3251
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3252
3253
--Neck
3254
3255
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3256
3257
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3258
3259
w3.C1 = CFrame.Angles(math.rad(-20*i), 0, 0) * CFrame.new(0, 0.465,0) 
3260
3261
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3262
3263
--Wings
3264
3265
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3266
3267
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
3268
3269
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3270
3271
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
3272
3273
end
3274
3275
jumping = false
3276
3277
if prt1.Velocity.magnitude > 5 then
3278
3279
walking = true
3280
3281
for i = 0.2 , 1, 0.2 do
3282
3283
wait()
3284
3285
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3286
3287
w22.C0 = CFrame.Angles(math.rad(20-80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3288
3289
w23.C1 = CFrame.Angles(math.rad(80-40*i), 0, 0) * CFrame.new(0, -0.25,0)  
3290
3291
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
3292
3293
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3294
3295
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3296
3297
-- 
3298
3299
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3300
3301
w28.C0 = CFrame.Angles(math.rad(20+60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3302
3303
w29.C1 = CFrame.Angles(math.rad(80-100*i), 0, 0) * CFrame.new(0, -0.25,0)  
3304
3305
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2-0.2*i) 
3306
3307
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3308
3309
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3310
3311
end
3312
3313
repeat 
3314
3315
for i = 0.1 , 1, 0.1 do
3316
3317
if not walking or jumping then break end
3318
3319
wait()
3320
3321
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3322
3323
w22.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3324
3325
w23.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3326
3327
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0) 
3328
3329
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3330
3331
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3332
3333
-- 
3334
3335
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3336
3337
w28.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3338
3339
w29.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3340
3341
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0) 
3342
3343
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3344
3345
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3346
3347
end
3348
3349
for i = 0.1 , 1, 0.1 do
3350
3351
if not walking or jumping then  break end
3352
3353
wait()
3354
3355
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3356
3357
w22.C0 = CFrame.Angles(math.rad(80-140*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3358
3359
w23.C1 = CFrame.Angles(math.rad(-20+60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3360
3361
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3362
3363
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3364
3365
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3366
3367
-- 
3368
3369
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3370
3371
w28.C0 = CFrame.Angles(math.rad(-60+140*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3372
3373
w29.C1 = CFrame.Angles(math.rad(40-60*i), 0, 0) * CFrame.new(0, -0.25,0)  
3374
3375
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3376
3377
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3378
3379
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3380
3381
end 
3382
3383
until not walking or jumping 
3384
3385
for i = 0.2 , 1, 0.2 do
3386
3387
if jumping then break end
3388
3389
wait()
3390
3391
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3392
3393
w22.C0 = CFrame.Angles(math.rad(-60+80*i), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3394
3395
w23.C1 = CFrame.Angles(math.rad(40+40*i), 0, 0) * CFrame.new(0, -0.25,0)  
3396
3397
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3398
3399
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3400
3401
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3402
3403
-- 
3404
3405
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3406
3407
w28.C0 = CFrame.Angles(math.rad(80-60*i), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3408
3409
w29.C1 = CFrame.Angles(math.rad(-20+100*i), 0, 0) * CFrame.new(0, -0.25,0)  
3410
3411
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2*i) 
3412
3413
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3414
3415
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3416
3417
end 
3418
3419
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3420
3421
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3422
3423
w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3424
3425
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3426
3427
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3428
3429
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3430
3431
-- 
3432
3433
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3434
3435
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3436
3437
w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3438
3439
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3440
3441
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3442
3443
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3444
3445
end
3446
3447
end 
3448
3449
3450
 
3451
3452
3453
dashing = false
3454
3455
function Dash()
3456
3457
dashing = true
3458
3459
for i = 0.1 ,1 , 0.1 do
3460
3461
wait()
3462
3463
--Neck
3464
3465
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3466
3467
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3468
3469
w3.C1 = CFrame.Angles(math.rad(-20-60*i), 0, 0) * CFrame.new(0, 0.465,0) 
3470
3471
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3472
3473
end
3474
3475
dmgcnnct()
3476
3477
rptddmg(dashing,false,1)
3478
3479
LastPoint = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
3480
3481
repeat
3482
3483
local Point = prt4.CFrame * CFrame.new(0,0,prt4.Size.Y/2)
3484
3485
effect("White",0.5,LastPoint,Point)
3486
3487
LastPoint = Point
3488
3489
wait(0.1)
3490
3491
if Energy >= 1 then
3492
3493
Energy = Energy - 1
3494
3495
end
3496
3497
until not buttonhold or Energy < 3
3498
3499
dmgdc()
3500
3501
dashing = false
3502
3503
for i = 0.1 ,1 , 0.1 do
3504
3505
wait()
3506
3507
--Neck
3508
3509
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3510
3511
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3512
3513
w3.C1 = CFrame.Angles(math.rad(-80+60*i), 0, 0) * CFrame.new(0, 0.465,0) 
3514
3515
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3516
3517
end
3518
3519
end 
3520
3521
3522
idleez = false
3523
3524
function Idle()
3525
3526
if idleez then return end
3527
3528
idleez = true
3529
3530
local rndm = math.random(1,3)
3531
3532
for i = 0.05, 1 , 0.05 do
3533
3534
if not walking and not dashing and not jumping then
3535
3536
wait()
3537
3538
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3539
3540
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3541
3542
w3.C1 = CFrame.Angles(math.rad(-20+5*i), 0, 0) * CFrame.new(0, 0.465,0) 
3543
3544
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3545
3546
if rndm ~= 1 then
3547
3548
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3549
3550
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10*i)) * CFrame.new(-1.5-0.2*i, 0,0)
3551
3552
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3553
3554
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10*i)) * CFrame.new(1.5+0.2*i, 0,0)
3555
3556
else
3557
3558
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3559
3560
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45*i)) * CFrame.new(-1.5-0.5*i, 0,0)
3561
3562
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3563
3564
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45*i)) * CFrame.new(1.5+0.5*i, 0,0)
3565
3566
end
3567
3568
end
3569
3570
end
3571
3572
if rndm == 1 then
3573
3574
for i = 0.1 , 1 , 0.1 do
3575
3576
if not walking and not dashing and not jumping then 
3577
3578
wait()
3579
3580
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3581
3582
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3583
3584
w3.C1 = CFrame.Angles(math.rad(-15+5*i) ,math.rad(0), 0) * CFrame.new(0, 0.465,0) 
3585
3586
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3587
3588
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3589
3590
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45-45*i)) * CFrame.new(-2, -1*i,0)
3591
3592
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3593
3594
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45+45*i)) * CFrame.new(2, -1*i,0)
3595
3596
end
3597
3598
end
3599
3600
for i = 0.2 , 1 , 0.2 do
3601
3602
if not walking and not dashing and not jumping then 
3603
3604
wait()
3605
3606
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3607
3608
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3609
3610
w3.C1 = CFrame.Angles(math.rad(-10+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0) 
3611
3612
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3613
3614
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3615
3616
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+30*i)) * CFrame.new(-2, -1,0)
3617
3618
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3619
3620
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-30*i)) * CFrame.new(2, -1,0)
3621
3622
end
3623
3624
end
3625
3626
for i = 0.2 , 1 , 0.2 do
3627
3628
if not walking and not dashing and not jumping then 
3629
3630
wait()
3631
3632
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3633
3634
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3635
3636
w3.C1 = CFrame.Angles(math.rad(-5+5*i),math.rad(0), 0) * CFrame.new(0, 0.465,0) 
3637
3638
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3639
3640
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3641
3642
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60-30*i)) * CFrame.new(-2, -1,0)
3643
3644
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3645
3646
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(60+30*i)) * CFrame.new(2, -1,0)
3647
3648
end
3649
3650
end
3651
3652
for i = 0.1 , 1 , 0.1 do
3653
3654
if not walking and not dashing and not jumping then 
3655
3656
wait()
3657
3658
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3659
3660
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3661
3662
w3.C1 = CFrame.Angles(math.rad(-15*i),math.rad(0), 0) * CFrame.new(0, 0.465,0) 
3663
3664
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3665
3666
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3667
3668
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90+45*i)) * CFrame.new(-2, -1+1*i,0)
3669
3670
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3671
3672
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(90-45*i)) * CFrame.new(2, -1+1*i,0)
3673
3674
end
3675
3676
end
3677
3678
end
3679
3680
for i = 0.025, 1 , 0.025 do
3681
3682
if not walking and not dashing and not jumping then 
3683
3684
wait()
3685
3686
w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0)
3687
3688
w2.C0 = CFrame.Angles(math.rad(45), 0, 0) * CFrame.new(0, -1,2.5) 
3689
3690
w3.C1 = CFrame.Angles(math.rad(-15-5*i), 0, 0) * CFrame.new(0, 0.465,0) 
3691
3692
w3.C0 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.465,0)
3693
3694
if rndm ~= 1 then
3695
3696
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3697
3698
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10+10*i)) * CFrame.new(-1.7+0.2*i, 0,0)
3699
3700
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3701
3702
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(10-10*i)) * CFrame.new(1.7-0.2*i, 0,0)
3703
3704
else
3705
3706
w11.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3707
3708
w11.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45+45*i)) * CFrame.new(-2+0.5*i, 0,0)
3709
3710
w16.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3711
3712
w16.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(45-45*i)) * CFrame.new(2-0.5*i, 0,0)
3713
3714
end
3715
3716
end
3717
3718
 end
3719
3720
idleez = false
3721
3722
end
3723
3724
3725
function returnwelds()
3726
3727
RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(-20))
3728
3729
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
3730
3731
LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45),math.rad(0),math.rad(20))
3732
3733
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) 
3734
3735
RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(25))
3736
3737
RWL.C1 = CFrame.new(0.5, 1, 0)
3738
3739
LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25))
3740
3741
LWL.C1 = CFrame.new(-0.5, 1, 0)
3742
3743
Neck.C0 = neckcf0
3744
3745
--
3746
3747
w22.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3748
3749
w22.C0 = CFrame.Angles(math.rad(20), math.rad(10), math.rad(0)) * CFrame.new(-0.75, 1.5,0) 
3750
3751
w23.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3752
3753
w23.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3754
3755
w24.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3756
3757
w24.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3758
3759
-- 
3760
3761
w28.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, 0,0)  
3762
3763
w28.C0 = CFrame.Angles(math.rad(20), math.rad(-10), math.rad(0)) * CFrame.new(0.75, 1.5,0) 
3764
3765
w29.C1 = CFrame.Angles(math.rad(80), 0, 0) * CFrame.new(0, -0.25,0)  
3766
3767
w29.C0 = CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 0.25,0.2) 
3768
3769
w30.C1 = CFrame.Angles(math.rad(0), 0, 0) * CFrame.new(0, -0.725,0)  
3770
3771
w30.C0 = CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 0.725,0.25) 
3772
3773
--
3774
3775
end
3776
3777
3778
function ride()
3779
3780
Ride = true
3781
3782
equipanim()
3783
3784
end
3785
3786
function unride()
3787
3788
Ride = false
3789
3790
hideanim()
3791
3792
end
3793
3794
3795
function RemoveSeater()
3796
3797
if #prt34:GetChildren() > 0 then
3798
3799
prt34:GetChildren()[1].Parent = nil
3800
3801
end
3802
3803
end
3804
3805
3806
function onFreeFall()
3807
3808
unride()
3809
3810
print("Fell")
3811
3812
value1=value1+1
3813
3814
end
3815
3816
3817
keyhold = false
3818
3819
function ob1d(mouse) 
3820
3821
hold = true 
3822
3823
if attack then return end
3824
3825
keyhold = true
3826
3827
3828
end 
3829
3830
3831
function ob1u(mouse)   
3832
3833
keyhold = false
3834
3835
end 
3836
3837
3838
buttonhold = false
3839
3840
3841
function key(key,mouse)
3842
3843
if attack then return end
3844
3845
if Ride then
3846
3847
if key == "f" then
3848
3849
buttonhold = true
3850
3851
Dash()
3852
3853
end
3854
3855
if key == " " then
3856
3857
coroutine.resume(coroutine.create(Jump))
3858
3859
end
3860
3861
end
3862
3863
if key == "q" then
3864
3865
if Ride then
3866
3867
unride()
3868
3869
else
3870
3871
--prt4
3872
3873
mag=Torso.Position-prt4.Position
3874
3875
magni=mag.magnitude
3876
3877
if magni <=3 then 
3878
3879
swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
3880
3881
ride()
3882
3883
end
3884
3885
end
3886
3887
end
3888
3889
if key == "x" then
3890
3891
RemoveSeater()
3892
3893
end
3894
3895
end
3896
3897
3898
3899
function key2(key) 
3900
3901
if key == "f" then
3902
3903
buttonhold = false
3904
3905
end
3906
3907
end 
3908
3909
3910
function s(mouse)  
3911
3912
repeat wait() until not attack
3913
3914
repeat wait() until not ev.Value
3915
3916
arms()
3917
3918
mouse.Button1Down:connect(function() ob1d(mouse) end) 
3919
3920
mouse.Button1Up:connect(function() ob1u(mouse) end) 
3921
3922
mouse.KeyDown:connect(function(ke) key(ke,mouse) end) 
3923
3924
mouse.KeyUp:connect(key2) 
3925
3926
ev.Value = true
3927
3928
end 
3929
3930
3931
function ds(mouse) 
3932
3933
keyhold = false
3934
3935
repeat wait() until not attack
3936
3937
repeat wait() until ev.Value
3938
3939
noarms()
3940
3941
wait(0.1)
3942
3943
ev.Value = false 
3944
3945
end 
3946
3947
3948
Bin.Selected:connect(s) 
3949
3950
Bin.Deselected:connect(ds) 
3951
3952
3953
3954
3955
if PlayerGui:findFirstChild("EnergyMeter") ~= nil then
3956
3957
PlayerGui:findFirstChild("EnergyMeter").Parent = nil
3958
3959
end
3960
3961
3962
coroutine.resume(coroutine.create(function()
3963
3964
repeat
3965
3966
wait(0.1)
3967
3968
if Ride then
3969
3970
if dashing then
3971
3972
Character.Humanoid.WalkSpeed = speed * 1.5
3973
3974
else
3975
3976
Character.Humanoid.WalkSpeed = speed
3977
3978
end
3979
3980
if (prt1.Velocity * Vector3.new(1,0,1)).magnitude > 5 then
3981
3982
coroutine.resume(coroutine.create(Walk))
3983
3984
walking = true
3985
3986
elseif (prt1.Velocity * Vector3.new(1,0,1)).magnitude < 5 then
3987
3988
walking = false
3989
3990
AddEnergy(1)
3991
3992
coroutine.resume(coroutine.create(function() Idle() end))
3993
3994
end
3995
3996
else
3997
3998
Character.Humanoid.WalkSpeed = 16 
3999
4000
coroutine.resume(coroutine.create(function() Idle() end))
4001
4002
walking = false
4003
4004
end
4005
4006
until false
4007
4008
end))
4009
4010
4011
coroutine.resume(coroutine.create(function()
4012
4013
local SG = Instance.new("ScreenGui",PlayerGui)
4014
4015
SG.Name = "EnergyMeter"
4016
4017
local frame = Instance.new("Frame",SG)
4018
4019
frame.Size = UDim2.new(0.2,0,0.1,0)
4020
4021
frame.Position = UDim2.new(0.6,0,0.05,0)
4022
4023
frame.BackgroundColor3 = BrickColor.new("Bright blue").Color
4024
4025
local Energytext = Instance.new("TextLabel",frame)
4026
4027
Energytext.Size = UDim2.new(1,0,0.35,0)
4028
4029
Energytext.BackgroundTransparency = 1
4030
4031
Energytext.Text = "Energy"
4032
4033
Energytext.FontSize = "Size18"
4034
4035
Energytext.TextColor3 = BrickColor.new("White").Color
4036
4037
local backing = Instance.new("ImageLabel",frame)
4038
4039
backing.Size = UDim2.new(0.8,0,0.45,0)
4040
4041
backing.Image = "http://www.roblox.com/asset/?id=48965808"
4042
4043
backing.Position = UDim2.new(0.1,0,0.45,0)
4044
4045
backing.BackgroundColor3 = BrickColor.new("Black").Color
4046
4047
local img = Instance.new("ImageLabel",backing)
4048
4049
img.Size = UDim2.new(1,0,1,0)
4050
4051
img.Image = "http://www.roblox.com/asset/?id=48965808"
4052
4053
img.Position = UDim2.new(0,0,0,0)
4054
4055
img.BackgroundColor3 = BrickColor.new("Bright blue").Color
4056
4057
local percent = Instance.new("TextLabel",backing)
4058
4059
percent.Size = UDim2.new(1,0,1,0)
4060
4061
percent.BackgroundTransparency = 1
4062
4063
percent.TextColor3 = BrickColor.new("White").Color
4064
4065
percent.Text = Energy.."/".. MaxEnergy
4066
4067
percent.FontSize = "Size18"
4068
4069
repeat
4070
4071
wait()
4072
4073
pcall(function()
4074
4075
img.Size = UDim2.new(1*(Energy/MaxEnergy),0,1,0)
4076
4077
percent.Text = Energy.."/".. MaxEnergy
4078
4079
end)
4080
4081
until SG.Parent == nil
4082
4083
end))
4084
4085
4086
4087
--Character.Humanoid.FreeFalling:connect(onFreeFall)
4088
4089
Character:MoveTo(Head.Position+Vector3.new(0,5,0))
4090
4091
Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,5,0)
4092
4093
swordholder:MoveTo(Head.Position+Vector3.new(0,5,0))
4094
4095
ride()
4096
4097
noarms()
4098
4099
-- mediafire