Fast and smooth character swapping mid-game

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:

12 Likes

i like it, how does it works?

This text will be blurred

its as simple as reloading the character and then setting it as the chosen rigged model, then puts the players character and camera position back to where it was before the character was reloaded (when it is reloaded it resets those 2 properties)

1 Like

bro done turned into V1 :skull_and_crossbones:
thats crazyyyyyyy

2 Likes