For some strange reason, NUMBER 2 & NUMBER 3 are not changing text. But NUMBER 1 & NUMBER 4 are. Please can you help me? Thank you!
Credit will be given at my place as well as a correct answer :)
FanOnOne=game.Workspace.FanValues.One
FanOnTwo=game.Workspace.FanValues.Two
FanOnThree=game.Workspace.FanValues.Three
FanOff=game.Workspace.FanValues.Off
FanOnOne.Changed:connect(function()
if FanOnOne.Value == true then -- NUMBER 1
script.Parent.Text = "Fan Power: One"
elseif FanOnTwo.Value == true then -- NUMBER 2
script.Parent.Text = "Fan Power: Two"
elseif FanOnThree.Value == true then -- NUMBER 3
script.Parent.Text = "Fan Power: Three"
elseif FanOff.Value == true then -- NUMBER 4
script.Parent.Text = "Fan Power: Off"
end
end)

3 comments
Wow! I diddn't know pcall() and ypcall() existed! Thank you for such a detailed and informative answer! :)
You're welcome. The "easier way" is really useful for situations where you want to link a single function to multiple objects without typing masses of connection lines or copying scripts into each item. I had this issue once and the "easier way" proved to work great!
Haha! Well, defiantly going to take some practise but defiantly simple! :D