local p = game:GetService("Players") local u = game:GetService("UserInputService") local c = game:GetService("CoreGui") local lp = p.LocalPlayer local conn = {} local sids = { ["4306994664"] = true, ["4306994923"] = true, ["4306994267"] = true, ["9116709512"] = true, ["9125669515"] = true, ["9116618112"] = true } local aids = { "rbxassetid://70593304937741", "rbxassetid://103513893010999", "rbxassetid://140381676724931" } local cids = { ["70593304937741"] = true, ["103513893010999"] = true, ["140381676724931"] = true } local function ran(hum) if not hum then return end local am = hum:FindFirstChildOfClass("Animator") or hum local rid = aids[math.random(1, #aids)] local an = Instance.new("Animation") an.AnimationId = rid local tr = am:LoadAnimation(an) tr:Play() tr:AdjustSpeed(0.9) end local function ss(snd, hum) if not snd:IsA("Sound") then return end table.insert(conn, snd.Played:Connect(function() local sid = string.match(snd.SoundId, "%d+") if sid and sids[sid] then ran(hum) end end)) end local function sa(am) if not am then return end table.insert(conn, am.AnimationPlayed:Connect(function(tr) local an = tr.Animation if not an then return end local aid = string.match(an.AnimationId, "%d+") if aid and cids[aid] then tr:AdjustSpeed(0.9) end end)) end local function chk(itm) if string.lower(itm.Name) == "blockhit" then itm:Destroy() end end local function scn(chr) if not chr then return end local hum = chr:WaitForChild("Humanoid", 5) if hum then local am = hum:WaitForChild("Animator", 5) if am then sa(am) end end for _, v in ipairs(chr:GetDescendants()) do ss(v, hum) chk(v) end table.insert(conn, chr.DescendantAdded:Connect(function(v) ss(v, hum) chk(v) end)) end if lp.Character then scn(lp.Character) end table.insert(conn, lp.CharacterAdded:Connect(function(chr) scn(chr) end)) table.insert(conn, workspace.DescendantAdded:Connect(function(v) if string.lower(v.Name) == "blockhit" then if lp.Character and v:IsDescendantOf(lp.Character) then v:Destroy() end end end)) for _, v in ipairs(workspace:GetDescendants()) do if string.lower(v.Name) == "blockhit" then if lp.Character and v:IsDescendantOf(lp.Character) then chk(v) end end end