Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I got a handle and an Attachment named right, could someone tell me why it doesnt work?

Asked by 4 years ago

I made a simple back plate. Its supposed to be attached to the player at spawn. The accessory has some things within it, along with the Handle. The Attachment within the handle has been named BodyBackAttachment. I have a script thats supposed to equip the plate when you spawn in, and even that doesnt work.

Player = game:GetService("Players").LocalPlayer
Humanoid = Player.Character:WaitForChild("Humanoid")
BackPiece = game.Workspace:WaitForChild("BackPiece")
Humanoid:AddAccessory(BackPiece)
print("Equipment Added")

It prints out Equipment added, but the plate just falls down on the ground. No weld made. I jump up and down on the damn thing, and it still wont attach to the player. (btw, i tried moving the whole accessory to be a child of the player, and nothing still)

Im at a lost, I looked at forums and none mention this. (id post a pic if i knew how)

0
After some testing, i found out the accessory can only attach to non-player humanoids. No idea why User#19492 0 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

AddAccessory only work on server side, since the server makes the welds!

Ad

Answer this question