I am very new to Attributes and this it the first time I am using them.
Help: I am trying to get the Altribute’s Value but I don’t know how.
Problem: Right know the text is just showing Clock
--==============================================================================
--LOCAL SCRIPT >> SCRIPTS
--==============================================================================
--<<VERIABELS>>
local DataValues = workspace.DataValues
local Clock = DataValues:GetAttribute("Clock")
local Info = DataValues:GetAttribute("Info")
local AnouncmentLabel = script.Parent.Parent.ScoreFrame:WaitForChild("AnouncmentLabel")
local ClockLabel = script.Parent.Parent.ScoreFrame:WaitForChild("ClockLabel")
--==============================================================================
--<<FUNCTIONS>>
DataValues.AttributeChanged:Connect(function(Clock)
ClockLabel.Text = Clock
end)
DataValues.AttributeChanged:Connect(function(Info)
AnouncmentLabel.Text = Info
end)
--==============================================================================