View difference between Paste ID: pUWDXeEV and p4AL0Uqc
SHOW: | | - or go back to the newest paste.
1
Me = game:service("Players").LocalPlayer
2
Char = Me.Character
3
Mouse = Me:GetMouse()
4
Mode={"BloodLust","Normal"}
5
DTable={}
6
Combo = 0
7
Name="Citrus's Katana"                    --name your katana--
8
PrimaryColor = "Institutional white"             -- sword color --
9
SecondaryColor="Royal purple"            -- blade and magic color--
10
ID = 1073690                           --hat--
11
local player = game.Players.LocalPlayer
12
local mouse = player:GetMouse()
13
plr2 = game.Players.LocalPlayer
14
cyan = true
15
green = false
16
red = false
17
purple = false
18
local plr = game.Players.LocalPlayer.Character
19
cleanup = true
20
path = false
21
22
local m = Instance.new("Model")
23
m.Name = "m" 
24
m.Parent = plr
25
26
mouse.KeyDown:connect(function(key)
27
    if key == "q" then
28
        if path == true then path = false elseif path == false then path = true end
29
        elseif key == "]" then
30
        ----------------------------------------------------
31
pcall(function()Char.Shirt:Destroy()
32
Char.Pants:Destroy()
33
end)
34
shirt = Instance.new("Shirt", Char)
35
shirt.Name = "Shirt"
36
pants = Instance.new("Pants", Char)
37
pants.Name = "Pants"
38
Char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=185597732"   -- shirt use source if id is 1234 use 1233--
39
Char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=3077253"   -- pants use source if id is 1234 use 1233--
40
----------------------------------------------------
41
----------------------------------------------------
42
	local p = game:GetService("InsertService"):LoadAsset(ID)
43
	p.Parent = workspace
44
	p:makeJoints()
45
	d = Me.Character:getChildren()
46
	for i = 1,#d do
47
		if d[i].className=="Hat" then
48
			d[i].Parent = nil
49
		end
50
	end
51
	c = p:getChildren()
52
	for i = 1,#c do
53
		c[i].Parent = Me.Character
54
	end
55
	p.Parent = nil
56
----------------------------------------------------
57
elseif key == "[" then
58
----------------------------------------------------
59
z = Instance.new("Sound", Char)
60-
z.SoundId = "rbxassetid://179396190"                                --MUSIC ID GOES HERE--
60+
z.SoundId = "rbxassetid://986163301"                                --MUSIC ID GOES HERE--
61
z.Looped = true
62
z.Pitch = 1
63
z.Volume = 10
64
wait(.01)
65
z:Play()
66
    end
67
end)
68
spawn(function()
69
    while wait(1.35) do
70
       if cyan == true then
71
            green = true 
72
            cyan = false
73
        elseif green == true then 
74
            red = true 
75
            green = false
76
        elseif red == true then
77
            purple = true
78
            red = false
79
        elseif purple == true then
80
            cyan = true
81
            purple = false
82
        end 
83
    end
84
end)
85
function fade(part)
86
    wait(0.15)
87
    for i = 0.3,1,0.1 do wait()
88
       part.Transparency = i 
89
       if i == 0.8 or i == 0.9 or i == 0.7 or i == 0.6 or i == 0.5 or i == 0.4 then
90
           if cyan == true then
91
           part.BrickColor = BrickColor.new("Cyan")
92
       elseif green == true then
93
           part.BrickColor = BrickColor.new("Lime green")
94
       elseif red == true then
95
           part.BrickColor = BrickColor.new("Really red")
96
        elseif purple == true then
97
            part.BrickColor = BrickColor.new("Royal purple")
98
            end
99
           part.Material = "Neon"
100
        end
101
    end
102
    part:remove''
103
end
104
local num = 0.1
105
spawn(function()
106
while true do coroutine.yield()
107
    if path == true then
108
        num = num + 3.5
109
        local p = Instance.new("Part")
110
        p.Name = "p"
111
        p.Parent = plr.m
112
        p.FormFactor = "Custom"
113
        p.Size = Vector3.new(3,0.4,3)
114
        p.CFrame = plr.Torso.CFrame * CFrame.new(0,-3-(p.Size.Y/2),0) * CFrame.Angles(0,math.rad(num),0)
115
        p.Transparency = 0.3
116
        p.BrickColor = BrickColor.new("Really black")
117
        p.Anchored = true
118
        p.TopSurface = "Smooth"
119
        p.BottomSurface = "Smooth"
120
        spawn(function()
121
            if cleanup == true then
122
            fade(p)
123
            end
124
        end)
125
        else
126
    end
127
end
128
end)
129
print("Made by: Null/Broken_Code \n press q for path \n x for dash \n for dominus mode press ] \n for music press [")
130
pcall(function() Char:FindFirstChild("WepModel"):Destroy() Me.Backpack:FindFirstChild(Name):Destroy() end)
131
Activated = false
132
Sheathed = true
133
Dashing = false
134
Selected = false
135
ADB=false
136
DiffColor = false
137
Camera=game:service("Workspace").CurrentCamera
138
LeftArm = Char["Left Arm"]
139
RightArm = Char["Right Arm"]
140
HRP = Char.HumanoidRootPart["RootJoint"]
141
SavedRoot = HRP.C0
142
necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
143
if script.Parent.className ~= "HopperBin" then
144
h = Instance.new("HopperBin", Me.Backpack)
145
h.Name = Name
146
script.Name = "''"
147
script.Parent = h
148
end
149
bin = script.Parent
150
local WepModel = Instance.new("Model", Char)
151
WepModel.Name = "WepModel"
152
local Debz = game:service("Debris")
153
            ------[[ Create Function  ]]------
154
Create = {}
155
function Create:Part(parent, x,y,z, color, transparency, cancollide, anchored, shape)
156
c = Instance.new("Part",parent)
157
c.Material = "Neon"
158
if shape ~= nil then
159
c.Shape = shape
160
end
161
c.TopSurface,c.BottomSurface = 0,0
162
c.Locked = true
163
c.formFactor = "Custom"
164
c.Size = Vector3.new(x,y,z)
165
if color ~= "random" then
166
c.BrickColor = color
167
else c.BrickColor = BrickColor:Random() end
168
c.Transparency = transparency
169
c.CanCollide = cancollide
170
if anchored ~= nil then c.Anchored = anchored end
171
if parent ~= nil then c.Parent = parent end
172
return c
173
end;
174
function Create:BG(parent)
175
local c = Instance.new("BodyGyro",parent)
176
c.P = 20e+003
177
c.cframe = parent.CFrame
178
c.maxTorque = Vector3.new(c.P,c.P,c.P)
179
return c
180
end;
181
function Create:BP(parent, pos)
182
local bp = Instance.new("BodyPosition",parent)
183
bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
184
bp.position = pos
185
return bp
186
end;
187
function Create:F(parent, size, heat, color, secondarycolor, enabled)
188
f = Instance.new("Fire",parent)
189
f.Size = size
190
f.Heat = heat
191
if enabled ~= nil then f.Enabled = enabled end
192
if color ~= nil then f.Color = BrickColor.new(color).Color end
193
if secondarycolor ~= nil then f.SecondaryColor = BrickColor.new(secondarycolor).Color end
194
return f
195
end;
196
function Create:FM(parent, meshid, x,y,z, meshtexture)
197
if meshid == "cylinder" then
198
mesh = Instance.new("CylinderMesh",parent)
199
mesh.Scale = Vector3.new(x,y,z)
200
return mesh
201
else
202
mesh = Instance.new("SpecialMesh",parent)
203
if meshid ~= "sphere" then
204
if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
205
mesh.MeshId = "rbxassetid://"..meshids[meshid]
206
end
207
else mesh.MeshType = 3 end
208
mesh.Scale = Vector3.new(x,y,z)
209
if meshtexture ~= nil then
210
if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
211
mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
212
end
213
return mesh
214
end
215
end
216
function Create:Weld(parent,P0,P1,nam,c0,c1)
217
Weld = Instance.new("Weld",parent)
218
if P0 then  Weld.Part0 = P0 else error("Invalid Part0",2) end
219
if P1 then Weld.Part1 = P1 else print("Invalid Part1") end
220
if name then Weld.Name = nam else Weld.Name = "Weld" end
221
if c0 then Weld.C0 = c0 else print("Invalid C0") end
222
if c1 then Weld.C1 = c1 else Weld.C1 = CFrame.new(0,0.5,0) end
223
return Weld
224
end
225
M = {["Cos"] = function(a) return math.cos(a) end;
226
["Sin"] = function(a) return math.sin(a) end;
227
["Rad"] = function(a) return math.rad(a) end}
228
L0L=Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),1,false,false)
229
L0LWeld=Create:Weld(L0L,Char.Torso,L0L,"L0LWeld",CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,math.rad(-90),math.rad(90)),CFrame.new(0,-0.951,0))
230
coroutine.wrap(function()
231
for i = 0,1,1/50 do wait()
232
angle = math.rad(360*i)
233
end
234
end)()
235
local Delete = function(parent,time)
236
if time then
237
Debz:AddItem(parent,time)
238
else
239
parent:Destroy()
240
end end
241
Lite = Instance.new("PointLight")
242
Lite.Color = Color3.new(150,0,255)     -- CHANGE THIS--
243
Lite.Range = 10
244
Lite.Brightness = 10
245
Lite.Parent = Char.Torso
246
Handle = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
247
Instance.new("BlockMesh",Handle).Scale = Vector3.new(0.2,1.15,0.275)
248
HandleWeld=Create:Weld(Handle,Char.Torso,Handle,"HandleWeld",CFrame.new(1.5,1.8,0.65)*CFrame.fromEulerAnglesXYZ(0,0,math.pi/-4.75))
249
Hitbox = Create:Part(WepModel,1,6,0.5,BrickColor.new(PrimaryColor),1,false,false)
250
Hitbox.Name = "Hitbox"
251
Instance.new("BlockMesh", Hitbox)
252
BoxWeld=Create:Weld(Hitbox,Handle,Hitbox,"Boxweld",CFrame.new(0,-2.5,0),CFrame.new(0,-0.25,0))
253
Sheath = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
254
Instance.new("BlockMesh",Sheath).Scale = Vector3.new(0.3,3,0.3)
255
SheathWeld=Create:Weld(Char.Torso,Char.Torso,Sheath,"SheathWeld",CFrame.new(0.25,-0.1,0.65)*CFrame.fromEulerAnglesXYZ(0,0,math.pi/-4.75),CFrame.new(0.2,0.5,0))
256
for i = 1,6 do
257
Boxes = Create:Part(WepModel,1,1,1,BrickColor.new(SecondaryColor),0,false,false)
258
Instance.new("BlockMesh",Boxes).Scale = Vector3.new(0.225,0.2,0.31)
259
BoxesWeld=Create:Weld(Boxes,Char.Torso,Boxes,"BoxesWeld",CFrame.new(1.95,0,0.65)*CFrame.fromEulerAnglesXYZ(0,0,math.pi/-4.75),CFrame.new(1.55,i*0.5,0))
260
end
261
SheathTip = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
262
SheathMesh = Instance.new("SpecialMesh", SheathTip)
263
SheathMesh.MeshType = "Wedge"
264
SheathMesh.Scale = Vector3.new(0.3,0.75,0.3)
265
SheathTipWeld=Create:Weld(Char.Torso,Sheath,SheathTip,"SheathTipWeld",CFrame.new(0.25,-2,0.65)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,3.15),CFrame.new(0.65,0.14,0.25))
266
print(SheathTip.Position,SheathTip.Transparency)
267
HandleBase = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
268
Instance.new("BlockMesh",HandleBase).Scale = Vector3.new(0.45,0.25,0.45)
269
HandleBaseWeld=Create:Weld(HandleBase,Handle,HandleBase,"HandleBaseWeld",CFrame.new(0,-0.175,0))
270
Blade = Create:Part(WepModel,1,1,1,BrickColor.new(SecondaryColor),0,false,false)
271
Instance.new("BlockMesh",Blade).Scale = Vector3.new(0.2,3,0.155)
272
BladeWeld=Create:Weld(Blade,Handle,Blade,"BladeWeld",CFrame.new(0,-1.75,0))
273
Blade2 = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
274
Instance.new("BlockMesh",Blade2).Scale = Vector3.new(0.1,3,0.156)
275
Blade2Weld=Create:Weld(Blade2,Handle,Blade2,"Blade2Weld",CFrame.new(0,-1.75,0))
276
Tip = Create:Part(WepModel,1,1,1,BrickColor.new(SecondaryColor),0,false,false)
277
TipMesh = Instance.new("SpecialMesh", Tip)
278
TipMesh.MeshType = "Wedge"
279
TipMesh.Scale = Vector3.new(0.155,0.5,0.2)
280
TipWeld=Create:Weld(Tip,Handle,Tip,"TipWeld",CFrame.new(0,-4.5,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,3.15),CFrame.new(0.01,0.5,0))
281
Tip2 = Create:Part(WepModel,1,1,1,BrickColor.new(PrimaryColor),0,false,false)
282
Tip2Mesh = Instance.new("SpecialMesh", Tip2)
283
Tip2Mesh.MeshType = "Wedge"
284
Tip2Mesh.Scale = Vector3.new(0.16,0.3,0.1)
285
Tip2Weld=Create:Weld(Tip2,Handle,Tip2,"Tip2Weld",CFrame.new(0,-4.4,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,3.15),CFrame.new(0.01,0.5,0))
286
function Dash()
287
Dashing = true
288
DBounce=true
289
playSound(153092348,Hitbox,1,1)
290
local vel = Instance.new("BodyVelocity", Char.Torso)
291
vel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
292
coroutine.resume(coroutine.create(function()
293
while Dashing == true do wait()
294
vel.velocity = Char.Head.CFrame.lookVector * 70
295
Effect(Char.Torso, 1,0.5,1, 0,0,1, 0,0,0,BrickColor.new(SecondaryColor),true, 20329976,Char.Torso.CFrame*CFrame.new(0,-2.75,0).p)
296
end
297
end))
298
wait(1)
299
vel:remove()
300
Dashing = false
301
wait(1)
302
DBounce=false
303
end
304
--Sound Func
305
function playSound(id,parent,volume,pitch)
306
        local sound = Instance.new("Sound",parent or workspace)
307
        sound.SoundId = "http://www.roblox.com/asset?id="..id
308
        sound.Volume = volume or 1
309
        sound.Pitch = pitch or 1
310
        coroutine.wrap(function()
311
                wait()
312
                sound:Play()
313
                wait(10)
314
                sound:Stop()
315
                sound:Destroy()
316
        end)()
317
        return sound
318
end
319
--Play Sound
320
function Shoot()
321
Activated = true
322
Charging = true
323
Idle()
324
StartTrail(Tip)
325
for i = 0,1,0.1 do wait()
326
RW.C0 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(1.5,0,0)
327
RW.C1 = CFrame.new(0.1,0.4,0)*CFrame.fromEulerAnglesXYZ(0,-i*1.575,i*0.15)
328
end
329
coroutine.wrap(function()
330
while Charging == true do wait()
331
Effect2(Tip,0.4,0.4,0.4,0,0,0,BrickColor.new(SecondaryColor))
332
end
333
end)()
334
end
335
function FirstSlash()
336-
playSound(10209645,Hitbox,1,1)
336+
playSound(252508381,Hitbox,1,1)
337
Activated = true
338
Combo = 1
339
StartTrail(Tip)
340
pcall(function() Hitdmg=Hitbox.Touched:connect(function(hit) Damage(hit, math.random(5,10), hit.CFrame.p) end) end) 
341
Walk()
342
for i = 0,1,0.175 do wait()
343
LW.C1 = CFrame.new(0,0.5,0)*CFrame.fromEulerAnglesXYZ(0,0,i*0.3)
344
RW.C1 = CFrame.new(0.1,0.4,0)*CFrame.fromEulerAnglesXYZ(i*2.15,i*-0.75,i*-1.5)
345
HRP.C0 = SavedRoot*CFrame.fromEulerAnglesXYZ(0,0,i*2)
346
Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-1.45*i)
347
end
348
EndTrail()
349
Hitdmg:disconnect(wait(0.1))
350
Activated = false
351
end
352
function SecondSlash()
353-
playSound(10209645,Hitbox,1,1.2)
353+
playSound(1006028054,Hitbox,1,1.2)
354
Activated = true
355
Combo = 2
356
StartTrail(Tip)
357
pcall(function() Hitdmg=Hitbox.Touched:connect(function(hit) Damage(hit, math.random(5,10), hit.CFrame.p) end) end)
358
for i = 0,1,0.2 do wait()
359
RW.C0 = CFrame.new(1.45,0.4,0)*CFrame.fromEulerAnglesXYZ(1.5,0,0)
360
RW.C1 = CFrame.new(0.1,0.4,0)*CFrame.fromEulerAnglesXYZ(0,-i*1.5,0)
361
end
362
for i = 0,1,0.2 do wait()
363
Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0.725*i)
364
RW.C1 = CFrame.new(0,0.4,0)*CFrame.fromEulerAnglesXYZ(0,-1.5,i*-1.5)
365
HRP.C0 = HRP.C1*CFrame.fromEulerAnglesXYZ(0,0,i*-0.875)
366
end
367
EndTrail()
368
Hitdmg:disconnect(wait(0.1))
369
Activated = false
370
end
371
function ThirdSlash()
372-
playSound(10209645,Hitbox,1,1.3)
372+
playSound(623904185,Hitbox,1,1.3)
373
Activated=true
374
Combo=3
375
StartTrail(Tip)
376
for i = 0,1,0.2 do wait()
377
HRP.C1 = HRP.C1*CFrame.fromEulerAnglesXYZ(0,0,i*-0.25)
378
RW.C0 = CFrame.new(1.45,0.4,0)*CFrame.fromEulerAnglesXYZ(1.5,0,0)
379
RW.C1 = CFrame.new(0,i,-0.15)*CFrame.fromEulerAnglesXYZ(i*-1.05,0,i*0.85)
380
LW.C0 = CFrame.new(-1.45,0.4,0)*CFrame.fromEulerAnglesXYZ(1.5,0,0) 
381
LW.C1 = CFrame.new(0,i,-0.15)*CFrame.fromEulerAnglesXYZ(i*-1.05,0,i*-0.85) 
382
Char.Torso.Neck.C0=necko
383
HandleWeld.C0 = CFrame.new(0,-1.075,0.6)*CFrame.fromEulerAnglesXYZ(math.rad(45/2),math.rad(90),math.rad(69))
384
HandleWeld.C1 = CFrame.new(0,0.3,0.25)*CFrame.Angles(math.rad(-40),math.rad(-12),math.rad(-10))
385
end
386
pcall(function() Hitdmg=Hitbox.Touched:connect(function(hit) Damage(hit, math.random(5,10), hit.CFrame.p,0)
387
if hit:IsA("Part") then
388
local evel = Instance.new("BodyVelocity", hit)
389
evel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
390
evel.velocity = Char.Torso.CFrame.lookVector * 100
391
Delete(evel,0.025)
392
end end) end)
393
for i = 0,1,0.2 do wait()
394
RW.C1 = RW.C1*CFrame.new(0,-0.05,0)*CFrame.fromEulerAnglesXYZ(i*0.75,0,0)
395
LW.C1 = LW.C1*CFrame.new(0,-0.05,0)*CFrame.fromEulerAnglesXYZ(i*0.75,0,0) 
396
end
397
Hitdmg:disconnect(wait(0.1))
398
EndTrail()
399
Activated=false
400
end
401
function BDown()
402
if Activated then return end
403
if Combo == 0 then
404
FirstSlash()
405
coroutine.wrap(function()
406
wait(0.2)
407
if Activated == false then 
408
Combo = 0
409
end
410
end)()
411
elseif Combo == 1 then 
412
SecondSlash() 
413
coroutine.wrap(function()
414
wait(0.2) 
415
if Activated == false then 
416
Combo = 0
417
end
418
end)()
419
elseif Combo == 2 then
420
ThirdSlash()
421
coroutine.wrap(function()
422
wait(0.2) 
423
if Activated == false then 
424
Combo = 0
425
end
426
end)()
427
end
428
end
429
function key(key)
430
if Activated then return end
431
if key == "x" and not DBounce then
432
Dash()
433
end
434
end
435
function Walk()
436
Camera.CameraSubject=Char.Humanoid
437
Char.Humanoid.WalkSpeed = 25
438
RW.C0 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(3.45,0,-0.2)
439
RW.C1 = CFrame.new(0,0.35,0)*CFrame.fromEulerAnglesXYZ(3.5,0.5,0.9)
440
LW.C0 = CFrame.new(-1.4,0.45,0)*CFrame.fromEulerAnglesXYZ(0.4,0.25,-0.5)
441
LW.C1 = CFrame.new(0,0.5,0)
442
HRP.C0 = SavedRoot*CFrame.fromEulerAnglesXYZ(0,0,-1.5)
443
HRP.C1=CFrame.new(0,0,0,-1,-0,-0,0,0,1,0,1,0)
444
Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.5)
445
HandleWeld.Part0 = RightArm
446
HandleWeld.C0 = CFrame.new(0,-1.075,0.5)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0)
447
HandleWeld.C1 = CFrame.new(0,0.5,0)
448
HandleWeld.Part1 = Handle
449
end
450
 
451
function Idle()
452
if RW and LW then
453
RW.Part0 = Char.Torso
454
RW.C0 = CFrame.new(1.5, 0.5, -0)*CFrame.fromEulerAnglesXYZ(0,0,0.2)
455
RW.C1 = CFrame.new(0, 0.5, 0)
456
RW.Part1 = RightArm
457
LW.Part0 = Char.Torso 
458
LW.C0 = CFrame.new(-1.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0,0,-0.2)
459
LW.C1 = CFrame.new(0, 0.5, 0) 
460
LW.Part1 = LeftArm
461
Char.Torso.Neck.C0=necko
462
Camera.CameraSubject=Char.Humanoid
463
HRP.C0=SavedRoot
464
HRP.C1=CFrame.new(0,0,0,-1,-0,-0,0,0,1,0,1,0)
465
Char.Humanoid.WalkSpeed = 18
466
HandleWeld.Part0 = RightArm
467
HandleWeld.C0 = CFrame.new(0,-1.075,0.5)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0)
468
HandleWeld.C1 = CFrame.new(0,0.5,0)
469
HandleWeld.Part1 = Handle
470
end
471
end
472
function Selection()
473
for i = 0,1,0.1 do wait()
474
RW.C0 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(3.45*i,0,i*-0.2)
475
end
476
playSound(130785405,Hitbox,1,1)
477
 
478
HandleWeld.Part0 = RightArm
479
HandleWeld.C0 = CFrame.new(0,-1.075,0.5)*CFrame.fromEulerAnglesXYZ(math.pi/2,math.pi/2,0)
480
HandleWeld.C1 = CFrame.new(0,0.5,0)
481
HandleWeld.Part1 = Handle
482
for i = 0,1,0.15 do wait()
483
RW.C1 = CFrame.new(0,0.35,0)*CFrame.fromEulerAnglesXYZ(i*3.5,i*0.75,i)
484
LW.C0 = CFrame.new(-1.4,0.45,0)*CFrame.fromEulerAnglesXYZ(i*0.4,i*0.25,i*-0.25)
485
end
486
Idle()
487
Selected = true
488
Sheathed = false
489
end
490
function s(mouse)
491
if Sheathing then return end
492
mouse.KeyDown:connect(key)
493
mouse.Button1Down:connect(function() BDown(mouse) end)
494
RSH = Char.Torso["Right Shoulder"] 
495
LSH = Char.Torso["Left Shoulder"]
496
RW=Create:Weld(RightArm,Char.Torso,RightArm,"RW",CFrame.new(1.5, 0.5, -0)*CFrame.fromEulerAnglesXYZ(1.5,1.15,-0.25))
497
LW=Create:Weld(LeftArm,Char.Torso,LeftArm,"LW",CFrame.new(-1.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.5,0,-0.1))
498
Selection()
499
Idle()
500
Sheathed = false
501
end
502
function ds()
503
Sheathing = true
504
RW.C0 = CFrame.new(1.5, 0.5, -0)
505
RW.C1 = CFrame.new(0, 0.5, 0)
506
for i =0,1,0.1 do wait()
507
RW.C0 = CFrame.new(1.5,0.5,0)*CFrame.fromEulerAnglesXYZ(3.45*i,0,i*-0.2)
508
end
509
playSound(130785407,Hitbox,1,1)
510
HandleWeld.Part0 = Char.Torso
511
HandleWeld.C0 = CFrame.new(1.5,1.8,0.65)*CFrame.fromEulerAnglesXYZ(0,0,math.pi/-4.75)
512
HandleWeld.C1 = CFrame.new(0,0.5,0)
513
HandleWeld.Part1 = Handle
514
pcall(function() HRP.C0 = SavedRoot
515
RW.Parent = nil
516
LW.Parent = nil
517
Char.Torso.Neck.C0 = necko
518
RSH.Parent = Char.Torso
519
LSH.Parent = Char.Torso end)
520
Sheathing = false
521
Sheathed = true
522
Char.Humanoid.WalkSpeed = 18
523
end
524
bin.Selected:connect(s)
525
bin.Deselected:connect(ds)
526
function StartTrail(part,color)
527
trailin = true
528
local lastPoint = part.Position
529
coroutine.wrap(function()
530
while trailin do wait()
531
local point = CFrame.new(lastPoint, part.Position) * CFrame.Angles(-math.pi/2, 0, 0)
532
local mag = (lastPoint - part.Position).magnitude
533
local p = Create:Part(Char,1,1,1,BrickColor.new(SecondaryColor),0.1,false,true)
534
if color then p.BrickColor = BrickColor.new(color) end
535
Instance.new("SpecialMesh",p).Scale=Vector3.new(0.125, mag, 0.125)
536
p.CFrame = point * CFrame.new(0, mag/1.95, 0)
537
lastPoint = part.Position
538
coroutine.wrap(function() for i = 0,1,0.1 do wait() p.Transparency = i end p:Destroy() end)()
539
end
540
end)()
541
end
542
function EndTrail()
543
trailin = false
544
end
545
Damage = function(hit, dmg, pos,time)
546
if ADB == false then 
547
ADB = true 
548
coroutine.wrap(function()
549
if time ==nil then
550
ADB=false
551
else
552
wait(time)
553
end
554
ADB = false 
555
end)()
556
if hit.Parent==nil and hit.Parent.Torso == nil then 
557
return
558
print("hai")
559
end
560
if hit~=nil and hit.Parent ~= Char then
561
hum = hit.Parent:FindFirstChild("Humanoid")
562
if hum and hum.Health ~= 0 then
563-
playSound(153092292,Hitbox,1,1)
563+
playSound(282343776,Hitbox,1,1)
564
critcalchance = math.ceil(math.random(1,15))
565
if critcalchance == 5 then
566
pcall(function() hum.Health = hum.Health - dmg*2 end)
567
if hum.Health == 0 then
568
KO=true
569
else
570
KO=false
571
end
572
crit = true
573
else
574
pcall(function() hum.Health = hum.Health - dmg end)
575
if hum.Health == 0 then
576
KO=true
577
else
578
KO=false
579
end
580
crit = false
581
end
582
mod = Instance.new("Model",game:service("Workspace"))
583
if not KO then
584
if crit == true then
585
mod.Name = "-"..(dmg*2)
586
else
587
mod.Name = "-"..dmg
588
end
589
else
590
mod.Name = "N0 Skop'd"
591
crit=true
592
end
593
if not crit then
594
p = Create:Part(mod,0.25,0.15,0.25, BrickColor.new(SecondaryColor),0.25,false,false)
595
else
596
p = Create:Part(mod,0.35,0.25,0.35, BrickColor.new("Really red"),0.25,false,false)
597
end
598
p.CFrame = CFrame.new(pos)*CFrame.new(0,1,math.random(-2,2))
599
BP = Create:BP(p,p.Position+Vector3.new(0,6,0))
600
BP.P = 1500
601
s = Instance.new("SelectionBox",p)
602
s.Adornee = s.Parent
603
s.Transparency=p.Transparency
604
s.Color = p.BrickColor
605
local BGUI = Instance.new("BillboardGui",p)
606
BGUI.Size = UDim2.new(1,0,1,0)
607
BGUI.StudsOffset = Vector3.new(0,1,0)
608
BGUI.Adornee = BGUI.Parent
609
local frame = Instance.new("Frame",BGUI)
610
frame.Size = UDim2.new(1, 0, 1, 0)
611
frame.BackgroundTransparency = 1
612
frame.BackgroundColor3 = Color3.new(1, 1, 1)
613
local BText = Instance.new("TextLabel",BGUI)
614
BText.TextStrokeTransparency = 0
615
BText.TextStrokeColor3 = BrickColor.new(PrimaryColor).Color
616
BText.BackgroundTransparency = 1
617
BText.Position = UDim2.new(0, 0, 0.1, 0)
618
BText.FontSize = "Size18"
619
BText.Size = UDim2.new(0.9, 0, 0.4, 0)
620
if not crit and not KO then
621
BText.Font = "SourceSans"
622
BText.TextColor3 = BrickColor.new(SecondaryColor).Color
623
elseif crit and not KO then
624
BText.FontSize = "Size24"
625
BText.Font = "SourceSans"
626
BText.TextColor3 = BrickColor.new("Really red").Color
627
elseif KO and crit then
628
BText.FontSize = "Size36"
629
BText.Font = "Legacy"
630
BText.TextColor3 = BrickColor.new("Really red").Color
631
end
632
BText.Font = "SourceSans"
633
BText.Text = mod.Name
634
Delete(mod,2.5)
635
coroutine.wrap(function()
636
wait(0.5)
637
for i = 0,1,0.035 do wait()
638
BText.TextTransparency = i
639
BText.TextStrokeTransparency = BText.TextStrokeTransparency + i
640
end
641
end)()
642
end
643
end
644
end
645
end
646
function Effect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color,meshid,id,pos,collid)
647
S=Create:Part(Char, 1,1,1, color, 0, false, true)
648
if collid then
649
S.CanCollide=collid
650
else
651
S.CanCollide=false
652
end
653
S.CFrame = CFrame.new(pos)
654
S.CFrame=S.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
655
if meshid == true then
656
local msh1 = Instance.new("SpecialMesh",S) 
657
msh1.Scale = Vector3.new(1,1,1) 
658
msh1.MeshType = "FileMesh"
659
msh1.MeshId = "http://www.roblox.com/asset/?id="..id..""
660
end
661
if meshid == "block" then
662
msh1 = Instance.new("BlockMesh",S)
663
msh1.Scale = Vector3.new(1,1,1)
664
elseif meshid == "ball" then
665
local msh1 = Instance.new("SpecialMesh",S) 
666
msh1.Scale = Vector3.new(1,1,1) 
667
msh1.MeshType = "Sphere"
668
end
669
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(x1, y1, z1) Part.Transparency=i*.1 wait() end Part:Destroy() end),S,S.CFrame)
670
end
671
Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency)
672
local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
673
for i=1,Times do 
674
local li = Instance.new("Part",workspace) 
675
li.Material = "Neon"
676
li.TopSurface = "SmoothNoOutlines"
677
li.BottomSurface = "SmoothNoOutlines"
678
li.RightSurface = "SmoothNoOutlines"
679
li.LeftSurface = "SmoothNoOutlines"
680
li.Anchored = true  li.Transparency = 
681
Transparency or 0.4 li.BrickColor = 
682
BrickColor.new(Color)
683
li.formFactor = "Custom" 
684
li.CanCollide = false 
685
li.Size = Vector3.new(1,1,1) 
686
lim = Instance.new("BlockMesh",li) 
687
lim.Scale = Vector3.new(Thickness,Thickness,magz/Times) 
688
local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) 
689
function touch(hit)
690
if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent ~= Char then
691
Damage(hit, math.random(5,10), hit.CFrame.p)
692
end end li.Touched:connect(touch)
693
local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
694
if Times == i then
695
local magz2 = (curpos - End).magnitude lim.Scale = Vector3.new(Thickness,Thickness,magz2)
696
li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
697
else
698
li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
699
end
700
curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p game.Debris:AddItem(li,0.25)
701
end
702
end
703
function Effect2(part,x1,y1,z1,x2,y2,z2,color)
704
local msh2 = Instance.new("BlockMesh") 
705
msh2.Scale = Vector3.new(x1, y1, z1) 
706
S=Create:Part(Char, 1,1,1, color, 0.5, false, true)
707
msh2.Parent = S
708
S.CFrame=part.CFrame*CFrame.new(x2, y2, z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
709
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
710
end
711
coroutine.wrap(function()
712
game:service("RunService").RenderStepped:connect(function()
713
if not Sheathed and not Activated and not Sheathing and Combo == 0 then
714
if Vector3.new(Char.Torso.Velocity.x, 0, Char.Torso.Velocity.z).magnitude > 2 then
715
Walk()
716
else
717
Idle()
718
end
719
end
720
end)
721
end)()
722
pcall(function() script.source.Value = "l0l" end)
723
while true do game:GetService("RunService").RenderStepped:wait(-9001)
724
if not Sheathed then
725
wait(math.random(-1,2))
726
lightswitch = math.random(1,2)
727
if lightswitch == 1 then
728
Lightning(HandleBase.CFrame*CFrame.new(0,1,0).p,Tip.CFrame.p,math.random(3,6),math.random(-0.75,0.75),SecondaryColor,0.04,0.2)
729
elseif lightswitch == 2 then
730
Lightning(HandleBase.CFrame*CFrame.new(0,1,0).p,Tip.CFrame.p,math.random(3,6),math.random(-0.75,0.75),SecondaryColor,0.04,0.2)
731
end
732
end
733
end