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)

3 comments

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.

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

0

and when I turn off FE it works just fine