Answered by
7 years ago Edited 7 years ago
Hi there,
In studio, local scripts work just like normal server scripts, thus, a local script in studio testing would be able to access all the services that would usually only be accessed on a normal server script in game. In your script, you used local Radar = WaitForChild(Workspace, 'Radar')
which can only be accessed by a server script. I do suggest you use a remote event for server sided services. You may also want to check to ensure that your script does not access or edit any server sided services.
Your game is filtering enabled. And that’s a good thing! It prevents hackers from accessing the server and changing the properties of the server services. However, that creates some barriers such as stopping server to client communication. If your local script is to get anything other than what it can access in game, it will not work. You may want to check out remote events if you have not read about it: http://wiki.roblox.com/index.php?title=Remote_Events_and_Functions