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: Controller from Critical Strike]]--
--[[zfvxer]]--
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()
Pose="Idle"
attack=false
skilldoing=false
skilldoing2=false
comb=1
sin=0
cha=1
alpha=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="rbxassetid://"..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"
C2T=parts(m,"C2T",Vector3.new(2.10000014, 0.199999928, 1.30000007),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.00002003, -0.0500059128, 1, 0, 0, 0, 1, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1.20000005, 1.9000001, 0.200000003),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, -0.0500016212, 0.599995613, 1, 0, 0, 0, 1, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(2.10000014, 0.299999803, 1.30000007),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.95001626, -0.0500059128, 1, 0, 0, 0, 1, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2=parts(m,"C2",Vector3.new(1.20000005, 0.799999833, 0.399999917),"Fossil",Enum.Material.SmoothPlastic,0,0)
C2Weld=welds(C2,"C2Weld",Torso,C2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, -0.900016069, 0.699983597, 1, 0, 0, 0, 1, 0, 0, 0, 1))
meshs(C2,"Mesh",Vector3.new(1.00999999, 1, 1),Enum.MeshType.Brick,"")
C2=parts(m,"C2",Vector3.new(1, 1, 0.799999952),"Fossil",Enum.Material.SmoothPlastic,0,0)
C2Weld=welds(C2,"C2Weld",Torso,C2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0353507996, 0.035358429, -0.900011063, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1, 1, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.964647293, 0.035358429, -1.00001144, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1, 1, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0353507996, 1.03535748, -1.00001144, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1.80000019, 1.9000001, 0.200000003),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, -0.0500016212, -0.600008965, 1, 0, 0, 0, 1, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1, 1, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0353488922, -0.964644432, -1.00001144, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2T=parts(m,"C2T",Vector3.new(1, 1, 1),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
C2TWeld=welds(C2T,"C2TWeld",Torso,C2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.03535461, 0.0353565216, -1.00001144, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2=parts(m,"C2",Vector3.new(0.200000003, 1, 0.100000001),"Institutional white",Enum.Material.SmoothPlastic,0,0)
C2Weld=welds(C2,"C2Weld",Torso,C2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0353507996, 0.035358429, -1.35001087, 0.707112908, 0.707112908, 0, -0.707112908, 0.707112908, 0, 0, 0, 1))
meshs(C2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
C2=parts(m,"C2",Vector3.new(0.200000003, 1, 0.100000001),"Institutional white",Enum.Material.SmoothPlastic,0,0)
C2Weld=welds(C2,"C2Weld",Torso,C2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.035358429, -0.0353507996, -1.35000992, -0.707112908, 0.707112908, 0, -0.707112908, -0.707112908, 0, 0, 0, 1))
meshs(C2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
for _,v in pairs(m:children()) do
if v:IsA("Part")and v.Name=="C2T"then
v.BrickColor=Torso.BrickColor
end
end
aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, .3),NumberSequenceKeypoint.new(1, .3)})
bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
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=100,
Rotation=NumberRange.new(-100, 100),
RotSpeed=NumberRange.new(-50, 50),
Speed=NumberRange.new(3),
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,model)
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,.2)
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,.2)
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=BrickColor.new(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 other
function B()
local Head=parts(e,"Head",Vector3.new(2.5, 2.5, 2.5),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
Head.CFrame=Root.CFrame*CFrame.new(0,0,-2.5)
Head.CanCollide=true
Head.BrickColor=Torso.BrickColor
Head.CustomPhysicalProperties=PhysicalProperties.new(80,0,0,0,0)
game:GetService("Debris"):AddItem(Head,60)
local aa=create("BodyVelocity"){
Parent=Head,
MaxForce=Vector3.new(math.huge, 0, math.huge),
Velocity=Head.CFrame.lookVector*30}
local hon=Head.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("None",Head,hitt,20)
end
end)
end
function As()
local Head=parts(e,"Head2",Vector3.new(1.70000005, 1.70000005, 1.70000005),"Medium stone grey",Enum.Material.SmoothPlastic,0,0)
Head.CFrame=Root.CFrame*CFrame.new(0,0,-2.5)
Head.CanCollide=true
Head.BrickColor=Torso.BrickColor
Head.CustomPhysicalProperties=PhysicalProperties.new(80,0,0,0,0)
game:GetService("Debris"):AddItem(Head,60)
local aa=create("BodyVelocity"){
Parent=Head,
MaxForce=Vector3.new(math.huge, 0, math.huge),
Velocity=Head.CFrame.lookVector*45}
local hon=Head.Touched:connect(function(hitt)
if hitt.Parent.Name~=chr.Name then
Damage("Disappear",Head,hitt,40)
end
end)
end
--v atak
function Brawler()
attack=true
for i=0,1,0.3 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0, -1.00000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49998951, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
RS.C0=clerp(RS.C0,CFrame.new(0.547373652, 0.499999046, -0.549998164, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
LS.C0=clerp(LS.C0,CFrame.new(-0.460764199, 0.499999046, -0.600003898, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
if skilldoing==true or skilldoing2==true then
break
end
end
sounds(Root,"173979241",1,1)
B()
for i=0,1,0.09 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),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49998951, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
RS.C0=clerp(RS.C0,CFrame.new(1.83301508, 0.499999046, 0.423216492, -0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, -0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.453)
LS.C0=clerp(LS.C0,CFrame.new(-1.83300996, 0.499999046, 0.423202515, -0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, -0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
if skilldoing==true or skilldoing2==true then
break
end
end
attack=false
end
--20
function Assassin()
if skilldoing==true then
return
end
skilldoing=true
for i=0,1,0.3 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0, -1.00000381, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49998951, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
RS.C0=clerp(RS.C0,CFrame.new(0.547373652, 0.499999046, -0.549998164, 0.707106829, 0.707106829, 0, 0, 0, -1, -0.707106829, 0.707106829, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
LS.C0=clerp(LS.C0,CFrame.new(-0.460764199, 0.499999046, -0.600003898, 0.707106829, -0.707106829, 0, 0, 0, -1, 0.707106829, 0.707106829, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.55)
if attack==true or skilldoing2==true then
break
end
end
sounds(Root,"173979241",1,1)
As()
for i=0,1,0.09 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),.45)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49998951, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
RS.C0=clerp(RS.C0,CFrame.new(1.83301508, 0.499999046, 0.423216492, -0.500000238, -0.866025388, 0, 0, 0, -1, 0.866025388, -0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.453)
LS.C0=clerp(LS.C0,CFrame.new(-1.83300996, 0.499999046, 0.423202515, -0.500000238, 0.866025388, 0, 0, 0, -1, -0.866025388, -0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.45)
if attack==true or skilldoing2==true then
break
end
end
skilldoing=false
end
--15
function Alpha()
if skilldoing2==true or alpha==true then
return
end
alpha=true
skilldoing2=true
for i=0,1,0.06 do
swait()
RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0, -0, 1.00001717, 0, 0, 0, 1.00001717, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.47412455, -0.0965931118, 1.00000858, 0, 0, 0, 0.965934217, 0.2588211, 0, -0.258818865, 0.965925932)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
RS.C0=clerp(RS.C0,CFrame.new(0.900023222, 0.500005722, -1.03923404, 0, 0.50000453, 0.866032839, 1.00000858, 0, 0, 0, 0.866025388, -0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
LS.C0=clerp(LS.C0,CFrame.new(-0.900027871, 0.500005722, -1.03923345, 0, -0.50000453, -0.866032839, -1.00000858, 0, 0, 0, 0.866025388, -0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
end
local Head=parts(e,"Head3",Vector3.new(.2,.2,.2),"Medium stone grey",Enum.Material.Neon,0,0)
Head.Anchored=true
Head.CFrame=Root.CFrame*CFrame.new(0,0,-4)
Head.BrickColor=Torso.BrickColor
Head.CustomPhysicalProperties=PhysicalProperties.new(100,0,0,0,0)
game:GetService("Debris"):AddItem(Head,180)
local aa=create("BodyVelocity"){
Parent=Head,
MaxForce=Vector3.new(math.huge, 0, math.huge),
Velocity=Head.CFrame.lookVector*20}
sounds(Head,"1146150800",1,2)
for i=0,1,0.01 do
swait()
Head.Size=Head.Size+Vector3.new(.06,.06,.06)
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),.2)
Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.5000062, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
RS.C0=clerp(RS.C0,CFrame.new(1.18436551, 0.0355909765, -0.872276664, 0.129409954, 0.224145025, 0.965925515, 0.851270676, 0.47444433, -0.224144831, -0.508518815, 0.851270616, -0.129410267)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
LS.C0=clerp(LS.C0,CFrame.new(-1.20668364, 1.00586474, -0.894389629, 0.250001013, -0.194113851, -0.948588133, -0.866024971, -0.482963473, -0.129410505, -0.433012992, 0.853853762, -0.288848788)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.2)
end
Head.CanCollide=true
Head.Anchored=false
local hon=Head.Touched:connect(function(hitt)
if hitt.Parent.Name==chr.Name then
hum.Health=hum.Health+.2
end
end)
skilldoing2=false
end
--15
mouse.Button1Down:connect(function()
if attack==false then
Brawler()
end
end)
mouse.KeyDown:connect(function(k)
k=k:lower()
if k=="z" and skilldoing==false then
Assassin()
elseif k=="x" and skilldoing2==false and alpha==false then
Alpha()
end
end)
while chr.Humanoid.Health>=0 do
swait()
sin=sin+cha
hum.WalkSpeed=25
if alpha==true and skilldoing==false and e:findFirstChild("Head3")==nil then
alpha=false
end
if chr:findFirstChild("Effect")==nil then
e=Instance.new("Model",chr)
e.Name="Effect"
end
for _,v in pairs(e:children()) do
if v:IsA("Part")then
if v.Name=="Head"then
if v:findFirstChild("BodyVelocity")~=nil then
v:findFirstChild("BodyVelocity").Velocity=Root.CFrame.lookVector*35
end
elseif v.Name=="Head2"then
if v:findFirstChild("BodyVelocity")~=nil then
v:findFirstChild("BodyVelocity").Velocity=Root.CFrame.lookVector*50
end
elseif v.Name=="Head3"then
if v:findFirstChild("BodyVelocity")~=nil then
v:findFirstChild("BodyVelocity").Velocity=CFrame.new(v.Position,Root.Position).lookVector*12
end
end
end
end
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 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
if attack==false and skilldoing2==false then
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)
end
elseif Root.Velocity.y<-1 and hitfloor==nil then
Pose="Fall"
if attack==false and skilldoing==false and skilldoing2==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
if attack==false and skilldoing2==false then
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)
end
elseif torvel<1 and hitfloor~=nil then
Pose="Idle"
if attack==false and skilldoing==false and skilldoing2==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
if attack==false and skilldoing2==false then
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)
end
elseif torvel>2 and hitfloor~=nil then
Pose="Walk"
if attack==false and skilldoing==false and skilldoing2==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
if attack==false and skilldoing2==false then
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
end
end