tool.Activated event won't fire

Hi, I’m trying to create a game where a player can create a sword and they have the option to enchant it. They just need to find one ingredient and add it to a cauldron, which will give them a potion in return. However, when I try to fire the potion tool’s Activated event, it won’t work. Here is the script:

-- because the script wasn't working with what I originally had, I decided to just make a simple function to print "Hi," but even that won't work
local tool = script.Parent

tool.Activated:Connect(function()
	print("Hi")
end)


I have no idea why this is happening.

Is the script a server script (“normal” script) or a local script. Try changing it to the other type and see if it works.

Edit: woah I didn’t think it would actually work

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.