Why does it not Instance.new?

Hello, I am making a voting system for my game, but it does not instance.new(). Does anyone know what is happening? This is a server script inside of ServerScriptService.

	local votingtag = Instance.new("StringValue")
	votingtag.Name = "VotingTag"
	votingtag.Parent = plr.Character

A highly probable reason is that the character hasn’t loaded in yet.

Instead you might want to use CharacterAdded:Wait() or the event itself.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.