I’m trying to make a model clone when it reaches a curtain time in real life. But for some reason it doesn’t clone right when it reaches the time it’s suppose to clone. Here’s the code I used:
local Obstical = game.ServerStorage.Obstical
local function triggerEvent()
local ObsticalClone = Obstical:Clone()
ObsticalClone.Parent = workspace
end
while wait(1) do
local Date = os.date("!*t")
if Date["year"] == 2020 and Date["month"] == 11 and Date["day"] == 19 and Date["hour"] == 10 and Date["min"] == 41 then
triggerEvent()
end
end
So I just found out that the reason that it’s not working is because the game isn’t updating. And everytime I try updating it, Roblox doesn’t allow me to.