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

How can I add a accessory from a localscript???

Asked by 3 years ago
Edited 3 years ago

i have the accessory as a child of the localscript (which is in startercharacterscripts) and its name is "Bone"

the code for the script is here:

local character = script.Parent
character.Humanoid.BreakJointsOnDeath = false

character.Humanoid.Died:Connect(function()
    character.Humanoid:AddAccessory(script.Bone)
end)

0
and then nothing happened super00rocket 27 — 3y
0
wouldnt you do this on the server or by a regular script sean_thecoolman 189 — 3y
0
you need to use remotes, you fire a remote event to execute that function VerdommeMan 1479 — 3y

Answer this question