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

How do I make a "pseudo-character"?[Why -2?]

I've started to try to make a pseudo-character, and I started out by looking through free models. I haven't found a single free model which is a pseudo-character. I searched it up on google and found nothing but a snippet of code from crazyman32's twitter, so I thought it could be a start.

So far, I have this in a LocalScript in StarterGui:

local player = game.Players.LocalPlayer
function spawn_pseudo_character(player)
	local char = Instance.new("Model", game.Workspace)
	char.Name = player.Name
	
	local head = Instance.new("Part")
	head.Name = "Head"
	head.Anchored, head.Locked, head.CanCollide = true, true, false
	head.Transparency = 0
	head.FormFactor = "Symmetric"
	head.Size = Vector3.new(1,1,1)
	head.TopSurface, head.BottomSurface = "Smooth", "Smooth"
	head.CFrame = CFrame.new(0, 10, 0)
	head.Parent = char
	
	local torso = Instance.new("Part")
	torso.Name = "Torso"
	torso.Anchored, head.Locked, head.CanCollide = true, true, false
	torso.Transparency = 0
	torso.FormFactor = "Symmetric"
	torso.Size = Vector3.new(1,1,1)
	torso.TopSurface, head.BottomSurface = "Smooth", "Smooth"
	torso.CFrame = CFrame.new(0, 10, 0)
	torso.Parent = char
	
	local neck = Instance.new("Weld")
	neck.Name = "Neck"
	neck.Part0, neck.Part1 = torso, head
	neck.Parent = torso
	
	local hum = Instance.new("Humanoid", char)
	
	player.Character = char
end
spawn_pseudo_character(player)

Basically, what's happening is that my character glitches out and there are LOADS of characters being inserted into Workspace. This is a topic I couldn't find much on, so I really would love some help with this. I would just like to know how to make a very basic pseudo-character, then I could build upon it from there.

Thanks for reading.

2 answers

✓ Accepted answer

@Spike, at the very bottom of the script, the function is triggered. <.<

Novi, to make a pseudo-character, you need to get all the properties of the descendants of a character. Once you have done that, you can formulate them, and then make the character. I would recommend studying how a character works, but patience is required for that.

1 comment

0

I thought that all a character needed was a head, torso, and Humanoid. I was going to expand upon it once I got it initially working

I think this might help

I don't think i can see a proper function because at the bottom of the script there should be something that triggers the function.

maybe consider doing this to control them

game.Players.PlayerAdded:connect(function(player) if player.Name == "PlayerName" then player.chatted:connect(function(msg)

if msg == "Make Character" then do

Use the chatted event.

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