Alright so I have 3 character models in my server storage (naruto, luffy and goku).
I want to make a Image Button that when you click it you get ''morphed'' into naruto and then closes the GUI.
This is my code so far.
local naruto = game.ServerStorage:WaitForChild('Naruto')
local narutoc = naruto:Clone()
local replicatedStorage = game:GetService("ReplicatedStorage")
local respawnEvent = replicatedStorage:WaitForChild("Respawn_Plr")
script.Parent.MouseButton1Click:connect(function()
narutoc.Name = 'StarterCharacter'
narutoc.Parent = game.StarterPlayer
respawnEvent:FireServer()
script.Parent.Parent : destroy()
end)
So far my script makes a copy of the naruto model from ServerStorage then renames it StarterCharacter and places it under game.StarterPlayer, then it respawns the character and closes the GUI.
The problem is that even though the character respawns it doesnt morph as Naruto can you please help me?

3 comments
If you're going to use double quotes for strings, stick with it. Don't switch.
why not just make them spawn as the startercharacter?
cuz there are multiple characters, if they want to switch they cant