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

4 comments
Try - local a = tool.Portal:Clone()
Okay. I just tried same thing but I replaced the script1 with scripta. There is no change however, the bullet no longer appears.
then it has to be something with the rest of the script. can you show me it?
Do you want in on here? I can post as another answer