Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can someone help me with a script for "Press a button-PointLight, Light up, click button, turns off?

Hey!, can someone help me with a script that let you click a button and a certain that is in the model or somewhere like that light will light up

Example: Click Switch Lamps Turn on

And if you can help me with the script can you please tell me where to insert it? Please and thank you!

PS: if it works I will make you a custom T-shirt anything you want on it for 1TIX (special thanks!)

2 comments

2

ScriptingHelpers is not a request site.

0

I asked just for a help on that script, and thats it.

1 answer

REMEMBER. THIS IS NOT A REQUEST SITE!!!!!

function onClick()
script.(what ever ur space).SpotLight.Brightness = 0
else
script.(whateverurspace).SpotLight.Brightness = (what ever u want)
end

script.Parent.ClickDetector.MouseClick:connect(onClick)

This discussion is preserved as it was. New answers, comments, and votes are closed.