Run it
Copy the script and paste it into your executor.
Players = :()
VirtualUser = :()
RunService = :()
LocalPlayer = Players.LocalPlayer
.AFK_GUI (() .AFK_GUI:() )
.AFK_CONN (() .AFK_CONN:() )
.AFK_LOOP (() .AFK_LOOP:() )
.AFK_CHAT (() .AFK_CHAT:() )
afkEnabled =
afkStartTime =
guiVisible =
ScreenGui = .()
ScreenGui.Name =
ScreenGui.ResetOnSpawn =
ScreenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
ScreenGui.Parent = LocalPlayer:()
.AFK_GUI = ScreenGui
MainFrame = .()
MainFrame.Name =
MainFrame.Size = .(, , , )
MainFrame.Position = .(, -, , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Visible =
MainFrame.Parent = ScreenGui
MainCorner = .()
MainCorner.CornerRadius = .(, )
MainCorner.Parent = MainFrame
MainStroke = .()
MainStroke.Color = .(, , )
MainStroke.Thickness =
MainStroke.Parent = MainFrame
TitleBar = .()
TitleBar.Name =
TitleBar.Size = .(, , , )
TitleBar.BackgroundColor3 = .(, , )
TitleBar.BorderSizePixel =
TitleBar.Parent = MainFrame
TitleCorner = .()
TitleCorner.CornerRadius = .(, )
TitleCorner.Parent = TitleBar
TitleFix = .()
TitleFix.Size = .(, , , )
TitleFix.Position = .(, , , -)
TitleFix.BackgroundColor3 = .(, , )
TitleFix.BorderSizePixel =
TitleFix.Parent = TitleBar
TitleText = .()
TitleText.Name =
TitleText.Size = .(, -, , )
TitleText.Position = .(, , , )
TitleText.BackgroundTransparency =
TitleText.Text =
TitleText.TextColor3 = .(, , )
TitleText.TextSize =
TitleText.Font = .Font.GothamBold
TitleText.TextXAlignment = .TextXAlignment.Left
TitleText.Parent = TitleBar
StatusLabel = .()
StatusLabel.Name =
StatusLabel.Size = .(, -, , )
StatusLabel.Position = .(, , , )
StatusLabel.BackgroundTransparency =
StatusLabel.Text =
StatusLabel.TextColor3 = .(, , )
StatusLabel.TextSize =
StatusLabel.Font = .Font.GothamSemibold
StatusLabel.TextXAlignment = .TextXAlignment.Left
StatusLabel.Parent = MainFrame
StopwatchLabel = .()
StopwatchLabel.Name =
StopwatchLabel.Size = .(, -, , )
StopwatchLabel.Position = .(, , , )
StopwatchLabel.BackgroundTransparency =
StopwatchLabel.Text =
StopwatchLabel.TextColor3 = .(, , )
StopwatchLabel.TextSize =
StopwatchLabel.Font = .Font.Code
StopwatchLabel.TextXAlignment = .TextXAlignment.Left
StopwatchLabel.Parent = MainFrame
ToggleButton = .()
ToggleButton.Name =
ToggleButton.Size = .(, -, , )
ToggleButton.Position = .(, , , )
ToggleButton.BackgroundColor3 = .(, , )
ToggleButton.BorderSizePixel =
ToggleButton.Text =
ToggleButton.TextColor3 = .(, , )
ToggleButton.TextSize =
ToggleButton.Font = .Font.GothamBold
ToggleButton.Parent = MainFrame
ButtonCorner = .()
ButtonCorner.CornerRadius = .(, )
ButtonCorner.Parent = ToggleButton
dragging =
dragStart =
startPos =
TitleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = MainFrame.Position
)
TitleBar.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
RunService.RenderStepped:(()
dragging dragStart
mouse = :():()
delta = .(mouse.X, mouse.Y) - .(dragStart.X, dragStart.Y)
MainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
(seconds)
hrs = .(seconds / )
mins = .((seconds % ) / )
secs = .(seconds % )
.(, hrs, mins, secs)
()
afkEnabled = afkEnabled
afkEnabled
afkStartTime = ()
StatusLabel.Text =
StatusLabel.TextColor3 = .(, , )
ToggleButton.Text =
ToggleButton.BackgroundColor3 = .(, , )
StatusLabel.Text =
StatusLabel.TextColor3 = .(, , )
ToggleButton.Text =
ToggleButton.BackgroundColor3 = .(, , )
StopwatchLabel.Text =
ToggleButton.MouseButton1Click:(toggleAFK)
.AFK_LOOP = RunService.Heartbeat:(()
afkEnabled
elapsed = () - afkStartTime
StopwatchLabel.Text = .. (elapsed)
)
.AFK_CONN = LocalPlayer.Idled:(()
afkEnabled
VirtualUser:()
VirtualUser:(.())
)
(()
ScreenGui ScreenGui.Parent
()
afkEnabled
VirtualUser:()
VirtualUser:(.())
)
.AFK_CHAT = LocalPlayer.Chatted:((message)
.(message) ==
guiVisible = guiVisible
MainFrame.Visible = guiVisible
)
.AFK_DESTROY = ()
.AFK_GUI .AFK_GUI:()
.AFK_CONN .AFK_CONN:()
.AFK_LOOP .AFK_LOOP:()
.AFK_CHAT .AFK_CHAT:()
()
()
This i find is very useful for knockout to grind ranks to use it type "afk" in the chat and then it will show the ui thanks!

Universal