So I'm trying to make an animation button and I need to get a player's humanoid but I do not know how to get it. Here is the script:
script.Parent.MouseButton1Click:connect(function()
local Dab = Humanoid:LoadAnimation(script.Dab)
wait()
Dab:Play()
end)
I am aware I do not have a variable for the humanoid, and it is if you hit a gui text button you do an animation btw.

4 comments
When I do this is says, "Animation "https://www.roblox.com///asset/?id=1241910613&serverplaceid=0" failed to load in "Players.CreeperAssassin005.PlayerGui.ScreenGui.Frame.TextButton.LocalScript.Dab.AnimationId": Animation failed to load"
I've also seen a script where it has a Instance.new("Animation"), should i add that?
Make sure the animation is owned by you, and it's not anyone elses, or else you'll get a permission error.
OMG THANK YOU SO MUCH!!!!!