#I need help on a script thats why im here a countdown script

1 messages · Page 1 of 1 (latest)

weak dome
#

for some reason the ends never work

#

end problem

north lagoon
#

why is there so many wnda

#

ends

weak dome
#

uh

#

theres like 2 now

north lagoon
#

can u click on the button in the script tab to format the script properly

north lagoon
#

it'll make it more clear where the end issue is

weak dome
weak dome
north lagoon
#

welp itd be easy to fix but im on mobile so

weak dome
#

@alpine star i summon u now

tawny swift
#

@weak dome which scripts you have problems with?

weak dome
#

i think

#

wait i gotta wait

tawny swift
#

oh

weak dome
tawny swift
#

oke

tawny swift
alpine star
weak dome
weak dome
alpine star
#

send code in discord

weak dome
alpine star
weak dome
alpine star
#

then

weak dome
alpine star
#

put in discord

weak dome
#

old pic

#

oops

#

local remote = game.ReplicatedStorage.playtime

local gui = game.StarterGui.ScreenGui.Frame.TextLabel
local timevalue = Instance.new("NumberValue")
timevalue.Parent = game.ReplicatedStorage
timevalue.Name = ("timevalue")
timevalue.Value = 11

local serverplayer = game.Players.PlayerAdded:Connect(function(player)
end)

local function starttimer()
timevalue.Value = 11
for i = 1, 11, 1 do
task.wait(1)
timevalue.Value -= 1
gui.Text = timevalue.Value
remote:FireAllClients() if timevalue.Value == 0 then end end end

local function gametimer()
timevalue.Value = 100
for i = 1, 100, 1 do
task.wait(1)
timevalue.Value -= 1
gui.Text = timevalue.Value
remote:FireAllClients() if timevalue.Value == 0 then starttimer()
end
end
end

starttimer() if timevalue.Value == 0 then
gametimer() if timevalue.Value == 0 then
starttimer()
end
end

tawny swift
#

copy the text and send it here

#

@weak dome

local remote = game.ReplicatedStorage.playtime

local gui = game.StarterGui.ScreenGui.Frame.TextLabel
local timevalue = Instance.new("NumberValue")
timevalue.Parent = game.ReplicatedStorage 
timevalue.Name = ("timevalue")
timevalue.Value = 11

local serverplayer = game.Players.PlayerAdded:Connect(function(player)
end)

local function starttimer()
    timevalue.Value = 11
    for i = 1, 11, 1 do
        task.wait(1)
        timevalue.Value -= 1
        gui.Text = timevalue.Value
        remote:FireAllClients()
    end 
end

local function gametimer()
    timevalue.Value = 100
    for i = 1, 100, 1 do
        task.wait(1)
        timevalue.Value -= 1
        gui.Text = timevalue.Value
        remote:FireAllClients()
        if timevalue.Value == 0 then
            starttimer()
        end
    end
end


starttimer()
if timevalue.Value == 0 then
    gametimer()
    if timevalue.Value == 0 then
        starttimer()
    end
end
#

try this now

alpine star
#

I just have you tell you

#

Learn the basics

tawny swift
#

and ^ that too I suppose.

weak dome
tawny swift
#

@weak dome try the script I sent

weak dome
weak dome
tawny swift
grizzled gustBOT
#

studio** You are now Level 5! **studio

weak dome
tawny swift
weak dome
#

thats the error

#

just logic

tawny swift
#

screenshot cmon

weak dome
weak dome
#

just a logic error

#

search up what an logic error mean's

tawny swift
#

tell me the line number

wet cliff
tawny swift
#

^