View difference between Paste ID: UEHmqLDd and LLPjMHad
SHOW: | | - or go back to the newest paste.
1
Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Earth-shattering kamehameha"
2
script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Earth-shattering kamehameha"
3
local char = script.Parent.Parent.Parent.Character
4
local humanoid = char.Humanoid
5
local Head = char.Head
6
local Torso = char.Torso
7
local LeftArm = char["Left Arm"]
8
local RightArm = char["Right Arm"]
9
local LeftLeg = char["Left Leg"]
10
local RightLeg = char["Right Leg"]
11
local RightHip = Torso["Right Hip"]
12
local LeftHip = Torso["Left Hip"]
13
local Neck = Torso.Neck
14
local RightShoulder = Torso["Right Shoulder"]
15
local LeftShoulder = Torso["Left Shoulder"]
16
local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
17
local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
18
local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
19
local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
20
local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
21
local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
22
local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
23
local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
24
local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
25
local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
26
local taco = false
27
local taco2 = true
28
local time = game.Lighting.TimeOfDay
29
local h = tonumber(string.sub(time,1,2))
30
local m = tonumber(string.sub(time,4,5))+1
31
local s = tonumber(string.sub(time,7,8))
32
local function frame()
33
TiltX = 0
34
TiltY = 0
35
TiltZ = 0
36
RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
37
LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
38
TiltX = -1.65
39
TiltY = 0
40
TiltZ = 0
41
MoveX = 0
42
MoveY = -0.31
43
MoveZ = -0.4
44
RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
45
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
46
TiltX = -0.12
47
TiltY = -0.01
48
TiltZ = -0.1
49
MoveX = 0
50
MoveY = 0.2
51
MoveZ = 0
52
RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
53
LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
54
end
55
function switch(bool)
56
for i,v in pairs(char:GetChildren())do
57
if v == Torso or v == Head or v == LeftArm or v == RightArm or v == LeftLeg or v == RightLeg then
58
v.Anchored = bool
59
end end end
60
local function frame2()
61
TiltX = 0
62
TiltY = 0
63
TiltZ = 1.57
64
RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
65
LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
66
TiltX = 0.6
67
TiltY = 0
68
TiltZ = 0
69
MoveX = 0
70
MoveY = 0
71
MoveZ = -0.3
72
RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
73
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
74
TiltX = -0.05
75
TiltY = 0
76
TiltZ = 0
77
MoveX = 0
78
MoveY = 0.1
79
MoveZ = 0
80
RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
81
LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
82
end
83
local function RefreshWelds()
84
Neck.C0 = NeckC0
85
Neck.C1 = NeckC1
86
RightShoulder.C0 = RightShoulderC0
87
RightShoulder.C1 = RightShoulderC1
88
LeftShoulder.C0 = LeftShoulderC0
89
LeftShoulder.C1 = LeftShoulderC1
90
RightHip.C0 = RightHipC0
91
RightHip.C1 = RightHipC1
92
LeftHip.C0 = LeftHipC0
93
LeftHip.C1 = LeftHipC1
94
end
95
local function Button1Down(mouse)
96
if taco then return end
97
taco = true
98
humanoid.PlatformStand = true
99
local staystill = Instance.new("BodyPosition",Torso)
100
staystill.maxForce = Vector3.new(math.huge,math.huge,math.huge)
101
staystill.position = Torso.Position
102
frame()
103
local energy = Instance.new("Part",char)
104
energy.Size = Vector3.new(0.1,0.1,0.1)
105
energy.CanCollide = false
106
energy.Anchored = true
107
energy.Locked = true
108
energy.Shape = "Ball"
109
energy.TopSurface = "Smooth"
110
energy.BottomSurface = "Smooth"
111
energy.Color = Color3.new(0/0,0/0,0/0)
112
energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
113
local energy2 = Instance.new("Part",char)
114
energy2.Size = Vector3.new(0.1,0.1,0.1)
115
energy2.CanCollide = false
116
energy2.Anchored = true
117
energy2.Locked = true
118
energy2.Shape = "Ball"
119
energy2.TopSurface = "Smooth"
120
energy2.BottomSurface = "Smooth"
121
energy2.Color = Color3.new(0.0,0.0,0.0)
122
energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
123
local f1 = Instance.new("Fire",energy)
124
f1.Color = energy.Color
125
f1.SecondaryColor = Color3.new(0,0,0)
126
f1.Heat = 0
127
local f2 = Instance.new("Fire",energy2)
128
f2.Color = energy2.Color
129
f2.SecondaryColor = Color3.new(1,1,1)
130
f2.Heat = 0
131
local f1 = Instance.new("Fire",energy)
132
f1.Color = energy.Color
133
f1.SecondaryColor = Color3.new(0,0,0)
134
f1.Heat = 0
135
local f2 = Instance.new("Fire",energy2)
136
f2.Color = energy2.Color
137
f2.SecondaryColor = Color3.new(1,1,1)
138
f2.Heat = 0
139
local f1 = Instance.new("Fire",energy)
140
f1.Color = energy.Color
141
f1.SecondaryColor = Color3.new(0,0,0)
142
f1.Heat = 0
143
local f2 = Instance.new("Fire",energy2)
144
f2.Color = energy2.Color
145
f2.SecondaryColor = Color3.new(1,1,1)
146
f2.Heat = 0
147
--[[                                                                                                                                                                                    ]]
148
149
150
151
152
153
switch(true)
154
wait(0.5)
155
repeat m = m * 2 if m >= 60 then m = 1 h = h + 1 end game.Lighting.TimeOfDay = ""..h..":"..m..":"..s.."" wait(0) until game.Lighting.TimeOfDay >= "18:00:00"
156
for i = 1,10 do
157
energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
158
energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
159
energy.Size = energy.Size + Vector3.new(0.5,0.5,0.5)
160
energy2.Size = energy2.Size + Vector3.new(0.5,0.5,0.5)
161
energy.Reflectance = energy.Reflectance + 0.1
162
energy2.Reflectance = energy2.Reflectance + 0.1
163
wait()
164
energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
165
energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
166
end
167
game:GetService("Chat"):Chat(Head,"Dark Power Wave",0)
168
wait(0.6)
169
switch(false)
170
frame2()
171
wait()
172
switch(true)
173
for i = 1,10 do
174
wait()
175
energy.CFrame = energy.CFrame * CFrame.new(0,0.25,-0.25)
176
energy2.CFrame = energy2.CFrame * CFrame.new(0,0.25,-0.25)
177
end
178
for i = 1,20 do
179
energy.Size = energy.Size * Vector3.new(0.5,0.5,0.5)
180
energy2.Size = energy2.Size * Vector3.new(0.5,0.5,0.5)
181
energy.Reflectance = energy.Reflectance - 0.1
182
energy2.Reflectance = energy2.Reflectance - 0.1
183
wait()
184
energy.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
185
energy2.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
186
end
187
energy:Destroy()
188
energy2:Destroy()
189
wait(0.6)
190
game:GetService("Chat"):Chat(Head,"Enitiated",0)
191
local blast = Instance.new("Part",char)
192
blast.Size = Vector3.new(8,8,8)
193
blast.Shape = "Ball"
194
blast.TopSurface = "Smooth"
195
blast.BottomSurface = "Smooth"
196
blast.Anchored = true
197
blast.Locked = true
198
blast.CanCollide = false
199
blast.Color = Color3.new(0/0,0/0,0/0)
200
blast.Transparency = 0
201
blast.CFrame = Torso.CFrame * CFrame.new(0,0.2,-6.5)
202
wait(0.6)
203
game:GetService("Chat"):Chat(Head,"Now Die...",1)
204
local xf = Instance.new("Fire",blast)
205
xf.Size = 25
206
xf.Color = blast.Color
207
xf.SecondaryColor = Color3.new(0.0,0.0,0.0)
208
xf.Heat = 0
209
local xf = Instance.new("Fire",blast)
210
xf.Size = 25
211
xf.Color = blast.Color
212
xf.SecondaryColor = Color3.new(0.0,0.0,0.0)
213
xf.Heat = 0
214
for i = 1,20 do
215
blast.Transparency = blast.Transparency + 0.05
216
blast.Reflectance = blast.Reflectance + 0.01
217
wait(0.1)
218
if blast.Transparency >= 1 then
219
blast.Transparency = blast.Transparency - 0.1
220
end end
221
blast.Transparency = 0.1
222
wait(0.5)
223
game:GetService("Chat"):Chat(Head,".............",2)
224
coroutine.resume(coroutine.create(function()
225
for i = 1,5 do wait(0)
226
local p = Instance.new("Part",blast)
227
p.Size = Vector3.new(0,0,0)
228
p.Anchored = true
229
p.CanCollide = false
230
p.Locked = true
231
p.BrickColor = BrickColor.new("Really black")
232
p.TopSurface = "Smooth"
233
p.Reflectance = 0.3
234
p.Transparency = 0.4
235
p.BottomSurface = "Smooth"
236
p.CFrame = blast.CFrame * CFrame.new(0,0,0)
237
local m1 = Instance.new("SpecialMesh",p)
238
m1.Scale = p.Size
239
m1.MeshId = "http://www.roblox.com/asset/?id=3270017"
240
local p2 = Instance.new("Part",blast)
241
p2.CFrame = blast.CFrame * CFrame.new(0,0,0)
242
p2.Size = Vector3.new(0,0,0)
243
p2.Anchored = true
244
p2.CanCollide = false
245
p2.Locked = true
246
p2.BrickColor = BrickColor.new("Really black")
247
p2.TopSurface = "Smooth"
248
p2.Reflectance = 0.3
249
p2.Transparency = 0.4
250
p2.BottomSurface = "Smooth"
251
local m2 = Instance.new("SpecialMesh",p2)
252
m2.Scale = p2.Size
253
m2.MeshId = "http://www.roblox.com/asset/?id=3270017"
254
local p3 = Instance.new("Part",blast)
255
p3.Size = Vector3.new(0,0,0)
256
p3.Anchored = true
257
p3.CanCollide = false
258
p3.Locked = true
259
p3.Color = blast.Color
260
p3.TopSurface = "Smooth"
261
p3.Reflectance = 0.3
262
p3.Transparency = 0.4
263
p3.BottomSurface = "Smooth"
264
p3.CFrame = blast.CFrame * CFrame.new(0,0,0)
265
local m3 = Instance.new("SpecialMesh",p3)
266
m3.Scale = p.Size
267
m3.MeshId = "http://www.roblox.com/asset/?id=3270017"
268
coroutine.resume(coroutine.create(function()
269
for i = 1,20 do wait(0)
270
m1.Scale = m1.Scale + Vector3.new(5,5,5)
271
p.CFrame = p.CFrame * CFrame.new(0,0,-5)
272
end
273
p:Destroy()
274
end))
275
coroutine.resume(coroutine.create(function()
276
for i = 1,20 do wait(0)
277
m2.Scale = m2.Scale + Vector3.new(5,5,5)
278
p2.CFrame = p2.CFrame * CFrame.new(0,0,-5)
279
end
280
p2:Destroy()
281
end))
282
coroutine.resume(coroutine.create(function()
283
for i = 1,20 do wait(0)
284
m3.Scale = m3.Scale + Vector3.new(5,5,5)
285
p3.CFrame = p3.CFrame * CFrame.new(0,0,-5)
286
end
287
p3:Destroy()
288
end))end end))
289
local p = Instance.new("Part",blast)
290
p.Size = blast.Size
291
p.CanCollide = true
292
p.Anchored = true
293
p.Locked = true
294
p.Color = blast.Color
295
p.Reflectance = blast.Reflectance
296
p.Transparency = blast.Transparency
297
p.TopSurface = "Smooth"
298
p.BottomSurface = "Smooth"
299
p.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
300
p.Touched:connect(function(hit)
301
if not taco2 then return end
302
taco2 = false
303
if hit.Parent:findFirstChild("Humanoid")then
304
for i,v in pairs(hit.Parent:GetChildren())do
305
if v:IsA"Hat" then
306
v:Destroy()
307
elseif v:IsA"Part" then
308
v.Velocity = v.Position * Vector3.new(50,3,0)
309
v.RotVelocity = v.Position - v.Velocity
310
v.Parent:BreakJoints()
311
end end end 
312
wait(8)
313
taco2 = true
314
end)
315
local mesh = Instance.new("CylinderMesh",p)
316
mesh.Scale = Vector3.new(1,0,1)
317
for i = 1,150 do
318
mesh.Scale = mesh.Scale + Vector3.new(-0.16,1.19,-0.16)
319
p.CFrame = p.CFrame * CFrame.new(0,-5,0)
320
wait(0)
321
mesh.Scale = mesh.Scale + Vector3.new(0.1599,0,0.1599)
322
end 
323
blast:Destroy()
324
game.Lighting.TimeOfDay = 12
325
switch(false)
326
RefreshWelds()
327
humanoid.PlatformStand = false
328
staystill:Destroy()
329
wait(8)
330
taco = false
331
end
332
script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)
333
334
Player = game:GetService("Players").LocalPlayer
335
Character = Player.Character 
336
PlayerGui = Player.PlayerGui 
337
Backpack = Player.Backpack 
338
Torso = Character.Torso 
339
Head = Character.Head 
340
Humanoid = Character.Humanoid
341
Face = Head.face
342
LeftArm = Character["Left Arm"] 
343
LeftLeg = Character["Left Leg"] 
344
RightArm = Character["Right Arm"] 
345
RightLeg = Character["Right Leg"] 
346
LS = Torso["Left Shoulder"] 
347
LH = Torso["Left Hip"] 
348
RS = Torso["Right Shoulder"] 
349
RH = Torso["Right Hip"] 
350
Neck = Torso.Neck
351
it=Instance.new
352
vt=Vector3.new
353
cf=CFrame.new
354
euler=CFrame.fromEulerAnglesXYZ
355
angles=CFrame.Angles
356
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
357
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
358
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
359
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
360
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
361
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
362
RootPart=Character.HumanoidRootPart
363
RootJoint=RootPart.RootJoint
364
RootCF=euler(-1.57,0,3.14)
365
attack = false 
366
attackdebounce = false 
367
MMouse=nil
368
combo=0
369
--player 
370
player = nil 
371
--save shoulders 
372
RSH, LSH = nil, nil 
373
--welds 
374
RW, LW = Instance.new("Weld"), Instance.new("Weld") 
375
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
376
LH=Torso["Left Hip"]
377
RH=Torso["Right Hip"]
378
xenabled=true cenabled=true venabled=true benabled=true
379
cloaked=false
380
 
381
function swait(num)
382
if num==0 or num==nil then
383
game:service'RunService'.RenderStepped:wait()
384
else
385
game:service'RunService'.Stepped:wait(num)
386
end
387
end
388
 
389
if Character:findFirstChild("Shogai",true) ~= nil then 
390
Character:findFirstChild("Shogai",true).Parent = nil 
391
end 
392
if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then 
393
Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil 
394
end 
395
 
396
 
397
function NoOutline(Part)
398
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
399
end
400
 
401
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
402
local fp = it("Part")
403
fp.formFactor = formfactor 
404
fp.Parent = parent
405
fp.Reflectance = reflectance
406
fp.Transparency = transparency
407
fp.CanCollide = false 
408
fp.Locked=true
409
fp.BrickColor = brickcolor
410
fp.Name = name
411
fp.Size = size
412
fp.Position = Torso.Position 
413
NoOutline(fp)
414
fp.Material="SmoothPlastic"
415
fp:BreakJoints()
416
return fp 
417
end 
418
 
419
function mesh(Mesh,part,meshtype,meshid,offset,scale)
420
local mesh = it(Mesh) 
421
mesh.Parent = part
422
if Mesh=="SpecialMesh" then
423
mesh.MeshType = meshtype
424
mesh.MeshId = meshid
425
end
426
mesh.Offset=offset
427
mesh.Scale=scale
428
return mesh
429
end
430
 
431
function weld(parent,part0,part1,c0)
432
local weld = it("Weld") 
433
weld.Parent = parent
434
weld.Part0 = part0 
435
weld.Part1 = part1 
436
weld.C0 = c0
437
return weld
438
end
439
 
440
local fengui=it("GuiMain") 
441
fengui.Parent=Player.PlayerGui 
442
fengui.Name="WeaponGUI" 
443
local fenframe1=it("TextLabel") 
444
fenframe1.Parent=fengui
445
fenframe1.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
446
fenframe1.BackgroundTransparency=0.3
447
fenframe1.BorderSizePixel=5
448
fenframe1.BorderColor3=Color3.new(1,1,1) 
449
fenframe1.Size=UDim2.new(0.05, 0, 0.1, 0)
450
fenframe1.Position=UDim2.new(0.325,0,0.7,0)
451
fenframe1.Text="X"
452
fenframe1.TextWrapped=true
453
fenframe1.FontSize=7
454
fenframe1.TextColor3=Color3.new(1,1,1)
455
local fenframe1a=it("TextLabel") 
456
fenframe1a.Parent=fengui
457
fenframe1a.BackgroundColor3=Color3.new(10/255,10/255,10/255) 
458
fenframe1a.BackgroundTransparency=0.3
459
fenframe1a.BorderSizePixel=5
460
fenframe1a.BorderColor3=Color3.new(1,1,1) 
461
fenframe1a.Size=UDim2.new(0.05, 0, 0.1, 0)
462
fenframe1a.Position=UDim2.new(0.325,0,0.7,0)
463
fenframe1a.Text=""
464
local fenframe2=it("TextLabel") 
465
fenframe2.Parent=fengui
466
fenframe2.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
467
fenframe2.BackgroundTransparency=0.3
468
fenframe2.BorderSizePixel=5
469
fenframe2.BorderColor3=Color3.new(1,1,1) 
470
fenframe2.Size=UDim2.new(0.05, 0, 0.1, 0)
471
fenframe2.Position=UDim2.new(0.425,0,0.7,0)
472
fenframe2.Text="C"
473
fenframe2.TextWrapped=true
474
fenframe2.FontSize=7
475
fenframe2.TextColor3=Color3.new(1,1,1)
476
local fenframe2a=it("TextLabel") 
477
fenframe2a.Parent=fengui
478
fenframe2a.BackgroundColor3=Color3.new(10/255,10/255,10/255) 
479
fenframe2a.BackgroundTransparency=0.3
480
fenframe2a.BorderSizePixel=5
481
fenframe2a.BorderColor3=Color3.new(1,1,1) 
482
fenframe2a.Size=UDim2.new(0.05, 0, 0.1, 0)
483
fenframe2a.Position=UDim2.new(0.425,0,0.7,0)
484
fenframe2a.Text=""
485
local fenframe3=it("TextLabel") 
486
fenframe3.Parent=fengui
487
fenframe3.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
488
fenframe3.BackgroundTransparency=0.3
489
fenframe3.BorderSizePixel=5
490
fenframe3.BorderColor3=Color3.new(1,1,1) 
491
fenframe3.Size=UDim2.new(0.05, 0, 0.1, 0)
492
fenframe3.Position=UDim2.new(0.525,0,0.7,0)
493
fenframe3.Text="V"
494
fenframe3.TextWrapped=true
495
fenframe3.FontSize=7
496
fenframe3.TextColor3=Color3.new(1,1,1)
497
local fenframe3a=it("TextLabel") 
498
fenframe3a.Parent=fengui
499
fenframe3a.BackgroundColor3=Color3.new(10/255,10/255,10/255) 
500
fenframe3a.BackgroundTransparency=0.3
501
fenframe3a.BorderSizePixel=5
502
fenframe3a.BorderColor3=Color3.new(1,1,1) 
503
fenframe3a.Size=UDim2.new(0.05, 0, 0.1, 0)
504
fenframe3a.Position=UDim2.new(0.525,0,0.7,0)
505
fenframe3a.Text=""
506
local fenframe4=it("TextLabel") 
507
fenframe4.Parent=fengui
508
fenframe4.BackgroundColor3=Color3.new(50/255,50/255,50/255) 
509
fenframe4.BackgroundTransparency=0.3
510
fenframe4.BorderSizePixel=5
511
fenframe4.BorderColor3=Color3.new(1,1,1) 
512
fenframe4.Size=UDim2.new(0.05, 0, 0.1, 0)
513
fenframe4.Position=UDim2.new(0.625,0,0.7,0)
514
fenframe4.Text="B"
515
fenframe4.TextWrapped=true
516
fenframe4.FontSize=7
517
fenframe4.TextColor3=Color3.new(1,1,1)
518
local fenframe4a=it("TextLabel") 
519
fenframe4a.Parent=fengui
520
fenframe4a.BackgroundColor3=Color3.new(10/255,10/255,10/255) 
521
fenframe4a.BackgroundTransparency=0.3
522
fenframe4a.BorderSizePixel=5
523
fenframe4a.BorderColor3=Color3.new(1,1,1) 
524
fenframe4a.Size=UDim2.new(0.05, 0, 0.1, 0)
525
fenframe4a.Position=UDim2.new(0.625,0,0.7,0)
526
fenframe4a.Text=""
527
 
528
fenframe1a.Size=UDim2.new(0,0,0.1,0)
529
fenframe2a.Size=UDim2.new(0,0,0.1,0)
530
fenframe3a.Size=UDim2.new(0,0,0.1,0)
531
fenframe4a.Size=UDim2.new(0,0,0.1,0)
532
 
533
local modelzorz = Instance.new("Model") 
534
modelzorz.Parent = Character 
535
modelzorz.Name = "Shogai" 
536
 
537
local prt1=part(1,modelzorz,0,0,Torso.BrickColor,"Part1",vt(1,1,1))
538
local prt2=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part2",vt(1,1,1))
539
local prt3=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part3",vt(1,1,1))
540
local prt4=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part4",vt(1,1,1))
541
local prt5=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part5",vt(1,1,1))
542
local prt6=part(1,modelzorz,0.2,0,BrickColor.new("White"),"Part6",vt(1,1,1))
543
local prt8=part(0,modelzorz,0,1,BrickColor.new("Black"),"Part8",vt(1,1,1))
544
local prt9=part(0,modelzorz,0,1,BrickColor.new("Black"),"Part9",vt(1,1,1))
545
 
546
local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(0.5,0.5,0.5))
547
local msh2=mesh("CylinderMesh",prt2,"","",vt(0,0,0),vt(0.49,0.8,0.49))
548
local msh3=mesh("SpecialMesh",prt3,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(1,1,1))
549
local msh4=mesh("SpecialMesh",prt4,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(1,0.5,0.5))
550
local msh5=mesh("SpecialMesh",prt5,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
551
local msh6=mesh("SpecialMesh",prt6,"Wedge","",vt(0,0,0),vt(0.1,1.4,0.4))
552
local msh8=mesh("SpecialMesh",prt8,"Sphere","",vt(0,0,0),vt(1.5,1.5,1.5))
553
local msh9=mesh("SpecialMesh",prt9,"Sphere","",vt(0,0,0),vt(1.5,1.5,1.5))
554
 
555
local wld1=weld(prt1,prt1,Torso,euler(0,0,-2)*cf(-1,0.8,-0.5))
556
local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
557
local wld3=weld(prt3,prt3,prt2,euler(3.14,0,0)*cf(0,0.5,0))
558
local wld4=weld(prt4,prt4,prt2,euler(0,0,0)*cf(0,-0.5,0))
559
local wld5=weld(prt5,prt5,prt4,euler(0,1.57,0)*cf(-0.2,-0.9,0))
560
local wld6=weld(prt6,prt6,prt4,euler(0,-1.57,0)*cf(0.2,-0.9,0))
561
local wld8=weld(prt8,prt8,LeftArm,euler(0,0,0)*cf(0,0.8,0))
562
local wld9=weld(prt9,prt9,RightArm,euler(0,0,0)*cf(0,0.8,0))
563
 
564
numb=-0.3
565
numb2=0.5
566
for i=1,5 do
567
local prt7=part(1,modelzorz,0,0,BrickColor.new("Really black"),"Part7",vt(1,1,1))
568
local msh7=mesh("SpecialMesh",prt7,"FileMesh","http://www.roblox.com/asset/?id=9756362",vt(0,0,0),vt(numb2,0.2,0.2))
569
local wld7=weld(prt7,prt7,prt4,euler(0,0,0)*cf(0,numb,0))
570
numb=numb-0.3
571
numb2=numb2-0.1
572
end
573
 
574
coroutine.resume(coroutine.create(function(Part,Part2)
575
while Part2.Parent~=nil do
576
swait()
577
if cloaked==false then
578
for i=1,0.1,-0.01 do
579
swait()
580
Part2.Transparency=i
581
if math.random(1,10)==1 then
582
local prt2=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
583
prt2.Anchored=true
584
prt2.CFrame=Part2.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
585
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
586
game:GetService("Debris"):AddItem(prt2,2)
587
coroutine.resume(coroutine.create(function(pPart,Mesh) 
588
for i=0,1,0.1 do
589
swait()
590
pPart.CFrame=pPart.CFrame*cf(0,0.5,0)
591
end
592
pPart.Parent=nil
593
end),prt2,msh2)
594
end
595
end
596
for i=0.1,1,0.01 do
597
swait()
598
Part2.Transparency=i
599
if math.random(1,10)==1 then
600
local prt2=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
601
prt2.Anchored=true
602
prt2.CFrame=Part2.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
603
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
604
game:GetService("Debris"):AddItem(prt2,2)
605
coroutine.resume(coroutine.create(function(pPart,Mesh) 
606
for i=0,1,0.1 do
607
swait()
608
pPart.CFrame=pPart.CFrame*cf(0,0.5,0)
609
end
610
pPart.Parent=nil
611
end),prt2,msh2)
612
end
613
end
614
end
615
end
616
end),LeftArm,prt8)
617
 
618
coroutine.resume(coroutine.create(function(Part,Part2)
619
while Part2.Parent~=nil do
620
swait()
621
if cloaked==false then
622
for i=1,0.1,-0.01 do
623
swait()
624
Part2.Transparency=i
625
if math.random(1,10)==1 then
626
local prt2=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
627
prt2.Anchored=true
628
prt2.CFrame=Part2.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
629
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
630
game:GetService("Debris"):AddItem(prt2,2)
631
coroutine.resume(coroutine.create(function(pPart,Mesh) 
632
for i=0,1,0.1 do
633
swait()
634
pPart.CFrame=pPart.CFrame*cf(0,0.5,0)
635
end
636
pPart.Parent=nil
637
end),prt2,msh2)
638
end
639
end
640
for i=0.1,1,0.01 do
641
swait()
642
Part2.Transparency=i
643
if math.random(1,10)==1 then
644
local prt2=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
645
prt2.Anchored=true
646
prt2.CFrame=Part2.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
647
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
648
game:GetService("Debris"):AddItem(prt2,2)
649
coroutine.resume(coroutine.create(function(pPart,Mesh) 
650
for i=0,1,0.1 do
651
swait()
652
pPart.CFrame=pPart.CFrame*cf(0,0.5,0)
653
end
654
pPart.Parent=nil
655
end),prt2,msh2)
656
end
657
end
658
end
659
end
660
end),RightArm,prt9)
661
 
662
local hitbox=part(1,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
663
hitbox.Anchored=false
664
 
665
if (script.Parent.className ~= "HopperBin") then 
666
Tool = Instance.new("HopperBin") 
667
Tool.Parent = Backpack 
668
Tool.Name = "Shadow Shogai" 
669
script.Parent = Tool 
670
end 
671
Bin = script.Parent 
672
 
673
local Bg = it("BodyGyro") 
674
Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
675
Bg.P = 20e+003 
676
Bg.Parent = nil 
677
 
678
so = function(id,par,vol,pit) 
679
coroutine.resume(coroutine.create(function()
680
local sou = Instance.new("Sound",par or workspace)
681
sou.Volume=vol
682
sou.Pitch=pit or 1
683
sou.SoundId=id
684
swait() 
685
sou:play() 
686
swait(6) 
687
sou:Remove() 
688
end))
689
end
690
 
691
function hideanim() 
692
equipped=false
693
Torso.Neck.C0=necko
694
RootJoint.C0=RootCF
695
RW.C0=cf(1.5,0.5,0)*euler(0,0,0)
696
RW.C1=cf(0,0.5,0)*euler(0,0,0)
697
LW.C0=cf(-1.5,0.5,0)*euler(0,0,0)
698
LW.C1=cf(0,0.5,0)*euler(0,0,0)
699
RH.C0=RHC0
700
RH.C1=RHC1
701
LH.C0=LHC0
702
LH.C1=LHC1
703
end 
704
 
705
function equipanim() 
706
equipped=true
707
--[[Torso.Neck.C0=necko*euler(0,0,1)
708
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1)
709
RW.C0=cf(1.5,0.5,0)*euler(-0.2,0,0.5)
710
RW.C1=cf(0,0.5,0)*euler(0,0,0)
711
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
712
LW.C1=cf(0,0.5,0)*euler(0,0,0)
713
RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
714
RH.C1=RHC1
715
LH.C0=LHC0*cf(0,0.3,0)*euler(0.2,1,0)
716
LH.C1=LHC1
717
wld1.Part1=RightArm
718
wld1.C0=euler(-1.57,0,1.57)*cf(0,1,0)]]
719
Torso.Neck.C0=necko*euler(0,0,1.4)
720
Torso.Neck.C1=necko2
721
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4)
722
RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
723
RW.C1=cf(0,0.5,0)*euler(0,0,0)
724
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2)
725
LW.C1=cf(0,0.5,0)*euler(0,0,0)
726
RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
727
RH.C1=RHC1
728
LH.C0=LHC0*cf(0,0.3,0)*euler(0.2,1,0)
729
LH.C1=LHC1
730
--[[wld1.Part1=RightArm
731
wld1.C0=euler(-1.57,0,1.57)*cf(0,1,0)]]
732
end 
733
 
734
function attackone()
735
attack=true
736
for i=0,1,0.1 do
737
swait()
738
Torso.Neck.C0=necko*euler(0,0,1.4+0.17*i)
739
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4-0.17*i)
740
RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
741
RW.C1=cf(0,0.5,0)*euler(0,0,0)
742
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2-1.37*i)
743
LW.C1=cf(0,0.5,0)*euler(0,0,0)
744
end
745
NewCF=Torso.CFrame*cf(-2,0.5,0)*euler(1.57,0,-1.57)
746
local pprt=part(3,workspace,0,1,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
747
pprt.Anchored=true
748
pprt.CFrame=NewCF
749
game:GetService("Debris"):AddItem(pprt,2)
750
so("http://roblox.com/asset/?id=160772554",pprt,1,1) 
751
--so("http://roblox.com/asset/?id=138120853",pprt,1,1.3) 
752
MagicCircle2(BrickColor.new("Black"),NewCF*cf(0,-0.8,0),6,1,6,0.05,0,0.05,0.03)
753
SkullEffect(BrickColor.new("White"),NewCF*cf(0,-1.2,0)*euler(-1.57,0,0),5,5,5,0.03)
754
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,15,0,"Normal",RootPart,0.5) end) 
755
hitbox.Parent=modelzorz
756
hitbox.Size=vt(2,3,2)
757
hitbox.CFrame=NewCF
758
for i=0,1,0.2 do
759
swait()
760
hitbox.CFrame=NewCF*cf(0,-1,0)
761
end
762
con1:disconnect()
763
hitbox.Parent=nil
764
attack=false
765
end
766
 
767
function attacktwo()
768
attack=true
769
for i=0,1,0.1 do
770
swait()
771
Torso.Neck.C0=necko*euler(0.1*i,0,1.57-1.57*i)
772
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.57+1.57*i)
773
RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(-0.6+0.6*i,0,0.5+1.07*i)
774
RW.C1=cf(0,0.5,0)*euler(-2*i,0,0)
775
LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0,0,-1.57)
776
LW.C1=cf(0,0.5,0)*euler(-2*i,0,0)
777
RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5-0.5*i,-0.5)
778
RH.C1=RHC1
779
LH.C0=LHC0*cf(-0.5*i,0.3,0)*euler(0.2,1-1*i,0.5*i)
780
LH.C1=LHC1*euler(0.5*i,0,0)
781
end
782
NewCF=Torso.CFrame*cf(0,0.5,-2)*euler(1.57,0,0)
783
MagicBlock(BrickColor.new("Black"),NewCF,1,1,1,0.2,0.2,0.2,0.02)
784
MagicCircle(BrickColor.new("Black"),NewCF,0.5,3,0.5,0.1,1,0.1,0.03)
785
WaveEffect(BrickColor.new("Black"),NewCF*euler(3.14,0,0),0.2,0.5,0.2,0.1,0.3,0.1,0.03)
786
so("http://roblox.com/asset/?id=161006163",Torso,1,0.6) 
787
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,40,"Normal",RootPart,0.5) end) 
788
hitbox.Parent=modelzorz
789
hitbox.Size=vt(2,5,2)
790
hitbox.CFrame=NewCF
791
numb=2
792
for i=0,1,0.1 do
793
swait()
794
Torso.Neck.C0=necko*euler(0.1+0.1*i*numb,0,1.57-1.57)
795
RW.C0=cf(1,0.5,-0.5)*euler(0,0,1.57)
796
RW.C1=cf(0,0.5,0)*euler(-2-0.2*i*numb,0,0)
797
LW.C0=cf(-1,0.5,-0.5)*euler(0,0,-1.57)
798
LW.C1=cf(0,0.5,0)*euler(-2-0.2*i*numb,0,0)
799
numb=numb-0.1
800
hitbox.CFrame=NewCF*cf(0,-i*5,0)
801
end
802
con1:disconnect()
803
hitbox.Parent=nil
804
attack=false
805
end
806
 
807
function attackthree()
808
attack=true
809
for i=0,1,0.1 do
810
swait()
811
Torso.Neck.C0=necko*euler(0.2,0,0)
812
RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(0,0,0)
813
RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(0,0,1.57)
814
RW.C1=cf(0,0.5,0)*euler(-2.2+2.7*i,0,0)
815
LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(0,0,-1.57)
816
LW.C1=cf(0,0.5,0)*euler(-2.2+2.7*i,0,0)
817
RH.C0=RHC0*cf(0.5-0.5*i,0.2-0.2*i,0)*euler(0,0,-0.5+0.5*i)
818
RH.C1=RHC1
819
LH.C0=LHC0*cf(-0.5+0.5*i,0.3-0.3*i,0)*euler(0.2-0.2*i,0,0.5-0.5*i)
820
LH.C1=LHC1*euler(0.5-0.5*i,0,0)
821
end
822
numb=2
823
for i=0,1,0.2 do
824
swait()
825
Torso.Neck.C0=necko*euler(0.2,0,0)
826
RW.C0=cf(1.5,0.5,0)*euler(0,0,1.57)
827
RW.C1=cf(0,0.5,0)*euler(0.5+0.2*i*numb,0,0)
828
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-1.57)
829
LW.C1=cf(0,0.5,0)*euler(0.5+0.2*i*numb,0,0)
830
numb=numb-0.2
831
end
832
bodvel=it("BodyVelocity")
833
bodvel.Parent=RootPart
834
bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
835
bodvel.velocity=RootPart.CFrame.lookVector*30
836
local Point=LeftArm.CFrame*cf(0,-LeftArm.Size.Y,0)
837
LastPoint=Point
838
local Point2=RightArm.CFrame*cf(0,-RightArm.Size.Y,0)
839
LastPoint2=Point2
840
so("http://www.roblox.com/asset/?id=28144425",Torso,1,0.5) 
841
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,40,"Knockdown",RootPart,1) end) 
842
hitbox.Parent=modelzorz
843
hitbox.Size=vt(7,5,5)
844
hitbox.CFrame=Torso.CFrame
845
for i=0,1,0.05 do
846
swait()
847
Torso.Neck.C0=necko*euler(0.2,0,0)
848
RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(0,0,1.57)
849
RW.C1=cf(0,0.5,0)*euler(0.7-2.7*i,0,0)
850
LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0,0,-1.57)
851
LW.C1=cf(0,0.5,0)*euler(0.7-2.7*i,0,0)
852
local Point=LeftArm.CFrame*cf(0,-LeftArm.Size.Y,0)
853
effect("Black",0,LastPoint,Point)
854
LastPoint=Point
855
local Point2=RightArm.CFrame*cf(0,-RightArm.Size.Y,0)
856
effect("Black",0,LastPoint2,Point2)
857
LastPoint2=Point2
858
MagicBlock2(BrickColor.new("Black"),cf(0,2,0),LeftArm,1,1,1,0.5,0.5,0.5,0.1)
859
MagicBlock2(BrickColor.new("Black"),cf(0,2,0),RightArm,1,1,1,0.5,0.5,0.5,0.1)
860
hitbox.CFrame=Torso.CFrame
861
end
862
numb=2
863
for i=0,1,0.1 do
864
swait()
865
RW.C0=cf(1,0.5,-0.5)*euler(0,0,1.57)
866
RW.C1=cf(0,0.5,0)*euler(-2-0.2*i*numb,0,0)
867
LW.C0=cf(-1,0.5,-0.5)*euler(0,0,-1.57)
868
LW.C1=cf(0,0.5,0)*euler(-2-0.2*i*numb,0,0)
869
numb=numb-0.1
870
local Point=LeftArm.CFrame*cf(0,-LeftArm.Size.Y,0)
871
effect("Black",0,LastPoint,Point)
872
LastPoint=Point
873
local Point2=RightArm.CFrame*cf(0,-RightArm.Size.Y,0)
874
effect("Black",0,LastPoint2,Point2)
875
LastPoint2=Point2
876
hitbox.CFrame=Torso.CFrame
877
end
878
con1:disconnect()
879
hitbox.Parent=nil
880
bodvel.Parent=nil
881
attack=false
882
end
883
 
884
function heavyattackone()
885
attack=true
886
Humanoid.WalkSpeed=0
887
for i=0,1,0.1 do
888
swait()
889
Torso.Neck.C0=necko*euler(0,0,1.4-2.97*i)
890
RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(0,0,-1.4+2.97*i)
891
RW.C0=cf(1.5,0.5,0)*euler(-0.6+0.5*i,0,0.5+1.5*i)
892
RW.C1=cf(0,0.5,0)*euler(0,0,0)
893
LW.C0=cf(-1.5,0.5,0)*euler(-0.3*i,0,-0.2-0.2*i)
894
LW.C1=cf(0,0.5,0)*euler(0,0,0)
895
RH.C0=RHC0*cf(0.5-0.5*i,0.2-0.2*i,0)*euler(0,0.5-0.5*i,-0.5+0.5*i)
896
RH.C1=RHC1
897
LH.C0=LHC0*cf(0,0.3-0.3*i,0)*euler(0.2-0.2*i,1-1*i,0)
898
LH.C1=LHC1
899
end
900
NewCF=Torso.CFrame*cf(7,3,0)*euler(0,0,0)
901
local pprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
902
pprt.Anchored=true
903
pprt.CFrame=NewCF
904
game:GetService("Debris"):AddItem(pprt,2)
905
MagicCircle(BrickColor.new("Really black"),NewCF,20,20,20,-0.01,-0.01,-0.01,0.01)
906
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,15,-20,"Knockdown",hitbox,0.5) end) 
907
hitbox.Parent=modelzorz
908
hitbox.Size=vt(10,10,10)
909
hitbox.CFrame=NewCF
910
so("http://roblox.com/asset/?id=169380469",pprt,1,0.6) 
911
so("http://roblox.com/asset/?id=161006069",pprt,1,0.7) 
912
for i=0,80 do
913
swait()
914
MagicBlock(BrickColor.new("Black"),NewCF,7,7,7,-0.5,-0.5,-0.5,0.05)
915
MagicCircle(BrickColor.new("Black"),NewCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
916
hitbox.CFrame=NewCF
917
end
918
con1:disconnect()
919
hitbox.Parent=nil
920
Humanoid.WalkSpeed=16
921
attack=false
922
end
923
 
924
function heavyattacktwo()
925
attack=true
926
Humanoid.WalkSpeed=0
927
for i=0,1,0.1 do
928
swait()
929
Torso.Neck.C0=necko*euler(0,0,-1.57+1.57*i)
930
RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,1.57-1.57*i)
931
RW.C0=cf(1.5,0.5,0)*euler(-0.1+0.1*i,0,2-0.43*i)
932
RW.C1=cf(0,0.5,0)*euler(0,0,0)
933
LW.C0=cf(-1.5,0.5,0)*euler(-0.3+0.3*i,0,-0.4-1.17*i)
934
LW.C1=cf(0,0.5,0)*euler(0,0,0)
935
RH.C0=RHC0*cf(0,0,0)*euler(0,0,0)
936
RH.C1=RHC1
937
LH.C0=LHC0*cf(0,0,0)*euler(0,0,0)
938
LH.C1=LHC1
939
end
940
for i=0,1,0.1 do
941
swait()
942
Torso.Neck.C0=necko*euler(-0.2*i,0,0)
943
RootJoint.C0=RootCF*cf(0,0,-1.7*i)*euler(1*i,0,0)
944
RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(0,0,1.57)
945
RW.C1=cf(0,0.5,0)*euler(-2*i,0,0)
946
LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0,0,-1.57)
947
LW.C1=cf(0,0.5,0)*euler(-2*i,0,0)
948
RH.C0=RHC0*cf(0,0.5*i,0.1*i)*euler(0,0,-0.2*i)
949
RH.C1=RHC1
950
LH.C0=LHC0*cf(-0.5*i,1.6*i,0.1*i)*euler(0,0,-0.2*i)
951
LH.C1=LHC1
952
end
953
NewCF=RootPart.CFrame*cf(0,0,-7)*euler(0,0,0)
954
local pprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
955
pprt.Anchored=true
956
pprt.CFrame=NewCF
957
game:GetService("Debris"):AddItem(pprt,2)
958
MagicCircle(BrickColor.new("Black"),NewCF*cf(0,-2,0),1,8,1,0.5,1,0.5,0.01)
959
MagicCircle(BrickColor.new("Medium stone grey"),NewCF*cf(0,-2,0),1,8,1,0.25,0.5,0.25,0.01)
960
MagicWaveThing(BrickColor.new("Black"),NewCF*cf(0,0,0),1,8,1,0.5,1,0.5,0.02)
961
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,15,25,1,"Knockdown",hitbox,1) end) 
962
hitbox.Parent=modelzorz
963
hitbox.Size=vt(7,15,7)
964
hitbox.CFrame=NewCF
965
so("http://roblox.com/asset/?id=161006182",pprt,1,0.4) 
966
so("http://roblox.com/asset/?id=169445602",pprt,1,0.6) 
967
for i=0,40 do
968
swait()
969
hitbox.CFrame=NewCF
970
end
971
con1:disconnect()
972
hitbox.Parent=nil
973
Humanoid.WalkSpeed=16
974
attack=false
975
end
976
 
977
function ShadowBlades()
978
attack=true
979
local sord1=part(3,modelzorz,0,1,BrickColor.new("Black"),"Sword",vt(1,1,1))
980
sord1.CFrame=LeftArm.CFrame
981
local sordmsh1=mesh("SpecialMesh",sord1,"FileMesh","rbxasset://fonts/sword.mesh",vt(0,0,0),vt(1.5,1.5,1.5))
982
local sordwld1=weld(sord1,sord1,LeftArm,euler(3.14,0,1.57)*cf(0,1,2))
983
game:GetService("Debris"):AddItem(sord1,10)
984
so("rbxasset://sounds\\unsheath.wav",sord1,0.5,0.6) 
985
local sord2=part(3,modelzorz,0,1,BrickColor.new("Black"),"Sword",vt(1,1,1))
986
sord2.CFrame=RightArm.CFrame
987
local sordmsh2=mesh("SpecialMesh",sord2,"FileMesh","rbxasset://fonts/sword.mesh",vt(0,0,0),vt(1.5,1.5,1.5))
988
local sordwld2=weld(sord2,sord2,RightArm,euler(0,0,1.57)*cf(0,1,-2))
989
game:GetService("Debris"):AddItem(sord2,10)
990
so("rbxasset://sounds\\unsheath.wav",sord2,0.5,0.6) 
991
coroutine.resume(coroutine.create(function(Part1,Part2)
992
for i=1,0.4,-0.01 do
993
swait()
994
Part1.Transparency=i
995
Part2.Transparency=i
996
end
997
end),sord1,sord2)
998
numb=2
999
for i=0,1,0.1 do
1000
swait()
1001
Torso.Neck.C0=necko*euler(0,0,1.4+0.1*i*numb)
1002
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4-0.1*i*numb)
1003
RW.C0=cf(1.5,0.5,0)*euler(-0.6-0.2*i*numb,0,0.5)
1004
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1005
LW.C0=cf(-1.5,0.5,0)*euler(0.4*i*numb,0,-0.2)
1006
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1007
RH.C0=RHC0*cf(0.5,0.2,0)*euler(0,0.5,-0.5)
1008
RH.C1=RHC1
1009
LH.C0=LHC0*cf(0,0.3,0)*euler(0.2,1,0)
1010
LH.C1=LHC1
1011
numb=numb-0.1
1012
end
1013
swait(10)
1014
coroutine.resume(coroutine.create(function()
1015
local numb2=2
1016
for i=0,1,0.1 do
1017
swait()
1018
RW.C0=cf(1.5,0.5,0)*euler(-0.8+0.8*i*numb2,0,0.5+1.07*i*numb2)
1019
RW.C1=cf(0,0.5,0)*euler(0.5*i*numb2,0.2*i*numb2,0)
1020
LW.C0=cf(-1.5,0.5,0)*euler(0.4-0.4*i*numb2,0,-0.2-1.37*i*numb2)
1021
LW.C1=cf(0,0.5,0)*euler(-0.5*i*numb2,-0.2*i*numb2,0)
1022
numb2=numb2-0.1
1023
end
1024
end))
1025
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,1,"Normal",hitbox,.1) end) 
1026
hitbox.Parent=modelzorz
1027
hitbox.Size=vt(8,3,8)
1028
hitbox.Size=vt(1,1,5)
1029
hitbox.CFrame=sord1.CFrame
1030
hitbox.CFrame=sord2.CFrame
1031
--hitbox.Transparency=0
1032
for i=1,3 do
1033
so("http://www.roblox.com/asset/?id=28144425",Torso,1,1) 
1034
local Point=sord1.CFrame*cf(0,0,3)
1035
LastPoint=Point
1036
local Point2=sord2.CFrame*cf(0,0,3)
1037
LastPoint2=Point2
1038
for i=0,1,0.1 do
1039
hitbox.CFrame=sord1.CFrame
1040
swait()
1041
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+3.14*i)
1042
local Point=sord1.CFrame*cf(0,0,3)
1043
effect("Black",0,LastPoint,Point)
1044
LastPoint=Point
1045
local Point2=sord2.CFrame*cf(0,0,3)
1046
effect("Black",0,LastPoint2,Point2)
1047
LastPoint2=Point2
1048
hitbox.CFrame=sord2.CFrame
1049
end
1050
so("http://www.roblox.com/asset/?id=28144425",Torso,1,1) 
1051
for i=0,1,0.1 do
1052
hitbox.CFrame=sord1.CFrame
1053
swait()
1054
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+3.14+3.14*i)
1055
local Point=sord1.CFrame*cf(0,0,3)
1056
effect("Black",0,LastPoint,Point)
1057
LastPoint=Point
1058
local Point2=sord2.CFrame*cf(0,0,3)
1059
effect("Black",0,LastPoint2,Point2)
1060
LastPoint2=Point2
1061
hitbox.CFrame=sord2.CFrame
1062
end
1063
end
1064
so("http://www.roblox.com/asset/?id=28144425",Torso,1,1) 
1065
for i=0,1,0.1 do
1066
hitbox.CFrame=sord1.CFrame
1067
swait()
1068
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+3.5*i)
1069
Torso.Neck.C0=necko*euler(0,0,1.5-3*i)
1070
local Point=sord1.CFrame*cf(0,0,3)
1071
effect("Black",0,LastPoint,Point)
1072
LastPoint=Point
1073
local Point2=sord2.CFrame*cf(0,0,3)
1074
effect("Black",0,LastPoint2,Point2)
1075
LastPoint2=Point2
1076
hitbox.CFrame=sord2.CFrame
1077
end
1078
con1:disconnect()
1079
hitbox.Parent=nil
1080
numb=2
1081
for i=0,1,0.1 do
1082
swait()
1083
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.5+3.5+0.2*i*numb)
1084
numb=numb-0.1
1085
end
1086
for i=1,math.random(4,8) do
1087
BreakEffect(BrickColor.new("Black"),sord1.CFrame,0.2,math.random(2,6),0.2)
1088
end
1089
for i=1,math.random(4,8) do
1090
BreakEffect(BrickColor.new("Black"),sord2.CFrame,0.2,math.random(2,6),0.2)
1091
end
1092
sord1.Parent=nil
1093
sord2.Parent=nil
1094
for i=0,1,0.1 do
1095
swait()
1096
Torso.Neck.C0=necko*euler(0,0,-1.5+2.7*i)
1097
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,2.2-3.4*i)
1098
RW.C0=cf(1.5,0.5,0)*euler(-0.5*i,0,1.57-0.97*i)
1099
RW.C1=cf(0,0.5,0)*euler(0.5-0.5*i,0.2-0.2*i,0)
1100
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-1.57+1.17*i)
1101
LW.C1=cf(0,0.5,0)*euler(-0.5+0.5*i,-0.2+0.2*i,0)
1102
end
1103
numb=2
1104
for i=0,1,0.1 do
1105
swait()
1106
Torso.Neck.C0=necko*euler(0,0,-1.5+2.7+0.2*i*numb)
1107
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,2.2-3.4-0.2*i*numb)
1108
RW.C0=cf(1.5,0.5,0)*euler(-0.5-0.1*i*numb,0,1.57-0.97-0.1*i*numb)
1109
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-1.57+1.17+0.2*i*numb)
1110
numb=numb-0.1
1111
end
1112
attack=false
1113
end
1114
 
1115
function Abscond()
1116
attack=true
1117
Clone()
1118
Cloak()
1119
so("http://roblox.com/asset/?id=157487812",ef,1,0.5) 
1120
NewCF=RootPart.CFrame
1121
bodvel=it("BodyVelocity")
1122
bodvel.Parent=RootPart
1123
bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
1124
bodvel.velocity=RootPart.CFrame.lookVector*-60
1125
WaveEffect(BrickColor.new("Black"),NewCF,3,5,3,0.2,-0.02,0.2,0.01)
1126
for i=0,1,0.05 do
1127
swait()
1128
MagicBlock(BrickColor.new("Black"),NewCF,1,1,1,0.2,0.2,0.2,0.02)
1129
end
1130
MagicBlock(BrickColor.new("Black"),NewCF,4,4,4,0.2,0.2,0.2,0.01)
1131
MagicWaveThing(BrickColor.new("Black"),NewCF,4,4,4,0.2,0.2,0.2,0.01)
1132
local ef=part(3,workspace,0,0.5,BrickColor.new("Black"),"Effect",vt(1,1,1))
1133
ef.CFrame=NewCF
1134
ef.Anchored=true
1135
game:GetService("Debris"):AddItem(ef,2)
1136
so("http://roblox.com/asset/?id=169380495",ef,1,0.5) 
1137
coroutine.resume(coroutine.create(function()
1138
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,40,50,"Normal",hitbox,1) end) 
1139
hitbox.Parent=workspace
1140
hitbox.Size=vt(8,8,8)
1141
hitbox.CFrame=ef.CFrame
1142
for i=0,5 do
1143
swait()
1144
hitbox.Size=hitbox.Size+vt(1,1,1)
1145
hitbox.CFrame=ef.CFrame
1146
end
1147
for i=1,30 do
1148
swait()
1149
hitbox.CFrame=ef.CFrame
1150
end
1151
con1:disconnect()
1152
hitbox.Parent=nil
1153
end))
1154
--hitbox.Transparency=0
1155
for i=0,20 do
1156
swait(0.1)
1157
randnum=math.random(2,3)+math.random()
1158
tehr=math.random(50,100)/10000
1159
StravEffect(BrickColor.new("Black"),NewCF*euler(0,math.random(-50,50),0),-math.random(1,10),0,0,randnum,randnum,randnum,tehr)
1160
end
1161
bodvel.Parent=nil
1162
attack=false
1163
coroutine.resume(coroutine.create(function()
1164
for i=1,200 do
1165
if attack==false then
1166
swait()
1167
end
1168
end
1169
UnCloak()
1170
end))
1171
end
1172
 
1173
function Shade()
1174
attack=true
1175
Humanoid.WalkSpeed=0
1176
for i=0,1,0.1 do
1177
swait()
1178
Torso.Neck.C0=necko*euler(0,0,1.4+0.17*i)
1179
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.4-0.17*i)
1180
RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
1181
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1182
LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(1.57*i,0,-0.2+1.2*i)
1183
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1184
end
1185
NewCF=Torso.CFrame*cf(-3,0.5,0)*euler(1.57,0,-1.57)
1186
local ef=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
1187
ef.CFrame=NewCF
1188
ef.Anchored=true
1189
local efmshh=mesh("CylinderMesh",ef,"","",vt(0,0,0),vt(4,0.5,4))
1190
game:GetService("Debris"):AddItem(ef,5)
1191
so("http://roblox.com/asset/?id=160745944",ef,1,0.6) 
1192
coroutine.resume(coroutine.create(function(Part)
1193
for i=1,0,-0.05 do
1194
swait()
1195
Part.Transparency=i
1196
end
1197
Part.Transparency=0
1198
while Part.Parent~=nil do
1199
swait(10)
1200
for i=1,10 do
1201
swait()
1202
end
1203
randnum=math.random()
1204
tehr=math.random(100,200)/10000
1205
StravEffect(BrickColor.new("Black"),Part.CFrame*euler(0,math.random(-50,50),0),-math.random(0,3)/2,0,0,randnum,randnum,randnum,tehr)
1206
end
1207
end),ef)
1208
for i=0,1,0.1 do
1209
swait()
1210
RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
1211
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1212
LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(1.57,0,1-2.57*i)
1213
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1214
end
1215
for i=1,10 do
1216
local refprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
1217
refprt.CFrame=NewCF*cf(math.random(-150,150)/100,0,math.random(-150,150)/100)
1218
refprt.Anchored=true
1219
game:GetService("Debris"):AddItem(refprt,1)
1220
hit,pos = rayCast(refprt.Position, Head.CFrame.lookVector,999,Character)
1221
if hit ~= nil then
1222
Damagefunc(hit,5,10,0,"Normal",RootPart,0)
1223
end
1224
local efprt=part(3,workspace,0,0.5,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
1225
efprt.Anchored=true
1226
game:GetService("Debris"):AddItem(efprt,3)
1227
local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
1228
efprt.CFrame=CFrame.new((refprt.Position+pos)/2,pos)*angles(1.57,0,0) 
1229
local mag=(refprt.Position-pos).magnitude 
1230
efmsh.Scale=vt(0.5,mag*5,0.5)
1231
--MagicCircle(BrickColor.new("Black"),cf(pos),0,0,0,1,1,1,0.05)
1232
coroutine.resume(coroutine.create(function(Part,Mesh)
1233
for i=0,1,0.01 do
1234
swait()
1235
Mesh.Scale=Mesh.Scale+vt(0.5,0,0.5)
1236
Part.Transparency=Part.Transparency+0.05
1237
end
1238
Part.Parent=nil
1239
end),efprt,efmsh)
1240
local skul=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
1241
skul.Anchored=true
1242
skul.CFrame=efprt.CFrame*cf(0,-mag/1.5,0)*euler(-1.57,0,0)
1243
local smsh=mesh("SpecialMesh",skul,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(2,2,2))
1244
game:GetService("Debris"):AddItem(skul,3)
1245
so("http://roblox.com/asset/?id=160772554",skul,0.5,1.2) 
1246
coroutine.resume(coroutine.create(function(Part,Mesh)
1247
for i=0,1,0.05 do
1248
swait()
1249
Mesh.Scale=Mesh.Scale+vt(0.5,0.5,0.5)
1250
Part.Transparency=i
1251
end
1252
Part.Parent=nil
1253
end),skul,smsh)
1254
wait(.1)
1255
end
1256
coroutine.resume(coroutine.create(function(Part)
1257
for i=0,1,0.1 do
1258
swait()
1259
Part.Transparency=i
1260
end
1261
Part.Parent=nil
1262
end),ef)
1263
for i=0,1,0.1 do
1264
swait()
1265
Torso.Neck.C0=necko*euler(0,0,1.57-0.17*i)
1266
RootJoint.C0=RootCF*cf(0,0,-0.5)*euler(0,0,-1.57+0.17*i)
1267
RW.C0=cf(1.5,0.5,0)*euler(-0.6,0,0.5)
1268
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1269
LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i,0,-1.57+1.37*i)
1270
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1271
end
1272
Humanoid.WalkSpeed=16
1273
attack=false
1274
end
1275
 
1276
function Umbra()
1277
attack=true
1278
local umbraef=true
1279
Humanoid.WalkSpeed=0.1
1280
so("http://roblox.com/asset/?id=160867437",RootPart,1,1.5) 
1281
for _,v in pairs(Torso.Parent:children()) do
1282
if v.className=="Part" and v.Name~="HumanoidRootPart" then
1283
n=v:clone()
1284
n:BreakJoints()
1285
n.CanCollide=false
1286
n.Name="Effect"
1287
n.BrickColor=BrickColor.new("Really black")
1288
n.Parent=workspace
1289
if v.Name=="Head" then
1290
if n:findFirstChild("face")~=nil then
1291
n:findFirstChild("face").Parent=nil
1292
end
1293
local msh=mesh("SpecialMesh",n,"Head","",vt(0,0,0),vt(1.25,1.25,1.25))
1294
else
1295
local msh=mesh("BlockMesh",n,"","",vt(0,0,0),vt(1,1,1))
1296
end
1297
local wld=weld(n,n,v,euler(0,0,0)*cf(0,0,0))
1298
game:GetService("Debris"):AddItem(n,60)
1299
coroutine.resume(coroutine.create(function(Part)
1300
for i=1,0,-0.05 do
1301
swait()
1302
Part.Transparency=i
1303
end
1304
Part.Transparency=0.5
1305
while umbraef==true do
1306
swait()
1307
end
1308
for i=0,1,0.1 do
1309
swait()
1310
Part.Transparency=i
1311
end
1312
Part.Parent=nil
1313
end),n)
1314
end
1315
end
1316
coroutine.resume(coroutine.create(function()
1317
while umbraef==true do
1318
randnum=math.random(2,3)+math.random()
1319
tehr=math.random(200,300)/10000
1320
StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(1,10),0,0,randnum,randnum,randnum,tehr)
1321
swait(1)
1322
end
1323
end))
1324
Cloak()
1325
bodpos=Instance.new("BodyPosition")
1326
bodpos.P=4000
1327
bodpos.maxForce=Vector3.new(5000000,50000000,5000000)*5000
1328
bodpos.position=RootPart.Position+Vector3.new(0,1,0)
1329
bodpos.Parent=RootPart
1330
for i=0,1,0.05 do
1331
swait()
1332
Torso.Neck.C0=necko*euler(0.2*i,0,1.4-1.4*i)
1333
RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(0,0,-1.4+1.4*i)
1334
RW.C0=cf(1.5,0.5,0)*euler(-0.6+0.6*i,0,0.5+0.1*i)
1335
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1336
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.2-0.4*i)
1337
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1338
RH.C0=RHC0*cf(0.5-0.5*i,0.2,0)*euler(-0.5*i,0.5-0.5*i,-0.5+0.5*i)
1339
RH.C1=RHC1
1340
LH.C0=LHC0*cf(0,0.3-0.1*i,0)*euler(0.2-0.7*i,1-1*i,0)
1341
LH.C1=LHC1
1342
MagicBlock(BrickColor.new("Black"),LeftArm.CFrame*cf(0,-2,0),1,1,1,0.5,0.5,0.5,0.2)
1343
MagicBlock(BrickColor.new("Black"),RightArm.CFrame*cf(0,-2,0),1,1,1,0.5,0.5,0.5,0.2)
1344
bodpos.position=RootPart.Position+Vector3.new(0,1+1*i,0)
1345
end
1346
for i=0,1,0.05 do
1347
swait()
1348
MagicBlock(BrickColor.new("Black"),LeftArm.CFrame*cf(0,-2,0),1,1,1,0.5,0.5,0.5,0.2)
1349
MagicBlock(BrickColor.new("Black"),RightArm.CFrame*cf(0,-2,0),1,1,1,0.5,0.5,0.5,0.2)
1350
end
1351
RootJoint.C0=RootCF*euler(0.5,0,0)
1352
bodpos.Parent=nil
1353
bodvel=it("BodyVelocity")
1354
bodvel.Parent=RootPart
1355
bodvel.maxForce=vt(4e+005,4e+005,4e+005)*1
1356
bodvel.velocity=RootPart.CFrame.lookVector*60
1357
con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,40,30,"Knockdown",RootPart,1) end) 
1358
hitbox.Parent=modelzorz
1359
hitbox.Size=vt(7,5,7)
1360
hitbox.CFrame=RootPart.CFrame
1361
for i=1,300 do
1362
swait()
1363
hitbox.CFrame=RootPart.CFrame
1364
if i%10==0 then
1365
so("http://roblox.com/asset/?id=160867463",RootPart,0.5,1.5) 
1366
WaveEffect(BrickColor.new("Black"),RootPart.CFrame*euler(1.57,0,0),1,1,1,2,2,2,0.2)
1367
end
1368
bodvel.velocity=RootPart.CFrame.lookVector*60
1369
MagicBlock(BrickColor.new("Black"),LeftArm.CFrame*cf(0,-1,0)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,1,1,1,0.4)
1370
MagicBlock(BrickColor.new("Black"),RightArm.CFrame*cf(0,-1,0)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,1,1,1,1,0.4)
1371
end
1372
bodvel.Parent=nil
1373
UnCloak()
1374
umbraef=false
1375
con1:disconnect()
1376
hitbox.Parent=nil
1377
for i=0,1,0.05 do
1378
swait()
1379
Torso.Neck.C0=necko*euler(0.2-0.2*i,0,1.4*i)
1380
RootJoint.C0=RootCF*cf(0,0,-0.5*i)*euler(0,0,-1.4*i)
1381
RW.C0=cf(1.5,0.5,0)*euler(-0.6*i,0,0.6-0.1*i)
1382
RW.C1=cf(0,0.5,0)*euler(0,0,0)
1383
LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.6+0.4*i)
1384
LW.C1=cf(0,0.5,0)*euler(0,0,0)
1385
RH.C0=RHC0*cf(0.5*i,0.2,0)*euler(-0.5+0.5*i,0.5*i,-0.5*i)
1386
RH.C1=RHC1
1387
LH.C0=LHC0*cf(0,0.2+0.1*i,0)*euler(0.2,1*i,0)
1388
LH.C1=LHC1
1389
end
1390
Humanoid.WalkSpeed=16
1391
attack=false
1392
end
1393
 
1394
function Clone() 
1395
so("http://roblox.com/asset/?id=2767090",Torso,1,1) 
1396
        for _,v in pairs(Torso.Parent:children()) do
1397
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
1398
                        n=v:clone()
1399
                        n:BreakJoints()
1400
                        n.archivable=true
1401
                        n.Anchored=true
1402
                        n.CanCollide=false
1403
                        n.Name="TRAILER"
1404
                        n.BrickColor=BrickColor.new("Really black")
1405
                        n.Parent=workspace
1406
                        n.CFrame=v.CFrame
1407
                        coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
1408
                elseif v.className=="Hat" then
1409
                        n=v.Handle:clone()
1410
                        n:BreakJoints()
1411
                        n.archivable=true
1412
                        n.Anchored=true
1413
                        n.CanCollide=false
1414
                        n.Name="TRAILER"
1415
                        n.BrickColor=BrickColor.new("Really black")
1416
                        n.Parent=workspace
1417
                        n.CFrame=v.Handle.CFrame
1418
                        coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
1419
                end
1420
        end
1421
        for _,v in pairs(modelzorz:children()) do
1422
                if v.className=="Part" then
1423
                        n=v:clone()
1424
                        n:BreakJoints()
1425
                        n.archivable=true
1426
                        n.Anchored=true
1427
                        n.CanCollide=false
1428
                        n.Name="TRAILER"
1429
                        n.BrickColor=BrickColor.new("Really black")
1430
                        n.Parent=workspace
1431
                        n.CFrame=v.CFrame
1432
                        coroutine.resume(coroutine.create(function(ne) for i=1, 80 do ne:BreakJoints() ne.Transparency=i/80 wait() end ne.Parent=nil end),n)
1433
                end
1434
        end
1435
end 
1436
 
1437
function Cloak()
1438
Face.Parent=nil
1439
cloaked=true
1440
        for _,v in pairs(Torso.Parent:children()) do
1441
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
1442
                coroutine.resume(coroutine.create(function() 
1443
                for i=0,1,0.2 do
1444
                wait()
1445
                v.Transparency=i
1446
                end
1447
                v.Transparency=1
1448
                end))
1449
                end
1450
                if v.className=="Hat" then
1451
                hatp=v.Handle
1452
                coroutine.resume(coroutine.create(function(derp) 
1453
                for i=0,1,0.2 do
1454
                wait()
1455
                derp.Transparency=i
1456
                end
1457
                derp.Transparency=1
1458
                end),hatp)
1459
                end
1460
        end
1461
        for _,v in pairs(modelzorz:children()) do
1462
                if v.className=="Part" then
1463
                coroutine.resume(coroutine.create(function() 
1464
                for i=0,1,0.2 do
1465
                wait()
1466
                v.Transparency=i
1467
                end
1468
                v.Transparency=1
1469
                end))
1470
                end
1471
        end
1472
end
1473
 
1474
function UnCloak()
1475
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
1476
Face.Parent=Head 
1477
cloaked=false
1478
        for _,v in pairs(Torso.Parent:children()) do
1479
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
1480
                coroutine.resume(coroutine.create(function() 
1481
                for i=0,1,0.1 do
1482
                wait()
1483
                v.Transparency=v.Transparency-0.1
1484
                end
1485
                v.Transparency=0
1486
                end))
1487
                end
1488
                if v.className=="Hat" then
1489
                hatp=v.Handle
1490
                coroutine.resume(coroutine.create(function(derp) 
1491
                for i=0,1,0.1 do
1492
                wait()
1493
                derp.Transparency=derp.Transparency-0.1
1494
                end
1495
                derp.Transparency=0
1496
                end),hatp)
1497
                end
1498
        end
1499
        for _,v in pairs(modelzorz:children()) do
1500
                if v.className=="Part" and v.Name~="Hitbox" then
1501
                coroutine.resume(coroutine.create(function() 
1502
                for i=0,1,0.1 do
1503
                wait()
1504
                v.Transparency=v.Transparency-0.1
1505
                end
1506
                v.Transparency=0
1507
                end))
1508
                v.Transparency=0
1509
                end
1510
        end
1511
end
1512
 
1513
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1514
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1515
end 
1516
 
1517
local Point=prt5.CFrame*CFrame.new(0,prt5.Size.Y/7,0)
1518
LastPoint=Point
1519
function effect(Color,Ref,LP,P1,returnn)
1520
local effectsmsh = Instance.new("BlockMesh")
1521
effectsmsh.Scale = Vector3.new(0.2,1,0.2)
1522
effectsmsh.Name = "Mesh"
1523
local effectsg = Instance.new("Part")
1524
effectsg.formFactor = 3
1525
effectsg.CanCollide = false
1526
effectsg.Name = "Eff"
1527
effectsg.Locked = true
1528
effectsg.Anchored = true
1529
effectsg.Size = Vector3.new(0.5,1,0.5)
1530
effectsg.Parent = workspace
1531
effectsmsh.Parent = effectsg
1532
effectsg.BrickColor = BrickColor.new(Color)
1533
effectsg.Reflectance = Ref
1534
local point1 = P1
1535
local mg = (LP.p - point1.p).magnitude
1536
effectsg.Size = Vector3.new(0.5,mg,0.5)
1537
effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
1538
effectsmsh.Scale = Vector3.new(0.2,1,0.2)
1539
game:GetService("Debris"):AddItem(effectsg,2)
1540
game:GetService("Debris"):AddItem(effectsmsh,2)
1541
if returnn then return effectsg end
1542
coroutine.resume(coroutine.create(function(Part,Mesh)
1543
if not returnn then
1544
for i = 0 , 1 , 0.1 do
1545
wait()
1546
Part.Transparency = 1*i
1547
Mesh.Scale = Vector3.new(1.5-1.5*i,1,1.5-1.5*i)
1548
end
1549
wait()
1550
Part.Parent = nil
1551
end
1552
end),effectsg,effectsmsh)
1553
end
1554
 
1555
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
1556
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1557
prt.Anchored=true
1558
prt.CFrame=cframe
1559
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
1560
--http://www.roblox.com/asset/?id=4770560
1561
game:GetService("Debris"):AddItem(prt,2)
1562
CF=prt.CFrame
1563
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
1564
for i=0,1,0.2 do
1565
wait()
1566
Part.CFrame=CF*cf(0,0,-0.4)
1567
end
1568
for i=0,1,delay do
1569
wait()
1570
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
1571
Mesh.Scale=Mesh.Scale
1572
end
1573
for i=0,1,0.1 do
1574
wait()
1575
Part.Transparency=i
1576
end
1577
Part.Parent=nil
1578
end),prt,msh,CF)
1579
end
1580
 
1581
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1582
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1583
prt.Anchored=true
1584
prt.CFrame=cframe
1585
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1586
game:GetService("Debris"):AddItem(prt,5)
1587
coroutine.resume(coroutine.create(function(Part,Mesh) 
1588
for i=0,1,delay do
1589
wait()
1590
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1591
Part.Transparency=i
1592
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1593
end
1594
Part.Parent=nil
1595
end),prt,msh)
1596
end
1597
 
1598
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
1599
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1600
prt.Anchored=false
1601
prt.CFrame=cframe
1602
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1603
local wld=weld(prt,prt,Parent,cframe)
1604
game:GetService("Debris"):AddItem(prt,5)
1605
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
1606
for i=0,1,delay do
1607
wait()
1608
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
1609
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1610
Part.Transparency=i
1611
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1612
end
1613
Part.Parent=nil
1614
end),prt,msh,wld)
1615
end
1616
 
1617
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
1618
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1619
prt.Anchored=false
1620
prt.CFrame=cframe
1621
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1622
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
1623
game:GetService("Debris"):AddItem(prt,5)
1624
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
1625
for i=0,1,delay do
1626
wait()
1627
Weld.C0=euler(i*20,0,0)
1628
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1629
Part.Transparency=i
1630
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1631
end
1632
Part.Parent=nil
1633
end),prt,msh,wld)
1634
end
1635
 
1636
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1637
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1638
prt.Anchored=true
1639
prt.CFrame=cframe
1640
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1641
game:GetService("Debris"):AddItem(prt,2)
1642
coroutine.resume(coroutine.create(function(Part,Mesh) 
1643
for i=0,1,delay do
1644
wait()
1645
Part.CFrame=Part.CFrame
1646
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1647
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1648
prt2.Anchored=true
1649
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1650
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
1651
game:GetService("Debris"):AddItem(prt2,2)
1652
coroutine.resume(coroutine.create(function(Part,Mesh) 
1653
for i=0,1,0.1 do
1654
wait()
1655
Part.CFrame=Part.CFrame*cf(0,0.5,0)
1656
end
1657
Part.Parent=nil
1658
end),prt2,msh2)
1659
end
1660
for i=0,1,delay*2 do
1661
wait()
1662
Part.CFrame=Part.CFrame
1663
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
1664
end
1665
Part.Parent=nil
1666
end),prt,msh)
1667
end
1668
 
1669
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1670
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1671
prt.Anchored=true
1672
prt.CFrame=cframe
1673
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
1674
game:GetService("Debris"):AddItem(prt,2)
1675
coroutine.resume(coroutine.create(function(Part,Mesh) 
1676
for i=0,1,delay do
1677
wait()
1678
Part.CFrame=Part.CFrame
1679
Part.Transparency=i
1680
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1681
end
1682
Part.Parent=nil
1683
end),prt,msh)
1684
end
1685
 
1686
function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
1687
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1688
prt.Anchored=true
1689
prt.CFrame=cframe*euler(x2,y2,z2)
1690
--"http://www.roblox.com/asset/?id=168892465"
1691
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
1692
game:GetService("Debris"):AddItem(prt,2)
1693
coroutine.resume(coroutine.create(function(Part,Mesh) 
1694
for i=0,1,0.03 do
1695
wait()
1696
Part.CFrame=Part.CFrame
1697
Part.Transparency=i
1698
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1699
end
1700
Part.Parent=nil
1701
end),prt,msh)
1702
end
1703
 
1704
function BreakEffect(brickcolor,cframe,x1,y1,z1)
1705
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1706
prt.Anchored=true
1707
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1708
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
1709
game:GetService("Debris"):AddItem(prt,2)
1710
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
1711
CF=Part.CFrame
1712
Numbb=0
1713
randnumb=math.random()/10
1714
rand1=math.random()/10
1715
for i=0,1,rand1 do
1716
wait()
1717
CF=CF*cf(0,math.random()/2,0)
1718
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
1719
Part.CFrame=CF*euler(Numbb,0,0)
1720
Part.Transparency=i
1721
Numbb=Numbb+randnumb
1722
end
1723
Part.Parent=nil
1724
end),prt,CF,Numbb,randnumb)
1725
end
1726
 
1727
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1728
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1729
prt.Anchored=true
1730
prt.CFrame=cframe
1731
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
1732
game:GetService("Debris"):AddItem(prt,5)
1733
coroutine.resume(coroutine.create(function(Part,Mesh) 
1734
for i=0,1,delay do
1735
wait()
1736
Part.CFrame=Part.CFrame*euler(0,0.7,0)
1737
Part.Transparency=i
1738
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1739
end
1740
Part.Parent=nil
1741
end),prt,msh)
1742
end
1743
 
1744
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1745
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1746
prt.Anchored=true
1747
prt.CFrame=cframe
1748
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
1749
game:GetService("Debris"):AddItem(prt,2)
1750
coroutine.resume(coroutine.create(function(Part,Mesh) 
1751
for i=0,1,delay do
1752
wait()
1753
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
1754
Part.Transparency=i
1755
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1756
end
1757
Part.Parent=nil
1758
end),prt,msh)
1759
end
1760
 
1761
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
1762
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1763
prt.Anchored=true
1764
prt.CFrame=cframe*cf(x,y,z)
1765
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
1766
game:GetService("Debris"):AddItem(prt,5)
1767
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
1768
local num=math.random()
1769
local num2=math.random(-3,2)+math.random()
1770
local numm=0
1771
for i=0,1,delay*2 do
1772
swait()
1773
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
1774
Part.Transparency=i
1775
numm=numm+0.01
1776
end
1777
Part.Parent=nil
1778
Mesh.Parent=nil
1779
end),prt,msh,x,y,z)
1780
end
1781
 
1782
so = function(id,par,vol,pit) 
1783
coroutine.resume(coroutine.create(function()
1784
local sou = Instance.new("Sound",par or workspace)
1785
sou.Volume=vol
1786
sou.Pitch=pit or 1
1787
sou.SoundId=id
1788
swait() 
1789
sou:play() 
1790
game:GetService("Debris"):AddItem(sou,6)
1791
end))
1792
end
1793
 
1794
function findNearestTorso(pos)
1795
        local list = game:service("Workspace"):children()
1796
        local torso = nil
1797
        local dist = 50
1798
        local temp = nil
1799
        local human = nil
1800
        local temp2 = nil
1801
        for x = 1, #list do
1802
                temp2 = list[x]
1803
                if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
1804
                        temp = temp2:findFirstChild("Torso")
1805
                        human = temp2:findFirstChild("Humanoid")
1806
                        if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
1807
                                if (temp.Position - pos).magnitude < dist then
1808
                                        torso = temp
1809
                                        dist = (temp.Position - pos).magnitude
1810
                                end
1811
                        end
1812
                end
1813
        end
1814
        return torso
1815
end
1816
 
1817
Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,HitSound,HitPitch)
1818
        if hit.Parent==nil then
1819
                return
1820
        end
1821
        CPlayer=Bin 
1822
        h=hit.Parent:FindFirstChild("Humanoid")
1823
        for _,v in pairs(hit.Parent:children()) do
1824
        if v:IsA("Humanoid") then
1825
        h=v
1826
        end
1827
        end
1828
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
1829
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
1830
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
1831
                        return
1832
                end]]
1833
--                        hs(hit,1.2) 
1834
                        c=Instance.new("ObjectValue")
1835
                        c.Name="creator"
1836
                        c.Value=game:service("Players").LocalPlayer
1837
                        c.Parent=h
1838
                        game:GetService("Debris"):AddItem(c,.5)
1839
                if HitSound~=nil and HitPitch~=nil then
1840
                so(HitSound,hit,1,HitPitch) 
1841
                end
1842
                Damage=math.random(minim,maxim)
1843
--                h:TakeDamage(Damage)
1844
                blocked=false
1845
                block=hit.Parent:findFirstChild("Block")
1846
                if block~=nil then
1847
                if block.className=="IntValue" then
1848
                if block.Value>0 then
1849
                blocked=true
1850
                block.Value=block.Value-1
1851
                end
1852
                end
1853
                end
1854
                if blocked==false then
1855
--                h:TakeDamage(Damage)
1856
                h.Health=h.Health-Damage
1857
                showDamage(hit.Parent,Damage,.5,BrickColor:Red())
1858
                else
1859
                h.Health=h.Health-(Damage/2)
1860
                showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
1861
                end
1862
                if Type=="Knockdown" then
1863
                hum=hit.Parent.Humanoid
1864
hum.PlatformStand=true
1865
coroutine.resume(coroutine.create(function(HHumanoid)
1866
swait(1)
1867
HHumanoid.PlatformStand=false
1868
end),hum)
1869
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
1870
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
1871
local bodvol=Instance.new("BodyVelocity")
1872
bodvol.velocity=angle*knockback
1873
bodvol.P=5000
1874
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1875
bodvol.Parent=hit
1876
rl=Instance.new("BodyAngularVelocity")
1877
rl.P=3000
1878
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
1879
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1880
rl.Parent=hit
1881
game:GetService("Debris"):AddItem(bodvol,.5)
1882
game:GetService("Debris"):AddItem(rl,.5)
1883
                elseif Type=="Normal" then
1884
                vp=Instance.new("BodyVelocity")
1885
                vp.P=500
1886
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
1887
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
1888
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
1889
                if knockback>0 then
1890
                        vp.Parent=hit.Parent.Torso
1891
                end
1892
                game:GetService("Debris"):AddItem(vp,.5)
1893
                elseif Type=="Up" then
1894
                local bodyVelocity=Instance.new("BodyVelocity")
1895
                bodyVelocity.velocity=vt(0,20,0)
1896
                bodyVelocity.P=5000
1897
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
1898
                bodyVelocity.Parent=hit
1899
                game:GetService("Debris"):AddItem(bodyVelocity,.5)
1900
                elseif Type=="Snare" then
1901
                bp=Instance.new("BodyPosition")
1902
                bp.P=2000
1903
                bp.D=100
1904
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1905
                bp.position=hit.Parent.Torso.Position
1906
                bp.Parent=hit.Parent.Torso
1907
                game:GetService("Debris"):AddItem(bp,1)
1908
                elseif Type=="Freeze" then
1909
                BodPos=Instance.new("BodyPosition")
1910
                BodPos.P=50000
1911
                BodPos.D=1000
1912
                BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1913
                BodPos.position=hit.Parent.Torso.Position
1914
                BodPos.Parent=hit.Parent.Torso
1915
                BodGy = it("BodyGyro") 
1916
                BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
1917
                BodGy.P = 20e+003 
1918
                BodGy.Parent=hit.Parent.Torso
1919
                BodGy.cframe = hit.Parent.Torso.CFrame
1920
                hit.Parent.Torso.Anchored=true
1921
                coroutine.resume(coroutine.create(function(Part) 
1922
                swait(1.5)
1923
                Part.Anchored=false
1924
                end),hit.Parent.Torso)
1925
                game:GetService("Debris"):AddItem(BodPos,3)
1926
                game:GetService("Debris"):AddItem(BodGy,3)
1927
                end
1928
                        debounce=Instance.new("BoolValue")
1929
                        debounce.Name="DebounceHit"
1930
                        debounce.Parent=hit.Parent
1931
                        debounce.Value=true
1932
                        game:GetService("Debris"):AddItem(debounce,Delay)
1933
                        c=Instance.new("ObjectValue")
1934
                        c.Name="creator"
1935
                        c.Value=Player
1936
                        c.Parent=h
1937
                        game:GetService("Debris"):AddItem(c,.5)
1938
                CRIT=false
1939
                hitDeb=true
1940
                AttackPos=6
1941
        end
1942
end
1943
 
1944
showDamage=function(Char,Dealt,du,Color)
1945
        m=Instance.new("Model")
1946
        m.Name=tostring(Dealt)
1947
        h=Instance.new("Humanoid")
1948
        h.Health=0
1949
        h.MaxHealth=0
1950
        h.Parent=m
1951
        c=Instance.new("Part")
1952
        c.Transparency=0
1953
        c.BrickColor=Color
1954
        c.Name="Head"
1955
        c.TopSurface=0
1956
        c.BottomSurface=0
1957
        c.formFactor="Plate"
1958
        c.Size=Vector3.new(1,.4,1)
1959
        ms=Instance.new("CylinderMesh")
1960
        ms.Scale=Vector3.new(.8,.8,.8)
1961
        if CRIT==true then
1962
                ms.Scale=Vector3.new(1,1.25,1)
1963
        end
1964
        ms.Parent=c
1965
        c.Reflectance=0
1966
        Instance.new("BodyGyro").Parent=c
1967
        c.Parent=m
1968
        c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
1969
        f=Instance.new("BodyPosition")
1970
        f.P=2000
1971
        f.D=100
1972
        f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
1973
        f.position=c.Position+Vector3.new(0,3,0)
1974
        f.Parent=c
1975
        game:GetService("Debris"):AddItem(m,.5+du)
1976
        c.CanCollide=false
1977
        m.Parent=workspace
1978
        c.CanCollide=false
1979
end
1980
 
1981
combo=0
1982
function ob1d(mouse) 
1983
if attack==true then return end
1984
hold=true
1985
if combo==0 then
1986
if holdz==false then
1987
combo=1
1988
attackone()
1989
else
1990
combo=4
1991
heavyattackone()
1992
end
1993
elseif combo==1 then
1994
combo=2
1995
attacktwo()
1996
elseif combo==2 then
1997
combo=3
1998
attackthree()
1999
elseif combo==4 then
2000
combo=5
2001
heavyattacktwo()
2002
else
2003
combo=0
2004
end
2005
coroutine.resume(coroutine.create(function() 
2006
for i=1,50 do
2007
if attack==false then
2008
swait()
2009
end
2010
end
2011
if attack==false then
2012
combo=0
2013
equipanim() 
2014
end
2015
end))
2016
end 
2017
 
2018
function ob1u(mouse) 
2019
hold = false 
2020
end 
2021
 
2022
buttonhold = false 
2023
 
2024
eul=0
2025
holdz=false
2026
function key(key) 
2027
if attack==true then return end
2028
if key=="z" then
2029
holdz=true
2030
end
2031
if key=="x" and xenabled==true then
2032
xenabled=false
2033
coroutine.resume(coroutine.create(function()
2034
for i=1,0,-0.002 do
2035
swait()
2036
fenframe1a.Size=UDim2.new(0.05*i,0,0.1,0)
2037
end
2038
xenabled=true
2039
fenframe1a.Size=UDim2.new(0,0,0.1,0)
2040
end))
2041
ShadowBlades()
2042
end
2043
if key=="c" and cenabled==true then
2044
cenabled=false
2045
coroutine.resume(coroutine.create(function()
2046
for i=1,0,-0.003 do
2047
swait()
2048
fenframe2a.Size=UDim2.new(0.05*i,0,0.1,0)
2049
end
2050
cenabled=true
2051
fenframe2a.Size=UDim2.new(0,0,0.1,0)
2052
end))
2053
Abscond()
2054
end
2055
if key=="v" and venabled==true then
2056
venabled=false
2057
coroutine.resume(coroutine.create(function()
2058
for i=1,0,-0.005 do
2059
swait()
2060
fenframe3a.Size=UDim2.new(0.05*i,0,0.1,0)
2061
end
2062
venabled=true
2063
fenframe3a.Size=UDim2.new(0,0,0.1,0)
2064
end))
2065
Shade()
2066
end
2067
if key=="b" and benabled==true then
2068
benabled=false
2069
coroutine.resume(coroutine.create(function()
2070
for i=1,0,-0.0008 do
2071
swait()
2072
fenframe4a.Size=UDim2.new(0.05*i,0,0.1,0)
2073
end
2074
benabled=true
2075
fenframe4a.Size=UDim2.new(0,0,0.1,0)
2076
end))
2077
Umbra()
2078
end
2079
if key=="f" then
2080
Neck.C0=necko*euler(-0.4,0,-0.2)
2081
RootJoint.C0=RootCF*cf(0,0,-1.5)*euler(0.8,0,0.5)
2082
RW.C0=cf(1.5,0.5,0)*euler(1.4,0,1.57-1.07)
2083
RW.C1=cf(0,0.5,0)*euler(0,0,0)
2084
LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-1.57+1.17)
2085
LW.C1=cf(0,0.5,0)*euler(0,0,0)
2086
RH.C0=RHC0*cf(0,0,0)*euler(0,-0.5,-0.5)
2087
LH.C0=LHC0*cf(-0.5,1,0)*euler(0.5,0,-0.5)
2088
for i=0,1,0.05 do
2089
swait()
2090
randnum=math.random(2,3)+math.random()
2091
tehr=math.random(50,100)/10000
2092
StravEffect(BrickColor.new("Black"),RootPart.CFrame*euler(0,math.random(-50,50),0),-math.random(1,10),0,0,randnum,randnum,randnum,tehr)
2093
end
2094
end
2095
end 
2096
 
2097
function key2(key) 
2098
if key=="z" then
2099
holdz=false
2100
end
2101
end 
2102
 
2103
function s(mouse) 
2104
mouse.Button1Down:connect(function() ob1d(mouse) end) 
2105
mouse.Button1Up:connect(function() ob1u(mouse) end) 
2106
mouse.KeyDown:connect(key) 
2107
mouse.KeyUp:connect(key2) 
2108
unsheathed = true 
2109
player = Player 
2110
ch = Character 
2111
MMouse = mouse 
2112
RSH = ch.Torso["Right Shoulder"] 
2113
LSH = ch.Torso["Left Shoulder"] 
2114
-- 
2115
RSH.Parent = nil 
2116
LSH.Parent = nil 
2117
-- 
2118
RW.Name = "Right Shoulder"
2119
RW.Part0 = ch.Torso 
2120
RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
2121
RW.C1 = CFrame.new(0, 0.5, 0) 
2122
RW.Part1 = ch["Right Arm"] 
2123
RW.Parent = ch.Torso 
2124
--_G.R = RW 
2125
-- 
2126
LW.Name = "Left Shoulder"
2127
LW.Part0 = ch.Torso 
2128
LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
2129
LW.C1 = CFrame.new(0, 0.5, 0) 
2130
LW.Part1 = ch["Left Arm"] 
2131
LW.Parent = ch.Torso 
2132
--_G.L = LW 
2133
--
2134
equipanim() 
2135
end 
2136
 
2137
function ds(mouse) 
2138
hideanim() 
2139
swait(0) 
2140
RW.Parent = nil 
2141
LW.Parent = nil 
2142
RSH.Parent = player.Character.Torso 
2143
LSH.Parent = player.Character.Torso 
2144
end 
2145
 
2146
Bin.Selected:connect(s) 
2147
Bin.Deselected:connect(ds) 
2148
print("Shadow Shogai loaded.")
2149
 
2150
--[[ 
2151
Copyrighted (C) Fenrier 2014
2152
]]