ADVERTISEMENTREMOVE ADS
Game icon

OP Script Sl*ap all Loop Sl*ap all Get All Items

Slap Tower 7
4 months ago
Script preview thumbnail
Script Preview

Description

loop slap all

slap all

get all items

op

slap tower 7

Features:

  • get all items
  • slap all
  • loop slap all
ADVERTISEMENTREMOVE ADS
79 Lines • 2.48 KiB
Raw
local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
local Window = WindUI:CreateWindow({
Title = "Slap Tower 7 Script",
Icon = "door-open",
Author = "made by zylxex on discord",
Folder = "Script10127029714",
Size = UDim2.fromOffset(580, 460),
Transparent = true,
Theme = "Dark",
Resizable = true,
SideBarWidth = 200,
Background = "",
BackgroundImageTransparency = 0.42,
HideSearchBar = true,
ScrollBarEnabled = false,
User = {
Enabled = true,
Anonymous = true
},
})
local Tab = Window:Tab({
Title = "Main",
Icon = "bird",
Locked = false,
})
local LoopSlapAll = false
local heartbeatConnection = nil
local function slapAllPlayers()
for i, v in ipairs(game.Players:GetPlayers()) do
if v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
game:GetService("Players").LocalPlayer.Backpack["Slap Tool"].Event:FireServer("slash", v.Character, v.Character.HumanoidRootPart.Position)
end
end
end
local Toggle = Tab:Toggle({
Title = "Loop Slap All",
Desc = "idk what to put here ngl",
Icon = "bird",
Type = "Checkbox",
Default = false,
Callback = function(state)
LoopSlapAll = state
if LoopSlapAll and not heartbeatConnection then
heartbeatConnection = game:GetService("RunService").Heartbeat:Connect(function()
slapAllPlayers()
task.wait()
end)
elseif not LoopSlapAll and heartbeatConnection then
heartbeatConnection:Disconnect()
heartbeatConnection = nil
end
end
})
local Button = Tab:Button({
Title = "Get All Items",
Desc = "idk what to put here ngl",
Locked = false,
Callback = function()
for i, v in ipairs(game:GetDescendants()) do
if string.lower(tostring(v.Name)) == "giver" then
firetouchinterest(v, game.Players.LocalPlayer.Character.HumanoidRootPart, 0)
end
end
end
})
local Button = Tab:Button({
Title = "Slap All",
Desc = "idk what to put here ngl",
Locked = false,
Callback = function()
for i, v in ipairs(game.Players:GetPlayers()) do
game:GetService("Players").LocalPlayer.Backpack["Slap Tool"].Event:FireServer("slash", v.Character, v.Character.HumanoidRootPart.Position)
end
end
})
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS