Run it
Copy the script and paste it into your executor.
-- ModernClock By luauruler26
if game.CoreGui:FindFirstChild("ModernClock") then
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "ModernClock ℹ️",Text = "Hey! Seriously, the GUI has been loaded but you are still running the script?",Duration = ;})
Players = :()
UserInputService = :()
player = Players.LocalPlayer
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = .CoreGui
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
frame = .()
frame.Size = .(, , , )
frame.BackgroundTransparency =
frame.Position = .(, , , )
frame.AnchorPoint = .(, )
frame.BackgroundColor3 = .(, , )
frame.Active =
frame.Draggable =
frame.Parent = gui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
label = .()
label.Name =
label.Size = .(, , , )
label.BackgroundTransparency =
label.Font = .Font.GothamBold
label.Text =
label.TextColor3 = .(, , )
label.TextSize =
label.Parent = frame
dragging
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
frame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = frame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
frame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)
()
time = .()
label.Text = .(, time.hour, time.min, time.sec)
()
(updateTime)
Universal