Let’s just say that I’m working on a secret passion project 
It’s simply a obby game, I need to spawn a npc that chases the player, when the player touches the trigger part, but it’s client sided, I’m really confused on doing that and seriously need a help on this.
I tried spawning it through a remote event, using FireClient(), it parented the NPC model to workspace from ReplicatedStorage but it’s ChaseAI isn’t seems to be working, and it’s not moving, when I tried doing that on server side the chasing enemy started working properly as it supposed to be, but I want to make it client sided and not server
2 Likes
I’d create an instance of the NPC for each player, and handle it on the server. Interactions would be handled on the server instead of the client (so exploiters can’t tamper with it). For example, if the server sees that the NPC has touched the player, I’d fire an event to that player.
I did that like that, to spawn the chasing enemy using FireClient() it parented chasing enemy from replicated storage to workspace, but its not moving or chasing the player
No, I meant spawn it on the server. It’ll be set transparent on the server so other players can’t see them, but on the client, set their NPC to be visible.
This is a good way of doing it! But what if I teleport the enemy to a part instead? I’ll try both. And see if it helps