-
What do you want to achieve? I wanna make it so that it morphs me as my starter character
-
What is the issue? whenever I load into the game the script is fine but the startercharacter in the starterplayer folder just loads and doesnt morph me
-
What solutions have you tried so far? we tried rewriting the script and addign stuff to it but it hasnt worked
game.Players.ChildAdded:Connect(function(child)
if child:IsA("Player") then
if child.UserId == 178196501 then
local newcharacter = game.ServerScriptService.HANK
local oldcharactermodel = child.Character
local newcharactermodel = newcharacter:Clone()
local oldcharactermodelcframe = oldcharactermodel:GetPrimaryPartCFrame()
child.Character = newcharactermodel
newcharactermodel.Parent = game.Workspace
newcharactermodel:SetPrimaryPartCFrame(oldcharactermodelcframe)
oldcharactermodel:Destroy()
end
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
1 Like
can you clarify what you mean by “morph”
do you want your character to load in as a specific character model?
if so then you can take that character model and put it in StarterPlayer, and name it StarterCharacter. everyone who joins will then be loaded in with that model
1 Like
when i mean by morph i mean by a certain player getting morphed/turned into a starter character that no one else has.
1 Like
oh so you want everyone to have their normal character model but if somebody specific like “Exotic_Stuffing” joins, they load in with a specific character model
try turning off “CharacterAutoLoads” in Players, and then load the character manually after youve set everything with child:LoadCharacter()
you dont need to set the cframes or anything, inside the if statement just have the line child.Character = game.ServerScriptService.HANK:Clone()
after the if statement, put the child:LoadCharacter() so that it loads in everyone regardless if they have been changed or not. keep in mind that by turning off character auto loads, you will have to manually respawn characters
no no like there is ALREADY a starter character

this is the startercharacter
and i want it so that someone like me gets a other character than this but my script doesnt work with startercharacter since the startercharacter bugs the script and loads the startercharacter first
maybe the problem is that your special character is in server script service. thats only for scripts and i dont think its replicated to clients. try putting it in replicated storage
no it works if i take out the startercharacter out of starterplayer folder and then join the game, jsut doesnt work whenever startercharacter is in the starterplayer folder
i see. try getting rid of startercharacter in starterplayers, and saving the starter character model in the same place as your special model. then in your current script, have an else statement, where if they have your special id, load as the special character, else load as the starter character
i fixed it! thank you so much!!!