You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
When you press a button shadows will turn on/off.
What is the issue? Include screenshots / videos if possible!
The shadow’s won’t turn on or off when pressing the button.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried so far looking it up on the web. Only found a dev post but it looks like the same thing as mine. Not sure what to do.
local GlobalShadows = game.Lighting.GlobalShadows
local DisabledShadowButton = script.Parent.Shadows.DisableShadows
local EnableShadowsButton = script.Parent.Shadows.EnableShadows
GlobalShadows = false
GlobalShadows = true