I have a dialoug script that I made which works perfectly fine, Its all good, But when the script parent parent is changed the script just doesnt work, and idk why because the script has nothing to do with the workspace or where it is at the moment
the variables in the script dont have anything releating to the workspace(where the npc at in picture)
when I change the npc parent to a folder in the player and back to the workspace the script no longer works
warning video might be loud
I did some testing, and I found that - although I don’t think it should matter - the game makes the script repeat when you put it in the player(probably because it stops working in the player). Maybe try and put the script in something outside the player like the replicated storage so that it doesn’t repeat. Again, probably won’t work but it might be worth a shot.
I’ve been running into a similar problem though I’m not really sure if it’s exactly the same with a script in a “Persistent” model under workspace. I thought that maybe it was just due to it being under workspace but the same behavior applies if I put the model under ServerScriptService and then parent it elsewhere.
I’ve found that the script still “runs” properly (verified through print statements) but it doesn’t really make any of the changes it should.
If this is the same case for you then it might warrant a bug report instead x.x