local animid;
animid="rbxassetid://ID GOES HERE"
HumanDied = false
local CountSCIFIMOVIELOL = 1
function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
local AlignPos = [Link]('AlignPosition', Part1); [Link] =
"AliP_"..CountSCIFIMOVIELOL
[Link] = true;
[Link] = 5772000--67752;
[Link] = [Link]/9e110;
[Link] = false;
[Link] = 200;
[Link] = false;
local AlignOri = [Link]('AlignOrientation', Part1); [Link] =
"AliO_"..CountSCIFIMOVIELOL
[Link] = [Link]/9e110;
[Link] = 5772000
[Link] = false;
[Link] = false;
[Link] = 200;
[Link] = false;
local AttachmentA=[Link]('Attachment',Part1); [Link] =
"Ath_"..CountSCIFIMOVIELOL
local AttachmentB=[Link]('Attachment',Part0); [Link] =
"Ath_"..CountSCIFIMOVIELOL
[Link] = Angle or [Link](0,0,0)
[Link] = Position or [Link](0,0,0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentA;
AlignOri.Attachment0 = AttachmentB;
CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
return {AlignPos,AlignOri,AttachmentA,AttachmentB}
end
if _G.netted ~= true then
_G.netted = true
[Link](function()
settings().[Link] =
[Link]
settings().[Link] = false
game:GetService("RunService").RenderStepped:Connect(function()
game:FindFirstChildOfClass("Players").[Link]=[Link](
[Link],[Link])
sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadi
us",[Link]*[Link])
end)
end)()
end
game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
local hatnameclone = {}
for _,v in next,
game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
if v:IsA("Accessory") then
if hatnameclone[[Link]] then
if hatnameclone[[Link]] == "s" then
hatnameclone[[Link]] = {}
end
[Link](hatnameclone[[Link]],v)
else
hatnameclone[[Link]] = "s"
end
end
end
for _,v in pairs(hatnameclone) do
if type(v) == "table" then
local num = 1
for _,w in pairs(v) do
[Link] = [Link]..num
num = num + 1
end
end
end
hatnameclone = nil
local DeadChar = game:FindFirstChildOfClass("Players").[Link]
local fldr =
[Link]("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"
])
[Link] = "DMYF"
local CloneChar = DeadChar:Clone()
local ANIMATIONHERE
if CloneChar:FindFirstChild("Animate") then
ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
CloneChar:FindFirstChild("Animate"):Destroy()
end
if CloneChar:FindFirstChildOfClass("Folder") then
CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
if [Link]:FindFirstChild("Neck") then
local Clonessss = [Link]:FindFirstChild("Neck"):Clone()
Clonessss.Part0 = nil
Clonessss.Part1 = [Link]
[Link] = [Link]
end
[Link] = fldr
[Link] = [Link]
[Link] = false
[Link] = "non"
[Link] = "None"
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
local topacc = false
if [Link]:FindFirstChildOfClass("Weld") then
[Link]:FindFirstChildOfClass("Weld"):Destroy() end
[Link] = true
[Link] = false
if [Link]:FindFirstChildOfClass("Attachment") then
local ath__ = [Link]:FindFirstChildOfClass("Attachment")
if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name ==
"FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
topacc = ath__.Name
end
end
local bv = [Link]("BodyVelocity",[Link])
[Link] = [Link](0,0,0)
[Link](function()
if topacc then
local allthings = SCIFIMOVIELOL([Link],[Link],[Link](0,1.5,0)+
([Link][topacc].Position + ([Link][topacc].Position*-
1)),[Link](0,0,0))
local normaltop = allthings[1].Attachment1
local alipos = allthings[1]
local alirot = allthings[2]
local p0 = [Link]
local p1 = [Link]
[Link] = CloneChar:FindFirstChild([Link]).Handle
[Link] = CloneChar:FindFirstChild([Link]).Handle
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
[Link](function()
if alipos.Attachment1 == normaltop then
[Link] = [Link]:lerp(((([Link] * [Link](0,1.5,0)) *
p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
else
[Link] = [Link]:lerp([Link] *
[Link]([Link]) *
[Link]([Link]([Link].X),[Link](alipos.Attachment1.R
otation.Y),[Link]([Link].Z)),1)
end
end)()
end
else
SCIFIMOVIELOL([Link],CloneChar[[Link]].Handle,[Link](0,0,0),[Link](0,0,
0))
end
end)()
end
end
local a = [Link]
local b = [Link]
local c = [Link]
[Link] = game:FindFirstChildOfClass("Workspace")
[Link] = game:FindFirstChildOfClass("Workspace")
local told = a:Clone()
local told1 = c:Clone()
b["RootJoint"].Part0 = told
b["RootJoint"].Part1 = [Link]
[Link] = "torso"
[Link]:Destroy()
[Link] = "Cloned Avatar"
[Link] = DeadChar
[Link] = DeadChar
[Link] = told
[Link] = 0
b:Destroy()
[Link] = DeadChar
[Link] = DeadChar
told:Destroy()
told1:Destroy()
[Link] = "Torso"
if [Link]:FindFirstChildOfClass("Decal") then
[Link]:FindFirstChildOfClass("Decal").Transparency = 1 end
if DeadChar:FindFirstChild("Animate") then
DeadChar:FindFirstChild("Animate"):Destroy() end
local Collider
function UnCollide()
if HumanDied then Collider:Disconnect(); return end
--[[for _,Parts in next, CloneChar:GetChildren() do
if Parts:IsA("BasePart") then
[Link] = false
end
end]]
for _,Parts in next, DeadChar:GetChildren() do
if Parts:IsA("BasePart") then
[Link] = false
end
end
end
Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = [Link]("BindableEvent")
[Link]:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
HumanDied = true
pcall(function()
game:FindFirstChildOfClass("Players").[Link] = DeadChar
[Link]:Destroy()
DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
game:FindFirstChildOfClass("Players").[Link] = CloneChar
if DeadChar:FindFirstChildOfClass("Folder") then
DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
end)
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
[Link](function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not
CloneChar:FindFirstChildOfClass("Humanoid") or
CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not
DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid")
or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game:FindFirstChildOfClass("Players").[Link] = DeadChar
[Link]:Destroy()
DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
game:FindFirstChildOfClass("Players").[Link] = CloneChar
if DeadChar:FindFirstChildOfClass("Folder") then
DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
end)
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
for _,v in pairs(DeadChar:GetChildren()) do
if v:IsA("BasePart") and [Link] ~= "Head" then
--[[local bv = [Link]("BodyVelocity",v)
[Link] = [Link](0,0,0)
[Link](function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
[Link] = CloneChar[[Link]].CFrame
end
end)()]]
elseif v:IsA("BasePart") and [Link] == "Head" then
local bv = [Link]("BodyVelocity",v)
[Link] = [Link](0,0,0)
[Link](function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
[Link] = [Link] * [Link](0,1.5,0)
end
end)()
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
[Link] = 1 end end
game:GetService("RunService").RenderStepped:wait()
game:FindFirstChildOfClass("Players").[Link] = CloneChar
game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubje
ct = [Link]
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
if [Link]:FindFirstChildOfClass("Weld") then
[Link]:FindFirstChildOfClass("Weld"):Destroy() end
end
end
if ANIMATIONHERE then [Link] = CloneChar end
local playing = false
local rtrnv;
local c;
local tbl3;
local v;
local anim;
local count;
local hhhh;
local asdf;
local s;
local plr;
local char;
local cframe;
local torso;
local rs;
local ls;
local rh;
local lh;
local n;
local rj;
local rsc0;
local lsc0;
local rhc0;
local lhc0;
local rjc0;
local nc0;
local gc0;
local orsc0;
local olsc0;
local orhc0;
local olhc0;
local orjc0;
local onc0;
local count2;
local maxcount2;
local function getnext(tbl,number)
c=100
rtrnv=0
for i,v in pairs(tbl) do
if i>number and i-number<c then
c=i-number
rtrnv=i
end
end
return(rtrnv)
end
local function wait2(tim)
if tim<0.1 then
game:GetService("RunService").Heartbeat:Wait()
else
for i=1,tim*40 do
game:GetService("RunService").Heartbeat:Wait()
end
end
end
local function kftotbl(kf) -- Below this is PAIN
tbl3 = {}
for i,v in pairs(kf:GetDescendants()) do
if v:IsA("Pose") then
tbl3[[Link]([Link],1,1)..[Link]([Link],#[Link],#[Link])] = [Link]
end
end
return(tbl3)
end
if playanother == true then
playanother = false
end
playing = true
wait(.1) -- Do not change because changing it will break.
plr = [Link]
char = game:GetService("Players").[Link]
if _G.permadeath == true then
char = [Link]
end
cframe = [Link]
torso = [Link]
-----------------------------------------------------------
rs = torso["Right Shoulder"] -- Just took this from another script(Faster).
ls = torso["Left Shoulder"]
rh = torso["Right Hip"]
lh = torso["Left Hip"]
n = torso["Neck"]
rj = [Link]["RootJoint"]
rsc0 = rs.C0
lsc0 = ls.C0
rhc0 = rh.C0
lhc0 = lh.C0
rjc0 = rj.C0
nc0 = n.C0
gc0 = [Link]()
orsc0 = rs.C0
olsc0 = ls.C0
orhc0 = rh.C0
olhc0 = lh.C0
orjc0 = rj.C0
onc0 = n.C0
count2 = 100
maxcount2=100
-----------------------------------------------------------
game:GetService("RunService").Heartbeat:Connect(function() -- Speed.
if playanother == true then
return nil
else
count2 = count2+1
if count2<=maxcount2 then
[Link]=[Link]:Lerp(rsc0,count2/maxcount2)
[Link]=[Link]:Lerp(lsc0,count2/maxcount2)
[Link]=[Link]:Lerp(rhc0,count2/maxcount2)
[Link]=[Link]:Lerp(lhc0,count2/maxcount2)
[Link]=[Link]:Lerp(nc0,count2/maxcount2)
[Link]=[Link]:Lerp(rjc0,count2/maxcount2)
end
end
end)
-----------------------------------------------------------
animid=game:GetObjects(animid)[1]
anim={}
for i,v in pairs(animid:GetChildren()) do
if v:IsA("Keyframe") then
anim[[Link]]=kftotbl(v)
end
end
count = 0
char=game:GetService("Players").[Link]
if _G.permadeath == true then
char = [Link]
end
if _G.permadeath == false then
hhhh=[Link]
[Link] = nil
end
hhhh=[Link]
[Link] = nil
for _,v in pairs([Link]:GetPlayingAnimationTracks()) do
v:Stop()
end
[Link]:Connect(function()
if playing == true then
playing = false
end
end)
while wait() do
if playanother == true then
break
else
for i,oasjdadlasdkadkldjkl in pairs(anim) do
asdf=getnext(anim,count)
v=anim[asdf]
if v["Lg"] then
lhc0 = v["Lg"]
end
if v["Rg"] then
rhc0 = v["Rg"]
end
if v["Lm"] then
lsc0 = v["Lm"]
end
if v["Rm"] then
rsc0 = v["Rm"]
end
if v["To"] then
rjc0 = v["To"]
end
if v["Hd"] then
nc0 = v["Hd"]
end
count2=0
maxcount2=asdf-count
count=asdf
wait(asdf-count)
count2=maxcount2
if v["Lg"] then
[Link]["Left Hip"].Transform = v["Lg"]
end
if v["Rg"] then
[Link]["Right Hip"].Transform = v["Rg"]
end
if v["Lm"] then
[Link]["Left Shoulder"].Transform = v["Lm"]
end
if v["Rm"] then
[Link]["Right Shoulder"].Transform = v["Rm"]
end
if v["To"] then
[Link]["RootJoint"].Transform = v["To"]
end
if v["Hd"] then
[Link]["Neck"].Transform = v["Hd"]
end
end
end
end
--end)