Infinite yield possible on 'Workspace.AoTCannonbyToadion:WaitForChild("ClickDetector")'
Can anyone tell me how to fix this or at least what may be causing the problem?
infinite yield means that roblox couldn't find it, and it gave up on waiting for it. Make sure there is a click detector in the part. Or, you could make one in the script.
local click=Instance.new("ClickDetector") click.Parent=script.Parent --rest of the stuff here, you can reference the detector as 'click'