--Main Script
local DrRayLibrary = loadstring(game:HttpGet("https://[Log in to view URL]"))()
local window = DrRayLibrary:Load("Sw Hub V4", "Default")
--Tabs
local tab1 = DrRayLibrary.newTab("Auto Stats", "ImageIdHere")
--Labels
tab1.newLabel("Hello, this is auto stats")
--Values
_G.autoStrength = true
_G.autoDurability = true
_G.autoChakra = true
_G.autoSword = true
_G.autoSpeed = true
--Functions
function autoStrength()
while _G.autoStrength == true do
local args = {
[1] = "TrainStat",
[2] = "Strength"
}
game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
end
end
function autoDurability()
while _G.autoDurability == true do
local args = {
[1] = "TrainStat",
[2] = "Durability"
}
game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
end
end
function autoChakra()
while _G.autoChakra == true do
local args = {
[1] = "TrainStat",
[2] = "Chakra"
}
game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
end
end
function autoSword()
while _G.autoSword == true do
local args = {
[1] = "TrainStat",
[2] = "Sword"
}
game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
end
end
function autoSpeed()
while _G.autoSpeed == true do
local args = {
[1] = "TrainStat",
[2] = "Speed"
}
game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
end
end
--Buttons
--Toggles
tab1.newToggle("Auto Strength", "Auto Gives Strength", true, function(toggleState)
if toggleState then
print("On")
else
print("Off")
end
end)
--Sliders
To embed this project on your website, copy the following code and paste it into your website's HTML: