Hello everyone! well my problem was how to make a table or list of players, since when doing this script it doesn’t work
local playerlist = {"ezelike2017"}
script.Parent.Triggered:connect(function(player)
if player.Name == playerslist then
Player.Team = police
end
end)
(I did the script from here, but the script I have in studio is the same)