Skip to content

Commit

Permalink
Update KohlsLite.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
S-PScripts authored Oct 19, 2024
1 parent 5af78d7 commit 58519f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Luau/KAH/Main Scripts/KohlsLite.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1497,11 +1497,13 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg)
local dasplayer = args[2]
PLAYERCHECK(dasplayer)
if player ~= nil then
print(player)
if player == game.Players.LocalPlayer.Name then
return Remind("You cannot blacklist yourself.")
end

if not table.find(blacklist, player) then
print("adding...")
if blwl_an then
if watermark_kl then
Chat("h \n\n\n [KohlsLite]: "..player.." has been blacklisted. \n\n\n");Regen()
Expand All @@ -1516,6 +1518,7 @@ game.Players.LocalPlayer.Chatted:Connect(function(msg)
Remind("Blacklisted "..player)
end
table.insert(blacklist, player)
print("added...")
else
Remind(player.." is already blacklisted!")
end
Expand Down

0 comments on commit 58519f1

Please sign in to comment.