-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local RS = game:GetService("ReplicatedStorage") local PL = game:GetService("Players") local STA = game:GetService("Stats") local lp = PL.LocalPlayer local RAD = 13 local SWM = false local SWH = false local FMN = 0.2 local BIA = 0.5 local MRG = 0.0 local GOF = 0.0 local KND = 3 local KNW = { ["Basic"] = true, ["Martial Artist"] = true, ["Skilled Fighter"] = true, ["Peak A Boo"] = true, ["Street Fighter"] = true, ["Kung Fu"] = true, } local DIRS = { ["Street Fighter"] = { M1 = {[4] = "back"}, Heavy = {[2] = "back"}, }, ["Martial Artist"] = { Heavy = {[2] = "back"}, }, } local DIR = { left = 1, right = 2, back = 3, } local KNM = { [1] = "M1", [2] = "Heavy", } local function req(obj) if not obj then return nil end local suc, res = pcall(require, obj) if suc then return res end return nil end local shr = RS:WaitForChild("Shared") local sty = req(shr:WaitForChild("Styles")) local cfg = req(shr:WaitForChild("Config")) local pdt = req(shr:FindFirstChild("PlayerData")) local ctl = lp:WaitForChild("PlayerScripts"):WaitForChild("Client"):WaitForChild("Controllers") local cmb = req(ctl:WaitForChild("CombatController")) local crc = req(ctl:WaitForChild("CharacterReplicationController")) if not sty or not cmb or not crc then return end local wvc = cfg and cfg.Combat and cfg.Combat.Weave or {} local TIM = wvc.Time or 0.25 local grb = cfg and cfg.Combat and cfg.Combat.Grab or {} local function gGrb(knd) if knd == 2 then local win = grb.Dive and grb.Dive.Window return win and win[1] or 0.199 end local win = grb.Window return win and win[1] or 0.2 end local function fRem() local pkt = req(shr:FindFirstChild("Packets")) if pkt and pkt.CombatSwung then return pkt end local cdc = RS:FindFirstChild("CharacterCodec", true) while not cdc do task.wait(0.5) cdc = RS:FindFirstChild("CharacterCodec", true) end for _, mod in cdc.Parent:GetChildren() do if mod:IsA("ModuleScript") and mod ~= cdc and mod.Name ~= "Config" then local res = req(mod) if type(res) == "table" and res.CombatSwung then return res end end end return nil end local function gPng() local suc, val = pcall(function() return STA.Network.ServerStatsItem["Data Ping"]:GetValue() end) if suc and type(val) == "number" then return val / 1000 end return 0.08 end local function gRt(plr) return plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") end local function gMdl(id) local suc, res = pcall(crc.getModel, id) if suc then return res end return nil end local function gMe() local suc, res = pcall(crc.getLocal) if suc and res then return res.id end return nil end local function gPos(id, mdl) local suc, rem = pcall(crc.getRemote, id) if suc and rem and rem.x then return Vector3.new(rem.x, rem.y, rem.z) end local rot = mdl and mdl:FindFirstChild("HumanoidRootPart") return rot and rot.Position or nil end local function gSty(plr) local nam = nil if pdt and pdt.get then local suc, res = pcall(pdt.get, plr, "Style") if suc then nam = res end end if not nam then local dat = plr:FindFirstChild("Data") local val = dat and dat:FindFirstChild("Style") if val then nam = val.Value end end if nam and sty.exists(nam) then return nam end return sty.Default end local function isFcg(mdl, apos) local mrt = gRt(lp) local rot = mdl:FindFirstChild("HumanoidRootPart") if not mrt or not rot then return false end local dir = mrt.Position - apos if dir.Magnitude < 0.01 then return true end return rot.CFrame.LookVector:Dot(dir.Unit) >= FMN end local function inRng(apos, ext) local mrt = gRt(lp) if not mrt or not apos then return false end return (apos - mrt.Position).Magnitude <= RAD + ext end local function gStarts(stl, knm, idx) local ent = sty.get(stl) or sty.get(sty.Default) local wns = ent.windows[knm] local lst = wns and (wns[idx] or wns[#wns]) local spd = math.max(ent.stats.Speed or 1, 0.2) local res = {} if not lst then return res end for pos = 1, #lst, 2 do table.insert(res, lst[pos] / spd) end return res end local function sFrI(idx, swp) local odd = (idx % 2) == 1 if swp then odd = not odd end return odd and 1 or 2 end local function gDir(stl, knm, idx, swp) local ovr = DIRS[stl] and DIRS[stl][knm] and DIRS[stl][knm][idx] if ovr then return DIR[ovr] end local mov = sty.moveOf(stl, knm, idx) if mov and (mov.lunge or mov.finish) then return 3 end if not KNW[stl] and mov and mov.knock then local kno = mov.knock if kno.way == "Away" and (kno.distance or 0) >= KND then return 3 end end return sFrI(idx, swp) end local function dge(way) if not cmb.canAct() then return end pcall(cmb.weave, way) end local function sched(apos, lst, way, off) local png = gPng() for _, tim in lst do local wtt = tim - TIM * BIA - png - off if wtt <= 0 then dge(way) else task.delay(wtt, function() if inRng(apos, 3) then dge(way) end end) end end end local lEv = {} local function dup(key) local now = os.clock() local lst = lEv[key] lEv[key] = now return lst ~= nil and now - lst < 0.05 end local rms = fRem() if not rms then return end rms.CombatSwung:listen(function(dat) local me = gMe() if me and dat.entity == me then return end local knm = KNM[dat.kind] if not knm then return end local mdl = gMdl(dat.entity) if not mdl then return end local plr = PL:GetPlayerFromCharacter(mdl) if plr == lp then return end local apos = gPos(dat.entity, mdl) if not apos or not inRng(apos, 0) or not isFcg(mdl, apos) then return end if dup(tostring(dat.entity) .. knm .. dat.index .. tostring(dat.pitch)) then return end local stl = plr and gSty(plr) or sty.Default local way = gDir(stl, knm, dat.index, dat.kind == 1 and SWM or SWH) sched(apos, gStarts(stl, knm, dat.index), way, MRG) end) rms.GrabTried:listen(function(dat) local me = gMe() if me and dat.id == me then return end local mdl = gMdl(dat.id) if not mdl then return end if PL:GetPlayerFromCharacter(mdl) == lp then return end local apos = gPos(dat.id, mdl) if not apos or not inRng(apos, 0) or not isFcg(mdl, apos) then return end if dup("grab" .. tostring(dat.id)) then return end sched(apos, {gGrb(dat.kind)}, 3, GOF) end)