#skip to end

93 messages · Page 1 of 1 (latest)

marsh fjord
#

p2w embarrassedman

spiral lava
#

wat

marsh fjord
#

why p2w that dev prod = teleport to end

spiral lava
#

i dont know how

marsh fjord
#

do u wanna make it like a gui

minor iceBOT
#

studio** You are now Level 5! **studio

marsh fjord
#

or direct buy and teleport

spiral lava
#

i have a screen gui button

#

when u buy it u get teleported to the end

marsh fjord
#

ok

spiral lava
#

like a area

marsh fjord
#

lemme script it for u

#

brb

spiral lava
#

thanks 🙏

marsh fjord
#

pls gimme the dev product id

#

@spiral lava

spiral lava
#

oh can i just add it in when u finish it

marsh fjord
#

okie

#

i'll leave a blank

spiral lava
#

ok sure

marsh fjord
#
local mps = game:GetService("MarketplaceService")


script.Parent.MouseButtonClick:Connect(function()
    mps:PromptProductPurchase(game.Players.LocalPlayer,~blank~ )
end)
#

that in a local script inside the gui

spiral lava
#

ok

marsh fjord
#

im almost done

#

but dunno how to take the player to end

#

is your game based on level teams?

spiral lava
#

no its just basically teleporting the player to a area

marsh fjord
#

a area in the place

#

or external place

spiral lava
#

in the place

#

like the end of the obby something like that

#

finish line

#

did u figure it out

marsh fjord
#

kinda

#

i just need who to teleport

spiral lava
#

oh

marsh fjord
#

fuck this shit

#

just insert a part at the end

#
local mps = game:GetService("MarketplaceService")
local players = game:GetService("Players")    
local Player = game

local function skip()
    Player.Character.HumanoidRootPart.CFrame = ~part-name~ + Vector3.new(0,5,0)
    if (reciept.ProductID == ~blank~ ) then
      return Enum.ProductPurchaseDecision.PurchaseGranted
    end
end    



mps.ProcessReceipt = skip
spiral lava
#

where do i put the part

marsh fjord
#

at the end

spiral lava
#

Player.Character.HumanoidRootPart.CFrame = ~part-name~ + Vector3.new(0,5,0)

marsh fjord
#

where u want the player after they buy

spiral lava
#

here

marsh fjord
#

ya

spiral lava
#

do i just change the part name

marsh fjord
#

replace (~part-name~)

#

ya

spiral lava
#

do i add these ( ) at the end

marsh fjord
#

followed by (.CFrame)

#

no

#

ex, if part name is apple

#

replace ~part-name~ with apple.CFrame

spiral lava
#

oh where should i put the script

marsh fjord
#

In

#

ServerScriptService

#

Btw, test it

spiral lava
#

ok

marsh fjord
#

i just created it from scratch

spiral lava
#

it didnt move me anywhere

marsh fjord
#

any output?

spiral lava
#

not sure wat it means

#

wait

#

didnt work

marsh fjord
#

k

#

lemme try

spiral lava
#

ok

marsh fjord
#
local mps = game:GetService("MarketplaceService")
    local players = game:GetService("Players")    
    local Player = game

    local function skip()
    script.Parent.Triggered:Connect(function(plr)
        plr.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.~part~.Position)
    end)
        if (reciept.ProductID == ~blank~ ) then
          return Enum.ProductPurchaseDecision.PurchaseGranted
        end
    end    



mps.ProcessReceipt = skip
#

final, if this doesnt work

#

im done

spiral lava
#

let me try

#

plr.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.~part~.Position)

#

wat should i replace here

#

just part name or . something

marsh fjord
#

just the part name

#

@spiral lava ^

spiral lava
#

i did still didnt work sadly

minor iceBOT
#

studio** You are now Level 5! **studio

marsh fjord
#

any error in output

spiral lava
#

no

marsh fjord
#

then uh

#

ig i have to quit

#

sowwy

spiral lava
#

thanks for trying tho

keen whale
#

Use :

#

HumanoidRootPart.CFrame = ~Part~.CFrame

spiral lava
#

plr.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.~part~.Position)

#

do i replace all this

marsh fjord
#

@keen whale Doing that, ig it would teleport everyone to end

spiral lava
#

oh i dont want everyone

#

that didnt work also

marsh fjord
#

well