Hello i'm working on a battle royale game but there's an error on my Display Manager module script:
local DisplayManager = {}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local displayvalues = ReplicatedStorage:WaitForChild("DisplayValues")
local status = displayvalues:WaitForChild("Status")
local playersLeft = displayvalues:WaitForChild("PlayersLeft")
local timeLeft = displayvalues:WaitForChild("TimeLeft")
local function updateRoundStatus()
status.Value = "Players Left: "..playersLeft.Value.." / Time Left: "..timeLeft.Value
end
function DisplayManager.updateStatus(newStatus)
status.Value = newStatus
end
playersLeft.Changed:Connect(updateRoundStatus())
timeLeft.Changed:Connect(updateRoundStatus())
return DisplayManager

2 comments
Try GetPropertyChangedSignal
Could we get the line the error occured on?