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

How do I make it so someone holding a tool can collide with a barrier while everyone else cant?

Asked by 4 years ago

So I want to make it so if a player has the tool, it makes a barrier ONLY for them, all other players should be able to walk through it. I don't even know where to begin, all I know is that it's likely a local script?

The tool is a ball, and if the player has the ball I want it to spawn a barrier about 2 studs infront of them until they throw it, then the barrier should disappear. Anyone know how to even begin?

Answer this question