I was given this code on the ROBLOX website to stop animations, but I want to connect it to a button. How do I do that?
Thanks for helping me in advance.
script.Parent.MouseButton1Click:connect(function()
void Stop (
float fadeTime = 0.100000001
)
end)
script.Parent.MouseButton1Click:connect()

1 comment
is "script.Parent" is in the button? If so it should work, I think.