Number Error Help

I’m so stupid, I forgot how to get a child with a number in it’s name, help me. I forgot

light.1.PanMe.TiltMe.Light.SpotLight.Range = 30
	light.1.PanMe.TiltMe.Light.SpotLight.Color = Color3.fromRGB(74, 241, 88)
	light.1.PanMe.TiltMe.Light.Beam.Color = ColorSequence.new({
		ColorSequenceKeypoint.new(0, Color3.fromRGB(74, 241, 88)),
		ColorSequenceKeypoint.new(1, Color3.fromRGB(74, 241, 88))
	})
	local fade = TweenService:Create(light.1.PanMe.TiltMe.Light.SpotLight, TweenInfo.new(0), {Brightness = 1})
	fade:Play()
	light.1.PanMe.TiltMe.Light.Beam.Enabled = true

light["1"].PanMe.TiltMe.Light, you just use square brackets to get a child that starts with a number

2 Likes