Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Tables, Functions & Variables ---
- Brew = {
- ["Services"] = {
- ["Players"] = game:GetService("Players"),
- ["SoundService"] = game:GetService("SoundService"),
- ["ReplicatedStorage"] = game:GetService("ReplicatedStorage"),
- ["HttpService"] = game:GetService("HttpService"),
- ["UserInputService"] = game:GetService("UserInputService"),
- ['MarketplaceService'] = game:GetService("MarketplaceService")
- },
- ["Reach"] = {
- ["Enabled"] = false,
- ["Magnitude"] = Vector3.new(1, 0.8, 4),
- ["Method"] = "Spoof",
- ["SelectionBox"] = false,
- ["SelectionBoxMethod"] = "Box",
- ["SelectionBoxColor"] = Color3.fromRGB(0, 0, 0)
- },
- ["Character"] = {
- ["cWalkspeed"] = 16,
- ["cJumppower"] = 50,
- ["Spin"] = false
- },
- ["Features"] = {
- ["StaffDetection"] = true,
- ["Autoclick"] = false
- },
- ["Libraries"] = {
- ["Notifications"] = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/Scripts/AkaliNotif.lua"))()
- }
- }
- Player = Brew.Services.Players.LocalPlayer
- function Brew:WaitForChildOfClass(parents, className, timeout)
- local startTime = tick()
- timeout = timeout or 9e9
- while tick() - startTime < timeout do
- for _, parent in pairs(parents) do
- for _, child in pairs(parent:GetChildren()) do
- if child:IsA(className) then
- return child
- end
- end
- end
- wait(0.01)
- end
- return nil
- end
- function Brew:Spoof(Instance, Property, Value)
- local b
- b = hookmetamethod(game, "__index", function(A, B)
- if not checkcaller() then
- if A == Instance then
- local filter = string.gsub(tostring(B), "\0", "")
- if filter == Property then
- return Value
- end
- end
- end
- return b(A, B)
- end)
- end
- function Brew:disableConnection(Connection)
- for i, v in pairs(getconnections(Connection)) do
- v:Disable()
- end
- end
- function Brew:Async(func)
- task.spawn(function()
- func()
- end)
- end
- function Brew:Notify(title, description, duration)
- duration = duration or 3
- Brew.Libraries.Notifications.Notify({Title=title, Description=description, Duration=tonumber(duration)})
- end
- function Brew:DetermineOS()
- if Brew.Services["UserInputService"].TouchEnabled and not Brew.Services["UserInputService"].KeyboardEnabled and not Brew.Services["UserInputService"].MouseEnabled then
- return "Mobile"
- elseif not Brew.Services["UserInputService"].TouchEnabled and Brew.Services["UserInputService"].KeyboardEnabled and Brew.Services["UserInputService"].MouseEnabled then
- return "PC"
- end
- end
- function Brew:getSword()
- return Brew:WaitForChildOfClass({Player.Character, Player.Backpack}, "Tool")
- end
- function Brew:getHitbox()
- for i, v in pairs(Brew:getSword():GetDescendants()) do
- if v:FindFirstChildOfClass("TouchTransmitter") then
- v.Massless = true
- return v
- end
- end
- end
- function Brew.Reach:undoReach()
- Brew.Reach.Enabled = false
- Brew:getSword()
- Brew:disableConnection(Brew:getHitbox():GetPropertyChangedSignal("Size"))
- Brew:Spoof(Brew:getHitbox(), "Size", Vector3.new(1, 0.8, 4))
- Brew:getHitbox().Size = Vector3.new(1, 0.8, 4)
- end
- function Brew.Reach:undoVisual()
- Brew.Reach.SelectionBox = false
- if Brew:getHitbox():FindFirstChildOfClass("SelectionBox") then
- Brew:getHitbox():FindFirstChildOfClass("SelectionBox"):Destroy()
- end
- end
- function Brew.Reach:doReach()
- if Brew.Reach.Method == "Spoof" then
- Brew.Reach.Enabled = true
- Brew:getSword()
- Brew:disableConnection(Brew:getHitbox():GetPropertyChangedSignal("Size"))
- Brew:Spoof(Brew:getHitbox(), "Size", Vector3.new(1, 0.8, 4))
- Brew:getHitbox().Size = Brew.Reach.Magnitude
- while Brew.Reach.Enabled and Brew.Reach.Method == "Spoof" do
- Brew:getHitbox().Size = Brew.Reach.Magnitude
- Brew:Async(function()
- for i, v in pairs(Brew.Services.Players:GetChildren()) do
- local Character = v.Character
- if Character.HumanoidRootPart and Character.Name ~= Player.Name then
- if (Character.HumanoidRootPart.Position - Brew:getHitbox().Position).Magnitude <= Brew.Reach.Magnitude.X then
- Brew:Async(function()
- for index, limb in pairs(Character:GetChildren()) do
- if limb:IsA("BasePart") then
- Brew:Async(function()
- for x = 0, 15 do
- firetouchinterest(limb, Brew:getHitbox(), 0)
- wait()
- firetouchinterest(limb, Brew:getHitbox(), 1)
- end
- end)
- end
- end
- end)
- end
- end
- end
- end)
- wait()
- end
- else
- Brew:Notify("Brew", "That method is not supported yet.", 3)
- end
- end
- function Brew.Reach:doVisual()
- Brew.Reach.SelectionBox = true
- if Brew.Reach.SelectionBoxMethod == "Box" then
- local Box = Instance.new("SelectionBox", Brew:getHitbox())
- Box.Adornee = Brew:getHitbox()
- Box.LineThickness = 0.01
- Box.Color3 = Brew.Reach.SelectionBoxColor
- Brew:Async(function()
- Box.Color3 = Brew.Reach.SelectionBoxColor
- end)
- else
- Brew:Notify("Brew", "Not supported.", 3)
- end
- end
- function Brew.Character:doSpin()
- Brew.Character.Spin = true
- if not Player.Character:WaitForChild("HumanoidRootPart"):FindFirstChildOfClass("BodyAngularVelocity") then
- local Velocity = Instance.new("BodyAngularVelocity", Player.Character:WaitForChild("HumanoidRootPart"))
- Velocity.AngularVelocity = Vector3.new(0, 15, 0)
- Velocity.MaxTorque = Vector3.new(0, 9e9, 0)
- Velocity.P = 1250
- end
- end
- function Brew.Character.undoSpin()
- Brew.Character.Spin = false
- if Player.Character:WaitForChild("HumanoidRootPart"):FindFirstChildOfClass("BodyAngularVelocity") then
- Player.Character:WaitForChild("HumanoidRootPart"):FindFirstChildOfClass("BodyAngularVelocity"):Destroy()
- end
- end
- --- Fix Settings ---
- Player.Character.Humanoid.Died:Connect(function()
- if DamageAmplify then
- DamageAmplify:Disconnect()
- end
- end)
- Player.CharacterAdded:Connect(function()
- Brew:getSword()
- wait(.25)
- Brew:getHitbox().Massless = true
- Brew:Async(function()
- if Brew.Reach.Enabled then
- Brew.Reach:doReach()
- end
- end)
- Brew:Async(function()
- if Brew.Reach.SelectionBox then
- Brew.Reach:doVisual()
- end
- end)
- Brew:Async(function()
- if Brew.Character.Spin then
- Brew.Character:doSpin()
- end
- end)
- Brew:Async(function()
- Brew:Spoof(Player.Character.Humanoid, "WalkSpeed", 16)
- Player.Character:WaitForChild("Humanoid").WalkSpeed = Brew.Character.cWalkspeed
- end)
- end)
- local Library = loadstring(game:HttpGet('https://raw.githubusercontent.com/Rain-Design/Libraries/main/Shaman/Library.lua'))()
- local Flags = Library.Flags
- local Window = Library:Window({
- Text = "Brew | v3.04"
- })
- local ModTab = Window:Tab({
- Text = "Mods"
- })
- local CharacterTab = Window:Tab({
- Text = "Character"
- })
- local AdvancedTab = Window:Tab({
- Text = "Advanced"
- })
- local ReachSection = ModTab:Section({
- Text = "Reach"
- })
- local VisualSection = ModTab:Section({
- Text = "Visuals"
- })
- local CharacterSection = CharacterTab:Section({
- Text = "Character"
- })
- local AdvancedSection = AdvancedTab:Section({
- Text = "Advanced"
- })
- ReachToggle = ReachSection:Toggle({
- Text = "Enabled",
- Tooltip = "Whether reach is enabled or not.",
- Callback = function(v)
- if v == true or v == "true" then
- Brew:Async(function()
- Brew.Reach:doReach()
- end)
- Brew:Notify('Brew', "Reach Enabled")
- else
- Brew.Reach:undoReach()
- Brew:Notify('Brew', "Reach Disabled")
- end
- end
- })
- ReachMethodDropdown = ReachSection:Dropdown({
- Text = "Dropdown",
- List = {"Spoof", "Root"},
- Flag = "Choosen",
- Tooltip = "What type of reach method you use.",
- Callback = function(v)
- Brew.Reach.Method = v
- Brew:Notify("Brew", "Set method to "..v, 2)
- end
- })
- ReachSection:Slider({
- Text = "Reach Magnitude",
- Default = 8,
- Minimum = 0,
- Maximum = 25,
- Flag = "SliderFlag",
- Tooltip = "Legit: 6-8, Blatant: 25",
- Callback = function(v)
- Brew.Reach.Magnitude = Vector3.new(tonumber(v), tonumber(v), tonumber(v))
- end
- })
- VisualSection:Toggle({
- Text = "Enabled",
- Tooltip = "Whether visuals is enabled or not.",
- Callback = function(v)
- if v == true or v == "true" then
- Brew:Async(function()
- Brew.Reach:doVisual()
- end)
- Brew:Notify('Brew', "Visual Enabled")
- else
- Brew.Reach:undoVisual()
- Brew:Notify('Brew', "Visual Disabled")
- end
- end
- })
- VisualSection:Dropdown({
- Text = "Dropdown",
- List = {"Box", "Sphere"},
- Flag = "Choosen",
- Tooltip = "What type of shape you use.",
- Callback = function(v)
- Brew.Reach.Method = v
- Brew:Notify("Brew", "Set shape to "..v, 2)
- end
- })
- CharacterSection:Toggle({
- Text = "Spin",
- Tooltip = "Whether spin is enabled or not.",
- Callback = function(v)
- if v == true or v == "true" then
- Brew.Character.doSpin()
- Brew:Notify('Brew', "Spin Enabled")
- else
- Brew.Character.undoSpin()
- Brew:Notify('Brew', "Spin Disabled")
- end
- end
- })
- CharacterSection:Slider({
- Text = "Speed",
- Default = 16,
- Minimum = 16,
- Maximum = 23,
- Flag = "SliderFlag",
- Tooltip = "Edit your walkspeed.",
- Callback = function(v)
- Brew:Spoof(Player.Character.Humanoid, "WalkSpeed", 16)
- Brew.Character.cWalkspeed = tonumber(v)
- Player.Character.Humanoid.WalkSpeed = tonumber(v)
- end
- })
- AdvancedSection:Toggle({
- Text = "Autoclick",
- Tooltip = "Automatically activates your sword.",
- Callback = function(v)
- if v == true or v == "true" then
- Brew.Features.Autoclick = true
- Brew:Notify('Brew', "Autoclick Enabled")
- while Brew.Features.Autoclick and Brew:getSword().Parent == Player.Character do
- if Player.Character:FindFirstChild(Brew:getSword().Name) then
- Brew:getSword():Activate()
- end
- wait()
- end
- else
- Brew.Features.Autoclick = false
- Brew:Notify('Brew', "Autoclick Disabled")
- end
- end
- })
- --- Prevent Anticheat(s) ---
- Brew:disableConnection(game:GetService("ScriptContext").Error)
- if not identifyexecutor() == "Fluxus" then
- Brew:Notify("Brew", "You are using an un-supported executor.\nUse Fluxus."..identifyexecutor(), 3)
- end
- Brew:Notify("Brew", '['..Brew:DetermineOS()..'] Brew has loaded.', 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement