We have no idea - remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?
That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!
And without knowing how the rest of your game works there is no way we can give you any directly useful advice - so I'd suggest that you start with google:
write a game in roblox - Google Search[
^] or here:
Creating an Adventure Game | Documentation - Roblox Creator Hub[
^]