tarekscripter anti slap(full update! & all slap towers)
Key RequiredUniversal

tarekscripter anti slap(full update! & all slap towers)

Universal ScriptTarekscripterTarekscripter 1.2K views 7.2K executesUpdated Sep 11, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•179 lines (5490 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local character, humanoid, root

local function updateVars(newChar)
    character = newChar
    humanoid = character:FindFirstChildOfClass("Humanoid")
    root = character:FindFirstChild("HumanoidRootPart")
end

if LocalPlayer.Character then updateVars(LocalPlayer.Character) end

local main = Instance.new("ScreenGui")
main.Name = "TarekScripter_AntiSlap_Updated_" .. math.random(100, 999)
main.ResetOnSpawn = false
main.Parent = LocalPlayer:WaitForChild("PlayerGui")

local Frame = Instance.new("Frame", main)
Frame.BackgroundColor3 = Color3.fromRGB(18, 18, 24)
Frame.Position = UDim2.new(0.1, 0, 0.38, 0)
Frame.Size = UDim2.new(0, 240, 0, 75)
Frame.Active = true
Frame.Draggable = true
Frame.BorderSizePixel = 0

local FrameCorner = Instance.new("UICorner", Frame)
FrameCorner.CornerRadius = UDim.new(0, 10)

local FrameStroke = Instance.new("UIStroke", Frame)
FrameStroke.Color = Color3.fromRGB(140, 40, 255)
FrameStroke.Thickness = 1.5

local TitleLabel = Instance.new("TextLabel", Frame)
TitleLabel.BackgroundTransparency = 1
TitleLabel.Position = UDim2.new(0, 12, 0, 6)
TitleLabel.Size = UDim2.new(0, 180, 0, 22)
TitleLabel.Text = "tarekscripter anti slap(updated)"
TitleLabel.TextColor3 = Color3.fromRGB(220, 220, 255)
TitleLabel.Font = Enum.Font.GothamBold
TitleLabel.TextSize = 11
TitleLabel.TextXAlignment = Enum.TextXAlignment.Left

local closebutton = Instance.new("TextButton", Frame)
closebutton.Name = "Close"
closebutton.Text = "X"
closebutton.Position = UDim2.new(1, -26, 0, 6)
closebutton.Size = UDim2.new(0, 20, 0, 20)
closebutton.BackgroundColor3 = Color3.fromRGB(255, 60, 80)
closebutton.TextColor3 = Color3.fromRGB(255, 255, 255)
closebutton.Font = Enum.Font.GothamBold
closebutton.TextSize = 14
closebutton.BorderSizePixel = 0

local CloseCorner = Instance.new("UICorner", closebutton)
CloseCorner.CornerRadius = UDim.new(0, 6)

local mini = Instance.new("TextButton", Frame)
mini.Name = "mini"
mini.Text = "-"
mini.Position = UDim2.new(1, -50, 0, 6)
mini.Size = UDim2.new(0, 20, 0, 20)
mini.BackgroundColor3 = Color3.fromRGB(45, 45, 60)
mini.TextColor3 = Color3.fromRGB(255, 255, 255)
mini.Font = Enum.Font.GothamBold
mini.TextSize = 14
mini.BorderSizePixel = 0

local MiniCorner = Instance.new("UICorner", mini)
MiniCorner.CornerRadius = UDim.new(0, 6)

local antiSlapBtn = Instance.new("TextButton", Frame)
antiSlapBtn.Name = "antiSlapBtn"
antiSlapBtn.Text = "OFF"
antiSlapBtn.Position = UDim2.new(0, 10, 0, 36)
antiSlapBtn.Size = UDim2.new(1, -20, 0, 28)
antiSlapBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
antiSlapBtn.TextColor3 = Color3.fromRGB(255, 80, 80)
antiSlapBtn.Font = Enum.Font.GothamBold
antiSlapBtn.TextSize = 13
antiSlapBtn.BorderSizePixel = 0

local BtnCorner = Instance.new("UICorner", antiSlapBtn)
BtnCorner.CornerRadius = UDim.new(0, 8)

local BtnStroke = Instance.new("UIStroke", antiSlapBtn)
BtnStroke.Color = Color3.fromRGB(255, 80, 80)
BtnStroke.Thickness = 1

local antiSlapEnabled = false

local function protect(v, char)
    if not antiSlapEnabled then return end
    local removed = false

    if v:IsA("BodyAngularVelocity") then
        removed = true
        v:Destroy()

    elseif v:IsA("BodyGyro")
        and v.MaxTorque ~= Vector3.new(8999999488, 8999999488, 8999999488)
        and v.D ~= 500
        and v.D ~= 50
        and v.P ~= 90000 then

        removed = true
        v:Destroy()

    elseif v:IsA("BodyVelocity")
        and v.MaxForce ~= Vector3.new(8999999488, 8999999488, 8999999488)
        and v.Velocity ~= Vector3.new(0, 0, 0) then

        removed = true
        v:Destroy()

    elseif v:IsA("BasePart") then
        v.ChildAdded:Connect(function(c)
            protect(c, char)
        end)
    end

    if removed and char then
        local hum = char:FindFirstChildOfClass("Humanoid")
        if hum then
            hum.Sit = false
            hum.PlatformStand = false
        end
    end
end

local function setupCharacter(char)
    updateVars(char)
    for _, v in pairs(char:GetDescendants()) do
        protect(v, char)
    end
    char.DescendantAdded:Connect(function(v)
        protect(v, char)
    end)
end

if LocalPlayer.Character then
    setupCharacter(LocalPlayer.Character)
end
LocalPlayer.CharacterAdded:Connect(setupCharacter)

antiSlapBtn.MouseButton1Click:Connect(function()
    antiSlapEnabled = not antiSlapEnabled
    if antiSlapEnabled then
        antiSlapBtn.Text = "ON"
        antiSlapBtn.TextColor3 = Color3.fromRGB(80, 255, 140)
        BtnStroke.Color = Color3.fromRGB(80, 255, 140)
        antiSlapBtn.BackgroundColor3 = Color3.fromRGB(20, 45, 30)

        if LocalPlayer.Character then
            for _, v in pairs(LocalPlayer.Character:GetDescendants()) do
                protect(v, LocalPlayer.Character)
            end
        end
    else
        antiSlapBtn.Text = "OFF"
        antiSlapBtn.TextColor3 = Color3.fromRGB(255, 80, 80)
        BtnStroke.Color = Color3.fromRGB(255, 80, 80)
        antiSlapBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
    end
end)

closebutton.MouseButton1Click:Connect(function() 
    main:Destroy() 
end)

local isMini = false
mini.MouseButton1Click:Connect(function()
    isMini = not isMini
    antiSlapBtn.Visible = not isMini
    TitleLabel.Visible = not isMini
    Frame.Size = isMini and UDim2.new(0, 90, 0, 32) or UDim2.new(0, 240, 0, 75)
    mini.Text = isMini and "+" or "-"
end)

Features & Information

anti slap script for all slap/troll towers its full apdate now its 100 times better! made by tarekscripter youtube: tarekscripter

Community Comments (3)

okayudaisukiokayudaisukiSep 12, 2026

Use my anti-slap, I'll give it to you.

TarekscripterTarekscripterSep 16, 2026

@okayudaisuki thanks! but actually i will ubdate it now to be better!

Replying to @Tarekscripter
okayudaisukiokayudaisukiSep 17, 2026

@Tarekscripter good luck

More Scripts for Universal Scripts