For some reason my tool keeps deleting itself after a couple seconds.
Been searching for a fix for a couple hours now. People are saying it’s a Roblox bug,
But I’m not sure to be honest. I also tried disabling FE, but no luck.
I did realize that whenever I tried to change an animation using the tool. For example, I was trying to change the default run animation to my custom animation when the tool was equipped. and change back when unequipped, but since then it deletes it faster.
I would show you my code, but I honestly forgot how to do code blocks.
But all my code does, is equip tool, play animation. That’s it.
I would try and help you out but I’m pretty sure the only way the tool would remove itself from the character when equipped is when they die, or a certain script/code removes it somehow. If you possibly could, showing the code would be very helpful.
As i said, sorry I don’t know to do code blocks, so i will just past it in.
local idle = humanoid:LoadAnimation(anims:WaitForChild("Idle"))
tool.Equipped:Connect(function()
equip:Play()
equip.KeyframeReached:connect(function(name)
if name=="stop" then
print("reached")
equip:Stop()
idle:Play()
end
end)
end)
tool.Unequipped:Connect(function()
print("stopped")
equip:AdjustSpeed(3)
equip:Stop()
idle:Stop()
end)
Okay, i got it. Just don't know how to end it.
A tool deletes itself like that if the RightGrip it creates does not replicate and it falls through the world. This is visible if you equip the tool then quickly switch to server view. Are any of your limbs/limb joints made on the client?
That is supposed to be my running animation when i have the tool equipped, but i couldn’t make it work. But what @hockeylover29 said, is right i think. I just don’t know how to fix that
mhm, it works when I enable RequiresHandle and use a Handle.
I didn’t use it, because of the animation it played, but apparently my custom animation bypasses it.