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

FilteredEnaabled vs LocalScripts?

Asked by
Tor6 0
9 years ago

So is it the filterenabled that protects the game, or can I keep it off and just make all my scripts into localscripts?

2 answers

Log in to vote
0
Answered by
Ywis 5
9 years ago

Some of the stuff you make would require server sided, doubt EVERYTHING would be local scripted, but if you could make it then sure, do local script.

Ad
Log in to vote
0
Answered by 9 years ago

Put this script in ServerScriptStorage. It makes your game so people can't hack it. But if hackers get through this script then I don't know what script will.

workspace.FilteringEnabled = true

workspace.Changed:connect(function()
    workspace.FilteringEnabled = true
end)

Here is the full script I use but I really was just messing around and wanted to try stuff out. :3

workspace.FilteringEnabled = true

workspace.Changed:connect(function()
    workspace.FilteringEnabled = true
end)

workspace.FilteringEnabled = true

game.Players.PlayerAdded:connect(function()
    workspace.FilteringEnabled = true
end)

workspace.FilteringEnabled = true

game.Players.PlayerRemoving:connect(function()
    workspace.FilteringEnabled = true
end)
0
And whats the difference between this an manually enabling it? Orlando777 315 — 9y
0
I got the script from CloneTrooper1019. But anways. If someone changes the workspace like turning filteringenabled off then it just goes back to being turned on. raystriker6707 30 — 9y
0
But doesnt filteringenabled screw up your scripts? Orlando777 315 — 9y
0
hmmmm. I never thought of that. But I use that script in all my games and it never seems to screw things up. Ima go in Studio and see if my scripts work better without that script. raystriker6707 30 — 9y
View all comments (2 more)
0
Are they all local scripts? Orlando777 315 — 9y
0
No just regular scripts. CloneTrooper1019 uses regular scripts for that script. raystriker6707 30 — 9y

Answer this question