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

I got this script but where do I place it? I want script to spawn zombie every 10 sec in place. [closed]

Asked by 6 years ago

I got this script but where do I place it?

local Zombie = game:GetService("ReplicatedStorage").Zombie

while wait(10) do
      Zombie:Clone().Parent = workspace
end

This not working :/.

Basicly I got this script from here in scripting helpers by a guy called 3chars20 but I do not know where to place it and this is not working.

This is supposed to spawn a NPC Zombie to workspace every 10 seconds. I do not understand this please help.

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
valchip 789 Moderation Voter
6 years ago

You can place it in ServerScriptService or Workspace. Also make sure your NPC's name is set to "Zombie" and make sure you put it in ReplicatedStorage. That is all :).

0
local script, normal script or module script? leightonio -10 — 6y
0
normal script.. valchip 789 — 6y
Ad