So I’m having a problem where the middle two lines of this script are not running. I get both print statements so it makes no sense to me why the middle lines are not running.
I also tested this in the command line and it worked fine, so I have no idea why it’s not working in the script. Does anyone know a potential cause or fix to this? Is it possible for studio files to get corrupeted? I also tried putting the script in a completely new studio file and got the same issue.
(No, there is not any free models in the game.)
Edit: Some RemoteEvents and BindableEvents are failing to work for aboslutely no reason now as well.
This did not work. I’m not sure how putting the print statements on the bottom would change anything. Also having a print at the top and the bottom proves the script is moving through those lines.
I normally wouldn’t write this way, but I’m trying to get to the bottom of what the issue could be. I thought there could have been an isue with LocalPlayer but clearly this is not the case
Can you show us the entire script so that we might be able to understand it better? Specifically, the ‘PlayerName’ variable might help to specify the problem.