local cooldown = false
script.Parent.Actived:Connect(function()
if cooldown == function then
cooldown = true
game.Workspace.MainEvent.AddFish:FireServer()
script.Parent.Enabled = false
wait(1)
script.Parent.Enabled = true
cooldown = false
end
end)
This is my simulator script, its supposed to add fish but instead it gives me this error, Players.fshduia.Backpack.Harpoon.AddFish2:4: Expected '(' when parsing function, got 'then'

2 comments
Updated my post. Apparently you misspelled Activated.
You Spelt Activated As Actived