#Gamepass script help
1 messages · Page 1 of 1 (latest)
** You are now Level 7! **
You might need to upload the tool first if you made it yourself, otherwise you can already add it to the game and just parent it to the backpack when bought
To add the tool to workspace you can search it up in the toolbox or
Paste id in toolbox
@hasty apex
where is the tool located
you can put in the tool asset in server script service or replicated storage, then :Clone() the tool into the players backpack after you've confirmed the purchase/use has the gamepass
workspace
put it in the fucking toolbox bro
um u wanna join my studio? 😭
Sadly i cant help since im on vacation
But hold on for 1 min
Oh i see
OOOH
Alr so
Open the page with the tool on roblox and click "get" so you can use the asset
The old script you used would prob work with that
whats that
gimme the script grah
ofc
local Players = game:GetService("Players")
local MarketPlaceService = game:GetService("MarketplaceService")
local GamepassID = 12345678 -- Change this ID to your Gamepass ID
local ToolName = "YourToolName" -- Change YourToolName to whatever you tool is called
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
script[ToolName]:Clone().Parent = player.Backpack
end
end)
end)
clone the whitehand and slap hand and then put those clones in the script
and change your gamepass id too
and you have to prompt those gamepasses too
btw I saw a tutorial where I got this scruipt from the script I sent u before has to be in ServerScriptService
yea i cant help u srry, this seems like an easy task so maybe ask the studio assistant AI to do it, Its just that I cant help you if ydk the slighest thing bout scripting