OR4NG3-FRU1T

Untitled

May 31st, 2026
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.60 KB | None | 0 0
  1. local Players = game:GetService("Players"),
  2. local Run = game:GetService("RunService"),
  3. local Input = game:GetService("UserInputService"),
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage"),
  5. local Workspace = game:GetService("Workspace"),
  6. local TweenService = game:GetService("TweenService"),
  7. local TextChat = game:GetService("TextChatService"),
  8. local Http = game:GetService("HttpService"),
  9.  
  10. local LocalPlayer = Players.LocalPlayer
  11. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  12.  
  13. local Window = Rayfield:CreateWindow({
  14. Name = "PigSaken",
  15. LoadingTitle = "Loading...",
  16. LoadingSubtitle = "Oink Oink...",
  17. ToggleUIKeybind = "K",
  18. KeySystem = false,
  19. })
  20.  
  21. local Stamina = Window:CreateTab("Stamina")
  22. local ESPTab = Window:CreateTab("ESP")
  23.  
  24. local SprintingModule = require(
  25. ReplicatedStorage
  26. :WaitForChild("Systems")
  27. :WaitForChild("Character")
  28. :WaitForChild("Game")
  29. :WaitForChild("Sprinting")
  30. )
  31.  
  32. local defaultLoss = SprintingModule.StaminaLoss
  33. local defaultGain = SprintingModule.StaminaGain
  34.  
  35. local function applyStamina()
  36. if infStaminaEnabled then
  37. SprintingModule.StaminaLoss = 0
  38. SprintingModule.StaminaGain = 9999
  39. else
  40. SprintingModule.StaminaLoss = defaultLoss
  41. SprintingModule.StaminaGain = defaultGain
  42. end
  43. end
  44.  
  45. Stamina:CreateToggle({
  46. Name = "Inf Stamina",
  47. CurrentValue = false,
  48. Callback = function(v)
  49. infStaminaEnabled = v
  50. applyStamina()
  51. end
  52. })
  53.  
  54. local connection
  55.  
  56. local function getModule()
  57. local sprinting = ReplicatedStorage
  58. :WaitForChild("Systems")
  59. :WaitForChild("Character")
  60. :WaitForChild("Game")
  61. :WaitForChild("Sprinting")
  62.  
  63. return require(sprinting)
  64. end
  65.  
  66. local function createDisplay()
  67. local character = LocalPlayer.Character
  68. if not character then return nil end
  69.  
  70. local head = character:WaitForChild("Head")
  71.  
  72. pcall(function()
  73. head:FindFirstChild("StaminaDisplay"):Destroy()
  74. end)
  75.  
  76. local billboard = Instance.new("BillboardGui")
  77. billboard.Name = "StaminaDisplay"
  78. billboard.Size = UDim2.new(3, 0, 1, 0)
  79. billboard.StudsOffset = Vector3.new(0, 3.5, 0)
  80. billboard.AlwaysOnTop = true
  81. billboard.LightInfluence = 0
  82. billboard.Enabled = visualStaminaEnabled
  83. billboard.Parent = head
  84.  
  85. local textLabel = Instance.new("TextLabel")
  86. textLabel.Size = UDim2.new(1, 0, 1, 0)
  87. textLabel.BackgroundTransparency = 1
  88. textLabel.Font = Enum.Font.GothamBold
  89. textLabel.TextSize = 12
  90. textLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  91. textLabel.TextStrokeTransparency = 0.4
  92. textLabel.Text = "Stamina"
  93. textLabel.Parent = billboard
  94.  
  95. return textLabel
  96. end
  97.  
  98. local function updateDisplay(textLabel)
  99. local module = getModule()
  100.  
  101. local current = math.floor(module.Stamina or 0)
  102. local maxStam = module.MaxStamina or 100
  103.  
  104. textLabel.Text = "Stamina " .. current .. "/" .. maxStam
  105. end
  106.  
  107. local function setupCharacter()
  108. local textLabel = createDisplay()
  109. if not textLabel then return end
  110.  
  111. if connection then connection:Disconnect() end
  112.  
  113. connection = RunService.RenderStepped:Connect(function()
  114. if visualStaminaEnabled then
  115. pcall(updateDisplay, textLabel)
  116. end
  117. end)
  118. end
  119.  
  120. Stamina:CreateToggle({
  121. Name = "Visual Stamina",
  122. CurrentValue = false,
  123. Callback = function(v)
  124. visualStaminaEnabled = v
  125.  
  126. local char = LocalPlayer.Character
  127. if char then
  128. local head = char:FindFirstChild("Head")
  129. if head and head:FindFirstChild("StaminaDisplay") then
  130. head.StaminaDisplay.Enabled = v
  131. end
  132. end
  133. end
  134. })
  135.  
  136. applyStamina()
  137.  
  138. if LocalPlayer.Character then
  139. task.wait(1)
  140. setupCharacter()
  141. end
  142.  
  143. LocalPlayer.CharacterAdded:Connect(function()
  144. task.wait(2)
  145. applyStamina()
  146. setupCharacter()
  147. end)
  148.  
  149. task.spawn(function()
  150. local lastFire = 0
  151.  
  152. while task.wait(0.1) do
  153. if autoGenEnabled and tick() - lastFire >= autoGenCooldown then
  154. pcall(function()
  155. local mapFolder = Workspace:FindFirstChild("Map")
  156. and Workspace.Map:FindFirstChild("Ingame")
  157. and Workspace.Map.Ingame:FindFirstChild("Map")
  158.  
  159. if not mapFolder then return end
  160.  
  161. for _, gen in pairs(mapFolder:GetChildren()) do
  162. if gen.Name == "Generator"
  163. and gen:FindFirstChild("Remotes")
  164. and gen.Remotes:FindFirstChild("RE") then
  165.  
  166. gen.Remotes.RE:FireServer()
  167. end
  168. end
  169. end)
  170.  
  171. lastFire = tick()
  172. end
  173. end
  174. end)
  175.  
  176. local ESPState = {
  177. Killers = false,
  178. Survivors = false,
  179. Generators = false,
  180. Items = false
  181. }
  182.  
  183. ESPTab:CreateSection("Text ESP")
  184.  
  185. ESPTab:CreateToggle({ Name = "Killers ESP", Callback = function(v) ESPState.Killers = v end })
  186. ESPTab:CreateToggle({ Name = "Survivors ESP", Callback = function(v) ESPState.Survivors = v end })
  187. ESPTab:CreateToggle({ Name = "Generators ESP", Callback = function(v) ESPState.Generators = v end })
  188. ESPTab:CreateToggle({ Name = "Items ESP", Callback = function(v) ESPState.Items = v end })
  189.  
  190. local killersFolder = Workspace:WaitForChild("Players"):WaitForChild("Killers")
  191. local survivorsFolder = Workspace:WaitForChild("Players"):WaitForChild("Survivors")
  192. local itemsFolder = Workspace:FindFirstChild("Items")
  193.  
  194. local function getMapFolder()
  195. local map = Workspace:FindFirstChild("Map")
  196. if map and map:FindFirstChild("Ingame") then
  197. return map.Ingame:FindFirstChild("Map")
  198. end
  199. end
  200.  
  201. local function createESP(obj, color)
  202. if obj:FindFirstChild("ESP_Tag") then return end
  203.  
  204. local adornee = obj:FindFirstChild("Head")
  205. or obj:FindFirstChild("HumanoidRootPart")
  206. or obj:FindFirstChildWhichIsA("BasePart")
  207.  
  208. if not adornee then return end
  209.  
  210. local bb = Instance.new("BillboardGui")
  211. bb.Name = "ESP_Tag"
  212. bb.Adornee = adornee
  213. bb.Size = UDim2.new(0, 90, 0, 18)
  214. bb.StudsOffset = Vector3.new(0, 2, 0)
  215. bb.AlwaysOnTop = true
  216. bb.Enabled = false
  217. bb.Parent = obj
  218.  
  219. local label = Instance.new("TextLabel")
  220. label.Size = UDim2.fromScale(1, 1)
  221. label.BackgroundTransparency = 1
  222. label.TextSize = 9
  223. label.Font = Enum.Font.GothamBold
  224. label.TextStrokeTransparency = 0.5
  225. label.TextColor3 = color
  226. label.Text = obj.Name
  227. label.Parent = bb
  228. end
  229.  
  230. task.spawn(function()
  231. while task.wait(1.5) do
  232.  
  233. if ESPState.Killers then
  234. for _, k in pairs(killersFolder:GetChildren()) do
  235. if k:IsA("Model") then
  236. createESP(k, Color3.fromRGB(255, 0, 0))
  237. end
  238. end
  239. end
  240.  
  241. if ESPState.Survivors then
  242. for _, s in pairs(survivorsFolder:GetChildren()) do
  243. if s:IsA("Model") then
  244. createESP(s, Color3.fromRGB(0, 170, 255))
  245. end
  246. end
  247. end
  248.  
  249. if ESPState.Generators then
  250. local mapFolder = getMapFolder()
  251. if mapFolder then
  252. for _, gen in pairs(mapFolder:GetChildren()) do
  253. if gen.Name == "Generator" then
  254. createESP(gen, Color3.fromRGB(170, 0, 255))
  255. end
  256. end
  257. end
  258. end
  259.  
  260. if ESPState.Items and itemsFolder then
  261. for _, item in pairs(itemsFolder:GetChildren()) do
  262. createESP(item, Color3.fromRGB(0, 170, 255))
  263. end
  264. end
  265. end
  266. end)
  267.  
  268. RunService.RenderStepped:Connect(function()
  269.  
  270. for _, obj in pairs(killersFolder:GetChildren()) do
  271. local bb = obj:FindFirstChild("ESP_Tag")
  272. if bb then bb.Enabled = ESPState.Killers end
  273. end
  274.  
  275. for _, obj in pairs(survivorsFolder:GetChildren()) do
  276. local bb = obj:FindFirstChild("ESP_Tag")
  277. if bb then bb.Enabled = ESPState.Survivors end
  278. end
  279.  
  280. local mapFolder = getMapFolder()
  281. if mapFolder then
  282. for _, gen in pairs(mapFolder:GetChildren()) do
  283. local bb = gen:FindFirstChild("ESP_Tag")
  284. if bb then bb.Enabled = ESPState.Generators end
  285. end
  286. end
  287.  
  288. if itemsFolder then
  289. for _, item in pairs(itemsFolder:GetChildren()) do
  290. local bb = item:FindFirstChild("ESP_Tag")
  291. if bb then bb.Enabled = ESPState.Items end
  292. end
  293. end
  294.  
  295. end)
Advertisement
Add Comment
Please, Sign In to add comment