RemoteEvent checking localscript

How i can check from what localscript remote was fired.
And without passing any arguments like (script)

You could do script:GetFullName() to do this, but if this is for an anti-exploit it’s not worth trying. Exploiters can see what script calls the remote, and they can just always pass that script’s full name.

Yes it is for anti exploit, but i need do it without parsing arguments. Like
from localscript player fires a remote “Fire()”
And on server script should be printed LocalScript from that was fired a remote.

That won’t be possible. The LocalScript will likely be in a place the server can’t see, e.g PlayerScripts. And again, since the LocalScript that fired it needs to be sent to the server from the client it is susceptible to spoofing. Too much work. Don’t bother.

1 Like

There’s no way to know what script it’s from unless you pass an argument of the localscript name.

But exploiter can change it to the right one.

If you do server checking well enough knowing what localscript it came from won’t be necessary to do at all, though.

But i need know how to do it. Since exploiter can change argument to right one, and bypass it. So i need to know how i will find from what a local script it was fired.

Like I said, you can avoid having to do what you’re trying to do by doing correct security checks on server. You shouldn’t ever need to know what LocalScript an event was fired from.

Why is this important though? There is no way to verify that it was legit. Just secure your remotes, and you won’t have problems.

Since then exploiters running scripts, they not creating an localscript object. Its just nil. So i need to know. If fire was from legally created localscript or it was fired from a “nil”.

Exploiters are just going to bypass it and send a script from your game. If Roblox had some sort of native way to get the localscript that fired, that info has to be obtained from the client, and as we all know, anything on the client can be spoofed. Don’t waste your time.

What is the goal you’re trying to achieve out of knowing what LocalScript it came from so we can help you?

I’m certain there’s a better way to do it.

But like I said, there’s no way to do it without at least passing one argument of the script name.

Ok ok, ill find another way to do it.

But this info is going to have to come from the client, there won’t be a way to do it without it being susceptible to spoofing :joy:

1 Like