How to make a You Met The Owner Badge

I will teach you how to make a Owner Badge on roblox studio with the script

by NoahPlayz64OnYt

Author Avatar

First, go to game settings on your game then make a badge.

Game Settings > Monetization > Create a badge

image|100x100

then once you created the badge go to roblox studio and add a script like this

local Players = game:GetService("Players")
local BadgeService = game:GetService("BadgeService")

-- Settings
local BadgeId = 0
-----------

function PlayerAdded(Player)
	if Player.UserId == game.CreatorId then
		for _, v in pairs(Players:GetPlayers()) do
			BadgeService:AwardBadge(v.UserId, BadgeId)
		end
	end
end

Players.PlayerAdded:Connect(PlayerAdded)

View in-game to comment, award, and more!