Как в Roblox Studio Сделать рабочий gamepass

Аватар автора
Игровые Симуляторы и Сессии
Вот скрипт local Id = Сюда id геймпасса local VipPlayers = {"", ""} local ToolName = {"gun"} local function FindPlayer(Plr) for Num, Pler in pairs(VipPlayers) do if Pler == Plr then return true end end end game.Players.PlayerAdded:connect(function(Player) if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, Id) or FindPlayer(Player.Name) then Player.CharacterAdded:Connect(function(character) for Num, Tool in pairs(ToolName) do if game:GetService("ServerStorage"):FindFirstChild(Tool) then game:GetService("ServerStorage")[Tool]:Clone().Parent = Player.Backpack end end end) for Num, Tool in pairs(ToolName) do if Player.Backpack:FindFirstChild(Tool) == nil then if game:GetService("ServerStorage"):FindFirstChild(Tool) then game:GetService("ServerStorage")[Tool]:Clone().Parent = Player.Backpack end end end end end)

0/0


0/0

0/0

0/0