Issue with mobile ability button

I’d suggest using WaitForChild because it waits for the object to appear and it avoids nil indexing.

So in theory:

local label = playerGui:WaitForChild("AbilityGui").TextButton.CooldownLabel