no error; im pretty new to scripting:
local TweenService = game:GetService("TweenService") local part = script.Parent local Info = TweenInfo.new( 5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0 ) local Goals = { Size = 12 } local tween = TweenService:Create(part, Info, Goals) tween:Play()
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:
Maybe there are more i don't know, it's best to put them into ServerScriptService
always.
And for client:
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
.
When you add the blur effect into lighting, what you would want to do is open the properties tab, click on the blur effect, and open properties. Then, you would go to the scroll that says size and you can change the size to whatever you desire. Please note that the size changes the amount of blur, not how much of it is on the screen or anything like that.