Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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)

1 comment

0

After some testing, i found out the accessory can only attach to non-player humanoids. No idea why

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.