Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can i make a script to delete blocks every 5 seconds? so that my server doesn't lag... =3

Plz i need the answer i have gone around EVERYWHERE and my game is soooo close to done so plz... help a man out =)

1 comment

0

This site is not a place to ask for free scripts. Make an attempt for help.

1 answer

while loop with the destroy function

local brick = script.Parent
while wait(5) do
	brick:Destroy()
end

just rename brick...

the brick is the part, the while loop is a forever loop with 5 seconds wait and the :Destroy() removes the brick

And by the way, if your game lags, it is your computers fault ;o

This discussion is preserved as it was. New answers, comments, and votes are closed.