What do you want to achieve? Keep it simple and clear!
Ans. So i want the Player who is chosen as a Murderer to be cloned into a Murderer Character.
What is the issue? Include screenshots / videos if possible!
Ans. Idk why but when i try to clone the specific Rig/Character it wont morph the player into it and gives this error message "Players is not a valid member of Player “Players.MaxRobuxy”
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Ans. i tried: killerChar:Clone().Parent = chosen.players also tried killerChar:Clone().Parent = chosen.Players.localplayer but both did not work
any solutions?
thanks a lot if you’re reading this!
it looks like chosen is a player, so it wouldn’t have a child or property named Players and that child/property wouldn’t have anything called LocalPlayer.
To change/reference the player character, you would use the Player.Character property (in this case, chosen.Character).
Implementation:
local KillerCharacter = killerChar:Clone() -- Clones the character
KillerCharacter.Parent = workspace -- This will put the character into the game space
chosen.Character = KillerCharacter -- This is what you were trying to do, and this will make the chosen player's character the killer character.
I see you haven’t assigned any variable “Players” unless you have but I just haven’t seen it, if it is something like a folder or a model or any instance and not a service then use chosen:FindFirstChild("Players") because you might be confusing it with the service Players