#This script wont work and I don't know why

33 messages · Page 1 of 1 (latest)

loud vine
#
local lighting = game:GetService("Lighting")
local time = lighting.ClockTime
local player = game.Players.LocalPlayer

if lighting.ClockTime >= 10 then
    player:Kick("Didnt get water in time")
end
gilded plover
finite saffronBOT
#

studio** You are now Level 8! **studio

loud vine
#

Time of day is a different type of number tho it has colons

#

But here goes nothin

#

Didnt work

gilded plover
#

oh

#

wait

#

did you try putting it in a function then getting the time of day then doing a while loop?

#

then adding time of day

#

plus 1

#

just put in while loop

#

and add time of day plus 1

#

also im panamanian lol nice pfp

loud vine
#
while true do
 if lighting.TimeOfDay + 1 >= 10 then
     player:Kick("Didnt get water in time")
end
#

?

gilded plover
#

wait

loud vine
gilded plover
#

ik but the pfp

loud vine
#

Yeah Im doing a thing where I'm being every country

#

My friend is from panama to

gilded plover
#

try making a variable called Lighting and put Local lighting = game.GetService("Lighting")

#

then

#

put a while loop

#

then inside while loop try

#

Timeofday = timeofday + 1

#

hold on let me check if thats correct

#

oh nvm im way off lol

twilit falcon
twilit falcon
twilit falcon
#

al menos a nivel profesional lo soy, seguramente 😅

#

si te quieres unir a un server de game developers panameños me avisas, somos re friendly