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

Random terrain generater, Needhelp stopping it at a certain point Help?

Asked by 5 years ago

Her is the script

001local height = 20
002local size = 50
003local y = 0
004local x = 0
005function HowmanyPlaced()
006    place()
007place()
008place()
009place()
010place()
011place()
012place()
013place()
014place()
015place()
View all 144 lines...

i need help STOPPING it at a certain point in time this took me a while to figure out and i cant find out how

0
Better yet question how do i stop a loop? Vortex_Vasne 89 — 5y
0
Wait im dumb for loops exist Vortex_Vasne 89 — 5y
0
imma keep this here for other people to use Vortex_Vasne 89 — 5y
0
xD Farsalis 369 — 5y
View all comments (3 more)
0
I'd recommend making your "function" in to "local function". Especially if you've got them firing on a loop. mbramblet 80 — 5y
0
Ok Vortex_Vasne 89 — 5y
0
maybe 'script.Disabled = true' NSMascot 113 — 5y

Answer this question