I Need a lot of help whit this. I Wanted to Make a screenGui that the game is closed but you could buy access to the game when you are over the void on a checkpoint. I want it to teleport you to the entrance of the game when you bought it + deleting the screen gui that says that the game is closed.
Here Is My Explorer, If you want more info on this make sure to tell me in the Comments. Image Of My Explorer In New Tab
My Script From The Image (In ServerScriptService):
local MarketPlaceService = game:GetService('MarketplaceService') local id = 448687322 MarketPlaceService.ProcessReceipt = function(receiptInfo) for i, player in ipairs(game.Players:GetChildren()) do if player.userId == receiptInfo.PlayerId then if receiptInfo.ProductId == id then --Teleport To Part end end end end
Please Help Me!
if i do not misunderstand you just need to do something like this
player.Character.HumanoidRootPart.CFrame = workspace["When bought teleport to this block"].CFrame+Vector3.new(0,5,0) -- This teleports the player to the block and additional 5 Studs Above(if you dont want the 5 studs just remove the +Vector3.new(0,5,0) at the end)
Closed as Not Constructive by DinozCreates, WideSteal321, User#24403, and ihatecars100
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?