What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-27 11:35:01
day night cycle roblox
local length = 12 --length is in minutes local cycle = length*60 local minutes = 24*60 local lighting = game:GetService("Lighting") local start = tick() - (lighting:getMinutesAfterMidnight() / minutes)*cycle local TimeEnd = start + cycle loc... Add solution -
Javascript 2021-11-21 07:11:12
DATE UTC END OF MONTH
//TODAY is the 16th of OCTOBER 2020 var date = new Date(); var year = date.getMonth() < 11 ? date.getFullYear() : date.getFullYear() + 1; var month = date.getMonth() < 11 ? date.getMonth() + 1 : 0; // toUTCString() to display a local time... Add solution -
Javascript 2021-11-13 18:12:11
attempt to index a nil value (global 'esx')
ESX = nil local timer = nil local maksut = 0 local saannit = 0 TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) RegisterServerEvent('payforplayer2') AddEventHandler('payforplayer2',function(winnings) local _source = source local ... Add solution -
Lua 2021-11-06 17:57:15
roblox enable dubble jump
#add in stater player scripts local UserInputService = game:GetService("UserInputService") local localPlayer = game.Players.LocalPlayer local character local humanoid local canDoubleJump = false local hasDoubleJumped = false local oldPower local... Add solution -
C++ 2021-10-24 10:34:11
c++ print current time
// Current date/time based on current system time_t now = time(0); // Convert now to tm struct for local timezone tm* localtm = localtime(&now); cout << "The local date and time is: " << asctime(localtm) << endl; // Conve... Add solution