Vira One Shot Blade
Key RequiredUniversal Patched

Vira One Shot Blade

Universal Scriptgirodalejandre278girodalejandre278 1.6K views 115 executesUpdated Jul 10, 2026
Unrated
00
Lua Script•133 lines (4529 chars)
--[[
    ViraHub Universal
    Features: Custom Vira-Blade (One-Shot) & Passive Anti-Fling
--]]

local players = game:GetService("Players")
local runService = game:GetService("RunService")
local lp = players.LocalPlayer
local bp = lp:FindFirstChildOfClass("Backpack")

---------------------------------------------------------
-- 1. ANTI-FLING MECHANISM
---------------------------------------------------------
local function startAntiFling()
    runService.Stepped:Connect(function()
        local char = lp.Character
        if not char then return end
        
        -- Safe local physics checks
        for _, part in ipairs(char:GetChildren()) do
            if part:IsA("BasePart") then
                part.CanCollide = false
                if part:FindFirstChildOfClass("BodyVelocity") then
                    part:FindFirstChildOfClass("BodyVelocity"):Destroy()
                end
            end
        end
        
        -- Disable standard character-to-character physics collisions
        for _, otherPlr in ipairs(players:GetPlayers()) do
            if otherPlr ~= lp and otherPlr.Character then
                for _, part in ipairs(otherPlr.Character:GetChildren()) do
                    if part:IsA("BasePart") then
                        part.CanCollide = false
                    end
                end
            end
        end
    end)
end

---------------------------------------------------------
-- 2. VIRA-BLADE GENERATOR (JAGS & OUTLINE MODEL)
---------------------------------------------------------
local function spawnBlade()
    local tool = Instance.new("Tool")
    tool.Name = "Vira-Blade"
    tool.RequiresHandle = true

    -- Base invisible handle for holding position
    local handle = Instance.new("Part")
    handle.Name = "Handle"
    handle.Size = Vector3.new(0.5, 0.5, 1.5)
    handle.Transparency = 1
    handle.Parent = tool

    -- Part constructor function
    local function createPiece(size, color, material, offset, rotation)
        local p = Instance.new("Part")
        p.Size = size
        p.Color = color
        p.Material = material
        p.CanCollide = false
        p.Anchored = false
        p.Parent = tool

        local w = Instance.new("Weld")
        w.Part0 = handle
        w.Part1 = p
        w.C0 = CFrame.new(offset) * CFrame.Angles(unpack(rotation))
        w.Parent = w
        return p
    end

    -- Core blade structure
    local core = createPiece(Vector3.new(0.3, 0.8, 4), Color3.fromRGB(0,0,0), Enum.Material.SmoothPlastic, Vector3.new(0, 0, -2), {0, 0, 0})

    -- Angular bottom tip
    local tip = Instance.new("WedgePart")
    tip.Size = Vector3.new(0.3, 0.8, 1.5)
    tip.Color = Color3.fromRGB(0,0,0)
    tip.Material = Enum.Material.SmoothPlastic
    tip.CanCollide = false
    tip.Parent = tool
    
    local wTip = Instance.new("Weld")
    wTip.Part0 = handle
    wTip.Part1 = tip
    wTip.C0 = CFrame.new(0, 0, -4.75) * CFrame.Angles(math.rad(180), 0, 0)
    wTip.Parent = tip

    -- Glowing edges and physical side accents
    local glow1 = createPiece(Vector3.new(0.1, 1, 4.2), Color3.fromRGB(255, 0, 10), Enum.Material.Neon, Vector3.new(0, 0, -2.1), {0, 0, 0})
    local spikeL = createPiece(Vector3.new(0.2, 0.6, 1.5), Color3.fromRGB(0,0,0), Enum.Material.SmoothPlastic, Vector3.new(0, 0.5, -1), {math.rad(25), 0, math.rad(15)})
    local spikeR = createPiece(Vector3.new(0.2, 0.6, 1.5), Color3.fromRGB(0,0,0), Enum.Material.SmoothPlastic, Vector3.new(0, -0.5, -1), {math.rad(-25), 0, math.rad(-15)})

    -- Bright neon red boundary selection outline
    local outline = Instance.new("SelectionBox")
    outline.Color3 = Color3.fromRGB(255, 0, 5)
    outline.Adornee = core
    outline.Parent = core

    -- Combat touch interaction logic
    local function applyHitbox(part)
        part.Touched:Connect(function(hit)
            if not hit or not hit.Parent then return end
            
            local char = lp.Character
            if char and hit.Parent == char then return end
            
            local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
            if hum and hum.Health > 0 then
                hum.Health = 0
            end
        end)
    end

    applyHitbox(handle)
    applyHitbox(core)
    applyHitbox(tip)

    -- Final injection to inventory
    if bp then
        tool.Parent = bp
        print("ViraHub | Custom Blade Added to Inventory")
    else
        warn("ViraHub | Error: Backpack not available")
    end
end

-- Initialize Execution
startAntiFling()
spawnBlade()

Features & Information

#one-shot #vira-band #instakill #universal #sword

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts