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

Because nothing is visible in FilterEnabled?

Asked by 6 years ago
Edited 6 years ago

I made a small localscript to clone a particle and go to my torso but my friends do not see me with the particle, this happens with any other script.

LocalScript in startepack and particle in replicatedstorage

Because I only see the particle in me and the others do not?

My localscript would look something like this:

player = game.Players.LocalPlayer
c = player.Character
tor = c:FindFirstChild("UpperTorso")

local en = game.ReplicatedStorage.ParticleEmitter:Clone()
en.Parent = tor
0
It is because you are using FilteringEnabled MineBlow111 39 — 6y
0
And it is a localscript marijus06 68 — 6y
0
for others to see should be script and not localscript? ToddyWars 41 — 6y

1 answer

Log in to vote
1
Answered by
oreoollie 649 Moderation Voter
6 years ago
Edited 6 years ago

FilteringEnabled prevents client changes from replicating to the server. This is a very effective method of preventing hacking, since the hacker can't modify their client and effect the whole server. Roblox has a great visualization of this. With that said, you're going to need to execute your code using a server script. Based on the wording of your question, I assume you only want this done to your character, I have corrected your script to do that. It must be a server script and I recommend putting it in ServerScriptService.

game.Players.PlayerAdded:Connect(function(p)
    p.CharacterAdded:Connect(function(c)
        if p.UserId == 363446931 then -- This is already your UserId
            local en = game.ReplicatedStorage.ParticleEmitter:Clone()
            en.Parent = c:WaitForChild("UpperTorso")
        end
    end)
end)

I hope my answer solved your problem! If it did please remember to mark it as correct!

0
So any script I should put on ServerScriptService? ToddyWars 41 — 6y
0
if I insert a gui that gives me a localscript that with a certain button makes a "part" with effects appear around would work? but I would put part.parent = workspace would others see? It's kind of confusing I was messing with saiyan script but only me who saw me in saiyan the others did not see me from saiyan ... that I wanted them to see. ToddyWars 41 — 6y
0
If FilteringEnabled is on and you're using a localscript, no one else will see it. oreoollie 649 — 6y
Ad

Answer this question