I tried making animation gui , And everytime i pressed play it gave an error
Script:
local btn = script.parent
local hummy = game:GetService("Players").LocalPlayer.Character.Humanoid
local stu = Instance.new('Animation')
stu.AnimationId = 'rbxassetid://978176345'
local notfunny = hummy:LoadAnimation(stu)
btn.MouseButton1Click:Connect(function()
if notfunny.IsPlaying() then
notfunny:Stop()
else
notfunny:Play()
notfunny:AdjustSpeed(1)
end
end)
