I have a tool that spawns a part, in the tool there is a local script, a remote event and a script. The tool is placed in the starter pack. I tried debugging and I am not sure if there is a problem with the text or the local script object.
Local script:
local db = false
script.Parent.Activated:Connect(function()
*
if db == false then
db = true
script. Parent.RemoteEvent:FireServer()
wait(15)
db = false
end)
I tried to debug where I placed the star (*). So I am thinking it has to do with the script or its parent.
Please help

2 comments
Well this code looks right, except from the asterisk
I found the problem, I had handle required enabled when there was no handle