Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a skip stage button on an obby?

Ive tried many different methods but they all didn't work, so instead i'm asking on here.

1 answer

It depends on how you have your obey designed. I would get a table value on each of the spawns and get a value on which spawn the player is on. and by using "MarketPlaceService" you can make the button sell a Product and when the purchase is complete. it changes the player's characters CFrame to your players spawn value in the table + 1

local Tables = {Spawn1,Spawn2,Spawn3}

function SendPlayerToNextSpawn(plr)
local char = plr.Character
char:SetPrimaryPartCFrame(Tables[plr.CurrentSpawn.Value+1].CFrame)
end

2 comments

0

Thanks I'll try it out :)

0

Hope it works

This discussion is preserved as it was. New answers, comments, and votes are closed.