Hello, Devforum.
So, I am making a system where the player gets a randomized accessory on their avatar. But there is a problem. The script thinks that I want to place the Cloned Accessory into the Player in game.Players, I want to place it in the player in the Workspace so you can see the accessory.
here is what I have
local prompt = game.Workspace.Phil.PromptPart.ProximityPrompt
local hatFolder = game:GetService("ServerStorage").Accessories
prompt.Triggered:Connect(function(plr)
local hatClone = hatFolder.Doge:Clone()
hatClone.Parent = plr
end)
This script puts the hatClone into the player in game.Players, not the one in workspace.
Any easy way to make the hatClone go into the player in workspace?