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

How do I make this script regenerate the terrain?

Asked by 7 years ago

I found a terrain script to regenerate the holes in the terrain to be back to normal and I searched everywhere and did everything. I really want to make a game where you dig and find codes I got the rest solved, but the terrain filler where it fills every half hour isn't working! Help!

I placed the Script in terrain and added the wait timing. I am a bad scripter sorry!

Help me make the terrain regenerate every 30 minutes, but remains with everything inside the terrain except the holes and tunnels... please help the terrain regenerate!

The Script below will not work help!

wait(10)
void FillBlock (
    CFrame cframe,
    Vector3 (2044, 252, 2044),
    Material = Grass
)
0
Are you sure that you set the wait time to 30 minutes? The wait function works in second, and not minutes (30 minutes in seconds is 1800, or 30 mins x 60 secs(each minute contains 60 seconds, thus the 60 is multiplied by 30); also, are you using a loop to accomplish this as well? TheeDeathCaster 2368 — 7y

1 answer

Log in to vote
0
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago
Edited 7 years ago

You copied that straight from the wiki XD. Thats how you see what variable to put where. Its workspace.Terrain:FillBlock(CFrame,Vector3 Size, Material)

0
Please Help! Goldenkings11 -11 — 7y
0
he is... bossay8 8 — 7y
Ad

Answer this question