Advertisement
Kin2608

Pilgrammed script

Sep 2nd, 2024
1,537
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | Gaming | 0 1
  1. -- Load the Orion library
  2. local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Orion/main/source"))()
  3.  
  4. -- Create the main window
  5. local Window = OrionLib:MakeWindow({
  6. Name = "Pilgrmageddon Automation",
  7. HidePremium = true,
  8. IntroText = "Pilgrmageddon Script"
  9. })
  10.  
  11. -- Get the player and character
  12. local player = game.Players.LocalPlayer
  13. local character = player.Character or player.CharacterAdded:Wait()
  14.  
  15. -- Function to enable God Mode
  16. local function enableGodMode()
  17. local humanoid = character:FindFirstChildOfClass("Humanoid")
  18. if humanoid then
  19. humanoid:GetPropertyChangedSignal("Health"):Connect(function()
  20. humanoid.Health = humanoid.MaxHealth -- Prevents health from dropping
  21. end)
  22. humanoid.MaxHealth = math.huge
  23. humanoid.Health = math.huge
  24. print("God Mode Enabled")
  25. else
  26. print("Humanoid not found")
  27. end
  28. end
  29.  
  30. -- Function to set infinite mana
  31. local function setInfiniteMana()
  32. local mana = character:FindFirstChild("Mana") -- Update with the actual mana object name if different
  33. if mana then
  34. mana.Changed:Connect(function()
  35. mana.Value = math.huge
  36. end)
  37. mana.Value = math.huge
  38. print("Infinite Mana Enabled")
  39. else
  40. print("Mana object not found")
  41. end
  42.  
  43. -- Optional: Removing cooldown
  44. for _, skill in pairs(character:GetChildren()) do
  45. if skill:IsA("Tool") or skill:IsA("ModuleScript") then -- Assuming skills are tools or modules
  46. skill.Cooldown = 0 -- Set cooldown to zero if such a property exists
  47. end
  48. end
  49. end
  50.  
  51. -- Function to delete nametags
  52. local function deleteNametags()
  53. for _, otherPlayer in pairs(game.Players:GetPlayers()) do
  54. local nametag = otherPlayer:FindFirstChild("PlayerGui") and otherPlayer.PlayerGui:FindFirstChild("Nametag")
  55. if nametag then
  56. nametag:Destroy()
  57. print("Nametag removed for player: " .. otherPlayer.Name)
  58. end
  59. end
  60. end
  61.  
  62. -- Function to auto-find and open chests
  63. local function findAndOpenChests()
  64. while true do
  65. for _, chest in pairs(workspace:GetDescendants()) do
  66. if chest.Name == "Chest" then
  67. -- Teleport to chest
  68. character.HumanoidRootPart.CFrame = chest.CFrame + Vector3.new(0, 3, 0) -- Slight offset above chest
  69. wait(0.5)
  70. -- Interact with chest (Replace with the actual interaction method)
  71. if chest:FindFirstChild("ClickDetector") then
  72. fireclickdetector(chest.ClickDetector)
  73. print("Opened chest at position: " .. tostring(chest.Position))
  74. wait(1)
  75. end
  76. end
  77. end
  78. wait(5) -- Wait before searching again
  79. end
  80. end
  81.  
  82. -- Function to find and interact with mirrors
  83. local function findMirrors()
  84. while true do
  85. for _, mirror in pairs(workspace:GetDescendants()) do
  86. if mirror.Name == "Mirror" then
  87. -- Teleport to mirror
  88. character.HumanoidRootPart.CFrame = mirror.CFrame + Vector3.new(0, 3, 0) -- Slight offset above mirror
  89. wait(0.5)
  90. -- Interact with mirror (Replace with the actual interaction method)
  91. if mirror:FindFirstChild("ClickDetector") then
  92. fireclickdetector(mirror.ClickDetector)
  93. print("Interacted with mirror at position: " .. tostring(mirror.Position))
  94. wait(1)
  95. end
  96. end
  97. end
  98. wait(5) -- Wait before searching again
  99. end
  100. end
  101.  
  102. -- Function to set high damage
  103. local function setHighDamage()
  104. for _, tool in pairs(character:GetChildren()) do
  105. if tool:IsA("Tool") and tool:FindFirstChild("Handle") then
  106. local damageScript = tool:FindFirstChildOfClass("Script") -- Assuming there's a script controlling damage
  107. if damageScript then
  108. local damageValue = damageScript:FindFirstChild("Damage") -- Look for the damage variable
  109. if damageValue then
  110. damageValue.Value = 99999 -- Set to a very high value
  111. print("Damage set to 99999 for tool: " .. tool.Name)
  112. end
  113. end
  114. end
  115. end
  116. end
  117.  
  118. -- Add Orion UI elements
  119. local tab = Window:MakeTab({
  120. Name = "Automation",
  121. Icon = "rbxassetid://4483345998",
  122. PremiumOnly = false
  123. })
  124.  
  125. tab:AddButton({
  126. Name = "Enable God Mode",
  127. Callback = enableGodMode
  128. })
  129.  
  130. tab:AddButton({
  131. Name = "Set Infinite Mana",
  132. Callback = setInfiniteMana
  133. })
  134.  
  135. tab:AddButton({
  136. Name = "Delete Nametags",
  137. Callback = deleteNametags
  138. })
  139.  
  140. tab:AddButton({
  141. Name = "Start Auto-Finding Chests",
  142. Callback = function()
  143. task.spawn(findAndOpenChests)
  144. end
  145. })
  146.  
  147. tab:AddButton({
  148. Name = "Start Finding Mirrors",
  149. Callback = function()
  150. task.spawn(findMirrors)
  151. end
  152. })
  153.  
  154. tab:AddButton({
  155. Name = "Set High Damage",
  156. Callback = setHighDamage
  157. })
  158.  
  159. -- Optional: Add a UI toggle to hide/show the Orion window
  160. OrionLib:MakeNotification({
  161. Name = "Script Loaded",
  162. Content = "Automation script is ready to use.",
  163. Image = "rbxassetid://4483345998",
  164. Time = 5
  165. })
Tags: new script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement