I’ve got a problem where the script is supposed to get the gui, but I get the error “Ammo is not a valid member of PlayerGui”. I can only assume that it is not loading in time because the explorer tab is all correct.
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local textLabel = playerGui.Ammo:WaitForChild("G36cAmmo"):FindFirstChild("AmmoText")