Here is my script:
local clickd = script.Parent
clickd.MouseHoverEnter:Connect(function(playerWhoHovered) print("hi") print(playerWhoHovered.Others.Isbuilding.Value) while true do wait(0.5) print(playerWhoHovered.Others.Isbuilding.Value) end end)
There is a clickdetector, and there is actually a value in a folder called others that is created when a player joins. The problem is, it just keeps on printing what the value is when the script starts.
For example, when the game starts it keeps printing false. This makes sense, because the value is actually "false". But when I change the value to "true" , (via script or properties tab), it keeps on printing "false"!
Of course, this is just an example of the script having the wrong value, the goal of this script is not to print text.
Also, this is a normal script.
Any help would be appreciated, thanks!

1 comment
Thanks! I am currently changing the value via localscript(startergui), so I should make it fire a remote event and then change the value from there right? Thanks so much!