Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to link a Developer Product to a gear?

Asked by 9 years ago

I needed to link a developer product to a gear and found out they don't work with the "AdminTools" script. Also, does it have to be an official ROBLOX gear?

1 answer

Log in to vote
0
Answered by
iSvenDerp 233 Moderation Voter
9 years ago

I'm not sure if you want the game pass to give the play a tool, but here's a way you could do it:)


id = 1337 --gamepass id game.Players.PlayerAdded:connect(function(plr) -- this is where the player has entered the game and you start a function repeat wait() until plr.Character if Game:GetService("GamePassService"):PlayerHasPass(plr, id) then -- we use game pass service to see if player has game pass tool = game.ServerStorage["Tool Name"] -- put the name of the tool you want them to have here tool:clone().Parent = plr.Backpack tool:clone().Parent = plr.StarterGear -- puts it into players started gear end end)

Hope this helped:) I forgot to tell you to make sure the tools in the server storage You should also atleast attempt a script we really aren't supposed to just give u the script but good luck:)

0
Let me know if it didn't work cause it works for me all the time. iSvenDerp 233 — 9y
0
So this will have to be a published gear? RandomMildChicken 11 — 9y
0
Oh no it doesn't have to be. any tool that any player or roblox has made will work. iSvenDerp 233 — 9y
Ad

Answer this question