-- Put in ServerScriptService


local players = game:GetService("Players")
local badge = game:GetService("BadgeService")
local badgeID = 0000000000                       -- change this to badge ID
local minutes = 5                                           -- change this to how many minutes you want to wait

local function onPlayerAdded(player)
	local playerID = player.UserId
	wait(minutes*60)
	badge:AwardBadge(playerID,badgeID)
end

players.PlayerAdded:Connect(onPlayerAdded)
