The problem is that the t transparency is capital so this should work:
1 | Workspace.Lamp.LampLight.Particles.Transparency = 1 |
Also you are missing an end at the bottom of all your code!
So the full script would be:
01 | local light = script.Parent.SpotLight |
05 | Workspace.Lamp.LampLight.Material = "Neon" |
06 | Workspace.Lamp.LampLight.Particles.Enabled = true |
07 | Workspace.Lamp.Particles 1. Particles 2. Enabled = true |
10 | Workspace.Lamp.LampLight.Material = "Marble" |
13 | Workspace.Lamp.LampLight.Material = "Neon" |
16 | Workspace.Lamp.LampLight.Material = "Marble" |
19 | Workspace.Lamp.LampLight.Material = "Neon" |
22 | Workspace.Lamp.LampLight.Material = "Neon" |
25 | Workspace.Lamp.LampLight.Material = "Marble" |
28 | Workspace.Lamp.LampLight.Material = "Neon" |
31 | Workspace.Lamp.LampLight.Material = "Marble" |
34 | Workspace.Lamp.LampLight.Material = "Neon" |
37 | Workspace.Lamp.LampLight.Material = "Marble" |
38 | Workspace.Lamp.LampLight.Particles.Transparency = 1 |