Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Filtering Enabled Question?

Asked by 8 years ago

With Filtering Enabled on, and a LocalScript firing a gun, is it safe, can they modify it in someway? If so, can they modify the script to change values that are determined inside like damage, or the wait time for a reload, etc? Or is it safer to transfer the mouses hit through an event and fire it through a Script, server-side?

2 answers

Log in to vote
0
Answered by 8 years ago

It's always safer to run it Server-sided with FilteringEnabled and then using a RemoteFunction so it returns back the information to the server.

Basically, you need to fire up the LocalScript Server-sided, for the exploiters not to be able to exploit anything from your gun, altought that might produce some delay in the firing of the gun. So you will have to play a bit with it so the delay is less noticed by the users.

0
Does something like this work: Event:FireServer(player, Mouse.Hit.p), from a localScript that defines Mouse? Evadable 65 — 8y
0
It should work as you are firing GetMouse() parameter from the localscript trought the server. iDarkGames 483 — 8y
0
Although, you can do any argument inside the FireServer, as the mouse goes trought the player, it's valid to say Mouse.Hit.p iDarkGames 483 — 8y
Ad
Log in to vote
0
Answered by 8 years ago

It is safer to run it server-side as Filtering Enabled stops exploits from being able to edit server scripts, but not local scripts.

Answer this question