0% found this document useful (0 votes)
144 views3 pages

Roblox Autofarm Script for Dinosaurs

The document is a Lua script for a game that utilizes the Argetnar library to create a user interface for autofarming and various game functionalities. It includes features such as toggling a killaura attack, setting walk speed, teleporting to specific locations, and collecting coins. The script also provides credits to its creators and notifies the user when it has successfully loaded.

Uploaded by

jasminjalomo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Topics covered

  • game players,
  • ClientRemoteEvent,
  • game dynamics,
  • ArgetnarLib,
  • game performance,
  • game attributes,
  • game mechanics,
  • game combat,
  • AttackRemoteEvent,
  • game experience
0% found this document useful (0 votes)
144 views3 pages

Roblox Autofarm Script for Dinosaurs

The document is a Lua script for a game that utilizes the Argetnar library to create a user interface for autofarming and various game functionalities. It includes features such as toggling a killaura attack, setting walk speed, teleporting to specific locations, and collecting coins. The script also provides credits to its creators and notifies the user when it has successfully loaded.

Uploaded by

jasminjalomo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Topics covered

  • game players,
  • ClientRemoteEvent,
  • game dynamics,
  • ArgetnarLib,
  • game performance,
  • game attributes,
  • game mechanics,
  • game combat,
  • AttackRemoteEvent,
  • game experience

local ArgetnarLib =

loadstring(game:HttpGet("[Link]
main/[Link]"))()
local win = ArgetnarLib:Window("Argetnar Hub")
ArgetnarLib:Notify("Script", "Loading...........")
local TabFarm = win:Tab("Autofarm")
TabFarm:Toggle("killaura", function(Farm)
--// Variables
local Client = [Link]
local ClientRemoteEvent =
require([Link]).ClientRemoteEvent
local ConfigData = require([Link])
local ClientDinosaur = Client:GetAttribute("DinosaurName")
local attackId = ConfigData:GetDinosaurDataTable(ClientDinosaur).Attack
local Event = [Link]
local RunService = game:GetService("RunService")

--// TOGGLE
getgenv().Enabled = Farm --// Change this to false to disable the script

local function closest() --// We don't talk about the getdescendants, their folders
are built weird
local list = {}
for _, v in next, [Link]:GetDescendants() do
if [Link] == "FoodHp" and [Link] > 0 then
local part = [Link]
if not part then
continue
end
[Link](list, { mob = [Link], distance =
Client:DistanceFromCharacter([Link]) })
end
end
[Link](list, function(t0, t1)
return [Link] < [Link]
end)
if list[1] then
return list[1].mob
end
return nil
end

[Link]:Connect(function()
if Enabled then
Event("AttackRemoteEvent", "AttackStaticFood", closest(), attackId,
ClientDinosaur)
end
end)
end)
TabFarm:TextBox("Enter the amount of Gold", function(Value)
local Monsters1 = {
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_01.[Link],
[Link].Monster_04.BOSS.Boss1,
[Link].Monster_05.BOSS.Boss2,}
for i,v in pairs(Monsters1) do
local dielan = {
[1] = "AttackStaticFood",
[2] = v,
[3] = Value, -- amount of coins u get when collect, change this if u want more or
less, [Link] wont give u any so dont change to it
[4] = "Dinosaur1_3_1"}
game:GetService("ReplicatedStorage").[Link]:FireServer(unpa
ck(dielan))
end
end)
TabFarm:Label("After you have entered the number, go to the first arena (spawn)")
TabFarm:Label("and collect coins")
local TabMisc = win:Tab("Misc")
TabMisc:Slider("Walk Speed", 16, 500, 50, function(Value)
[Link] = Value
end)
TabMisc:Button("Destroy", function()
[Link]:Destroy()
end)
TabMisc:Button("Rejoin", function()
local ts = game:GetService("TeleportService")

local p = game:GetService("Players").LocalPlayer

ts:TeleportToPlaceInstance([Link], [Link], p)
end)
TabMisc:Button("Tp Mecha Dino", function()
local plr = game:service"Players".LocalPlayer;
local tween_s = game:service"TweenService";
local info = [Link](1,[Link]); -- Change the number to lower
to speed it up and higher to slow it down.
function tp(...)
local tic_k = tick();
local params = {...};
local cframe = [Link](params[1],params[2],params[3]);
local tween,err = pcall(function()
local tween = tween_s:Create([Link]["HumanoidRootPart"],info,
{CFrame=cframe});
tween:Play();
end)
if not tween then return err end
end
tp(321.015, 27.1714, -127.514);
end)
TabMisc:Button("Tp Last Boss(Bone)", function()
local plr = game:service"Players".LocalPlayer;
local tween_s = game:service"TweenService";
local info = [Link](1,[Link]); -- Change the number to lower
to speed it up and higher to slow it down.
function tp(...)
local tic_k = tick();
local params = {...};
local cframe = [Link](params[1],params[2],params[3]);
local tween,err = pcall(function()
local tween = tween_s:Create([Link]["HumanoidRootPart"],info,
{CFrame=cframe});
tween:Play();
end)
if not tween then return err end
end
tp(274.477, 90.0895, -690.018); -- Change x,y,z to the coordinates you got
end)
local TabCredit = win:Tab("Credits")
TabCredit:Label("Hub by Argetnar & Doku & Brinen")
local LabelRef = TabCredit:Label("v1")
wait(10)
LabelRef:Refresh("v2")
ArgetnarLib:Notify("Script", "The script has been loaded")

You might also like