In one of my local scripts there is a reference towards local player:
local player = game.Players.LocalPlayer
but, Roblox Studio Detects it as a hanging script because the player has not loaded in yet. Then, no matter what I press(Break, Kill Script or just close out of prompt window), Roblox Studio Takes a long time to respond.
I don't think this is important, but until it is responsive, the stop and play button are both colored.
Even after it starts responding, it crashes when I try to open the tab of my game. Please Help!

2 comments
What is your goal?
To stop Roblox from checking for hanging scripts.