Demostration
local players = game:GetService("Players")
local replicated_storage = game:GetService("ReplicatedStorage")
local client = players.LocalPlayer
local storage = replicated_storage:WaitForChild("EXE6_STORAGE")
local events = storage.events
local CustomCommands = require(storage.modules.CustomCommands)
local TimeCC = CustomCommands:RegisterCommand("Time")
TimeCC.Description = "Change in-game time."
TimeCC.Icon = "rbxassetid://11963371162"
TimeCC.Event = storage.utilities.custom_commands.ChangeTime
TimeCC:AddParameter("Boolean", {
Name = "Animate"
})
TimeCC:AddParameter("Slider", {
Name = "Time",
SliderRange = NumberRange.new(1, 24),
SliderDefault = game.Lighting.ClockTime,
SliderIncrement = .01,
})Last updated