so when you reset the gui continues or???
Well, when the player steps onto the part which triggers the GUI, after the text-string is done, and I have the lines:
script.Parent.Enabled = false
game.Workspace.PopupActivate:Destroy()
at the end of the script, the part is supposed to be destroyed and the GUI is supposed to be not enabled. The part does get destroyed, but whenever a player touches where the part would be, the GUI shows again and does not dissapear. This happens both when I set âResetOnSpawnâ to true, and false.
Have you used any print statements to try and find where the script stops?
Iâve only just joined this topic so if youâve already done this or it isnt the script then just ignore this.
Usually when I try and disable scripts they dont disable. I dont know why.
If you are doing this in the client it will only destroy for you.
Yeah, I know. I do want it to destroy for only me, but it still shows up for me though.
I havenât, and I really donât know how to.
I have a friend who told me that I need to like stop the event or something like that?
The thing is. Its not really recommended to destroy a part with the client. Its recommended setting the transparency to 0 and cancollide false.
But then the player would be able to have the GUI appear again, which I donât want.
Can touch events happen when can collide is false? I thought they didnât and if they donât, I think thatâs the solution
Touched events still work even when CanCollide is set to false.
@Normalshow12345 Are you destroying the part on the client, but checking the .Touched event on the server? If so that may be part of the problem.