ADVERTISEMENTREMOVE ADS
Auto Spamming touchs Part
46,792 views
Script Preview
Description
New Script!
1. Auto Spamming Touchs All Part
Tested with
ADVERTISEMENTREMOVE ADS
44 Lines • 1.38 KiB
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
-- Create GUI button
local screenGui = Instance.new("ScreenGui", game.CoreGui)
screenGui.Name = "AutoTouchGui"
local button = Instance.new("TextButton", screenGui)
button.Text = "Start Spam Touch"
button.Size = UDim2.new(0, 150, 0, 50)
button.Position = UDim2.new(0.5, -75, 0.9, -25)
button.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.SourceSansBold
button.TextSize = 20
button.AutoButtonColor = true
-- Variable to control spam
local spamTouching = false
-- Function to simulate touch
local function simulateTouch(part)
firetouchinterest(hrp, part, 0)
firetouchinterest(hrp, part, 1)
end
-- Button click event
button.MouseButton1Click:Connect(function()
spamTouching = not spamTouching
button.Text = spamTouching and "Stop Spam Touch" or "Start Spam Touch"
-- Spam loop
while spamTouching do
for _, part in ipairs(game.Workspace:GetDescendants()) do
if part:IsA("BasePart") and part.Name == "사라지는 파트" then
simulateTouch(part)
print("Touched part:", part:GetFullName())
end
end
wait(2)
end
end)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS



Comments
how can i edit the script if i wanna touch a specific part?