[HALLOWEEN] The Strongest Battlegrounds
3.3k Views
15 Executions

auto counter x 1

The Strongest Battlegrounds
Qyebutdwoshi
QyebutdwoshiPublished 10
2 years ago
Please login to perform these actions:

auto counter x 1 is a The Strongest Battlegrounds script for Roblox, uploaded to ScriptBlox on Mar 16, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

1

Updates

  1. Script edited: Create script

View Raw
--counter 1
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local VirtualInputManager = game:GetService("VirtualInputManager")

local localPlayer = Players.LocalPlayer

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "autocounter"
screenGui.ResetOnSpawn = false
screenGui.Parent = localPlayer:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 150, 0, 75)
frame.Position = UDim2.new(0.5, -75, 0.5, -37.5)
frame.BackgroundColor3 = Color3.fromRGB(168, 152, 255)
frame.Parent = screenGui

local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 75, 0, 37.5)
button.Position = UDim2.new(0.5, -37.5, 0.5, -18.75)
button.Text = "OFF"
button.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
button.Parent = frame

local dragging, dragStart, startPos
frame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = frame.Position
    end
end)

frame.InputChanged:Connect(function(input)
    if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
        local delta = input.Position - dragStart
        frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!