-- if you encounter a bug, please put it in the comments
-- please do not reupload my scripts
-- if you make a video on this, make it lead to this rscripts page
local colors = {
SchemeColor = Color3.fromRGB(255 - 40, 107 - 40, 107 - 40),
Background = Color3.fromRGB(177, 167, 255),
Header = Color3.fromRGB(177 - 20, 167 - 20, 255 - 20),
TextColor = Color3.fromRGB(255,255,255),
ElementColor = Color3.fromRGB(255, 107, 107)
}
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("[UP1] Blockate GUI by @chair on rscripts.net", colors)
local Tab = Window:NewTab("Givers")
local TabMain = Window:NewTab("Extra")
local SectionMain = TabMain:NewSection("Main")
SectionMain:NewButton("Remove All Kill blocks", "May break some functionality if its on the kill block", function()
for i,v in pairs(workspace.Blocks:GetChildren()) do
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("Killer") and v:FindFirstChild("Functionality"):FindFirstChild("Killer").Value == true then
v.Functionality:Destroy()
end
end
end)
local Section = Tab:NewSection("Gear Givers")
local PowerupSection = Tab:NewSection("Powerups")
local StatSection = Tab:NewSection("Stat Givers")
local TeamerSection = Tab:NewSection("Teamer")
local cache = {}
function getcache(id)
for i,v in pairs(cache) do
if v[1] == id then
return v[2]
end
end
return nil
end
function getid(id)
local assetname
pcall(function()
local MarketplaceService = game:GetService("MarketplaceService")
local asset = MarketplaceService:GetProductInfo(id)
assetname = asset.Name
end)
if assetname ~= nil then
table.insert(cache,{id,assetname})
end
return assetname
end
for i,v in pairs(workspace.Blocks:GetChildren()) do
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("Teamer") and v:FindFirstChild("Functionality"):FindFirstChild("Teamer").Value ~= nil then
TeamerSection:NewButton(v:FindFirstChild("Functionality"):FindFirstChild("Teamer").Value.Name, "", function()
local char = game.Players.LocalPlayer.Character
local oldpos = char.HumanoidRootPart.CFrame
local rootpart = char.HumanoidRootPart
rootpart.CFrame = v.CFrame
wait(0.1)
rootpart.Anchored = true
wait(0.1)
rootpart.CFrame = oldpos
rootpart.Anchored = false
end)
end
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("StatGivers") then
StatSection:NewButton(v:FindFirstChild("Functionality"):FindFirstChild("StatGivers"):GetChildren()[1].Name.." +"..v:FindFirstChild("Functionality"):FindFirstChild("StatGivers"):GetChildren()[1]:GetChildren()[1].Name, "", function()
local char = game.Players.LocalPlayer.Character
local oldpos = char.HumanoidRootPart.CFrame
local rootpart = char.HumanoidRootPart
rootpart.CFrame = v.CFrame
wait(0.1)
rootpart.Anchored = true
wait(0.1)
rootpart.CFrame = oldpos
rootpart.Anchored = false
end)
end
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("Regenerator") then
PowerupSection:NewButton(v:FindFirstChild("Functionality"):FindFirstChild("Regenerator"):GetChildren()[1].Value.."HP per "..v:FindFirstChild("Functionality"):FindFirstChild("Regenerator"):GetChildren()[2].Value.."s", "", function()
local char = game.Players.LocalPlayer.Character
local oldpos = char.HumanoidRootPart.CFrame
local rootpart = char.HumanoidRootPart
rootpart.CFrame = v.CFrame
wait(0.1)
rootpart.Anchored = true
wait(0.1)
rootpart.CFrame = oldpos
rootpart.Anchored = false
end)
end
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("Powerup") and v:FindFirstChild("Functionality"):FindFirstChild("Powerup"):GetChildren()[1] ~= nil and v:FindFirstChild("Functionality"):FindFirstChild("Powerup"):GetChildren()[1].Name ~= "JumpPower" and v:FindFirstChild("Functionality"):FindFirstChild("Powerup"):GetChildren()[1].Name ~= "WalkSpeed" then
PowerupSection:NewButton(v:FindFirstChild("Functionality"):FindFirstChild("Powerup"):GetChildren()[1].Name.." "..v:FindFirstChild("Functionality"):FindFirstChild("Powerup"):GetChildren()[1].Value, "", function()
local char = game.Players.LocalPlayer.Character
local oldpos = char.HumanoidRootPart.CFrame
local rootpart = char.HumanoidRootPart
rootpart.CFrame = v.CFrame
wait(0.1)
rootpart.Anchored = true
wait(0.1)
rootpart.CFrame = oldpos
rootpart.Anchored = false
end)
end
if v:FindFirstChild("Functionality") and v:FindFirstChild("Functionality"):FindFirstChild("GearGivers") and #v:FindFirstChild("Functionality"):FindFirstChild("GearGivers"):GetChildren() == 0 then
local id = nil
local amount = 0
for i,v in pairs(v:FindFirstChild("Functionality"):FindFirstChild("GearGivers"):GetAttributes()) do
id = v
break
end
for i,v in pairs(v:FindFirstChild("Functionality"):FindFirstChild("GearGivers"):GetAttributes()) do
amount += 1
end
print("next")
local cache2 = getcache(id)
local getidvar = nil
if cache2 ~= nil then
getidvar = cache2
else
getidvar = getid(id)
end
if getidvar ~= nil then
print("not nil")
local extratext = ""
if amount > 1 then
extratext = " +"..(amount - 1).." others"
end
Section:NewButton(getidvar..extratext, "", function()
local char = game.Players.LocalPlayer.Character
local oldpos = char.HumanoidRootPart.CFrame
local rootpart = char.HumanoidRootPart
rootpart.CFrame = v.CFrame
wait(0.1)
rootpart.Anchored = true
wait(0.1)
rootpart.CFrame = oldpos
rootpart.Anchored = false
end)
end
end
end
Comments
blockate bugged my script out, fixing
Nice script