I was working on a Tool script and once while I was running it, it just... Stopped. I checked the script, nothing was broken. I ran a simple function that prints "Cool" when the tool is equipped and it didn't work. Did ROBLOX change its tool lingo or..?
COMMUNITY QUESTION
ROBLOX Studio's tool is acting odd. It's not responding to functions..?
1 answer
Have you checked Roblox Wiki? http://wiki.roblox.com/index.php?title=Tools
Please post the code.
Make sure you have a correct function.
local tool = script.Parent
local function onEquip()
--Text here
end
local function onUnequip()
--Text here
end
local function onActivate()
--Text here
end
local function onDeactivate()
--Text here
end
tool.Equipped:connect(onEquip)
tool.Unequipped:connect(onUnequip)
tool.Activated:connect(onActivate)
tool.Deactivated:connect(onDeactivate)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
post_code_
Like the others said "just stopped" doesn't help us much unless you supply us with the code.