Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.CoreGui:FindFirstChild('PotionGUI') then
- game.CoreGui:FindFirstChild('PotionGUI'):Destroy()
- end
- local PotionGUI = Instance.new("ScreenGui")
- local Container = Instance.new("Frame")
- local Freeze = Instance.new("TextButton")
- local UIListLayout = Instance.new("UIListLayout")
- local Burn = Instance.new("TextButton")
- local Confusion = Instance.new("TextButton")
- local Float = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- local Death = Instance.new("TextButton")
- local Healing = Instance.new("TextButton")
- local Poison = Instance.new("TextButton")
- PotionGUI.Name = "PotionGUI"
- PotionGUI.Parent = game.CoreGui
- PotionGUI.Enabled = true
- Container.Name = "Container"
- Container.Parent = PotionGUI
- Container.AnchorPoint = Vector2.new(0.5, 0.5)
- Container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Container.BackgroundTransparency = 0.000
- Container.BorderSizePixel = 0
- Container.Position = UDim2.new(0.5, 0, 0.5, 0)
- Container.Size = UDim2.new(0.200000003, 0, 0.5, 0)
- Freeze.Name = "Freeze"
- Freeze.Parent = Container
- Freeze.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Freeze.BackgroundTransparency = 1.000
- Freeze.BorderSizePixel = 0
- Freeze.LayoutOrder = 1
- Freeze.Size = UDim2.new(1, 0, 0.115000002, 0)
- Freeze.Font = Enum.Font.GothamBlack
- Freeze.Text = "Freeze Potion"
- Freeze.TextColor3 = Color3.fromRGB(130, 157, 255)
- Freeze.TextSize = 15.000
- Freeze.TextWrapped = true
- UIListLayout.Parent = Container
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
- Burn.Name = "Burn"
- Burn.Parent = Container
- Burn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Burn.BackgroundTransparency = 1.000
- Burn.BorderSizePixel = 0
- Burn.LayoutOrder = 2
- Burn.Size = UDim2.new(1, 0, 0.115000002, 0)
- Burn.Font = Enum.Font.GothamBlack
- Burn.Text = "Burn Potion"
- Burn.TextColor3 = Color3.fromRGB(130, 157, 255)
- Burn.TextSize = 15.000
- Burn.TextWrapped = true
- Confusion.Name = "Confusion"
- Confusion.Parent = Container
- Confusion.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Confusion.BackgroundTransparency = 1.000
- Confusion.BorderSizePixel = 0
- Confusion.LayoutOrder = 3
- Confusion.Size = UDim2.new(1, 0, 0.115000002, 0)
- Confusion.Font = Enum.Font.GothamBlack
- Confusion.Text = "Confusion Potion"
- Confusion.TextColor3 = Color3.fromRGB(130, 157, 255)
- Confusion.TextSize = 15.000
- Confusion.TextWrapped = true
- Float.Name = "Float"
- Float.Parent = Container
- Float.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Float.BackgroundTransparency = 1.000
- Float.BorderSizePixel = 0
- Float.LayoutOrder = 4
- Float.Size = UDim2.new(1, 0, 0.115000002, 0)
- Float.Font = Enum.Font.GothamBlack
- Float.Text = "Float Potion"
- Float.TextColor3 = Color3.fromRGB(130, 157, 255)
- Float.TextSize = 15.000
- Float.TextWrapped = true
- Speed.Name = "Speed"
- Speed.Parent = Container
- Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Speed.BackgroundTransparency = 1.000
- Speed.BorderSizePixel = 0
- Speed.LayoutOrder = 5
- Speed.Size = UDim2.new(1, 0, 0.115000002, 0)
- Speed.Font = Enum.Font.GothamBlack
- Speed.Text = "Speed Potion"
- Speed.TextColor3 = Color3.fromRGB(130, 157, 255)
- Speed.TextSize = 15.000
- Speed.TextWrapped = true
- Death.Name = "Death"
- Death.Parent = Container
- Death.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Death.BackgroundTransparency = 1.000
- Death.BorderSizePixel = 0
- Death.LayoutOrder = 6
- Death.Size = UDim2.new(1, 0, 0.115000002, 0)
- Death.Font = Enum.Font.GothamBlack
- Death.Text = "Death Potion"
- Death.TextColor3 = Color3.fromRGB(130, 157, 255)
- Death.TextSize = 15.000
- Death.TextWrapped = true
- Healing.Name = "Healing"
- Healing.Parent = Container
- Healing.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Healing.BackgroundTransparency = 1.000
- Healing.BorderSizePixel = 0
- Healing.LayoutOrder = 7
- Healing.Size = UDim2.new(1, 0, 0.115000002, 0)
- Healing.Font = Enum.Font.GothamBlack
- Healing.Text = "Healing Potion"
- Healing.TextColor3 = Color3.fromRGB(130, 157, 255)
- Healing.TextSize = 15.000
- Healing.TextWrapped = true
- Poison.Name = "Poison"
- Poison.Parent = Container
- Poison.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Poison.BackgroundTransparency = 1.000
- Poison.BorderSizePixel = 0
- Poison.LayoutOrder = 8
- Poison.Size = UDim2.new(1, 0, 0.115000002, 0)
- Poison.Font = Enum.Font.GothamBlack
- Poison.Text = "Poison Potion"
- Poison.TextColor3 = Color3.fromRGB(130, 157, 255)
- Poison.TextSize = 15.000
- Poison.TextWrapped = true
- local alchemy = game.ReplicatedStorage.Remotes.Alchemy
- local Cauldron = workspace.Tower.Cauldron2.Cauldron2
- local Liquids = {
- HeartDust = workspace.Tower.Shelf.HeartDust.Potion,
- BasiliskVenom = workspace.Tower.Shelf.BasiliskVenom.Potion,
- TreeSap = workspace.Tower.Shelf.TreeSap.Potion,
- HolyWater = workspace.Tower.Shelf.HolyWater.Potion,
- BlackTar = workspace.Tower.Shelf.BlackTar.Potion,
- DragonSpit = workspace.Tower.Shelf.DragonSpit.Potion,
- Flask = workspace.Tower.Shelf.Flask.Flask
- }
- local Solids = {
- BagOfDirt = workspace.Tower.Shelf.BagOfDirt.Part,
- GolemRock = workspace.Tower.Shelf.GolemRock.Part,
- Herbs = workspace.Tower.Shelf.Herbs.Part
- }
- local bpAlchemy = game.Players.LocalPlayer.Backpack.Alchemy
- local makeFreeze = function()
- alchemy:FireServer(Liquids.HolyWater, "HolyWater", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.GolemRock, "GolemRock", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeBurn = function()
- alchemy:FireServer(Liquids.BlackTar, "BlackTar", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.GolemRock, "GolemRock", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeConfusion = function()
- alchemy:FireServer(Liquids.TreeSap, "TreeSap", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.BagOfDirt, "BagOfDirt", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeFloat = function()
- alchemy:FireServer(Liquids.DragonSpit, "DragonSpit", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.Herbs, "Herbs", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeSpeed = function()
- alchemy:FireServer(Liquids.DragonSpit, "DragonSpit", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.GolemRock, "GolemRock", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeDeath = function()
- alchemy:FireServer(Liquids.BlackTar, "BlackTar", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.BagOfDirt, "BagOfDirt", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makeHealing = function()
- alchemy:FireServer(Liquids.HolyWater, "HolyWater", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.Herbs, "Herbs", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local makePoison = function()
- alchemy:FireServer(Liquids.BasiliskVenom, "BasiliskVenom", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Solids.Herbs, "Herbs", "Solid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- alchemy:FireServer(Liquids.Flask, "Flask", "Liquid", bpAlchemy)
- alchemy:FireServer(Cauldron, "Cauldron2", "Cauldron", bpAlchemy)
- end
- local ContextActionService = game:GetService('ContextActionService')
- local Debounce = false
- local ToggleGUI = function(actionName, inputState, inputObj)
- if inputState == Enum.UserInputState.Begin then
- if not Debounce then
- Debounce = true
- Container.Visible = true
- else
- Debounce = false
- Container.Visible = false
- end
- end
- end
- ContextActionService:BindAction("ToggleGui", ToggleGUI, false, Enum.KeyCode.P)
- Container.Visible = false
- Freeze.MouseButton1Click:Connect(makeFreeze)
- Burn.MouseButton1Click:Connect(makeBurn)
- Confusion.MouseButton1Click:Connect(makeConfusion)
- Float.MouseButton1Click:Connect(makeFloat)
- Speed.MouseButton1Click:Connect(makeSpeed)
- Death.MouseButton1Click:Connect(makeDeath)
- Healing.MouseButton1Click:Connect(makeHealing)
- Poison.MouseButton1Click:Connect(makePoison)
Add Comment
Please, Sign In to add comment