Are you firing any sort of event when the round has started? If not you could and then anyone on the zip line when the event is fired would be ejected then teleported.
Well I was thinking more of a bindable event for when your round is starting. I’m assuming your round handler is using a server sided script? You can use a for loop to find any players who are on the zip line and eject them, maybe try making them jump? If you don’t want to do it in your handler script you could try making a bindable event and making a separate script.
For example:
When someone gets on the zip line you add a value to their player, or character, letting us know they’re currently in the zip line and the value would get removed when they exit the zip line. Then when your round starts use a for loop to find all the players who might be on a zip line by checking for the value assigned to them. Then just eject all the players who are on the zip line, maybe by making their characters jump.
Could you share your round handler/teleportation script?
Ok I think my other reply solved it pretty much.
It is kind of hard to tell what is going on because it looks like you are using a module, but I can try and direct you towards where to put the lines of code I showed above.
The round starts after this line:
gameModule.Countdown(30, 0, -1, status, "A new round is starting in: ")
so that is about where you should set roundInProgress to true.
I can’t tell if you have finished the whole round system and when it should end, but I think you should set roundInProgress to false about where it where it says
sure you could put it in replicated storage, but make sure to update the parent when referencing it.
The for loop is a kind of advanced… but I’ll try and explain as simply as I can. If the round doesn’t start while you are on the zipline, it waits 5 total seconds and then ejects the player normally. If the round does start while you are on the zipline, it ends early.
edit: I changed the script from the previous reply a bit bc something was wrong but I fixed it.
Ohhhh
Just get player’s character and check if it’s not nil.
Then find humanoid.
Take this should help.
And for player teleporting issues i would use Run service to make him teleport to zipline ,and i would tween properties of zipline.
I figured it myself no worries! I just had to use the _G and a variable for the 2 scripts that are either true or false. Thanks for your help tho. Really appreciate this community.