--BROUGHT TO YOU BY RobloxScripter.com!--
getgenv().Enabled = true
getgenv().Health = true
getgenv().Stamina = false
getgenv().Split = false
local statPoints = game:GetService("Players").LocalPlayer.Stats.Attributes.Value
while getgenv().Enabled == true and task.wait(1) do
spawn(
function()
while getgenv().Health == true and task.wait() do
local UpgradeHealth = {[1] = "UpgradeHealth", [2] = statPoints}
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(UpgradeHealth))
end
end
)
spawn(
function()
while getgenv().Stamina == true and task.wait() do
local UpgradeStamina = {[1] = "UpgradeStamina", [2] = statPoints}
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(UpgradeStamina))
end
end
)
spawn(
function()
if getgenv().Split == true and task.wait() then
local SplitStamina = {[1] = "UpgradeStamina", [2] = statPoints / 2}
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(SplitStamina))
task.wait(.5)
local SplitHealth = {[1] = "UpgradeHealth", [2] = statPoints}
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(SplitHealth))
end
end
)
end