A PointLight is a light source that emits illumination from a single point. Light is emitted spherically based on the PointLight.Range of the PointLight.
If a PointLight is parented to a part, then the light will emanate from the part's BasePart.Position. If a PointLight is parented to an attachment, then the light will emanate from the attachment's Attachment.WorldPosition.
For more light types, see the see also section.
local part = Instance.new("Part")part.Anchored = truepart.Position = Vector3.new(0, 0, 0)part.Parent = workspacelocal light = Instance.new("PointLight")light.Color = Color3.new(1, 1, 1)light.Brightness = 1light.Range = 16light.Parent = part
The size of the area that the PointLight will illuminate.