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

How do I make this work with filtering enabled on?

Asked by 6 years ago

I'm trying to make it so that you need an item for something to appear so I made this script it works just fine with filtering enabled off but does not work with filtering enabled on how do I get this to work with filtering enabled on?

local MoveC1 = game.Workspace.CelebiMove1.Position
local MoveC2 = game.Workspace.CelebiMove2.Position

script.Parent.Touched:connect(function(hit) 
    local player = game.Players[hit.Parent.Name]
    if player.Backpack.GSBall then
        workspace.Celebi:MoveTo(MoveC1)
        wait(15)
        workspace.Celebi:MoveTo(MoveC2)
    end
end)
0
Press f9 or something to view the output while in a server. Are there any errors? I don't see why this would work with FE disabled, but not work with FE enabled. OldPalHappy 1477 — 6y
0
I have the item named GSBall but when I touch the part in the error thing it says GSBall is not a valid member of Backpack MasonTheCreeperYT3 74 — 6y
0
and when I turn off FE it works just fine MasonTheCreeperYT3 74 — 6y

Answer this question