View difference between Paste ID: awZpT8mz and 3r4PQAee
SHOW: | | - or go back to the newest paste.
1-
Player = game:GetService("Players").NextFlame
1+
Player = game:GetService("Players").jericoalejo
2
Character = Player.Character 
3
PlayerGui = Player.PlayerGui 
4
Backpack = Player.Backpack 
5
Torso = Character.Torso 
6
Head = Character.Head 
7
LeftArm = Character["Left Arm"] 
8
LeftLeg = Character["Left Leg"] 
9
RightArm = Character["Right Arm"] 
10
RightLeg = Character["Right Leg"] 
11
LS = Torso["Left Shoulder"] 
12
LH = Torso["Left Hip"] 
13
RS = Torso["Right Shoulder"] 
14
RH = Torso["Right Hip"] 
15
attack = false 
16
attackdebounce = false 
17
combo = 0 
18
mana = 400 
19
necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
20
necko2=CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
21
hold=false
22
MMouse=nil
23
equipped=false
24
attack=false
25
holddash=false
26
dashing=false
27
act = {key = {}}
28
walking = false 
29
normattack=false
30
sitting=false
31
--player 
32
player = nil 
33
--save shoulders 
34
RSH, LSH = nil, nil 
35
--welds 
36
RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
37
--what anim 
38
anim = "none" 
39
bodpos=Instance.new("BodyPosition")
40
bodpos.P=2000
41
bodpos.D=100
42
bodpos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
43
if Character:findFirstChild("AeroBlade",true) ~= nil then 
44
Character:findFirstChild("AeroBlade",true).Parent = nil 
45
end 
46
if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then 
47
Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil 
48
end 
49
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
50
local fp = Instance.new("Part")
51
fp.formFactor = formfactor 
52
fp.Parent = parent
53
fp.Reflectance = reflectance
54
fp.Transparency = transparency
55
fp.CanCollide = false 
56
fp.BrickColor = brickcolor
57
fp.Name = name
58
fp.Size = size
59
fp.Position = Torso.Position 
60
fp.BottomSurface="Smooth"
61
fp.TopSurface="Smooth"
62
fp:BreakJoints()
63
return fp 
64
end 
65
local modelzorz = Instance.new("Model") 
66
modelzorz.Name = "AeroBlade" 
67
modelzorz.Parent = Character 
68
local prt1 = part(1,modelzorz,0,0,BrickColor.new("Navy blue"),"Part1",Vector3.new(1,1,1))
69
local prt2 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part2",Vector3.new(1,1,1))
70
local prt3 = part(1,modelzorz,0,0,BrickColor.new("Deep blue"),"Part3",Vector3.new(1,1,1))
71
local prt4 = part(1,modelzorz,0,0,BrickColor.new("Deep blue"),"Part4",Vector3.new(1,1,1))
72
local prt5 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part5",Vector3.new(1,1,1))
73
local prt6 = part(1,modelzorz,0,0,BrickColor.new("Really blue"),"Part6",Vector3.new(1,1,1))
74
local prt7 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part7",Vector3.new(1,1,1))
75
local prt8 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part8",Vector3.new(1,1,1))
76
local prt9 = part(1,modelzorz,0,0,BrickColor.new("White"),"Part9",Vector3.new(1,1,1))
77
local prt10 = part(1,modelzorz,0.5,0,BrickColor.new("White"),"Part10",Vector3.new(1,1,1))
78
local prt11 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part11",Vector3.new(1,1,1))
79
local prt12 = part(1,modelzorz,0,0,BrickColor.new("White"),"Part12",Vector3.new(1,1,1))
80
local prt13 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part13",Vector3.new(1,1,1))
81
local prt14 = part(1,modelzorz,0,0,BrickColor.new("Deep blue"),"Part14",Vector3.new(1,1,1))
82
local prt15 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part15",Vector3.new(1,1,1))
83
local prt16 = part(1,modelzorz,0,0,BrickColor.new("Deep blue"),"Part16",Vector3.new(1,1,1))
84
local prt17 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part17",Vector3.new(1,1,1))
85
local prt18 = part(1,modelzorz,0,0,BrickColor.new("Black"),"Part18",Vector3.new(1,1,1))
86
local msh1 = Instance.new("CylinderMesh") 
87
msh1.Parent = prt1 
88
msh1.Scale = Vector3.new(0.5,1,0.5) 
89
local msh2 = Instance.new("CylinderMesh") 
90
msh2.Parent = prt2 
91
msh2.Scale = Vector3.new(0.4,2,0.4) 
92
local msh3 = Instance.new("CylinderMesh") 
93
msh3.Parent = prt3 
94
msh3.Scale = Vector3.new(0.41,0.1,0.41) 
95
local msh4 = Instance.new("CylinderMesh") 
96
msh4.Parent = prt4 
97
msh4.Scale = Vector3.new(0.41,0.1,0.41) 
98
local msh5 = Instance.new("CylinderMesh") 
99
msh5.Parent = prt5 
100
msh5.Scale = Vector3.new(0.5,0.5,0.5) 
101
local msh6 = Instance.new("SpecialMesh") 
102
msh6.Parent = prt6 
103
msh6.MeshType="Sphere"
104
msh6.Scale = Vector3.new(0.49,0.8,0.49) 
105
local msh7 = Instance.new("CylinderMesh") 
106
msh7.Parent = prt7 
107
msh7.Scale = Vector3.new(0.5,0.5,0.5) 
108
local msh8 = Instance.new("BlockMesh") 
109
msh8.Parent = prt8 
110
msh8.Scale = Vector3.new(0.35,1,0.35) 
111
local msh9 = Instance.new("CylinderMesh") 
112
msh9.Parent = prt9 
113
msh9.Scale = Vector3.new(0.5,0.1,0.5) 
114
local msh10 = Instance.new("BlockMesh") 
115
msh10.Parent = prt10 
116
msh10.Scale = Vector3.new(0.4,2,0.1) 
117
local msh11 = Instance.new("BlockMesh") 
118
msh11.Parent = prt11 
119
msh11.Scale = Vector3.new(0.21,1,0.11) 
120
local msh12 = Instance.new("CylinderMesh") 
121
msh12.Parent = prt12 
122
msh12.Scale = Vector3.new(0.5,0.1,0.5) 
123
local msh13 = Instance.new("BlockMesh") 
124
msh13.Parent = prt13 
125
msh13.Scale = Vector3.new(0.5,2,0.5) 
126
local msh14 = Instance.new("CylinderMesh") 
127
msh14.Parent = prt14 
128
msh14.Scale = Vector3.new(0.49,0.1,0.49) 
129
local msh15 = Instance.new("CylinderMesh") 
130
msh15.Parent = prt15 
131
msh15.Scale = Vector3.new(0.48,1,0.48) 
132
local msh16 = Instance.new("CylinderMesh") 
133
msh16.Parent = prt16 
134
msh16.Scale = Vector3.new(0.49,0.1,0.49) 
135
local msh17 = Instance.new("BlockMesh") 
136
msh17.Parent = prt17 
137
msh17.Scale = Vector3.new(0.5,1,0.5) 
138
local msh18 = Instance.new("SpecialMesh") 
139
msh18.Parent = prt18 
140
msh18.MeshType="Wedge"
141
msh18.Scale = Vector3.new(0.5,0.5,0.5) 
142
local wld1 = Instance.new("Weld") 
143
wld1.Parent = prt1 
144
wld1.Part0 = prt1 
145
wld1.Part1 = Torso 
146
wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(3,-2,-0.7) 
147
local wld2 = Instance.new("Weld") 
148
wld2.Parent = prt2 
149
wld2.Part0 = prt2 
150
wld2.Part1 = prt1 
151
wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) 
152
local wld3 = Instance.new("Weld") 
153
wld3.Parent = prt3 
154
wld3.Part0 = prt3 
155
wld3.Part1 = prt2 
156
wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.8,0) 
157
local wld4 = Instance.new("Weld") 
158
wld4.Parent = prt4 
159
wld4.Part0 = prt4 
160
wld4.Part1 = prt2 
161
wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.8,0) 
162
local wld5 = Instance.new("Weld") 
163
wld5.Parent = prt5 
164
wld5.Part0 = prt5 
165
wld5.Part1 = prt2 
166
wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.2,0) 
167
local wld6 = Instance.new("Weld") 
168
wld6.Parent = prt6 
169
wld6.Part0 = prt6 
170
wld6.Part1 = prt5 
171
wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.2,0) 
172
local wld7 = Instance.new("Weld") 
173
wld7.Parent = prt7 
174
wld7.Part0 = prt7 
175
wld7.Part1 = prt2 
176
wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
177
local wld8 = Instance.new("Weld") 
178
wld8.Parent = prt8 
179
wld8.Part0 = prt8 
180
wld8.Part1 = prt7 
181
wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.5,0) 
182
local wld9 = Instance.new("Weld") 
183
wld9.Parent = prt9 
184
wld9.Part0 = prt9 
185
wld9.Part1 = prt8 
186
wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0) 
187
local wld10 = Instance.new("Weld") 
188
wld10.Parent = prt10 
189
wld10.Part0 = prt10 
190
wld10.Part1 = prt9 
191
wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
192
local wld11 = Instance.new("Weld") 
193
wld11.Parent = prt11 
194
wld11.Part0 = prt11 
195
wld11.Part1 = prt10 
196
wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.1,-0.6,0) 
197
local wld12 = Instance.new("Weld") 
198
wld12.Parent = prt12 
199
wld12.Part0 = prt12 
200
wld12.Part1 = prt9 
201
wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,0) 
202
local wld13 = Instance.new("Weld") 
203
wld13.Parent = prt13 
204
wld13.Part0 = prt13 
205
wld13.Part1 = prt12 
206
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
207
local wld14 = Instance.new("Weld") 
208
wld14.Parent = prt14 
209
wld14.Part0 = prt14 
210
wld14.Part1 = prt13 
211
wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
212
local wld15 = Instance.new("Weld") 
213
wld15.Parent = prt15 
214
wld15.Part0 = prt15 
215
wld15.Part1 = prt14 
216
wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3,0) 
217
local wld16 = Instance.new("Weld") 
218
wld16.Parent = prt16 
219
wld16.Part0 = prt16 
220
wld16.Part1 = prt15 
221
wld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3,0) 
222
local wld17 = Instance.new("Weld") 
223
wld17.Parent = prt17 
224
wld17.Part0 = prt17 
225
wld17.Part1 = prt16 
226
wld17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0) 
227
local wld18 = Instance.new("Weld") 
228
wld18.Parent = prt18 
229
wld18.Part0 = prt18 
230
wld18.Part1 = prt17 
231
wld18.C0 = CFrame.fromEulerAnglesXYZ(3.14,3.14,0) * CFrame.new(0,0.9,0) 
232
local fengui = Instance.new("GuiMain") 
233
fengui.Parent = Player.PlayerGui 
234
fengui.Name = "manaGUI" 
235
local fenframe = Instance.new("Frame") 
236
fenframe.Parent = fengui
237
fenframe.BackgroundColor3 = Color3.new(255,255,255) 
238
fenframe.BackgroundTransparency = 1 
239
fenframe.BorderColor3 = Color3.new(17,17,17) 
240
fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
241
local fentext = Instance.new("TextLabel") 
242
fentext.Parent = fenframe 
243
fentext.Text = "Mana("..mana..")" 
244
fentext.BackgroundTransparency = 1 
245
fentext.SizeConstraint = "RelativeXY" 
246
fentext.TextXAlignment = "Center" 
247
fentext.TextYAlignment = "Center" 
248
fentext.Position = UDim2.new(0,80,1,200) 
249
local fentext2 = Instance.new("TextLabel") 
250
fentext2.Parent = fenframe 
251
fentext2.Text = " " 
252
fentext2.BackgroundTransparency = 0 
253
fentext2.BackgroundColor3 = Color3.new(0,0,0) 
254
fentext2.SizeConstraint = "RelativeXY" 
255
fentext2.TextXAlignment = "Center" 
256
fentext2.TextYAlignment = "Center" 
257
fentext2.Position = UDim2.new(0,10,1,170)
258
fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
259
local fentext3 = Instance.new("TextLabel") 
260
fentext3.Parent = fenframe 
261
fentext3.Text = " " 
262
fentext3.BackgroundTransparency = 0 
263
fentext3.BackgroundColor3 = Color3.new(1,1,0) 
264
fentext3.SizeConstraint = "RelativeXY" 
265
fentext3.TextXAlignment = "Center" 
266
fentext3.TextYAlignment = "Center" 
267
fentext3.Position = UDim2.new(0,10,1,170)
268
fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
269
--2.9000001, 0}, {0.450000018, 0}
270
local gairo = Instance.new("BodyGyro") 
271
gairo.Parent = nil 
272
gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
273
gairo.P = 20e+003 
274
if (script.Parent.className ~= "HopperBin") then 
275
Tool = Instance.new("HopperBin") 
276
Tool.Parent = Backpack 
277
Tool.Name = "AeroBlade" 
278
script.Parent = Tool 
279
end 
280
Bin = script.Parent 
281
local gairo = Instance.new("BodyGyro") 
282
gairo.Parent = nil 
283
gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
284
gairo.P = 20e+003 
285
function hideanim() 
286
equipped=false
287
wld1.Parent = prt1 
288
wld1.Part0 = prt1 
289
wld1.Part1 = Torso 
290
wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(3,-2,-0.7) 
291
wld1.C1=CFrame.fromEulerAnglesXYZ(0,0,0)
292
Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) 
293
gairo.Parent=nil
294
wait()
295
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
296
end 
297
function equipanim() 
298
equipped=true
299
wld1.Parent = prt13 
300
wld1.Part0 = prt13 
301
wld1.Part1 = RightArm
302
wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,1,1) 
303
wld1.C1=CFrame.fromEulerAnglesXYZ(0.2,0,0)
304
Stance()
305
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
306
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
307
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(0.5,0,-0.7+0.2) 
308
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
309
--[[gairo.Parent=Head
310
gairo.cframe=Head.CFrame
311
for i=0,1,0.1 do
312
wait()
313
Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,-0.3*i) * CFrame.new(0,0,-0.5) 
314
--gairo.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(-0.05,-0.1,0)
315
end]]
316
end 
317
function Walking(speed)
318
walking=true
319
for i=0,1,speed do
320
wait()
321
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0.5-1*i,0,0) 
322
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
323
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(1*i,0,-0.7+0.2) 
324
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
325
end
326
for i=0,1,speed do
327
wait()
328
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0) 
329
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
330
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(0.5+0.5-1*i,0,-0.7+0.2) 
331
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
332
end
333
if walking==false then
334
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
335
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
336
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(0.5,0,-0.7+0.2) 
337
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
338
end
339
end
340
function Stance()
341
coroutine.resume(coroutine.create(function()
342
gairo.maxTorque = Vector3.new(math.huge,math.huge,math.huge) 
343
gairo.P = 10000000
344
--gairo.D = 2000
345
gairo.Parent = Torso
346
wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,1,-0.7) 
347
wait()
348
while equipped==true and attack==false do
349
wait()
350
offset=(Torso.Position.y-MMouse.Hit.p.y)/60
351
mag=(Torso.Position-MMouse.Hit.p).magnitude/80
352
offset=offset/mag 
353
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,-0.2,0.7)
354
--Torso.Neck.C1=necko2*CFrame.fromEulerAnglesXYZ(-offset/10,0,0) 
355
local pos4 = Vector3.new(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
356
gairo.cframe = CFrame.new(Torso.Position,pos4) * CFrame.fromEulerAnglesXYZ(-0.4,-0.5,0) * CFrame.new(0,0,0) --CFrame.new(Torso.Position,MMouse.Hit.p) * 
357
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
358
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
359
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
360
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
361
--[[RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
362
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
363
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(0.5,0,-0.7+0.2) 
364
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) ]]
365
end
366
--Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
367
gairo.Parent=nil
368
end))
369
end
370
function Sit()
371
attack=true
372
Character.Humanoid.WalkSpeed=0
373
gairo.Parent=nil
374
for i=0,1,0.1 do
375
wait()
376
wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,1,-0.7) 
377
wld1.C1=CFrame.fromEulerAnglesXYZ(0.2-0.2*i,0,0)
378
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,-0.2+0.2*i,0.7-0.7*i)
379
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-1.7*i,0,0.4-0.4*i) 
380
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
381
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2*i,1-1*i,0) 
382
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3+0.3*i,0,0) 
383
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
384
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
385
LWL.C0 = CFrame.new(-0.5-0.6+0.6*i,-1.5+0.3-0.3*i,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-0.5+0.5*i) 
386
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
387
end
388
bodpos.position=Torso.Position-Vector3.new(0,3,0)
389
bodpos.Parent=Torso
390
gairo.maxTorque = Vector3.new(math.huge,math.huge,math.huge) 
391
gairo.P = 10000000
392
--gairo.D = 2000
393
gairo.Parent = Torso
394
gairo.cframe=Torso.CFrame
395
for i=0,1,0.1 do
396
wait()
397
gairo.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0.07*i,0,0)
398
wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,1-0.5*i,-0.7+1.2*i) 
399
wld1.C1=CFrame.fromEulerAnglesXYZ(1.2*i,0,-0.5*i)
400
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
401
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2-0.2*i,0,-0.3*i) 
402
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
403
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2+1.77*i,0,0.7*i) 
404
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
405
RWL.C0 = CFrame.new(0.5+0.1*i,-1.5+0.6*i,-0.7*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,0.5*i) 
406
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
407
LWL.C0 = CFrame.new(-0.5-0.1*i,-1.5+0.6*i,-0.7*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-0.5*i) 
408
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
409
end
410
while attack==true do
411
wait()
412
Character.Humanoid.Health = Character.Humanoid.Health + 0.1 
413
end
414
end
415
function UnSit()
416
wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,1,-0.7) 
417
wld1.C1=CFrame.fromEulerAnglesXYZ(0.2,0,0)
418
bodpos.Parent=nil
419
gairo.Parent=nil
420
Character.Humanoid.WalkSpeed=16
421
attack=false
422
end
423
function Slash()
424
--ss(1)
425
equipsound(1.3) 
426
wld13.Part0 = LeftArm 
427
wld13.Part1 = prt12
428
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8) * CFrame.new(-1,0,0) 
429
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7,0,0) * CFrame.new(0,1.2,-1)
430
SlashEffect(prt6,0,-6,-1,0,3.14,0,BrickColor.new("Black"),1.5,1,2)
431
for i=0,1,0.8 do
432
wait()
433
LW.C0 = CFrame.new(-1.5-0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
434
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i) 
435
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
436
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
437
if wld13.Part0==LeftArm then
438
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8-0.2*i) * CFrame.new(-1,0,0) 
439
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7-0.2*i,0,0) * CFrame.new(0,1.2,-1)
440
end
441
end
442
local ppart = part(1,workspace,0,1,BrickColor.new("Navy blue"),"DerpPart",Vector3.new(1,1,1))
443
ppart.Anchored=true
444
ppart.CFrame=Head.CFrame*CFrame.new(0,0,-15)
445
SlashEffect(ppart,0,-6,-3,-1.57,math.random(-50,50),0,BrickColor.new("Black"),2,2,4)
446
for i=0,1,0.8 do
447
wait()
448
LW.C0 = CFrame.new(-1.5-0.5+0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
449
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i) 
450
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
451
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
452
--wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.6) * CFrame.new(-1,0,0) 
453
--wld13.C1 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,2,-1)
454
end
455
wait(0.1)
456
wld13.Part0 = prt13 
457
wld13.Part1 = prt12 
458
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
459
wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0)
460
wait(1)
461
ppart.Parent=nil
462
end
463
function SlashTwo()
464
coroutine.resume(coroutine.create(function()
465
equipsound(1.3) 
466
wld13.Part0 = LeftArm 
467
wld13.Part1 = prt12
468
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8) * CFrame.new(-1,0,0) 
469
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7,0,0) * CFrame.new(0,1.2,-1)
470
SlashEffect(prt6,0,-6,-1,0,3.14,0,BrickColor.new("Black"),1.5,1,2)
471
for i=0,1,0.8 do
472
wait()
473
LW.C0 = CFrame.new(-1.5-0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
474
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i) 
475
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
476
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
477
if wld13.Part0==LeftArm then
478
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8-0.2*i) * CFrame.new(-1,0,0) 
479
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7-0.2*i,0,0) * CFrame.new(0,1.2,-1)
480
end
481
end
482
local ppart = part(1,workspace,0,1,BrickColor.new("Navy blue"),"DerpPart",Vector3.new(1,1,1))
483
ppart.Anchored=true
484
ppart.CFrame=Head.CFrame*CFrame.new(0,5,-30)
485
SlashEffect(ppart,0,-8,-3,-1.57,-0.4,0,BrickColor.new("Black"),2.5,1,5)
486
SlashEffect(ppart,0,-8,-3,-1.57,0.4,0,BrickColor.new("Black"),2.5,1,5)
487
for i=0,1,0.8 do
488
wait()
489
LW.C0 = CFrame.new(-1.5-0.5+0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
490
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i) 
491
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
492
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
493
--wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.6) * CFrame.new(-1,0,0) 
494
--wld13.C1 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,2,-1)
495
end
496
wait(0.1)
497
wld13.Part0 = prt13 
498
wld13.Part1 = prt12 
499
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
500
wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0)
501
wait(1)
502
ppart.Parent=nil
503
end))
504
end
505
function Punch()
506
attack=true
507
for i=0,1,0.15 do
508
wait()
509
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,-0.2+0.2*i,0.7-0.7*i)
510
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-2*i,0,0.4-0.8*i) 
511
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
512
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0) 
513
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
514
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
515
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
516
LWL.C0 = CFrame.new(-0.5-0.6+0.6*i,-1.5+0.3-0.3*i,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-0.5+0.5*i) 
517
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
518
end
519
ss(1.2)
520
local vel = Instance.new("BodyGyro") 
521
vel.Parent = Head
522
vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
523
vel.P = 20e+003 
524
vel.cframe=Head.CFrame
525
con1=LeftArm.Touched:connect(function(hit) Damagefunc2(hit,5,1) punched=true end) 
526
for i=0,1,0.15 do
527
wait()
528
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i)
529
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.4-1.17*i) 
530
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
531
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.3*i) 
532
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
533
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
534
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
535
LWL.C0 = CFrame.new(-0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
536
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
537
end
538
con1:disconnect()
539
for i=0,1,0.15 do
540
wait()
541
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57-1.57*i)
542
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.07*i,0,-1.57+1.97*i) 
543
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
544
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1*i,0.3-0.3*i) 
545
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
546
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
547
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
548
LWL.C0 = CFrame.new(-0.5-0.6*i,-1.5+0.3*i,-0.3*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-0.5*i) 
549
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
550
end
551
wait()
552
vel.Parent=nil
553
attack=false
554
coroutine.resume(coroutine.create(function()
555
wait(0.2)
556
punched=false
557
end))
558
end
559
function Kick()
560
attack=true
561
for i=0,1,0.15 do
562
wait()
563
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,-0.2+0.2*i,0.7-0.7*i)
564
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-1.9*i,0,0.4-0.4*i) 
565
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
566
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0.3*i) 
567
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2+0.3*i,0,0) 
568
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
569
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
570
LWL.C0 = CFrame.new(-0.5-0.6+0.6*i,-1.5+0.3-0.3*i,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-0.5+0.5*i) 
571
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
572
end
573
ss(1)
574
local vel = Instance.new("BodyGyro") 
575
vel.Parent = Head
576
vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
577
vel.P = 20e+003 
578
vel.cframe=Head.CFrame
579
local vel2 = Instance.new("BodyVelocity")
580
vel2.Parent = Torso
581
vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
582
vel2.velocity = Head.CFrame.lookVector * 40
583
con1=RightLeg.Touched:connect(function(hit) Damagefunc2(hit,10,1) kicked=true end) 
584
for i=0,1,0.15 do
585
wait()
586
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0)
587
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4-0.3*i,0,0) 
588
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
589
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.3*i,0,0.3) 
590
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
591
RWL.C0 = CFrame.new(0.5,-1.5+0.3*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(1*i,0,0) 
592
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
593
LWL.C0 = CFrame.new(-0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) 
594
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
595
end
596
con1:disconnect()
597
vel2.velocity = Head.CFrame.lookVector * -40
598
for i=0,1,0.15 do
599
wait()
600
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0)
601
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4-0.3+0.3*i,0,0) 
602
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
603
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.3+0.3*i,0,0.3) 
604
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
605
RWL.C0 = CFrame.new(0.5,-1.5+0.3-0.3*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1-1*i,0,0) 
606
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
607
LWL.C0 = CFrame.new(-0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) 
608
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
609
end
610
vel2.Parent=nil
611
for i=0,1,0.15 do
612
wait()
613
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,-0.2*i,0.7*i)
614
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.4+1.9*i,0,0.4*i) 
615
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
616
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1*i,0.3) 
617
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3*i,0,0) 
618
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
619
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
620
LWL.C0 = CFrame.new(-0.5-0.6*i,-1.5+0.3*i,-0.3*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-0.5*i) 
621
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
622
end
623
wait()
624
vel.Parent=nil
625
attack=false
626
coroutine.resume(coroutine.create(function()
627
wait(0.2)
628
kicked=false
629
end))
630
end
631
function WinrarDash()
632
coroutine.resume(coroutine.create(function()
633
local LastPoint = Torso.CFrame
634
for i=0,1,0.1 do
635
wait()
636
        local Point = Torso.CFrame
637
        effect2("Black",0,LastPoint,Point)
638
        LastPoint = Point
639
end
640
end))
641
attack=true
642
local vel = Instance.new("BodyGyro") 
643
vel.Parent = Head
644
vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
645
vel.P = 20e+003 
646
vel.cframe=Head.CFrame
647
local vel2 = Instance.new("BodyVelocity")
648
vel2.Parent = Torso
649
vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
650
vel2.velocity = Head.CFrame.lookVector * -150  + (Vector3.new(0,1,0) * -37)
651
wait(0.15)
652
vel2.Parent=nil
653
for i=1,8 do
654
wait(math.random()/7)
655
SlashTwo()
656
end
657
vel.Parent=nil
658
attack=false
659
end
660
function DashForward()
661
wait()
662
--abscond(4) 
663
local vel = Instance.new("BodyVelocity")
664
vel.Parent = Torso
665
vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
666
vel.velocity = Head.CFrame.lookVector * 250  + (Vector3.new(0,1,0) * 63)
667
local LastPoint = Torso.CFrame
668
coroutine.resume(coroutine.create(function()
669
for i=0,1,0.1 do
670
wait()
671
if holddash==true then
672
        local Point = Torso.CFrame
673
        effect2("Black",0,LastPoint,Point)
674
        LastPoint = Point
675
end
676
end
677
end))
678
for i=0,1,0.3 do
679
wait() 
680
vel.velocity = Head.CFrame.lookVector * 250  + (Vector3.new(0,1,0) * 63)
681
--[[LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3) 
682
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
683
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5) 
684
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) ]]
685
end 
686
vel.Parent=nil
687
end
688
function DashBackwards()
689
wait()
690
--abscond(2) 
691
local vel = Instance.new("BodyVelocity")
692
vel.Parent = Torso
693
vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
694
vel.velocity = Head.CFrame.lookVector * -250  + (Vector3.new(0,1,0) * -63)
695
print(vel.velocity)
696
local LastPoint = Torso.CFrame
697
coroutine.resume(coroutine.create(function()
698
for i=0,1,0.1 do
699
wait()
700
if holddash==true then
701
        local Point = Torso.CFrame
702
        effect2("Black",0,LastPoint,Point)
703
        LastPoint = Point
704
end
705
end
706
end))
707
for i=0,1,0.3 do
708
wait() 
709
vel.velocity = Head.CFrame.lookVector * -250  + (Vector3.new(0,1,0) * -63)
710
--[[LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.3,0.3,-0.3) 
711
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
712
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0.2,0.5) 
713
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) ]]
714
end 
715
vel.Parent=nil
716
end
717
function CarnageDash()
718
--attack=true
719
wait()
720
local vel = Instance.new("BodyVelocity")
721
vel.Parent = Torso
722
vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
723
vel.velocity = Head.CFrame.lookVector * 150  + (Vector3.new(0,1,0) * 37)
724
coroutine.resume(coroutine.create(function()
725
while dashing==true do
726
wait()
727
Walking(0.15)
728
end
729
end))
730
while dashing==true do
731
wait(0.08)
732
vel.velocity = Head.CFrame.lookVector * 150  + (Vector3.new(0,1,0) * 37)
733
coroutine.resume(coroutine.create(function()
734
--ss(1)
735
equipsound(1.3) 
736
--for i=1,2 do
737
wld13.Part0 = LeftArm 
738
wld13.Part1 = prt12
739
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8) * CFrame.new(-1,0,0) 
740
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7,0,0) * CFrame.new(0,1.2,-1)
741
SlashEffect(prt6,0,-6,-1,0,3.14,0,BrickColor.new("Black"),1.5,1,2)
742
for i=0,1,0.8 do
743
wait()
744
LW.C0 = CFrame.new(-1.5-0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
745
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i) 
746
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
747
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
748
if wld13.Part0==LeftArm then
749
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.8-0.2*i) * CFrame.new(-1,0,0) 
750
wld13.C1 = CFrame.fromEulerAnglesXYZ(0.7-0.2*i,0,0) * CFrame.new(0,1.2,-1)
751
end
752
end
753
local ppart = part(1,workspace,0,1,BrickColor.new("Navy blue"),"DerpPart",Vector3.new(1,1,1))
754
ppart.Anchored=true
755
ppart.CFrame=Head.CFrame*CFrame.new(0,0,-5)*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
756
coroutine.resume(coroutine.create(function(PART)
757
wait(1)
758
PART.Parent=nil
759
end),ppart)
760
SlashEffect(ppart,0,-6,-3,-1.57,math.random(-50,50),0,BrickColor.new("Black"),2,2,4)
761
for i=0,1,0.8 do
762
wait()
763
LW.C0 = CFrame.new(-1.5-0.5+0.5*i,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5,0,0.4) 
764
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i) 
765
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1,0) 
766
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2,0,0) 
767
--wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.6) * CFrame.new(-1,0,0) 
768
--wld13.C1 = CFrame.fromEulerAnglesXYZ(0.5,0,0) * CFrame.new(0,2,-1)
769
--end
770
end
771
end))
772
end
773
vel.Parent=nil
774
wld13.Part0 = prt13 
775
wld13.Part1 = prt12 
776
wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.2,0) 
777
wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0)
778
--attack=false
779
end
780
function DownwardSlash()
781
attack=true
782
wait()
783
local vel = Instance.new("BodyVelocity")
784
vel.Parent = Torso
785
vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*2
786
vel.velocity = Vector3.new(0,1,0) * 40  
787
gairo.maxTorque = Vector3.new(math.huge,math.huge,math.huge) 
788
gairo.P = 10000000
789
--gairo.D = 2000
790
gairo.Parent = Torso
791
gairo.cframe=Torso.CFrame
792
for i=0,1,0.1 do
793
wait()
794
--gairo.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,0,0.3*i)
795
gairo.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(-0.1*i,0,0.2*i)
796
end
797
vel.velocity = Vector3.new(0,1,0) * 0 
798
for i=1,20 do
799
wait(0.05)
800
coroutine.resume(coroutine.create(function()
801
Slash()
802
end))
803
end
804
vel.Parent=nil
805
gairo.Parent=nil
806
attack=false
807
end
808
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
809
return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
810
end 
811
function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
812
        local msh1 = Instance.new("BlockMesh") 
813
        msh1.Scale = Vector3.new(0.5,0.5,0.5) 
814
        S=Instance.new("Part")
815
        S.Name="Effect"
816
        S.formFactor=0
817
        S.Size=Vector3.new(x1,y1,z1)
818
        S.BrickColor=color
819
        S.Reflectance = 0
820
        S.TopSurface=0
821
        S.BottomSurface=0
822
        S.Transparency=0
823
        S.Anchored=true
824
        S.CanCollide=false
825
        S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
826
        S.Parent=Character
827
        msh1.Parent = S
828
        coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
829
end 
830
function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
831
        local msh1 = Instance.new("BlockMesh") 
832
        msh1.Scale = Vector3.new(x1,y1,z1) 
833
        S=Instance.new("Part")
834
        S.Name="Effect"
835
        S.formFactor=0
836
        S.Size=Vector3.new(1,1,1)
837
        S.BrickColor=color
838
        S.Reflectance = 0
839
        S.TopSurface=0
840
        S.BottomSurface=0
841
        S.Transparency=0
842
        S.Anchored=true
843
        S.CanCollide=false
844
        S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
845
        S.Parent=Character
846
        msh1.Parent = S
847
        coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
848
end 
849
function MOREMAGIX(part,cframe,x,y,z,color) 
850
                p2=Instance.new("Part")
851
                p2.Name="Blast"
852
                p2.TopSurface=0
853
                p2.BottomSurface=0
854
                p2.CanCollide=false
855
                p2.Anchored=true
856
                p2.BrickColor=color
857
                p2.Size=Vector3.new(x,y,z)
858
                p2.formFactor="Symmetric"
859
                p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
860
                p2.Parent=workspace
861
                m=Instance.new("BlockMesh")
862
                m.Parent=p2
863
                m.Name="BlastMesh"
864
                coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
865
end 
866
function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
867
        local msh1 = Instance.new("SpecialMesh") 
868
        msh1.Scale = Vector3.new(0.5,0.5,0.5) 
869
        msh1.MeshType = "Sphere" 
870
        S=Instance.new("Part")
871
        S.Name="Effect"
872
        S.formFactor=0
873
        S.Size=Vector3.new(x1,y1,z1)
874
        S.BrickColor=color
875
        if Style == "WingBlade" and element == "Dark" then 
876
        S.BrickColor=BrickColor.new("Black") 
877
        end 
878
        S.Reflectance = 0
879
        S.TopSurface=0
880
        S.BottomSurface=0
881
        S.Transparency=0
882
        S.Anchored=true
883
        S.CanCollide=false
884
        S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
885
        S.Parent=Character
886
        msh1.Parent = S
887
        coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
888
end 
889
function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
890
        local msh1 = Instance.new("SpecialMesh") 
891
        msh1.Scale = Vector3.new(x1,y1,z1) 
892
        msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" 
893
        S=Instance.new("Part")
894
        S.Name="Effect"
895
        S.formFactor=0
896
        S.Size=Vector3.new(1,1,1)
897
        S.BrickColor=color
898
        S.Reflectance = 0
899
        S.TopSurface=0
900
        S.BottomSurface=0
901
        S.Transparency=0
902
        S.Anchored=true
903
        S.CanCollide=false
904
        S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
905
        S.Parent=Character
906
        msh1.Parent = S
907
        coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
908
end 
909
function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
910
        local msh1 = Instance.new("SpecialMesh") 
911
        msh1.Scale = Vector3.new(x1,y1,z1) 
912
        msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" 
913
        S=Instance.new("Part")
914
        S.Name="Effect"
915
        S.formFactor=0
916
        S.Size=Vector3.new(1,1,1)
917
        S.BrickColor=color
918
        S.Reflectance = 0
919
        S.TopSurface=0
920
        S.BottomSurface=0
921
        S.Transparency=0
922
        S.Anchored=true
923
        S.CanCollide=false
924
        S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
925
        S.Parent=Character
926
        msh1.Parent = S
927
        coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
928
end 
929
LastPoint = Torso
930
function effect(Color,Ref,LP,P1,returnn)
931
local effectsmsh = Instance.new("CylinderMesh")
932
effectsmsh.Scale = Vector3.new(1,1,1)
933
effectsmsh.Name = "Mesh"
934
local effectsg = Instance.new("Part")
935
effectsg.formFactor = 3
936
effectsg.CanCollide = false
937
effectsg.Name = "Eff"
938
effectsg.Locked = true
939
effectsg.Anchored = true
940
effectsg.Transparency=0.7
941
effectsg.Size = Vector3.new(0.5,1,0.5)
942
effectsg.Parent = workspace
943
effectsmsh.Parent = effectsg
944
effectsg.BrickColor = BrickColor.new(Color)
945
effectsg.Reflectance = Ref
946
local point1 = P1
947
local mg = (LP.p - point1.p).magnitude
948
effectsg.Size = Vector3.new(0.5,mg,0.5)
949
effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
950
if returnn then return effectsg end
951
coroutine.resume(coroutine.create(function()
952
con1=effectsg.Touched:connect(function(hit) Damagefunc2(hit,5,1) end) 
953
        local c = game.Workspace:GetChildren();
954
        for i = 1, #c do
955
                local hum = c[i]:findFirstChild("Humanoid")
956
                if hum ~= nil and hum.Health ~= 0 then
957
                local head = c[i]:findFirstChild("Head");
958
                if head ~= nil then
959
                local targ = head.Position - effectsg.Position;
960
                local mag = targ.magnitude;
961
                if mag <= 6 then 
962
                Damagefunc1(head,5,1) 
963
                end 
964
                end 
965
                end 
966
        end 
967
if not returnn then
968
for i = 0 , 1 , 0.2 do
969
wait()
970
local dir = effectsg.CFrame.lookVector+Vector3.new(0,0,0)
971
local hit2,pos = rayCast(effectsg.Position,effectsg.CFrame.lookVector,10,Character)
972
if hit2 ~= nil then
973
if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
974
hum = hit2.Parent.Humanoid
975
Damagefunc1(hit2,5,5)
976
end
977
end
978
effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
979
end
980
wait()
981
effectsg.Parent = nil
982
end
983
end))
984
end
985
function effect2(Color,Ref,LP,P1,returnn)
986
local effectsmsh = Instance.new("BlockMesh")
987
effectsmsh.Scale = Vector3.new(1,1,1)
988
effectsmsh.Name = "Mesh"
989
local effectsg = Instance.new("Part")
990
effectsg.formFactor = 3
991
effectsg.CanCollide = false
992
effectsg.Name = "Eff"
993
effectsg.Locked = true
994
effectsg.Anchored = true
995
effectsg.Transparency=0.4
996
effectsg.Size = Vector3.new(1,1,1)
997
effectsg.Parent = workspace
998
effectsmsh.Parent = effectsg
999
effectsg.BrickColor = BrickColor.new(Color)
1000
effectsg.Reflectance = Ref
1001
local point1 = P1
1002
local mg = (LP.p - point1.p).magnitude
1003
effectsg.Size = Vector3.new(5,mg,5)
1004
effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
1005
if returnn then return effectsg end
1006
coroutine.resume(coroutine.create(function()
1007
con1=effectsg.Touched:connect(function(hit) Damagefunc2(hit,5,1) end) 
1008
        local c = game.Workspace:GetChildren();
1009
        for i = 1, #c do
1010
                local hum = c[i]:findFirstChild("Humanoid")
1011
                if hum ~= nil and hum.Health ~= 0 then
1012
                local head = c[i]:findFirstChild("Head");
1013
                if head ~= nil then
1014
                local targ = head.Position - effectsg.Position;
1015
                local mag = targ.magnitude;
1016
                if mag <= 6 then 
1017
                Damagefunc1(head,5,1) 
1018
                end 
1019
                end 
1020
                end 
1021
        end 
1022
if not returnn then
1023
for i = 0 , 1 , 0.2 do
1024
wait()
1025
effectsg.Transparency=effectsg.Transparency+0.1
1026
end
1027
wait()
1028
effectsg.Parent = nil
1029
end
1030
end))
1031
end
1032
function SlashEffect(part,x1,y1,z1,x2,y2,z2,color,size,power,repeats) 
1033
        p2=Instance.new("Part")
1034
        p2.Name="Blast"
1035
        p2.TopSurface=0
1036
        p2.BottomSurface=0
1037
        p2.CanCollide=false
1038
        p2.Anchored=true
1039
        p2.BrickColor=color
1040
        p2.Size=Vector3.new(2,2,2)
1041
        p2.formFactor="Symmetric"
1042
        p2.CFrame=part.CFrame*CFrame.fromEulerAnglesXYZ(x2,y2,z2)*CFrame.new(x1,y1,z1)
1043
        p2.Parent=workspace
1044
        p2.Transparency=1
1045
        m=Instance.new("BlockMesh")
1046
        m.Parent=p2
1047
        m.Name="BlastMesh"
1048
        local LastPoint = p2.CFrame
1049
        coroutine.resume(coroutine.create(function(part,dir) 
1050
        for loll=1, repeats do 
1051
        part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) 
1052
        part.CFrame=part.CFrame*CFrame.new(0,2.5*size,0)*CFrame.fromEulerAnglesXYZ(0.6*power,0,0) 
1053
        local Point = part.CFrame
1054
        effect("White",0.5,LastPoint,Point)
1055
        LastPoint = Point
1056
        wait(0) 
1057
        end 
1058
        part.Parent=nil 
1059
        end),p2,0)
1060
end 
1061
--SlashEffect(workspace.Fenrier.Torso,0,-6,-3,-1.57,math.random(-1,1)+math.random(),0,BrickColor.new("Black"),1.5,1.5)
1062
function ss(pitch) 
1063
local SlashSound = Instance.new("Sound") 
1064
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" 
1065
--SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" 
1066
SlashSound.Parent = workspace 
1067
SlashSound.Volume = .5 
1068
SlashSound.Pitch = pitch 
1069
SlashSound.PlayOnRemove = true 
1070
coroutine.resume(coroutine.create(function() 
1071
wait(0) 
1072
SlashSound.Parent = nil 
1073
end)) 
1074
end 
1075
function equipsound(pitch) 
1076
local SlashSound = Instance.new("Sound") 
1077
SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" 
1078
SlashSound.Parent = workspace 
1079
SlashSound.Volume = .3 
1080
SlashSound.Pitch = pitch 
1081
SlashSound.PlayOnRemove = true 
1082
coroutine.resume(coroutine.create(function() 
1083
wait(0) 
1084
SlashSound.Parent = nil 
1085
end)) 
1086
end 
1087
function abscond(pitch) 
1088
local SlashSound = Instance.new("Sound") 
1089
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090" 
1090
SlashSound.Parent = workspace 
1091
SlashSound.Volume = 1 
1092
SlashSound.Pitch = pitch 
1093
SlashSound.PlayOnRemove = true 
1094
coroutine.resume(coroutine.create(function() 
1095
wait(0) 
1096
SlashSound.Parent = nil 
1097
end)) 
1098
end
1099
function magicsound(pitch) 
1100
local SlashSound = Instance.new("Sound") 
1101
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" 
1102
SlashSound.Parent = workspace 
1103
SlashSound.Volume = .5 
1104
SlashSound.Pitch = pitch 
1105
SlashSound.PlayOnRemove = true 
1106
coroutine.resume(coroutine.create(function() 
1107
wait(0) 
1108
SlashSound.Parent = nil 
1109
end)) 
1110
end 
1111
function critsound(pitch) 
1112
local SlashSound = Instance.new("Sound") 
1113
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" 
1114
SlashSound.Parent = workspace 
1115
SlashSound.Volume = .7 
1116
SlashSound.Pitch = pitch 
1117
SlashSound.PlayOnRemove = true 
1118
coroutine.resume(coroutine.create(function() 
1119
wait(0) 
1120
SlashSound.Parent = nil 
1121
end)) 
1122
end 
1123
function spikesound(pitch) 
1124
local SlashSound = Instance.new("Sound") 
1125
SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" 
1126
SlashSound.Parent = workspace 
1127
SlashSound.Volume = .7 
1128
SlashSound.Pitch = pitch 
1129
SlashSound.PlayOnRemove = true 
1130
coroutine.resume(coroutine.create(function() 
1131
wait(0) 
1132
SlashSound.Parent = nil 
1133
end)) 
1134
end 
1135
Damagefunc1=function(hit,Damage,Knockback)
1136
        if attackdebounce == false then 
1137
        attackdebounce = true 
1138
        coroutine.resume(coroutine.create(function() 
1139
        wait(0.1) 
1140
        attackdebounce = false 
1141
        end)) 
1142
        if hit.Parent==nil then
1143
                return
1144
        end
1145
        CPlayer=Bin 
1146
        h=hit.Parent:FindFirstChild("Humanoid")
1147
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1148
                if mana < 400 then 
1149
                mana = mana + math.random(10,20)  
1150
                end 
1151
                if mana > 400 then 
1152
                mana = 400 
1153
                end 
1154
                Damage=Damage
1155
--[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1156
                        return
1157
                end]]
1158
                        c=Instance.new("ObjectValue")
1159
                        c.Name="creator"
1160
                        c.Value=game.Players.LocalPlayer
1161
                        c.Parent=h
1162
                        game:GetService("Debris"):AddItem(c,.5)
1163
--                        print(c.Value)
1164
                if math.random(0,99)+math.random()<=5 then
1165
                        CRIT=true
1166
                        Damage=Damage*1.5
1167
--[[                        Knockback=Knockback*2
1168
                        r=Instance.new("BodyAngularVelocity")
1169
                        r.P=3000
1170
                        r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1171
                        r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1172
                        r.Parent=hit.Parent.Torso]]
1173
                        critsound(2) 
1174
        
1175
                end
1176
                Damage=Damage+math.random(0,10)
1177
--                Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
1178
                h.Health=h.Health-Damage
1179
                showDamage(hit.Parent,Damage,.5)
1180
                vp=Instance.new("BodyVelocity")
1181
                vp.P=500
1182
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1183
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1184
                vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
1185
                if Knockback>0 then
1186
                        vp.Parent=hit.Parent.Torso
1187
                end
1188
                game:GetService("Debris"):AddItem(vp,.25)
1189
--[[                r=Instance.new("BodyAngularVelocity")
1190
                r.P=3000
1191
                r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1192
                r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1193
                r.Parent=hit.Parent.Torso]]
1194
                game:GetService("Debris"):AddItem(r,.5)
1195
                                c=Instance.new("ObjectValue")
1196
                        c.Name="creator"
1197
                        c.Value=Player
1198
                        c.Parent=h
1199
                        game:GetService("Debris"):AddItem(c,.5)
1200
                CRIT=false
1201
                hitDeb=true
1202
                AttackPos=6
1203
        end
1204
        end 
1205
end
1206
Damagefunc1=function(hit,Damage,Knockback)
1207
        if hit.Parent==nil then
1208
                return
1209
        end
1210
--        CPlayer=Bin 
1211
        h=hit.Parent:FindFirstChild("Humanoid")
1212
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1213
        if attackdebounce == false then 
1214
        attackdebounce = true 
1215
        coroutine.resume(coroutine.create(function() 
1216
        wait(0.1) 
1217
        attackdebounce = false 
1218
        end)) 
1219
                Damage=Damage
1220
--[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1221
                        return
1222
                end]]
1223
--                        print("NOPE.AVI")
1224
                if math.random(0,99)+math.random()<=5 then
1225
                        CRIT=true
1226
                        Damage=Damage*1.5
1227
--[[                        Knockback=Knockback*2
1228
                        r=Instance.new("BodyAngularVelocity")
1229
                        r.P=3000
1230
                        r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1231
                        r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1232
                        r.Parent=hit.Parent.Torso]]
1233
        
1234
                end
1235
                Damage=Damage+math.random(0,10)
1236
--                Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
1237
                h:TakeDamage(Damage)
1238
                showDamage(hit.Parent,Damage,.5)
1239
                vp=Instance.new("BodyVelocity")
1240
                vp.P=500
1241
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1242
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1243
                vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
1244
                if Knockback>0 then
1245
                        vp.Parent=hit.Parent.Torso
1246
                end
1247
                game:GetService("Debris"):AddItem(vp,.25)
1248
--[[                r=Instance.new("BodyAngularVelocity")
1249
                r.P=3000
1250
                r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1251
                r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1252
                r.Parent=hit.Parent.Torso
1253
                game:GetService("Debris"):AddItem(r,.5)]]
1254
                CRIT=false
1255
                hitDeb=true
1256
                AttackPos=6
1257
        end
1258
        end 
1259
end
1260
Damagefunc2=function(hit,Damage,Knockback)
1261
        if hit.Parent==nil then
1262
                return
1263
        end
1264
--        CPlayer=Bin 
1265
        h=hit.Parent:FindFirstChild("Humanoid")
1266
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1267
        if attackdebounce == false then 
1268
        attackdebounce = true 
1269
        coroutine.resume(coroutine.create(function() 
1270
        wait(0.1) 
1271
        attackdebounce = false 
1272
        end)) 
1273
                Damage=Damage
1274
--[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1275
                        return
1276
                end]]
1277
--                        print("NOPE.AVI")
1278
                if math.random(0,99)+math.random()<=5 then
1279
                        CRIT=true
1280
                        Damage=Damage*1.5
1281
--[[                        Knockback=Knockback*2
1282
                        r=Instance.new("BodyAngularVelocity")
1283
                        r.P=3000
1284
                        r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1285
                        r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1286
                        r.Parent=hit.Parent.Torso]]
1287
        
1288
                end
1289
                Damage=Damage+math.random(0,10)
1290
--                Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
1291
                h:TakeDamage(Damage)
1292
                showDamage(hit.Parent,Damage,.5)
1293
                vp=Instance.new("BodyVelocity")
1294
                vp.P=500
1295
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1296
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1297
                vp.velocity=Torso.CFrame.lookVector*Knockback
1298
                if Knockback>0 then
1299
                        vp.Parent=hit.Parent.Torso
1300
                end
1301
                game:GetService("Debris"):AddItem(vp,2)
1302
--[[                r=Instance.new("BodyAngularVelocity")
1303
                r.P=3000
1304
                r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
1305
                r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
1306
                r.Parent=hit.Parent.Torso
1307
                game:GetService("Debris"):AddItem(r,.5)]]
1308
                CRIT=false
1309
                hitDeb=true
1310
                AttackPos=6
1311
        end
1312
        end 
1313
end
1314
showDamage=function(Char,Dealt,du)
1315
        m=Instance.new("Model")
1316
        m.Name=tostring(Dealt)
1317
        h=Instance.new("Humanoid")
1318
        h.Health=0
1319
        h.MaxHealth=0
1320
        h.Parent=m
1321
        c=Instance.new("Part")
1322
        c.Transparency=0
1323
        c.BrickColor=BrickColor:Red()
1324
        if CRIT==true then
1325
                c.BrickColor=BrickColor.new("Really red")
1326
        end
1327
        c.Name="Head"
1328
        c.TopSurface=0
1329
        c.BottomSurface=0
1330
        c.formFactor="Plate"
1331
        c.Size=Vector3.new(1,.4,1)
1332
        ms=Instance.new("CylinderMesh")
1333
        ms.Scale=Vector3.new(.8,.8,.8)
1334
        if CRIT==true then
1335
                ms.Scale=Vector3.new(1.25,1.5,1.25)
1336
        end
1337
        ms.Parent=c
1338
        c.Reflectance=0
1339
        Instance.new("BodyGyro").Parent=c
1340
        c.Parent=m
1341
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1342
        f=Instance.new("BodyPosition")
1343
        f.P=2000
1344
        f.D=100
1345
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1346
        f.position=c.Position+Vector3.new(0,3,0)
1347
        f.Parent=c
1348
        game:GetService("Debris"):AddItem(m,.5+du)
1349
        c.CanCollide=false
1350
        m.Parent=workspace
1351
        c.CanCollide=false
1352
end
1353
hold = false 
1354
function ob1d(mouse) 
1355
if attack == true then return end 
1356
hold = true 
1357
Slash()
1358
--[[if combo == 0 then 
1359
combo = 1 
1360
onehit() 
1361
coroutine.resume(coroutine.create(function()
1362
wait(0.5) 
1363
if attack == false then 
1364
combo = 0 
1365
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
1366
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1367
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1368
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1369
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1370
end 
1371
end)) 
1372
elseif combo == 1 then 
1373
combo = 2 
1374
twohit() 
1375
coroutine.resume(coroutine.create(function()
1376
wait(0.5) 
1377
if attack == false then 
1378
combo = 0 
1379
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
1380
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1381
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1382
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1383
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1384
end 
1385
end)) 
1386
elseif combo == 2 then 
1387
combo = 3 
1388
threehit() 
1389
wait(0.5) 
1390
combo = 0 
1391
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
1392
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1393
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1394
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1395
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1396
end ]]
1397
end 
1398
function ob1u(mouse) 
1399
hold = false 
1400
end 
1401
buttonhold = false 
1402
function Key(key,mouse) 
1403
if key=="k" then
1404
if sitting==false then
1405
sitting=true
1406
normattack=true
1407
Sit()
1408
elseif sitting==true then
1409
sitting=false
1410
UnSit()
1411
normattack=false
1412
end
1413
end
1414
pcall(function() act.key[key:lower()] = true end)
1415
local kk = key:lower()
1416
coroutine.resume(coroutine.create(function()
1417
if kk == "w" or kk == "a" or kk == "s" or kk == "d" then
1418
while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do
1419
wait()
1420
end
1421
walking = false 
1422
end
1423
end)) 
1424
if kk == "w" or kk == "a" or kk == "s" or kk == "d" then
1425
if walking == true then return end
1426
if normattack==true then return end 
1427
while act.key["w"] == true or act.key["a"] == true or act.key["s"] == true or act.key["d"] == true do
1428
Walking(0.1)
1429
wait()
1430
end
1431
walking = false 
1432
Stance()
1433
end
1434
if attack == true then return end 
1435
if key == "y" then 
1436
holddash=true
1437
DashForward()
1438
end 
1439
if key == "h" then 
1440
holddash=true
1441
DashBackwards()
1442
end 
1443
if key=="g" then
1444
dashing=true
1445
CarnageDash()
1446
end
1447
if key=="q" then
1448
DownwardSlash()
1449
end
1450
if punched==true then
1451
if key=="c" then
1452
normattack=true
1453
WinrarDash()
1454
normattack=false
1455
end
1456
elseif kicked==true then
1457
if key=="z" then
1458
normattack=true
1459
normattack=false
1460
end
1461
else
1462
if key=="z" then
1463
normattack=true
1464
Punch()
1465
normattack=false
1466
end
1467
if key=="x" then
1468
normattack=true
1469
Kick()
1470
normattack=false
1471
end
1472
end
1473
--[[if key=="c" then
1474
normattack=true
1475
WinrarDash()
1476
normattack=false
1477
end]]
1478
RWL.C0 = CFrame.new(0.5,-1.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1479
RWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1480
LWL.C0 = CFrame.new(-0.5-0.6,-1.5+0.3,-0.3) * CFrame.fromEulerAnglesXYZ(0.5,0,-0.7+0.2) 
1481
LWL.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
1482
Stance()
1483
end 
1484
function Key2(key,mouse) 
1485
pcall(function() act.key[key:lower()] = false end)
1486
if key=="f" then
1487
holddash=false
1488
end
1489
if key=="g" then
1490
dashing=false
1491
end
1492
end 
1493
function s(mouse) 
1494
mouse.Button1Down:connect(function() ob1d(mouse) end) 
1495
mouse.Button1Up:connect(function() ob1u(mouse) end) 
1496
mouse.KeyDown:connect(function(key) Key(key,mouse) end) 
1497
mouse.KeyUp:connect(function(key) Key2(key,mouse) end) 
1498
--mouse.KeyDown:connect(key,mouse) 
1499
--mouse.KeyUp:connect(key2,mouse) 
1500
MMouse=mouse
1501
player = Player 
1502
ch = Character 
1503
RSH = ch.Torso["Right Shoulder"] 
1504
LSH = ch.Torso["Left Shoulder"] 
1505
-- 
1506
RW.Part0 = ch.Torso 
1507
RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1508
RW.C1 = CFrame.new(0, 0.5, 0) 
1509
RW.Part1 = ch["Right Arm"] 
1510
RW.Parent = ch.Torso 
1511
--_G.R = RW 
1512
-- 
1513
LW.Part0 = ch.Torso 
1514
LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1515
LW.C1 = CFrame.new(0, 0.5, 0) 
1516
LW.Part1 = ch["Left Arm"] 
1517
LW.Parent = ch.Torso 
1518
--_G.L = LW 
1519
-- 
1520
RHP = ch.Torso["Right Hip"] 
1521
LHP = ch.Torso["Left Hip"] 
1522
-- 
1523
RWL.Part0 = ch.Torso 
1524
RWL.C0 = CFrame.new(0, -1.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1525
RWL.C1 = CFrame.new(-0.5, 0.5, 0) 
1526
RWL.Part1 = ch["Right Leg"] 
1527
RWL.Parent = ch.Torso 
1528
--_G.R = RW 
1529
-- 
1530
LWL.Part0 = ch.Torso 
1531
LWL.C0 = CFrame.new(0, -1.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1532
LWL.C1 = CFrame.new(0.5, 0.5, 0) 
1533
LWL.Part1 = ch["Left Leg"] 
1534
LWL.Parent = ch.Torso 
1535
--_G.L = LW 
1536
-- 
1537
equipanim() 
1538
end 
1539
function ds(mouse) 
1540
hideanim() 
1541
RW.Parent = nil 
1542
LW.Parent = nil 
1543
RWL.Parent = nil 
1544
LWL.Parent = nil 
1545
RSH.Parent = player.Character.Torso 
1546
LSH.Parent = player.Character.Torso 
1547
RHP.Parent = player.Character.Torso 
1548
LHP.Parent = player.Character.Torso 
1549
end 
1550
Bin.Selected:connect(s) 
1551
Bin.Deselected:connect(ds) 
1552
--[[function onRunning(speed)
1553
if attack == true then return end 
1554
        if speed>0 then 
1555
walking = true 
1556
for i = 0,1,0.1 do 
1557
wait() 
1558
if attack == false then 
1559
--Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
1560
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1561
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1562
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1563
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1564
end 
1565
end 
1566
        else 
1567
walking = false 
1568
for i = 0,1,0.1 do 
1569
wait() 
1570
if attack == false then 
1571
--Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
1572
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1573
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1574
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1575
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1576
end
1577
end 
1578
        end 
1579
end 
1580
Character.Humanoid.Running:connect(onRunning) ]]
1581
local BladeHealth=Character.Humanoid.MaxHealth/2
1582
coroutine.resume(coroutine.create(function()
1583
for i=0,1,0.1 do
1584
wait()
1585
Character.Humanoid.Maxhealth=BladeHealth
1586
end 
1587
end))
1588
while true do 
1589
wait(0)  
1590
fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
1591
fentext.Text = "Mana("..mana..")" 
1592
fentext3.BackgroundColor3 = Color3.new(1,1,1) 
1593
end