CCCPaste

BadgeScript (STORY GAME OBBY)

local BadgeID = 4234072313304229

local Debounce = false

script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		
		if Debounce == false then
			
			Debounce = true
			
			local character = hit.Parent
			local player = game.Players:GetPlayerFromCharacter(character)

			game:GetService("BadgeService"):AwardBadge(player.UserId, BadgeID)

			wait(5)

			player.Character:WaitForChild("HumanoidRootPart").CFrame = game.Workspace.ReturnPart.CFrame
			
			Debounce = false
		end
	end
end)