local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local triggerbotEnabled = false function showTempMessage(text, color) local screenGui = Instance.new("ScreenGui") screenGui.Name = "TempMessageUI" screenGui.ResetOnSpawn = false local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(0, 200, 0, 40) textLabel.Position = UDim2.new(0, 10, 1, -50) textLabel.BackgroundTransparency = 0.5 textLabel.BackgroundColor3 = Color3.new(0, 0, 0) textLabel.Text = text textLabel.TextColor3 = color textLabel.Font = Enum.Font.SourceSansBold textLabel.TextSize = 18 textLabel.TextStrokeTransparency = 0.5 textLabel.Parent = screenGui screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") wait(3) screenGui:Destroy() end showTempMessage("Triggerbot activated", Color3.new(0, 1, 0)) -- you can change the key here UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.G then triggerbotEnabled = not triggerbotEnabled end end) RunService.RenderStepped:Connect(function() if triggerbotEnabled and Mouse.Target then local target = Mouse.Target.Parent if target and target:FindFirstChild("Humanoid") then mouse1click() end end end)