I have a bool value in ReplicatedStorage that is supposed to be turned to true via a serverscript in serverscriptservice, but it doesn’t change to true. There are no errors in output.
wait(3)
local RainEvent = game.ReplicatedStorage.RainEvent
while true do
local RandomWait = math.random(10, 11)
wait(RandomWait)
RainEvent.Value = true
local RandomWait2 = math.random(10, 11)
RainEvent.Value = false
end
wait(3)
local RainEvent = game.ReplicatedStorage.RainEvent
while true do
local RandomWait = math.random(10, 11)
wait(RandomWait)
RainEvent.Value = true
local RandomWait2 = math.random(10, 11)
wait(RandomWait2)
RainEvent.Value = false
end