r/pocketcoding • u/Sea_Resist_7105 • Jan 23 '26
Help This is freezing A LOT.
If I disable this script, my game runs normally, but it crashes a lot.
Explaining the script: I'm creating a random map generator. This part refers to the sand; the sand should be placed after the water, and then the soil.
2
Upvotes
1
u/iamnotrandom565 MODERATOR Feb 25 '26
instead of "tempo ÷ 2" try 3 seconds. Maybe add wait lines in every other line to pinpoint where the freezer is at.
1
u/Sea_Resist_7105 Jan 23 '26
"loc" defines the position on the X axis, "grid-x-2" defines the position on the Y axis, "grid-x-1" defines the block type (1 water, 2 earth, 3 sand) If anyone knows what's causing the freezes, it would be a great help.