game.Players.PlayerAdded:Connect(function(plr) if plr.Name ~= 'Halmuni' or 'Aclysmic' then plr:Kick() end end)
so basically when a player joins if name is not equal to 'Halmuni' or 'Aclysmic' it will kick but it kicks me...... and I think it kicks the other parameter too
Wrap it in parenthesis, it should work. This allows for more efficient code.
game.Players.PlayerAdded:Connect(function(plr) if plr.Name == ('Halmuni' or 'Aclysmic') then plr:Kick() end end)
You are not using if statements correctly. Here is fixed code:
game.Players.PlayerAdded:Connect(function(plr) if plr.Name ~= "Halmuni" or plr.Name ~= "Aclysmic" then plr:Kick() end end)