--[=[ d888b db db d888888b .d888b. db db db .d8b. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b 88 88 88 88 odD' 88 88 88 88ooo88 88 ooo 88 88 88 .88' 88 88 88 88~~~88 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER ]=] -- Instances: 15 | Scripts: 8 | Modules: 0 | Tags: 0 local G2L = {}; -- StarterGui.Chomik Anti_Afk G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui")); G2L["1"]["Name"] = [[Chomik Anti_Afk]]; G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling; G2L["1"]["ResetOnSpawn"] = false; -- StarterGui.Chomik Anti_Afk.Sleep G2L["2"] = Instance.new("Frame", G2L["1"]); G2L["2"]["BorderSizePixel"] = 0; G2L["2"]["BackgroundColor3"] = Color3.fromRGB(46, 46, 46); G2L["2"]["Size"] = UDim2.new(0, 271, 0, 228); G2L["2"]["Position"] = UDim2.new(0.89451, 0, 0.80225, 0); G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["2"]["Name"] = [[Sleep]]; G2L["2"]["BackgroundTransparency"] = 1; -- StarterGui.Chomik Anti_Afk.Sleep.sleepy1 G2L["3"] = Instance.new("ImageLabel", G2L["2"]); G2L["3"]["ZIndex"] = 3; G2L["3"]["BorderSizePixel"] = 0; G2L["3"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["3"]["Image"] = [[rbxassetid://14640390969]]; G2L["3"]["Size"] = UDim2.new(0, 364, 0, 323); G2L["3"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["3"]["BackgroundTransparency"] = 1; G2L["3"]["Name"] = [[sleepy1]]; G2L["3"]["Position"] = UDim2.new(-0.47417, 0, -0.53427, 0); -- StarterGui.Chomik Anti_Afk.Sleep.sleepy2 G2L["4"] = Instance.new("ImageLabel", G2L["2"]); G2L["4"]["ZIndex"] = 3; G2L["4"]["BorderSizePixel"] = 0; G2L["4"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["4"]["Image"] = [[rbxassetid://14640404624]]; G2L["4"]["Size"] = UDim2.new(0, 364, 0, 323); G2L["4"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["4"]["BackgroundTransparency"] = 1; G2L["4"]["Name"] = [[sleepy2]]; G2L["4"]["Position"] = UDim2.new(-0.47417, 0, -0.53427, 0); -- StarterGui.Chomik Anti_Afk.Sleep.sleepy3 G2L["5"] = Instance.new("ImageLabel", G2L["2"]); G2L["5"]["ZIndex"] = 3; G2L["5"]["BorderSizePixel"] = 0; G2L["5"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["5"]["Image"] = [[rbxassetid://14640428665]]; G2L["5"]["Size"] = UDim2.new(0, 364, 0, 323); G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["5"]["BackgroundTransparency"] = 1; G2L["5"]["Name"] = [[sleepy3]]; G2L["5"]["Position"] = UDim2.new(-0.47417, 0, -0.53427, 0); -- StarterGui.Chomik Anti_Afk.Sleep.LocalScript G2L["6"] = Instance.new("LocalScript", G2L["2"]); -- StarterGui.Chomik Anti_Afk.Sleep.TextLabel2 G2L["7"] = Instance.new("TextLabel", G2L["2"]); G2L["7"]["TextStrokeTransparency"] = 0; G2L["7"]["ZIndex"] = 5; G2L["7"]["BorderSizePixel"] = 0; G2L["7"]["TextSize"] = 22; G2L["7"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["7"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal); G2L["7"]["TextColor3"] = Color3.fromRGB(255, 255, 255); G2L["7"]["BackgroundTransparency"] = 1; G2L["7"]["RichText"] = true; G2L["7"]["Size"] = UDim2.new(0, 200, 0, 50); G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["7"]["Name"] = [[TextLabel2]]; G2L["7"]["Position"] = UDim2.new(-0.06642, 0, 0.13158, 0); -- StarterGui.Chomik Anti_Afk.Sleep.TextLabel2.LocalScript G2L["8"] = Instance.new("LocalScript", G2L["7"]); -- StarterGui.Chomik Anti_Afk.Sleep.LocalScript G2L["9"] = Instance.new("LocalScript", G2L["2"]); -- StarterGui.Chomik Anti_Afk.Sleep.UIDrag G2L["a"] = Instance.new("LocalScript", G2L["2"]); -- [ERROR] cannot convert Capabilities, please report to "https://github.com/uniquadev/GuiToLuaConverter/issues" G2L["a"]["Sandboxed"] = true; G2L["a"]["Name"] = [[UIDrag]]; -- StarterGui.Chomik Anti_Afk.Sleep.TextLabel1 G2L["b"] = Instance.new("TextLabel", G2L["2"]); G2L["b"]["TextStrokeTransparency"] = 0; G2L["b"]["ZIndex"] = 5; G2L["b"]["BorderSizePixel"] = 0; G2L["b"]["TextSize"] = 22; G2L["b"]["TextTransparency"] = 1; G2L["b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["b"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal); G2L["b"]["TextColor3"] = Color3.fromRGB(255, 255, 255); G2L["b"]["BackgroundTransparency"] = 1; G2L["b"]["RichText"] = true; G2L["b"]["Size"] = UDim2.new(0, 200, 0, 50); G2L["b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["b"]["Text"] = [[ ]]; G2L["b"]["Name"] = [[TextLabel1]]; G2L["b"]["Position"] = UDim2.new(-0.06642, 0, 0.70175, 0); -- StarterGui.Chomik Anti_Afk.LocalScript G2L["c"] = Instance.new("LocalScript", G2L["1"]); -- StarterGui.Chomik Anti_Afk.LocalScript G2L["d"] = Instance.new("LocalScript", G2L["1"]); -- StarterGui.Chomik Anti_Afk.LocalScript G2L["e"] = Instance.new("LocalScript", G2L["1"]); -- StarterGui.Chomik Anti_Afk.LocalScript G2L["f"] = Instance.new("LocalScript", G2L["1"]); -- StarterGui.Chomik Anti_Afk.Sleep.LocalScript local function C_6() local script = G2L["6"]; local sleepy1 = script.Parent.sleepy1 local sleepy2 = script.Parent.sleepy2 local sleepy3 = script.Parent.sleepy3 sleepy1.ImageTransparency = 0 sleepy2.ImageTransparency = 1 sleepy3.ImageTransparency = 1 while true do wait(2) sleepy1.ImageTransparency = 0 sleepy2.ImageTransparency = 1 sleepy3.ImageTransparency = 1 wait(0.1) sleepy1.ImageTransparency = 1 sleepy2.ImageTransparency = 0 sleepy3.ImageTransparency = 1 wait(0.1) sleepy1.ImageTransparency = 1 sleepy2.ImageTransparency = 1 sleepy3.ImageTransparency = 0 wait(0.1) sleepy1.ImageTransparency = 1 sleepy2.ImageTransparency = 0 sleepy3.ImageTransparency = 1 end end; task.spawn(C_6); -- StarterGui.Chomik Anti_Afk.Sleep.TextLabel2.LocalScript local function C_8() local script = G2L["8"]; local textLabel = script.Parent wait(3.2) local seconds = 0 local minutes = 0 local hours = 0 while true do task.wait(1) seconds += 1 if seconds >= 60 then seconds = 0 minutes += 1 end if minutes >= 60 then minutes = 0 hours += 1 end textLabel.Text = string.format("%02d:%02d:%02d", hours, minutes, seconds) end end; task.spawn(C_8); -- StarterGui.Chomik Anti_Afk.Sleep.LocalScript local function C_9() local script = G2L["9"]; local TweenService = game:GetService("TweenService") local frame = script.Parent local text1 = frame:WaitForChild("TextLabel1") local text2 = frame:WaitForChild("TextLabel2") local targetScript = frame:WaitForChild("UIDrag") targetScript.Enabled = true text1.TextTransparency = 1 text2.TextTransparency = 1 frame.Position = UDim2.new(-0.5, 0, 0.261, 0) local moveTween = TweenInfo.new( 2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out ) local tween1 = TweenService:Create( frame, moveTween, { Position = UDim2.new(0.447, 0, 0.401, 0) } ) tween1:Play() tween1.Completed:Wait() task.wait(1) local tween2 = TweenService:Create( frame, moveTween, { Position = UDim2.new(0.895, 0, 0.802, 0) } ) tween2:Play() tween2.Completed:Wait() local textTweenInfo = TweenInfo.new( 1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out ) local textTween1 = TweenService:Create( text1, textTweenInfo, { TextTransparency = 0 } ) local textTween2 = TweenService:Create( text2, textTweenInfo, { TextTransparency = 0 } ) textTween1:Play() textTween2:Play() textTween1.Completed:Wait() targetScript.Enabled = true end; task.spawn(C_9); -- StarterGui.Chomik Anti_Afk.Sleep.UIDrag local function C_a() local script = G2L["a"]; -- Made by Real_IceyDev (@lceyDex) -- -- Simple UI dragger (PC Only/Any device that has a mouse) -- local UIS = game:GetService('UserInputService') local frame = script.Parent local dragToggle = nil local dragSpeed = 0.25 local dragStart = nil local startPos = nil local function updateInput(input) local delta = input.Position - dragStart local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play() end frame.InputBegan:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then dragToggle = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then if dragToggle then updateInput(input) end end end) end; task.spawn(C_a); -- StarterGui.Chomik Anti_Afk.LocalScript local function C_c() local script = G2L["c"]; local AntiAfkActive = true local vu = game:GetService("VirtualUser") game.Players.LocalPlayer.Idled:Connect(function() if AntiAfkActive then vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) task.wait(1) vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame) end end) end; task.spawn(C_c); -- StarterGui.Chomik Anti_Afk.LocalScript local function C_d() local script = G2L["d"]; local Players = game:GetService("Players") local VirtualUser = game:GetService("VirtualUser") local LocalPlayer = Players.LocalPlayer LocalPlayer.Idled:Connect(function() VirtualUser:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame) task.wait(0.1) VirtualUser:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame) end) end; task.spawn(C_d); -- StarterGui.Chomik Anti_Afk.LocalScript local function C_e() local script = G2L["e"]; local Players = game:GetService("Players") local VirtualUser = game:GetService("VirtualUser") local LocalPlayer = Players.LocalPlayer LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) task.spawn(function() while true do task.wait(60) VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end end) end; task.spawn(C_e); -- StarterGui.Chomik Anti_Afk.LocalScript local function C_f() local script = G2L["f"]; local Players = game:GetService("Players") local VirtualUser = game:GetService("VirtualUser") local player = Players.LocalPlayer player.Idled:Connect(function() VirtualUser:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) task.wait(1) VirtualUser:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame) end) task.spawn(function() while true do task.wait(60) VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end end) end; task.spawn(C_f); return G2L["1"], require;