#How come the rest of my spawn points don't have TouchInterest?

1 messages · Page 1 of 1 (latest)

rare lily
#

I'm making an obby checkpoint system, but for some reason it stops detecting my spawn points when I get to checkpoint no. 4. I tried creating new spawn points and duplicating my spawn points but neither works.. why?

#

here are my scripts

idle tangle
#

Hey you did turn on cantouch right?

rare lily
#

where is that?

idle tangle
#

The parts need a touchintrest to be able to work with the touched function

#

Otherwise the command wont fire

idle tangle
rare lily
#

for all checkpoints

idle tangle
#

That's pretty weird, it seems like it's only looping trough the first 3

#

Add a print to the top of the for loop and send me the output

rare lily
#

yeah

#

ok

#

wait so what do I print?

idle tangle
#

Just print v

rare lily
#

alr

idle tangle
#

Thats weird

#

Try to replace it with parts instead

safe schooner
idle tangle
idle tangle
#

Hold on

safe schooner
#
warn(spawns:GetChildren())

put this on like line 4 and show us the console

idle tangle
#

Serversscriptservice is the most secure place to put a datasaving scrilt

#

And this has nothing to do with datasaving

gaunt lionBOT
#

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

safe schooner
safe schooner
#

wehn stored in the player its readable for the client which is later used for UI

safe schooner
idle tangle
#

@rare lily whats the name of the type of object you used as checkpoint?

safe schooner
rare lily
#

oh

idle tangle
safe schooner
#

hm

safe schooner
#

there are no serversided exploits

idle tangle
#

Try to use ipairs instead mabey?

idle tangle
#

If they can read your script they can acces the name of the database youre usinf

safe schooner
rare lily
#

ok

idle tangle
#

If that does not work try ipairs instead

rare lily
#

still the same error message

rare lily
idle tangle
#

Just do the pairs() and turn it into ipairs()

rare lily
#

oh ok

idle tangle
rare lily
idle tangle
#

Whats the name of the object u used as checkpoint?

rare lily
#

spawn

idle tangle
#

Try to replace it with a part

rare lily
#

ok

safe schooner
idle tangle
#

And make a script that does moveto() to the checkpoint part when the character respawns

#

So if it does not give the error add a local script to the startercharacter and read the checkpoint int value and find the part in the folder and then move the character to that part using character:MoveTo(checkpointpart.Position)

rare lily
#

oooh I fixed it

idle tangle
#

Yes but it does not respawn

rare lily
#

there were models in my checkpoints folder 😭 my bad

#

it respawns right now

#

thank you

idle tangle
#

;-;

#

Alr gl!

rare lily
#

thankss

safe schooner
#

and put the player data inside of the player!

idle tangle
#

Nooo ;-; in server script service! Every youtuber recommends it!

safe schooner
#

im gonna crashout

idle tangle
#

You do mean database right?

#

@safe schooner

safe schooner
#

I mean that you create folders, etc. which is "playerdata" in the player himself the script stays in serverscriptservice

idle tangle
#

Ooohh lol

#

Yh i agree with that

#

Easy to keep track

rare lily
ocean smelt