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 その149

Posted at

概要

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

練習問題

AssetServiceを使え。

サンプルコード

local AssetService = game:GetService("AssetService")
local BUNDLE_ID = 14
local success, result = pcall(function()
	return AssetService:GetBundleDetailsAsync(BUNDLE_ID)
end)
if success then
	print(result)
end

実行結果

  10:17:51.328   ▼  {
                    ["BundleType"] = "BodyParts",
                    ["Description"] = "5003年、バトルボット5000は最強のライバルと戦うか、時代に忘れられるかのどちらかだ。 ",
                    ["Id"] = 14,
                    ["Items"] =  ▶ {...},
                    ["Name"] = "シニスターボット5001"
                 }  -  サーバー - Script:10
  10:17:52.513  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?