Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Item = script.Sword -- писать Script + точка + название вашего предмета
- local PassId = 0 -- сюда PassId вашего геймпаса
- local MarketPlaceService = game:GetService("MarketplaceService")
- function OnAdded(player)
- local function OnCharacterAdded()
- if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, PassId) then
- local newItem = Item:Clone()
- newItem.Parent = player.Backpack
- end
- end
- player.CharacterAdded:Connect(OnCharacterAdded)
- end
- game.Players.PlayerAdded:Connect(OnAdded)
- --Created by WolfGamesProgrammer
Advertisement
Add Comment
Please, Sign In to add comment