Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- | Auto-Farm Leaderstats V1
- -- | Usable in some games that have leaderstats
- -- | 5/10/2020:
- -- | The auto-farm can use only one leaderboard slot.
- -- | Initial script release, yay!
- -- | Auto updating script is out!
- -- | loadstring(game:HttpGet("https://pastebin.com/raw/mrZ1aGsq"))
- --[[
- Games that support auto-farms:
- Catalog Heaven (Kills and Deaths)
- Admin Simulator (Level) (maybe...)
- and much more...
- ]]
- local Settings = {};
- --Personalization
- Settings.LeaderboardSlot1 = "Kills"
- Settings.NotificationTitle = "Auto-Farm Notification"
- --Farming setup
- Settings.FarmIncreasing = 10 --Change 10 to another Integer Value at column 29 you want!
- Settings.AutoFarmKeyCode = Enum.KeyCode.F --Change F to another Enum String like Enum.KeyCode.Q at column 42 if you want!
- Settings.FarmToggle = false
- local function Notify(title, text, icon, duration, button1)
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = title;
- Text = text;
- Icon = icon;
- Duration = duration;
- Button1 = button1
- })
- end
- Notify(Settings.NotificationTitle, "Brought to you by pastebin.com/u/Filipono120", "", 5, "OK")
- --Player variables
- local player = game.Players.LocalPlayer
- local leaderstats = player.leaderstats
- local UIS = game:GetService("UserInputService")
- --Setting up variables (at line 19)
- local Leaderboard = leaderstats:WaitForChild(Settings.LeaderboardSlot1)
- UIS.InputBegan:Connect(function(input, GPE)
- if input.KeyCode == Settings.AutoFarmKeyCode then
- if Settings.FarmToggle == false then
- Settings.FarmToggle = true
- while Settings.FarmToggle == true do
- Leaderboard.Value = Leaderboard.Value + Settings.FarmIncreasing
- wait(8.5)
- end
- elseif Settings.FarmToggle == true then
- Settings.FarmToggle = false
- end
- end
- end)
Add Comment
Please, Sign In to add comment