So I have a part, which activates an event, which then activates a GUI to pop up, which has dialouge. After the dialouge is done, the GUI dissapears. At the end of the script I put:
So after the dialouge is done, the GUI dissapears, as it should be… Except for when the player dies, or resets their characters, or touches the part again, the part (I assume) does not dissapear as then the GUI appears back on the players screen and stays there, and does not dissapear, yet I added a destroy script at the end of the script for the GUI, and I made it to disable the GUI.
I added another part farther in the map which has the same thing as the first: game.Workspace.PopupActivate3:Destroy()
so there’s another script that destroys the trigger part, but the same thing happens…
Why isn’t the destory part & disable the GUI script not working? How can I fix this?
Yes, localscripts only operate for the local player aka you. But if you have something on the server that handles it, you’d have some conflicts between the server and the client.
Also keep in mind these are the only places that local scripts operate:
Umm… well, “ResetOnSpawn” was always set to false… but then I changed it to true, and it still didn’t work… and then when I put it to false again, it now works…
I honestly have no idea why it didn’t work before… but
Actually, the problem is now solved. The problem was with “ResetOnSpawn.”
I had “ResetOnSpawn” set to false…and it didn’t work. So I then changed it to true, and it still didn’t work… But when I changed it back to false it then did work.
I don’t really know why it broke and didn’t work, even though I had it to false before… but now the problem is solved.
It’s now broke again. Seriously, I swear it was working before. Now it went back to it being broke and not working again.
I seriously don’t know what the problem is with this. The dialouge/gui system I have in another place works fine, while in this one it doesn’t…
I don’t know if this matters, but I got some weird errors in the console:
(I don’t think the top errors are realevent. I think only the stuff from “StackBegin” to “Line 115”)