Why wont this animation stop?

You can actually use the same remote event that you’re firing. On the server inside your .OnServerEvent connection, whenever you want to change the status of an animation just do event:FireClient(player, "Play").

In your local script just listen for the same event:

game.ReplicatedStorage.RemoteEvents.Drink.OnClientEvent:Connect(function(Argument1) -- Our argument 1 value in this case would be "Play" since thats what we sent above!
     if Argument1 == "Play" then
         -- Play the animation
     elseif Argument1 == "Stop" then
         -- Stop the animation
     end;
end);

Might be typos but thats the general layout. You don’t need multiple remoteEvents for each little thing you need to do. You can always have 1 remote that handles a group of related things but just send different arguments to determine what to do.

1 Like

ahh okay I am using the same event but didnt think to use this argument thing

1 Like

ayyyyy this works like a charm thanks a bunch your amazing!

1 Like

No worries, I’m glad the issue was resolved. Goodluck with your project!

1 Like