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

I turned off FilteringEnabled and my client still can't make changes to the server, why?

Asked by 6 years ago

The title says it all. I have tools run by local scripts, Filtering Enabled is off, still no changes to the server. I know I keep asking alot of questions but I'm confused by RemoteEvents so I'm trying to find an alternative.

0
FilteringEnabled can't be off. It's forced. User#19524 175 — 6y
0
@incapaz tf r u talking about, no its not. Its a property of Workspace. You can turn it off at will SBlankthorn 329 — 6y
0
It is User#19524 175 — 6y
0
It can be turned off in Workspace properties @inacapaz alonzo12345 60 — 6y
View all comments (3 more)
0
The property is now a dummy tick box. It can be set to false; appearance wise. It won't actually be set to false. User#19524 175 — 6y
0
SO is it now completely impossible to run a local script straight to the server? @incapaz alonzo12345 60 — 6y
0
For now, with the recent ROBLOX update, the answer is yes. @alonzo12345 oilsauce 196 — 6y

1 answer

Log in to vote
3
Answered by
herrtt 387 Moderation Voter
6 years ago
--Server Script
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remote = Instance.new("RemoteEvent")
remote.Parent = replicated
remote.Name = "damageRemote"

function damagePlayer(plr, target, dmg)
    target.Character.Humanoid:TakeDamage(dmg)
end
--Local script
local replicated = game:GetService("ReplicatedStorage")
local remote = replicated:WaitForChild("damageRemote")

remote:FireServer(<plr>, 10)

--This will damage the players health by 10,
--Even tho this can be easily exploited but it is better to learn first

You should always have filtering enabled but now with the recent roblox update you cant turn off filtering enabled, so you gotta learn how to use remotes.

Here you have some links that will help you learn the usage of remote events and functions and how to use them.

https://wiki.roblox.com/index.php?title=Remote_Functions_%26_Events https://www.youtube.com/watch?v=wic-N4JiFss&t=0s https://www.youtube.com/watch?v=4Dc_bri9mjs https://www.youtube.com/watch?v=C0qQ4lDa3t0&t=0s

Ad

Answer this question