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

It doesn't clone the hair and being a part of the player, why?

Asked by 6 years ago
Edited 6 years ago

So how to fix this, it doesn't clone and being a part in players also it only works on roblox studio,and not from roblox player, I am cloning a hair btw.

            local player = game.Players.LocalPlayer

                local d = game:GetService("ReplicatedStorage").Accessories.AwesomeHair:Clone()
                d.Parent = game.Workspace:WaitForChild(player.Name)
                d.Handle.AccessoryWeld.Part1 = game.Workspace[player.Name].Head
            player.Backpack.LocalScript.Disabled = false
                script.Parent.Customization.Cover.Visible = true
                Open = true
                local a = game.Workspace[player.Name]:FindFirstChildOfClass("Accessory")
                if game.Workspace[player.Name]:FindFirstChildOfClass("Accessory") == nil then
                else
                a:Destroy()
                end

    end
0
I think you have to attach it or something, I'm not too good with accessories. GIassWindows 141 — 6y

Answer this question