I have made a tool with a localscript and an animation in it, that when the tool is activated it should fire a remote event, increase their strength by one and play an animation.
Tool localscript:
local anim = script.Animation
local char = game.Player.LocalPlayer.Character:Wait()
script.Parent.Activated:Connect(function()
local humanoid = char:WaitForChild("Humanoid")
local trackanim = humanoid:LoadAnimation(anim)
trackanim:Play()
workspace.Event.StrengthEvent:FireServer()
script.Parent.Enabled = true
wait(1)
script.Parent.Enabled = false
end)
Event (Script in workspace in which is StrengthEvent):
script.StrengthEvent.OnServerEvent:Connect(function(player)
player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 1
end)
The value will not increase and the animation will not play. And yes the animation priority is set to action Please help (if there is an error I'm still a beginner please help me point it out.)

5 comments
Any errors?
I do not know
how do you not know, you have your output open dont you?
Only errors from other scripts
But it does say 20:55:33.708 - Unable to load rbxasset://avatar/characterR15V3.rbxm