auto disconnect AMS moderators and game devs preset
Key Required

auto disconnect AMS moderators and game devs preset

Artful's Marvelous Show! (Public Stage)imdisplayimdisplay 152 views 68 executesUpdated Mar 22, 2026
Unrated
00
Lua Script•64 lines (2336 chars)
_G.Enabled = true;

_G.CertainPlayer = true; --Set to false if you want it to kick you if anyone joins and true if you want to use playerlist

_G.Kick = true; --If it kicks you or just gives a notification that someone joined

playerlist = {"LYINFOCITO", "BAEMONSHANK", "Angele122", "AwesomestZen", "RoyalPIuto", "casualperson_pixil", "BlairDaCreature", "jiwaeu", "builderman", "david.baszucki"}  -- Just add more if you want to
--------------------------------------------------------------------------------------SCRIPT
if(_G.Enabled == true) then

game:GetService("Players").PlayerAdded:Connect(function(user)
local Time = os.date("*t")

if(_G.CertainPlayer == false) then
        if (_G.Kick == true) then
    game.Players.LocalPlayer:Kick("A player joined: "..user.Name.." ,at: "..Time.hour..":"..Time.min)
    end
    if(_G.Kick == false) then
print(user.name.." Joined your game at ".." ,at: "..Time.hour..":"..Time.min.." and Wrote PlayersJoined.txt file in workspace/AutoDisconnect")
game.StarterGui:SetCore("SendNotification", {
Title = user.name.." Joined!";
Text = "At "..Time.hour..":"..Time.min.." and wrote PlayersJoined.txt in workspace/AutoDisconnect folder";
Duration = 5;
})

makefolder("AutoDisconnect")
writefile("AutoDisconnect\PlayerJoined.txt",
user.name.." joined at "..Time.hour..":"..Time.min
    )

end
if(_G.Kick == true) then
    game.Players.LocalPlayer:Kick("A player joined: "..user.Name.." ,at: "..Time.hour..":"..Time.min)
    end
end



if(_G.CertainPlayer == true) then
    
for i = 1, #playerlist do
   
if(user.Name == playerlist[i]) then
        if(_G.Kick == true) then
  game.Players.LocalPlayer:Kick("A player from the playerlist joined: "..playerlist[i].." ,at: "..Time.hour..":"..Time.min)
       end
    
if(_G.Kick == false) then
print(playerlist[i].." from playerlist Joined your game at ".." ,at: "..Time.hour..":"..Time.min.." and Wrote PlayersJoinedLIST.txt file in workspace/AutoDisconnect")
game.StarterGui:SetCore("SendNotification", {
Title = playerlist[i].." Joined!";
Text = "At "..Time.hour..":"..Time.min.." and wrote PlayersJoinedLIST.txt in workspace/AutoDisconnect folder";
Duration = 5;
})    
makefolder("AutoDisconnect")
writefile("AutoDisconnect\PlayerJoinedLIST.txt",
playerlist[i].." from playerlist joined at "..Time.hour..":"..Time.min
    )
end
end
end
end
end)
end

Features & Information

decided to release this after my main account got banned (how ironic.) won't work if the players in the list are already in the server, only works for new ones joining does this counts as skidding? basically disconnects you when the devs, moderator, or the owner of artful's show (also includes the big baszucki for no reason) joins so you will have less chance caught doing random exploiting stuff i guess. find the original script here i guess https://www.mastersmzscripts.com/robloxscripts/mastersmz-scripts/discussion/76213dc8-d00a-4cd2-9ea7-2fc71028692e https://controlc.com/f08ab223

Community Comments (0)

No comments yet for this script.

More Scripts for Artful's Marvelous Show! (Public Stage)