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

How would i make my script check a site for a playersname then kick?

i have tried

local http = game:GetService("HttpService")

game.Players.PlayerAdded:Connect(function(Player)
	local Site = http:GetAsync("https://hastebin.com/raw/ucuzetulap")
		if string.match(Site, Player.Name) then
			Player:Kick("On Ban List")
		end
	end
end)

but had no luck and i got no errors

1 comment

1

try mine

1 answer

✓ Accepted answer

I was just trying this

local http = game:GetService("HttpService")

game.Players.PlayerAdded:Connect(function(Player)
	local BanList = http:GetAsync("https://hastebin.com/raw/ucuzetulap")
	if string.find(BanList, Player.Name) then
		Player:Kick("A Wild Banned Player Has Appeared!")
	end
end)

with a different link obv but this seems to work for me!

1 comment

0

thanks works fine :D

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