-
What do you want to achieve?
I want this Script to clone a Hat into the Players Avatar (Server Sided also) -
What is the issue?
Not entirely sure, I guess my script isn’t right. It just isn’t cloning.
I do have this is the Output, bu it doesn’t tell me anything:
12:14:09.211 Stack Begin - Studio
12:14:09.211 Script ‘Workspace.Script’, Line 4 - Studio - Script:4
12:14:09.212 Stack End - Studio -
What solutions have you tried so far?
I currently don’t know what to do, so I am coming to the Developer Forum. -
Code In Script
local player = game:GetService("Players")
local playerName = player.Name
local mask1 = game.ReplicatedFirst:WaitForChild("DoctorsMask")
local playerAv = game.Workspace:WaitForChild(playerName)
mask1:Clone().Parent = playerAv
Thanks, AridOats!