local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local SoundService = game:GetService("SoundService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local Camera = workspace.CurrentCamera local function initializeScript() local FlingGui = Instance.new("ScreenGui") FlingGui.Name = "DarkMatterUI" FlingGui.ResetOnSpawn = false local success = pcall(function() FlingGui.Parent = game:GetService("CoreGui") end) if not success then FlingGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end local activeNotifs = {} local NOTIF_HEIGHT = 28 local PADDING = 2 local rageActive = false local freecamConnection = nil local statusLabel = Instance.new("TextLabel") statusLabel.Name = "RageStatus" statusLabel.Size = UDim2.new(0, 200, 0, 20) statusLabel.Position = UDim2.new(0, 10, 1, -30) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "rage bot: off [r]" statusLabel.TextColor3 = Color3.fromRGB(160, 30, 255) statusLabel.Font = Enum.Font.Arcade statusLabel.TextSize = 18 statusLabel.TextXAlignment = Enum.TextXAlignment.Left statusLabel.Parent = FlingGui local function updateNotifPositions() for i, notif in ipairs(activeNotifs) do local targetY = -25 - ((i - 1) * (NOTIF_HEIGHT + PADDING)) local targetPos = UDim2.new(0.5, 0, 1, targetY) local tween = TweenService:Create(notif, TweenInfo.new(0.15, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = targetPos}) tween:Play() end end local function sendNotification(targetName) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 240, 0, NOTIF_HEIGHT) frame.Position = UDim2.new(0.5, 0, 1, 50) frame.AnchorPoint = Vector2.new(0.5, 1) frame.BackgroundColor3 = Color3.fromRGB(12, 8, 18) frame.BorderSizePixel = 0 local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(160, 30, 255) stroke.Thickness = 2 stroke.LineJoinMode = Enum.LineJoinMode.Miter stroke.Parent = frame local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(1, -10, 1, 0) textLabel.Position = UDim2.new(0, 8, 0, 0) textLabel.BackgroundTransparency = 1 textLabel.Text = string.lower("flung " .. targetName) textLabel.TextColor3 = Color3.fromRGB(230, 190, 255) textLabel.TextXAlignment = Enum.TextXAlignment.Left textLabel.Font = Enum.Font.Arcade textLabel.TextSize = 18 textLabel.Parent = frame frame.Parent = FlingGui table.insert(activeNotifs, 1, frame) updateNotifPositions() task.delay(2, function() local index = table.find(activeNotifs, frame) if index then table.remove(activeNotifs, index) end local outTween = TweenService:Create(frame, TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.In), { Position = UDim2.new(0.5, 0, 1, frame.Position.Y.Offset + 30), BackgroundTransparency = 1 }) TweenService:Create(textLabel, TweenInfo.new(0.15), {TextTransparency = 1}):Play() TweenService:Create(stroke, TweenInfo.new(0.15), {Transparency = 1}):Play() outTween:Play() outTween.Completed:Wait() frame:Destroy() updateNotifPositions() end) end local hitSoundId = "" local fileName = "hitsound.mp3" local fileUrl = "https://github.com/Ps4sro/loifeisroblaox/raw/refs/heads/main/hitsound.mp3" if type(isfile) == "function" and type(writefile) == "function" and type(getcustomasset) == "function" then pcall(function() if not isfile(fileName) then local dlFrame = Instance.new("Frame") dlFrame.Size = UDim2.new(0, 300, 0, 40) dlFrame.Position = UDim2.new(0.5, 0, 0.5, 0) dlFrame.AnchorPoint = Vector2.new(0.5, 0.5) dlFrame.BackgroundColor3 = Color3.fromRGB(12, 8, 18) dlFrame.BorderSizePixel = 0 local dlStroke = Instance.new("UIStroke") dlStroke.Color = Color3.fromRGB(160, 30, 255) dlStroke.Thickness = 2 dlStroke.LineJoinMode = Enum.LineJoinMode.Miter dlStroke.Parent = dlFrame local dlText = Instance.new("TextLabel") dlText.Size = UDim2.new(1, 0, 1, 0) dlText.BackgroundTransparency = 1 dlText.Text = "DOWNLOADING ASSETS..." dlText.TextColor3 = Color3.fromRGB(230, 190, 255) dlText.Font = Enum.Font.Arcade dlText.TextSize = 20 dlText.Parent = dlFrame dlFrame.Parent = FlingGui RunService.RenderStepped:Wait() local audioData = game:HttpGet(fileUrl) writefile(fileName, audioData) dlFrame:Destroy() end hitSoundId = getcustomasset(fileName) end) end local isFlinging = false local function setupCloneAnimations(RealChar, CloneHum) local animator = CloneHum:FindFirstChildOfClass("Animator") if not animator then animator = Instance.new("Animator"); animator.Parent = CloneHum end local realAnimate = RealChar:FindFirstChild("Animate") local function getAnimId(stateName) if realAnimate and realAnimate:FindFirstChild(stateName) then for _, child in ipairs(realAnimate[stateName]:GetChildren()) do if child:IsA("Animation") then return child.AnimationId end end end return "" end local idleId = getAnimId("idle") or "rbxassetid://507766388" local walkId = getAnimId("walk") or "rbxassetid://507767714" local jumpId = getAnimId("jump") or "rbxassetid://507765000" local idleAnim = Instance.new("Animation") idleAnim.AnimationId = idleId local walkAnim = Instance.new("Animation") walkAnim.AnimationId = walkId local jumpAnim = Instance.new("Animation") jumpAnim.AnimationId = jumpId local idleTrack = animator:LoadAnimation(idleAnim) local walkTrack = animator:LoadAnimation(walkAnim) local jumpTrack = animator:LoadAnimation(jumpAnim) idleTrack:Play() local stateConn = CloneHum.StateChanged:Connect(function(_, newState) if newState == Enum.HumanoidStateType.Jumping or newState == Enum.HumanoidStateType.Freefall then idleTrack:Stop() walkTrack:Stop() if not jumpTrack.IsPlaying then jumpTrack:Play() end elseif newState == Enum.HumanoidStateType.Landed then jumpTrack:Stop() end end) local moveLoop = RunService.Heartbeat:Connect(function() if not CloneHum or not CloneHum.Parent then return end if CloneHum.MoveDirection.Magnitude > 0 then if not walkTrack.IsPlaying then walkTrack:Play() end if idleTrack.IsPlaying then idleTrack:Stop() end else if not idleTrack.IsPlaying then idleTrack:Play() end if walkTrack.IsPlaying then walkTrack:Stop() end end end) return function() stateConn:Disconnect() moveLoop:Disconnect() idleTrack:Stop() walkTrack:Stop() jumpTrack:Stop() end end local function swapCharacterSafely(newChar, newHum) local camCFrame = Camera.CFrame local camFocus = Camera.Focus local currentZoom = (camCFrame.Position - camFocus.Position).Magnitude local oldMin = LocalPlayer.CameraMinZoomDistance local oldMax = LocalPlayer.CameraMaxZoomDistance LocalPlayer.CameraMinZoomDistance = currentZoom LocalPlayer.CameraMaxZoomDistance = currentZoom Camera.CameraType = Enum.CameraType.Scriptable Camera.CFrame = camCFrame LocalPlayer.Character = newChar Camera.CameraSubject = newHum RunService.RenderStepped:Wait() Camera.CFrame = camCFrame Camera.CameraType = Enum.CameraType.Custom LocalPlayer.CameraMinZoomDistance = oldMin LocalPlayer.CameraMaxZoomDistance = oldMax end local function toggleFreecam(state) if state then if freecamConnection then return end local fcPart = Instance.new("Part") fcPart.Name = "FreecamBody" fcPart.Size = Vector3.new(1, 1, 1) fcPart.Transparency = 1 fcPart.Anchored = true fcPart.CanCollide = false fcPart.Position = Camera.CFrame.Position fcPart.Parent = workspace Camera.CameraSubject = fcPart freecamConnection = RunService.RenderStepped:Connect(function(dt) local speed = UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) and 35 or 150 local camDir = Camera.CFrame.LookVector local camRight = Camera.CFrame.RightVector local moveDir = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir = moveDir + camDir end if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir = moveDir - camDir end if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir = moveDir - camRight end if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir = moveDir + camRight end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDir = moveDir + Vector3.new(0, 1, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then moveDir = moveDir - Vector3.new(0, 1, 0) end if moveDir.Magnitude > 0 then moveDir = moveDir.Unit end fcPart.Position = fcPart.Position + (moveDir * speed * dt) end) else if freecamConnection then freecamConnection:Disconnect(); freecamConnection = nil end local fcPart = workspace:FindFirstChild("FreecamBody") local realHum = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") if fcPart and realHum then LocalPlayer.Character:PivotTo(fcPart.CFrame) end if fcPart then fcPart:Destroy() end if realHum then Camera.CameraSubject = realHum end end end local function executeSeamlessFling(targetRoot, targetName, isRage) if isFlinging then return end if targetRoot.Parent == LocalPlayer.Character or targetRoot.Parent.Name == "ActiveProxy" then return end isFlinging = true local RealChar = LocalPlayer.Character local RealRoot = RealChar:FindFirstChild("HumanoidRootPart") local RealHum = RealChar:FindFirstChildOfClass("Humanoid") if not RealRoot or not RealHum then isFlinging = false return end RealChar.Archivable = true local CloneRoot = nil if not isRage then local Clone = workspace:FindFirstChild("ActiveProxy") if not Clone then Clone = RealChar:Clone() Clone.Name = "ActiveProxy" for _, child in ipairs(Clone:GetDescendants()) do if child:IsA("LocalScript") and child.Name ~= "Animate" then child:Destroy() elseif child:IsA("Script") then child:Destroy() elseif child:IsA("BasePart") then child.CanCollide = false; child.Massless = true end end Clone.Parent = workspace CloneRoot = Clone:FindFirstChild("HumanoidRootPart") if CloneRoot then CloneRoot.CFrame = RealRoot.CFrame end setupCloneAnimations(RealChar, Clone:FindFirstChildOfClass("Humanoid")) swapCharacterSafely(Clone, Clone:FindFirstChildOfClass("Humanoid")) else CloneRoot = Clone:FindFirstChild("HumanoidRootPart") end end RealHum:ChangeState(Enum.HumanoidStateType.Physics) for _, part in ipairs(RealChar:GetDescendants()) do if part:IsA("BasePart") then part.LocalTransparencyModifier = 1 part.CanCollide = false part.Massless = true end end RealRoot.CanCollide = true local attackLoop = RunService.Heartbeat:Connect(function() if targetRoot and targetRoot.Parent and RealRoot and RealRoot.Parent then RealRoot.CFrame = targetRoot.CFrame * CFrame.new(0, 0.4, 0) RealRoot.AssemblyAngularVelocity = Vector3.new(0, 50000, 0) RealRoot.AssemblyLinearVelocity = Vector3.zero end end) task.wait(0.3) attackLoop:Disconnect() if not RealRoot or not RealRoot.Parent then isFlinging = false return end if not isRage and CloneRoot then RealRoot:PivotTo(CloneRoot.CFrame * CFrame.new(0, 150, 0)) else local fc = workspace:FindFirstChild("FreecamBody") if fc then RealRoot:PivotTo(fc.CFrame * CFrame.new(0, 150, 0)) else RealRoot:PivotTo(RealRoot.CFrame * CFrame.new(0, 150, 0)) end end RealRoot.Anchored = true RealRoot.AssemblyAngularVelocity = Vector3.zero RealRoot.AssemblyLinearVelocity = Vector3.zero if hitSoundId ~= "" then local sound = Instance.new("Sound", SoundService) sound.SoundId = hitSoundId; sound.Volume = 2; sound:Play() Debris:AddItem(sound, 3) end sendNotification(targetName) if not isRage then task.wait(0.5) if not RealRoot or not RealRoot.Parent or not RealChar or not RealChar.Parent then isFlinging = false return end RealRoot.AssemblyAngularVelocity = Vector3.zero RealRoot.AssemblyLinearVelocity = Vector3.zero if CloneRoot then RealRoot:PivotTo(CloneRoot.CFrame) task.wait(0.01) if not RealRoot or not RealRoot.Parent then isFlinging = false return end end RealRoot.Anchored = false for _, part in ipairs(RealChar:GetDescendants()) do if part:IsA("BasePart") then part.LocalTransparencyModifier = 0 part.Massless = false if part.Name == "Head" or part.Name:find("Torso") then part.CanCollide = true end end end if RealHum and RealHum.Parent then RealHum:ChangeState(Enum.HumanoidStateType.GettingUp) swapCharacterSafely(RealChar, RealHum) end local Clone = workspace:FindFirstChild("ActiveProxy") if Clone then Clone:Destroy() end else task.wait(0.05) if not RealRoot or not RealRoot.Parent then isFlinging = false return end RealRoot.AssemblyAngularVelocity = Vector3.zero RealRoot.Anchored = false end isFlinging = false end Mouse.Button1Down:Connect(function() local target = Mouse.Target if target and target.Parent:FindFirstChild("Humanoid") then local targetRoot = target.Parent:FindFirstChild("HumanoidRootPart") if targetRoot and target.Parent ~= LocalPlayer.Character and target.Parent.Name ~= "ActiveProxy" then executeSeamlessFling(targetRoot, target.Parent.Name, false) end end end) UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.R then rageActive = not rageActive statusLabel.Text = rageActive and "rage bot: on [r]" or "rage bot: off [r]" statusLabel.TextColor3 = rageActive and Color3.fromRGB(255, 40, 40) or Color3.fromRGB(160, 30, 255) if rageActive then local proxy = workspace:FindFirstChild("ActiveProxy") if proxy then proxy:Destroy() end local RealChar = LocalPlayer.Character if RealChar then for _, p in ipairs(RealChar:GetDescendants()) do if p:IsA("BasePart") then p.LocalTransparencyModifier = 1 p.CanCollide = false p.Massless = true end end end toggleFreecam(true) else toggleFreecam(false) local proxy = workspace:FindFirstChild("ActiveProxy") if proxy then proxy:Destroy() end local RealChar = LocalPlayer.Character if RealChar then for _, p in ipairs(RealChar:GetDescendants()) do if p:IsA("BasePart") then p.LocalTransparencyModifier = 0 p.Massless = false if p.Name == "Head" or p.Name:find("Torso") then p.CanCollide = true end end end end end end end) task.spawn(function() while task.wait(0.1) do if rageActive and not isFlinging then local fcPart = workspace:FindFirstChild("FreecamBody") if not fcPart then continue end for _, obj in ipairs(workspace:GetDescendants()) do if obj:IsA("Humanoid") and obj.Parent ~= LocalPlayer.Character and obj.Parent.Name ~= "ActiveProxy" and obj.Health > 0 then local tRoot = obj.Parent:FindFirstChild("HumanoidRootPart") if tRoot and (fcPart.Position - tRoot.Position).Magnitude < 400 then executeSeamlessFling(tRoot, obj.Parent.Name, true) task.wait(0.05) if not rageActive then break end end end end end end end) LocalPlayer.CharacterAdded:Connect(function(newChar) isFlinging = false if rageActive then task.spawn(function() local root = newChar:WaitForChild("HumanoidRootPart", 5) if not root then return end task.wait(0.1) for _, p in ipairs(newChar:GetDescendants()) do if p:IsA("BasePart") then p.LocalTransparencyModifier = 1 p.CanCollide = false p.Massless = true end end local fcPart = workspace:FindFirstChild("FreecamBody") if not fcPart then toggleFreecam(true) else Camera.CameraSubject = fcPart end end) end end) end local keyFileName = "darkmatter_key.txt" local hasKey = false if type(isfile) == "function" and type(readfile) == "function" then pcall(function() if isfile(keyFileName) and readfile(keyFileName) == "unlocked" then hasKey = true end end) end if hasKey then initializeScript() else local KeyGui = Instance.new("ScreenGui", game:GetService("CoreGui")) local gateFrame = Instance.new("Frame", KeyGui) gateFrame.Size = UDim2.new(0, 320, 0, 100) gateFrame.Position = UDim2.new(0.5, 0, 0.5, 0) gateFrame.AnchorPoint = Vector2.new(0.5, 0.5) gateFrame.BackgroundColor3 = Color3.fromRGB(12, 8, 18) gateFrame.BorderSizePixel = 0 local gateStroke = Instance.new("UIStroke", gateFrame) gateStroke.Color = Color3.fromRGB(160, 30, 255) gateStroke.Thickness = 2 gateStroke.LineJoinMode = Enum.LineJoinMode.Miter local questionLabel = Instance.new("TextLabel", gateFrame) questionLabel.Size = UDim2.new(1, 0, 0, 40) questionLabel.Position = UDim2.new(0, 0, 0, 10) questionLabel.BackgroundTransparency = 1 questionLabel.Text = "IS THIS THE KRUSTY KRAB?" questionLabel.TextColor3 = Color3.fromRGB(230, 190, 255) questionLabel.Font = Enum.Font.Arcade questionLabel.TextSize = 24 local inputTextBox = Instance.new("TextBox", gateFrame) inputTextBox.Size = UDim2.new(0, 280, 0, 30) inputTextBox.Position = UDim2.new(0.5, 0, 1, -40) inputTextBox.AnchorPoint = Vector2.new(0.5, 0) inputTextBox.BackgroundColor3 = Color3.fromRGB(20, 15, 25) inputTextBox.TextColor3 = Color3.fromRGB(255, 255, 255) inputTextBox.Font = Enum.Font.Arcade inputTextBox.TextSize = 18 inputTextBox.FocusLost:Connect(function(enterPressed) if enterPressed then if string.lower(inputTextBox.Text):gsub("[%p%c%s]", "") == "nothisispatrick" then if type(writefile) == "function" then writefile(keyFileName, "unlocked") end KeyGui:Destroy(); initializeScript() else questionLabel.Text = "WRONG."; task.wait(0.5) questionLabel.Text = "IS THIS THE KRUSTY KRAB?"; inputTextBox.Text = "" end end end) end