I am not trying to award badges, but thank you for the info
use
local plr=game.Players.LocalPlayer
local UserID=plr.UserID
local BadgeId = 2127369000
you do not need a while loop
just add
if BadgeService:UserHasBadgeAsync(UserId, BadgeId) then
script.Parent.Text = "Paper"
else
script.Parent.Text = "Haha"
end
Thank you so much! This is exactly what I wanted
1 Like
No problem, I’m glad I could help
Well because I just provided you the code to get the local player instance, you had to figure out how to adapt it in your code, also all you need is documented here: https://create.roblox.com
I actually did end up making my own code, and I did use your method of using LocalPlayer
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.