Advertisement
BUNBASTER7BLASTER

[UPD 🚨] Find The Auras [293] Auto Collect Aura [OPEN SOURCE, SINGLE USE]

Jul 23rd, 2024 (edited)
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.91 KB | None | 0 0
  1. --[[ SOLARA SUPPORTS, COLLECT AURAS, [UPD 🚨] Find The Auras [293]
  2. By BUNBASTER12BLASTER
  3. Was created for: https://www.roblox.com/games/17589670912/UPD-Find-The-Auras-293
  4. Script is for [UPD 🚨] Find The Auras [293] we don't accept any risk of ban
  5. Version: v0.4
  6. Update Date: 2024-07-22
  7. Discord Server: https://discord.gg/f7wyd42ws4
  8. Notice: Created on fast hand with some AI help
  9. ]]--
  10.  
  11.  
  12.  
  13. local Players = game:GetService("Players")
  14. local RunService = game:GetService("RunService")
  15. local player = Players.LocalPlayer
  16.  
  17. local function fireProximityPrompt(proximityPrompt, amount, skip)
  18.     assert(proximityPrompt, "Argument #1 Missing or nil")
  19.     assert(typeof(proximityPrompt) == "Instance" and proximityPrompt:IsA("ProximityPrompt"), "Attempted to fire a value that is not a ProximityPrompt")
  20.  
  21.     local holdDuration = proximityPrompt.HoldDuration
  22.     if skip then
  23.         proximityPrompt.HoldDuration = 0
  24.     end
  25.  
  26.     for _ = 1, amount or 1 do
  27.         proximityPrompt:InputHoldBegin()
  28.         if skip then
  29.             local start = tick()
  30.             repeat RunService.Heartbeat:Wait() until tick() - start > holdDuration
  31.         end
  32.         proximityPrompt:InputHoldEnd()
  33.     end
  34.     proximityPrompt.HoldDuration = holdDuration
  35. end
  36.  
  37. local function teleportToMorph(morph)
  38.     local character = player.Character
  39.     if character and character:FindFirstChild("HumanoidRootPart") then
  40.         workspace.Gravity = 0
  41.         morph.CanCollide = false
  42.         morph.Anchored = true
  43.         local morphPosition = morph.Position + Vector3.new(0, 1, 1.2)
  44.         character.HumanoidRootPart.CFrame = CFrame.new(morphPosition)
  45.         wait(0.1)
  46.        
  47.         local proximityPrompt = morph:FindFirstChildOfClass("ProximityPrompt")
  48.         if proximityPrompt then
  49.             character.HumanoidRootPart.CFrame = CFrame.new(morphPosition)
  50.             fireProximityPrompt(proximityPrompt)
  51.             wait(0.5)
  52.             if morph.Transparency ~= 1 then
  53.                 character.HumanoidRootPart.CFrame = CFrame.new(morphPosition)
  54.                 fireProximityPrompt(proximityPrompt)
  55.                 wait(1)
  56.             end
  57.         end
  58.        
  59.         workspace.Gravity = 196.2
  60.     end
  61. end
  62.  
  63.  
  64. local function findAndTeleportMorphs()
  65.     local morphsFolder = game.Workspace:FindFirstChild("Morphs")
  66.     if not morphsFolder then
  67.         warn("Morphs folder not found! That means you need to talk about it on discord server")
  68.         return
  69.     end
  70.  
  71.     for _, morph in ipairs(morphsFolder:GetChildren()) do
  72.         if morph:IsA("BasePart") and morph.Transparency ~= 1 then
  73.             local proximityPrompt = morph:FindFirstChildOfClass("ProximityPrompt")
  74.             if proximityPrompt and proximityPrompt.ClickablePrompt==true then
  75.                 teleportToMorph(morph)
  76.                 wait(1)
  77.             end
  78.         end
  79.     end
  80.  
  81.     workspace.Gravity = 196.2
  82. end
  83.  
  84. -- FUNCTION
  85. findAndTeleportMorphs()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement