print("FE code by Starzozero, Thanks to him!")
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
local Player,game,owner = owner,game
local RealPlayer = Player
do
print("FE Compatibility code by Mokiros, Edited by StarzoZero")
local rp = RealPlayer
script.Parent = rp.Character
--RemoteEvent for communicating
local Event = Instance.new("RemoteEvent")
Event.Name = "UserInput_Event"
--Fake event to make stuff like Mouse.KeyDown work
local function fakeEvent()
local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
t.connect = t.Connect
return t
end
--Creating fake input objects with fake variables
local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
end}
--Merged 2 functions into one by checking amount of arguments
CAS.UnbindAction = CAS.BindAction
--This function will trigger the events that have been :Connect()'ed
local function te(self,ev,...)
local t = m[ev]
if t and t._fakeEvent then
for _,f in pairs(t.Functions) do
f(...)
end
end
end
m.TrigEvent = te
UIS.TrigEvent = te
Event.OnServerEvent:Connect(function(plr,io)
if plr~=rp then return end
m.Target = io.Target
m.Hit = io.Hit
if not io.isMouse then
local b = io.UserInputState == Enum.UserInputState.Begin
if io.UserInputType == Enum.UserInputType.MouseButton1 then
return m:TrigEvent(b and "Button1Down" or "Button1Up")
end
if io.UserInputType == Enum.UserInputType.MouseButton2 then
return m:TrigEvent(b and "Button2Down" or "Button2Up")
end
for _,t in pairs(CAS.Actions) do
for _,k in pairs(t.Keys) do
if k==io.KeyCode then
t.Function(t.Name,io.UserInputState,io)
end
end
end
m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
end
end)
Event.Parent = NLS([==[
local Player = game:GetService("Players").LocalPlayer
local Event = script:WaitForChild("UserInput_Event")
local Mouse = Player:GetMouse()
local UIS = game:GetService("UserInputService")
local input = function(io,a)
if a then return end
--Since InputObject is a client-side instance, we create and pass table instead
Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
end
UIS.InputBegan:Connect(input)
UIS.InputEnded:Connect(input)
local h,t
--Give the server mouse data 30 times every second, but only if the values changed
--If player is not moving their mouse, client won't fire events
while wait(1/30) do
if h~=Mouse.Hit or t~=Mouse.Target then
h,t=Mouse.Hit,Mouse.Target
Event:FireServer({isMouse=true,Target=t,Hit=h})
end
end]==],Player.Character)
----Sandboxed game object that allows the usage of client-side methods and services
--Real game object
local _rg = game
--Metatable for fake service
local fsmt = {
__index = function(self,k)
local s = rawget(self,"_RealService")
if s then
return typeof(s[k])=="function"
and function(_,...)return s[k](s,...)end or s[k]
end
end,
__newindex = function(self,k,v)
local s = rawget(self,"_RealService")
if s then s[k]=v end
end
}
local function FakeService(t,RealService)
t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
return setmetatable(t,fsmt)
end
--Fake game object
local g = {
GetService = function(self,s)
return rawget(self,s) or _rg:GetService(s)
end,
Players = FakeService({
LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
},"Players"),
UserInputService = FakeService(UIS,"UserInputService"),
ContextActionService = FakeService(CAS,"ContextActionService"),
RunService = FakeService({
_btrs = {},
RenderStepped = _rg:GetService("RunService").Heartbeat,
BindToRenderStep = function(self,name,_,fun)
self._btrs[name] = self.Heartbeat:Connect(fun)
end,
UnbindFromRenderStep = function(self,name)
self._btrs[name]:Disconnect()
end,
},"RunService")
}
rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
g.service = g.GetService
FakeService(g,game)
--Changing owner to fake player object to support owner:GetMouse()
game,owner = g,g.Players.LocalPlayer
end
--[[Salvo_Starly[Salvy].Weaponry_2018.2]]--
--[[Project Name: Ninja from Critical Strike]]--
--[[tvbddh]]--
wait(.2)
plr=game.Players.LocalPlayer
chr=plr.Character
Head=chr.Head
Root=chr.HumanoidRootPart
Torso=chr.Torso
RArm=chr["Right Arm"]
LArm=chr["Left Arm"]
RLeg=chr["Right Leg"]
LLeg=chr["Left Leg"]
RJ=Root.RootJoint
Neck=Torso.Neck
LS=Torso["Left Shoulder"]
LH=Torso["Left Hip"]
RS=Torso["Right Shoulder"]
RH=Torso["Right Hip"]
hum=chr:FindFirstChildOfClass("Humanoid")
mouse=plr:GetMouse()
Head2,Root2,RArm2,LArm2,RLeg2,LLeg2=nil,nil,nil,nil,nil,nil
Pose="Idle"
attack=false
skilldoing=false
skilldoing2=false
attack2=false
skilldoing5=false
skilldoing4=false
skilldoing3=false
comb=1
cc=1
sin=0
cha=1
clonez=false
create=LoadLibrary("RbxUtility").Create
chr.Animate:Remove()
hum.Animator:Remove()
function clerp(a,b,t)
return a:lerp(b,t)
end
local newMotor=function(p0,p1,c0,c1)
local w=Instance.new('Motor',p0)
w.Part0=p0
w.Part1=p1
w.C0=c0
w.C1=c1
return w
end
RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
--[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
local RS=newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
local LS=newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
local RH=newMotor(Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
local LH=newMotor(Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
function NoOutline(Part)
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
end
function rayCast(Position,Direction,Range,Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
end
function swait(num)
if num==0 or num==nil then
game:service'RunService'.Stepped:wait(0)
else
for i=0,num do
game:service'RunService'.Stepped:wait(0)
end
end
end
function parts(Par,name,size,color,mat,ref,tra)
local part=create("Part"){
Parent=Par,
Name=name,
Size=size,
CanCollide=false,
Anchored=false,
BrickColor=BrickColor.new(color),
Material=mat,
Reflectance=ref,
Transparency=tra}
--Position=Torso.Position}
NoOutline(part)
part:BreakJoints()
return part
end
function meshs(Par,name,scale,mtype,id)
local mesh=create("SpecialMesh"){
Parent=Par,
Name=name,
Scale=scale,
MeshType=mtype}
if id~="" then
mesh.MeshId="rbxassetid://"..id
end
return meshs
end
function welds(Par,name,p0,p1,c0,c1)
local weld=create("Weld"){
Parent=Par,
Name=name,
Part0=p0,
Part1=p1,
C0=c0,
C1=c1}
return weld
end
function sounds(Par,id,vol,pit)
local sound=create("Sound"){
Parent=Par,
SoundId=id,
Volume=vol,
PlaybackSpeed=pit}
sound:Play()
game:GetService("Debris"):AddItem(sound,10)
return sound
end
m=Instance.new("Model",chr)
m.Name="Suit"
e=Instance.new("Model",chr)
e.Name="Effect"
N2T=parts(m,"N2T",Vector3.new(1.60000002, 2, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Torso,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000246047974, -0.211395741, -0.600017548, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 1.00000012, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Torso,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.05990601e-05, -0.706868172, 0.800048828, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 1.20000005, 0.400000006),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
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-05, -0.707186878, -0.707038939, -2.88823212e-05, 2.47075841e-05, -6.55715703e-05, 1.00000012))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 1.60000014, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Torso,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.29425049e-05, 0.193191051, 0.600090027, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2T=parts(m,"N2T",Vector3.new(2, 0.600000024, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Torso,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000212669373, -0.906851768, 0.100070953, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2T=parts(m,"N2T",Vector3.new(2.0999999, 0.200000003, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Torso,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000141143799, 0.893153906, 8.39233398e-05, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2=parts(m,"N2",Vector3.new(0.200000003, 1, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
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-05, -0.707088292, 0.707137465, 9.14899283e-06, -2.93186422e-05, -4.22642916e-05, 1))
N2=parts(m,"N2",Vector3.new(1.19999993, 1.5999999, 0.200000003),"Fossil",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",Torso,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000239372253, -0.211386681, -0.800308228, 1, 2.04278001e-12, -5.23859955e-10, -2.04277524e-12, 1, 8.84741169e-09, 5.23859955e-10, -8.84741258e-09, 1))
N2=parts(m,"N2",Vector3.new(0.200000003, 1, 0.200000003),"Institutional white",Enum.Material.SmoothPlastic,0,0)
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-05, -0.70713532, -0.707090497, -2.88922456e-05, 2.47141797e-05, -6.55855983e-05, 1.00000012))
N2T=parts(m,"N2T",Vector3.new(1.39999998, 1.39999998, 0.400000006),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
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, -0.000731203589, -0.70709914, 0.707105279, -0.000132752175, 0.707114279, -0.000610913557, -1.00000834, 0.000423167832))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 0.200000003, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Head,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00036907196, -1.36633682, 1.79227257, 1.00000823, -0.000815352483, -8.94709447e-05, -0.000764434342, -0.965952456, 0.258749306, -0.000297397026, -0.258751333, -0.965944529))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 1.20000005, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Head,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000542640686, -1.32083321, 0.466089249, 0.999999642, -0.000835441286, -9.05738998e-05, -0.000526776887, -0.707188785, 0.707024634, -0.000654730306, -0.707024276, -0.707189023))
N2T=parts(m,"N2T",Vector3.new(1.20000005, 0.800000072, 0.200000003),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
N2TWeld=welds(N2T,"N2TWeld",Head,N2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000472068787, -0.500007629, -0.200611115, 0.999999642, -0.000825215713, -5.56122395e-05, 5.55146726e-05, -0.000118256903, 1, -0.000825222291, -0.999999642, -0.000118211057))
N2=parts(m,"N2",Vector3.new(0.199999928, 0.399999738, 1.60000014),"Really black",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",LArm,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000227928162, 1.00000691, -0.100688934, -1.00000858, 0.00018356173, -5.89061528e-07, 0.000183562224, 1.00000811, -0.0010377958, 3.98042175e-07, -0.0010377958, -0.999999464))
N2=parts(m,"N2",Vector3.new(0.199999928, 0.19999975, 0.399999917),"Really black",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",LArm,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000219345093, 0.700006247, -0.700645447, -1.00000858, 0.000182562231, 4.11459041e-07, 0.000182561678, 1.00000811, -0.00103679579, -6.01263309e-07, -0.00103679567, -0.999999523))
meshs(N2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"")
N2=parts(m,"N2",Vector3.new(0.199999928, 0.19999975, 0.399999917),"Really black",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",LArm,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000214576721, -1.29994774, -0.700683594, 1.00000858, -0.000182559641, 4.58854083e-06, -0.000182564603, -1.00000799, 0.00110879575, 4.38563438e-06, -0.00110879727, -0.999999464))
meshs(N2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"")
N2=parts(m,"N2",Vector3.new(0.199999928, 0.399999738, 1.4000001),"Really black",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",LArm,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.9100647e-05, 0.800937653, 1.59953308, 1.00000858, -5.6068086e-07, -5.05879143e-07, 5.60671197e-07, 1.00000858, -8.01577698e-07, 5.0640665e-07, 7.92671926e-07, 1))
meshs(N2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"")
N2=parts(m,"N2",Vector3.new(0.199999928, 0.399999738, 1.4000001),"Really black",Enum.Material.SmoothPlastic,0,0)
N2Weld=welds(N2,"N2Weld",LArm,N2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.29153442e-05, -1.20100975, 1.59948349, -1.00000858, 5.57568058e-07, -5.49412107e-06, -5.57165947e-07, -1.0000087, -7.11984467e-05, -5.49368451e-06, -7.12079345e-05, 1.00000012))
meshs(N2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Wedge,"")
N21=parts(m,"N21",Vector3.new(0.200000003, 0.200000003, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,1)
N21Weld=welds(N21,"N21Weld",LArm,N21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.38690186e-05, -1.00100994, 1.39948654, -1.00000858, 5.57568058e-07, -5.49412107e-06, -5.57165947e-07, -1.0000087, -7.11984467e-05, -5.49368451e-06, -7.12079345e-05, 1.00000012))
for _,v in pairs(m:children()) do
if v:IsA("Part")and v.Name=="N2T"then
v.BrickColor=Torso.BrickColor
end
end
aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, .2),NumberSequenceKeypoint.new(1, 0)})
bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
local Efect=create("ParticleEmitter"){
Color=ColorSequence.new(Color3.new(0, 0, 0)),
LightEmission=.45,
Texture="rbxassetid://50657528",
Transparency=bbb,
Size=aaa,
ZOffset=0,
Acceleration=Vector3.new(0, 0, 0),
LockedToPart=false,
EmissionDirection="Top",
Lifetime=NumberRange.new(.2, .6),
Rate=800,
Rotation=NumberRange.new(-100, 100),
RotSpeed=NumberRange.new(-50, 50),
Speed=NumberRange.new(0),
VelocitySpread=1000,
Enabled=false,
Parent=Root
}
local Buff=create("BillboardGui"){
Size=UDim2.new(5, 0, 15, 0),
Adornee=Root,
Parent=Root,
ExtentsOffset=Vector3.new(0, 3, 0),
AlwaysOnTop=true
}
local BuffLabel=create("TextLabel"){
AnchorPoint=Vector2.new(.5,.5),
BackgroundTransparency=1,
TextStrokeTransparency=1,
TextTransparency=1,
TextColor3=Color3.new(1, 0, 0),
Position=UDim2.new(.5, 0, .5, 0),
Size=UDim2.new(1.5, 0, .2, 0),
Text="gg",
Font="SourceSansBold",
TextScaled=true,
Parent=Buff,
}
function Damage(Type,Part,hit,dmg,delet)
if hit.Parent==nil then
return
end
local h=hit.Parent:FindFirstChildOfClass("Humanoid")
for _,v in pairs(hit.Parent:children()) do
if v:IsA("Humanoid")then
h=v
end
end
if h~=nil and hit.Parent.Name~=chr.Name then
if hit.Parent:findFirstChild("AHit")==nil then
h.Health=h.Health-dmg
if h.Health==math.huge then
hit.Parent:BreakJoints()
end
end
if Type=="Disappear"then
Part.Parent=nil
if hit.Parent:findFirstChild("AHit")==nil then
local c=create("BoolValue"){
Name="AHit",
Value=true,
Parent=hit.Parent}
game:GetService("Debris"):AddItem(c,0)
end
elseif Type=="None"then
if hit.Parent:findFirstChild("AHit")==nil then
local c=create("BoolValue"){
Name="AHit",
Value=true,
Parent=hit.Parent}
game:GetService("Debris"):AddItem(c,.25)
end
elseif Type=="None2"then
--[[if hit.Parent:findFirstChild("AHit")==nil then
local c=create("BoolValue"){
Name="AHit",
Value=true,
Parent=hit.Parent}
game:GetService("Debris"):AddItem(c,0)
end]]
end
end
end
function Mdamage(Type,Part,Magn,Dmg)
for _,c in pairs(workspace:children()) do
local hum=c:findFirstChildOfClass("Humanoid")
if hum~=nil then
local ddee=c:findFirstChild("Torso")
if ddee~=nil then
local targ=ddee.Position-Part.Position
local mag=targ.magnitude
if mag<=Magn and c.Name~=plr.Name then
Damage(Type,Part,ddee,Dmg)
if hum.Health==math.huge then
ddee:BreakJoints()
end
end
end
end
end
end
--v efec
function effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ)
local ex=create("Part"){
Size=Vector3.new(.2,.2,.2),
BrickColor=color,
CanCollide=false,
Material="Neon",
Anchored=true,
CFrame=CF,
Parent=par}
NoOutline(ex)
local exe=create("SpecialMesh"){
Scale=Vector3.new(x,y,z),
MeshType=mtyp,
Parent=ex}
game:GetService("Debris"):AddItem(ex,10)
coroutine.resume(coroutine.create(function()
for i=0,1.1,de do
swait()
ex.Transparency=i
exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
if typ==1 then
ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
end
end
ex:Remove()
end))
end
--v atak
function Shuriken()
attack=true
if cc==1 then
for i=1,3 do
for i=0,1,0.4 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(5.39479697e-06, 0, -5.39479697e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck.C0=clerp(Neck.C0,CFrame.new(-8.72439887e-06, 1.50000358, -6.32202955e-07, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
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),.4)
LS.C0=clerp(LS.C0,CFrame.new(-1.6232332, 0.186604798, -3.19772289e-06, 0.866025507, 0.5, 2.68220901e-07, -0.5, 0.866025448, -9.89961904e-07, -7.15255737e-07, 7.00354576e-07, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if skilldoing==true or skilldoing2==true then
break
end
end
sounds(Root,"rbxassetid://173979241",1.2,1)
local efec=parts(e,"hit",Vector3.new(1.4,.2,1.4),"Really black",Enum.Material.Neon,0,0)
efec.CFrame=Root.CFrame*CFrame.new(1.2,.8,-2)
meshs(efec,"Mesh",Vector3.new(3.2, 3.2, 3.2),Enum.MeshType.FileMesh,"11376946")
local fire=Efect:Clone()
fire.Parent=efec
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Really black").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=efec,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=efec.CFrame.lookVector*80}
local aaa = create("BodyAngularVelocity"){
Parent=efec,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,7,0)}
game:GetService("Debris"):AddItem(efec,5)
local hon=efec.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("Disappear",efec,hitt,15)
end
end)
for i=0,1,0.4 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing==true or skilldoing2==true then
break
end
end
end
for i=0,1,0.15 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing==true or skilldoing2==true then
break
end
end
else
for i=0,1,0.3 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(5.39479697e-06, 0, -5.39479697e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck.C0=clerp(Neck.C0,CFrame.new(-8.72439887e-06, 1.50000358, -6.32202955e-07, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
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),.4)
LS.C0=clerp(LS.C0,CFrame.new(-1.6232332, 0.186604798, -3.19772289e-06, 0.866025507, 0.5, 2.68220901e-07, -0.5, 0.866025448, -9.89961904e-07, -7.15255737e-07, 7.00354576e-07, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if skilldoing==true or skilldoing2==true then
break
end
end
sounds(Root,"rbxassetid://173979241",1.2,1)
for i=-15,15,15 do
local efec=parts(e,"hit",Vector3.new(1.4,.2,1.4),"Really black",Enum.Material.Neon,0,0)
efec.CFrame=Root.CFrame*CFrame.new(1.2,.8,-2)*CFrame.Angles(0,math.rad(i),0)
meshs(efec,"Mesh",Vector3.new(3.2, 3.2, 3.2),Enum.MeshType.FileMesh,"11376946")
local fire=Efect:Clone()
fire.Parent=efec
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Really black").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=efec,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=efec.CFrame.lookVector*80}
local aaa = create("BodyAngularVelocity"){
Parent=efec,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,7,0)}
game:GetService("Debris"):AddItem(efec,5)
local hon=efec.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("Disappear",efec,hitt,15)
end
end)
end
for i=0,1,0.15 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing==true or skilldoing2==true then
break
end
end
end
attack=false
end
--20
function Kunai()
if skilldoing==true then
return
end
skilldoing=true
sounds(Root,"rbxasset://sounds/swordslash.wav",1.2,1)
for i=0,1,0.25 do
swait()
Torso.Velocity=Root.CFrame.lookVector*140
RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0, 0, 0.866025388, 0, 0.500000238, 2.13162821e-14, 1.00000286, 1.19782726e-08, -0.500001669, 0, 0.866028011)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(-5.96048153e-08, 1.49998045, 1.21205701e-07, 0.866025388, 2.13162821e-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726e-08, 0.866028011)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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-07, -0.129408836, 0.224144787, 0.965928316)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
LS.C0=clerp(LS.C0,CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908e-09, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
if attack==true or skilldoing2==true then
break
end
end
for i=0,1,0.07 do
swait()
Mdamage("None",N21,4,55)
RJ.C0=clerp(RJ.C0,CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465e-07, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck.C0=clerp(Neck.C0,CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319e-07, 0.866025388, -1.34110465e-07, 1.00000012, -4.76837158e-07, -0.866025388, 1.11758709e-07, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
RS.C0=clerp(RS.C0,CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901e-07, -0.866025746, 0.499999553, 1, 2.23517418e-07, -1.1920929e-07, -1.49011612e-08, 0.499999613, 0.866025746)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
LS.C0=clerp(LS.C0,CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328e-06, -0.258817494, 0.96592623, 1, -4.54485416e-07, -2.16066837e-06, 9.68575478e-07, 0.965926409, 0.258817494)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if attack==true or skilldoing2==true then
break
end
end
skilldoing=false
end
--15
function Lightning_Shuriken()
if skilldoing2==true then
return
end
skilldoing2=true
local ref=parts(m,"ref",Vector3.new(5, 0.200000003, 5),"Toothpaste",Enum.Material.Plastic,0,0)
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, -0.000513309264, -0.706745803, 0.707473516, 1.00000846, -0.000678976241, 4.72805768e-05, 0.000446942693, 0.707479417, 0.706740022))
meshs(ref,"Mesh",Vector3.new(12, 3, 12),Enum.MeshType.FileMesh,"11376946")
for i=0,1,0.034 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(6.64666277e-06, 0, -1.00668276e-05, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
Neck.C0=clerp(Neck.C0,CFrame.new(-1.0692761e-05, 1.5000031, -3.05878189e-06, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
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),.15)
LS.C0=clerp(LS.C0,CFrame.new(-1.57073712, 0.122477025, 7.45061016e-06, 0.965925932, 0.258818954, -1.49011612e-07, -0.258818954, 0.965925813, -6.80347227e-07, -1.49011612e-08, 7.00354576e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
if attack==true or skilldoing==true then
break
end
end
for i=0,1,0.4 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
if attack==true or skilldoing==true then
break
end
end
sounds(Root,"rbxassetid://173979241",1.2,1)
refWeld:Remove()
ref.CFrame=Root.CFrame*CFrame.new(0,.8,-2)
local fire=Efect:Clone()
fire.Parent=ref
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Toothpaste").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=ref,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=ref.CFrame.lookVector*65}
local aaa = create("BodyAngularVelocity"){
Parent=ref,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,-12,0)}
game:GetService("Debris"):AddItem(ref,5)
local hon=ref.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("None2",ref,hitt,10)
end
end)
for i=0,1,0.08 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
if attack==true or skilldoing==true then
break
end
end
skilldoing2=false
end
--15
function ShurikenC()
if attack2==true then
return
end
attack2=true
if cc==1 then
for i=1,3 do
for i=0,1,0.4 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(5.39479697e-06, 0, -5.39479697e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-8.72439887e-06, 1.50000358, -6.32202955e-07, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
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),.4)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.6232332, 0.186604798, -3.19772289e-06, 0.866025507, 0.5, 2.68220901e-07, -0.5, 0.866025448, -9.89961904e-07, -7.15255737e-07, 7.00354576e-07, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if skilldoing4==true or skilldoing5==true or hum2.Health<1 then
break
end
end
sounds(Root2,"rbxassetid://173979241",1.2,1)
local efec=parts(e,"hit",Vector3.new(1.4,.2,1.4),"Really black",Enum.Material.Neon,0,0)
efec.CFrame=Root2.CFrame*CFrame.new(1.2,.8,-2)
meshs(efec,"Mesh",Vector3.new(3.2, 3.2, 3.2),Enum.MeshType.FileMesh,"11376946")
local fire=Efect:Clone()
fire.Parent=efec
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Really black").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=efec,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=efec.CFrame.lookVector*80}
local aaa = create("BodyAngularVelocity"){
Parent=efec,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,7,0)}
game:GetService("Debris"):AddItem(efec,5)
local hon=efec.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("Disappear",efec,hitt,15)
end
end)
for i=0,1,0.4 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing5==true or skilldoing4==true or hum2.Health<1 then
break
end
end
end
for i=0,1,0.15 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing5==true or skilldoing4==true or hum2.Health<1 then
break
end
end
else
for i=0,1,0.3 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(5.39479697e-06, 0, -5.39479697e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-8.72439887e-06, 1.50000358, -6.32202955e-07, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
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),.4)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.6232332, 0.186604798, -3.19772289e-06, 0.866025507, 0.5, 2.68220901e-07, -0.5, 0.866025448, -9.89961904e-07, -7.15255737e-07, 7.00354576e-07, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if skilldoing5==true or skilldoing4==true or hum2.Health<1 then
break
end
end
sounds(Root2,"rbxassetid://173979241",1.2,1)
for i=-15,15,15 do
local efec=parts(e,"hit",Vector3.new(1.4,.2,1.4),"Really black",Enum.Material.Neon,0,0)
efec.CFrame=Root2.CFrame*CFrame.new(1.2,.8,-2)*CFrame.Angles(0,math.rad(i),0)
meshs(efec,"Mesh",Vector3.new(3.2, 3.2, 3.2),Enum.MeshType.FileMesh,"11376946")
local fire=Efect:Clone()
fire.Parent=efec
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Really black").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=efec,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=efec.CFrame.lookVector*80}
local aaa = create("BodyAngularVelocity"){
Parent=efec,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,7,0)}
game:GetService("Debris"):AddItem(efec,5)
local hon=efec.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("Disappear",efec,hitt,15)
end
end)
end
for i=0,1,0.15 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(5.39422035e-06, 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),.45)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-6.32202955e-07, 1.50000358, 8.72439887e-06, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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),.45)
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),.45)
if skilldoing5==true or skilldoing4==true or hum2.Health<1 then
break
end
end
end
attack2=false
end
--20
function KunaiC()
if skilldoing5==true then
return
end
skilldoing5=true
sounds(Root2,"rbxasset://sounds/swordslash.wav",1.2,1)
for i=0,1,0.25 do
swait()
Torso2.Velocity=Root2.CFrame.lookVector*140
RJ2.C0=clerp(RJ2.C0,CFrame.new(-0, -0, 0, 0.866025388, 0, 0.500000238, 2.13162821e-14, 1.00000286, 1.19782726e-08, -0.500001669, 0, 0.866028011)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-5.96048153e-08, 1.49998045, 1.21205701e-07, 0.866025388, 2.13162821e-14, -0.500001669, 0, 1.00000286, 0, 0.500000238, 1.19782726e-08, 0.866028011)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
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-07, -0.129408836, 0.224144787, 0.965928316)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.71560395, 0.0669845939, -0.161288857, 0.258820772, 0.836516619, 0.482963234, -3.04645908e-09, 0.50000155, -0.866028011, -0.965928495, 0.224143565, 0.129409388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
if attack2==true or skilldoing4==true or hum2.Health<1 then
break
end
end
for i=0,1,0.07 do
swait()
Mdamage("None",N22,4,55)
RJ2.C0=clerp(RJ2.C0,CFrame.new(-0.0203323364, -0.0963098034, -1.39782917, 0.500000119, -1.34110465e-07, -0.866025388, 0.22414431, 0.965927184, 0.129409656, 0.836517394, -0.258819491, 0.482963771)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-0.00815251563, 1.49997628, -0.0281848833, 0.500000119, 4.91738319e-07, 0.866025388, -1.34110465e-07, 1.00000012, -4.76837158e-07, -0.866025388, 1.11758709e-07, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
RS2.C0=clerp(RS2.C0,CFrame.new(1.93907893, 0.436611146, -0.555155039, 2.68220901e-07, -0.866025746, 0.499999553, 1, 2.23517418e-07, -1.1920929e-07, -1.49011612e-08, 0.499999613, 0.866025746)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.12217736, 0.466988266, -0.830502391, 1.96695328e-06, -0.258817494, 0.96592623, 1, -4.54485416e-07, -2.16066837e-06, 9.68575478e-07, 0.965926409, 0.258817494)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
if attack2==true or skilldoing4==true or hum2.Health<1 then
break
end
end
skilldoing5=false
end
--15
function Lightning_ShurikenC()
if skilldoing4==true then
return
end
skilldoing4=true
local ref=parts(m,"ref",Vector3.new(5, 0.200000003, 5),"Toothpaste",Enum.Material.Plastic,0,0)
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, -0.000513309264, -0.706745803, 0.707473516, 1.00000846, -0.000678976241, 4.72805768e-05, 0.000446942693, 0.707479417, 0.706740022))
meshs(ref,"Mesh",Vector3.new(12, 3, 12),Enum.MeshType.FileMesh,"11376946")
for i=0,1,0.034 do
swait()
RJ2.C0=clerp(RJ2.C0,CFrame.new(6.64666277e-06, 0, -1.00668276e-05, 0.258818984, 0, 0.965925872, 0, 1, 0, -0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-1.0692761e-05, 1.5000031, -3.05878189e-06, 0.258818984, 0, -0.965925872, 0, 1, 0, 0.965925872, 0, 0.258818984)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
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),.15)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.57073712, 0.122477025, 7.45061016e-06, 0.965925932, 0.258818954, -1.49011612e-07, -0.258818954, 0.965925813, -6.80347227e-07, -1.49011612e-08, 7.00354576e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.15)
if attack2==true or skilldoing5==true or hum2.Health<1 then
break
end
end
for i=0,1,0.4 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
if attack2==true or skilldoing5==true or hum2.Health<1 then
break
end
end
sounds(Root2,"rbxassetid://173979241",1.2,1)
refWeld:Remove()
ref.CFrame=Root2.CFrame*CFrame.new(0,.8,-2)
local fire=Efect:Clone()
fire.Parent=ref
--fire.Rate=800
fire.Color=ColorSequence.new(BrickColor.new("Toothpaste").Color)
fire.Enabled=true
local aa=create("BodyVelocity"){
Parent=ref,
MaxForce=Vector3.new(math.huge, math.huge, math.huge),
Velocity=ref.CFrame.lookVector*65}
local aaa = create("BodyAngularVelocity"){
Parent=ref,
MaxTorque=Vector3.new(math.huge,math.huge,math.huge),
AngularVelocity = Vector3.new(0,-12,0)}
game:GetService("Debris"):AddItem(ref,5)
local hon=ref.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("None2",ref,hitt,10)
end
end)
for i=0,1,0.08 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
if attack2==true or skilldoing5==true or hum2.Health<1 then
break
end
end
skilldoing4=false
end
aaaa=nil
function weeb()
skilldoing3=true
for i=0,1,0.12 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
end
for i=0,1,0.1 do
swait()
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),.4)
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),.4)
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),.4)
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),.4)
end
chr.Archivable=true
clone=chr:Clone()
clone.Parent=workspace
swait()
clone.Parent=chr
Head2=clone.Head
Root2=clone.HumanoidRootPart
Torso2=clone.Torso
Root2.CFrame=Root.CFrame*CFrame.new(0,0,-3)
RArm2=clone["Right Arm"]
LArm2=clone["Left Arm"]
RLeg2=clone["Right Leg"]
LLeg2=clone["Left Leg"]
clone.Sound:Remove()
for _,v in pairs(clone:children()) do
if v:IsA("Part") and v.Name=="Torso"then
for _,vs in pairs(v:children()) do
if vs:IsA("Motor6D")or vs:IsA("Motor") then
vs:Remove()
end
end
else
for _,vs in pairs(v:children()) do
if vs:IsA("Sound") then
vs:Remove()
end
end
end
end
hum2=clone:findFirstChildOfClass("Humanoid")
N22=clone.Suit.N21
RJ2=newMotor(Root2, Torso2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
Neck2=newMotor(Torso2, Head2, CFrame.new(0,1.5,0),CFrame.new(0,0,0))
RS2=newMotor(Torso2, RArm2, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
LS2=newMotor(Torso2, LArm2, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
RH2=newMotor(Torso2, RLeg2, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
LH2=newMotor(Torso2, LLeg2, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
aaaa=clone
swait()
effect(e,Torso.BrickColor,Root2.CFrame,40,40,40,1.5,1.5,1.5,.06,"Sphere",2)
sounds(Root2,"rbxassetid://944087788",1.2,1)
clonez=true
skilldoing3=false
end
mouse.Button1Down:connect(function()
if attack==false then
coroutine.resume(coroutine.create(function()
Shuriken()
end))
if clonez==true then
ShurikenC()
end
end
end)
mouse.KeyDown:connect(function(k)
k=k:lower()
if k=="z" and skilldoing==false then
coroutine.resume(coroutine.create(function()
Kunai()
end))
if clonez==true then
KunaiC()
end
elseif k=="x" and skilldoing2==false then
coroutine.resume(coroutine.create(function()
Lightning_Shuriken()
end))
if clonez==true then
Lightning_ShurikenC()
end
elseif k=="c"and cc==1 then
cc=2
print'wide'
elseif k=="c"and cc==2 then
cc=1
print'straight'
elseif k=="n"and clonez==false then
weeb()
elseif k==" " and (Pose=="Jump"or Pose=="Fall")then
sounds(Root,"rbxassetid://322364178",.7,1)
Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*70)
if clonez==true then
sounds(Root2,"rbxassetid://322364178",.7,1)
Torso2.Velocity=(Root2.CFrame.lookVector*hum2.WalkSpeed)+(Vector3.new(0,1,0)*70)
end
end
if k==" " and clonez==true then
hum2.Jump=true
end
end)
Pose2="Idle"
coroutine.resume(coroutine.create(function()
while true do
swait()
if clonez==true and aaaa~=nil then
if hum2.Health<1 then
game:GetService("Debris"):AddItem(clone,5)
swait(2)
Head2,Root2,RArm2,LArm2,RLeg2,LLeg2=nil,nil,nil,nil,nil,nil
aaaa=nil
clonez=false
end
end
if clonez==true and aaaa~=nil then
hum2.WalkSpeed=35
local torvel=(Root2.Velocity*Vector3.new(1,0,1)).magnitude
local velderp=Root2.Velocity.y
hitfloor,posfloor=rayCast(Root2.Position,(CFrame.new(Root2.Position,Root2.Position-Vector3.new(0,1,0))).lookVector,4,chr)
if Root2.Velocity.y>1 and hitfloor==nil then
Pose2="Jump"
if attack2==false and skilldoing5==false and skilldoing4==false then
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),.3)
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),.3)
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),.3)
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),.3)
end
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),.3)
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),.3)
elseif Root2.Velocity.y<-1 and hitfloor==nil then
Pose2="Fall"
if attack2==false and skilldoing5==false and skilldoing4==false then
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),.3)
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),.3)
RS2.C0=clerp(RS2.C0,CFrame.new(1.63909817, 0.114127249, -2.24583914e-07, 0.965925992, -0.258818954, 1.78813934e-07, 0.258818924, 0.965925932, -6.76490401e-07, 0, 7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.63910222, 0.114126861, 2.24584937e-07, 0.965925992, 0.258818954, 1.78813934e-07, -0.258818924, 0.965925932, 6.76490401e-07, 0, -7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
end
RH2.C0=clerp(RH2.C0,CFrame.new(0.499996245, -1.99998808, -7.62939544e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
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),.3)
elseif torvel<1 and hitfloor~=nil then
Pose2="Idle"
if attack2==false and skilldoing5==false and skilldoing4==false then
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-.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
Neck2.C0=clerp(Neck2.C0,CFrame.new(-9.53674771e-07, 1.49998951, -1.65181234e-06, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
RS2.C0=clerp(RS2.C0,CFrame.new(1.67320299, 0.10000509, 3.71405895e-06, 0.866025567, -0.5, 8.94069672e-08, 0.49999994, 0.866025507, -2.49183756e-07, 5.96046448e-08, 2.5331974e-07, 1.00000012)*CFrame.new(0-.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0-8*math.cos(sin/18))),.3)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.67320156, 0.0999999046, 1.0063988e-07, 0.866025567, 0.5, 8.94069672e-08, -0.49999994, 0.866025507, 2.50893436e-07, 5.96046448e-08, -2.5331974e-07, 1.00000012)*CFrame.new(0+.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0+8*math.cos(sin/18))),.3)
end
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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
elseif torvel>2 and hitfloor~=nil then
Pose2="Walk"
if attack2==false and skilldoing5==false and skilldoing4==false then
RJ2.C0=clerp(RJ2.C0,CFrame.new(0, -0.0669884086-.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),.3)
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),.3)
RS2.C0=clerp(RS2.C0,CFrame.new(1.50000083, -1.7881257e-07, -7.55374003e-07, 0.866024852, -0.500000954, -3.31524848e-06, 0.500000954, 0.866024971, -2.38418579e-07, 2.98023224e-06, -1.4603138e-06, 1.00000012)*CFrame.new(.2,.1,0+.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0-70*math.cos(sin/6)),0,0),.3)
LS2.C0=clerp(LS2.C0,CFrame.new(-1.5, 7.74863224e-07, -2.42472197e-07, 0.86602515, 0.500000536, -1.43179045e-06, -0.500000536, 0.866025209, 1.49011612e-06, 1.98185444e-06, -5.66244125e-07, 1.00000012)*CFrame.new(-.2,.1,0-.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0+70*math.cos(sin/6)),0,0),.3)
end
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),.3)
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),.3)
end
end
end
end))
while chr.Humanoid.Health>=0 do
swait()
sin=sin+cha
hum.WalkSpeed=35
local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
local velderp=Root.Velocity.y
hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
if Root.Velocity.y>1 and hitfloor==nil then
Pose="Jump"
if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
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),.3)
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),.3)
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),.3)
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),.3)
end
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),.3)
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),.3)
elseif Root.Velocity.y<-1 and hitfloor==nil then
Pose="Fall"
if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
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),.3)
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),.3)
RS.C0=clerp(RS.C0,CFrame.new(1.63909817, 0.114127249, -2.24583914e-07, 0.965925992, -0.258818954, 1.78813934e-07, 0.258818924, 0.965925932, -6.76490401e-07, 0, 7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
LS.C0=clerp(LS.C0,CFrame.new(-1.63910222, 0.114126861, 2.24584937e-07, 0.965925992, 0.258818954, 1.78813934e-07, -0.258818924, 0.965925932, 6.76490401e-07, 0, -7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
end
RH.C0=clerp(RH.C0,CFrame.new(0.499996245, -1.99998808, -7.62939544e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
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),.3)
elseif torvel<1 and hitfloor~=nil then
Pose="Idle"
if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
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-.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
Neck.C0=clerp(Neck.C0,CFrame.new(-9.53674771e-07, 1.49998951, -1.65181234e-06, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
RS.C0=clerp(RS.C0,CFrame.new(1.67320299, 0.10000509, 3.71405895e-06, 0.866025567, -0.5, 8.94069672e-08, 0.49999994, 0.866025507, -2.49183756e-07, 5.96046448e-08, 2.5331974e-07, 1.00000012)*CFrame.new(0-.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0-8*math.cos(sin/18))),.3)
LS.C0=clerp(LS.C0,CFrame.new(-1.67320156, 0.0999999046, 1.0063988e-07, 0.866025567, 0.5, 8.94069672e-08, -0.49999994, 0.866025507, 2.50893436e-07, 5.96046448e-08, -2.5331974e-07, 1.00000012)*CFrame.new(0+.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0+8*math.cos(sin/18))),.3)
end
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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
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+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
elseif torvel>2 and hitfloor~=nil then
Pose="Walk"
if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
RJ.C0=clerp(RJ.C0,CFrame.new(0, -0.0669884086-.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),.3)
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),.3)
RS.C0=clerp(RS.C0,CFrame.new(1.50000083, -1.7881257e-07, -7.55374003e-07, 0.866024852, -0.500000954, -3.31524848e-06, 0.500000954, 0.866024971, -2.38418579e-07, 2.98023224e-06, -1.4603138e-06, 1.00000012)*CFrame.new(.2,.1,0+.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0-70*math.cos(sin/6)),0,0),.3)
LS.C0=clerp(LS.C0,CFrame.new(-1.5, 7.74863224e-07, -2.42472197e-07, 0.86602515, 0.500000536, -1.43179045e-06, -0.500000536, 0.866025209, 1.49011612e-06, 1.98185444e-06, -5.66244125e-07, 1.00000012)*CFrame.new(-.2,.1,0-.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0+70*math.cos(sin/6)),0,0),.3)
end
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),.3)
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),.3)
end
if clonez==true then
hum2:MoveTo(Torso.Position+Vector3.new(0,0,5))
end
end