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

How do I make a script enable its self when I equip a tool?

I've been trying to do it but I can't figure it out.

1 answer

This should be it.

ToolName.OnEquipped:Connect(function() -- Detects when you equip it
	scriptName.Enabled = true -- Enables the script
end)

4 comments

0

Thanks, I have a question where do I put the script?

0

Make a script inside the tool

0

Ok thanks

0

Accept as solution if this answered your question (it's right, I was going to say the same thing)

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