Player Values
Last updated
Last updated
-- variables & services
local services = {
["Players"] = game:GetService("Players")
}
local mutedplrs = {
4045066496, -- Azxqfy
1234567890, -- some random ID I came up with
}
-- listener
services.Players.PlayerAdded:Connect(function(player)
local econnectFolder = player:WaitForChild("Activ | eConnect") -- the folder that contains the boolvalues
if table.find(mutedplrs, player.UserId) then
econnectFolder.Send.Value = false -- set to false if the user is INSIDE the table
else
econnectFolder.Send.Value = true -- set to true if they're not inside the table
end
end)-- variables & services
local services = {
["Players"] = game:GetService("Players")
}
local deafenedplrs = {
4045066496, -- Azxqfy
1234567890, -- some random ID I came up with
}
-- listener
services.Players.PlayerAdded:Connect(function(player)
local econnectFolder = player:WaitForChild("Activ | eConnect") -- the folder that contains the boolvalues
if table.find(deafenedplrs, player.UserId) then
econnectFolder.Receive.Value = false -- set to false if the user is INSIDE the table
else
econnectFolder.Receive.Value = true -- set to true if they're not inside the table
end
end)