A Roblox Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeLatest imagesRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
naknak
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
Supernapalm
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
m27frogy
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
slayer9365
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
myrco919
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
branefreez
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
ninga95
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
CloneTrooper787
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
raboy117
How to loop regen creations. Vote_lcapHow to loop regen creations. Voting_barHow to loop regen creations. Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
How to loop regen creations. EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
How to loop regen creations. EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
How to loop regen creations. EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
How to loop regen creations. EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
How to loop regen creations. EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
How to loop regen creations. EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
How to loop regen creations. EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
How to loop regen creations. EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
How to loop regen creations. EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
How to loop regen creations. EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
How to loop regen creations. EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
How to loop regen creations. EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
How to loop regen creations. EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
How to loop regen creations. EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
How to loop regen creations. EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
How to loop regen creations. EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
How to loop regen creations. EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
How to loop regen creations. EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
How to loop regen creations. EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
How to loop regen creations. EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 How to loop regen creations.

Go down 
4 posters
AuthorMessage
Awfulterrorist
Novice Scripter
Novice Scripter
Awfulterrorist


Posts : 1
Join date : 2012-03-30

How to loop regen creations. Empty
PostSubject: How to loop regen creations.   How to loop regen creations. EmptyMarch 30th 2012, 1:41 am

I need to know how to loop regenerate my zombies. I have as much of the script i can make.


while true do

wait(5.5)
end
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

How to loop regen creations. Empty
PostSubject: Re: How to loop regen creations.   How to loop regen creations. EmptyApril 3rd 2012, 10:11 pm

local thingy = script.Parent:Clone()

while true do
wait(5.5)
thingy:Clone().Parent = Workspace
end


ugh, I might be rusty. I haven't scripted in a while.
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 26

How to loop regen creations. Empty
PostSubject: Re: How to loop regen creations.   How to loop regen creations. EmptyApril 5th 2012, 9:02 am

lol I'm a bit rusty 2 bro, but I know my onions :P
Back to top Go down
MrNicNac
Expert Scripter
Expert Scripter
MrNicNac


Posts : 27
Join date : 2011-03-06
Age : 28

How to loop regen creations. Empty
PostSubject: Re: How to loop regen creations.   How to loop regen creations. EmptyApril 7th 2012, 9:34 am

Very simple. This script goes into the zombie model.

local zombie = script.Parent
local zc = zombie:Clone()
local h = zombie:FindFirstChild("Humanoid") or zombie:FindFirstChild("Zombie")

h.Died:connect(function()
zombie.Parent = nil
wait(2)
zc.Parent = Workspace
zc:MakeJoints()
zombie:Remove()
end)
Back to top Go down
Sponsored content





How to loop regen creations. Empty
PostSubject: Re: How to loop regen creations.   How to loop regen creations. Empty

Back to top Go down
 
How to loop regen creations.
Back to top 
Page 1 of 1
 Similar topics
-
» Loop Kill that never fails
» while true do (loop script)

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Questions and Help :: Scripting-
Jump to: