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

Not creating a part on every player in the game?

only like about 7 players it creates a part on ;-;

for i,p in pairs (game.Players:GetPlayers()) do
	 ok = Instance.new("Part", p.Character)

1 comment

0

try p.Character.Head.Position to indicate where it is or you could do something like "if v and v.Character then" so it doesnt error. Just ideas

1 answer

✓ Accepted answer

To create a part in every character on spawn, use this

--Place In StarterPlayer>StarterCharacter

--LocalScript

Character = script.Parent

ok = Instance.new("Part", Character)

1 comment

0

If this helps, please give me a vote. It helps me out, thnx :)

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