How do i fix this visit goal board

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

  1. i would like to get this visit goal board to work right and its expected to save world wide kinda like global leaderboards

  2. the issue is that it wont count and stays at 0 for ever

  3. i tried to look up how to fix it on youtube but i cant find an answer

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 screen shots of the script i have

picture 1 is the update script

then because i could not get a picture of the seckond script i typed it out this is the values script
from this part to the end of the page is all 1 script

local Players = game:GetService(“Players”)
local Debris = game:GetService(“Debris”)
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)

Players.PlayerAdded:Connect(function(plr)
local goals = Instance.new(“Folder”)
goals.Name = “Goals”
goals.Parent = ReplicatedStorage

local visits = Instance.new("IntValue")
visits.Value = 0
visits.Name = "Visits"
visits.Parent = goals

local VisitsGoal = Instance.new("IntValue")
VisitsGoal.Name = "VisitsGoal"
VisitsGoal.Parent = goals

end)

local HttpService = game:GetService(“HttpService”);
local Visitsstat = game.ReplicatedStorage:WaitForChild(“Goals”):WaitForChild(“Visits”)

local Response = HttpService:RequestAsync({
Method = “GET”;
Url = string.format(“https://games.rprxy.xyz/v1/games?universeIds=%d”, game.GameId);
});

if (Response.Success and Response.Body) then
local Body = HttpService:JSONDecode(Response.Body)

if (Body.data[1]) then 
    local Visits = Body.data[1].visits;
    local Favs = Body.data[2].Favourites

    Visitsstat.Value = Visits

end

end

and it still wont work can you guys help me or tell me what wrong

if you wanna see the issue for your self this is the game its in

(2) Yugimuto’s - badge walk --62–Badges - Roblox

i was told by a dev that its a free mod and their is noting to do to fix it plz help me