View difference between Paste ID: hKx4y2Kt and fJphi7W8
SHOW: | | - or go back to the newest paste.
1-
1+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
5
wait(0.2)
6
plr = game.Players.LocalPlayer
7
chr = plr.Character
8
Head = chr.Head
9
Root = chr.HumanoidRootPart
10
Torso = chr.Torso
11
RArm = chr["Right Arm"]
12
LArm = chr["Left Arm"]
13
RLeg = chr["Right Leg"]
14
LLeg = chr["Left Leg"]
15
RJ = Root.RootJoint
16
Neck = Torso.Neck
17
LS = Torso["Left Shoulder"]
18
LH = Torso["Left Hip"]
19
RS = Torso["Right Shoulder"]
20
RH = Torso["Right Hip"]
21
hum = chr:FindFirstChildOfClass("Humanoid")
22
mouse = plr:GetMouse()
23
Head2, Root2, RArm2, LArm2, RLeg2, LLeg2 = nil, nil, nil, nil, nil, nil
24
Pose = "Idle"
25
attack = false
26
skilldoing = false
27
skilldoing2 = false
28
attack2 = false
29
skilldoing5 = false
30
skilldoing4 = false
31
skilldoing3 = false
32
comb = 1
33
cc = 1
34
sin = 0
35
cha = 1
36
clonez = false
37
create = LoadLibrary("RbxUtility").Create
38
chr.Animate:Remove()
39
hum.Animator:Remove()
40
function clerp(a, b, t)
41
	return a:lerp(b, t)
42
end
43
local newMotor = function(p0, p1, c0, c1)
44
	local w = Instance.new("Motor", p0)
45
	w.Part0 = p0
46
	w.Part1 = p1
47
	w.C0 = c0
48
	w.C1 = c1
49
	return w
50
end
51
RJ.C0, RJ.C1 = CFrame.new(0, 0, 0), CFrame.new(0, 0, 0)
52
Neck.C0, Neck.C1 = CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0)
53
local RS = newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
54
local LS = newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
55
local RH = newMotor(Torso, RLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
56
local LH = newMotor(Torso, LLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
57
function NoOutline(Part)
58
	Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
59
end
60
function rayCast(Position, Direction, Range, Ignore)
61
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
62
end
63
function swait(num)
64
	if num == 0 or num == nil then
65
		game:service("RunService").Stepped:wait(0)
66
	else
67
		for i = 0, num do
68
			game:service("RunService").Stepped:wait(0)
69
		end
70
	end
71
end
72
function parts(Par, name, size, color, mat, ref, tra)
73
	local part = create("Part")({
74
		Parent = Par,
75
		Name = name,
76
		Size = size,
77
		CanCollide = false,
78
		Anchored = false,
79
		BrickColor = BrickColor.new(color),
80
		Material = mat,
81
		Reflectance = ref,
82
		Transparency = tra
83
	})
84
	NoOutline(part)
85
	part:BreakJoints()
86
	return part
87
end
88
function meshs(Par, name, scale, mtype, id)
89
	local mesh = create("SpecialMesh")({
90
		Parent = Par,
91
		Name = name,
92
		Scale = scale,
93
		MeshType = mtype
94
	})
95
	if id ~= "" then
96
		mesh.MeshId = "rbxassetid://" .. id
97
	end
98
	return meshs
99
end
100
function welds(Par, name, p0, p1, c0, c1)
101
	local weld = create("Weld")({
102
		Parent = Par,
103
		Name = name,
104
		Part0 = p0,
105
		Part1 = p1,
106
		C0 = c0,
107
		C1 = c1
108
	})
109
	return weld
110
end
111
function sounds(Par, id, vol, pit)
112
	local sound = create("Sound")({
113
		Parent = Par,
114
		SoundId = id,
115
		Volume = vol,
116
		PlaybackSpeed = pit
117
	})
118
	sound:Play()
119
	game:GetService("Debris"):AddItem(sound, 10)
120
	return sound
121
end
122
m = Instance.new("Model", chr)
123
m.Name = "Suit"
124
e = Instance.new("Model", chr)
125
e.Name = "Effect"
126
N2T = parts(m, "N2T", Vector3.new(1.60000002, 2, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
127
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.46047974E-4, -0.211395741, -0.600017548, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
128
N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.00000012, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
129
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.05990601E-5, -0.706868172, 0.800048828, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
130
N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.20000005, 0.400000006), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
131
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.145903587, 0.146348, -0.899757385, -0.707038879, 0.707186699, 6.38328493E-5, -0.707186878, -0.707038939, -2.88823212E-5, 2.47075841E-5, -6.55715703E-5, 1.00000012))
132
N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.60000014, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
133
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.29425049E-5, 0.193191051, 0.600090027, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
134
N2T = parts(m, "N2T", Vector3.new(2, 0.600000024, 1.20000005), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
135
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.12669373E-4, -0.906851768, 0.100070953, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
136
N2T = parts(m, "N2T", Vector3.new(2.0999999, 0.200000003, 1.10000002), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
137
N2TWeld = welds(N2T, "N2TWeld", Torso, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41143799E-4, 0.893153906, 8.39233398E-5, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
138
N2 = parts(m, "N2", Vector3.new(0.200000003, 1, 0.200000003), "Institutional white", Enum.Material.SmoothPlastic, 0, 0)
139
N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.146298885, -0.145599365, -1.1001091, 0.707137525, 0.707088232, 5.0610106E-5, -0.707088292, 0.707137465, 9.14899283E-6, -2.93186422E-5, -4.22642916E-5, 1))
140
N2 = parts(m, "N2", Vector3.new(1.19999993, 1.5999999, 0.200000003), "Fossil", Enum.Material.SmoothPlastic, 0, 0)
141
N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.39372253E-4, -0.211386681, -0.800308228, 1, 2.04278001E-12, -5.23859955E-10, -2.04277524E-12, 1, 8.84741169E-9, 5.23859955E-10, -8.84741258E-9, 1))
142
N2 = parts(m, "N2", Vector3.new(0.200000003, 1, 0.200000003), "Institutional white", Enum.Material.SmoothPlastic, 0, 0)
143
N2Weld = welds(N2, "N2Weld", Torso, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.145659447, 0.14627552, -1.10010529, -0.707090497, 0.70713526, 6.38453057E-5, -0.70713532, -0.707090497, -2.88922456E-5, 2.47141797E-5, -6.55855983E-5, 1.00000012))
144
N2T = parts(m, "N2T", Vector3.new(1.39999998, 1.39999998, 0.400000006), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
145
N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00810337067, -0.00790786743, -0.299024582, 0.70712018, -7.31203589E-4, -0.70709914, 0.707105279, -1.32752175E-4, 0.707114279, -6.10913557E-4, -1.00000834, 4.23167832E-4))
146
N2T = parts(m, "N2T", Vector3.new(1.20000005, 0.200000003, 1), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
147
N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.6907196E-4, -1.36633682, 1.79227257, 1.00000823, -8.15352483E-4, -8.94709447E-5, -7.64434342E-4, -0.965952456, 0.258749306, -2.97397026E-4, -0.258751333, -0.965944529))
148
N2T = parts(m, "N2T", Vector3.new(1.20000005, 1.20000005, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
149
N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.42640686E-4, -1.32083321, 0.466089249, 0.999999642, -8.35441286E-4, -9.05738998E-5, -5.26776887E-4, -0.707188785, 0.707024634, -6.54730306E-4, -0.707024276, -0.707189023))
150
N2T = parts(m, "N2T", Vector3.new(1.20000005, 0.800000072, 0.200000003), "Smoky grey", Enum.Material.SmoothPlastic, 0, 0)
151
N2TWeld = welds(N2T, "N2TWeld", Head, N2T, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.72068787E-4, -0.500007629, -0.200611115, 0.999999642, -8.25215713E-4, -5.56122395E-5, 5.55146726E-5, -1.18256903E-4, 1, -8.25222291E-4, -0.999999642, -1.18211057E-4))
152
N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.60000014), "Really black", Enum.Material.SmoothPlastic, 0, 0)
153
N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.27928162E-4, 1.00000691, -0.100688934, -1.00000858, 1.8356173E-4, -5.89061528E-7, 1.83562224E-4, 1.00000811, -0.0010377958, 3.98042175E-7, -0.0010377958, -0.999999464))
154
N2 = parts(m, "N2", Vector3.new(0.199999928, 0.19999975, 0.399999917), "Really black", Enum.Material.SmoothPlastic, 0, 0)
155
N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.19345093E-4, 0.700006247, -0.700645447, -1.00000858, 1.82562231E-4, 4.11459041E-7, 1.82561678E-4, 1.00000811, -0.00103679579, -6.01263309E-7, -0.00103679567, -0.999999523))
156
meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
157
N2 = parts(m, "N2", Vector3.new(0.199999928, 0.19999975, 0.399999917), "Really black", Enum.Material.SmoothPlastic, 0, 0)
158
N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.14576721E-4, -1.29994774, -0.700683594, 1.00000858, -1.82559641E-4, 4.58854083E-6, -1.82564603E-4, -1.00000799, 0.00110879575, 4.38563438E-6, -0.00110879727, -0.999999464))
159
meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
160
N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.4000001), "Really black", Enum.Material.SmoothPlastic, 0, 0)
161
N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.9100647E-5, 0.800937653, 1.59953308, 1.00000858, -5.6068086E-7, -5.05879143E-7, 5.60671197E-7, 1.00000858, -8.01577698E-7, 5.0640665E-7, 7.92671926E-7, 1))
162
meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
163
N2 = parts(m, "N2", Vector3.new(0.199999928, 0.399999738, 1.4000001), "Really black", Enum.Material.SmoothPlastic, 0, 0)
164
N2Weld = welds(N2, "N2Weld", LArm, N2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.29153442E-5, -1.20100975, 1.59948349, -1.00000858, 5.57568058E-7, -5.49412107E-6, -5.57165947E-7, -1.0000087, -7.11984467E-5, -5.49368451E-6, -7.12079345E-5, 1.00000012))
165
meshs(N2, "Mesh", Vector3.new(1, 1, 1), Enum.MeshType.Wedge, "")
166
N21 = parts(m, "N21", Vector3.new(0.200000003, 0.200000003, 0.200000003), "Really black", Enum.Material.SmoothPlastic, 0, 1)
167
N21Weld = welds(N21, "N21Weld", LArm, N21, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.38690186E-5, -1.00100994, 1.39948654, -1.00000858, 5.57568058E-7, -5.49412107E-6, -5.57165947E-7, -1.0000087, -7.11984467E-5, -5.49368451E-6, -7.12079345E-5, 1.00000012))
168
for _, v in pairs(m:children()) do
169
	if v:IsA("Part") and v.Name == "N2T" then
170
		v.BrickColor = Torso.BrickColor
171
	end
172
end
173
aaa = NumberSequence.new({
174
	NumberSequenceKeypoint.new(0, 0.2),
175
	NumberSequenceKeypoint.new(1, 0)
176
})
177
bbb = NumberSequence.new({
178
	NumberSequenceKeypoint.new(0, 0),
179
	NumberSequenceKeypoint.new(1, 0)
180
})
181
local Efect = create("ParticleEmitter")({
182
	Color = ColorSequence.new(Color3.new(0, 0, 0)),
183
	LightEmission = 0.45,
184
	Texture = "rbxassetid://50657528",
185
	Transparency = bbb,
186
	Size = aaa,
187
	ZOffset = 0,
188
	Acceleration = Vector3.new(0, 0, 0),
189
	LockedToPart = false,
190
	EmissionDirection = "Top",
191
	Lifetime = NumberRange.new(0.2, 0.6),
192
	Rate = 800,
193
	Rotation = NumberRange.new(-100, 100),
194
	RotSpeed = NumberRange.new(-50, 50),
195
	Speed = NumberRange.new(0),
196
	VelocitySpread = 1000,
197
	Enabled = false,
198
	Parent = Root
199
})
200
local Buff = create("BillboardGui")({
201
	Size = UDim2.new(5, 0, 15, 0),
202
	Adornee = Root,
203
	Parent = Root,
204
	ExtentsOffset = Vector3.new(0, 3, 0),
205
	AlwaysOnTop = true
206
})
207
local BuffLabel = create("TextLabel")({
208
	AnchorPoint = Vector2.new(0.5, 0.5),
209
	BackgroundTransparency = 1,
210
	TextStrokeTransparency = 1,
211
	TextTransparency = 1,
212
	TextColor3 = Color3.new(1, 0, 0),
213
	Position = UDim2.new(0.5, 0, 0.5, 0),
214
	Size = UDim2.new(1.5, 0, 0.2, 0),
215
	Text = "gg",
216
	Font = "SourceSansBold",
217
	TextScaled = true,
218
	Parent = Buff
219
})
220
function Damage(Type, Part, hit, dmg, delet)
221
	if hit.Parent == nil then
222
		return
223
	end
224
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
225
	for _, v in pairs(hit.Parent:children()) do
226
		if v:IsA("Humanoid") then
227
			h = v
228
		end
229
	end
230
	if h ~= nil and hit.Parent.Name ~= chr.Name then
231
		if hit.Parent:findFirstChild("AHit") == nil then
232
			h.Health = h.Health - dmg
233
			if h.Health == math.huge then
234
				hit.Parent:BreakJoints()
235
			end
236
		end
237
		if Type == "Disappear" then
238
			Part.Parent = nil
239
			if hit.Parent:findFirstChild("AHit") == nil then
240
				local c = create("BoolValue")({
241
					Name = "AHit",
242
					Value = true,
243
					Parent = hit.Parent
244
				})
245
				game:GetService("Debris"):AddItem(c, 0)
246
			end
247
		elseif Type == "None" then
248
			if hit.Parent:findFirstChild("AHit") == nil then
249
				local c = create("BoolValue")({
250
					Name = "AHit",
251
					Value = true,
252
					Parent = hit.Parent
253
				})
254
				game:GetService("Debris"):AddItem(c, 0.25)
255
			end
256
		elseif Type == "None2" then
257
		end
258
	end
259
end
260
function Mdamage(Type, Part, Magn, Dmg)
261
	for _, c in pairs(workspace:children()) do
262
		local hum = c:findFirstChildOfClass("Humanoid")
263
		if hum ~= nil then
264
			local ddee = c:findFirstChild("Torso")
265
			if ddee ~= nil then
266
				local targ = ddee.Position - Part.Position
267
				local mag = targ.magnitude
268
				if Magn >= mag and c.Name ~= plr.Name then
269
					Damage(Type, Part, ddee, Dmg)
270
					if hum.Health == math.huge then
271
						ddee:BreakJoints()
272
					end
273
				end
274
			end
275
		end
276
	end
277
end
278
function effect(par, color, CF, x, y, z, x1, y1, z1, de, mtyp, typ)
279
	local ex = create("Part")({
280
		Size = Vector3.new(0.2, 0.2, 0.2),
281
		BrickColor = color,
282
		CanCollide = false,
283
		Material = "Neon",
284
		Anchored = true,
285
		CFrame = CF,
286
		Parent = par
287
	})
288
	NoOutline(ex)
289
	local exe = create("SpecialMesh")({
290
		Scale = Vector3.new(x, y, z),
291
		MeshType = mtyp,
292
		Parent = ex
293
	})
294
	game:GetService("Debris"):AddItem(ex, 10)
295
	coroutine.resume(coroutine.create(function()
296
		for i = 0, 1.1, de do
297
			swait()
298
			ex.Transparency = i
299
			exe.Scale = exe.Scale + Vector3.new(x1, y1, z1)
300
			if typ == 1 then
301
				ex.CFrame = ex.CFrame * CFrame.Angles(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
302
			end
303
		end
304
		ex:Remove()
305
	end))
306
end
307
function Shuriken()
308
	attack = true
309
	if cc == 1 then
310
		for i = 1, 3 do
311
			for i = 0, 1, 0.4 do
312
				swait()
313
				RJ.C0 = clerp(RJ.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
314
				Neck.C0 = clerp(Neck.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
315
				RS.C0 = clerp(RS.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
316
				LS.C0 = clerp(LS.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
317
				if skilldoing == true or skilldoing2 == true then
318
					break
319
				end
320
			end
321
			sounds(Root, "rbxassetid://173979241", 1.2, 1)
322
			do
323
				local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
324
				efec.CFrame = Root.CFrame * CFrame.new(1.2, 0.8, -2)
325
				meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
326
				local fire = Efect:Clone()
327
				fire.Parent = efec
328
				fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
329
				fire.Enabled = true
330
				local aa = create("BodyVelocity")({
331
					Parent = efec,
332
					MaxForce = Vector3.new(math.huge, math.huge, math.huge),
333
					Velocity = efec.CFrame.lookVector * 80
334
				})
335
				local aaa = create("BodyAngularVelocity")({
336
					Parent = efec,
337
					MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
338
					AngularVelocity = Vector3.new(0, 7, 0)
339
				})
340
				game:GetService("Debris"):AddItem(efec, 5)
341
				local hon = efec.Touched:connect(function(hitt)
342
					if hitt.Parent.Name ~= chr.Name then
343
						Damage("Disappear", efec, hitt, 15)
344
					end
345
				end)
346
				for i = 0, 1, 0.4 do
347
					swait()
348
					RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
349
					Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
350
					RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
351
					LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
352
					if skilldoing == true or skilldoing2 == true then
353
						break
354
					end
355
				end
356
			end
357
		end
358
		for i = 0, 1, 0.15 do
359
			swait()
360
			RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
361
			Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
362
			RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
363
			LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
364
			if skilldoing == true or skilldoing2 == true then
365
				break
366
			end
367
		end
368
	else
369
		for i = 0, 1, 0.3 do
370
			swait()
371
			RJ.C0 = clerp(RJ.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
372
			Neck.C0 = clerp(Neck.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
373
			RS.C0 = clerp(RS.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
374
			LS.C0 = clerp(LS.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
375
			if skilldoing == true or skilldoing2 == true then
376
				break
377
			end
378
		end
379
		sounds(Root, "rbxassetid://173979241", 1.2, 1)
380
		for i = -15, 15, 15 do
381
			do
382
				local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
383
				efec.CFrame = Root.CFrame * CFrame.new(1.2, 0.8, -2) * CFrame.Angles(0, math.rad(i), 0)
384
				meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
385
				local fire = Efect:Clone()
386
				fire.Parent = efec
387
				fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
388
				fire.Enabled = true
389
				local aa = create("BodyVelocity")({
390
					Parent = efec,
391
					MaxForce = Vector3.new(math.huge, math.huge, math.huge),
392
					Velocity = efec.CFrame.lookVector * 80
393
				})
394
				local aaa = create("BodyAngularVelocity")({
395
					Parent = efec,
396
					MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
397
					AngularVelocity = Vector3.new(0, 7, 0)
398
				})
399
				game:GetService("Debris"):AddItem(efec, 5)
400
				local hon = efec.Touched:connect(function(hitt)
401
					if hitt.Parent.Name ~= chr.Name then
402
						Damage("Disappear", efec, hitt, 15)
403
					end
404
				end)
405
			end
406
		end
407
		for i = 0, 1, 0.15 do
408
			swait()
409
			RJ.C0 = clerp(RJ.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
410
			Neck.C0 = clerp(Neck.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
411
			RS.C0 = clerp(RS.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
412
			LS.C0 = clerp(LS.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
413
			if skilldoing == true or skilldoing2 == true then
414
				break
415
			end
416
		end
417
	end
418
	attack = false
419
end
420
function Kunai()
421
	if skilldoing == true then
422
		return
423
	end
424
	skilldoing = true
425
	sounds(Root, "rbxasset://sounds/swordslash.wav", 1.2, 1)
426
	for i = 0, 1, 0.25 do
427
		swait()
428
		Torso.Velocity = Root.CFrame.lookVector * 140
429
		RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 2.13162821E-14, 1.00000286, 1.19782726E-8, -0.500001669, 0, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
430
		Neck.C0 = clerp(Neck.C0, CFrame.new(-5.96048153E-8, 1.49998045, 1.21205701E-7, 0.866025388, 2.13162821E-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726E-8, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
431
		RS.C0 = clerp(RS.C0, CFrame.new(1.60606456, 0.0366053469, -0.131955534, 0.482963264, -0.83651793, 0.25881651, 0.866028428, 0.500000834, -8.67884296E-7, -0.129408836, 0.224144787, 0.965928316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
432
		LS.C0 = clerp(LS.C0, CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908E-9, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
433
		if attack == true or skilldoing2 == true then
434
			break
435
		end
436
	end
437
	for i = 0, 1, 0.07 do
438
		swait()
439
		Mdamage("None", N21, 4, 55)
440
		RJ.C0 = clerp(RJ.C0, CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465E-7, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
441
		Neck.C0 = clerp(Neck.C0, CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319E-7, 0.866025388, -1.34110465E-7, 1.00000012, -4.76837158E-7, -0.866025388, 1.11758709E-7, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
442
		RS.C0 = clerp(RS.C0, CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901E-7, -0.866025746, 0.499999553, 1, 2.23517418E-7, -1.1920929E-7, -1.49011612E-8, 0.499999613, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
443
		LS.C0 = clerp(LS.C0, CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328E-6, -0.258817494, 0.96592623, 1, -4.54485416E-7, -2.16066837E-6, 9.68575478E-7, 0.965926409, 0.258817494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
444
		if attack == true or skilldoing2 == true then
445
			break
446
		end
447
	end
448
	skilldoing = false
449
end
450
function Lightning_Shuriken()
451
	if skilldoing2 == true then
452
		return
453
	end
454
	skilldoing2 = true
455
	local ref = parts(m, "ref", Vector3.new(5, 0.200000003, 5), "Toothpaste", Enum.Material.Plastic, 0, 0)
456
	local refWeld = welds(ref, "refWeld", RArm, ref, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.48865318, 0.0169677734, 2.57646179, -5.13309264E-4, -0.706745803, 0.707473516, 1.00000846, -6.78976241E-4, 4.72805768E-5, 4.46942693E-4, 0.707479417, 0.706740022))
457
	meshs(ref, "Mesh", Vector3.new(12, 3, 12), Enum.MeshType.FileMesh, "11376946")
458
	for i = 0, 1, 0.034 do
459
		swait()
460
		RJ.C0 = clerp(RJ.C0, CFrame.new(6.64666277E-6, 0, -1.00668276E-5, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
461
		Neck.C0 = clerp(Neck.C0, CFrame.new(-1.0692761E-5, 1.5000031, -3.05878189E-6, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
462
		RS.C0 = clerp(RS.C0, CFrame.new(0.656109691, 0.499978065, -1.00995207, 0, 0.707107008, 0.707106769, 1, 0, 0, 0, 0.707106769, -0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
463
		LS.C0 = clerp(LS.C0, CFrame.new(-1.57073712, 0.122477025, 7.45061016E-6, 0.965925932, 0.258818954, -1.49011612E-7, -0.258818954, 0.965925813, -6.80347227E-7, -1.49011612E-8, 7.00354576E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
464
		if attack == true or skilldoing == true then
465
			break
466
		end
467
	end
468
	for i = 0, 1, 0.4 do
469
		swait()
470
		RJ.C0 = clerp(RJ.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
471
		Neck.C0 = clerp(Neck.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
472
		RS.C0 = clerp(RS.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
473
		LS.C0 = clerp(LS.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
474
		if attack == true or skilldoing == true then
475
			break
476
		end
477
	end
478
	sounds(Root, "rbxassetid://173979241", 1.2, 1)
479
	refWeld:Remove()
480
	ref.CFrame = Root.CFrame * CFrame.new(0, 0.8, -2)
481
	local fire = Efect:Clone()
482
	fire.Parent = ref
483
	fire.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
484
	fire.Enabled = true
485
	local aa = create("BodyVelocity")({
486
		Parent = ref,
487
		MaxForce = Vector3.new(math.huge, math.huge, math.huge),
488
		Velocity = ref.CFrame.lookVector * 65
489
	})
490
	local aaa = create("BodyAngularVelocity")({
491
		Parent = ref,
492
		MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
493
		AngularVelocity = Vector3.new(0, -12, 0)
494
	})
495
	game:GetService("Debris"):AddItem(ref, 5)
496
	local hon = ref.Touched:connect(function(hitt)
497
		if hitt.Parent.Name ~= chr.Name then
498
			Damage("None2", ref, hitt, 10)
499
		end
500
	end)
501
	for i = 0, 1, 0.08 do
502
		swait()
503
		RJ.C0 = clerp(RJ.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
504
		Neck.C0 = clerp(Neck.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
505
		RS.C0 = clerp(RS.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
506
		LS.C0 = clerp(LS.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
507
		if attack == true or skilldoing == true then
508
			break
509
		end
510
	end
511
	skilldoing2 = false
512
end
513
function ShurikenC()
514
	if attack2 == true then
515
		return
516
	end
517
	attack2 = true
518
	if cc == 1 then
519
		for i = 1, 3 do
520
			for i = 0, 1, 0.4 do
521
				swait()
522
				RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
523
				Neck2.C0 = clerp(Neck2.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
524
				RS2.C0 = clerp(RS2.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
525
				LS2.C0 = clerp(LS2.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
526
				if skilldoing4 == true or skilldoing5 == true or 1 > hum2.Health then
527
					break
528
				end
529
			end
530
			sounds(Root2, "rbxassetid://173979241", 1.2, 1)
531
			do
532
				local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
533
				efec.CFrame = Root2.CFrame * CFrame.new(1.2, 0.8, -2)
534
				meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
535
				local fire = Efect:Clone()
536
				fire.Parent = efec
537
				fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
538
				fire.Enabled = true
539
				local aa = create("BodyVelocity")({
540
					Parent = efec,
541
					MaxForce = Vector3.new(math.huge, math.huge, math.huge),
542
					Velocity = efec.CFrame.lookVector * 80
543
				})
544
				local aaa = create("BodyAngularVelocity")({
545
					Parent = efec,
546
					MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
547
					AngularVelocity = Vector3.new(0, 7, 0)
548
				})
549
				game:GetService("Debris"):AddItem(efec, 5)
550
				local hon = efec.Touched:connect(function(hitt)
551
					if hitt.Parent.Name ~= chr.Name then
552
						Damage("Disappear", efec, hitt, 15)
553
					end
554
				end)
555
				for i = 0, 1, 0.4 do
556
					swait()
557
					RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
558
					Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
559
					RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
560
					LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
561
					if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
562
						break
563
					end
564
				end
565
			end
566
		end
567
		for i = 0, 1, 0.15 do
568
			swait()
569
			RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
570
			Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
571
			RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
572
			LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
573
			if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
574
				break
575
			end
576
		end
577
	else
578
		for i = 0, 1, 0.3 do
579
			swait()
580
			RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39479697E-6, 0, -5.39479697E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
581
			Neck2.C0 = clerp(Neck2.C0, CFrame.new(-8.72439887E-6, 1.50000358, -6.32202955E-7, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
582
			RS2.C0 = clerp(RS2.C0, CFrame.new(1.60169411, 0.263376445, -1.02972603, 0.612372458, -0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, 0.612372458, 0.707106829, -0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
583
			LS2.C0 = clerp(LS2.C0, CFrame.new(-1.6232332, 0.186604798, -3.19772289E-6, 0.866025507, 0.5, 2.68220901E-7, -0.5, 0.866025448, -9.89961904E-7, -7.15255737E-7, 7.00354576E-7, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
584
			if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
585
				break
586
			end
587
		end
588
		sounds(Root2, "rbxassetid://173979241", 1.2, 1)
589
		for i = -15, 15, 15 do
590
			do
591
				local efec = parts(e, "hit", Vector3.new(1.4, 0.2, 1.4), "Really black", Enum.Material.Neon, 0, 0)
592
				efec.CFrame = Root2.CFrame * CFrame.new(1.2, 0.8, -2) * CFrame.Angles(0, math.rad(i), 0)
593
				meshs(efec, "Mesh", Vector3.new(3.2, 3.2, 3.2), Enum.MeshType.FileMesh, "11376946")
594
				local fire = Efect:Clone()
595
				fire.Parent = efec
596
				fire.Color = ColorSequence.new(BrickColor.new("Really black").Color)
597
				fire.Enabled = true
598
				local aa = create("BodyVelocity")({
599
					Parent = efec,
600
					MaxForce = Vector3.new(math.huge, math.huge, math.huge),
601
					Velocity = efec.CFrame.lookVector * 80
602
				})
603
				local aaa = create("BodyAngularVelocity")({
604
					Parent = efec,
605
					MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
606
					AngularVelocity = Vector3.new(0, 7, 0)
607
				})
608
				game:GetService("Debris"):AddItem(efec, 5)
609
				local hon = efec.Touched:connect(function(hitt)
610
					if hitt.Parent.Name ~= chr.Name then
611
						Damage("Disappear", efec, hitt, 15)
612
					end
613
				end)
614
			end
615
		end
616
		for i = 0, 1, 0.15 do
617
			swait()
618
			RJ2.C0 = clerp(RJ2.C0, CFrame.new(5.39422035E-6, 0, 0.599998474, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
619
			Neck2.C0 = clerp(Neck2.C0, CFrame.new(-6.32202955E-7, 1.50000358, 8.72439887E-6, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
620
			RS2.C0 = clerp(RS2.C0, CFrame.new(0.311239719, 0.323183596, -0.962758541, 0.612372458, 0.707106829, -0.353553593, -0.500000238, 0, -0.866025388, -0.612372458, 0.707106829, 0.353553593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
621
			LS2.C0 = clerp(LS2.C0, CFrame.new(-1.68166852, 0.110567018, -0.255912811, 0.926776588, 0.308681726, -0.21401155, -0.369599998, 0.85098207, -0.373129249, 0.0669417977, 0.424906135, 0.902758956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
622
			if skilldoing5 == true or skilldoing4 == true or 1 > hum2.Health then
623
				break
624
			end
625
		end
626
	end
627
	attack2 = false
628
end
629
function KunaiC()
630
	if skilldoing5 == true then
631
		return
632
	end
633
	skilldoing5 = true
634
	sounds(Root2, "rbxasset://sounds/swordslash.wav", 1.2, 1)
635
	for i = 0, 1, 0.25 do
636
		swait()
637
		Torso2.Velocity = Root2.CFrame.lookVector * 140
638
		RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 2.13162821E-14, 1.00000286, 1.19782726E-8, -0.500001669, 0, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
639
		Neck2.C0 = clerp(Neck2.C0, CFrame.new(-5.96048153E-8, 1.49998045, 1.21205701E-7, 0.866025388, 2.13162821E-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726E-8, 0.866028011) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
640
		RS2.C0 = clerp(RS2.C0, CFrame.new(1.60606456, 0.0366053469, -0.131955534, 0.482963264, -0.83651793, 0.25881651, 0.866028428, 0.500000834, -8.67884296E-7, -0.129408836, 0.224144787, 0.965928316) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
641
		LS2.C0 = clerp(LS2.C0, CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908E-9, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.45)
642
		if attack2 == true or skilldoing4 == true or 1 > hum2.Health then
643
			break
644
		end
645
	end
646
	for i = 0, 1, 0.07 do
647
		swait()
648
		Mdamage("None", N22, 4, 55)
649
		RJ2.C0 = clerp(RJ2.C0, CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465E-7, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
650
		Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319E-7, 0.866025388, -1.34110465E-7, 1.00000012, -4.76837158E-7, -0.866025388, 1.11758709E-7, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
651
		RS2.C0 = clerp(RS2.C0, CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901E-7, -0.866025746, 0.499999553, 1, 2.23517418E-7, -1.1920929E-7, -1.49011612E-8, 0.499999613, 0.866025746) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
652
		LS2.C0 = clerp(LS2.C0, CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328E-6, -0.258817494, 0.96592623, 1, -4.54485416E-7, -2.16066837E-6, 9.68575478E-7, 0.965926409, 0.258817494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
653
		if attack2 == true or skilldoing4 == true or 1 > hum2.Health then
654
			break
655
		end
656
	end
657
	skilldoing5 = false
658
end
659
function Lightning_ShurikenC()
660
	if skilldoing4 == true then
661
		return
662
	end
663
	skilldoing4 = true
664
	local ref = parts(m, "ref", Vector3.new(5, 0.200000003, 5), "Toothpaste", Enum.Material.Plastic, 0, 0)
665
	local refWeld = welds(ref, "refWeld", RArm2, ref, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.48865318, 0.0169677734, 2.57646179, -5.13309264E-4, -0.706745803, 0.707473516, 1.00000846, -6.78976241E-4, 4.72805768E-5, 4.46942693E-4, 0.707479417, 0.706740022))
666
	meshs(ref, "Mesh", Vector3.new(12, 3, 12), Enum.MeshType.FileMesh, "11376946")
667
	for i = 0, 1, 0.034 do
668
		swait()
669
		RJ2.C0 = clerp(RJ2.C0, CFrame.new(6.64666277E-6, 0, -1.00668276E-5, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
670
		Neck2.C0 = clerp(Neck2.C0, CFrame.new(-1.0692761E-5, 1.5000031, -3.05878189E-6, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
671
		RS2.C0 = clerp(RS2.C0, CFrame.new(0.656109691, 0.499978065, -1.00995207, 0, 0.707107008, 0.707106769, 1, 0, 0, 0, 0.707106769, -0.707107008) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
672
		LS2.C0 = clerp(LS2.C0, CFrame.new(-1.57073712, 0.122477025, 7.45061016E-6, 0.965925932, 0.258818954, -1.49011612E-7, -0.258818954, 0.965925813, -6.80347227E-7, -1.49011612E-8, 7.00354576E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.15)
673
		if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
674
			break
675
		end
676
	end
677
	for i = 0, 1, 0.4 do
678
		swait()
679
		RJ2.C0 = clerp(RJ2.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
680
		Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
681
		RS2.C0 = clerp(RS2.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
682
		LS2.C0 = clerp(LS2.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
683
		if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
684
			break
685
		end
686
	end
687
	sounds(Root2, "rbxassetid://173979241", 1.2, 1)
688
	refWeld:Remove()
689
	ref.CFrame = Root2.CFrame * CFrame.new(0, 0.8, -2)
690
	local fire = Efect:Clone()
691
	fire.Parent = ref
692
	fire.Color = ColorSequence.new(BrickColor.new("Toothpaste").Color)
693
	fire.Enabled = true
694
	local aa = create("BodyVelocity")({
695
		Parent = ref,
696
		MaxForce = Vector3.new(math.huge, math.huge, math.huge),
697
		Velocity = ref.CFrame.lookVector * 65
698
	})
699
	local aaa = create("BodyAngularVelocity")({
700
		Parent = ref,
701
		MaxTorque = Vector3.new(math.huge, math.huge, math.huge),
702
		AngularVelocity = Vector3.new(0, -12, 0)
703
	})
704
	game:GetService("Debris"):AddItem(ref, 5)
705
	local hon = ref.Touched:connect(function(hitt)
706
		if hitt.Parent.Name ~= chr.Name then
707
			Damage("None2", ref, hitt, 10)
708
		end
709
	end)
710
	for i = 0, 1, 0.08 do
711
		swait()
712
		RJ2.C0 = clerp(RJ2.C0, CFrame.new(0.0368113965, 0, -1.1551051572, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
713
		Neck2.C0 = clerp(Neck2.C0, CFrame.new(-0.0649897754, 1.5000031, -0.0129353739, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
714
		RS2.C0 = clerp(RS2.C0, CFrame.new(1.89369929, 0.499978065, -0.535830021, 0, -0.866024494, 0.500001788, 1, 0, 0, 0, 0.500001788, 0.866024494) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
715
		LS2.C0 = clerp(LS2.C0, CFrame.new(-1.61982954, 0.0547468066, -0.438916326, 0.965925813, 0.250000268, -0.0669871271, -0.25000006, 0.834233463, -0.491482019, -0.0669877529, 0.49148193, 0.86830771) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
716
		if attack2 == true or skilldoing5 == true or 1 > hum2.Health then
717
			break
718
		end
719
	end
720
	skilldoing4 = false
721
end
722
aaaa = nil
723
function weeb()
724
	skilldoing3 = true
725
	for i = 0, 1, 0.12 do
726
		swait()
727
		RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
728
		Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.50000262, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
729
		RS.C0 = clerp(RS.C0, CFrame.new(1.83661962, 0.499978065, -0.48303616, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
730
		LS.C0 = clerp(LS.C0, CFrame.new(-1.83663654, 0.5, -0.483010679, 0, 0.866025388, -0.500000238, -1, 0, 0, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
731
	end
732
	for i = 0, 1, 0.1 do
733
		swait()
734
		RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
735
		Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.50000262, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
736
		RS.C0 = clerp(RS.C0, CFrame.new(0.678798556, 0.317686826, -0.833746672, -0.183012947, 0.842752099, 0.506236255, 0.965925753, 0.250000358, -0.0669873282, -0.183012947, 0.476727068, -0.859789252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
737
		LS.C0 = clerp(LS.C0, CFrame.new(-0.574818015, 0.620926201, -0.745570123, 0.224143937, -0.678603172, -0.699469328, -0.965925753, -0.250000387, -0.0669870302, -0.129409969, 0.690650165, -0.71151638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.4)
738
	end
739
	chr.Archivable = true
740
	clone = chr:Clone()
741
	clone.Parent = workspace
742
	swait()
743
	clone.Parent = chr
744
	Head2 = clone.Head
745
	Root2 = clone.HumanoidRootPart
746
	Torso2 = clone.Torso
747
	Root2.CFrame = Root.CFrame * CFrame.new(0, 0, -3)
748
	RArm2 = clone["Right Arm"]
749
	LArm2 = clone["Left Arm"]
750
	RLeg2 = clone["Right Leg"]
751
	LLeg2 = clone["Left Leg"]
752
	clone.Sound:Remove()
753
	for _, v in pairs(clone:children()) do
754
		if v:IsA("Part") and v.Name == "Torso" then
755
			for _, vs in pairs(v:children()) do
756
				if vs:IsA("Motor6D") or vs:IsA("Motor") then
757
					vs:Remove()
758
				end
759
			end
760
		else
761
			for _, vs in pairs(v:children()) do
762
				if vs:IsA("Sound") then
763
					vs:Remove()
764
				end
765
			end
766
		end
767
	end
768
	hum2 = clone:findFirstChildOfClass("Humanoid")
769
	N22 = clone.Suit.N21
770
	RJ2 = newMotor(Root2, Torso2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
771
	Neck2 = newMotor(Torso2, Head2, CFrame.new(0, 1.5, 0), CFrame.new(0, 0, 0))
772
	RS2 = newMotor(Torso2, RArm2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
773
	LS2 = newMotor(Torso2, LArm2, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
774
	RH2 = newMotor(Torso2, RLeg2, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
775
	LH2 = newMotor(Torso2, LLeg2, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
776
	aaaa = clone
777
	swait()
778
	effect(e, Torso.BrickColor, Root2.CFrame, 40, 40, 40, 1.5, 1.5, 1.5, 0.06, "Sphere", 2)
779
	sounds(Root2, "rbxassetid://944087788", 1.2, 1)
780
	clonez = true
781
	skilldoing3 = false
782
end
783
mouse.Button1Down:connect(function()
784
	if attack == false then
785
		coroutine.resume(coroutine.create(function()
786
			Shuriken()
787
		end))
788
		if clonez == true then
789
			ShurikenC()
790
		end
791
	end
792
end)
793
mouse.KeyDown:connect(function(k)
794
	k = k:lower()
795
	if k == "z" and skilldoing == false then
796
		coroutine.resume(coroutine.create(function()
797
			Kunai()
798
		end))
799
		if clonez == true then
800
			KunaiC()
801
		end
802
	elseif k == "x" and skilldoing2 == false then
803
		coroutine.resume(coroutine.create(function()
804
			Lightning_Shuriken()
805
		end))
806
		if clonez == true then
807
			Lightning_ShurikenC()
808
		end
809
	elseif k == "c" and cc == 1 then
810
		cc = 2
811
		print("wide")
812
	elseif k == "c" and cc == 2 then
813
		cc = 1
814
		print("straight")
815
	elseif k == "n" and clonez == false then
816
		weeb()
817
	elseif k == " " and (Pose == "Jump" or Pose == "Fall") then
818
		sounds(Root, "rbxassetid://322364178", 0.7, 1)
819
		Torso.Velocity = Root.CFrame.lookVector * hum.WalkSpeed + Vector3.new(0, 1, 0) * 70
820
		if clonez == true then
821
			sounds(Root2, "rbxassetid://322364178", 0.7, 1)
822
			Torso2.Velocity = Root2.CFrame.lookVector * hum2.WalkSpeed + Vector3.new(0, 1, 0) * 70
823
		end
824
	end
825
	if k == " " and clonez == true then
826
		hum2.Jump = true
827
	end
828
end)
829
Pose2 = "Idle"
830
coroutine.resume(coroutine.create(function()
831
	while true do
832
		swait()
833
		if clonez == true and aaaa ~= nil and hum2.Health < 1 then
834
			game:GetService("Debris"):AddItem(clone, 5)
835
			swait(2)
836
			Head2, Root2, RArm2, LArm2, RLeg2, LLeg2 = nil, nil, nil, nil, nil, nil
837
			aaaa = nil
838
			clonez = false
839
		end
840
		if clonez == true and aaaa ~= nil then
841
			hum2.WalkSpeed = 35
842
			local torvel = (Root2.Velocity * Vector3.new(1, 0, 1)).magnitude
843
			local velderp = Root2.Velocity.y
844
			hitfloor, posfloor = rayCast(Root2.Position, CFrame.new(Root2.Position, Root2.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr)
845
			if 1 < Root2.Velocity.y and hitfloor == nil then
846
				Pose2 = "Jump"
847
				if attack2 == false and skilldoing5 == false and skilldoing4 == false then
848
					RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
849
					Neck2.C0 = clerp(Neck2.C0, CFrame.new(0, 1.49998474, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
850
					RS2.C0 = clerp(RS2.C0, CFrame.new(1.70980763, 0.236601114, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
851
					LS2.C0 = clerp(LS2.C0, CFrame.new(-1.70980763, 0.236601114, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
852
				end
853
				RH2.C0 = clerp(RH2.C0, CFrame.new(0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
854
				LH2.C0 = clerp(LH2.C0, CFrame.new(-0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
855
			elseif Root2.Velocity.y < -1 and hitfloor == nil then
856
				Pose2 = "Fall"
857
				if attack2 == false and skilldoing5 == false and skilldoing4 == false then
858
					RJ2.C0 = clerp(RJ2.C0, CFrame.new(-0.034501072, 0, -0.0986937582, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
859
					Neck2.C0 = clerp(Neck2.C0, CFrame.new(0.0941823646, 1.49998474, 0.0453972146, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
860
					RS2.C0 = clerp(RS2.C0, CFrame.new(1.63909817, 0.114127249, -2.24583914E-7, 0.965925992, -0.258818954, 1.78813934E-7, 0.258818924, 0.965925932, -6.76490401E-7, 0, 7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
861
					LS2.C0 = clerp(LS2.C0, CFrame.new(-1.63910222, 0.114126861, 2.24584937E-7, 0.965925992, 0.258818954, 1.78813934E-7, -0.258818924, 0.965925932, 6.76490401E-7, 0, -7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
862
				end
863
				RH2.C0 = clerp(RH2.C0, CFrame.new(0.499996245, -1.99998808, -7.62939544E-6, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
864
				LH2.C0 = clerp(LH2.C0, CFrame.new(-0.499994338, -1.19998801, -0.500003874, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
865
			elseif torvel < 1 and hitfloor ~= nil then
866
				Pose2 = "Idle"
867
				if attack2 == false and skilldoing5 == false and skilldoing4 == false then
868
					RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, -0.1, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
869
					Neck2.C0 = clerp(Neck2.C0, CFrame.new(-9.53674771E-7, 1.49998951, -1.65181234E-6, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
870
					RS2.C0 = clerp(RS2.C0, CFrame.new(1.67320299, 0.10000509, 3.71405895E-6, 0.866025567, -0.5, 8.94069672E-8, 0.49999994, 0.866025507, -2.49183756E-7, 5.96046448E-8, 2.5331974E-7, 1.00000012) * CFrame.new(0 - 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 - 8 * math.cos(sin / 18))), 0.3)
871
					LS2.C0 = clerp(LS2.C0, CFrame.new(-1.67320156, 0.0999999046, 1.0063988E-7, 0.866025567, 0.5, 8.94069672E-8, -0.49999994, 0.866025507, 2.50893436E-7, 5.96046448E-8, -2.5331974E-7, 1.00000012) * CFrame.new(0 + 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 + 8 * math.cos(sin / 18))), 0.3)
872
				end
873
				RH2.C0 = clerp(RH2.C0, CFrame.new(0.500003934, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
874
				LH2.C0 = clerp(LH2.C0, CFrame.new(-0.500000119, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
875
			elseif torvel > 2 and hitfloor ~= nil then
876
				Pose2 = "Walk"
877
				if attack2 == false and skilldoing5 == false and skilldoing4 == false then
878
					RJ2.C0 = clerp(RJ2.C0, CFrame.new(0, -0.0669884086 - 0.1 * math.cos(sin / 3), -0.249999404, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0) + Root.RotVelocity.Y / 15, 0), 0.3)
879
					Neck2.C0 = clerp(Neck2.C0, CFrame.new(0, 1.47410548, 0.096591115, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + Head.RotVelocity.Y / 25, 0), 0.3)
880
					RS2.C0 = clerp(RS2.C0, CFrame.new(1.50000083, -1.7881257E-7, -7.55374003E-7, 0.866024852, -0.500000954, -3.31524848E-6, 0.500000954, 0.866024971, -2.38418579E-7, 2.98023224E-6, -1.4603138E-6, 1.00000012) * CFrame.new(0.2, 0.1, 0 + 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
881
					LS2.C0 = clerp(LS2.C0, CFrame.new(-1.5, 7.74863224E-7, -2.42472197E-7, 0.86602515, 0.500000536, -1.43179045E-6, -0.500000536, 0.866025209, 1.49011612E-6, 1.98185444E-6, -5.66244125E-7, 1.00000012) * CFrame.new(-0.2, 0.1, 0 - 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
882
				end
883
				RH2.C0 = clerp(RH2.C0, CFrame.new(0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 - 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
884
				LH2.C0 = clerp(LH2.C0, CFrame.new(-0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 + 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
885
			end
886
		end
887
	end
888
end))
889
while chr.Humanoid.Health >= 0 do
890
	swait()
891
	sin = sin + cha
892
	hum.WalkSpeed = 35
893
	local torvel = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
894
	local velderp = Root.Velocity.y
895
	hitfloor, posfloor = rayCast(Root.Position, CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0)).lookVector, 4, chr)
896
	if Root.Velocity.y > 1 and hitfloor == nil then
897
		Pose = "Jump"
898
		if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
899
			RJ.C0 = clerp(RJ.C0, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
900
			Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.49998474, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
901
			RS.C0 = clerp(RS.C0, CFrame.new(1.70980763, 0.236601114, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
902
			LS.C0 = clerp(LS.C0, CFrame.new(-1.70980763, 0.236601114, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
903
		end
904
		RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
905
		LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
906
	elseif Root.Velocity.y < -1 and hitfloor == nil then
907
		Pose = "Fall"
908
		if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
909
			RJ.C0 = clerp(RJ.C0, CFrame.new(-0.034501072, 0, -0.0986937582, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
910
			Neck.C0 = clerp(Neck.C0, CFrame.new(0.0941823646, 1.49998474, 0.0453972146, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
911
			RS.C0 = clerp(RS.C0, CFrame.new(1.63909817, 0.114127249, -2.24583914E-7, 0.965925992, -0.258818954, 1.78813934E-7, 0.258818924, 0.965925932, -6.76490401E-7, 0, 7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
912
			LS.C0 = clerp(LS.C0, CFrame.new(-1.63910222, 0.114126861, 2.24584937E-7, 0.965925992, 0.258818954, 1.78813934E-7, -0.258818924, 0.965925932, 6.76490401E-7, 0, -7.15255737E-7, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
913
		end
914
		RH.C0 = clerp(RH.C0, CFrame.new(0.499996245, -1.99998808, -7.62939544E-6, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
915
		LH.C0 = clerp(LH.C0, CFrame.new(-0.499994338, -1.19998801, -0.500003874, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
916
	elseif torvel < 1 and hitfloor ~= nil then
917
		Pose = "Idle"
918
		if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
919
			RJ.C0 = clerp(RJ.C0, CFrame.new(0, -0.1, 0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0, 0 - 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
920
			Neck.C0 = clerp(Neck.C0, CFrame.new(-9.53674771E-7, 1.49998951, -1.65181234E-6, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
921
			RS.C0 = clerp(RS.C0, CFrame.new(1.67320299, 0.10000509, 3.71405895E-6, 0.866025567, -0.5, 8.94069672E-8, 0.49999994, 0.866025507, -2.49183756E-7, 5.96046448E-8, 2.5331974E-7, 1.00000012) * CFrame.new(0 - 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 - 8 * math.cos(sin / 18))), 0.3)
922
			LS.C0 = clerp(LS.C0, CFrame.new(-1.67320156, 0.0999999046, 1.0063988E-7, 0.866025567, 0.5, 8.94069672E-8, -0.49999994, 0.866025507, 2.50893436E-7, 5.96046448E-8, -2.5331974E-7, 1.00000012) * CFrame.new(0 + 0.05 * math.cos(sin / 18), 0, 0) * CFrame.Angles(0, 0, math.rad(0 + 8 * math.cos(sin / 18))), 0.3)
923
		end
924
		RH.C0 = clerp(RH.C0, CFrame.new(0.500003934, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
925
		LH.C0 = clerp(LH.C0, CFrame.new(-0.500000119, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0, 0 + 0.05 * math.cos(sin / 18), 0) * CFrame.Angles(0, 0, 0), 0.3)
926
	elseif torvel > 2 and hitfloor ~= nil then
927
		Pose = "Walk"
928
		if attack == false and skilldoing == false and skilldoing2 == false and skilldoing3 == false then
929
			RJ.C0 = clerp(RJ.C0, CFrame.new(0, -0.0669884086 - 0.1 * math.cos(sin / 3), -0.249999404, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0) + Root.RotVelocity.Y / 15, 0), 0.3)
930
			Neck.C0 = clerp(Neck.C0, CFrame.new(0, 1.47410548, 0.096591115, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 + Head.RotVelocity.Y / 25, 0), 0.3)
931
			RS.C0 = clerp(RS.C0, CFrame.new(1.50000083, -1.7881257E-7, -7.55374003E-7, 0.866024852, -0.500000954, -3.31524848E-6, 0.500000954, 0.866024971, -2.38418579E-7, 2.98023224E-6, -1.4603138E-6, 1.00000012) * CFrame.new(0.2, 0.1, 0 + 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
932
			LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 7.74863224E-7, -2.42472197E-7, 0.86602515, 0.500000536, -1.43179045E-6, -0.500000536, 0.866025209, 1.49011612E-6, 1.98185444E-6, -5.66244125E-7, 1.00000012) * CFrame.new(-0.2, 0.1, 0 - 0.8 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
933
		end
934
		RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 - 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 + 70 * math.cos(sin / 6)), 0, 0), 0.3)
935
		LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024) * CFrame.new(0, 0, 0 + 1 * math.cos(sin / 6)) * CFrame.Angles(math.rad(0 - 70 * math.cos(sin / 6)), 0, 0), 0.3)
936
	end
937
	if clonez == true then
938
		hum2:MoveTo(Torso.Position + Vector3.new(0, 0, 5))
939
	end
940
end