Player can't see the person doing the same animation

For some reason other players can’t see you when the animation occurs for you. The script is a regular script.

The script:

local touchPart = script.Parent -- your touch part
local animationId = 6007672361 -- your custom animation id
touchPart.Touched:Connect(function(hit)
    local char = hit.Parent
    if char then
        local animate = char:FindFirstChild("Animate")
        if animate then
            animate.walk.WalkAnim.AnimationId = "rbxassetid://".. animationId
            animate.run.RunAnim.AnimationId = "rbxassetid://".. animationId
        end
    end
end)


local touchPart = script.Parent -- your touch part
local animationId = 6016882055 -- your custom animation id
touchPart.Touched:Connect(function(hit)
    local char = hit.Parent
    if char then
        local animate = char:FindFirstChild("Animate")
        if animate then
            animate.idle.Animation1.AnimationId = "rbxassetid://".. animationId
            animate.idle.Animation2.AnimationId = "rbxassetid://".. animationId
        end
    end
end)local touchPart = script.Parent -- your touch part
local animationId = 6007672361 -- your custom animation id
touchPart.Touched:Connect(function(hit)
    local char = hit.Parent
    if char then
        local animate = char:FindFirstChild("Animate")
        if animate then
            animate.walk.WalkAnim.AnimationId = "rbxassetid://".. animationId
            animate.run.RunAnim.AnimationId = "rbxassetid://".. animationId
        end
    end
end)


local touchPart = script.Parent -- your touch part
local animationId = 6016882055 -- your custom animation id
touchPart.Touched:Connect(function(hit)
    local char = hit.Parent
    if char then
        local animate = char:FindFirstChild("Animate")
        if animate then
            animate.idle.Animation1.AnimationId = "rbxassetid://".. animationId
            animate.idle.Animation2.AnimationId = "rbxassetid://".. animationId
        end
    end
end)

It’s not as simple as that. You may have to reload it, or it is something else.


The post above is also old, consider the latest update but it’s not as relevant:

1 Like

I believe the default animate script reloads animations on its own when you add/remove any children, even if it isn’t an animation object that was added. It’s been a while since I went through the animate script but I’m pretty sure that is how it ensures you either have a default animation or a user-specified one at all times.

I’ve had success just replacing the animation objects instead of changing the animation IDs (changing the IDs doesn’t invoke ChildAdded or ChildRemoved). Technically, you could just create a folder instead of replacing the animation objects and it would function the same (in theory).