generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: [Urgent] Respawn script problem

Previous Thread :: Next Thread 
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
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
LilPrincesses123 is not online. LilPrincesses123
Joined: 26 Sep 2015
Total Posts: 393
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
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
24 Aug 2017 04:03 PM
Don't work
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
24 Aug 2017 05:16 PM
bump
Report Abuse
Luminak is not online. 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 is not online. 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
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 12:19 AM
don't work :/
Report Abuse
Le_JuiceBOX is not online. Le_JuiceBOX
Joined: 20 May 2017
Total Posts: 267
25 Aug 2017 12:31 AM
M8 that should work your just bad at copying and pasting.
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 12:36 AM
No I'm not bad.

Someone can help me ?
Report Abuse
Niveum is not online. 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 is not online. 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
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 02:38 AM
Don't work, I move the monster to ServerStorage or Workspace ?
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 02:52 AM
up
Report Abuse
RuizuKun is not online. 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
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 04:23 AM
The problem is : The script won't spawn the monster...
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 11:04 AM
bump
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 11:51 AM
bump
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 01:21 PM
bump
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 05:50 PM
up
Report Abuse
WillieTehWierdo200 is not online. WillieTehWierdo200
Joined: 13 Aug 2008
Total Posts: 1147
25 Aug 2017 05:53 PM
Ask someone to join you in Team Create
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
25 Aug 2017 06:52 PM
I don't trust anyone sorry

maybe discord
Report Abuse
WillieTehWierdo200 is not online. WillieTehWierdo200
Joined: 13 Aug 2008
Total Posts: 1147
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 is not online. 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
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
26 Aug 2017 01:13 AM
Doesn't work, when I click on "Play" I can't see the monsters
Report Abuse
PuffoThePufferfish is online. PuffoThePufferfish
Joined: 19 Jan 2013
Total Posts: 362
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image