У нас вы можете посмотреть бесплатно Making a BAN PANEL on ROBLOX STUDIO! или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
Hey everyone! Today, I’ll show you how to create a Ban Panel in Roblox Studio. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ *IMPORTANT* I forgot to mention in the video that if you want to ban someone who is offline you'll need to change the script a bit! [Lines 29-39] local targetid = Players:GetUserIdFromNameAsync(target) local targetplr = Players:GetPlayerByUserId(targetid) local success, err = pcall(function() local targetplr = Players:GetPlayerByUserId(targetid) Banland:SetAsync(targetid, {true}) BanPlayerEvent:FireClient(plr, "Banned") targetplr:Kick("You have been banned!") end) if not success then warn("We have a problem!", err) end This way the target's name will save in the DataStore and when it trys to kick the target, because it's nil since the player is offline, it will protect it within the pcall and continue the execution! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Check out Roblox here: roblox.com Follow along with my complete Roblox Studio tutorial series here: • Roblox Studio Tutorials All rights belong to their respective owners! #Roblox #RobloxStudio #RobloxStudioTutorial #Gamer