After I added this script in:
-- serverscript
local rep = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
local minutesvalue = rep:WaitForChild("Minutes")
local secondsvalue = rep:WaitForChild("Seconds")
local Day = rep:WaitForChild("Day")
local minutes = 2 --minutes
local seconds = 59 --seconds
while true do
minutesvalue.Value = minutes
secondsvalue.Value = seconds
repeat
if secondsvalue.Value <= 0 then
minutesvalue.Value = minutesvalue.Value - 1
secondsvalue.Value = 59
else
secondsvalue.Value = secondsvalue.Value - 1
end
wait(1)
until secondsvalue.Value <= 0 and minutesvalue.Value <= 0
local DayNow = Day.Value +1
for _, player in pairs(game.Players:GetPlayers()) do
player.PlayerGui.Timer.TextLabel.Text = ("Day"..DayNow)
end
end
-- local script
local rep = game:GetService("ReplicatedStorage")
local minutes = rep:WaitForChild("Minutes")
local seconds = rep:WaitForChild("Seconds")
local text = script.Parent
if seconds.Value <= 9 then
text.Text = tostring(minutes.Value)..":0"..tostring(seconds.Value)
else
text.Text = tostring(minutes.Value)..":"..tostring(seconds.Value)
end
minutes:GetPropertyChangedSignal("Value"):Connect(function()
if seconds.Value <= 9 then
text.Text = tostring(minutes.Value)..":0"..tostring(seconds.Value)
else
text.Text = tostring(minutes.Value)..":"..tostring(seconds.Value)
end
end)
seconds:GetPropertyChangedSignal("Value"):Connect(function()
if seconds.Value <= 9 then
text.Text = tostring(minutes.Value)..":0"..tostring(seconds.Value)
else
text.Text = tostring(minutes.Value)..":"..tostring(seconds.Value)
end
end)
The characters avatar is a blocky gray r15 character instead of the player’s avatar, does this script interfere with the character???