Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.farming = {
- ["Rokakaka"] = true, -- SET TO FALSE IF YOU DONT WANT THE ITEM ALSO SCRIPT MUST BE IN AUTOEXEC FOLDER
- ["Gold Coin"] = true,
- ["Mysterious Arrow"] = true,
- ["Diamond"] = true ,
- ["Lucky Arrow"] = true ,
- ["Zepellin's Headband"] = true ,
- ["Quinton's Glove"] = true,
- ["Ancient Scroll"] = true ,
- ["DEO's Diary"] = true ,
- ["Steel Ball"] = true,
- ["Rib Cage of The Saint's Corpse"] = true ,
- ["Pure Rokakaka"] = true ,
- ["Stone Mask"] = true
- }
- if syn then game.Loaded:Wait() end
- local metatable = getrawmetatable(game)
- local newindex = metatable.__newindex
- setreadonly(metatable,false)
- _G.Items = {}
- metatable.__newindex = newcclosure(function(t, i, v)
- if t == game:GetService("ReplicatedStorage").ItemSpawn and i == "OnClientInvoke" then
- old = v
- v = function(...)
- local args = {...}
- warn(args[2]["Replica"],args[2]["CFrame"])
- table.insert(_G.Items, {Replica = args[2]["Replica"], CFrame = args[2]["CFrame"], CD = args[2]["CD"]})
- return old(...)
- end
- end
- return newindex(t, i, v)
- end)
- setreadonly(metatable, true)
- repeat wait() until game:GetService("ReplicatedStorage"):WaitForChild("ItemSpawn",120)
- Hook = hookfunction(getrawmetatable(game).__namecall, newcclosure(function(self, ...)
- local args = {...}
- if getnamecallmethod() == "InvokeServer" then
- if args[1] == "idklolbrah2de" then
- return " ___XP DE KEY"
- end
- end
- return Hook(self, ...)
- end))
- while wait(1) do pcall(function()
- for i ,item in next, (_G.Items) do
- if item["Replica"] and item["Replica"] ~= nil then
- local name = item["Replica"].Name
- for k, v in next, _G.farming do
- if name ~= nil and name == k and v == true then
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = item.CFrame + Vector3.new(0,5,0)
- wait(0.5)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,5,0)
- wait(0.5)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,5,0)
- wait(0.5)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,5,0)
- wait(math.random(2,3))
- fireclickdetector(item["CD"])
- table.remove(_G.Items,i)
- wait(1)
- end
- end
- end
- end
- end )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement