Scripts do not run in Lighting, not server, not local, you need to put the script into a container it can run in, for server that is:
- ServerScriptService
- Workspace
- PlayerGui
- Tools
- ReplicatedScriptService (not yet released)
Maybe there are more i don't know, it's best to put them into ServerScriptService always.
And for client:
- Tool (Instance)
- PlayerGui (UI Instances) (Basically all you put into StarterGui)
- StarterPlayerScripts
- ReplicatedScriptService (not yet released)
You need to put the code based off of your situation as i don't see it, choose container that fits here the most. Then to get reference to Lighting you would simply do
local Lighting = game:GetService('Lighting')
My theory might be wrong if part refers to something else, if it actually refers to BasePart instance then uh.. parts do not have property Blur.
4 comments
I think you posted the wrong title/script
I think you posted the wrong title/script
Nah from the looks she's trying to tween the size of the blur.
yes