与我的脚本无关的随机错误,每次我制作新游戏时都会在输出中弹出

问题描述 投票:0回答:0

当我制作脚本并运行它时,即使它很短且简单

打印(“你好世界”)

我收到了一大堆错误

09:00:54.575  Walkspeed Adjuster  -  Server
09:00:55.286  cloud_6691945816.Run Gui.Background.ValueChange:28: attempt to index nil with 'Character'  -  Server
09:00:55.287  Stack Begin  -  Studio
09:00:55.287  Script 'cloud_6691945816.Run Gui.Background.ValueChange', Line 28  -  Studio
09:00:55.287  Stack End  -  Studio
09:00:55.619  Walkspeed Adjuster  -  Client
09:00:56.228  cloud_6691945816.Run Gui.Background.ValueChange:28: attempt to index nil with 'Character'  -  Client
09:00:56.228  Stack Begin  -  Studio
09:00:56.228  Script 'cloud_6691945816.Run Gui.Background.ValueChange', Line 28  -  Studio
09:00:56.228  Stack End  -  Studio

有什么修复吗?

lua roblox luau
© www.soinside.com 2019 - 2024. All rights reserved.