There are no error messages. I tested gun before adding these and it worked. Afterwards it does not. All of the values, etc exist and are defined. It is in a localscript and Portal is a regular script.
local script1 = tool.Portal:Clone() script1.Parent = bullet script1.Disabled = false
Because there can't be a number in a variable. Try local a or something