of     1   

superender11
#227544164Tuesday, November 14, 2017 6:05 AM GMT

I Need A Script To Give A Player An Item If They Have The Gamepass For It Also I Really Hate Responses Like (Learn It Yourself, Its Not Hard)
Cyrakohl
#227545150Tuesday, November 14, 2017 7:36 AM GMT

local GamepassService = game:GetService("GamePassService") local GamepassIdentification = nil -- Change nil to the id to the id of the gamepass you want local ReplicatedStorage = game:GetService("ReplicatedStorage") local Item = ReplicatedStorage:WaitForChild("Item") -- The tool you want local function CloneTool (Plr,Tool) Tool:Clone().Parent = Plr:WaitForChild("Backpack") end game.Players.PlayerAdded:Connect(function(Plr) Plr.CharacterAdded:Connect(function() if GamepassService:PlayerHasPass(Plr,GamepassIdentification) then CloneTool(Plr,Item) end end

    of     1