i made this quick project for myself, but might as well release it to others!
SEEMLESSLEY SWAP CHARACTER MODELS WITH SMOOTH AND FAST RESULTS
MODULESCRIPT:
CharacterChanger.rbxm (1.3 KB)
LOCAL SCRIPT: (fixes the camera after the players character is reloaded
(place in startergui)
PathToModule:WaitForChild("GetCameraInfo").OnClientInvoke = function(getinfo, cframe)
if getinfo then
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
return workspace.CurrentCamera.CFrame
else
workspace.CurrentCamera.CFrame = cframe
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
workspace.CurrentCamera.CameraSubject = plr.Character:WaitForChild("Humanoid")
return true
end
end
how to use:
CharacterSwappingModule:ChangeCharacter(playerobject, modeltochangeto)
IN ACTION: