Periastron Stars RPG InstaFarm

Description

Instantly sets you level to 4k (By getting every xp crystal) and collects every gold on the map, Then equips the best armor (Lightkeeper as of now)

local Path = workspace.Special
local vim = game:GetService('VirtualInputManager');
local lp = game:GetService('Players').LocalPlayer;
function press(keycode)
 vim:SendKeyEvent(true, keycode, false, game)
 task.wait()
 vim:SendKeyEvent(false, keycode, false, game)
end
function Get()
for i, v in Path:GetChildren() do
 local char = workspace.Characters:WaitForChild(lp.Name);
 if v.Name == 'Chest' or v.Name == 'XpCrystal' then
  print("Collecting",v.NameGui.TextLabel.Text)
  firetouchinterest(char.Head, v.Hitbox, 0)
 end
end
end
function GetBestArmor()
 local Highest, Armor = 0, nil
 for i, v in workspace.Interact:GetChildren() do
  if v.Name:lower():find("armor") then
   print(v.ArmorNametag.InfoLabel.Text:split(" ")[2])
   local Level = v.ArmorNametag.InfoLabel.Text:split(" ")[2]
   if Level:find('K') then
    Level = Level:gsub('K', '')
    Level = tonumber(Level) * 1000
   end
   Level = tonumber(Level)
   print(Level)
   if Level > Highest then
    Highest = Level
    Armor = v
   end
  end
 end
 return Armor, Highest
end
function EquipBestArmor()
 local Armor, Level = GetBestArmor()
 local char = workspace.Characters:WaitForChild(lp.Name);
 char.HumanoidRootPart.CFrame = Armor:FindFirstChildWhichIsA("Part").CFrame
 press(Enum.KeyCode.E)
end
Get()
EquipBestArmor()

⚠️ Warning: Do not download any extensions or anything other than .txt/.lua file, because script will download only in .txt/.lua format or It will redirect you to a pastebin link.

📋 Notice: If you find any of the scripts patched or not working, please report it to Forever4D through Discord. The script will be removed or marked as patched!