I’m trying to disable badgenotifications in my game in favor of my own version where it only states the name of the badge and an image of the badge. I currently have this script which should turn badgenotifications off, but it doesnt. What causes this behaviour? The code is in a localscript in startergui.
local fails = 0 local Success,Error wait(2) repeat Success,Error = pcall(function() game:GetService("StarterGui"):SetCore("BadgeNotificationsActive", false) end) if not Success then fails = fails + 1 if fails >= 5 then warn("Badgenotification service couldn't be turned off :(") break end wait(.5) end until Success