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

is it possible to get a model of a player with a script?

I'm trying to make a game and I was wondering if it's possible to get the player avatar to display in game via a script so if they change their appearance, it will change in game?

2 answers

Yes it is possible and second this site is not for requests. with that said, here is a rough idea of you want

if 	Parent:findFirstChild("Humanoid") ~= nil then
			if Parent:findFirstChild("Humanoid").Health > 0 then
			local P = Parent:GetChildren()
			local M = Instance.new("Model")
			local H = Instance.new("Humanoid")
			M.Parent = game.Workspace
			M.Name = hit.Parent.Name
				if Parent:findFirstChild("Pants") ~= nil then
				Parent.Pants.Parent = M
				end
				if Parent:findFirstChild("Shirt") ~= nil then
				Parent.Shirt.Parent = M
				end
				end
				end

2 comments

0

Your script is missing two "ends," and isn't tabbed correctly. :P

0

:P like i said, its an example so its pretty "rough" around the edges

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