
Keyless

local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Mouse = Player:GetMouse()
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "GuessTheSlapTroll"
ScreenGui.Parent = Player.PlayerGui
ScreenGui.ResetOnSpawn = false
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
MainFrame.BackgroundTransparency = 0.1
MainFrame.BorderSizePixel = 0
MainFrame.ClipsDescendants = true
MainFrame.Size = UDim2.new(0, 200, 0, 120)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -60)
MainFrame.Active = true
MainFrame.Draggable = true
local Title = Instance.new("TextLabel")
Title.Name = "Title"
Title.Parent = MainFrame
Title.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Title.BackgroundTransparency = 0.1
Title.BorderSizePixel = 0
Title.Size = UDim2.new(1, 0, 0, 30)
Title.Position = UDim2.new(0, 0, 0, 0)
Title.Text = "GuessTheSlapTroll"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextScaled = true
Title.Font = Enum.Font.GothamBold
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Parent = MainFrame
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
ToggleButton.BackgroundTransparency = 0.1
ToggleButton.BorderSizePixel = 0
ToggleButton.Size = UDim2.new(0, 160, 0, 40)
ToggleButton.Position = UDim2.new(0.5, -80, 0, 50)
ToggleButton.Text = "ACTIVATE"
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.TextScaled = true
ToggleButton.Font = Enum.Font.GothamBold
local StatusLabel = Instance.new("TextLabel")
StatusLabel.Name = "StatusLabel"
StatusLabel.Parent = MainFrame
StatusLabel.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
StatusLabel.BackgroundTransparency = 0.1
StatusLabel.BorderSizePixel = 0
StatusLabel.Size = UDim2.new(1, 0, 0, 25)
StatusLabel.Position = UDim2.new(0, 0, 0, 95)
StatusLabel.Text = "Status: INACTIVE"
StatusLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
StatusLabel.TextScaled = true
StatusLabel.Font = Enum.Font.Gotham
local isActive = false
local slapLoop
local function toggleScript()
if isActive then
isActive = false
ToggleButton.Text = "ACTIVATE"
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
StatusLabel.Text = "Status: INACTIVE"
if slapLoop then
game:GetService("RunService"):UnbindFromRenderStep("SlapLoop")
slapLoop = nil
end
else
isActive = true
ToggleButton.Text = "DEACTIVATE"
ToggleButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
StatusLabel.Text = "Status: ACTIVE"
local EventSlapQueue = game:GetService("ReplicatedStorage").events.SlapQueue
EventSlapQueue:FireServer()
slapLoop = game:GetService("RunService").RenderStepped:Connect(function()
local EventSendSlap = game:GetService("ReplicatedStorage").events.SendSlap
EventSendSlap:FireServer(10000)
end)
end
end
ToggleButton.MouseButton1Click:Connect(toggleScript)No comments yet for this script.