scriptify12

Bake or Die SCRIPT

Mar 25th, 2026
1,805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.56 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Bake or Die",
  5. LoadingTitle = "Bake or Die Interface",
  6. LoadingSubtitle = "Loaded Successfully",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = "BakeOrDie",
  10. FileName = "BakeConfig"
  11. },
  12. Discord = {
  13. Enabled = false,
  14. RememberJoins = true
  15. },
  16. KeySystem = false,
  17. })
  18.  
  19. -- Load ZAP module
  20. local ZAP = require(game:GetService("ReplicatedStorage").Client.ClientRemotes)
  21.  
  22. -- Services
  23. local Players = game:GetService("Players")
  24. local RunService = game:GetService("RunService")
  25.  
  26. -- ESP Variables
  27. local ESPFolder = Instance.new("Folder")
  28. ESPFolder.Name = "ESP"
  29. ESPFolder.Parent = game.CoreGui
  30.  
  31. -- ESP Settings
  32. local ESPConfig = {
  33. MonsterESP = false,
  34. ItemESP = false,
  35. ShowNames = true,
  36. ShowDistance = true,
  37. ShowHighlight = true
  38. }
  39.  
  40. -- Combat Tab
  41. local CombatTab = Window:CreateTab("Combat", 4483362458)
  42.  
  43. local CombatSection = CombatTab:CreateSection("Kill Aura")
  44.  
  45. local KillAuraToggle = CombatTab:CreateToggle({
  46. Name = "Kill Aura",
  47. CurrentValue = false,
  48. Flag = "KillAuraToggle",
  49. Callback = function(Value)
  50. _G.KillAuraEnabled = Value
  51. end,
  52. })
  53.  
  54. local AuraDistanceSlider = CombatTab:CreateSlider({
  55. Name = "Kill Aura Distance",
  56. Range = {10, 50},
  57. Increment = 5,
  58. Suffix = "Studs",
  59. CurrentValue = 25,
  60. Flag = "AuraDistance",
  61. Callback = function(Value)
  62. _G.AuraDistance = Value
  63. end,
  64. })
  65.  
  66. local KillAllButton = CombatTab:CreateButton({
  67. Name = "Kill All Zombies",
  68. Callback = function()
  69. local character = Players.LocalPlayer.Character
  70. if character and character:FindFirstChild("HumanoidRootPart") then
  71. for _, monster in pairs(workspace.Monsters:GetChildren()) do
  72. if monster:FindFirstChild("HumanoidRootPart") then
  73. ZAP.meleeAttack.fire({
  74. monsters = {monster},
  75. civilians = {},
  76. activeSlot = _G.WeaponSlot or 2
  77. })
  78. task.wait(0.1)
  79. end
  80. end
  81. end
  82. end,
  83. })
  84.  
  85. -- Items Tab
  86. local ItemsTab = Window:CreateTab("Items", 4483362458)
  87.  
  88. local ItemsSection = ItemsTab:CreateSection("Item Management")
  89.  
  90. local BringBodiesButton = ItemsTab:CreateButton({
  91. Name = "Bring Bodies",
  92. Callback = function()
  93. local character = Players.LocalPlayer.Character
  94. if character and character.PrimaryPart then
  95. for _, v in pairs(workspace.Interactables:GetChildren()) do
  96. if v:IsA("Model") and v:FindFirstChild("HumanoidRootPart") and not v:FindFirstChild("ProductPriceTag") then
  97. v.PrimaryPart.CFrame = character.PrimaryPart.CFrame
  98. task.wait(0.05)
  99. end
  100. end
  101. end
  102. end,
  103. })
  104.  
  105. local BringAllItemsButton = ItemsTab:CreateButton({
  106. Name = "Bring All Items",
  107. Callback = function()
  108. local character = Players.LocalPlayer.Character
  109. if character and character.PrimaryPart then
  110. for _, v in pairs(workspace.Interactables:GetChildren()) do
  111. if v:IsA("Model") and not v:FindFirstChild("ProductPriceTag") and v.PrimaryPart then
  112. v.PrimaryPart.CFrame = character.PrimaryPart.CFrame
  113. task.wait(0.05)
  114. end
  115. end
  116. end
  117. end,
  118. })
  119.  
  120. -- Player Tab
  121. local PlayerTab = Window:CreateTab("Player", 4483362458)
  122.  
  123. local PlayerSection = PlayerTab:CreateSection("Character Settings")
  124.  
  125. local WalkSpeedSlider = PlayerTab:CreateSlider({
  126. Name = "WalkSpeed",
  127. Range = {16, 200},
  128. Increment = 5,
  129. Suffix = "Speed",
  130. CurrentValue = 16,
  131. Flag = "WalkSpeed",
  132. Callback = function(Value)
  133. _G.WalkSpeed = Value
  134. local character = Players.LocalPlayer.Character
  135. if character and character:FindFirstChild("Humanoid") then
  136. character.Humanoid.WalkSpeed = Value
  137. end
  138. end,
  139. })
  140.  
  141. local JumpPowerSlider = PlayerTab:CreateSlider({
  142. Name = "JumpPower",
  143. Range = {50, 200},
  144. Increment = 10,
  145. Suffix = "Power",
  146. CurrentValue = 50,
  147. Flag = "JumpPower",
  148. Callback = function(Value)
  149. _G.JumpPower = Value
  150. local character = Players.LocalPlayer.Character
  151. if character and character:FindFirstChild("Humanoid") then
  152. character.Humanoid.JumpPower = Value
  153. end
  154. end,
  155. })
  156.  
  157. local SlotDropdown = PlayerTab:CreateDropdown({
  158. Name = "Weapon Slot",
  159. Options = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10"},
  160. CurrentOption = "2",
  161. Flag = "WeaponSlot",
  162. Callback = function(Option)
  163. _G.WeaponSlot = tonumber(Option)
  164. end,
  165. })
  166.  
  167. -- ESP Tab
  168. local ESPTab = Window:CreateTab("ESP", 4483362458)
  169.  
  170. local ESPSection = ESPTab:CreateSection("ESP Types")
  171.  
  172. local MonsterESPToggle = ESPTab:CreateToggle({
  173. Name = "Monster ESP",
  174. CurrentValue = false,
  175. Flag = "MonsterESP",
  176. Callback = function(Value)
  177. ESPConfig.MonsterESP = Value
  178. UpdateESP()
  179. end,
  180. })
  181.  
  182. local ItemESPToggle = ESPTab:CreateToggle({
  183. Name = "Item ESP",
  184. CurrentValue = false,
  185. Flag = "ItemESP",
  186. Callback = function(Value)
  187. ESPConfig.ItemESP = Value
  188. UpdateESP()
  189. end,
  190. })
  191.  
  192. local ESPSettingsSection = ESPTab:CreateSection("ESP Settings")
  193.  
  194. local ShowNamesToggle = ESPTab:CreateToggle({
  195. Name = "Show Names",
  196. CurrentValue = true,
  197. Flag = "ShowNames",
  198. Callback = function(Value)
  199. ESPConfig.ShowNames = Value
  200. UpdateESP()
  201. end,
  202. })
  203.  
  204. local ShowDistanceToggle = ESPTab:CreateToggle({
  205. Name = "Show Distance",
  206. CurrentValue = true,
  207. Flag = "ShowDistance",
  208. Callback = function(Value)
  209. ESPConfig.ShowDistance = Value
  210. UpdateESP()
  211. end,
  212. })
  213.  
  214. local ShowHighlightToggle = ESPTab:CreateToggle({
  215. Name = "Show Highlight",
  216. CurrentValue = true,
  217. Flag = "ShowHighlight",
  218. Callback = function(Value)
  219. ESPConfig.ShowHighlight = Value
  220. UpdateESP()
  221. end,
  222. })
  223.  
  224. -- ESP Functions
  225. function CreateESP(part, color, name, distance)
  226. local espGroup = {}
  227.  
  228. -- Billboard GUI for text
  229. if ESPConfig.ShowNames or ESPConfig.ShowDistance then
  230. local billboard = Instance.new("BillboardGui")
  231. billboard.Name = name .. "_Billboard"
  232. billboard.Adornee = part
  233. billboard.Size = UDim2.new(0, 200, 0, 50)
  234. billboard.StudsOffset = Vector3.new(0, 3, 0)
  235. billboard.AlwaysOnTop = true
  236. billboard.Parent = ESPFolder
  237.  
  238. local textLabel = Instance.new("TextLabel")
  239. textLabel.Size = UDim2.new(1, 0, 1, 0)
  240. textLabel.BackgroundTransparency = 1
  241. textLabel.Text = ""
  242.  
  243. if ESPConfig.ShowNames and ESPConfig.ShowDistance then
  244. textLabel.Text = name .. "\n" .. math.floor(distance) .. " studs"
  245. elseif ESPConfig.ShowNames then
  246. textLabel.Text = name
  247. elseif ESPConfig.ShowDistance then
  248. textLabel.Text = math.floor(distance) .. " studs"
  249. end
  250.  
  251. textLabel.TextColor3 = color
  252. textLabel.TextSize = 14
  253. textLabel.Font = Enum.Font.GothamBold
  254. textLabel.TextStrokeTransparency = 0
  255. textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  256. textLabel.Parent = billboard
  257.  
  258. table.insert(espGroup, billboard)
  259. end
  260.  
  261. -- Highlight
  262. if ESPConfig.ShowHighlight then
  263. local highlight = Instance.new("Highlight")
  264. highlight.Name = name .. "_Highlight"
  265. highlight.Adornee = part
  266. highlight.FillColor = color
  267. highlight.OutlineColor = Color3.new(1, 1, 1)
  268. highlight.FillTransparency = 0.3
  269. highlight.OutlineTransparency = 0
  270. highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  271. highlight.Parent = ESPFolder
  272. table.insert(espGroup, highlight)
  273. end
  274.  
  275. return espGroup
  276. end
  277.  
  278. function ClearESP()
  279. for _, child in pairs(ESPFolder:GetChildren()) do
  280. child:Destroy()
  281. end
  282. end
  283.  
  284. function UpdateESP()
  285. ClearESP()
  286.  
  287. local character = Players.LocalPlayer.Character
  288. if not character or not character:FindFirstChild("HumanoidRootPart") then return end
  289. local playerRoot = character.HumanoidRootPart
  290.  
  291. -- Monster ESP
  292. if ESPConfig.MonsterESP then
  293. for _, monster in pairs(workspace.Monsters:GetChildren()) do
  294. if monster:IsA("Model") then
  295. -- Try to find any valid part for highlighting
  296. local targetPart = monster:FindFirstChild("HumanoidRootPart") or monster:FindFirstChild("Head") or monster.PrimaryPart
  297. if targetPart then
  298. local distance = (playerRoot.Position - targetPart.Position).Magnitude
  299. CreateESP(targetPart, Color3.fromRGB(255, 50, 50), "Monster: " .. monster.Name, distance)
  300. end
  301. end
  302. end
  303. end
  304.  
  305. -- Item ESP (Bodies and Items)
  306. if ESPConfig.ItemESP then
  307. for _, item in pairs(workspace.Interactables:GetChildren()) do
  308. if item:IsA("Model") then
  309. -- Check if it's a body (has HumanoidRootPart) or regular item (no price tag)
  310. local isBody = item:FindFirstChild("HumanoidRootPart")
  311. local isItem = not item:FindFirstChild("ProductPriceTag")
  312.  
  313. if isBody or isItem then
  314. local targetPart = item:FindFirstChild("HumanoidRootPart") or item.PrimaryPart
  315. if targetPart then
  316. local distance = (playerRoot.Position - targetPart.Position).Magnitude
  317. local espName = isBody and "Body: " .. item.Name or "Item: " .. item.Name
  318. local espColor = isBody and Color3.fromRGB(255, 165, 0) or Color3.fromRGB(50, 255, 50)
  319. CreateESP(targetPart, espColor, espName, distance)
  320. end
  321. end
  322. end
  323. end
  324. end
  325. end
  326.  
  327. -- Info Tab
  328. local InfoTab = Window:CreateTab("Info", 4483362458)
  329.  
  330. local InfoSection = InfoTab:CreateSection("Information")
  331.  
  332. local InfoParagraph = InfoTab:CreateParagraph({
  333. Title = "Bake or Die Script",
  334. Content = "• Kill Aura with adjustable distance\n• Kill All Zombies button\n• Bring Bodies & Items\n• WalkSpeed & JumpPower sliders\n• Monster & Item ESP (can be both on)\n• ESP Settings: Names, Distance, Highlight\n• Weapon slot selection"
  335. })
  336.  
  337. -- Kill Aura Loop
  338. task.spawn(function()
  339. while true do
  340. task.wait()
  341. if _G.KillAuraEnabled then
  342. local character = Players.LocalPlayer.Character
  343. if character and character:FindFirstChild("HumanoidRootPart") then
  344. local root = character.HumanoidRootPart
  345. local slot = _G.WeaponSlot or 2
  346. local distance = _G.AuraDistance or 25
  347.  
  348. for _, monster in pairs(workspace.Monsters:GetChildren()) do
  349. if monster:FindFirstChild("HumanoidRootPart") then
  350. local monsterDistance = (root.Position - monster.HumanoidRootPart.Position).Magnitude
  351. if monsterDistance < distance then
  352. ZAP.meleeAttack.fire({
  353. monsters = {monster},
  354. civilians = {},
  355. activeSlot = slot
  356. })
  357. break
  358. end
  359. end
  360. end
  361. end
  362. end
  363. end
  364. end)
  365.  
  366. -- Character Stats Loop
  367. task.spawn(function()
  368. while true do
  369. task.wait(1)
  370. local character = Players.LocalPlayer.Character
  371. if character and character:FindFirstChild("Humanoid") then
  372. if _G.WalkSpeed then
  373. character.Humanoid.WalkSpeed = _G.WalkSpeed
  374. end
  375. if _G.JumpPower then
  376. character.Humanoid.JumpPower = _G.JumpPower
  377. end
  378. end
  379. end
  380. end)
  381.  
  382. -- ESP Update Loop
  383. task.spawn(function()
  384. while true do
  385. task.wait(0.5)
  386. if ESPConfig.MonsterESP or ESPConfig.ItemESP then
  387. UpdateESP()
  388. else
  389. ClearESP()
  390. end
  391. end
  392. end)
  393.  
  394. -- Notification
  395. Rayfield:Notify({
  396. Title = "Bake or Die Script Loaded",
  397. Content = "All features are now available!",
  398. Duration = 5,
  399. Image = 4483362458,
  400. Actions = {
  401. Ignore = {
  402. Name = "Okay!",
  403. Callback = function()
  404. print("Bake or Die Script is ready!")
  405. end
  406. },
  407. },
  408. })
Advertisement
Add Comment
Please, Sign In to add comment