Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I need a badge killer script. Help? q4 12 312e12de2 1

1 answer

Well i kinda feel bad but if it worked and you accept my answer then it's all good, here you go:

	local Players = game:GetService("Players")
    local BadgeService = game:GetService("BadgeService")
    
    local BADGE_ID = 1 -- change this
    
    local debounce = false 
    
	local definepart = script.Parent -- change this to the location of the part they need to touch!

	local function hit()
    	if not debounce then
    		debounce = true
    		if hit then
    			local player = Players:GetPlayerFromCharacter(hit.Parent)
    			if player and BadgeService:UserHasBadgeAsync(player.UserId, BADGE_ID) then
    				
    			end
    		end
    		wait(0.5)
    		debounce = false
    	end
    end
 
    definepart.Touched:Connect(hit)

(THIS IS A SCRIPT BEFORE YOU ASK!)

2 comments

0

Downvoted because this supports requests

0

Reverse-Uno card

This discussion is preserved as it was. New answers, comments, and votes are closed.