From b4451424dc1446e563cfd02ea9a240689988e1ff Mon Sep 17 00:00:00 2001 From: The_Atmerek <84788788+Atmerek@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:56:24 +0100 Subject: [PATCH] Update TimeHandler.Script.lua --- RobloxFiles/ServerScriptService/TimeHandler.Script.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RobloxFiles/ServerScriptService/TimeHandler.Script.lua b/RobloxFiles/ServerScriptService/TimeHandler.Script.lua index d8b6a51..e9d6bbe 100644 --- a/RobloxFiles/ServerScriptService/TimeHandler.Script.lua +++ b/RobloxFiles/ServerScriptService/TimeHandler.Script.lua @@ -3,7 +3,7 @@ local HttpService = game:GetService("HttpService") local Lighting = game:GetService("Lighting") local ReplicatedStorage = game:GetService("ReplicatedStorage") -local endpointURL = "http://localhost/world" +local endpointURL = "http://" .. ReplicatedStorage.IP.Value .. "/world" local function generateTimeConversionTable() local conversionTable, nightStart, nightEnd, dayStart, dayEnd = {}, 18000, 24000, 0, 18000 @@ -53,4 +53,4 @@ updateWorldInfo() while true do wait(2) updateWorldInfo() -end \ No newline at end of file +end