How can i make something like this

this helped too much thanks testaccount581582 lol

It’s TestAccount563344…

Why did you get my username wrong… :frowning:

sorry… forgive me please :sad: :crying_cat_face: pls forgive

nvm above here is reuploaded ok?.

I still have one thing, when i make any sound the character1 will play is theres any way to prevent the player repeating what the other do, when i shoot 2 sounds play at the same time the original player and the character1 player
which is making my audio broken please fix this.

New code:

local viewport = script.Parent
local char = game:GetService("Players").LocalPlayer.Character
local cam = Instance.new("Camera",viewport)

game:GetService("RunService").RenderStepped:Connect(function()
	for i,v in pairs(viewport.Character1:GetDescendants()) do
		v:Destroy()
	end
	
	for i,v in pairs(char:GetChildren()) do
		local v2 = v:Clone()
		
		if v2:IsA("Script") or v2:IsA("LocalScript") or v2:IsA("ModuleScript") or v2:IsA("Sound") then
			v2:Destroy()
		else
			v2.Parent = viewport.Character1
			if v2:IsA("Humanoid") then
				v2.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
			end
		end
	end
	
	viewport.CurrentCamera = cam
	cam.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(0,math.rad(180),0)
end)

i already tried this it will still broke wait nvm let me try

it still the same thing idk why does it still broke pls help me

Sorry, I’m busy right now. Hopefully someone else can help!

ok thx idk i hope somebody will notice this glitch lol

This is the best option to do that. Works and easy to install!

How to install:

  1. Download the .rbxm file.
  2. In Roblox Studio make a right klick on starter GUI.
  3. Press “Insert from file”.
  4. Select the .rbxm file you downloaded.
  5. Move the viewport Frame to the position you want the player to be.
  6. Done.

Made by boatbomber.

Don’t forget to mark this post as the solution, if that helped you!

does it auto update? if yes then i will give you a solution

What do you mean with auto update?

it means that it will update the player like movement walking animations without lagging etc
wait why is my character blocky i want the player character normal
please dont take that long to write just a 2 line reply

Yes, it auto updates any changes made to the player! That includes walking, jumping, etc.

good news for you you got a new verified solution now let me work on the character mesh thingy

by the way does it support ragdoll tho?

Good thing, that I could help you!

I’m not sure, but as it represents most of the changes made to the player, I think so…

oh wrong thingy lol
good news i could make the character with the own player cahractermesh thanks :slight_smile:
also better good news that it also support custom animation lol