为什么我的配件没有连接到 roblox 中的玩家上?

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

自定义配件不会附着在玩家身上并在远离他的地方生成

这是我的脚本

local player = game.Players.LocalPlayer
player.CharacterAdded:Wait()
local human = player.Character:WaitForChild("Humanoid")
local asset = game.ReplicatedStorage.UnionAccessory:Clone()
human:AddAccessory(asset)

我原以为玩家只会装备配件并带着它行走,但这并没有发生

lua roblox
1个回答
0
投票

您很可能忘记添加配件的附件。如果没有附件,它就会脱落。

© www.soinside.com 2019 - 2024. All rights reserved.