the killer i made disappears after trying to glory kill
Killer Lunges with body velocity
for executions the player teleports inside the npc
and the players and the npcs Humanoid rootpart are anchored
then players and the npc plays a animation
player dies and has its humanoidrootpart unanchored with a animation event
Watch Stupid execution bug | Streamable
it seems like you might be facing the issue with the humanoidrootpart unanchoring.
1 Like
so anchoring the humanoid rootpart causes this?
I can’t say it with guarantee cause i don’t know what’s the script, and you have to test and see what works.
i tried it. the players at the wrong position first time it kills someone second time it disappears again
1 Like
You might be facing a nan value, try printing out the position of the character. if that’s the case then use this:
if number ~= number then
print("nan value")
end
it prints nan actually (thirty lettuhrs stuff ignore)
PinkPainted
(sayoridokibiggestfan)
June 18, 2025, 9:12am
11
We can’t help you if you don’t provide the line of the script that has problems
if Executing then return end
local SelectedExecute = AIConfig.ExecutionAnims[math.random(1,#AIConfig.ExecutionAnims)]
Executing = true
for index,bodyVelocity in pairs(BodyVelocityList) do
bodyVelocity:Destroy()
end
local AnimFolder = Instance.new("Folder")
AnimFolder.Parent = npcModel
AnimFolder.Name = "ExecutionFolder"
local KillSound = Instance.new("Sound")
local KillAnim = Instance.new("Animation")
local DieAnim = Instance.new("Animation")
KillAnim.Name = "Kill"
DieAnim.Name = "Die"
KillSound.Name = "KillAudio"
KillSound.RollOffMaxDistance = 50
KillSound.RollOffMode = Enum.RollOffMode.Inverse
KillAnim.Parent = AnimFolder
DieAnim.Parent = AnimFolder
KillSound.Parent = target:FindFirstChild("HumanoidRootPart")
KillSound.SoundId = "rbxassetid://".. SelectedExecute.Audio
KillAnim.AnimationId = "rbxassetid://".. SelectedExecute.Killer
DieAnim.AnimationId = "rbxassetid://".. SelectedExecute.Victim
local KillerAnim = humanoid:LoadAnimation(KillAnim)
local VictimAnim = target:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(DieAnim)
target:FindFirstChildWhichIsA("Humanoid").AutoRotate = false
VictimAnim:GetMarkerReachedSignal("Dead"):Connect(function()
target:FindFirstChild("HumanoidRootPart").Anchored = false
target:FindFirstChildWhichIsA("Humanoid").Health = 0
end)
KillSound:Play()
KillerAnim:Play()
VictimAnim:Play()
local TargetHrp = target:WaitForChild("HumanoidRootPart") :: BasePart
hrp.Anchored = true
TargetHrp.Anchored = true
TargetHrp.CFrame = hrp.CFrame + Vector3.new(0.1,0,0)
game:GetService("Debris"):AddItem(KillSound,20)
game:GetService("Debris"):AddItem(AnimFolder,20)
task.wait(KillerAnim.Length)
hrp.Anchored = false
Executing = false
--execute stuff you maek
--Executing = false
PinkPainted
(sayoridokibiggestfan)
June 18, 2025, 9:15am
13
Try deleting this line or debug it, maybe it’ll help (if you don’t mind please explain the problem more since streamable is BLOCKED in Indonesia )
2 Likes
then
Try removing this line of code once.
2 Likes
im trying to move the player into the killer since the animation rigs are inside eachother while i was animating
if i remove that line it will look like this
forgot to update this but i basically did a work around in client which uses a remote event from server to client to update player position locally so it doesnt disappear
system
(system)
Closed
August 22, 2025, 8:49pm
18
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.