Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Variables
- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local themeStyles = {
- DarkTheme = {
- SchemeColor = Color3.fromRGB(64, 64, 64),
- Background = Color3.fromRGB(0, 0, 0),
- Header = Color3.fromRGB(0, 0, 0),
- TextColor = Color3.fromRGB(255,255,255),
- ElementColor = Color3.fromRGB(20, 20, 20)
- },
- LightTheme = {
- SchemeColor = Color3.fromRGB(150, 150, 150),
- Background = Color3.fromRGB(255,255,255),
- Header = Color3.fromRGB(200, 200, 200),
- TextColor = Color3.fromRGB(0,0,0),
- ElementColor = Color3.fromRGB(224, 224, 224)
- },
- BloodTheme = {
- SchemeColor = Color3.fromRGB(227, 27, 27),
- Background = Color3.fromRGB(10, 10, 10),
- Header = Color3.fromRGB(5, 5, 5),
- TextColor = Color3.fromRGB(255,255,255),
- ElementColor = Color3.fromRGB(20, 20, 20)
- },
- GrapeTheme = {
- SchemeColor = Color3.fromRGB(166, 71, 214),
- Background = Color3.fromRGB(64, 50, 71),
- Header = Color3.fromRGB(36, 28, 41),
- TextColor = Color3.fromRGB(255,255,255),
- ElementColor = Color3.fromRGB(74, 58, 84)
- },
- Ocean = {
- SchemeColor = Color3.fromRGB(86, 76, 251),
- Background = Color3.fromRGB(26, 32, 58),
- Header = Color3.fromRGB(38, 45, 71),
- TextColor = Color3.fromRGB(200, 200, 200),
- ElementColor = Color3.fromRGB(38, 45, 71)
- },
- Midnight = {
- SchemeColor = Color3.fromRGB(26, 189, 158),
- Background = Color3.fromRGB(44, 62, 82),
- Header = Color3.fromRGB(57, 81, 105),
- TextColor = Color3.fromRGB(255, 255, 255),
- ElementColor = Color3.fromRGB(52, 74, 95)
- },
- Sentinel = {
- SchemeColor = Color3.fromRGB(230, 35, 69),
- Background = Color3.fromRGB(32, 32, 32),
- Header = Color3.fromRGB(24, 24, 24),
- TextColor = Color3.fromRGB(119, 209, 138),
- ElementColor = Color3.fromRGB(24, 24, 24)
- },
- Synapse = {
- SchemeColor = Color3.fromRGB(46, 48, 43),
- Background = Color3.fromRGB(13, 15, 12),
- Header = Color3.fromRGB(36, 38, 35),
- TextColor = Color3.fromRGB(152, 99, 53),
- ElementColor = Color3.fromRGB(24, 24, 24)
- },
- Serpent = {
- SchemeColor = Color3.fromRGB(0, 166, 58),
- Background = Color3.fromRGB(31, 41, 43),
- Header = Color3.fromRGB(22, 29, 31),
- TextColor = Color3.fromRGB(255,255,255),
- ElementColor = Color3.fromRGB(22, 29, 31)
- }
- }
- local theme = themeStyles.Serpent
- -- Services
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local TeleportService = game:GetService("TeleportService")
- -- Remotes
- local remotes = ReplicatedStorage.Remotes
- -- Player
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoidRootPart = character.HumanoidRootPart
- local humanoid = character.Humanoid
- local characterChildren = character:GetChildren()
- local celShading = character.CelShading:GetChildren()
- local playerData = player:WaitForChild("Data")
- local zeni = playerData.Moneys
- local maxKi, ki = playerData.MaxKi, playerData.Ki
- local maxStamina, stamina = playerData.MaxStamina, playerData.Stamina
- local playerGui = player.PlayerGui
- local keysHolder = playerGui:GetChildren()[22]
- -- Other variables
- local qKey, eKey = 81, 69
- local hits = 5
- local gameIds = {
- [1] = 5798060869, -- Gravity Chamber
- [2] = 4263492467, -- Other World
- [3] = 298400657, -- Earth
- [4] = 0
- }
- local texts = {
- [1] = "Gravity Chamber",
- [2] = "Other World",
- [3] = "Earth",
- [4] = "Hyperbolic Time Chamber"
- }
- local clothingShopGui = game.PlaceId == gameIds[3] and game:FindFirstChild("ClothingShop", true) or nil
- local mFrame = game.PlaceId == gameIds[3] and clothingShopGui:FindFirstChild("Frame") or nil
- local clothingGui, accessoriesGui = game.PlaceId == gameIds[3] and mFrame:FindFirstChild("Clothing") or nil, game.PlaceId == gameIds[3] and mFrame:FindFirstChild("Accessories") or nil
- local materials = {}
- local dragonBalls = game.PlaceId == gameIds[3] and workspace.DragonBallLocatioionsa:GetChildren() or {}
- local spawns = game.PlaceId == gameIds[3] and workspace.Extras:GetChildren() or {}
- -- Earth variables
- _G.spawnIndex = ""
- _G.dragonBallIndex = 0
- _G.mobToFarm = ""
- _G.autoFarm = false
- -- Gravity Chamber variables
- _G.gcInfiniteHealth = false
- _G.gcAutoPress = false
- -- Other variables
- _G.gameId = 0
- -- Functions
- -- Get functions
- function getMobs() -- Returns array of mobs in game
- local list = {}
- for i, mob in pairs(workspace:GetChildren()) do
- if mob:FindFirstChild("Humanoid") and not game.Players:FindFirstChild(mob.Name) then
- table.insert(list,mob.Name)
- end
- end
- return list
- end
- function getDragonBalls() -- Returns array of the names of dragon balls ingame
- local list = {}
- for i, v in pairs(dragonBalls) do
- table.insert(list, v.Name)
- end
- return list
- end
- function getSpawns() -- Returns array of the names of spawns ingame
- local list = {}
- for i, v in pairs(spawns) do
- table.insert(list, v.Name)
- end
- return list
- end
- function getStyles() -- Returns array of themes
- local list = {}
- for theme, propertiesArray in pairs(themeStyles) do
- table.insert(list, theme)
- end
- return list
- end
- function getMaterials() -- Retruns array of materials
- local list = {}
- for i, v in pairs(Enum.Material:GetEnumItems()) do
- table.insert(list, v.Name)
- end
- return list
- end
- -- Spawn functions
- function farm() -- Farm function
- for _, mob in pairs(workspace:GetChildren()) do
- if mob:FindFirstChild("Humanoid") and mob.Humanoid.Health > 0 then
- if mob.Name == _G.mobToFarm then
- while true do
- if _G.autoFarm == false or mob.Humanoid.Health <= 0 then
- break
- end
- humanoidRootPart.CFrame = mob.HumanoidRootPart.CFrame - mob.HumanoidRootPart.CFrame.LookVector*5
- local args = {
- ["HitTime"] = 0.5,
- ["Type"] = "Normal",
- ["HitEffect"] = ReplicatedStorage.Resources.OtherEffects.NormalHitEffect2,
- ["VictimCFrame"] = mob.HumanoidRootPart.CFrame,
- ["HurtAnimation"] = ReplicatedStorage.Resources.Animations.HurtAnimations.Hurt1,
- ["Velocity"] = Vector3.new(1,1,1),
- ["Sound"] = ReplicatedStorage.Resources.Sounds.Combat.NormalPunching,
- ["Damage"] = 1
- }
- remotes.Damage4:InvokeServer(mob,args)
- end
- wait()
- end
- end
- end
- end
- function infiniteHealth() -- Gravity Chamber infinite health function
- if game.PlaceId == gameIds[1] then
- while true do
- if _G.gcInfiniteHealth == false then
- break
- end
- humanoid.Health = humanoid.MaxHealth
- wait()
- end
- end
- end
- function autoPress() -- Gravity Chamber auto press function
- if game.PlaceId == gameIds[1] then
- while true do
- local key1, key2 = keysHolder.Key1, keysHolder.Key2
- local key1Text, key2Text = string.sub(key1.Text, 1, 1), string.sub(key2.Text, 1, 1)
- if _G.gcAutoPress == false then
- break
- end
- wait(0.15)
- if key1Text == "Q" then
- keypress(qKey)
- keyrelease(qKey)
- else
- keypress(eKey)
- keyrelease(eKey)
- end
- wait(0.15)
- if key2Text == "Q" then
- keypress(qKey)
- keyrelease(qKey)
- else
- keypress(eKey)
- keyrelease(eKey)
- end
- wait(.45)
- end
- end
- end
- -- Button functions
- function rejoinButtonClicked() -- Gravity Chamber rejoin
- if game.PlaceId == gameIds[1] then
- TeleportService:Teleport(gameIds[1], player)
- end
- end
- function infiniteKiButtonClicked() -- Infinite ki
- maxKi.Value = math.huge
- ki.Value = math.huge
- end
- function infiniteStaminaButtonClicked() -- Infinite stamina
- maxStamina.Value = math.huge
- stamina.Value = math.huge
- end
- function teleportButtonClicked() -- Teleports player to selected game
- TeleportService:Teleport(_G.gameId, player)
- print("teleporting "..player.Name)
- end
- function spawnTeleportButtonClicked() -- Teleports player to selected spawn
- if #getSpawns() > 0 then -- Check if there are spawns
- character:MoveTo(workspace:FindFirstChild(getSpawns()[_G.spawnIndex], true).Position)
- else
- print("no spawns")
- end
- end
- function dbTeleportButtonClicked() -- Teleports player to selected dragon ball
- if #getDragonBalls() > 0 then -- Check if there are dragon balls
- character:MoveTo(workspace:FindFirstChild(getDragonBalls()[_G.dragonBallIndex], true).Stars.Position)
- else
- print("no dragon balls")
- end
- end
- function clothesButtonClicked() -- WIP
- zeni.Value = 10000
- local success, err = xpcall(clothingGui, function ()
- return "not ingame"
- end)
- if clothingGui then
- for _, button in pairs(clothingGui:GetChildren()) do
- if button:IsA("TextButton") then
- local args = {
- [1] = "BuyOutfit",
- [2] = button.Name,
- }
- ReplicatedStorage.Remotes.NPCStuff:FireServer(unpack(args))
- end
- end
- else
- print("not ingame")
- end
- end
- function accessoriesButtonClicked() -- WIP
- zeni.Value = 10000
- if clothingGui then
- for _, button in pairs(accessoriesGui:GetChildren()) do
- if button:IsA("TextButton") then
- local args = {
- [1] = "BuyOutfit",
- [2] = button.Name,
- }
- ReplicatedStorage.Remotes.NPCStuff:FireServer(unpack(args))
- end
- end
- else
- print("not ingame")
- end
- end
- -- Gui
- local window = library.CreateLib("Dragon Ball Final Remastered Gui // ImposterSussy111", theme)
- -- Tabs
- local autoFarmTab = window:NewTab("Auto Farm")
- local miscTab = window:NewTab("Misc")
- local teleportsTab = window:NewTab("Teleports")
- local gravityChamberTab = window:NewTab("Gravity Chamber")
- local dragonBallsTab = window:NewTab("Dragon Balls")
- local spawnsTab = window:NewTab("Spawns")
- local customizationTab = window:NewTab("Customization")
- local playerTab = window:NewTab("Player")
- -- Sections
- local autoFarmSection = autoFarmTab:NewSection("Main")
- local miscSection, miscSection2, miscSection3 = miscTab:NewSection("Gui Visible"), miscTab:NewSection("Ki & Stamina"), miscTab:NewSection("Clothes & Accessories")
- local teleportsSection = teleportsTab:NewSection("Main")
- local gravityChamberSection, gravityChamberSection2 = gravityChamberTab:NewSection("Main"), gravityChamberTab:NewSection("Misc")
- local dragonBallsSection = dragonBallsTab:NewSection("Main")
- local spawnsSection = spawnsTab:NewSection("Main")
- local customizationSection, customizationSection2 = customizationTab:NewSection("Customization"), customizationTab:NewSection("Theme")
- local playerSection, playerSection2 = playerTab:NewSection("Hair"), playerTab:NewSection("Cel Shading")
- -- Keybinds
- local visibleKeybind = miscSection:NewKeybind("Visible", "", Enum.KeyCode.R, function ()
- library:ToggleUI()
- end)
- -- Dropdowns
- local mobsDropdown = autoFarmSection:NewDropdown("Mobs", "", getMobs(), function(mob)
- _G.mobToFarm = mob
- end)
- local teleportsDropdown = teleportsSection:NewDropdown("Worlds", "", texts, function(gameName)
- _G.gameId = gameIds[table.find(texts, gameName)]
- end)
- local dragonBallsDropdown = dragonBallsSection:NewDropdown("Dragon Balls", "", getDragonBalls(), function(dragonBall)
- _G.dragonBallIndex = table.find(getDragonBalls(), dragonBall)
- end)
- local spawnsDropdown = spawnsSection:NewDropdown("Spawns", "", getSpawns(), function(spawnLocation)
- _G.spawnIndex = table.find(getSpawns(), spawnLocation)
- end)
- -- Set instantly
- local themesDropdown = customizationSection2:NewDropdown("Themes", "", getStyles(), function (selectedTheme)
- for themeProperty, color in pairs(themeStyles[selectedTheme]) do
- library:ChangeColor(themeProperty, color)
- end
- end)
- local hairMaterialDropdown = playerSection:NewDropdown("Material", "", getMaterials(), function (material)
- characterChildren = character:GetChildren()
- for _, hair in pairs(characterChildren) do
- if hair.Name == "Hair" or hair.Name == "SSJ3" then
- for _, v in pairs(hair:GetChildren()) do
- if v:IsA("BasePart") and v.Transparency == 0 then
- v.Material = material
- end
- end
- end
- end
- end)
- -- Color pickers
- for themeProperty, color in pairs(theme) do
- customizationSection:NewColorPicker(themeProperty, "Change your "..themeProperty, color, function(colorPicked)
- library:ChangeColor(themeProperty, colorPicked)
- end)
- end
- local hairColorPicker = playerSection:NewColorPicker("Hair", "", v, function(color)
- characterChildren = character:GetChildren()
- for _, part in pairs(characterChildren) do
- if part.Name == "Hair" or part.Name == "SSJ3" then
- for _, hair in pairs(part:GetChildren()) do
- if hair:IsA("BasePart") and hair.Transparency == 0 then
- hair.Color = color
- end
- end
- end
- end
- end)
- local celShadingColorPicker = playerSection2:NewColorPicker("Cel Shading", "", v, function(color)
- for _, celShade in pairs(celShading) do
- celShade:GetChildren()[1].Color = color
- end
- end)
- -- Buttons
- local infiniteKiButton = miscSection2:NewButton("Infinite Ki", "", infiniteKiButtonClicked)
- local infiniteStaminaButton = miscSection2:NewButton("Infinite Stamina", "", infiniteStaminaButtonClicked)
- local getClothesButton = miscSection3:NewButton("Get Clothes", "", clothesButtonClicked)
- local getAccessories = miscSection3:NewButton("Get Accessories", "", accessoriesButtonClicked)
- local teleportButton = teleportsSection:NewButton("Teleport", "", teleportButtonClicked)
- local dragonBallTeleportButton = dragonBallsSection:NewButton("Teleport", "", dbTeleportButtonClicked)
- local spawnsTeleportButton = spawnsSection:NewButton("Teleport", "", spawnTeleportButtonClicked)
- local rejoinButton = gravityChamberSection2:NewButton("Rejoin", "", rejoinButtonClicked)
- -- Switches
- local autoFarmSwitch = autoFarmSection:NewToggle("Auto Farm", "", function(v)
- _G.autoFarm = v
- end)
- local infiniteHealthSwitch = gravityChamberSection:NewToggle("Infinite Health", "", function (v)
- _G.gcInfiniteHealth = v
- end)
- local autoPressSwitch = gravityChamberSection:NewToggle("Auto Press", "", function(v)
- _G.gcAutoPress = v
- end)
- -- Call Functions
- for i = 1, hits do -- Auto Farm
- spawn(function ()
- while wait() do
- if _G.autoFarm then
- farm()
- end
- end
- end)
- end
- spawn(function () -- Gravity Chamber Auto Press
- while wait() do
- if _G.gcAutoPress == true then
- autoPress()
- end
- end
- end)
- spawn(function () -- Gravity Chamber Infinite Health
- while wait() do
- if _G.gcInfiniteHealth == true then
- infiniteHealth()
- end
- end
- end)
- spawn(function () -- Refresh Dragon Balls
- while true do
- dragonBalls = game.PlaceId == gameIds[3] and workspace.DragonBallLocatioionsa:GetChildren() or {}
- dragonBallsDropdown:Refresh(getDragonBalls())
- wait(2)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement