Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
player = Players.LocalPlayer
playerGui = player:()
toggleKey = .KeyCode.F
resetKey = .KeyCode.R
isRunning =
elapsedTime =
waitingForBind =
BASE_WIDTH =
BASE_HEIGHT =
currentScale =
COLOR_RUNNING = .(, , )
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.DisplayOrder =
screenGui.IgnoreGuiInset =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
screenGui.Parent = playerGui
timerFrame = .()
timerFrame.Name =
timerFrame.Size = .(, BASE_WIDTH, , BASE_HEIGHT)
timerFrame.Position = .(, -BASE_WIDTH/, , )
timerFrame.BackgroundColor3 = .(, , )
timerFrame.BorderSizePixel =
timerFrame.Active =
timerFrame.Parent = screenGui
timerScale = .()
timerScale.Scale =
timerScale.Parent = timerFrame
timerCorner = .()
timerCorner.CornerRadius = .(, )
timerCorner.Parent = timerFrame
timerLabel = .()
timerLabel.Name =
timerLabel.Size = .(, -, , )
timerLabel.Position = .(, , , )
timerLabel.BackgroundTransparency =
timerLabel.RichText =
timerLabel.Text =
timerLabel.Font = .Font.GothamBold
timerLabel.TextColor3 = COLOR_RUNNING
timerLabel.TextSize =
timerLabel.TextXAlignment = .TextXAlignment.Right
timerLabel.TextYAlignment = .TextYAlignment.Bottom
timerLabel.Parent = timerFrame
openSettingsBtn = .()
openSettingsBtn.Size = .(, , , )
openSettingsBtn.Position = .(, , , )
openSettingsBtn.BackgroundTransparency =
openSettingsBtn.Text =
openSettingsBtn.TextColor3 = .(, , )
openSettingsBtn.TextSize =
openSettingsBtn.Font = .Font.GothamBold
openSettingsBtn.Parent = timerFrame
resizeHandle = .()
resizeHandle.Name =
resizeHandle.Size = .(, , , )
resizeHandle.Position = .(, -, , -)
resizeHandle.BackgroundTransparency =
resizeHandle.Text =
resizeHandle.TextColor3 = .(, , )
resizeHandle.TextSize =
resizeHandle.Font = .Font.GothamBold
resizeHandle.Parent = timerFrame
settingsFrame = .()
settingsFrame.Name =
settingsFrame.Size = .(, , , )
settingsFrame.Position = .(, -, , -)
settingsFrame.BackgroundColor3 = .(, , )
settingsFrame.BorderSizePixel =
settingsFrame.Active =
settingsFrame.ZIndex =
settingsFrame.Parent = screenGui
.(, settingsFrame).CornerRadius = .(, )
titleLabel = .()
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.Font = .Font.GothamBold
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = settingsFrame
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundTransparency =
closeBtn.Text =
closeBtn.Parent = settingsFrame
closeLine1 = .()
closeLine1.Size = .(, , , )
closeLine1.Position = .(, , , )
closeLine1.AnchorPoint = .(, )
closeLine1.Rotation =
closeLine1.BackgroundColor3 = COLOR_RUNNING
closeLine1.BorderSizePixel =
closeLine1.Parent = closeBtn
.(, closeLine1).CornerRadius = .(, )
closeLine2 = .()
closeLine2.Size = .(, , , )
closeLine2.Position = .(, , , )
closeLine2.AnchorPoint = .(, )
closeLine2.Rotation = -
closeLine2.BackgroundColor3 = COLOR_RUNNING
closeLine2.BorderSizePixel =
closeLine2.Parent = closeBtn
.(, closeLine2).CornerRadius = .(, )
toggleBindText = .()
toggleBindText.Size = .(, , , )
toggleBindText.Position = .(, , , )
toggleBindText.BackgroundTransparency =
toggleBindText.Text =
toggleBindText.Font = .Font.Gotham
toggleBindText.TextColor3 = .(, , )
toggleBindText.TextSize =
toggleBindText.TextXAlignment = .TextXAlignment.Left
toggleBindText.Parent = settingsFrame
toggleBindBtn = .()
toggleBindBtn.Size = .(, , , )
toggleBindBtn.Position = .(, -, , )
toggleBindBtn.BackgroundColor3 = .(, , )
toggleBindBtn.Text = toggleKey.Name
toggleBindBtn.Font = .Font.GothamBold
toggleBindBtn.TextColor3 = COLOR_RUNNING
toggleBindBtn.TextSize =
toggleBindBtn.Parent = settingsFrame
.(, toggleBindBtn).CornerRadius = .(, )
resetBindText = .()
resetBindText.Size = .(, , , )
resetBindText.Position = .(, , , )
resetBindText.BackgroundTransparency =
resetBindText.Text =
resetBindText.Font = .Font.Gotham
resetBindText.TextColor3 = .(, , )
resetBindText.TextSize =
resetBindText.TextXAlignment = .TextXAlignment.Left
resetBindText.Parent = settingsFrame
resetBindBtn = .()
resetBindBtn.Size = .(, , , )
resetBindBtn.Position = .(, -, , )
resetBindBtn.BackgroundColor3 = .(, , )
resetBindBtn.Text = resetKey.Name
resetBindBtn.Font = .Font.GothamBold
resetBindBtn.TextColor3 = COLOR_RUNNING
resetBindBtn.TextSize =
resetBindBtn.Parent = settingsFrame
.(, resetBindBtn).CornerRadius = .(, )
sizeText = .()
sizeText.Size = .(, , , )
sizeText.Position = .(, , , )
sizeText.BackgroundTransparency =
sizeText.Text =
sizeText.Font = .Font.Gotham
sizeText.TextColor3 = .(, , )
sizeText.TextSize =
sizeText.TextXAlignment = .TextXAlignment.Left
sizeText.Parent = settingsFrame
minusBtn = .()
minusBtn.Size = .(, , , )
minusBtn.Position = .(, -, , )
minusBtn.BackgroundColor3 = .(, , )
minusBtn.Text =
minusBtn.Font = .Font.GothamBold
minusBtn.TextColor3 = .(, , )
minusBtn.TextSize =
minusBtn.Parent = settingsFrame
.(, minusBtn).CornerRadius = .(, )
scaleValueBtn = .()
scaleValueBtn.Size = .(, , , )
scaleValueBtn.Position = .(, -, , )
scaleValueBtn.BackgroundColor3 = .(, , )
scaleValueBtn.Text =
scaleValueBtn.Font = .Font.GothamBold
scaleValueBtn.TextColor3 = COLOR_RUNNING
scaleValueBtn.TextSize =
scaleValueBtn.Parent = settingsFrame
.(, scaleValueBtn).CornerRadius = .(, )
plusBtn = .()
plusBtn.Size = .(, , , )
plusBtn.Position = .(, -, , )
plusBtn.BackgroundColor3 = .(, , )
plusBtn.Text =
plusBtn.Font = .Font.GothamBold
plusBtn.TextColor3 = .(, , )
plusBtn.TextSize =
plusBtn.Parent = settingsFrame
.(, plusBtn).CornerRadius = .(, )
(newScale)
currentScale = .(newScale, , )
timerScale.Scale = currentScale
scaleValueBtn.Text = .(currentScale * ) ..
minusBtn.MouseButton1Click:(() (currentScale - ) )
plusBtn.MouseButton1Click:(() (currentScale + ) )
scaleValueBtn.MouseButton1Click:(() () )
isResizing =
resizeStartPos =
startScale =
resizeHandle.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isResizing =
resizeStartPos = input.Position
startScale = currentScale
)
(frame)
dragging =
dragStart =
startPos =
frame.InputBegan:((input)
(input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch) isResizing
dragging =
dragStart = input.Position
startPos = frame.Position
)
UserInputService.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
isResizing
dragging =
delta = input.Position - dragStart
frame.Position = .(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
(timerFrame)
(settingsFrame)
UserInputService.InputChanged:((input)
isResizing (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - resizeStartPos
scaleChange = delta.X / BASE_WIDTH
(startScale + scaleChange)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
isResizing =
)
(seconds)
mins = .(seconds / )
secs = .(seconds % )
ms = .((seconds * ) % )
.(, mins, secs, ms)
RunService.RenderStepped:((deltaTime)
isRunning
elapsedTime += deltaTime
timerLabel.Text = (elapsedTime)
)
closeBtn.MouseButton1Click:(()
settingsFrame.Visible =
waitingForBind =
)
openSettingsBtn.MouseButton1Click:(()
settingsFrame.Visible = settingsFrame.Visible
waitingForBind =
)
toggleBindBtn.MouseButton1Click:(()
waitingForBind =
toggleBindBtn.Text =
resetBindBtn.Text = resetKey.Name
)
resetBindBtn.MouseButton1Click:(()
waitingForBind =
resetBindBtn.Text =
toggleBindBtn.Text = toggleKey.Name
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.UserInputType == .UserInputType.Keyboard
waitingForBind ==
toggleKey = input.KeyCode
toggleBindBtn.Text = toggleKey.Name
waitingForBind =
waitingForBind ==
resetKey = input.KeyCode
resetBindBtn.Text = resetKey.Name
waitingForBind =
input.KeyCode == toggleKey
isRunning = isRunning
input.KeyCode == resetKey
isRunning =
elapsedTime =
timerLabel.Text = ()
)aislop warning by gemini hydrogen 4

Universal