I know how to set collision groups and make certain things invisible to one player. The game I’m making involves a mechanic where players fight a clone of themself but others cannot see it or interact with it. Do I need to make a collision group for each player and set the NPC in the collision group? Or how could I achieve this.
1 Like
you dont need collision groups, simply add onserverevent that listens to a remote event in a local script then create the npc and set the can collide stuff there that way its only visible a certain person
1 Like
What about certain things that have to be ran on server? Like for example, I use region3 on server side to create hitboxes and help level the player up. This cant be done solely on the client side…
you can use it with script like put the npc creation and collide things in a local script and add onclientevent to it like pathToRemoteEvent.OnClientEvent:Connect(functionHere)
in the script add pathToRemoteEvent:FireClient(playerInstance)