Script:
local id = 6867225 local mps = game:GetService("MarketplaceService") script.Parent.ClickDetector.MouseClick:Connect(function(p) if mps:UserOwnsGamePassAsync(p.UserId, id) then local char = p:WaitForChild("Character") or p.CharacterAdded char.HumanoidRootPart.CFrame = CFrame.new(0, 50, 0) end end)
Character
is not a child of player, try p.Character
instead of p:WaitForChild("Character")
.