I want for dataStore.Value.Wood to be put in a TextLable but it just doesn't work for no reason even though print(dataStore.Value.Wood) works perfectly fine and prints out the value it needs to.
-# Sorry if that all sounds stupid I just started coding like a week ago so I don't know much ;-;
local DataStoreModule = require(game.ServerStorage.DataStore)
local Players = game:GetService("Players")
local CollectionService = game:GetService("CollectionService")
script.Parent.Triggered:Connect(function(player)
local dataStore = DataStoreModule.find("Player", player.UserId)
game.StarterGui.InventoryGui.Frame.ResourceCount.Wood.Text = tostring(dataStore.Value.Wood)
if dataStore == nil then return end
if dataStore.State ~= true then return end
dataStore.Value.Wood += 1
print(dataStore.Value.Wood)
game.StarterGui.InventoryGui.Frame.ResourceCount.Wood.Text = tostring(dataStore.Value.Wood) --This Line
end) ```

** You are now Level 1! **