Text
Text
local authorizedUsers = {
["hxuntedyua"] = true,
["foundpeaceinmusic"] = true,
["971lk"] = true,
["jamarrocknm"] = true,
["nv15yo"] = true,
["haz_nt7"] = true,
["dahoodianprololss"] = true,
["claxifu"] = true,
["fortnitepro123yu"] = true,
["geuchsibsjcjjc"] = true,
["realestthug0"] = true,
["uhhhhhhhssjsoiehrfosf"] = true,
["itzmejeyden"] = true,
["xxic3pow3rblad3xx"] = true,
["greatyosif"] = true,
["xavi123123123"] = true,
["kaiontopong"] = true,
["divinexelias"] = true,
["vamp_x10"] = true,
["mm2_ho12"] = true,
["silly_haya00"] = true,
["imy_yourworst"] = true,
["scarsxgrave"] = true,
["azuer11112"] = true,
["60kftstez"] = true,
["rizz_king116"] = true,
["qw24rtyuis"] = true,
["xavi123123123"] = true,
["leo918288"] = true,
["yksvinebh"] = true,
["laisam1197"] = true,
["dahoodianproLOLSS"] = true,
["lilr0nni3"] = true,
["hangehavxn"] = true,
["fatamrao"] = true,
["babyjdubanddee"] = true,
["vammmpeeedddkizzz"] = true,
["007jsn"] = true,
["007jsnn"] = true,
["yakikrunsu"] = true,
["user41"] = true,
["user42"] = true,
["user43"] = true,
["user44"] = true,
["user45"] = true,
["user46"] = true,
["user47"] = true,
["user48"] = true,
["user49"] = true,
["user50"] = true,
["user51"] = true,
["user52"] = true,
["user53"] = true,
["user54"] = true,
["user55"] = true,
["user56"] = true,
["user57"] = true,
["user58"] = true,
["user59"] = true,
["user60"] = true,
["user61"] = true,
["user62"] = true,
["user63"] = true,
["user64"] = true,
["user65"] = true,
["user66"] = true,
["user67"] = true,
["user68"] = true,
["user69"] = true,
["user70"] = true,
["user71"] = true,
["user72"] = true,
["user73"] = true,
["user74"] = true,
["user75"] = true,
["user76"] = true,
["user77"] = true,
["user78"] = true,
["user79"] = true,
["user80"] = true,
["user81"] = true,
["user82"] = true,
["user83"] = true,
["user84"] = true,
["user85"] = true,
["user86"] = true,
["user87"] = true,
["user88"] = true,
["user89"] = true,
["user90"] = true,
["user91"] = true,
["user92"] = true,
["user93"] = true,
["user94"] = true,
["user95"] = true,
["user96"] = true,
["user97"] = true,
["user98"] = true,
["user99"] = true,
["user100"] = true
}
local TriggerbotConfig = {
Enabled = false,
Delay = 0.03,
Prediction = 0,
Keybind = "T",
HitboxEnabled = false,
HitboxSize = 15,
HitboxTransparency = 0.9
}
local toggleBtn
local success, err = pcall(function()
toggleBtn = Instance.new("ImageButton", gui)
toggleBtn.Size = UDim2.new(0, 200, 0, 200)
toggleBtn.Position = UDim2.new(0.05, 0, 0.4, 0)
toggleBtn.BackgroundTransparency = 1
toggleBtn.Image = "rbxthumb://type=Asset&id=111603509355959&w=420&h=420"
toggleBtn.ClipsDescendants = true
game:GetService("ContentProvider"):PreloadAsync({toggleBtn.Image})
print("Preloaded XShot logo")
addCorner(toggleBtn, 12)
makeDraggable(toggleBtn)
local hitboxFrame = Instance.new("Frame", toggleBtn)
hitboxFrame.Size = UDim2.new(0.8, 0, 0.8, 0)
hitboxFrame.Position = UDim2.new(0.1, 0, 0.1, 0)
hitboxFrame.BackgroundTransparency = 1
hitboxFrame.ClipsDescendants = true
print("ImageButton with XShot logo created")
end)
if not success then
warn("Failed to create ImageButton: " .. tostring(err))
return
end
enableToggle.MouseEnter:Connect(function()
pcall(function()
enableToggle.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
end)
end)
enableToggle.MouseLeave:Connect(function()
pcall(function()
enableToggle.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
end)
end)
delayBox.MouseEnter:Connect(function()
pcall(function()
delayBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end)
end)
delayBox.MouseLeave:Connect(function()
pcall(function()
delayBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
end)
end)
predBox.MouseEnter:Connect(function()
pcall(function()
predBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end)
end)
predBox.MouseLeave:Connect(function()
pcall(function()
predBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
end)
end)
keybindBox.MouseEnter:Connect(function()
pcall(function()
keybindBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end)
end)
keybindBox.MouseLeave:Connect(function()
pcall(function()
keybindBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
end)
end)
hitboxToggle.MouseEnter:Connect(function()
pcall(function()
hitboxToggle.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
end)
end)
hitboxToggle.MouseLeave:Connect(function()
pcall(function()
hitboxToggle.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
end)
end)
hitboxSizeBox.MouseEnter:Connect(function()
pcall(function()
hitboxSizeBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end)
end)
hitboxSizeBox.MouseLeave:Connect(function()
pcall(function()
hitboxSizeBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
end)
end)
hitboxTransBox.MouseEnter:Connect(function()
pcall(function()
hitboxTransBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end)
end)
hitboxTransBox.MouseLeave:Connect(function()
pcall(function()
hitboxTransBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
end)
end)
toggleBtn.MouseButton1Click:Connect(function()
local success, err = pcall(function()
settingsFrame.Visible = not settingsFrame.Visible
end)
if not success then
warn("Failed to toggle menu: " .. tostring(err))
end
end)
enableToggle.MouseButton1Click:Connect(toggleTriggerbot)
keybindBox.FocusLost:Connect(function(enter)
if enter then
local success, err = pcall(function()
local key = keybindBox.Text:upper()
if #key == 1 and key:match("%a") then
TriggerbotConfig.Keybind = key
keybindBox.Text = key
saveConfig({
Delay = TriggerbotConfig.Delay,
Prediction = TriggerbotConfig.Prediction,
Enabled = TriggerbotConfig.Enabled,
Keybind = TriggerbotConfig.Keybind,
HitboxEnabled = TriggerbotConfig.HitboxEnabled,
HitboxSize = TriggerbotConfig.HitboxSize,
HitboxTransparency = TriggerbotConfig.HitboxTransparency
})
else
keybindBox.Text = TriggerbotConfig.Keybind
end
end)
if not success then
warn("Failed to update keybind: " .. tostring(err))
keybindBox.Text = TriggerbotConfig.Keybind
end
end
end)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
local success, err = pcall(function()
if input.UserInputType == Enum.UserInputType.Keyboard then
local key = input.KeyCode.Name:upper()
if key == TriggerbotConfig.Keybind then
toggleTriggerbot()
end
end
end)
if not success then
warn("Failed to process keybind: " .. tostring(err))
end
end)
delayBox.FocusLost:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber(delayBox.Text)
if v and v >= 0 then
TriggerbotConfig.Delay = v
delayBox.Text = tostring(v)
trySave()
else
delayBox.Text = ""
delayBox.PlaceholderText = "Enter Delay"
end
end)
if not success then
warn("Failed to update delay: " .. tostring(err))
delayBox.Text = ""
delayBox.PlaceholderText = "Enter Delay"
end
end
end)
predBox.FocusLost:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber(predBox.Text)
if v and v >= 0 then
TriggerbotConfig.Prediction = v
predBox.Text = tostring(v)
trySave()
else
predBox.Text = ""
predBox.PlaceholderText = "Enter Prediction"
end
end)
if not success then
warn("Failed to update prediction: " .. tostring(err))
predBox.Text = ""
predBox.PlaceholderText = "Enter Prediction"
end
end
end)
hitboxToggle.MouseButton1Click:Connect(function()
local success, err = pcall(function()
TriggerbotConfig.HitboxEnabled = not TriggerbotConfig.HitboxEnabled
hitboxToggle.Text = TriggerbotConfig.HitboxEnabled and "Hitbox: ON" or
"Hitbox: OFF"
trySave()
end)
if not success then
warn("Failed to toggle hitbox: " .. tostring(err))
end
end)
hitboxSizeBox.FocusLost:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber(hitboxSizeBox.Text)
if v and v >= 0 then
TriggerbotConfig.HitboxSize = v
hitboxSizeBox.Text = tostring(v)
trySave()
else
hitboxSizeBox.Text = ""
hitboxSizeBox.PlaceholderText = "Enter Delay"
end
end)
if not success then
warn("Failed to update hitbox size: " .. tostring(err))
hitboxSizeBox.Text = ""
hitboxSizeBox.PlaceholderText = "Enter Delay"
end
end
end)
hitboxTransBox.FocusLost:Connect(function(enter)
if enter then
local success, err = pcall(function()
local v = tonumber(hitboxTransBox.Text)
if v and v >= 0 and v <= 1 then
TriggerbotConfig.HitboxTransparency = v
hitboxTransBox.Text = tostring(v)
trySave()
else
hitboxTransBox.Text = ""
hitboxTransBox.PlaceholderText = "Enter Prediction"
end
end)
if not success then
warn("Failed to update hitbox transparency: " .. tostring(err))
hitboxTransBox.Text = ""
hitboxTransBox.PlaceholderText = "Enter Prediction"
end
end
end)
local specialGames = {
[93579217841822] = true
}
RunService.RenderStepped:Connect(function()
print("RenderStepped: Triggerbot enabled check:", TriggerbotConfig.Enabled)
if not TriggerbotConfig.Enabled then
print("RenderStepped: Triggerbot disabled")
return
end
if TriggerbotConfig.HitboxEnabled then
for _, v in pairs(Players:GetPlayers()) do
if v ~= player then
pcall(function()
local hrp = v.Character and
v.Character:FindFirstChild("HumanoidRootPart")
if hrp then
hrp.Size = Vector3.new(TriggerbotConfig.HitboxSize,
TriggerbotConfig.HitboxSize, TriggerbotConfig.HitboxSize)
hrp.Transparency = TriggerbotConfig.HitboxTransparency
hrp.BrickColor = BrickColor.new("Really black")
hrp.Material = Enum.Material.Neon
hrp.CanCollide = false
end
end)
end
end
else
for _, v in pairs(Players:GetPlayers()) do
if v ~= player then
pcall(function()
local hrp = v.Character and
v.Character:FindFirstChild("HumanoidRootPart")
if hrp then
hrp.Size = Vector3.new(2, 2, 1)
hrp.Transparency = 1
hrp.BrickColor = BrickColor.new("Medium stone grey")
hrp.Material = Enum.Material.Plastic
hrp.CanCollide = false
end
end)
end
end
end
end)