Animations not stopping on server side when local sided and not stopping on client side when server sided

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I would like my animation to stop when it is over

  2. What is the issue? The player will see themselves getting up after a heal so will the other players, the server will not, the server will see the player getting up over and over again, this is the exact opposite if it were to be a local script, server would see them get up (once) client would see them get up infinitely

  3. What solutions have you tried so far? I have looked for solutions on the dev hub, none help, weight changing does not fix it nor does trying to change the humanoid state type.

repeat wait() until script.Parent.Parent.Name ~= "ParenterTagOWHF8I"
local hum = script.Parent.Parent:WaitForChild("Humanoid")
local Revive = hum:LoadAnimation(script.Revive)
local res2 = workspace.TeranceBot735.Humanoid:LoadAnimation(script.Revive)
Revive.Looped = false

script.Parent:GetPropertyChangedSignal("Value"):Connect(function()
	if script.Parent.Value == false then
		Revive:Play()
		Revive:AdjustSpeed(2)
		wait(Revive.Length)
		for i,v in pairs(hum:GetPlayingAnimationTracks()) do
			v:Stop()
		end
	end
end)

If it looks fine from another client, I think it shouldn’t be a problem because players can’t see server view

This answer sounds rude but honest I don’t mean it that way, I guess it’ll be fine, I just wanted to see if there was any way to fix it because I mean nobody even wants a single imperfection right? thanks man, have a good day.

I’m sorry if it sounded rude, I was bit angry at that time for personal reasons.

no no man, my answer sounded rude, hope you do better soon man, much love

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.