Need help with NPC spawn

Hello! For some time I have been thinking about how to create a Customer system, i mean, to spawn customers, but to be displayed as friends of the players on the serve a few friends are chosen from the list of friends of the players on the server and the chosen friends spawns as an NPC.

1 Like

This topic should be in #help-and-feedback:scripting-support

its actually easy to make, change the category and ill help!

2 Likes

It was a bit difficult to get how to edit,but I saw the edit button,I edited the categories,thank you for warning me!

Alright, so you wanna learn how to make an NPC Spawner?

yeah,something like that,u want more info?If your bored and u want to make the whole code?lol,is kinda long the task

NPC Spawn is more like:

You have NPC Ready in ServerStorage with scripts inside it (Damage, Heal, etc.)

Then as “Spawning”

  • You can assign a random Position in an area
  • You can assign a Position to spawn
  • etc.

Then you can do something like:

local TargetNPC = "NPC NAME HERE"
local TargetArea = game.Workspace["AREA NAME"].Spawn

local NpcToCopy = game.ServerStorage:FindFirstChild(TargetNPC)
NpcToCopy:Copy.Parent = TargetArea -- it should spawn over it, if not you can use position too

Something like that, and you can make something to Count the numbers of Npcs to not over populate spawn.

1 Like

I like this idea. I would be interested in helping out here. Private message me if you like!

1 Like

Gladly, including the character turning into a PLAYER SKIN STEALER?

what u mean?I literally don’t understand what u mean :sob:

Like, when the cloned dummy spawns, do you want it to become one of your friends on your friends list?

yes,that s what i want,one of my friend or of others from the server

Might as well make a complete Tutorial on it eh?

Heres the link! The Tutorial

Please set my post as ‘Solved’

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.