КАК СДЕЛАТЬ VIP В ЧАТЕ ТОЛЬКО С GAMEPASS 🛠️В Roblox Studio?!
Автор: Devyon
Загружено: 2023-12-27
Просмотров: 4939
Описание:
В сегодняшнем видео я покажу вам, как сделать тег чата только c Gamepass в Roblox Studio. Надеюсь, вам понравилось видео, приятного вам дня!
Script :
local GamepassID = 1234567890 -- Change this to your Gamepass ID
local MarketlaceService = game:GetService("MarketplaceService")
game.Players.PlayerAdded:Connect(function(player)
if (MarketlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID)) then
local Tags = {
{
TagText = "GamepassName", -- Change GamepassName to whatever you want the players Chat Tag name to be.
TagColor = Color3.fromRGB(0, 170, 255) -- You can change the color of the Chat Tag Text here.
}
}
local TextChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner").ChatService)
local Speaker = nil
while Speaker == nil do
Speaker = TextChatService:GetSpeaker(player.Name)
if Speaker ~= nil then break end
wait(0.01)
end
Speaker:SetExtraData("Tags",Tags)
Speaker:SetExtraData("ChatColor",Color3.fromRGB(255, 255, 255)) -- You can change the color of the Main chat text here.
end
end)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: