local MPS = game:GetService("MarketplaceService") MPS.ProcessReceipt = function(receiptInfo) if receiptInfo.ProductId == 1052512510 then local player = game.Players:GetPlayerByUserId(receiptInfo.PlayerId) local player_name = player.DisplayName local ws_player = workspace:FindFirstChild(player_name) ws_player:SetPrimaryPartCFrame(script.Parent.Parent.Parent.Workspace.RankGiverPads.Model1.TouchPart.CFrame + Vector3.new(0,5,0)) return Enum.ProductPurchaseDecision.PurchaseGranted end end
Ok suprised no-one answered this already, its pretty easy. The script goes like this:
local MPS = game:GetService("MarketplaceService") MPS.ProcessReceipt = function(RInfo) local PlrId = RInfo.PlayerId local Plr = game.Players:GetPlayerByUserId(PlrId) local Char = Plr.Charatcer or Plr.CharacterAdded:Wait() local ProductId = RInfo.ProductId if ProductId == 1052512510 then Char.HumanoidRootPart.CFrame = CFrame.new(workspace.RankGiverPads.Mode11.TouchPart.Position + Vector3.new(0,5,0)) end return Enum.ProductPurchaseDecision.PurchaseGranted end
This should work though there ming be some spelling mistakes in it, so thats up to you to find and sort