|
| 24 Aug 2017 02:56 PM |
Hi, someone can make a script for respawn monsters every 5 mins please ?
while true do wait(300) game:GetService("ServerStorage"):FindFirstChild("Monster"):Clone().Parent = workspace end
But need only the monster die. |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2017 03:03 PM |
i have a spoonfeeding problem
-- Have the monster in the ServerStorage local MonsterSpawn = game.ServerStorage.Monster
game.Workspace.Monster.Humanoid.Died:Connect(function() game.Workspace.Monster:Destroy() while game.Workspace.Monster ~= nil do wait(30) MonsterSpawn:Clone().Parent = game.Workspace end end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Luminak
|
  |
| Joined: 27 May 2012 |
| Total Posts: 2809 |
|
|
| 24 Aug 2017 05:24 PM |
on the move to line, put a block where u want the monster to spawn in the ()
local monster = game.ServerStorage.Monster
while true do if game.Workspace.Monster == nil then local mons = monster:Clone() mons.Parent = game.Workspace mons:MoveTo(game.Workspace.Spawnpartnamehere) end
end
|
|
|
| Report Abuse |
|
|
Luminak
|
  |
| Joined: 27 May 2012 |
| Total Posts: 2809 |
|
|
| 24 Aug 2017 05:25 PM |
oops i forgot the wait
local monster = game.ServerStorage.Monster
while true do if game.Workspace.Monster == nil then local mons = monster:Clone() mons.Parent = game.Workspace mons:MoveTo(game.Workspace.Spawnpartnamehere) wait(300) end
end
|
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Aug 2017 12:31 AM |
| M8 that should work your just bad at copying and pasting. |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 12:36 AM |
No I'm not bad.
Someone can help me ? |
|
|
| Report Abuse |
|
|
Niveum
|
  |
| Joined: 15 Aug 2009 |
| Total Posts: 3437 |
|
|
| 25 Aug 2017 01:00 AM |
... That should work but I'm gonna assume you're wholly incompetent so here i guess:
local Monster_Name = "MonsterNameHere" -- change this to the Name of your monster. local Spawn_Name = "NameOfTheMonsterSpawn" -- change this to the name of the part where you want your monster to spawn local monster = game.ServerStorage:WaitForChild(Monster_Name)
while true do if not game.Workspace:findFirstChild(Monster_Name) then local monster_clone = monster:clone() monster_clone.Parent = game.Workspace monster:MoveTo(game.Workspace.Spawnpartnamehere) wait(300) else wait(1) end end
|
|
|
| Report Abuse |
|
|
Niveum
|
  |
| Joined: 15 Aug 2009 |
| Total Posts: 3437 |
|
|
| 25 Aug 2017 01:02 AM |
Wait this is the fixed version:
local Monster_Name = "MonsterNameHere" -- change this to the Name of your monster. local Spawn_Name = "NameOfTheMonsterSpawn" -- change this to the name of the part where you want your monster to spawn local monster = game.ServerStorage:WaitForChild(Monster_Name)
while true do if not game.Workspace:findFirstChild(Monster_Name) then local monster_clone = monster:clone() monster_clone.Parent = game.Workspace monster_clone:MoveTo(game.Workspace.Spawnpartnamehere) wait(300) else wait(1) end end
|
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 02:38 AM |
| Don't work, I move the monster to ServerStorage or Workspace ? |
|
|
| Report Abuse |
|
|
| |
|
RuizuKun
|
  |
| Joined: 20 Jan 2016 |
| Total Posts: 1133 |
|
|
| 25 Aug 2017 02:58 AM |
After you clone the Monster you need to set the Position , before making it move.
This is Reality, NOT a Dream. |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 04:23 AM |
| The problem is : The script won't spawn the monster... |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
|
| 25 Aug 2017 05:53 PM |
| Ask someone to join you in Team Create |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 06:52 PM |
I don't trust anyone sorry
maybe discord |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2017 06:55 PM |
| If you're paranoid, just create a new place that is a copy of the one you're working on, then Team Create there. |
|
|
| Report Abuse |
|
|
ImVortexe
|
  |
| Joined: 26 Jan 2013 |
| Total Posts: 1149 |
|
|
| 25 Aug 2017 06:56 PM |
while true do workspace:FindFirstChild("Monster"):Remove() wait() game:GetService("ServerStorage"):FindFirstChild("Monster"):Clone().Parent = workspace wait(300) end |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2017 01:13 AM |
| Doesn't work, when I click on "Play" I can't see the monsters |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2017 01:33 AM |
You ever think the problem is the monsters? Is everything no-collided? Are there no HumanoidRootPart, Torso or Head? Are the Parts not linked correctly? Is the monster transparent?
|
|
|
| Report Abuse |
|
|