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?

robloxでassistant その152

Last updated at Posted at 2024-07-31

概要

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

練習問題

InsertServiceを使え。

サンプルコード


local InsertService = game:GetService("InsertService")
local page = unpack(InsertService:GetFreeDecals("doragon", 0))
for i = 1, page.TotalCount do
	local item = page.Results[i]
	print(item.Name .. ": " .. item.AssetId)
end

実行結果


  11:55:58.855  Hello world!  -  サーバー
  11:56:00.184  Shen Doragon (Awakened): 11839086674  -  クライアント - LocalScript:5
  11:56:00.185  Tentai no arekuruu doragon: 89277189  -  クライアント - LocalScript:5
  11:56:00.185  Doragon: 1330773850  -  クライアント - LocalScript:5
  11:56:00.185  doragon: 15290684587  -  クライアント - LocalScript:5
  11:56:00.185  Shen Doragon: 10017370248  -  クライアント - LocalScript:5
  11:56:00.186  Fusion Of Kenji and Doragon. KenGon.: 127367998  -  クライアント - LocalScript:5
  11:56:00.186  North Petoria: 12521295302  -  クライアント - LocalScript:5
  11:56:00.512  Hello world!  -  クライアント



以上。

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?