Hi, I am making a gun in my game and when I test it by resetting multiple times, it still works. However, when I reform the same test with the guns in the actual game, I get this message:
16:43:14 -- GunHolder is not a valid member of ScreenGui "GunGui"
Also, GunHolder is a Gui frame and is a child of ScreenGui.
I’d also used WaitForChild() but it still gives me an error and/or warning. Any help will be appricated!
What error gets pushed? I don’t see any misspelled words or wrong paths in your code so there might be a chance that the GunHolder gui is disappearing. To test this try printing GunGui:GetDescendents() and see if pops up there.