#map generating
1 messages · Page 1 of 1 (latest)
my idea is
when server start or player want generate new map
clone the plate on every 4 studs far from original plate
but i don't know how to call the event for this
What exactly do you mean by call "the event"
Do you mean the UserInputService? the RemoteEvent? or what kind of event?
uh
like gui with text input
expand by 4 studs x 6 studs
📜Join my Discord Community if you want scripting help, give feedback, or just hang out:
https://discord.gg/WC6kPu5W5P
🎨Watch My Full Roblox GUI Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd31Hmi3Xnlu8u9hCYClLurMQYJIrz
🔴Watch My Full Roblox ADVANCED Scripting Tutorial Series:
https://www.youtube.com/playlist?list=PLQ1Qd...
this tutorial should help you
thanks
np
first = workspace["default area"].SpawnLocation
regendef = workspace.Grids.three
function plateclone(xdemand,zdemand)
for xrod = 0, xdemand, 1 do
for zrod = 0, zdemand, 1 do
task.wait(0.1)
second = regendef:Clone()
second.Parent = workspace.map
second.Anchored = true
second.Position = first.Position
second.Position = second.Position + Vector3.new(1*zdemand,0,0)
end
end
end
plateclone(10,10)
i wrote this but it doesn't expand the plate
what's the problem here?
yo uhh i still have no clue any help?
do you really neeeed to clone the parts or could you just increase the size of the part as well?