I wanted to create a part that spawns after 10 seconds after the server started. Is there a way to do it?
✓ ANSWER ACCEPTED
How do i refer to time started since server started?
3 answers
✓ Accepted answer
local timespawn = 10
wait(timespawn)
local part = Instance.new("Part")
part.Parent = workspace
Hi Jamar,
Yes, you can easily get the time since the server started by using time(). time() will return the amount of seconds since the server started.
##I hope I helped and have a wonderful day/night.
Thanks,
Best regards,
~~ KingLoneCat
5 comments
0
I already sent him this but his question and description are different it's so confusing.
0
Oh, lol.
0
Hey King, how do you make the font different on 'I hope I helped and have a wonderful day/night.' and the body of your answer?
0
I use #. Font size changes happen from 1 - 3 #s. One # is biggest, Two #s is the second biggest, and three #s is the third biggest. Font size only changes up to 3 of them. 4 #s make an italicized light greyish text.
0
Also, you see how my body text looks kinda clean? That's because I used 3 #s. I feel that 3 #s looks better than just text.
local dgt = 'DistributedGameTime'
game.Workspace:GetPropertyChangedSignal(dgt):Connect(function()
-- do code
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
For more informations: http://wiki.roblox.com/index.php?title=Global_namespace/Roblox_namespace#time
That can work, but if under an event or function that can be called by a player, this will just wait 10 seconds and do the code.