How to connect Ingame events (scripted things that happen when you do x), to each other with a script?

Hello.

So i’m working on a game that tells a story, so events must happen for the game to continue.

In basic terms, player has to experience a thing for the game/story to advance.

Simply, how would I make this happen in a script? I got a module script with functions that are basically these ingame events, but how would I connect all these together to make it a playable game, IN AN EFFICIENT WAY.

I think making a million if statements would be ineffective.

Use parts to make an event happen by using part.Touched , then if you dont want the same event happening again you can simply turn off the property CanTouch to false after the event happened.

1 Like