Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to play random animation on click for a tool?

I have a sword but I can only play one animation with it. Please help, thank you! <3

2 comments

0

Please give us your script

0

so we can help

1 answer

Tools have a .Activated property which fires when you left click with it.

local tool = script.Parent

tool.Activated:Connect(function()
	--play anim
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.