getgenv().AutoReroll = true
getgenv().DelaySpeedReroll = 0.5 -- [[ RECOMMEND 0.5 IF U HAVE GOOD WIFI, SET IT TO 1 IF BAD WIFI ]] --
getgenv().DmgWant = 110 -- ALL 3 STATS IF THE NUMBER IS HIGHER THAN U WANT, ITS WILL ALSO KEEP 3 STATS.
getgenv().StaminaWant = 110 -- ALL 3 STATS IF THE NUMBER IS HIGHER THAN U WANT, ITS WILL ALSO KEEP 3 STATS.
getgenv().CostWant = 80 -- ALL 3 STATS IF THE NUMBER IS HIGHER THAN U WANT, ITS WILL ALSO KEEP 3 STATS.
-- \\ DO NOT TOUCH IF YOU DONT KNOW WHAT ARE YOU DOING // --
local DmgText = game:GetService("Players").LocalPlayer.PlayerGui.TrainUI.ToggleUnit.Informations.HiddenPower.Modify.ATK.V
local CostText = game:GetService("Players").LocalPlayer.PlayerGui.TrainUI.ToggleUnit.Informations.HiddenPower.Modify.Cost.V
local StaminaText = game:GetService("Players").LocalPlayer.PlayerGui.TrainUI.ToggleUnit.Informations.HiddenPower.Modify.Stamina.V
local UnitName = game:GetService("Players").LocalPlayer.PlayerGui.UnitSelect
local Player = game.Players.LocalPlayer
local vim = game:GetService("VirtualInputManager")
local UI = game:GetService("Players").LocalPlayer.PlayerGui.TrainUI.ToggleUnit.Informations.HiddenPower.Modified_Button
local returnDmgNum = DmgText.Text:match("%d+")
local returnStaminaNum = StaminaText.Text:match("%d+")
local returnCostNum = CostText.Text:match("%d+")
while task.wait(0.5) do
if AutoReroll == true then
if tonumber(returnDmgNum) >= getgenv().DmgWant
and tonumber(returnStaminaNum ) >= getgenv().StaminaWant
and tonumber(returnCostNum) >= getgenv().CostWant then
game:GetService("StarterGui"):SetCore("SendNotification",{
Title = "Reroll Notif", -- Required
Text = UnitName.Value .. " Already got stat u wanted!", -- Required
})
else
local partCenterX = UI.AbsolutePosition.X + (UI.AbsoluteSize.X / 2)
local partCenterY = UI.AbsolutePosition.Y + (UI.AbsoluteSize.Y /0.7)
vim:SendMouseButtonEvent(partCenterX, partCenterY, 0, true, game, 0)
vim:SendMouseButtonEvent(partCenterX, partCenterY, 0, false, game, 0)
end
else
wait()
break
end
end
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}