0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

アクセルキャンプ復習動画5-15 Roblox Lua ブロックを大量に複製しよう

Posted at

皆さんこんにちは

今回は大量にブロックがふってくるスクリプトを組みます。

クローンという英語を知ってますか?そう、クローン人間とかのあれです、コピーです。

local original = script.Parent.original_block

while true do
	wait()
	local clone = original:Clone()
	clone.Parent = workspace
end

workspace家の養子にしてあげましょう。

whileという繰り返し構文を使って無限に出しちゃいましょう。

ここでwait()を入れないと、パソコンによっては大変なことになるので、必ず入れましょう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?