Problem with gui updating amount

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    for when i click the gui to show the amount increased
  2. What is the issue? Include screenshots / videos if possible!
    when i click no amount increases it, but it prints the player, the table its in and the value, but the amount does not change on the gui
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i have tried the creators discord, the tutorial, and on google
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

this is the click script

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerScriptService = game:GetService("ServerScriptService")

local Remotes = ReplicatedStorage.Remotes
local Pets = require(ServerScriptService.Pets)
local PlayerData = require(ServerScriptService.PlayerData.Manager)
local AchievementsManager = require(ServerScriptService.Achievements)
local AchievementsConfig = require(ReplicatedStorage.Configs.Achievements)
local Stats = require(ReplicatedStorage.Utils.Stats)


local Cooldown = {}

local CLICK_COOLDOWN = 0.5


local function Click(player: Player)
	if table.find(Cooldown, player) then return end
	
	local profile = PlayerData.Profiles[player]
	if not profile then return end
	
	table.insert(Cooldown, player)
	task.delay(CLICK_COOLDOWN, function()
		local foundPlayer = table.find(Cooldown, player)
		if foundPlayer then
			table.remove(Cooldown, foundPlayer)
		end
	end)
	
	local achievementId = AchievementsConfig.GetFirstAvailableAchievementId("Clicks", profile.Data)
	if achievementId then 
		AchievementsManager.AddPoint(player, "Clicks", achievementId) << amount but no increase
		print(player, "Clicks", achievementId, 1)
	end
	
	local clickMultiplier = Stats.ClickMultiplier(player, profile.Data)
	local reward = clickMultiplier
	PlayerData.AdjustClicks(player, reward)
	Pets.GivePetXP(player)
end

Remotes.Click.OnServerEvent:Connect(Click)

addpoint function

function Achievements.AddPoint(player: Player, group: string, id: string, amount: number?)
	amount = amount or 1
	
	local config = AchievementsConfig.GetAchievementConfig(group, id)
	if not config then return end

	local profile = PlayerData.Profiles[player]
	if not profile then print("No Profile") return end
	
	local groupData = profile.Data.Achievements[group]
	if not groupData then return end
	
	local achievementData = groupData[id]
	if not achievementData then return end
	
	local isCompleted = achievementData.Progress >= config.Amount
	if not isCompleted then return end
	
	achievementData.Progress += amount
	
	Remotes.UpdateAchievement:FireClient(player, group, id, achievementData.Progress)
	
end

Can you reveal the function on clientside for UpdateAchievement? It is still really unclear of the issue and problem on how to fix since you provided minimal details on given variables, script, and vague connections.

Yeah i could give you the tutorial that i watched and also the part its used to update in

local function UpdateAchievement(group: string, index: number)
    local config = AchivementsConfig.GetAchievementConfig(group, index)
    local clone = Container:FindFirstChild(group)
    
    local titleText = 
        if group == "Eggs"
        then `{config.Egg} Eggs`
        else `{group} # {index}`
    clone.Title.Title.Text = `{titleText}!`
    
    local objectiveText
    if group == "Eggs" then
        objectiveText = `Open {config.Amount} {config.Egg} eggs`
    elseif group == "Clicks" then
        objectiveText = `Click {config.Amount} times`
    elseif group == "Islands" then
        objectiveText = `Discover {config.Island} island`
    end
    clone.Objective.Text = `{objectiveText}`
local progress = AchivementsConfig.GetAchievementProgress(group, config.Id, StateManager.GetData())
    local goal = config.Amount
    
    local progressFrame  = clone.Bottom.Progress
    
    local progressText =
        if config.Amount == 1
        then `Not Done`
        else `{progress}/{goal}`
    progressFrame.ProgressBar.Amount.Text = progressText
    progressFrame.ProgressBar.Progress.Size = UDim2.fromScale(progress / goal, 1)
    progressFrame.ProgressBar.Progress.Visible = progress > 0
    
    local isCompleted = progress >= goal
    progressFrame.ProgressBar.Visible = not isCompleted
    progressFrame.Title.Visible = not isCompleted
    progressFrame.Claim.Visible = isCompleted
    
    local rewardFrame = clone.Bottom.Reward
    
    local rewardText
    if config.Reward.Type == "Currency" then
        rewardText = `+{FormatNumber.FormatCompact(config.Reward.Amount)}`
    elseif config.Reward.Type == "Custom" then
        rewardText = config.Reward.Description
    end    
    rewardFrame.Background.String.Text = rewardText
    rewardFrame.Background.Number.Text = rewardText
    
    if config.Reward.Type == "Currency" then
        local rewardImage
        if config.Reward.Currency == "Clicks" then
            rewardImage = "rbxassetid://15330296241"
        elseif config.Reward.Currency == "Gems" then
            rewardImage = "rbxassetid://15330296032"
        else
            rewardImage = "rbxassetid://15330293372"
        end
        rewardFrame.Background.Icon.Image = rewardImage
    end
    
    rewardFrame.Background.Icon.Visible = config.Reward.Type == "Currency"
    rewardFrame.Background.Number.Visible = config.Reward.Type == "Currency"
    rewardFrame.Background.String.Visible = config.Reward.Type ~= "Currency"
        
        
    clone.LayoutOrder = if isCompleted then -1 else 0
end

Do you need more to go on? I can provide more if needed