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