WebJun 15, 2024 · Since you're already using BoolValues, you can simply have your LocalScript observe changes to the value. You can do something like this : local openVal = … WebDelete the "On" value inside of your Lightset group and insert a stringvalue and name it power, then if you're using a light switch then add a line of code that will switch the Power.Value to "On" or "Off" then put all of your lights in one group and then insert a script inside of that group with your lights that listens out for a change in the …
Cant change values?? : r/roblox - Reddit
WebOct 7, 2024 · I have been stuck on this issue for days now, and it is frustrating me so much I have recently began experimenting with attributes, first one being a boolvalue attribute. My code is a simple door with a click detector that checks whether the attribute value is true or false, and opens or closes depending on the value. My issue is that the bool value is not … WebOct 15, 2024 · 2 Answers Sorted by: 1 changing variables inside of a modulescript is global, change a variable and every script using the module gets the new variable the reason why the code you provided doesnt work is because of the while loop. the loop yields and cant proceed, meaning it cant also return the module so the server script is waiting forever. Share spanish by mary
Kyeggo Loomian Legacy Wiki Fandom
WebFeb 8, 2024 · Use a Value Instance and use the Changed or PropertyChanged event to do it. Use the __newindex metamethod in a metatable to do it. __newindex(table, index, value) Just use another function to change the value and at the same time trigger the onChanged instead local var = 1 local function onChange() -- blah blah blah end WebCant change values?? so I did a script where to damage someone a bool value has to be true so I decided it should be set to true when the animation starts and to false when it … WebMar 17, 2024 · I’m working a boolean changed event to check if the boolean value is true and then proceed to next function. The current issue I’m encountering is that sometimes … tear pad finder