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