【发布时间】:2019-05-20 15:25:04
【问题描述】:
所以,我正在尝试使用 clickdetector 制作用户界面,但我需要运行/调用另一个脚本才能继续。有这样的功能吗?
local clickdetector = game.Workspace.CPU.Part.ClickDetector
clickdetector.MouseClick:Connect(function()
-- What goes here?
end)
【问题讨论】:
-
您可能还需要考虑 1) 将您的其他文件构建为模块,以及 2) 在“沙盒”中执行其他文件。