The values of "child" and "color" are returning as nothing; not nil. The actual values have a value in them though. There are no errors in the output. Filtering is enabled, but I don't think that should effect this. Any idea what's going on?

game.ReplicatedStorage.kills.ChildAdded:connect(function(child)
	local newframe = script.Parent.startpos.frame:Clone()
	newframe.Text = child.Value
	print(child.Value)
	newframe.TextColor3 = Color3.new(child:WaitForChild("color").Value)
	newframe.Parent = script.Parent.startpos
	newframe.Name = "newframe"
	game:GetService("Debris"):AddItem(newframe, 5)
	for _,children in pairs (script.Parent.startpos:GetChildren()) do
		if children.Name ~= "frame" then
			children.Position = children.Position - UDim2.new(0,0,0,22)
		end
	end
end)

5 comments

0

Tried something called "print debugging"?

0

Nothing in Lua is represented by nil. What do you mean it's returning nothing, but not nil? It's nil or something.

0

I got this in the output when I did that: table: 264A43DC

0

if you print"" thats what I'm getting in the output

0

But what I'm printing has value