fe-neko
fe-neko
com/raw/YLfR8Qx9"))()
-- big ban bootleg by x5ul
Bypass = "death"
FELOADLIBRARY = {}
loadstring(game:GetObjects("rbxassetid://5209815302")[1].Source)()
loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
ZTfade=false
ZT=false
local forWFB = 0
local forWRL = 0
Effects=Instance.new("Folder",Character)
Effects.Name="Effects"
it=Instance.new
vt=Vector3.new
cf=CFrame.new
euler=CFrame.fromEulerAnglesXYZ
angles=CFrame.Angles
local cn = CFrame.new
mr=math.rad
mememode=false
IT = Instance.new
CF = CFrame.new
VT = Vector3.new
RAD = math.rad
C3 = Color3.new
UD2 = UDim2.new
BRICKC = BrickColor.new
ANGLES = CFrame.Angles
EULER = CFrame.fromEulerAnglesXYZ
COS = math.cos
ACOS = math.acos
SIN = math.sin
ASIN = math.asin
ABS = math.abs
MRANDOM = math.random
FLOOR = math.floor
playsong = true
s2.SoundId = lastid
if playsong == true then
wait(2)
s2:play()
elseif playsong == false then
s2:stop()
end
lastsongpos= 0
crosshair = Instance.new("BillboardGui",Character)
crosshair.Size = UDim2.new(10,0,10,0)
crosshair.Enabled = false
imgl = Instance.new("ImageLabel",crosshair)
imgl.Position = UDim2.new(0,0,0,0)
imgl.Size = UDim2.new(1,0,1,0)
imgl.Image = "rbxassetid://578065407"
imgl.BackgroundTransparency = 1
imgl.ImageTransparency = .7
imgl.ImageColor3 = Color3.new(1,1,1)
crosshair.StudsOffset = Vector3.new(0,0,-1)
--//=================================\\
--|| LOCAL IDS
--\\=================================//
local GROWL = 1544355717
local ROAR = 528589382
local ECHOBLAST = 376976397
local CAST = 459523898
local ALCHEMY = 424195979
local BUILDUP = 698824317
local BIGBUILDUP = 874376217
local IMPACT = 231917744
local LARGE_EXPLOSION = 168513088
local TURNUP = 299058146
local Weld37 = Instance.new("Weld")
local Weld39 = Instance.new("Weld")
local Part36 = Instance.new("Part")
local Part38 = Instance.new("Part")
local Model13 = Instance.new("Model")
if Character:FindFirstChild("Animate")then
Character.Animate:Destroy()
end
function RemoveOutlines(part)
part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface,
part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
end
CFuncs = {
Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor,
Name, Size)
coroutine.resume(coroutine.create(function()
coroutine.wrap(function()
while true do
if not Character or not Character:FindFirstChild("Humanoid") or
Character:FindFirstChild("Humanoid").Health <= 0 then
MeHasDied = true
break
end
wait()
end
end)()
--//=================================\\
--|| SAZERENOS ARTIFICIAL HEARTBEAT
--\\=================================//
Frame_Speed = 1 / 30
ArtificialHB = Instance.new("BindableEvent", script)
ArtificialHB.Name = "ArtificialHB"
script:WaitForChild("ArtificialHB")
frame = Frame_Speed
tf = 0
allowframeloss = false
tossremainder = false
lastframe = tick()
script.ArtificialHB:Fire()
game:GetService("RunService").Heartbeat:connect(function(s, p)
tf = tf + s
if tf >= frame then
if allowframeloss then
script.ArtificialHB:Fire()
lastframe = tick()
else
for i = 1, math.floor(tf / frame) do
script.ArtificialHB:Fire()
end
lastframe = tick()
end
if tossremainder then
tf = 0
else
tf = tf - frame * math.floor(tf / frame)
end
end
end)
--//=================================\\
--\\=================================//
function Swait(NUMBER)
if NUMBER == 0 or NUMBER == nil then
ArtificialHB.Event:wait()
else
for i = 1, NUMBER do
ArtificialHB.Event:wait()
end
end
end
---------------
--[Functions]--
---------------
so = function(id, par, vol, pit)
end
function weld(parent,part0,part1,c0)
local weld=it("Weld")
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
return weld
end
function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
local MoveStyle = Enum.EasingStyle[MoveStyle2]
local outorin = Enum.EasingDirection[outorin2]
local dahspeed=1
if attack == true and mememode == true then
dahspeed=5
end
if SPart.Name=="Bullet" then
dahspeed=1
end
function GatherAllInstances(Parent,ig)
local Instances = {}
local Ignore=nil
if ig ~= nil then
Ignore = ig
end
if v ~= Ignore then
GatherInstances(v,Ignore)
table.insert(Instances, v) end
end
end
GatherInstances(Parent,Ignore)
return Instances
end
function weld(parent,part0,part1,c0)
local weld=it("Weld")
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
return weld
end
function joint(parent,part0,part1,c0)
local weld=it("Motor6D")
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
return weld
end
ArmorParts = {}
--ArmorParts = {}
function WeldAllTo(Part1,Part2,scan,Extra)
local EXCF = Part2.CFrame * Extra
for i, v3 in pairs(scan:GetDescendants()) do
if v3:isA("BasePart") then
local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
v3.Anchored=false
v3.Massless = true
v3.CanCollide=false
v3.Parent = Part1
v3.Locked = true
if not v3:FindFirstChild("Destroy") then
table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col =
v3.Color,Mat=v3.Material.Name })
else
v3:Destroy()
end
end
end
Part1.Transparency=1
--Part2:Destroy()
end
function JointAllTo(Part1,Part2,scan,Extra)
local EXCF = Part2.CFrame * Extra
for i, v3 in pairs(scan:GetDescendants()) do
if v3:isA("BasePart") then
local STW=joint(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
v3.Anchored=false
v3.Massless = true
v3.CanCollide=false
v3.Parent = Part1
v3.Locked = true
if not v3:FindFirstChild("Destroy") then
-- table.insert(ArmorParts,{Part = v3,Par = v3.Parent,Col =
v3.Color,Mat=v3.Material.Name })
else
v3:Destroy()
end
end
end
Part1.Transparency=1
--Part2:Destroy()
end
--------
local SToneTexture = Create("Texture")({
Texture = "http://www.roblox.com/asset/?id=1693385655",
Color3 = Color3.new(163/255, 162/255, 165/255),
})
function AddStoneTexture(part)
coroutine.resume(coroutine.create(function()
for i = 0,6,1 do
local Tx = SToneTexture:Clone()
Tx.Face = i
Tx.Parent=part
end
end))
end
local S = IT("Sound")
function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
local NEWSOUND = nil
coroutine.resume(coroutine.create(function()
NEWSOUND = S:Clone()
NEWSOUND.Parent = PARENT
NEWSOUND.Volume = VOLUME
NEWSOUND.Pitch = PITCH
NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
NEWSOUND:play()
if DOESLOOP == true then
NEWSOUND.Looped = true
else
repeat wait(1) until NEWSOUND.Playing == false
NEWSOUND:remove()
end
end))
return NEWSOUND
end
function WACKYEFFECT(Table)
local TYPE = (Table.EffectType or "Sphere")
local SIZE = (Table.Size or VT(1,1,1))
local ENDSIZE = (Table.Size2 or VT(0,0,0))
local TRANSPARENCY = (Table.Transparency or 0)
local ENDTRANSPARENCY = (Table.Transparency2 or 1)
local CFRAME = (Table.CFrame or Torso.CFrame)
local MOVEDIRECTION = (Table.MoveToPos or nil)
local ROTATION1 = (Table.RotationX or 0)
local ROTATION2 = (Table.RotationY or 0)
local ROTATION3 = (Table.RotationZ or 0)
local MATERIAL = (Table.Material or "Neon")
local COLOR = (Table.Color or C3(1,1,1))
local TIME = (Table.Time or 45)
local SOUNDID = (Table.SoundID or nil)
local SOUNDPITCH = (Table.SoundPitch or nil)
local SOUNDVOLUME = (Table.SoundVolume or nil)
coroutine.resume(coroutine.create(function()
local PLAYSSOUND = false
local SOUND = nil
local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY,
BRICKC("Pearl"), "Effect", VT(1,1,1), true)
if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
PLAYSSOUND = true
SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
end
EFFECT.Color = COLOR
local MSH = nil
if TYPE == "Sphere" then
MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
elseif TYPE == "Cylinder" then
MSH = CreateMesh2("SpecialMesh", EFFECT, "Cylinder", "", "", SIZE, VT(0,0,0))
elseif TYPE == "Block" then
MSH = IT("BlockMesh",EFFECT)
MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
elseif TYPE == "Cube" then
MSH = IT("BlockMesh",EFFECT)
MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
SetTween(EFFECT,{CFrame =
CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear
","InOut",TIME/60)
else
SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
end
wait()
SetTween(EFFECT,{Transparency = EFFECT.Transparency -
TRANS},"Linear","InOut",TIME/60)
SetTween(EFFECT,{CFrame =
CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear
","InOut",0)
else
SetTween(EFFECT,{CFrame =
EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut
",0)
end
if MOVEDIRECTION ~= nil then
local ORI = EFFECT.Orientation
SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
end
MSH.Scale = MSH.Scale - GROWTH/TIME
SetTween(MSH,{Scale=ENDSIZE},"Linear","InOut",TIME/60)
if TYPE == "Wave" then
SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},"Linear","InOut",TIME/60)
end
for LOOP = 1, TIME+1 do
wait(.05)
--SetTween(EFFECT,{Transparency = EFFECT.Transparency -
TRANS/TIME},"Linear","InOut",0)
-- SetTween(EFFECT,{CFrame =
CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear
","InOut",0)
else
-- SetTween(EFFECT,{CFrame =
EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut
",0)
end
if MOVEDIRECTION ~= nil then
local ORI = EFFECT.Orientation
-- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-
MOVESPEED)},"Linear","InOut",0)
-- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
end
end
game:GetService("Debris"):AddItem(EFFECT, 15)
if PLAYSSOUND == false then
EFFECT:remove()
else
SOUND.Stopped:Connect(function()
EFFECT:remove()
end)
end
else
if PLAYSSOUND == false then
EFFECT:remove()
else
repeat wait() until SOUND.Playing == false
EFFECT:remove()
end
end
end))
end
----------------------
--[End Of Functions]--
----------------------
------------------
--[Gun]--
------------------
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = false,
Locked = true,
BrickColor = BrickColor.new(tostring(BColor)),
Name = Name,
Size = Size,
Material = Material,
}
RemoveOutlines(Part)
return Part
end
------------------
--[End of Gun]--
------------------
---------------
--[Particles]--
---------------
----------------------
--[End Of Particles]--
----------------------
-----------------
if h == nil then
return
elseif h ~= nil and h.Health < 0 xss=removed xss=removed>9999999 and minim <9999
Type~= "IgnoreType" xss=removed FATag.Name = "Fly away" v.Anchored=true xss=removed
xss=removed xss=removed xss=removed xss=removed xss=removed YourGone.Anchored=true
xss=removed YourGone.Name = "YourGone" xss=removed YourGone.Material =
"SmoothPlastic" xss=removed xss=removed xss=removed xss=removed xss=removed
xss=removed xss=removed xss=removed
NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),Number
SequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)}) xss=removed
xss=removed NewParticle.Texture = "rbxassetid://243660364" xss=removed xss=removed
xss=removed xss=removed xss=removed v.Anchored=false v.Material = "Neon"
xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed
xss=removed v.Anchored=false v.Material = "Neon" xss=removed xss=removed
xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed
xss=removed xss=removed xss=removed xss=removed Name = "creator" xss=removed
xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed
xss=removed> 0 then
blocked = true
block.Value = block.Value - 1
print(block.Value)
end
if blocked == false then
h.Health = h.Health - Damage
ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0,
1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
else
h.Health = h.Health - Damage / 2
ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0,
1.5, 0), -Damage, 1.5, Color3.new(0,0,0))
end
hum.PlatformStand = true
coroutine.resume(coroutine.create(function(HHumanoid)
wait(.2)
HHumanoid.PlatformStand = false
end
), hum)
hum.PlatformStand = true
coroutine.resume(coroutine.create(function(HHumanoid)
Combo = 1 wait(.2)
HHumanoid.PlatformStand = false
end
), hum)
local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
local bodvol = Create("BodyVelocity")({P = 500, maxForce =
Vector3.new(math.huge, 0, math.huge), velocity =
CFrame.new(Part.Position,Property.Position).lookVector * knockback})
local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque =
Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10,
10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
game:GetService("Debris"):AddItem(bodvol, 0.2)
game:GetService("Debris"):AddItem(rl, 0.2)
local tags = 0
for _,v2 in next, HTorso:GetChildren() do
if v2:IsA("Folder") and v2.Name == "OnFire" then
tags=tags+1
end
end
attack = false
end
s2:resume()
end
end
CurId = CurId + 1
end
warn("now playing song Nr"..CurId)
if CurId == 1 then
lastid= "http://www.roblox.com/asset/?id=617334987"
elseif CurId == 2 then
lastid= "http://www.roblox.com/asset/?id=3464477488"
elseif CurId == 3 then
lastid= "http://www.roblox.com/asset/?id=198665867"
elseif CurId == 4 then
lastid= "http://www.roblox.com/asset/?id=493674525"
elseif CurId == 5 then
lastid= "http://www.roblox.com/asset/?id=2984966954"
end
lastsongpos = 0
s2.TimePosition = lastsongpos
end
end
mouse.KeyDown:connect(KeyDownF)
Anim = "Walk"
coroutine.wrap(function()
while true do
if MeHasDied then break end
inairvel=((Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude)*1
--forWRL
if inairvel > 30 then
inairvel=30
end
inairvel=inairvel/50*2
Swait()
if attack == false then
if Anim == "Jump" then
change = 0.60*2
SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 *
math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+
(inairvel*forWFB)/2, math.rad(0)-(inairvel*forWRL)/2,
math.rad(0))},"Quad","Out",0.25)
SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-26.5 + 2.5 *
math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
SetTween(RW,{C0=cf(1.4 + .05 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(-5), math.rad(8 + 4
* math.cos(sine / 8)))},"Quad","Out",0.2)
SetTween(LW,{C0=cf(-1.4 + .05 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(140 - 2 * math.cos(sine / 8 )), math.rad(5), math.rad(-8 - 4
* math.cos(sine / 8 )))},"Quad","Out",0.2)
SetTween(RH,{C0=CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) *
CFrame.Angles(math.rad(-15 -1* math.cos(sine /
10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
SetTween(LH,{C0=CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) *
CFrame.Angles(math.rad(-25 +1* math.cos(sine /
10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
local dahspeed=1
if attack == true and mememode == true then
dahspeed=5
end
change = (0.60*1.75)*dahspeed
Humanoid.JumpPower = 60
Humanoid.WalkSpeed=16
local ADNum = 0
SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum*
math.cos(sine / 8*2))) * angles(math.rad(1.5 - 1 * math.cos(sine / 8)), math.rad((0
+ 0* math.cos(sine / 8)/20)), math.rad(-20))},"Quad","InOut",0.1)
SetTween(NeckW,{C0=NeckCF*angles(math.rad(6.5 - 3.5 * math.sin(sine / 8 +ADNum*
math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(20 - 6.5
* math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(-5), math.rad(4 + 4 *
math.cos(sine / 8)))},"Quad","Out",0.2)
SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(0 + 3 * math.sin(sine / 8 )), math.rad(5), math.rad(-4 - 4 *
math.cos(sine / 8 )))},"Quad","Out",0.2)
SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine
/ 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine /
8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum*
math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine /
8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
else
change = (0.60*1.75)*dahspeed
Humanoid.JumpPower = 60
Humanoid.WalkSpeed=16
local ADNum = 0
SetTween(RJW,{C0=RootCF*cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8 +ADNum*
math.cos(sine / 8*2))) * angles(math.rad(10.5 - 1 * math.cos(sine / 8)),
math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-5))},"Quad","InOut",0.1)
SetTween(NeckW,{C0=NeckCF*angles(math.rad(-6.5 - 3.5 * math.sin(sine / 8 +ADNum*
math.cos(sine / 8*2))), math.rad(2.5-5.5 * math.cos(sine / 16)), math.rad(5 - 6.5 *
math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
SetTween(RW,{C0=cf(1.45 + .0 * math.cos(sine / 8) , 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(25), math.rad(40 + 4
* math.cos(sine / 8)))},"Quad","Out",0.2)
SetTween(LW,{C0=cf(-1.45 + .0 * math.cos(sine / 8), 0.5 + .05 * math.cos(sine / 8),
.0) * angles(math.rad(10 + 3 * math.sin(sine / 8 )), math.rad(-25), math.rad(-40 -
4 * math.cos(sine / 8 )))},"Quad","Out",0.2)
SetTween(RH,{C0=CFrame.new(.5, -0.95- .04 * math.cos(sine / 8 +ADNum* math.cos(sine
/ 8*2)), 0) * CFrame.Angles(math.rad(20.5 - 1 * math.cos(sine /
8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
SetTween(LH,{C0=CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8 +ADNum*
math.cos(sine / 8*2)), 0) * CFrame.Angles(math.rad(1.5 - 1 * math.cos(sine /
8)),math.rad(20),math.rad(-2.5- 0.0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
end
local speed=1.0
if mememode == true then
speed=4
end
change = 2.4*speed
Humanoid.JumpPower = 60*speed
Humanoid.WalkSpeed=16*speed
else
local speed=1.6
if mememode == true then
speed=4
end
change = 2.5*speed
Humanoid.JumpPower = 60*speed
Humanoid.WalkSpeed=22*speed
end
end
end
end
end)()
coroutine.resume(coroutine.create(function()
while Humanoid.Health>0.001 do
if MeHasDied then break end
sine = sine + change
hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position,
RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
if Character:FindFirstChild("Sound") then
Character:FindFirstChild("Sound"):Destroy()
end
local torvel = (Humanoid.MoveDirection * Vector3.new(1, 0, 1)).magnitude
local velderp = RootPart.Velocity.y
if RootPart.Velocity.y > 1 and hitfloor == nil then
Anim = "Jump"
elseif RootPart.Velocity.y < -1 and hitfloor == nil then
Anim = "Fall"
elseif Humanoid.Sit == true then
Anim = "Sit"
elseif torvel < .5 and hitfloor ~= nil then
Anim = "Idle"
elseif torvel > .5 and hitfloor ~= nil then
Anim = "Walk"
else
Anim = ""
end
local Ccf=RootPart.CFrame
--warn(Humanoid.MoveDirection*RootPart.CFrame.lookVector)
local Walktest1 = Humanoid.MoveDirection*Ccf.LookVector
local Walktest2 = Humanoid.MoveDirection*Ccf.RightVector
--warn(Walktest1.Z.."/"..Walktest1.X)
--warn(Walktest2.Z.."/"..Walktest2.X)
forWFB = Walktest1.X+Walktest1.Z
forWRL = Walktest2.X+Walktest2.Z
--print(Humanoid.MoveDirection)
--warn(Torso.CFrame.lookVector)
coroutine.resume(coroutine.create(function()
s2 = s2c:Clone()
s2.Parent = Torso
s2.Name = "BGMusic"
-- s2.SoundId = lastid
s2.Pitch = 1
s2.Volume = 1.5
s2.Looped = true
s2.archivable = false
s2.TimePosition = lastsongpos
if playsong == true then
s2:play()
elseif playsong == false then
s2:stop()
end
else
lastsongpos=s2.TimePosition
s2.Pitch = 1
s2.Volume = 1.5
s2.Looped = true
s2.SoundId = lastid
s2.EmitterSize = 30
end
end))
Swait()
end
end))