Hello! I have a question with Filtering Enabled! Can you guys explain what does it do. Ill accept the best answer, but then again, I wanna learn something.
Filtering enabled basicly stops communication between the client and the server.
Some examples - You cannot access the contents of the playergui using scripts
You cannot change a value inside a server area using a local script
Changing things on the client but on the server/for other clients no change would have happend
Why would you use it?
Roblox probably is going to shut down non FE games
This is great against hackers, all their exploits will only affect theirselves
How would you still communicate between server and client? You can use remotes (remote events & remote functions), though, they aren't 'perfect' hackers will still try to abuse them by sending their data trough them, you cannot stop this, only check if the data is possible in the server, you should never let the client change his money!
Remote event example
--> Client local Remote = game:GetService('ReplicatedStorage'):WaitForChild('Remote') Remote:FireServer(args)
--> Server local Remote = game:GetService('ReplicatedStorage'):WaitForChild('Remote') Remote.OnServerEvent:Connect(function(plr, args) -- Code end)
With FE enabled, there are a few ways to get the player object
--> Server side
1) game.Players.PlayerAdded:Connect(function(player) -- Code end) 2) for i,v in pairs(game.Players:GetPlayers()) do -- Code (v is the playerobject) end
Client side -->
local plr = game.Players.LocalPlayer
Some other effects of FE (filtering enabled)
If you have any more questions, just ask, here are some links wich may help you