I wanted the player to a door to get it. I don't need a script that already does it, but I want it manually.
-- Just a note for people who don't know, this "isn't the whole script" local player = Players:GetPlayerFromCharacter(hit.Parent) local human = player:FindFirstChild("Humanoid") if MarketplaceService:PlayerOwnsAsset(player, GearId) and player.StarterGear:FindFirstChild("TurkeyLeg")~= nil then InsertService:LoadAsset(GearId):Clone().Parent = player.StarterGear print("Player Has") else human.Health = 0
All variables are defined, but I need to figure why it won't give the player the gear if the player doesn't have it?
The human.Health = 0
is just a placeholder, since It'll be replaced with something else later.