So I have ACS guns and they don’t work. For example when you select them it doesn’t do anything but others work. I tried doing it on another map so I did and the guns worked but the spawns were bugged because when you die you spawn at the exact same location you died.I can’t go in testing because it is pausing my game and bringing out errors this is one of them,
local CloseClick = script.Parent.Closed:WaitForChild(“ClickDetector”)
and the error is
Closed is not a valid member of Folder “Workspace.Body”
I tried to look around on Youtube and other Developer questions but nothing
I have some free models as well but if I arrange the testing part I can maybe give the gun error and someone can help me.
I do recommend learning on how scripting works, it’d help you understand the general concepts more on how to educate & learn about how this stuff works
For the error, this is because there is nothing inside the script’s Parent (Or script > Parent) that’s named as Closed, which is resulting in that error
Try this, if you get a infinite yield warning then you still have nothing inside named “Closed”:
local CloseClick = script.Parent:WaitForChild("Closed"):WaitForChild("ClickDetector")