In the Roblox Wiki tutorial for learning to script, I tried to make a streetlight using coding. They only said: "Make sure the part we want to illuminate is named LightPart. This part should have the neon material so it appears to glow. Also insert a PointLight into the part so that it emits light on the parts around it. Feel free to play with the Color, Brightness, and Range of the PointLight so it creates the effect you want."Thus, I tried to create the light like if it was a part:
Instance.new("LightPart", Workspace) but it said that we could not create it.
The confusing part is when I was able to create a PointLight:
Instance.new("PointLight", Workspace)
