loadstring(game:HttpGet("https://raw.githubusercontent.com/ArgetnarYT/Ui/main/ArgetnarHub.lua"))() 2
--// Variables local Client = game.Players.LocalPlayer local ClientRemoteEvent = require(game.ReplicatedStorage.ClientData).ClientRemoteEvent local ConfigData = require(game.ReplicatedStorage.DataConfig.GetConfigData) local ClientDinosaur = Client:GetAttribute("DinosaurName") local attackId = ConfigData:GetDinosaurDataTable(ClientDinosaur).Attack local Event = ClientRemoteEvent.FireServer local RunService = game:GetService("RunService") --// TOGGLE getgenv().Enabled = true --// 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, workspace.Monsters:GetDescendants() do if v.Name == "FoodHp" and v.Value > 0 then local part = v.Parent.RootPart if not part then continue end table.insert(list, { mob = v.Parent, distance = Client:DistanceFromCharacter(part.Position) }) end end table.sort(list, function(t0, t1) return t0.distance < t1.distance end) if list[1] then return list[1].mob end return nil end RunService.Heartbeat:Connect(function() if Enabled then Event("AttackRemoteEvent", "AttackStaticFood", closest(), attackId, ClientDinosaur) end end) -- kalas#1330 -- optional, game:GetService("SoundService").BGSound:Destroy() --// Remove the background music
3
local Monsters1 = { workspace.Monsters.Monster_01.Monster.ScaledModel, workspace.Monsters.Monster_01.Monster.Rabbit, workspace.Monsters.Monster_01.Monster.Frog, workspace.Monsters.Monster_01.Monster.Frogs, workspace.Monsters.Monster_01.Monster.Turtle, workspace.Monsters.Monster_01.Monster.Rat, workspace.Monsters.Monster_01.Monster.Boar, workspace.Monsters.Monster_01.Monster.Crocodile, workspace.Monsters.Monster_01.Monster.Turtle, workspace.Monsters.Monster_01.Food.Watermelos, workspace.Monsters.Monster_01.Food.Apples, workspace.Monsters.Monster_01.Food.Watermelon, workspace.Monsters.Monster_01.Food.Apple, workspace.Monsters.Monster_04.BOSS.Boss1, workspace.Monsters.Monster_05.BOSS.Boss2,} for i,v in pairs(Monsters1) do local dielan = { [1] = "AttackStaticFood", [2] = v, [3] = 1000000000, -- amount of coins u get when collect, change this if u want more or less, math.huge wont give u any so dont change to it [4] = "Dinosaur1_3_1"} game:GetService("ReplicatedStorage").RemoteEvents.AttackRemoteEvent:FireServer(unpack(dielan)) end
4
local Monsters1 = { workspace.Monsters.Monster_01.Monster.ScaledModel, workspace.Monsters.Monster_01.Monster.Rabbit, workspace.Monsters.Monster_01.Monster.Frog, workspace.Monsters.Monster_01.Monster.Frogs, workspace.Monsters.Monster_01.Monster.Turtle, workspace.Monsters.Monster_01.Monster.Rat, workspace.Monsters.Monster_01.Monster.Boar, workspace.Monsters.Monster_01.Monster.Crocodile, workspace.Monsters.Monster_01.Monster.Turtle, workspace.Monsters.Monster_01.Food.Watermelos, workspace.Monsters.Monster_01.Food.Apples, workspace.Monsters.Monster_01.Food.Watermelon, workspace.Monsters.Monster_01.Food.Apple, workspace.Monsters.Monster_04.BOSS.Boss1, workspace.Monsters.Monster_05.BOSS.Boss2,} for i,v in pairs(Monsters1) do local dielan = { [1] = "AttackStaticFood", [2] = v, [3] = 1000000000, -- amount of coins u get when collect, change this if u want more or less, math.huge wont give u any so dont change to it [4] = "Dinosaur1_3_1"} game:GetService("ReplicatedStorage").RemoteEvents.AttackRemoteEvent:FireServer(unpack(dielan)) end
5
local Dinos1 = {"Dinosaur1_3","Dinosaur2_3","Dinosaur3_3","Dinosaur4_3","Dinosaur5_3", "Dinosaur6_3","Dinosaur7_3","Dinosaur8_3","Dinosaur9_3","Dinosaur10_3","Dinosaur11_3", "Dinosaur12_3","Dinosaur13_3","Dinosaur14_3"} for i,v in pairs(Dinos1) do local dielan = {[1] = "GoldBuyDinosaur", [2] = v} game:GetService("ReplicatedStorage").RemoteEvents.BuyDinosaurEvent:FireServer(unpack(dielan)) end task.wait(3) local Dinos2 = {"Dinosaur15_3","Dinosaur16_3","Dinosaur17_3","Dinosaur18_3","Dinosaur19_3", "Dinosaur20_3","Dinosaur21_3","Dinosaur22_3","Dinosaur23_3","Dinosaur24_3"} for i,v in pairs(Dinos2) do local dielan = {[1] = "GoldBuyDinosaur", [2] = v} game:GetService("ReplicatedStorage").RemoteEvents.BuyDinosaurEvent:FireServer(unpack(dielan)) end