I am trying to make a system that shows how many points are added, what can I use so that a LocalScript inside the TextLabel can detect when it’s visible? I tried .Changed but this deletes it since I am copying it from ServerStorage. Please help me! Thank you.
You would need to either have the script disabled first, or use a module script function once you want it to occur.
local ModuleScript = require(Path)
TextLabel:GetPropertyChangedSignal("Visible"):Connect(function()
if TextLabel["Visible"] == true then
ModuleScript:RunFunctionCode()
-- run the function from the module script
end
end