-- ModuleScript RobberyController (via bytefall decompiler) -- Decompiled using ByteFall -- discord.gg/pHTnqmmWzk local t1: {[any]: any} = {} local t2: {[any]: any} = {} local function CreateSound(p1) local sound: Sound = Instance.new("Sound", game.SoundService) sound.SoundId = ("rbxassetid://%*"):format(p1) return sound end local sound: Sound = Instance.new("Sound", game.SoundService) sound.SoundId = ("rbxassetid://%*"):format(2706199011) local sound2: Sound = Instance.new("Sound", game.SoundService) sound2.SoundId = ("rbxassetid://%*"):format(9113225979) local sound3: Sound = Instance.new("Sound", game.SoundService) sound3.SoundId = ("rbxassetid://%*"):format(9113225979) local sound4: Sound = Instance.new("Sound", game.SoundService) sound4.SoundId = ("rbxassetid://%*"):format(3908308607) local t3: {[any]: any} = { Grab = sound, Wood = sound2, Metal = sound3, Break = sound4 } CreateSound = if game["Run Service"]:IsStudio() then 10 else 420 local kick: Instance = script:WaitForChild("Kick") local function AddPrompt(p2, p3, p4) local proximityPrompt: ProximityPrompt = Instance.new("ProximityPrompt", p2) for iterFirst, iterSecond in p3 do proximityPrompt[iterFirst] = iterSecond end if p4 then proximityPrompt.Triggered:Connect(function(p5: Player) p4(proximityPrompt, p5) end) end return proximityPrompt end local function NotifyClient(p6, p7, p8) local lowerText = p7:lower() game.ReplicatedStorage.server:FireClient(p6, lowerText or "alert", p8) end local function PlaySound(parent, p10) local clone = t3[p10]:Clone() clone.Parent = parent clone.Volume = 4 clone:Play() game.Debris:AddItem(clone, clone.TimeLength) end local function PlayerAdded(player) local function CharacterAdded(p12) if not p12:IsDescendantOf(workspace) then p12.AncestryChanged:Wait() end local humanoid = p12:WaitForChild("Humanoid") t2[player] = humanoid:LoadAnimation(kick) humanoid.Died:Once(function() t2[player] = nil end) end player.CharacterAdded:Connect(CharacterAdded) if player.Character then CharacterAdded(player.Character) end end game.Players.PlayerAdded:Connect(PlayerAdded) game.Players.PlayerRemoving:Connect(function(player) t2[player] = nil end) local v14, v15 = game.Players:GetPlayers() for iterKey, iterValue in next, v14, v15 do task.spawn(PlayerAdded, iterValue) end return { SetupDoor = function(_, p15) if t1[p15] then return end local s1: string = if p15.Name == "HardDoor" then "Metal" else "Wood" local n1: number = if p15.Name == "HardDoor" then 7 else 5 local n2: number = n1 local takeTool = p15:WaitForChild("TakeTool") local takeMoney = p15:WaitForChild("TakeMoney") local unionOperation = p15.Door:FindFirstChildWhichIsA("UnionOperation") t1[p15] = Instance.new("Folder", game.ReplicatedStorage) local v44 = t1[p15] takeTool.Parent = t1[p15] takeMoney.Parent = v44 local function FlingDoor() local clone = unionOperation:Clone() clone.Parent = unionOperation.Parent clone.Transparency = 0 clone.CanCollide = true clone:ClearAllChildren() clone.Anchored = false game["Run Service"].Heartbeat:Wait() clone.AssemblyLinearVelocity = (unionOperation.Attachment.WorldPosition - clone.Position).Unit * 45 return task.delay(CreateSound * 0.3, function() local v77 = game.TweenService:Create(clone, TweenInfo.new(1), { Transparency = 1 }) v77:Play() game.Debris:AddItem(v77, 1) game.Debris:AddItem(clone, 1) end) end v44 = function(p16) local v60 = AddPrompt(p16, { ActionText = "Take", ObjectText = "$300", HoldDuration = 0.45, RequiresLineOfSight = false, MaxActivationDistance = 5 }, function(_, p18) if p16.Transparency == 0 then local clone = t3.Grab:Clone() clone.Parent = unionOperation clone.Volume = 4 clone:Play() game.Debris:AddItem(clone, clone.TimeLength) p16.Transparency = 1 local filthyStack = p18.stored.FilthyStack filthyStack.Value = filthyStack.Value + 300 local v82 = ("+$%* added to pocket."):format(300) local lowerText = ("Money"):lower() game.ReplicatedStorage.server:FireClient(p18, lowerText or "alert", v82) return end end) p16:GetPropertyChangedSignal("Transparency"):Connect(function() v60.Enabled = p16.Transparency == 0 p16.Decal.Transparency = p16.Transparency end) end local function SetupTool(p19) local basePart = p19:FindFirstChildWhichIsA("BasePart") local v63 = AddPrompt(basePart, { ActionText = "Take", RequiresLineOfSight = false, HoldDuration = 0.45, MaxActivationDistance = 5, ObjectText = p19.Name }, function(_, p21) if p19:GetAttribute("Transparency") == 0 then local clone = t3.Grab:Clone() clone.Parent = unionOperation clone.Volume = 4 clone:Play() game.Debris:AddItem(clone, clone.TimeLength) p19:SetAttribute("Transparency", 1) local v87 = game.ServerStorage.Tool556z:FindFirstChild(p19.Name) or game.Lighting:FindFirstChild(p19.Name) if v87 then local clone2 = v87:Clone() clone2.Parent = p21.Backpack end local v89 = ("+%*"):format(p19.Name) local lowerText = ("Money"):lower() game.ReplicatedStorage.server:FireClient(p21, lowerText or "alert", v89) return end end) p19:GetAttributeChangedSignal("Transparency"):Connect(function() local transparency = p19:GetAttribute("Transparency") v63.Enabled = transparency == 0 local v92, v93 = p19:GetChildren() for iterKey, iterValue in next, v92, v93 do if iterValue:IsA("BasePart") or iterValue:IsA("UnionOperation") then iterValue.Transparency = transparency end end local v96, v97 = p19.SugarBox:GetChildren() for iterKey2, iterValue2 in next, v96, v97 do if iterValue2:IsA("Decal") then iterValue2.Transparency = transparency end end end) end AddPrompt(unionOperation, { ActionText = "Kick", ObjectText = "Hold", HoldDuration = 1, RequiresLineOfSight = true, MaxActivationDistance = 3 }, function(p22, player) if not t2[player] then return end if not p22.Enabled or n2 <= 0 then return end if (player.Character.HumanoidRootPart.Position - unionOperation.Position).Magnitude >= 8 then return end player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position, unionOperation.Position) t2[player]:Play() n2 -= 1 local clone = t3[s1]:Clone() clone.Parent = unionOperation clone.Volume = 4 clone:Play() game.Debris:AddItem(clone, clone.TimeLength) if n2 <= 0 then local clone3 = t3.Break:Clone() clone3.Parent = unionOperation clone3.Volume = 4 clone3:Play() game.Debris:AddItem(clone3, clone3.TimeLength) p22.Enabled = false unionOperation.Transparency = 1 unionOperation.CanCollide = false local v68, v69 = takeMoney:GetChildren() for iterKey, iterValue in next, v68, v69 do iterValue.Transparency = 0 end local v72, v73 = takeTool:GetChildren() for iterKey2, iterValue2 in next, v72, v73 do iterValue2:SetAttribute("Transparency", 0) end takeTool.Parent = p15 takeMoney.Parent = p15 task.spawn(FlingDoor) task.wait(CreateSound) local parent = t1[p15] takeTool.Parent = t1[p15] takeMoney.Parent = parent n2 = n1 unionOperation.CanCollide = true unionOperation.Transparency = 0 p22.Enabled = true end end) takeTool.ChildAdded:Connect(SetupTool) takeMoney.ChildAdded:Connect(v44) local v47, v48 = takeTool:GetChildren() for iterKey, iterValue in next, v47, v48 do task.spawn(SetupTool, iterValue) end local v51, v52 = takeMoney:GetChildren() for iterKey2, iterValue2 in next, v51, v52 do task.spawn(v44, iterValue2) end end }