Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
Rackm 10
9 years ago

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

Log in to vote
0
Answered by 9 years ago

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.

Ad

Answer this question