[Roblox studio] Как сделать чат команду в роблокс-студио?

Аватар автора
Приключения в Играх
В этом видео я расскажу и покажу как сделать чат-команду в роблокс студио на своём плейсе! Код из видео @Copyright L_Creator YouTube: local command = "/kick " game.Players.PlayerAdded:Connect(function(player) print(player) player.Chatted:Connect(function(message) print(message) if player.UserId == game.CreatorId then if message:sub(1, command:len()):lower() == command:lower() then local PlayerName = message:sub(7, message:len()) print(PlayerName) for start, object in pairs(game.Players:GetPlayers()) do if object.Name == PlayerName then print(object) object:Kick("Test") end end end end end) end)

0/0


0/0

0/0

0/0