📜  roblox bots - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:48.102000             🧑  作者: Mango

代码示例1
game.players.PlayerAdded:Connect(function(player))
    if player.AccountAge <= 30 then
        player:Kick("\n".."Account is too young to play, account must be > 30 days old.")
    end
    //updated
    if string.find(player.Name, "catbot") then
        player:Kick("Your username is possibily a dangerous bot account")
    end
end