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

Game pass tool? [closed]

Asked by 10 years ago

I wan't to make a tool game pass but I don't know how. Someone please help?

Closed as Not Constructive by iluvmaths1123 and BlueTaslem

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago
local GamePassId = 0 --Enter Gamepass Id.

game.Players.PlayerAdded:connect(function(player)
if game:GetService("GamePassService"):PlayerHasPass(player, GamePassId) then
game.Lighting.Tool:Clone():.Parent = player.Backpack --Change Tool to you item name.
end
end)
Ad