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

This kicks 1 out of all people in the game. It says they go NIL?

I have the Kohls Admin Epix Edit and LuaModelMaker's Admin which may check if they go nil. I don't know what that means though. Here is the part of the script that makes the winner of the game gets kicked/make them go NIL.

local play = game.Players:GetChildren()
local playing = game.Workspace.ArePlaying:GetChildren()
	for i=1,#play do
		for w=1,#playing do
			if play[i].Name == playing[w].Name then
				play[i].Character.Humanoid.Health = 0
			end
		end
		wait(1)
		if game.Workspace.BingoWin.Value == play[i].Name then
			game:GetService("PointsService"):AwardPoints(play[i].userId,PlayerPoints)
			game:GetService("BadgeService"):AwardBadge(play[i].userId,badgeId)
		end
	end

1 answer

Okay so a Nil = is player that is in-game but not visible in the PlayerList or Avator. Mostly hackers become Nil's but not all sometimes its just a Glitch.

local Player=game:GetService('Players'):GetPlayers()
Player:Kick() 

when you use this code it uses a Roblox Kick() Method, insted of a Mickey Moused Kick() It disconnect's the Player while it shutdown's there Game Client.

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