Hi developers,
I’m making a piggy fanmade game, now i’m trying to make the bot countdown, but for some reason, this keeps happening:
I don’t know why, it keeps happening, i have a int value inside replicated storage and here is my script:
Server:
local RS = game:GetService("ReplicatedStorage")
local Timer = RS.Timer
local Status = Timer.Status
for count = 30, 0, -1 do
-- Prints the current number the for loop is on
Status.Value = "Piggy spawning"..count
-- Wait 1 second
task.wait(1)
end
Client:
while task.wait() do
script.Parent.Text = game.ReplicatedStorage.Timer.Status.Value
end
Any help would be… Appreciated!!!