Error when switching to the server

Whenever I’m testing my game and I change the current to the server, I get this error:

cloud_2807765239.Script:7 attempt to index nil with ‘Name’

This has been happening since I created my game. It doesn’t cause any problems (that I know of) but it completely clogs up the output when it testing. I can’t find anything about it anywhere.

Can we see a script that you used for teleporting? We need to know more context so we can (hopefully) help you solve your issue.

I don’t have any scripts used for teleporting. I’m starting to think it’s a plug-in I downloaded with a virus in it.

1 Like

There is some nil value (which should be a table), and it is being indexed with Name. It would look kind of like this:
local num = SomeNilValue.Name

That’s all I can do with the limited info.

1 Like

I understand what the error means but my issue is I don’t know where the error is.

1 Like

If the error you get pops up when you are running in studio, it means there is a plugin that is trying to get the “Name” property but it unable due to it being nil.

I got rid of old plugins and that fixed it.