I have seen posts about this topic using HumanoidDescription, but in my case I’m sure it wouldn’t work.
I’m trying to change the head of the humanoid so it is invisible (Transparent) and also adding a few more parts to the rig when a player buys a gamepass.
Is it possible even?
local players = game:GetService("Players")
local mpService = game:GetService("MarketplaceService")
local gamepassId = 0 --change to gamepass id
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local player = players:GetPlayerFromCharacter(character)
local gamepassCheck = mpService:UserOwnsGamePassAsync(player.userId, gamepassId)
if gamepassCheck then --user has gamepass
--do stuff
end
end)
end)
1 Like