#could anyone
8 messages · Page 1 of 1 (latest)
** You are now Level 13! **
you could just put the badge over the spawn if you wanna do it the easy way tbf
it is pretty simple actually, you would need to use BadgeService: ```lua
local BadgeService = game:GetService("BadgeService") --Getting the BadgeService
local PlayedBadge = 123456 --this would be the id of your badge
game.Players.PlayerAdded:Connect(function(player) --Runs when the player joins
if not BadgeService:UserHasBadgeAsync(player.UserId,PlayedBadge) then --Checking if the player does not already own the badge
BadgeService:AwardBadge(player.UserId,PlayedBadge) --Giving the badge to the player
end
end)
also, this might help: https://create.roblox.com/docs/reference/engine/classes/BadgeService#AwardBadge