Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I go about pausing a loading bar tween that shows for everyone?

Asked by 4 years ago

So I’ve currently not got anything to show with scripts, not at the moment anyway, I’m familiar with tweening and pausing, etc. But how would I go about doing this:

Player(s) interacts with a part/object and the loading bar that is a tween which is basically a progression bar (GUI) shows up.

If a player(s) was to move away from said part/object, the progression bar (GUI) isn’t visible and it pauses at the moment the player leaves.

This is very much easy in my head when it comes to doing all of this client sided, however, because I want the actual loading bar progression to be fully server sided so it shows the same amount of progress for everyone on the server, it’s becoming more confusing for me to try and think how I would go about PAUSING it, and RESUMING the tween server-sided. Has anyone done anything similar, or know of a way? I’ve tried searching it up before I go about writing anything up, but there’s nothing really about it.

0
um, try learning remote events and arguments. If you learn them both, you can make the tween with a remote event, and then send the player name also. If you make the gui client sided and tween it client sided, it'll only go on THAT certain client. CataclysmicDev 46 — 4y
0
Couldn't I just make the GUI/Tween client sided. Have it fire a server event if a player was to interact with a part, and on that server event have it use a FireAllClients() so the GUI shows for all the players? But that doesn't really help with the resuming and cancelling the actual tween though still studiepies 0 — 4y

Answer this question