thing i made for slap battle type games and others
Key RequiredUniversal

thing i made for slap battle type games and others

Universal ScriptERR0R4O4ERR0R4O4 960 views 6.9K executesUpdated Jul 7, 2026
Unrated
00
Lua Script•253 lines (8986 chars)
-- SCRIPT WITH MUTLIPLE FEATURES BY ERR0R aka me or whatever if u want me to change this script or add stuff then dm me on discord
local player = game.Players.LocalPlayer
local antiKillPlatform = nil
local antiKillEnabled = false

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "TweakGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

-- RIGHT SIDE
local dashBtn = Instance.new("TextButton")
dashBtn.Size = UDim2.new(0, 140, 0, 50)
dashBtn.Position = UDim2.new(1, -150, 0, 10)
dashBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
dashBtn.Text = "DASH MODE: OFF"
dashBtn.TextColor3 = Color3.new(1,1,1)
dashBtn.TextScaled = true
dashBtn.Parent = screenGui

local infJumpBtn = Instance.new("TextButton")
infJumpBtn.Size = UDim2.new(0, 140, 0, 50)
infJumpBtn.Position = UDim2.new(1, -150, 0, 70)
infJumpBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
infJumpBtn.Text = "INF JUMP: OFF"
infJumpBtn.TextColor3 = Color3.new(1,1,1)
infJumpBtn.TextScaled = true
infJumpBtn.Parent = screenGui

local spinBtn = Instance.new("TextButton")
spinBtn.Size = UDim2.new(0, 140, 0, 50)
spinBtn.Position = UDim2.new(1, -150, 0, 130)
spinBtn.BackgroundColor3 = Color3.fromRGB(255, 140, 0)
spinBtn.Text = "SPIN: OFF"
spinBtn.TextColor3 = Color3.new(1,1,1)
spinBtn.TextScaled = true
spinBtn.Parent = screenGui

local spinSpeedBox = Instance.new("TextBox")
spinSpeedBox.Size = UDim2.new(0, 140, 0, 30)
spinSpeedBox.Position = UDim2.new(1, -150, 0, 190)
spinSpeedBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
spinSpeedBox.Text = "50"
spinSpeedBox.TextColor3 = Color3.new(1,1,1)
spinSpeedBox.TextScaled = true
spinSpeedBox.Parent = screenGui

-- LEFT SIDE
local speedBtn = Instance.new("TextButton")
speedBtn.Size = UDim2.new(0, 140, 0, 50)
speedBtn.Position = UDim2.new(0, 10, 0, 10)
speedBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
speedBtn.Text = "SPEED CHANGER: OFF"
speedBtn.TextColor3 = Color3.new(1,1,1)
speedBtn.TextScaled = true
speedBtn.Parent = screenGui

local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(0, 140, 0, 30)
speedBox.Position = UDim2.new(0, 10, 0, 70)
speedBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
speedBox.Text = "16"
speedBox.TextColor3 = Color3.new(1,1,1)
speedBox.TextScaled = true
speedBox.Parent = screenGui

local antiKillBtn = Instance.new("TextButton")
antiKillBtn.Size = UDim2.new(0, 140, 0, 50)
antiKillBtn.Position = UDim2.new(0, 10, 0, 130)
antiKillBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
antiKillBtn.Text = "ANTI-KILL: OFF"
antiKillBtn.TextColor3 = Color3.new(1,1,1)
antiKillBtn.TextScaled = true
antiKillBtn.Parent = screenGui

local speedEnabled = false
local walkSpeedValue = 16
local spinning = false
local spinSpeed = 50
local dashMode = false
local infJumpEnabled = false
local isDashing = false
local tweakin = false

-- Speed Changer
speedBtn.MouseButton1Click:Connect(function()
    speedEnabled = not speedEnabled
    speedBtn.Text = speedEnabled and "SPEED CHANGER: ON" or "SPEED CHANGER: OFF"
    speedBtn.BackgroundColor3 = speedEnabled and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(0, 100, 255)
end)

speedBox.FocusLost:Connect(function()
    local num = tonumber(speedBox.Text)
    if num then walkSpeedValue = num end
end)

player.CharacterAdded:Connect(function(char)
    wait(0.5)
    local hum = char:FindFirstChild("Humanoid")
    if hum and speedEnabled then hum.WalkSpeed = walkSpeedValue end
end)

game:GetService("RunService").Heartbeat:Connect(function()
    if speedEnabled and player.Character then
        local hum = player.Character:FindFirstChild("Humanoid")
        if hum then hum.WalkSpeed = walkSpeedValue end
    end
end)

-- Anti-Kill
antiKillBtn.MouseButton1Click:Connect(function()
    antiKillEnabled = not antiKillEnabled
    antiKillBtn.Text = antiKillEnabled and "ANTI-KILL: ON" or "ANTI-KILL: OFF"
    antiKillBtn.BackgroundColor3 = antiKillEnabled and Color3.fromRGB(100, 255, 100) or Color3.fromRGB(255, 50, 50)
    
    if antiKillEnabled then
        local character = player.Character
        if character then
            local root = character:FindFirstChild("HumanoidRootPart")
            if root then
                local groundY = root.Position.Y - 3.5
                antiKillPlatform = Instance.new("Part")
                antiKillPlatform.Name = "AntiKillPlatform"
                antiKillPlatform.Size = Vector3.new(10000, 1, 10000)
                antiKillPlatform.Position = Vector3.new(root.Position.X, groundY, root.Position.Z)
                antiKillPlatform.Anchored = true
                antiKillPlatform.Transparency = 0.75
                antiKillPlatform.CanCollide = true
                antiKillPlatform.Parent = workspace
            end
        end
    else
        if antiKillPlatform then
            antiKillPlatform:Destroy()
            antiKillPlatform = nil
        end
    end
end)

-- Spin
spinBtn.MouseButton1Click:Connect(function()
    spinning = not spinning
    spinBtn.Text = spinning and "SPIN: ON" or "SPIN: OFF"
    spinBtn.BackgroundColor3 = spinning and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 140, 0)
end)

spinSpeedBox.FocusLost:Connect(function()
    local num = tonumber(spinSpeedBox.Text)
    if num then spinSpeed = num end
end)

game:GetService("RunService").RenderStepped:Connect(function()
    if spinning and player.Character then
        local root = player.Character:FindFirstChild("HumanoidRootPart")
        if root then
            root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(spinSpeed * 0.1), 0)
        end
    end
end)

-- Dash
dashBtn.MouseButton1Click:Connect(function()
    dashMode = not dashMode
    dashBtn.Text = dashMode and "DASH MODE: ON" or "DASH MODE: OFF"
    dashBtn.BackgroundColor3 = dashMode and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(0, 170, 255)
end)

-- Inf Jump
infJumpBtn.MouseButton1Click:Connect(function()
    infJumpEnabled = not infJumpEnabled
    infJumpBtn.Text = infJumpEnabled and "INF JUMP: ON" or "INF JUMP: OFF"
    infJumpBtn.BackgroundColor3 = infJumpEnabled and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(0, 200, 0)
end)

game:GetService("UserInputService").JumpRequest:Connect(function()
    if infJumpEnabled then
        local hum = player.Character and player.Character:FindFirstChild("Humanoid")
        if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end
    end
end)

-- Dash (Q)
game:GetService("UserInputService").InputBegan:Connect(function(input, gpe)
    if gpe then return end
    if input.KeyCode == Enum.KeyCode.Q and dashMode and not isDashing then
        isDashing = true
        local character = player.Character
        if character then
            local root = character:FindFirstChild("HumanoidRootPart")
            if root then
                while isDashing and dashMode do
                    local bv = Instance.new("BodyVelocity")
                    bv.MaxForce = Vector3.new(60000, 200, 60000)
                    bv.Velocity = root.CFrame.LookVector * 80
                    bv.Parent = root
                    game.Debris:AddItem(bv, 0.08)
                    wait(0.05)
                end
            end
        end
        isDashing = false
    end
end)

game:GetService("UserInputService").InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.Q then isDashing = false end
end)

-- Tweak Out (T)
game:GetService("UserInputService").InputBegan:Connect(function(input, gpe)
    if gpe then return end
    if input.KeyCode == Enum.KeyCode.T and not tweakin then
        tweakin = true
        local character = player.Character
        if character then
            local root = character:FindFirstChild("HumanoidRootPart")
            local hum = character:FindFirstChild("Humanoid")
            if root and hum then
                hum.PlatformStand = true
                while tweakin do
                    root.CFrame = root.CFrame * CFrame.Angles(math.rad(math.random(-35,35)), math.rad(math.random(-60,60)), math.rad(math.random(-30,30)))
                    local bv = Instance.new("BodyVelocity")
                    bv.MaxForce = Vector3.new(10000, 100, 10000)
                    bv.Velocity = Vector3.new(math.random(-22,22), math.random(-6,10), math.random(-22,22))
                    bv.Parent = root
                    game.Debris:AddItem(bv, 0.1)
                    wait(0.03)
                end
                hum.PlatformStand = false
            end
        end
        tweakin = false
    end
end)

game:GetService("UserInputService").InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.T then tweakin = false end
end)

-- Play sound once on load
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://8260658079"
sound.Volume = 1
sound.Looped = false
sound.Parent = game.SoundService  -- or game.SoundService
sound:Play()

print("script loaded!")

-- Optional: Destroy sound after it finishes to clean up
sound.Ended:Connect(function()
    sound:Destroy()
end)

Features & Information

haz stuff also NOT MEANT FOR THE REAL SLAP BATTLES because this has NO bypass anticheat stuff and yeah basically it has speed changer dash mode (press or hold q) hold t to tweak tf out inf jump spin antikill (go to the middle point of the map and then press antikill bc its universal) thats all i have for now and i know this is a TRASH script
#universal#sb#slap battles#slapbattles

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts