Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

[Answered] How do I make a character in game into a Ui image?

2 answers

✓ Accepted answer

Nice! Also, if you ever need to make this into a 2d image, you can use this to get the avatar from the user.

ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..Player.name

If you plan on using this in a LocalScript you can use local Player = game.Players.LocalPlayer to get the Player.Name.

I got it thanks to jensar141215!

char = game.Players.LocalPlayer.Character
cam = Instance.new("Camera",script.Parent)
--local par = script.Part
game:GetService("RunService").RenderStepped:Connect(function()
	for i,v in pairs(script.Parent.ViewportFrame.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") then
		v2:Destroy()
	else
	v2.Parent = script.Parent.ViewportFrame.Character1
	if v2:IsA("Humanoid") then
		v2.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
	end
	end
--	v.Changed:Connect(function(prop)
--		v2[prop] = v[prop]
--	end)
end
	script.Parent.ViewportFrame.CurrentCamera = cam
	cam.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,3,-5) *  CFrame.Angles(math.rad(30),math.rad(180),0)
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.