#Skip stage

1 messages · Page 1 of 1 (latest)

rare ocean
#

Can anyone tell me why I can’t get the skip stage to work? When purchasing skip stage, it takes me to stage 2 which works fine but it doesn’t teleport me to stage 2 unless I die

(Local script is for the Skip Stage Gui)
(Script is in ServiceScriptServices)

steady idolBOT
#

studio** You are now Level 2! **studio

rare ocean
#

Also purchasing skip stage several times goes from stage 1-2, 3-4 then 4-7 then higher instead of 1-2-3…

placid fern
#

Can you send the scripts as a text here, its a lot easier to read when i dont have my glasses. 😅

rare ocean
#

I can try figure out how to get it here since I’m typing on phone

placid fern
#

Ahh no dont ill try to read it should be fine

warped lake
#

There is a typo in the _G function name

#

Instead of _G.playerLoaded you wrote it without the underscore

rare ocean
#

So add _?

warped lake
#

Yes

rare ocean
#

I changed it but it doesn’t teleport me and the stage went from 1 to 4

#

Every purchase goes up way more than it should be going up.

warped lake
#

Is it saving everytime you stop the game?

rare ocean
#

Saving?

#

I know it puts me back to checkpoint 1

warped lake
#

What about the output, does it show any errors?

rare ocean
#

Says 0

serene gulch
warped lake
#

dang

rare ocean
#

Only issues are

  • Doesn’t TP me to next stage
  • purchasing Skip Stage goes to stage 1-2 then 2-4 then 4-7 then 7-11 onwards
#

Not sure why it’s not going up by 1 and no tp to next stage

rare ocean
serene gulch
barren notch
#

PrompProductPurchaseFinished is so bad...

rare ocean
rare ocean
steady idolBOT
#

studio** You are now Level 3! **studio

rare ocean
barren notch
barren notch
rare ocean
rare ocean
#

@barren notch I don’t know why error this could be

#

Just randomly hovered over it and it shows this

rare ocean
barren notch
rare ocean
barren notch
#

Why use RunService.Heartbeat:Wait()?

rare ocean
barren notch
#

Remove that

#

And

#

Add a character variable

#
local char = player.character

if not char then return end
rare ocean
#

Done it correctly?

Stages still go up randomly and no tp

rare ocean
#

@barren notch I’ve tried moving my checkpoints in order and nothing

rare ocean
#

I’ve currently found a solution! Found a gui with script, changed productID with my productID number and it goes up by 1 now and teleports me to next stage

#

Only thing I need to find out how to stop them from buying skip at the end