Did I found a bug or I am just stupid?
I can’t seem to access and change attributes’ instance when I pass the instance through arguments.
I am changing the attribute through the server.
--Client
startSession:FireServer(lobbyData)
--Server
start.OnServerEvent:Connect(function(lobbyData)
repeat
if isStarting == true then
print(lobbyData.Name)
lobbyData:SetAttribute("Status", "STARTING IN "..currentCountdown)
currentCountdown -= 1
print(lobbyData:GetAttribute("Status"))
startSession
Is a Remote event
lobbyData
Is an instance folder with custom attributes; And has an attribute called “Status”
Status : Is currently set to: WAITING
When I print, it outputs correctly “STARTING IN 5” and so on.
but when I check the folder instance through explorer the attribute didn’t change…
it is still set to WAITING
I check both from the client and server-side.
I tried making it change from the client-side and worked. but this would not be viable for my situation because I need to access the same folder instance from the server.
Any thought’s on why would this happen?