#this aint workjing for sum reason
1 messages · Page 1 of 1 (latest)
What exactly doesn’t work?
whenever i click it the light dont turn on
plus how would i know if im aksing for help🥀
Did you check if the click detector works? Like adding an print statement before the if cases
why would it not work
Because maybe there could an incorrect reference or something along those lines
dude do u know what ur doing or not?
im not looking for a maybe im looking for a do this
is it a server script
did you checked the output
but then i reilised
the parts maybe are not loading on time
it shouldn't matter if the script is in the part
i dont know if it is on the part or no
but yeah check if its a script or localscript
didnt read the variables
yea
because if it is a local script inside of a part it is not supposed to work
yepp
also you could do
clickDetector.MouseClick:Connect(function()
LightOn = not LightOn
Light.Material = LightOn and "Neon" or "SmoothPlastic"
Light.PointLight1.Enabled = lightOn
Light2.PointLight2.Enabled = lightOn
end)
just shorter
still wont work
the whole reson it diddnt work was because i diddnt specify what Light was
yall are dumb
no offence
all three of u got it wrong
** You are now Level 5! **
why couldnt you check it yourself
then why couldnt you fix it before opening this topic