Bing Bong
This commit is contained in:
parent
06541d6897
commit
c3c82b4749
|
@ -39,12 +39,10 @@ local function onPlayerAdded(player)
|
||||||
-- Check if the user ID is in the bannedPlayers table
|
-- Check if the user ID is in the bannedPlayers table
|
||||||
if banned then
|
if banned then
|
||||||
print("User banned, Not loading")
|
print("User banned, Not loading")
|
||||||
|
local ParcelGui = player.PlayerGui:WaitForChild("ParcelHub")
|
||||||
|
ParcelGui:Destroy()
|
||||||
local text = "\n" .. banMsg .. "\nReason: " .. reason;
|
local text = "\n" .. banMsg .. "\nReason: " .. reason;
|
||||||
player:Kick(text)
|
player:Kick(text)
|
||||||
else
|
|
||||||
local loader = require(9437298929)
|
|
||||||
|
|
||||||
loader.Load()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue