Auto Leave If Mod Joins
Key Required

Auto Leave If Mod Joins

Deltarune: Connectedresecleresecle 318 views 929 executesUpdated Aug 2, 2026
Unrated
00
Lua Script•57 lines (1082 chars)
print("Working")

local Players = game:GetService("Players")

local badUsers = {
	["bankjinnavat"] = true,
	["TROC_Fan"] = true,
	["ObviousSmug"] = true,
	["Bashoosh"] = true,
	["billiejoe29"] = true,
	["JoandreM"] = true,
	["Holk2030"] = true,
}

local function getBadPlayers()
	local found = {}

	for _, player in ipairs(Players:GetPlayers()) do
		if badUsers[player.Name] then
			table.insert(found, player.Name)
		end
	end

	return found
end

local function formatNames(names)
	if #names == 1 then
		return names[1]
	elseif #names == 2 then
		return names[1] .. " and " .. names[2]
	else
		local text = ""
		for i = 1, #names - 1 do
			text ..= names[i] .. ", "
		end
		return text .. "and " .. names[#names]
	end
end

local function checkAndKick()
	local found = getBadPlayers()

	if #found > 0 then
		game.Players.LocalPlayer:Kick(formatNames(found) .. " joined")
	end
end

-- Check immediately in case they're already here.
checkAndKick()

-- Check whenever someone joins.
Players.PlayerAdded:Connect(function(player)
	if badUsers[player.Name] then
		checkAndKick()
	end
end)

Features & Information

Automatically kicks you if a mod (or a known snitch that reports people) joins the server. Deltarune Connected only.
#deltarune#deltarune connected#troll#trolling#kick

Community Comments (0)

No comments yet for this script.

More Scripts for Deltarune: Connected