LoginSignup
0
0

robloxでassistant その21

Last updated at Posted at 2024-05-09

概要

robloxでassistantやってみた。
練習問題やってみた。

練習問題

九九を表示せよ。

写真

image.png

サンプルコード

local player = game.Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local gui = PlayerGui:WaitForChild("ScreenGui")

gui.TextButton.MouseButton1Click:Connect(function()
	local res = ""
	for i = 1, 9 do
		for j = 1, 9 do
			res ..= i * j .. " "
		end
		res ..= "\n"
	end
	gui.TextBox.Text = res
end)

以上。

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