How to change text if player has a badge

ye ive tried it still doesnt work

I got it working, Ill give you the code once I fix the delays

1 Like

thanks a lot!
sry for the late reply

almost home, i can send it to you then

1 Like
while wait() do
	local BadgeService = game:GetService("BadgeService")
	local BadgeId = 2130284698
	local player = game.Players.LocalPlayer
	if BadgeService:UserHasBadgeAsync(player.UserId, BadgeId) then
		script.Parent.Text = "Capybara"
	else
		script.Parent.Text = "???"
	end
end

done, it works

6 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.