local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- AJUSTES local MAX_SPEED = 160 local BOOST = 90 local STEER = 40 local REEL = 12 local MIN_LEN = 22 local WEB_RANGE = 230 local SKY_FALLBACK = true local FORWARD = 40 local HEIGHT = 55 local SIDE = 14 local AUTO_CHAIN = true local DIVE_FALL_SPEED = 30 local DIVE_PULLUP = 24 local CAMERA_ROLL = 0 -- CONFIGURAÇÕES (mudam pelo botão Config) local skyWeb = SKY_FALLBACK local autoChain = AUTO_CHAIN local autoDive = true local toast = function() end local V = Vector3.new local anchor, att, handAtt local swinging, holding = false, false local swingStart, swingEnd = 0, 0 local swingDir = V(0, 0, -1) local sideSign = 1 local shootArm = "r" local len, minLen = 0, MIN_LEN local lastDash = 0 local firstPerson = false local roll = 0 local recovering = false local diving = false local diveDir = V(0, 0, -1) local diveCooldown = 0 local function getChar() return player.Character end local function getRoot() local c = getChar() return c and c:FindFirstChild("HumanoidRootPart") end local function getHum() local c = getChar() return c and c:FindFirstChildOfClass("Humanoid") end local function rayParams() local list = {getChar()} local ef = workspace:FindFirstChild("InimigosLocais") if ef then table.insert(list, ef) end local p = RaycastParams.new() p.FilterType = Enum.RaycastFilterType.Exclude p.FilterDescendantsInstances = list return p end local function flat(v) local f = V(v.X, 0, v.Z) if f.Magnitude < 0.01 then return nil end return f.Unit end local function setOrientation(root, targetRot, a) local cf = root.CFrame local rot = cf - cf.Position local newRot = rot:Lerp(targetRot, math.min(1, a)) root.CFrame = CFrame.new(cf.Position) * newRot root.AssemblyAngularVelocity = V(0, 0, 0) end -- ANIMAÇÕES (por código) local joints, orig, current = {}, {}, {} local poseName = nil local function mirror(p) local m = {} for k, v in pairs(p) do local first = string.sub(k, 1, 1) local rest = string.sub(k, 2) local nk = k if first == "r" then nk = "l" .. rest end if first == "l" then nk = "r" .. rest end m[nk] = V(v.X, -v.Y, -v.Z) end return m end local swingBase = { rs = V(20, 0, 165), ls = V(-35, 0, -30), re = V(15, 0, 0), le = V(10, 0, 0), rh = V(-30, 0, 5), lh = V(12, 0, -5), rk = V(-55, 0, 0), lk = V(-18, 0, 0), } local swingFBase = { rs = V(110, 0, 12), ls = V(-20, 0, -20), re = V(10, 0, 0), le = V(10, 0, 0), rh = V(-30, 0, 5), lh = V(12, 0, -5), rk = V(-55, 0, 0), lk = V(-18, 0, 0), } local punchBase = { rs = V(95, 0, 5), ls = V(40, 0, -25), rh = V(-15, 0, 0), lh = V(15, 0, 0), } local POSES = { swingR = swingBase, swingL = mirror(swingBase), swingFR = swingFBase, swingFL = mirror(swingFBase), dive = { rs = V(-5, 0, 80), ls = V(-5, 0, -80), re = V(10, 0, 0), le = V(10, 0, 0), rh = V(-8, 0, 4), lh = V(-8, 0, -4), rk = V(-10, 0, 0), lk = V(-10, 0, 0), }, diveF = { rs = V(30, 0, 40), ls = V(30, 0, -40), rh = V(-8, 0, 4), lh = V(-8, 0, -4), rk = V(-10, 0, 0), lk = V(-10, 0, 0), }, jump = { rs = V(0, 0, 150), ls = V(0, 0, -150), rh = V(25, 0, 0), lh = V(-5, 0, 0), rk = V(-60, 0, 0), lk = V(-20, 0, 0), }, c_punchR = punchBase, c_punchL = mirror(punchBase), c_kick = { rs = V(30, 0, 35), ls = V(30, 0, -35), rh = V(85, 0, 0), lh = V(-10, 0, 0), lk = V(-10, 0, 0), }, c_web = { rs = V(100, 0, 10), ls = V(20, 0, -20) }, c_dodge = { rs = V(20, 0, 60), ls = V(20, 0, -60), rh = V(-25, 0, 10), lh = V(-25, 0, -10), rk = V(-40, 0, 0), lk = V(-40, 0, 0), }, } local function isSwing(n) return n ~= nil and string.sub(n, 1, 5) == "swing" end local function isCombat(n) return n ~= nil and string.sub(n, 1, 2) == "c_" end local function refreshJoints() joints, orig, current = {}, {}, {} local c = getChar() if not c then return end local hum = c:WaitForChild("Humanoid", 5) if not hum then return end local function m(part, name) local p = c:WaitForChild(part, 3) return p and p:FindFirstChild(name) end if hum.RigType == Enum.HumanoidRigType.R15 then joints.rs = m("RightUpperArm", "RightShoulder") joints.ls = m("LeftUpperArm", "LeftShoulder") joints.re = m("RightLowerArm", "RightElbow") joints.le = m("LeftLowerArm", "LeftElbow") joints.rh = m("RightUpperLeg", "RightHip") joints.lh = m("LeftUpperLeg", "LeftHip") joints.rk = m("RightLowerLeg", "RightKnee") joints.lk = m("LeftLowerLeg", "LeftKnee") else joints.rs = m("Torso", "Right Shoulder") joints.ls = m("Torso", "Left Shoulder") joints.rh = m("Torso", "Right Hip") joints.lh = m("Torso", "Left Hip") end for k, j in pairs(joints) do orig[k] = j.C0 current[k] = V(0, 0, 0) end end local function stopTracks() local hum = getHum() local animator = hum and hum:FindFirstChildOfClass("Animator") if animator then for _, t in ipairs(animator:GetPlayingAnimationTracks()) do t:Stop(0.1) end end end local function setPose(name) if name == poseName then return end local wasNil = (poseName == nil) poseName = name local c = getChar() local animate = c and c:FindFirstChild("Animate") if animate then if name ~= nil then if wasNil then stopTracks() end animate.Disabled = true else animate.Disabled = false end end end local function swingPoseName() local n = "swing" if firstPerson then n = "swingF" end if shootArm == "l" then n = n .. "L" else n = n .. "R" end return n end local function divePoseName() if firstPerson then return "diveF" end return "dive" end -- poses de combate (vêm do script de Combate) local function onCombatPose() local c = getChar() if not c then return end local n = c:GetAttribute("CombatPose") if n and n ~= "" then if (poseName == nil or isCombat(poseName)) and POSES[n] then setPose(n) end else if isCombat(poseName) then setPose(nil) end end end RunService.RenderStepped:Connect(function(dt) local pd = nil if poseName then pd = POSES[poseName] end local alpha = math.min(1, dt * 9) if isCombat(poseName) then alpha = math.min(1, dt * 20) end local sw = math.sin(tick() * 2.5) * 6 local inSwing = isSwing(poseName) for k, j in pairs(joints) do if j.Parent and orig[k] then local tgt = V(0, 0, 0) if pd and pd[k] then tgt = pd[k] end if inSwing then if k == "rh" then tgt = tgt + V(sw, 0, 0) end if k == "lh" then tgt = tgt - V(sw, 0, 0) end end local cur = current[k]:Lerp(tgt, alpha) current[k] = cur j.C0 = orig[k] * CFrame.Angles(math.rad(cur.X), math.rad(cur.Y), math.rad(cur.Z)) end end end) -- VOLTAR AO NORMAL (levanta o corpo suave) local function recoverControl() local root, hum = getRoot(), getHum() if not root or not hum then return end if recovering then return end recovering = true task.spawn(function() for i = 1, 6 do if swinging or diving then recovering = false return end local cf = root.CFrame local look = V(cf.LookVector.X, 0, cf.LookVector.Z) if look.Magnitude < 0.05 then look = V(cf.UpVector.X, 0, cf.UpVector.Z) end if look.Magnitude < 0.05 then look = V(0, 0, -1) end local target = CFrame.lookAt(V(0, 0, 0), look.Unit) setOrientation(root, target, 0.45) task.wait() end recovering = false if not swinging and not diving then hum.AutoRotate = true hum.PlatformStand = false end end) end -- MERGULHO local function stopDive(landing, keep) if not diving then return end diving = false diveCooldown = tick() + 1.2 local root = getRoot() if landing and root then local v = root.AssemblyLinearVelocity root.AssemblyLinearVelocity = V(v.X * 0.8, v.Y * 0.4, v.Z * 0.8) end if poseName == "dive" or poseName == "diveF" then setPose(nil) end if not keep then recoverControl() end end local function startDive(root, hum) diving = true local vel = root.AssemblyLinearVelocity diveDir = V(vel.X, 0, vel.Z) if diveDir.Magnitude < 1 then local l = workspace.CurrentCamera.CFrame.LookVector diveDir = V(l.X, 0, l.Z) end if diveDir.Magnitude > 0.01 then diveDir = diveDir.Unit else diveDir = V(0, 0, -1) end hum.AutoRotate = false hum.PlatformStand = true setPose(divePoseName()) end -- TEIA local function pickAnchor(root) local cam = workspace.CurrentCamera.CFrame local look = flat(cam.LookVector) or flat(root.CFrame.LookVector) or V(0, 0, -1) local right = flat(cam.RightVector) or V(1, 0, 0) local params = rayParams() sideSign = -sideSign local side = sideSign local pitches = {50, 38, 62, 28, 72} local leans = {0.25, 0.1, 0.4, -0.2} local found = nil for _, deg in ipairs(pitches) do for _, ln in ipairs(leans) do local pr = math.rad(deg) local horiz = (look + right * (ln * side)).Unit local dir = (horiz * math.cos(pr) + V(0, math.sin(pr), 0)).Unit local hit = workspace:Raycast(root.Position, dir * WEB_RANGE, params) if hit and hit.Distance > 16 and hit.Position.Y > root.Position.Y + 14 then found = hit.Position break end end if found then break end end if found then return found, look end if skyWeb then local target = root.Position + look * FORWARD + right * (SIDE * side) + V(0, HEIGHT, 0) return target, look end return nil, look end local function cleanup(keep) if swinging then swingEnd = tick() end swinging = false if att then att:Destroy() att = nil end if handAtt then handAtt:Destroy() handAtt = nil end if anchor then anchor:Destroy() anchor = nil end if not keep and not diving then recoverControl() end end local function stopWeb(release) local root = getRoot() if release and swinging and root then local v = root.AssemblyLinearVelocity if v.Magnitude > 1 then root:ApplyImpulse(V(0, root.AssemblyMass * 35, 0) + v.Unit * root.AssemblyMass * 25) end end cleanup() end local function getHand() local c = getChar() if not c then return nil end if shootArm == "r" then return c:FindFirstChild("RightHand") or c:FindFirstChild("Right Arm") end return c:FindFirstChild("LeftHand") or c:FindFirstChild("Left Arm") end local function startWeb(chain) local root, hum = getRoot(), getHum() if not root or not hum then return end local pos, look = pickAnchor(root) if not pos then if chain then cleanup() else toast("Sem prédio por perto") end return end stopDive(false, true) cleanup(true) swingDir = look if sideSign == 1 then shootArm = "r" else shootArm = "l" end anchor = Instance.new("Part") anchor.Anchored = true anchor.CanCollide = false anchor.CanQuery = false anchor.Transparency = 1 anchor.Size = Vector3.new(0.5, 0.5, 0.5) anchor.Position = pos anchor.Parent = workspace local a0 = Instance.new("Attachment", anchor) att = Instance.new("Attachment", root) local dist = (root.Position - pos).Magnitude len = dist minLen = math.max(MIN_LEN, dist * 0.45) local from = att local hand = getHand() if hand then handAtt = Instance.new("Attachment", hand) from = handAtt end local beam = Instance.new("Beam") beam.Attachment0 = from beam.Attachment1 = a0 beam.Width0 = 0.14 beam.Width1 = 0.14 beam.FaceCamera = true beam.LightEmission = 0.6 beam.Color = ColorSequence.new(Color3.new(1, 1, 1)) beam.Parent = anchor swinging = true swingStart = tick() hum.AutoRotate = false hum.PlatformStand = true local power = 45 if chain then power = 18 end root:ApplyImpulse((pos - root.Position).Unit * root.AssemblyMass * power) setPose(swingPoseName()) end local function updateSwing(root, hum, dt) if not anchor then cleanup() return end local vel = root.AssemblyLinearVelocity local pos = root.Position local aPos = anchor.Position local d = pos - aPos local dist = d.Magnitude if dist < 0.5 then cleanup() return end local n = d / dist -- corda sem folga, encurtando aos poucos if dist < len then len = dist end len = len - REEL * dt if len < minLen then len = minLen end -- impulso: mais forte quando está embaixo do ponto de apoio local below = math.clamp((aPos.Y - pos.Y) / dist, 0, 1) local v = vel if vel.Magnitude > 1 and vel.Magnitude < MAX_SPEED then v = v + vel.Unit * (BOOST * (0.3 + 0.7 * below)) * dt end v = v + hum.MoveDirection * STEER * dt -- chão: mola suave local ground = workspace:Raycast(pos, V(0, -10, 0), rayParams()) if ground then local k = 1 - ground.Distance / 10 v = v + V(0, (240 * k - 3 * v.Y * k) * dt, 0) end -- corda esticada: tira a velocidade pra fora e puxa de volta if dist >= len - 0.3 then local desired = -math.min(math.max(dist - len, 0) * 10, 40) local cur = v:Dot(n) if cur > desired then v = v + n * (desired - cur) end end -- corpo na direção do movimento, inclinado pro lado da teia local flatV = V(v.X, 0, v.Z) if flatV.Magnitude > 3 then swingDir = swingDir:Lerp(flatV.Unit, math.min(1, dt * 4)) end local tilt = -45 if firstPerson then tilt = -12 end local bank = 10 if shootArm == "r" then bank = -10 end if swingDir.Magnitude > 0.05 then local target = CFrame.lookAt(V(0, 0, 0), swingDir.Unit) * CFrame.Angles(math.rad(tilt), 0, math.rad(bank)) setOrientation(root, target, dt * 10) end root.AssemblyLinearVelocity = v -- troca de teia sozinho if holding and autoChain and tick() - swingStart > 0.7 and flatV.Magnitude > 15 then local toA = aPos - pos local flatA = V(toA.X, 0, toA.Z) if flatA.Magnitude > 1 and flatV.Unit:Dot(flatA.Unit) < -0.15 then root:ApplyImpulse(V(0, root.AssemblyMass * 25, 0)) startWeb(true) end end end local function updateAir(root, hum, dt) local vel = root.AssemblyLinearVelocity local grounded = hum.FloorMaterial ~= Enum.Material.Air if diving then local near = workspace:Raycast(root.Position, V(0, -DIVE_PULLUP, 0), rayParams()) if grounded or near or vel.Y > -5 then stopDive(near ~= nil and not grounded, false) return end local flatV = V(vel.X, 0, vel.Z) if flatV.Magnitude > 3 then diveDir = diveDir:Lerp(flatV.Unit, math.min(1, dt * 2)) end local v = vel + hum.MoveDirection * 60 * dt if diveDir.Magnitude > 0.01 then v = v + diveDir.Unit * 30 * dt end if vel.Magnitude < MAX_SPEED then v = v + V(0, -40 * dt, 0) end local pitch = -80 if firstPerson then pitch = -35 end if diveDir.Magnitude > 0.01 then local target = CFrame.lookAt(V(0, 0, 0), diveDir.Unit) * CFrame.Angles(math.rad(pitch), 0, 0) setOrientation(root, target, dt * 6) end root.AssemblyLinearVelocity = v else if autoDive and not recovering and tick() > diveCooldown and not grounded and vel.Y < -DIVE_FALL_SPEED then local near = workspace:Raycast(root.Position, V(0, -(DIVE_PULLUP + 8), 0), rayParams()) if not near then startDive(root, hum) end end if isSwing(poseName) and (grounded or tick() - swingEnd > 0.7) then setPose(nil) end end end RunService.Heartbeat:Connect(function(dt) local c = getChar() local root, hum = getRoot(), getHum() if not c or not root or not hum or hum.Health <= 0 then return end local aer = swinging or diving if c:GetAttribute("Aerial") ~= aer then c:SetAttribute("Aerial", aer) end if swinging then updateSwing(root, hum, dt) else updateAir(root, hum, dt) end end) -- DASH E PULO local function dash() local root = getRoot() if not root or tick() - lastDash < 1 then return end lastDash = tick() root:ApplyImpulse(workspace.CurrentCamera.CFrame.LookVector * root.AssemblyMass * 90) end local function superJump() local root = getRoot() if not root then return end local v = root.AssemblyLinearVelocity root.AssemblyLinearVelocity = V(v.X, 110, v.Z) setPose("jump") task.delay(0.6, function() if poseName == "jump" then setPose(nil) end end) end -- PRIMEIRA PESSOA local function toggleFirstPerson() firstPerson = not firstPerson if firstPerson then player.CameraMode = Enum.CameraMode.LockFirstPerson else player.CameraMode = Enum.CameraMode.Classic local c = getChar() if c then for _, d in ipairs(c:GetDescendants()) do if d:IsA("BasePart") then d.LocalTransparencyModifier = 0 end end end player.CameraMinZoomDistance = 12 task.wait(0.1) player.CameraMinZoomDistance = 0.5 end if swinging then setPose(swingPoseName()) elseif diving then setPose(divePoseName()) end end -- CÂMERA SEM TREMER local oldFocus = workspace:FindFirstChild("CamFocus") if oldFocus then oldFocus:Destroy() end local focus = Instance.new("Part") focus.Name = "CamFocus" focus.Anchored = true focus.CanCollide = false focus.CanQuery = false focus.CanTouch = false focus.Transparency = 1 focus.Size = Vector3.new(0.2, 0.2, 0.2) focus.Parent = workspace local focusActive = false local focusPos = V(0, 0, 0) pcall(function() RunService:UnbindFromRenderStep("SpiderFocus") end) pcall(function() RunService:UnbindFromRenderStep("SpiderCamera") end) RunService:BindToRenderStep("SpiderFocus", Enum.RenderPriority.Camera.Value - 1, function(dt) local root, hum = getRoot(), getHum() if not root or not hum then return end local cam = workspace.CurrentCamera local want = (swinging or diving) and not firstPerson local target = root.Position + V(0, 1.5, 0) if want then if not focusActive then focusActive = true focusPos = target cam.CameraSubject = focus end focusPos = focusPos:Lerp(target, math.min(1, dt * 25)) focus.CFrame = CFrame.new(focusPos) elseif focusActive then focusActive = false cam.CameraSubject = hum end end) local smoothSpeed = 0 RunService:BindToRenderStep("SpiderCamera", Enum.RenderPriority.Camera.Value + 1, function(dt) local cam = workspace.CurrentCamera local root, hum = getRoot(), getHum() if not root or not hum then return end local vel = root.AssemblyLinearVelocity smoothSpeed = smoothSpeed + (vel.Magnitude - smoothSpeed) * math.min(1, dt * 3) local targetFov = 70 + math.clamp(smoothSpeed - 20, 0, 150) * 0.15 cam.FieldOfView = cam.FieldOfView + (targetFov - cam.FieldOfView) * math.min(1, dt * 3) if firstPerson then local c = getChar() if c then for _, d in ipairs(c:GetDescendants()) do if d:IsA("BasePart") then if d.Name == "Head" or d:FindFirstAncestorOfClass("Accessory") then d.LocalTransparencyModifier = 1 else d.LocalTransparencyModifier = 0 end end end end local bob = 0 if hum.FloorMaterial ~= Enum.Material.Air and hum.MoveDirection.Magnitude > 0 then bob = math.sin(tick() * 10) * 0.08 end hum.CameraOffset = hum.CameraOffset:Lerp(V(0, 0.15 + bob, -0.7), 0.3) elseif hum.CameraOffset ~= V(0, 0, 0) then hum.CameraOffset = V(0, 0, 0) end if CAMERA_ROLL > 0 then local targetRoll = 0 if swinging then local rel = cam.CFrame:VectorToObjectSpace(vel) targetRoll = math.clamp(-rel.X / 80, -1, 1) * math.rad(CAMERA_ROLL) end roll = roll + (targetRoll - roll) * math.min(1, dt * 2) cam.CFrame = cam.CFrame * CFrame.Angles(0, 0, roll) end end) -- BOTÕES local pg = player:WaitForChild("PlayerGui") local oldGui = pg:FindFirstChild("PoderesGui") if oldGui then oldGui:Destroy() end local gui = Instance.new("ScreenGui") gui.Name = "PoderesGui" gui.ResetOnSpawn = false gui.Parent = pg local function isPress(i) return i.UserInputType == Enum.UserInputType.Touch or i.UserInputType == Enum.UserInputType.MouseButton1 end local function makeButton(text, pos, size, onDown, onUp) local b = Instance.new("TextButton") b.Text = text b.Size = UDim2.new(0, size, 0, size) b.AnchorPoint = Vector2.new(1, 0.5) b.Position = pos b.BackgroundColor3 = Color3.fromRGB(200, 30, 30) b.TextColor3 = Color3.new(1, 1, 1) b.TextScaled = true b.Font = Enum.Font.GothamBold Instance.new("UICorner", b).CornerRadius = UDim.new(1, 0) b.Parent = gui b.InputBegan:Connect(function(i) if isPress(i) then onDown() end end) b.InputEnded:Connect(function(i) if isPress(i) and onUp then onUp() end end) end local function pressWeb() holding = true startWeb(false) end local function releaseWeb() holding = false stopWeb(true) end makeButton("Teia", UDim2.new(1, -20, 0.5, -90), 75, pressWeb, releaseWeb) makeButton("Dash", UDim2.new(1, -20, 0.5, 0), 75, dash) makeButton("Pulo", UDim2.new(1, -20, 0.5, 90), 75, superJump) makeButton("1ª Pessoa", UDim2.new(0.5, 120, 0, 45), 60, toggleFirstPerson) -- CONFIGURAÇÕES local WHITE = Color3.new(1, 1, 1) local toastLabel = Instance.new("TextLabel") toastLabel.Size = UDim2.new(0, 260, 0, 34) toastLabel.AnchorPoint = Vector2.new(0.5, 0) toastLabel.Position = UDim2.new(0.5, 0, 0, 100) toastLabel.BackgroundColor3 = Color3.fromRGB(25, 25, 30) toastLabel.BackgroundTransparency = 0.2 toastLabel.TextColor3 = WHITE toastLabel.Font = Enum.Font.GothamBold toastLabel.TextSize = 18 toastLabel.Visible = false toastLabel.ZIndex = 30 toastLabel.Parent = gui Instance.new("UICorner", toastLabel).CornerRadius = UDim.new(0, 8) local toastToken = 0 toast = function(text) toastToken = toastToken + 1 local my = toastToken toastLabel.Text = text toastLabel.Visible = true task.delay(1.5, function() if toastToken == my then toastLabel.Visible = false end end) end local panel = Instance.new("Frame") panel.Size = UDim2.new(0, 330, 0, 240) panel.AnchorPoint = Vector2.new(0.5, 0.5) panel.Position = UDim2.new(0.5, 0, 0.5, 0) panel.BackgroundColor3 = Color3.fromRGB(25, 25, 30) panel.BorderSizePixel = 0 panel.Visible = false panel.ZIndex = 20 panel.Parent = gui Instance.new("UICorner", panel).CornerRadius = UDim.new(0, 12) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -60, 0, 36) title.Position = UDim2.new(0, 14, 0, 6) title.BackgroundTransparency = 1 title.Text = "Configurações" title.TextColor3 = WHITE title.Font = Enum.Font.GothamBold title.TextSize = 22 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = panel local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 32, 0, 32) closeBtn.Position = UDim2.new(1, -42, 0, 8) closeBtn.BackgroundColor3 = Color3.fromRGB(170, 40, 40) closeBtn.Text = "X" closeBtn.TextColor3 = WHITE closeBtn.Font = Enum.Font.GothamBold closeBtn.TextSize = 18 closeBtn.Parent = panel Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 8) closeBtn.Activated:Connect(function() panel.Visible = false end) local function addToggle(order, text, getValue, setValue) local row = Instance.new("Frame") row.Size = UDim2.new(1, -24, 0, 44) row.Position = UDim2.new(0, 12, 0, 48 + (order - 1) * 54) row.BackgroundColor3 = Color3.fromRGB(40, 40, 48) row.BorderSizePixel = 0 row.Parent = panel Instance.new("UICorner", row).CornerRadius = UDim.new(0, 8) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -115, 1, 0) label.Position = UDim2.new(0, 10, 0, 0) label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = WHITE label.Font = Enum.Font.GothamBold label.TextSize = 15 label.TextWrapped = true label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = row local btn = Instance.new("TextButton") btn.Size = UDim2.new(0, 95, 0, 30) btn.Position = UDim2.new(1, -103, 0.5, -15) btn.Font = Enum.Font.GothamBold btn.TextSize = 14 btn.TextColor3 = WHITE btn.Parent = row Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8) local function refresh() if getValue() then btn.Text = "LIGADO" btn.BackgroundColor3 = Color3.fromRGB(40, 160, 70) else btn.Text = "DESLIGADO" btn.BackgroundColor3 = Color3.fromRGB(170, 40, 40) end end refresh() btn.Activated:Connect(function() setValue(not getValue()) refresh() end) end addToggle(1, "Balançar na teia no ar", function() return skyWeb end, function(v) skyWeb = v end) addToggle(2, "Trocar de teia sozinho", function() return autoChain end, function(v) autoChain = v end) addToggle(3, "Mergulho automático", function() return autoDive end, function(v) autoDive = v end) -- coloca cada parte do painel na frente do fundo for _, d in ipairs(panel:GetDescendants()) do if d:IsA("GuiObject") then local depth = 0 local p = d.Parent while p and p ~= panel do depth = depth + 1 p = p.Parent end d.ZIndex = 21 + depth end end local cfgBtn = Instance.new("TextButton") cfgBtn.Text = "Config" cfgBtn.Size = UDim2.new(0, 55, 0, 55) cfgBtn.AnchorPoint = Vector2.new(1, 0.5) cfgBtn.Position = UDim2.new(0.5, 255, 0, 45) cfgBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 70) cfgBtn.TextColor3 = WHITE cfgBtn.Font = Enum.Font.GothamBold cfgBtn.TextScaled = true cfgBtn.Parent = gui Instance.new("UICorner", cfgBtn).CornerRadius = UDim.new(1, 0) cfgBtn.Activated:Connect(function() panel.Visible = not panel.Visible end) UIS.InputBegan:Connect(function(i, gp) if gp then return end if i.KeyCode == Enum.KeyCode.E then pressWeb() elseif i.KeyCode == Enum.KeyCode.Q then dash() elseif i.KeyCode == Enum.KeyCode.F then superJump() elseif i.KeyCode == Enum.KeyCode.V then toggleFirstPerson() end end) UIS.InputEnded:Connect(function(i) if i.KeyCode == Enum.KeyCode.E then releaseWeb() end end) -- INÍCIO / RESPAWN local function hookChar(char) char:GetAttributeChangedSignal("CombatPose"):Connect(onCombatPose) end player.CharacterAdded:Connect(function(char) holding = false swinging = false diving = false recovering = false anchor, att, handAtt = nil, nil, nil poseName = nil focusActive = false hookChar(char) task.spawn(refreshJoints) end) task.spawn(function() if player.Character then hookChar(player.Character) refreshJoints() end end) -- FIM DO SCRIPT