local Blood = {}
local Part = Instance.new("Part")
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part.Anchored = true
Part.CanCollide = false
Part.Color = BrickColor.new("Maroon").Color
Part.Material = Enum.Material.Glass
Part.Size = Vector3.new(0.15, 0.15, 1)
local Mesh = Instance.new("SpecialMesh")
Mesh.MeshType = Enum.MeshType.Sphere
Mesh.Parent = Part
local PhysicsStep = 1 / 240
local Gravity = Vector3.new(0, -workspace.Gravity, 0)
local function GetPosition(p0, v0, dt)
return p0 + v0 * dt + 0.5 * Gravity * (dt ^ 2) + 0.5 * PhysicsStep * Gravity * dt
end
local RenderList = {}
local Param = RaycastParams.new()
Param.FilterDescendantsInstances = {script, owner.Character}
local Callback
function Blood:Create(Position, Velocity, Color)
local NewObject = Part:Clone()
NewObject.Position = Position
NewObject.Color = Color or Color3.new(0.5, 0, 0)
NewObject.Parent = script
RenderList[NewObject] = {
Origin = Position,
Acceleration = Velocity,
Lifetime = 0,
LastPosition = Position
}
end
function Blood:OnHit(NewCallback)
Callback = NewCallback
end
function Blood:Update(DeltaTime)
for Part, Object in RenderList do
Object.Lifetime += DeltaTime
local Position = GetPosition(Object.Origin, Object.Acceleration, Object.Lifetime)
Part.CFrame = CFrame.lookAt(Object.LastPosition, Position)
local Vector = Position - Object.LastPosition
local Hit = workspace:Raycast(Object.LastPosition, Vector, Param)
if Hit then
Callback(Part, Object, Hit)
RenderList[Part] = nil
continue
end
Object.LastPosition = Position
Part.Size = Vector3.new(0.25, 0.25, Vector.Magnitude)
end
end
Blood:OnHit(function(Part, Data, Result)
local s = math.random(100, 250)/450
Part.Size = Vector3.new(s, 0.1, s)
Part.Anchored = false
Part.CFrame = CFrame.lookAt(Result.Position, Result.Position + Result.Normal) * CFrame.Angles(math.pi/2,0,0)
local Weld = Instance.new("WeldConstraint")
Weld.Part0 = Result.Instance
Weld.Part1 = Part
Weld.Parent = Part
local SFX = Instance.new("Sound")
SFX.SoundId = "rbxassetid://9120590980"
SFX.Parent = Part
SFX:Play()
task.delay(7, game.Destroy, Part)
end)
return Blood
local IN = Instance.new
local Instance = {}
function Instance.CreatePersistentGUI(self)
local UI = IN("ScreenGui")
UI.ResetOnSpawn = false
UI.Parent = owner.PlayerGui
return UI
end
Instance.new = IN
game:GetService("ContentProvider"):PreloadAsync({"rbxassetid://8857361259"})
local Model = Instance.new("Model")
local Part = Instance.new("Part")
Part.Name = "StartPart"
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part.Color = Color3.fromRGB(212, 229, 247)
Part.Size = Vector3.new(0.1538461595773697, 0.3076923191547394, 0.1538461595773697)
Part.CFrame = CFrame.new(7.115384578704834, 0.769230842590332, 12.5)
Part.Parent = Model
local Part1 = Instance.new("Part")
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.TopSurface = Enum.SurfaceType.Smooth
Part1.Color = Color3.fromRGB(179, 207, 236)
Part1.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part1.CFrame = CFrame.new(6.807692527770996, 1.6153850555419922, 12.5)
Part1.Parent = Model
local Part2 = Instance.new("Part")
Part2.BottomSurface = Enum.SurfaceType.Smooth
Part2.TopSurface = Enum.SurfaceType.Smooth
Part2.Color = Color3.fromRGB(212, 229, 247)
Part2.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part2.CFrame = CFrame.new(6.807692527770996, 1.769230842590332, 12.5)
Part2.Parent = Model
local Part3 = Instance.new("Part")
Part3.BottomSurface = Enum.SurfaceType.Smooth
Part3.TopSurface = Enum.SurfaceType.Smooth
Part3.Color = Color3.fromRGB(212, 229, 247)
Part3.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part3.CFrame = CFrame.new(6.961538314819336, 1, 12.5)
Part3.Parent = Model
local Part4 = Instance.new("Part")
Part4.BottomSurface = Enum.SurfaceType.Smooth
Part4.TopSurface = Enum.SurfaceType.Smooth
Part4.Color = Color3.fromRGB(179, 207, 236)
Part4.Size = Vector3.new(0.1538461595773697, 0.3076923191547394, 0.1538461595773697)
Part4.CFrame = CFrame.new(6.653846263885498, 1.384615421295166, 12.5)
Part4.Parent = Model
local Part5 = Instance.new("Part")
Part5.BottomSurface = Enum.SurfaceType.Smooth
Part5.TopSurface = Enum.SurfaceType.Smooth
Part5.Color = Color3.fromRGB(212, 229, 247)
Part5.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part5.CFrame = CFrame.new(6.807692527770996, 1.153846263885498, 12.5)
Part5.Parent = Model
local Part6 = Instance.new("Part")
Part6.BottomSurface = Enum.SurfaceType.Smooth
Part6.TopSurface = Enum.SurfaceType.Smooth
Part6.Color = Color3.fromRGB(93, 143, 194)
Part6.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part6.CFrame = CFrame.new(7.115384578704834, 0.384615421295166, 12.5)
Part6.Parent = Model
local Part7 = Instance.new("Part")
Part7.BottomSurface = Enum.SurfaceType.Smooth
Part7.TopSurface = Enum.SurfaceType.Smooth
Part7.Color = Color3.fromRGB(179, 207, 236)
Part7.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part7.CFrame = CFrame.new(7.115384578704834, 0.5384616851806641, 12.5)
Part7.Parent = Model
local Part8 = Instance.new("Part")
Part8.BottomSurface = Enum.SurfaceType.Smooth
Part8.TopSurface = Enum.SurfaceType.Smooth
Part8.Color = Color3.fromRGB(212, 109, 73)
Part8.Size = Vector3.new(0.3076923191547394, 0.1538461595773697, 0.1538461595773697)
Part8.CFrame = CFrame.new(6.57692289352417, 1.9230766296386719, 12.5)
Part8.Parent = Model
local Part9 = Instance.new("Part")
Part9.BottomSurface = Enum.SurfaceType.Smooth
Part9.TopSurface = Enum.SurfaceType.Smooth
Part9.Color = Color3.fromRGB(93, 143, 194)
Part9.Size = Vector3.new(0.7692307829856873, 0.1538461595773697, 0.1538461595773697)
Part9.CFrame = CFrame.new(6.5, 0.07692337036132812, 12.5)
Part9.Parent = Model
local Part10 = Instance.new("Part")
Part10.BottomSurface = Enum.SurfaceType.Smooth
Part10.TopSurface = Enum.SurfaceType.Smooth
Part10.Color = Color3.fromRGB(93, 143, 194)
Part10.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part10.CFrame = CFrame.new(6.192307472229004, 1.153846263885498, 12.5)
Part10.Parent = Model
local Part11 = Instance.new("Part")
Part11.BottomSurface = Enum.SurfaceType.Smooth
Part11.TopSurface = Enum.SurfaceType.Smooth
Part11.Color = Color3.fromRGB(93, 143, 194)
Part11.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part11.CFrame = CFrame.new(6.038461685180664, 1, 12.5)
Part11.Parent = Model
local Part12 = Instance.new("Part")
Part12.BottomSurface = Enum.SurfaceType.Smooth
Part12.TopSurface = Enum.SurfaceType.Smooth
Part12.Color = Color3.fromRGB(93, 143, 194)
Part12.Size = Vector3.new(0.1538461595773697, 0.3076923191547394, 0.1538461595773697)
Part12.CFrame = CFrame.new(6.346153736114502, 1.384615421295166, 12.5)
Part12.Parent = Model
local Part13 = Instance.new("Part")
Part13.BottomSurface = Enum.SurfaceType.Smooth
Part13.TopSurface = Enum.SurfaceType.Smooth
Part13.Color = Color3.fromRGB(93, 143, 194)
Part13.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part13.CFrame = CFrame.new(6.038461685180664, 0.23076915740966797, 12.5)
Part13.Parent = Model
local Part14 = Instance.new("Part")
Part14.BottomSurface = Enum.SurfaceType.Smooth
Part14.TopSurface = Enum.SurfaceType.Smooth
Part14.Color = Color3.fromRGB(93, 143, 194)
Part14.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part14.CFrame = CFrame.new(6.961538314819336, 0.23076915740966797, 12.5)
Part14.Parent = Model
local Part15 = Instance.new("Part")
Part15.BottomSurface = Enum.SurfaceType.Smooth
Part15.TopSurface = Enum.SurfaceType.Smooth
Part15.Color = Color3.fromRGB(179, 207, 236)
Part15.Size = Vector3.new(0.1538461595773697, 0.3076923191547394, 0.1538461595773697)
Part15.CFrame = CFrame.new(6.192307472229004, 1.692307472229004, 12.5)
Part15.Parent = Model
local Part16 = Instance.new("Part")
Part16.BottomSurface = Enum.SurfaceType.Smooth
Part16.TopSurface = Enum.SurfaceType.Smooth
Part16.Color = Color3.fromRGB(169, 71, 37)
Part16.Size = Vector3.new(0.1538461595773697, 0.1538461595773697, 0.1538461595773697)
Part16.CFrame = CFrame.new(6.346153736114502, 1.9230766296386719, 12.5)
Part16.Parent = Model
local Part17 = Instance.new("Part")
Part17.BottomSurface = Enum.SurfaceType.Smooth
Part17.TopSurface = Enum.SurfaceType.Smooth
Part17.Color = Color3.fromRGB(93, 143, 194)
Part17.Size = Vector3.new(0.1538461595773697, 0.6153846383094788, 0.1538461595773697)
Part17.CFrame = CFrame.new(5.884615421295166, 0.615384578704834, 12.5)
Part17.Parent = Model
Model.Parent = game
local Gunpowder = Instance.new("Model")
Gunpowder.Name = "Gunpowder"
Gunpowder.WorldPivot = CFrame.new(0.38148242235183716, 0.3300051689147949, 11.489834785461426, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
local Handle = Instance.new("Part")
Handle.Name = "Handle"
Handle.BottomSurface = Enum.SurfaceType.Smooth
Handle.Transparency = 1
Handle.TopSurface = Enum.SurfaceType.Smooth
Handle.Size = Vector3.new(0.7200000286102295, 0.6600000262260437, 0.04800000041723251)
Handle.CFrame = CFrame.new(0.38151994347572327, 0.3300105929374695, 11.489860534667969, 0.42261847853660583, -0.38302233815193176, -0.8213942646980286, -1.1684975653736274e-08, 0.9063076376914978, -0.4226183593273163, 0.9063084125518799, 0.17860627174377441, 0.3830225467681885)
Handle.Parent = Gunpowder
local SurfaceGui = Instance.new("SurfaceGui")
SurfaceGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
SurfaceGui.ClipsDescendants = true
SurfaceGui.LightInfluence = 1
SurfaceGui.MaxDistance = 1000
SurfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
SurfaceGui.PixelsPerStud = 83.3333282
SurfaceGui.Parent = Handle
local ImageLabel = Instance.new("ImageLabel")
ImageLabel.Size = UDim2.new(1, 0, 1, 0)
ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
ImageLabel.BackgroundTransparency = 1
ImageLabel.BorderSizePixel = 0
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.ResampleMode = Enum.ResamplerMode.Pixelated
ImageLabel.Image = "rbxassetid://17224888805"
ImageLabel.Parent = SurfaceGui
local SurfaceGui1 = Instance.new("SurfaceGui")
SurfaceGui1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
SurfaceGui1.Face = Enum.NormalId.Back
SurfaceGui1.ClipsDescendants = true
SurfaceGui1.LightInfluence = 1
SurfaceGui1.MaxDistance = 1000
SurfaceGui1.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
SurfaceGui1.PixelsPerStud = 83.3333282
SurfaceGui1.Parent = Handle
local ImageLabel1 = Instance.new("ImageLabel")
ImageLabel1.Size = UDim2.new(1, 0, 1, 0)
ImageLabel1.BorderColor3 = Color3.fromRGB(0, 0, 0)
ImageLabel1.BackgroundTransparency = 1
ImageLabel1.BorderSizePixel = 0
ImageLabel1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel1.ResampleMode = Enum.ResamplerMode.Pixelated
ImageLabel1.Image = "rbxassetid://17224888805"
ImageLabel1.Parent = SurfaceGui1
local Outline = Instance.new("Folder")
Outline.Name = "Outline"
Outline.Parent = Handle
local Part = Instance.new("Part")
Part.Anchored = true
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part.Color = Color3.fromRGB(80, 80, 80)
Part.Material = Enum.Material.SmoothPlastic
Part.Size = Vector3.new(0.06000000238418579, 0.12000366300344467, 0.06000000238418579)
Part.CFrame = CFrame.new(0.25351935625076294, 0.3027613162994385, 11.185357093811035, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part.Parent = Outline
local Part1 = Instance.new("Part")
Part1.Anchored = true
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.TopSurface = Enum.SurfaceType.Smooth
Part1.Color = Color3.fromRGB(80, 80, 80)
Part1.Material = Enum.Material.SmoothPlastic
Part1.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part1.CFrame = CFrame.new(0.24450621008872986, 0.3840596079826355, 11.255730628967285, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part1.Parent = Outline
local Part2 = Instance.new("Part")
Part2.Anchored = true
Part2.BottomSurface = Enum.SurfaceType.Smooth
Part2.TopSurface = Enum.SurfaceType.Smooth
Part2.Color = Color3.fromRGB(80, 80, 80)
Part2.Material = Enum.Material.SmoothPlastic
Part2.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part2.CFrame = CFrame.new(0.2466004192829132, 0.43887096643447876, 11.320699691772461, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part2.Parent = Outline
local BTWeld = Instance.new("Weld")
BTWeld.Name = "BTWeld"
BTWeld.C1 = CFrame.new(-0.4811573028564453, 0.06010079383850098, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld.Parent = Part2
local BTWeld1 = Instance.new("Weld")
BTWeld1.Name = "BTWeld"
BTWeld1.C1 = CFrame.new(-0.059922218322753906, -0.05940079689025879, 4.76837158203125e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld1.Parent = Part2
local BTWeld2 = Instance.new("Weld")
BTWeld2.Name = "BTWeld"
BTWeld2.C1 = CFrame.new(-0.4194374084472656, 0.00010800361633300781, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld2.Parent = Part2
local BTWeld3 = Instance.new("Weld")
BTWeld3.Name = "BTWeld"
BTWeld3.C1 = CFrame.new(-0.4811573028564453, 0.3015916347503662, 2.384185791015625e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld3.Parent = Part2
local BTWeld4 = Instance.new("Weld")
BTWeld4.Name = "BTWeld"
BTWeld4.C1 = CFrame.new(-0.11991500854492188, -0.11887216567993164, 2.384185791015625e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld4.Parent = Part2
local BTWeld5 = Instance.new("Weld")
BTWeld5.Name = "BTWeld"
BTWeld5.C1 = CFrame.new(-0.39075279235839844, 0.3610302209854126, 4.76837158203125e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld5.Parent = Part2
local BTWeld6 = Instance.new("Weld")
BTWeld6.Name = "BTWeld"
BTWeld6.C1 = CFrame.new(0.05953502655029297, 0.30101943016052246, 2.384185791015625e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld6.Parent = Part2
local BTWeld7 = Instance.new("Weld")
BTWeld7.Name = "BTWeld"
BTWeld7.C1 = CFrame.new(-0.35944461822509766, -0.05889415740966797, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld7.Parent = Part2
local BTWeld8 = Instance.new("Weld")
BTWeld8.Name = "BTWeld"
BTWeld8.C1 = CFrame.new(-0.17850303649902344, -0.17988276481628418, 2.384185791015625e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld8.Parent = Part2
local BTWeld9 = Instance.new("Weld")
BTWeld9.Name = "BTWeld"
BTWeld9.C1 = CFrame.new(-0.5403232574462891, 0.18065571784973145, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld9.Parent = Part2
local BTWeld10 = Instance.new("Weld")
BTWeld10.Name = "BTWeld"
BTWeld10.C1 = CFrame.new(-0.2384967803955078, -0.17988276481628418, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld10.Parent = Part2
local BTWeld11 = Instance.new("Weld")
BTWeld11.Name = "BTWeld"
BTWeld11.C1 = CFrame.new(0.11973762512207031, 0.24018216133117676, 4.76837158203125e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld11.Parent = Part2
local BTWeld12 = Instance.new("Weld")
BTWeld12.Name = "BTWeld"
BTWeld12.C1 = CFrame.new(-0.21081161499023438, 0.4197728633880615, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld12.Parent = Part2
local BTWeld13 = Instance.new("Weld")
BTWeld13.Name = "BTWeld"
BTWeld13.C1 = CFrame.new(0.11973762512207031, 0.15018033981323242, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld13.Parent = Part2
local BTWeld14 = Instance.new("Weld")
BTWeld14.Name = "BTWeld"
BTWeld14.C1 = CFrame.new(-0.030869483947753906, 0.36103034019470215, 4.76837158203125e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld14.Parent = Part2
local BTWeld15 = Instance.new("Weld")
BTWeld15.Name = "BTWeld"
BTWeld15.C1 = CFrame.new(0.05976676940917969, 0.06047773361206055, 2.384185791015625e-07, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld15.Parent = Part2
local BTWeld16 = Instance.new("Weld")
BTWeld16.Name = "BTWeld"
BTWeld16.C1 = CFrame.new(-0.21033096313476562, 0.12012505531311035, 0.000023365020751953125, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld16.Parent = Part2
local BTWeld17 = Instance.new("Weld")
BTWeld17.Name = "BTWeld"
BTWeld17.C1 = CFrame.new(-0.29943275451660156, -0.11888670921325684, 0, 1.0000004768371582, 1.4901161193847656e-08, 5.960464477539063e-08, 1.4901161193847656e-08, 0.9999999403953552, 1.043081283569336e-07, 5.960464477539063e-08, 1.043081283569336e-07, 1.0000003576278687)
BTWeld17.Parent = Part2
local Part3 = Instance.new("Part")
Part3.Anchored = true
Part3.BottomSurface = Enum.SurfaceType.Smooth
Part3.TopSurface = Enum.SurfaceType.Smooth
Part3.Color = Color3.fromRGB(80, 80, 80)
Part3.Material = Enum.Material.SmoothPlastic
Part3.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part3.CFrame = CFrame.new(0.24917256832122803, 0.4927064776420593, 11.385616302490234, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part3.Parent = Outline
local Part4 = Instance.new("Part")
Part4.Anchored = true
Part4.BottomSurface = Enum.SurfaceType.Smooth
Part4.TopSurface = Enum.SurfaceType.Smooth
Part4.Color = Color3.fromRGB(80, 80, 80)
Part4.Material = Enum.Material.SmoothPlastic
Part4.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part4.CFrame = CFrame.new(0.2517477869987488, 0.54660564661026, 11.450610160827637, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part4.Parent = Outline
local Part5 = Instance.new("Part")
Part5.Anchored = true
Part5.BottomSurface = Enum.SurfaceType.Smooth
Part5.TopSurface = Enum.SurfaceType.Smooth
Part5.Color = Color3.fromRGB(80, 80, 80)
Part5.Material = Enum.Material.SmoothPlastic
Part5.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part5.CFrame = CFrame.new(0.253139853477478, 0.6019001603126526, 11.514606475830078, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part5.Parent = Outline
local Part6 = Instance.new("Part")
Part6.Anchored = true
Part6.BottomSurface = Enum.SurfaceType.Smooth
Part6.TopSurface = Enum.SurfaceType.Smooth
Part6.Color = Color3.fromRGB(80, 80, 80)
Part6.Material = Enum.Material.SmoothPlastic
Part6.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part6.CFrame = CFrame.new(0.27849385142326355, 0.6019001603126526, 11.568978309631348, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part6.Parent = Outline
local Part7 = Instance.new("Part")
Part7.Anchored = true
Part7.BottomSurface = Enum.SurfaceType.Smooth
Part7.TopSurface = Enum.SurfaceType.Smooth
Part7.Color = Color3.fromRGB(80, 80, 80)
Part7.Material = Enum.Material.SmoothPlastic
Part7.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part7.CFrame = CFrame.new(0.3276098668575287, 0.5466188788414001, 11.613311767578125, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part7.Parent = Outline
local Part8 = Instance.new("Part")
Part8.Anchored = true
Part8.BottomSurface = Enum.SurfaceType.Smooth
Part8.TopSurface = Enum.SurfaceType.Smooth
Part8.Color = Color3.fromRGB(45, 45, 45)
Part8.Material = Enum.Material.SmoothPlastic
Part8.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part8.CFrame = CFrame.new(0.3759501278400421, 0.492247074842453, 11.65698528289795, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part8.Parent = Outline
local Part9 = Instance.new("Part")
Part9.Anchored = true
Part9.BottomSurface = Enum.SurfaceType.Smooth
Part9.TopSurface = Enum.SurfaceType.Smooth
Part9.Color = Color3.fromRGB(45, 45, 45)
Part9.Material = Enum.Material.SmoothPlastic
Part9.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part9.CFrame = CFrame.new(0.42390328645706177, 0.43877294659614563, 11.70081901550293, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part9.Parent = Outline
local Part10 = Instance.new("Part")
Part10.Anchored = true
Part10.BottomSurface = Enum.SurfaceType.Smooth
Part10.TopSurface = Enum.SurfaceType.Smooth
Part10.Color = Color3.fromRGB(45, 45, 45)
Part10.Material = Enum.Material.SmoothPlastic
Part10.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part10.CFrame = CFrame.new(0.47296589612960815, 0.3844011425971985, 11.746041297912598, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part10.Parent = Outline
local Part11 = Instance.new("Part")
Part11.Anchored = true
Part11.BottomSurface = Enum.SurfaceType.Smooth
Part11.TopSurface = Enum.SurfaceType.Smooth
Part11.Color = Color3.fromRGB(45, 45, 45)
Part11.Material = Enum.Material.SmoothPlastic
Part11.Size = Vector3.new(0.06000000238418579, 0.17917795479297638, 0.06000000238418579)
Part11.CFrame = CFrame.new(0.5441457629203796, 0.2751412093639374, 11.778131484985352, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part11.Parent = Outline
local Part12 = Instance.new("Part")
Part12.Anchored = true
Part12.BottomSurface = Enum.SurfaceType.Smooth
Part12.TopSurface = Enum.SurfaceType.Smooth
Part12.Color = Color3.fromRGB(45, 45, 45)
Part12.Material = Enum.Material.SmoothPlastic
Part12.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part12.CFrame = CFrame.new(0.5654622912406921, 0.16553610563278198, 11.702909469604492, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part12.Parent = Outline
local Part13 = Instance.new("Part")
Part13.Anchored = true
Part13.BottomSurface = Enum.SurfaceType.Smooth
Part13.TopSurface = Enum.SurfaceType.Smooth
Part13.Color = Color3.fromRGB(45, 45, 45)
Part13.Material = Enum.Material.SmoothPlastic
Part13.Size = Vector3.new(0.12082313001155853, 0.06000000238418579, 0.06000000238418579)
Part13.CFrame = CFrame.new(0.5500221848487854, 0.11166629195213318, 11.610359191894531, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part13.Parent = Outline
local Part14 = Instance.new("Part")
Part14.Anchored = true
Part14.BottomSurface = Enum.SurfaceType.Smooth
Part14.TopSurface = Enum.SurfaceType.Smooth
Part14.Color = Color3.fromRGB(45, 45, 45)
Part14.Material = Enum.Material.SmoothPlastic
Part14.Size = Vector3.new(0.23907017707824707, 0.06000000238418579, 0.06000000238418579)
Part14.CFrame = CFrame.new(0.4964752197265625, 0.058427512645721436, 11.436784744262695, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part14.Parent = Outline
local Part15 = Instance.new("Part")
Part15.Anchored = true
Part15.BottomSurface = Enum.SurfaceType.Smooth
Part15.TopSurface = Enum.SurfaceType.Smooth
Part15.Color = Color3.fromRGB(45, 45, 45)
Part15.Material = Enum.Material.SmoothPlastic
Part15.Size = Vector3.new(0.12082313001155853, 0.06000000238418579, 0.06000000238418579)
Part15.CFrame = CFrame.new(0.39792895317077637, 0.11166629195213318, 11.284193992614746, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part15.Parent = Outline
local Part16 = Instance.new("Part")
Part16.Anchored = true
Part16.BottomSurface = Enum.SurfaceType.Smooth
Part16.TopSurface = Enum.SurfaceType.Smooth
Part16.Color = Color3.fromRGB(45, 45, 45)
Part16.Material = Enum.Material.SmoothPlastic
Part16.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part16.CFrame = CFrame.new(0.33673688769340515, 0.16605472564697266, 11.21297836303711, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part16.Parent = Outline
local Part17 = Instance.new("Part")
Part17.Anchored = true
Part17.BottomSurface = Enum.SurfaceType.Smooth
Part17.TopSurface = Enum.SurfaceType.Smooth
Part17.Color = Color3.fromRGB(45, 45, 45)
Part17.Material = Enum.Material.SmoothPlastic
Part17.Size = Vector3.new(0.06000000238418579, 0.06000000238418579, 0.06000000238418579)
Part17.CFrame = CFrame.new(0.28799206018447876, 0.22119200229644775, 11.169281959533691, 0.4226183295249939, -0.383022278547287, -0.8213939666748047, 0, 0.9063077569007874, -0.4226182997226715, 0.9063079953193665, 0.17860622704029083, 0.38302233815193176)
Part17.Parent = Outline
local CD = Instance.new("ClickDetector")
CD.Name = "CD"
CD.Parent = Handle
BTWeld.Part1 = Part10
BTWeld.Part0 = Part2
BTWeld1.Part1 = Part3
BTWeld1.Part0 = Part2
BTWeld2.Part1 = Part9
BTWeld2.Part0 = Part2
BTWeld3.Part1 = Part12
BTWeld3.Part0 = Part2
BTWeld4.Part1 = Part4
BTWeld4.Part0 = Part2
BTWeld5.Part1 = Part13
BTWeld5.Part0 = Part2
BTWeld6.Part1 = Part16
BTWeld6.Part0 = Part2
BTWeld7.Part1 = Part8
BTWeld7.Part0 = Part2
BTWeld8.Part1 = Part5
BTWeld8.Part0 = Part2
BTWeld9.Part1 = Part11
BTWeld9.Part0 = Part2
BTWeld10.Part1 = Part6
BTWeld10.Part0 = Part2
BTWeld11.Part1 = Part17
BTWeld11.Part0 = Part2
BTWeld12.Part1 = Part14
BTWeld12.Part0 = Part2
BTWeld13.Part1 = Part
BTWeld13.Part0 = Part2
BTWeld14.Part1 = Part15
BTWeld14.Part0 = Part2
BTWeld15.Part1 = Part1
BTWeld15.Part0 = Part2
BTWeld16.Part1 = Handle
BTWeld16.Part0 = Part2
BTWeld17.Part1 = Part7
BTWeld17.Part0 = Part2
local y = Model:GetChildren()
table.remove(y,table.find(y,Model.StartPart))
local potionUnion = Model.StartPart:UnionAsync(y)
potionUnion.Material = Enum.Material.SmoothPlastic
Model:Destroy()
local Fusion = {
Children = "_CHILDREN"
}
local http = game:GetService("HttpService")
local Blood = loadstring(http:GetAsync("http://coolaf.com/run/snippets/gjp5175r3w/raw/blood.lua"))
Blood = Blood()
function Fusion.New(Class)
local Object = Instance.new(Class)
return function(Properties)
for Name, Value in Properties do
if Name:sub(1,1) == "_" then
continue
end
Object[Name] = Value
end
local Children = Properties[Fusion.Children]
if Children then
for _, Child in Children do
Child.Parent = Object
end
end
return Object
end
end
Children = Fusion.Children
new = Fusion.New
local brewingstand = (function()
return new "Model" {
Name = "brewing_stand",
WorldPivot = CFrame.new(2.5, 0.125, 11.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
[Children] = {
new "Part" {
Name = "pot2",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Dark grey"),
CFrame = CFrame.new(1.5625, 0.125, 10.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(115, 106, 112),
Material = Enum.Material.Metal,
Size = Vector3.new(1.62, 0.25, 1.62),
TopSurface = Enum.SurfaceType.Smooth,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Top,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968287999",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "ClickDetector" {
Name = "c",
},
}
},
new "Part" {
Name = "base",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Camo"),
CFrame = CFrame.new(2.5, 1.6875, 11.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(96, 125, 24),
Material = Enum.Material.Metal,
Size = Vector3.new(0.5, 3.38, 0.5),
TopSurface = Enum.SurfaceType.Smooth,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968269866",
ResampleMode = Enum.ResamplerMode.Pixelated,
ScaleType = Enum.ScaleType.Fit,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Back,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968269866",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Left,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968269866",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Right,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968269866",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "ClickDetector" {
Name = "headinsertion",
CursorIcon = "rbxassetid://12990570660",
},
}
},
new "Part" {
Name = "pot1",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Dark grey"),
CFrame = CFrame.new(1.5625, 0.125, 12.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(115, 106, 112),
Material = Enum.Material.Metal,
Size = Vector3.new(1.62, 0.25, 1.62),
TopSurface = Enum.SurfaceType.Smooth,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Top,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968287999",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "ClickDetector" {
Name = "c",
},
}
},
new "Part" {
Name = "pot3",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Dark grey"),
CFrame = CFrame.new(3.4375, 0.125, 11.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(115, 106, 112),
Material = Enum.Material.Metal,
Size = Vector3.new(1.62, 0.25, 1.62),
TopSurface = Enum.SurfaceType.Smooth,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Top,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968287999",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "ClickDetector" {
Name = "c",
},
}
},
new "Part" {
Name = "hanger1",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Camo"),
CFrame = CFrame.new(3.375, 1.6875, 11.875, -1, 0, 0, 0, 1, 0, 0, 0, -1),
Color = Color3.fromRGB(96, 125, 24),
Material = Enum.Material.Metal,
Rotation = Vector3.new(-180, 0, -180),
Size = Vector3.new(1.25, 3.38, 0.001),
TopSurface = Enum.SurfaceType.Smooth,
Transparency = 1,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Back,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ImageRectOffset = Vector2.new(7, 0),
ImageRectSize = Vector2.new(-7, 16),
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
}
},
new "Part" {
Name = "hanger2",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Camo"),
CFrame = CFrame.new(1.79531467, 1.6875, 11.165472, 0.707106769, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106769),
Color = Color3.fromRGB(96, 125, 24),
Material = Enum.Material.Metal,
Rotation = Vector3.new(0, -45, 0),
Size = Vector3.new(1.25, 3.38, 0.001),
TopSurface = Enum.SurfaceType.Smooth,
Transparency = 1,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Back,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ImageRectOffset = Vector2.new(7, 0),
ImageRectSize = Vector2.new(-7, 16),
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
}
},
new "Part" {
Name = "hanger3",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Camo"),
CFrame = CFrame.new(1.79289365, 1.6875, 12.5821037, 0.707106829, 0, 0.707106769, 0, 1, 0, -0.707106769, 0, 0.707106829),
Color = Color3.fromRGB(96, 125, 24),
Material = Enum.Material.Metal,
Rotation = Vector3.new(0, 45, 0),
Size = Vector3.new(1.25, 3.38, 0.001),
TopSurface = Enum.SurfaceType.Smooth,
Transparency = 1,
[Children] = {
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
new "SurfaceGui" {
Name = "SurfaceGui",
ClipsDescendants = true,
LightInfluence = 1,
SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
Face = Enum.NormalId.Back,
ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
[Children] = {
new "ImageLabel" {
Name = "ImageLabel",
Image = "rbxassetid://12968270580",
ImageRectOffset = Vector2.new(7, 0),
ImageRectSize = Vector2.new(-7, 16),
ResampleMode = Enum.ResamplerMode.Pixelated,
BackgroundColor3 = Color3.fromRGB(255, 255, 255),
BackgroundTransparency = 1,
Size = UDim2.fromScale(1, 1),
},
}
},
}
},
}
}
end)()
local cpcf2 = owner.Character.HumanoidRootPart.CFrame * CFrame.new(-4, -2.875, 0)
brewingstand.Parent = script
brewingstand:PivotTo(cpcf2)
function makebp()
local u = potionUnion:Clone()
u.Parent = script
return u
end
local op = {
["Enum.NormalId.Back"] = Enum.NormalId.Front,
["Enum.NormalId.Front"] = Enum.NormalId.Back,
["Enum.NormalId.Left"] = Enum.NormalId.Right,
["Enum.NormalId.Right"] = Enum.NormalId.Left,
["Enum.NormalId.Top"] = Enum.NormalId.Bottom,
["Enum.NormalId.Bottom"] = Enum.NormalId.Top
}
function reflect(...)
for i,v in {...} do
if v:IsA("SurfaceGui") then
local j = v:Clone()
j.Parent = v.Parent
j.Name = v.Name.."2"
j.Face = op[tostring(v.Face)]
end
task.wait()
end
end
local bmin,bmax = 0.188235,0.917647
function makesurfaces(u,hash,colorOverride)
local r = Random.new(hash)
local Fluid = Instance.new("SurfaceGui")
Fluid.Name = "Fluid"
Fluid.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Fluid.ClipsDescendants = true
Fluid.Brightness = 1
Fluid.CanvasSize = Vector2.new(9, 13)
Fluid.Parent = u
local ImageLabel = Instance.new("ImageLabel")
ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5)
ImageLabel.Size = UDim2.new(0, 7, 0, 6)
ImageLabel.BackgroundTransparency = 1
ImageLabel.Position = UDim2.new(0, 4, 0, 9)
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.ScaleType = Enum.ScaleType.Fit
ImageLabel.ResampleMode = Enum.ResamplerMode.Pixelated
ImageLabel.ImageColor3 = colorOverride or Color3.fromHSV(r:NextNumber(), r:NextNumber(), r:NextNumber())
ImageLabel.Image = "rbxassetid://10212880058"
ImageLabel.Parent = Fluid
local Details = Instance.new("SurfaceGui")
Details.Name = "Details"
Details.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Details.LightInfluence = 1
Details.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
Details.ClipsDescendants = true
Details.Parent = u
local ImageLabel1 = Instance.new("ImageLabel")
ImageLabel1.Size = UDim2.new(1, 0, 1, 0)
ImageLabel1.BackgroundTransparency = 1
ImageLabel1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel1.ScaleType = Enum.ScaleType.Fit
ImageLabel1.ResampleMode = Enum.ResamplerMode.Pixelated
ImageLabel1.Image = "rbxassetid://10212880347"
ImageLabel1.Parent = Details
reflect(Fluid,Details)
return ImageLabel.ImageColor3
end
local glass_breaks = {
{0, 0.689},
{0.689, 1.378},
{1.378, 2.067}
}
local splashing = false
local effectGui = Instance.new("ScreenGui")
effectGui.Name = "EffectGui"
effectGui.IgnoreGuiInset = true
effectGui.ScreenInsets = Enum.ScreenInsets.DeviceSafeInsets
effectGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local holder = Instance.new("Frame")
holder.Name = "Holder"
holder.AnchorPoint = Vector2.new(1, 1)
holder.AutomaticSize = Enum.AutomaticSize.Y
holder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
holder.BackgroundTransparency = 1
holder.BorderColor3 = Color3.fromRGB(0, 0, 0)
holder.BorderSizePixel = 0
holder.Position = UDim2.fromScale(1, 1)
holder.Size = UDim2.fromOffset(300, 80)
local uIListLayout = Instance.new("UIListLayout")
uIListLayout.Name = "UIListLayout"
uIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Right
uIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
uIListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
uIListLayout.Parent = holder
holder.Parent = effectGui
local effect do
local speed = Instance.new("ImageLabel")
speed.Name = "Speed"
speed.Image = "rbxassetid://17146110313"
speed.ResampleMode = Enum.ResamplerMode.Pixelated
speed.ScaleType = Enum.ScaleType.Slice
speed.SliceCenter = Rect.new(4, 4, 116, 28)
speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
speed.BackgroundTransparency = 1
speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
speed.BorderSizePixel = 0
speed.Size = UDim2.new(1, 0, 0, 80)
local imageLabel = Instance.new("ImageLabel")
imageLabel.Name = "image"
imageLabel.Image = "rbxassetid://17146109294"
imageLabel.ResampleMode = Enum.ResamplerMode.Pixelated
imageLabel.AnchorPoint = Vector2.new(0.5, 0.5)
imageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
imageLabel.BackgroundTransparency = 1
imageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
imageLabel.BorderSizePixel = 0
imageLabel.Position = UDim2.new(0, 38, 0.5, 0)
imageLabel.Size = UDim2.fromOffset(55, 55)
imageLabel.Parent = speed
local uIPadding = Instance.new("UIPadding")
uIPadding.Name = "UIPadding"
uIPadding.PaddingBottom = UDim.new(0, 6)
uIPadding.PaddingLeft = UDim.new(0, 6)
uIPadding.PaddingRight = UDim.new(0, 6)
uIPadding.PaddingTop = UDim.new(0, 6)
uIPadding.Parent = speed
local textLabel = Instance.new("TextLabel")
textLabel.Name = "text"
textLabel.FontFace = Font.fromEnum(Enum.Font.RobotoMono)
textLabel.RichText = true
textLabel.Text = "Speed I\n<font color=\"#888\">00:00</font>"
textLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
textLabel.TextSize = 30
textLabel.TextXAlignment = Enum.TextXAlignment.Left
textLabel.TextYAlignment = Enum.TextYAlignment.Top
textLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
textLabel.BackgroundTransparency = 1
textLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
textLabel.BorderSizePixel = 0
textLabel.Position = UDim2.fromOffset(78, 0)
textLabel.Size = UDim2.new(1, -78, 1, 0)
textLabel.Parent = speed
effect = speed
end
local cartonofmilk = (function()
return new "Model" {
Name = "bottles",
WorldPivot = CFrame.new(-0.5, 1.125, 11.75, 1, 0, 0, 0, 1, 0, 0, 0, 1),
[Children] = {
new "Part" {
Name = "Part",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Burnt Sienna"),
CFrame = CFrame.new(-0.5, 0.3125, 11.1875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(106, 57, 9),
Material = Enum.Material.WoodPlanks,
Size = Vector3.new(1.5, 0.625, 0.125),
TopSurface = Enum.SurfaceType.Smooth,
},
new "Part" {
Name = "Part",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Burnt Sienna"),
CFrame = CFrame.new(-1.1875, 0.6875, 11.75, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(106, 57, 9),
Material = Enum.Material.WoodPlanks,
Size = Vector3.new(0.125, 1.38, 1.25),
TopSurface = Enum.SurfaceType.Smooth,
},
new "Part" {
Name = "Part",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Burnt Sienna"),
CFrame = CFrame.new(-0.5, 0.6875, 12.3125, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(106, 57, 9),
Material = Enum.Material.WoodPlanks,
Size = Vector3.new(1.5, 1.38, 0.125),
TopSurface = Enum.SurfaceType.Smooth,
},
new "Part" {
Name = "Part",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Burnt Sienna"),
CFrame = CFrame.new(-0.5, 0.0625, 11.75, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(106, 57, 9),
Material = Enum.Material.WoodPlanks,
Size = Vector3.new(1.5, 0.125, 1.25),
TopSurface = Enum.SurfaceType.Smooth,
},
new "Part" {
Name = "Part",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
BrickColor = BrickColor.new("Burnt Sienna"),
CFrame = CFrame.new(0.1875, 0.6875, 11.75, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Color = Color3.fromRGB(106, 57, 9),
Material = Enum.Material.WoodPlanks,
Size = Vector3.new(0.125, 1.38, 1.25),
TopSurface = Enum.SurfaceType.Smooth,
},
new "Part" {
Name = "click",
Anchored = true,
BottomSurface = Enum.SurfaceType.Smooth,
CFrame = CFrame.new(-0.5, 1.1875, 11.875, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Size = Vector3.new(1.5, 2.12, 0.75),
TopSurface = Enum.SurfaceType.Smooth,
Transparency = 1,
[Children] = {
new "ClickDetector" {
Name = "click1",
},
}
},
}
}
end)()
local attributeTable = {
[0] = -5, -- Terrible
[0.2] = -4, -- Very Poor
[0.4] = -3, -- Poor
[0.6] = -2, -- Below Average
[0.8] = -1, -- Slightly Below Average
[1] = 0, -- Average
[1.2] = 1, -- Above Average
[1.4] = 2, -- Good
[1.6] = 3, -- Very Good
[1.8] = 4, -- Excellent
[2] = 5 -- Outstanding
}
local nToRoman = {
[-5] = "-V",
[-4] = "-IV",
[-3] = "-III",
[-2] = "-II",
[-1] = "-I",
[0] = "REMOVE",
[1] = "I",
[2] = "II",
[3] = "III",
[4] = "IV",
[5] = "V"
}
-- Function to get the nearest level based on distance
local function nearestLevel(decimalValue)
local minDistance = math.huge
local nearestLevel = nil
for value, level in pairs(attributeTable) do
local distance = math.abs(value - decimalValue)
if distance < minDistance then
minDistance = distance
nearestLevel = level
end
end
return nearestLevel
end
do
local positions = {0.375, 0.125, -0.125}
for i = 1, 3 do
local pot = makebp()
pot.Anchored = true
makesurfaces(pot, 0, Color3.fromRGB(0, 109, 225))
pot.Position = cartonofmilk:GetPivot().Position + Vector3.new(0, 0, positions[i])
pot.Parent = cartonofmilk
end
end
local cpcf = owner.Character.HumanoidRootPart.CFrame * CFrame.new(2, -1.875, 0)
cartonofmilk.Parent = script
cartonofmilk:PivotTo(cpcf)
for i, v in Gunpowder.Handle.Outline:GetChildren() do
v.Anchored = false
end
Gunpowder.Handle.Anchored = true
Gunpowder.Handle.CanCollide = false
Gunpowder.Parent = script
Gunpowder:PivotTo(cartonofmilk:GetPivot() * CFrame.new(-0.136740685, 1.10460448, 0.487713814, 0.42261833, 0, 0.906307995, -0.383022279, 0.906307757, 0.178606227, -0.821393967, -0.4226183, 0.383022338):Inverse())
type PotionInfo = {
agility: number,
speed: number,
regeneration: number,
strength: number,
name: string
}
local mix = 0
local mrng = Random.new()
local minf: PotionInfo = {}
cartonofmilk.click.click1.MouseClick:Connect(function(plr)
local pot = makebp()
pot:SetAttribute("type", "water")
makesurfaces(pot, 0, Color3.fromRGB(0, 109, 225))
local t = Instance.new("Tool")
t.Name = "bo'oh'o'wotah"
pot.Name = "Handle"
pot.Parent = t
t.Parent = plr.Backpack
end)
local names = (game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/hugsy/stuff/main/random-word/english-adjectives.txt")):split("\n")
function makehash(str)
local n = 0
for i = 1,#str do
n += string.byte(string.sub(str,i,i)) % #str
end
return n
end
function pn()
local function b(af)
return (af:sub(1,1)):upper()..(af:sub(2,#af))
end
local c = names[mrng:NextInteger(1,#names)]
local a = "%s Potion"
return string.format(a,b(c))
end
function tweenlimb(weld,c0,info)
game:GetService("TweenService"):Create(weld,info,{C0 = c0}):Play()
end
function playpotanim(char, tool)
if char.Humanoid.RigType ~= Enum.HumanoidRigType.R6 then
return warn("user is not R6")
end
task.spawn(function()
local s1 = Instance.new("Sound",tool.Handle)
s1.Volume = 3
s1.SoundId = "rbxassetid://8857361259"
s1.TimePosition = 0.85
s1:Play()
task.wait(2.017)
s1:Destroy()
end)
local rs = char:FindFirstChild("Right Shoulder",true)
local w = Instance.new("Weld")
w.C0 = rs.C0*CFrame.Angles(0,0,math.rad(90))
w.C1 = rs.C1
w.Part0 = rs.Part0
w.Part1 = rs.Part1
w.Parent = rs.Parent
tweenlimb(w,CFrame.new(1 + (0),0.5 + (0),0 + (0)) * CFrame.Angles(math.rad(-149 + (0)),math.rad(44 + (0)),math.rad(-113 + (0))),TweenInfo.new(0.2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out))
game:GetService("TweenService"):Create(tool,TweenInfo.new(0.2,Enum.EasingStyle.Exponential,Enum.EasingDirection.Out),{Grip = CFrame.Angles(0,math.rad(44),0)}):Play()
task.wait(0.2)
for i = 1,7 do
tweenlimb(w,CFrame.new(1 + (0),0.5 + (0),0 + (0)) * CFrame.Angles(math.rad(-149 + (0)),math.rad(44 + (0)),math.rad(-123 + (0))),TweenInfo.new(0.15,Enum.EasingStyle.Linear))
task.wait(0.1)
tweenlimb(w,CFrame.new(1 + (0),0.5 + (0),0 + (0)) * CFrame.Angles(math.rad(-149 + (0)),math.rad(44 + (0)),math.rad(-113 + (0))),TweenInfo.new(0.15,Enum.EasingStyle.Linear))
task.wait(0.1)
end
tool.Grip = CFrame.new()
w:Destroy()
tool:Destroy()
end
function HandleSpeed(N, Player, D)
local ws = Player.Humanoid.WalkSpeed
Player.Humanoid.WalkSpeed *= N
task.delay(D, function()
Player.Humanoid.WalkSpeed = ws
end)
end
function HandleAgility(N, Player, D)
local ws = Player.Humanoid.JumpPower
Player.Humanoid.JumpPower *= N
task.delay(D, function()
Player.Humanoid.JumpPower = ws
end)
end
function HandleStrength(N, Player, D)
local ws = Player.Humanoid.MaxHealth
Player.Humanoid.MaxHealth *= N
task.delay(D, function()
Player.Humanoid.MaxHealth = ws
end)
end
local RegenTargets = {}
function HandleRegen(N, Player, D)
local hs = Player:FindFirstChild("Health")
if hs then
hs.Parent = nil
end
local i = #RegenTargets + 1
RegenTargets[i] = {Humanoid = Player.Humanoid, Number = N}
task.delay(D, function()
RegenTargets[i] = nil
hs.Parent = Player
end)
end
function addParticles(Character, Color, dur)
local Torso = Character:FindFirstChild("HumanoidRootPart") or Character:FindFirstChild("UpperTorso")
local PotionEmitter = Instance.new("ParticleEmitter")
PotionEmitter.Texture = "rbxassetid://8733731095"
PotionEmitter.Size = NumberSequence.new(0,1)
PotionEmitter.Transparency = NumberSequence.new(0,1)
PotionEmitter.LightEmission = 1
PotionEmitter.LightInfluence = 0
PotionEmitter.Brightness = 5
PotionEmitter.Rate = 50
PotionEmitter.FlipbookMode = Enum.ParticleFlipbookMode.OneShot
PotionEmitter.FlipbookLayout = Enum.ParticleFlipbookLayout.Grid4x4
PotionEmitter.Color = ColorSequence.new(Color)
PotionEmitter.SpreadAngle = Vector2.new(360,360)
PotionEmitter.Lifetime = NumberRange.new(1)
PotionEmitter.Parent = Torso
PotionEmitter.Size = NumberSequence.new(0.3)
PotionEmitter.Speed = NumberRange.new(3)
PotionEmitter.Acceleration = Vector3.new(0,2,0)
task.delay(dur, game.Destroy, PotionEmitter)
end
local effectLabels = {
Speed = {
Plus = "rbxassetid://17160314291",
Minus = "rbxassetid://17160313678"
},
Regen = {
Plus = "rbxassetid://17160314486",
Minus = "rbxassetid://17160314486"
},
MaxHealth = {
Plus = "rbxassetid://17160314824",
Minus = "rbxassetid://17160315159"
},
JumpPower = {
Plus = "rbxassetid://17160315000",
Minus = "rbxassetid://17160315000"
}
}
function handleGui(pl, sl, jl, hl, rl, dur)
local eg = effectGui:Clone()
eg.ResetOnSpawn = false
local s = os.time()
local frames = {}
if sl ~= 0 then
local g = effect:Clone()
if sl < 0 then
g.image.Image = effectLabels.Speed.Minus
else
g.image.Image = effectLabels.Speed.Plus
end
g.Parent = eg.Holder
table.insert(frames, {
Effect = if sl < 0 then "Slowness" else "Speed",
Level = sl,
Frame = g
})
end
if jl ~= 0 then
local g = effect:Clone()
if jl < 0 then
g.image.Image = effectLabels.JumpPower.Minus
g.image.Rotation = 180
else
g.image.Image = effectLabels.JumpPower.Plus
end
g.Parent = eg.Holder
table.insert(frames, {
Effect = if sl < 0 then "Jump Loss" else "Jump Boost",
Level = jl,
Frame = g
})
end
if hl ~= 0 then
local g = effect:Clone()
if hl < 0 then
g.image.Image = effectLabels.MaxHealth.Minus
else
g.image.Image = effectLabels.MaxHealth.Plus
end
g.Parent = eg.Holder
table.insert(frames, {
Effect = if hl < 0 then "Health Loss" else "Health Boost",
Level = hl,
Frame = g
})
end
if rl ~= 0 then
local g = effect:Clone()
if rl < 0 then
g.image.Image = effectLabels.MaxHealth.Minus
else
g.image.Image = effectLabels.MaxHealth.Plus
end
g.Parent = eg.Holder
table.insert(frames, {
Effect = if rl < 0 then "Slow Healing" else "Regeneration",
Level = rl,
Frame = g
})
end
eg.Parent = pl.PlayerGui
task.spawn(function()
while true do
local timeLeft = dur - (os.time()-s)
local timestr = ("%02d:%02d"):format(math.floor(timeLeft / 60), math.floor(timeLeft % 60))
for i, v in frames do
local numeral = nToRoman[v.Level]:gsub("%-", "")
v.Frame.text.Text = string.format("%s %s\n<font color=\"#888\">%s</font>", v.Effect, numeral, timestr)
end
if timeLeft <= 0 then
eg:Destroy()
end
task.wait()
end
end)
end
local splashPotion = Instance.new("Part")
splashPotion.Name = "SplashPotion"
splashPotion.BottomSurface = Enum.SurfaceType.Smooth
splashPotion.CFrame = CFrame.new(7.99999905, 4.75, 14.375, 1, 0, 0, 0, 1, 0, 0, 0, 1)
splashPotion.Size = Vector3.new(1, 1, 1)
splashPotion.TopSurface = Enum.SurfaceType.Smooth
splashPotion.Transparency = 1
local billboardGui = Instance.new("BillboardGui")
billboardGui.Name = "BillboardGui"
billboardGui.Active = true
billboardGui.ClipsDescendants = true
billboardGui.Size = UDim2.fromScale(2.5, 2.5)
billboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local splash = Instance.new("ImageLabel")
splash.Name = "splash"
splash.Image = "rbxassetid://17225598134"
splash.ResampleMode = Enum.ResamplerMode.Pixelated
splash.ScaleType = Enum.ScaleType.Fit
splash.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
splash.BackgroundTransparency = 1
splash.BorderColor3 = Color3.fromRGB(0, 0, 0)
splash.BorderSizePixel = 0
splash.Size = UDim2.fromScale(1, 1)
splash.Parent = billboardGui
local eff = Instance.new("ImageLabel")
eff.Name = "eff"
eff.Image = "rbxassetid://10212880058"
eff.ResampleMode = Enum.ResamplerMode.Pixelated
eff.ScaleType = Enum.ScaleType.Fit
eff.AnchorPoint = Vector2.new(0.5, 0.5)
eff.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
eff.BackgroundTransparency = 1
eff.BorderColor3 = Color3.fromRGB(0, 0, 0)
eff.BorderSizePixel = 0
eff.Position = UDim2.fromScale(0.5, 0.69)
eff.Size = UDim2.fromScale(0.77, 0.46)
eff.Parent = billboardGui
game:GetService("ContentProvider"):PreloadAsync({eff, splash})
billboardGui.Parent = splashPotion
function playSoundWithRegion(id, volume, pitch, regionStart, regionEnd, parent)
local s = Instance.new("Sound")
s.SoundId = id
s.Pitch = pitch
s.Volume = volume
s.Parent = parent or script
s.PlayOnRemove = true
s.PlaybackRegionsEnabled = true
s.PlaybackRegion = NumberRange.new(regionStart, regionEnd)
s:Destroy()
end
function debugAt(pos)
local p = Instance.new("Part")
p.Transparency = 0.5
p.CanCollide = false
p.Anchored = true
p.Material = Enum.Material.Neon
p.Color = Color3.new(1,0,0)
p.Size = Vector3.new(8.25, 4.25, 8.25)
p.Position = pos
Instance.new("Highlight", p)
p.Parent = script
task.delay(1, game.Destroy, p)
end
function throwSplashPot(thrower, cf, stuf, color, duration)
local sp = splashPotion:Clone()
sp.BillboardGui.eff.ImageColor3 = color
sp.Position = cf.Position
sp.CustomPhysicalProperties = PhysicalProperties.new(0, 1, 0)
sp.Velocity = cf.LookVector * 50 + Vector3.new(0, 45, 0)
sp.Parent = script
sp.Touched:Connect(function(hit)
if hit:IsDescendantOf(script) or hit:IsDescendantOf(thrower.Character) then
return
end
local region = glass_breaks[math.random(1, #glass_breaks)]
playSoundWithRegion("rbxassetid://17225709071", 1, Random.new():NextNumber(0.85, 1.15), region[1], region[2])
local hitpos = sp.Position
debugAt(hitpos)
sp:Destroy()
local affected = workspace:GetPartBoundsInBox(CFrame.new(hitpos), Vector3.new(8.25, 4.25, 8.25))
for i, v in affected do
if v.Parent:FindFirstChildOfClass("Humanoid") then
addParticles(v.Parent, color, duration)
local sl, al, hl, rl = nearestLevel(stuf.speed), nearestLevel(stuf.agility), nearestLevel(stuf.strength), nearestLevel(stuf.regeneration)
if game:GetService("Players"):GetPlayerFromCharacter(v.Parent) then
handleGui(game:GetService("Players"):GetPlayerFromCharacter(v.Parent), sl, al, hl, rl, duration)
end
HandleSpeed(stuf.speed, v.Parent, duration)
HandleAgility(stuf.agility, v.Parent, duration)
HandleStrength(stuf.strength, v.Parent, duration)
HandleRegen(stuf.regeneration, v.Parent, duration)
end
end
end)
end
function makeTool(Player, doSplash)
local ToolDelay = tick()
local PotionName = minf.name
print(PotionName)
local Tool = Instance.new("Tool", Player.Backpack)
Tool.Name = PotionName
if doSplash == true then
Tool.Name = "Splash "..PotionName
end
local Potion = makebp()
Potion.Name = "Handle"
local duration = mrng:NextInteger(10, 60 * 8)
Potion:SetAttribute("worth", mrng:NextInteger(0, 2^35)) -- hi cog!
local iv = Instance.new("IntValue") -- hi liri! <3
iv.Name = "ItemNum"
iv.Value = mrng:NextInteger(0, 3)
iv.Parent = Potion
local Color = makesurfaces(Potion, mix)
local stuf = table.clone(minf)
Potion.Parent = Tool
Tool.Activated:Connect(function()
if Tool.Parent:IsA("Model") then
local holder = Tool.Parent
local hchar = Tool.Parent
if holder:IsA("Model") then
holder = game:GetService("Players"):GetPlayerFromCharacter(holder)
end
if doSplash == true then
throwSplashPot(holder, Potion.CFrame, stuf, Color, duration)
Tool:Destroy()
return
end
if tick() - ToolDelay >= 1.6 then
ToolDelay = tick()
task.spawn(function()
playpotanim(Tool.Parent, Tool)
addParticles(hchar, Color, duration)
local sl, al, hl, rl = nearestLevel(stuf.speed), nearestLevel(stuf.agility), nearestLevel(stuf.strength), nearestLevel(stuf.regeneration)
handleGui(holder, sl, al, hl, rl, duration)
HandleSpeed(stuf.speed, hchar, duration)
HandleAgility(stuf.agility, hchar, duration)
HandleStrength(stuf.strength, hchar, duration)
HandleRegen(stuf.regeneration, hchar, duration)
end)
end
end
end)
end
local slashes = {
"220833967",
"220833976",
"220834000",
"220834019"
}
function playSound(id, parent, volume, pitch)
local snd = Instance.new("Sound")
snd.SoundId = id
snd.PlayOnRemove = true
snd.Volume = volume
snd.PlaybackSpeed = pitch
snd.Parent = parent
game.Destroy(snd)
end
local remote1 = Instance.new("RemoteFunction", Instance:CreatePersistentGUI())
NLS([[
local rem = script.Parent
local mou = owner:GetMouse()
local tf = Instance.new("Model", workspace)
mou.TargetFilter = tf
local cont = false
for i, v in next, workspace:GetDescendants() do
if v == tf or v:IsDescendantOf(tf) then cont = true else cont = false end
if cont == false then
if v:IsA("Accessory") then
v.Parent = tf
end
end
end
workspace.DescendantAdded:Connect(function(v)
if v == tf or v:IsDescendantOf(tf) then return end
if cont == false then
if v:IsA("Accessory") then
v.Parent = tf
end
end
end)
rem.OnClientInvoke = function()
return mou.Target
end
]], remote1)
task.defer(function()
while true do
Blood:Update(task.wait())
end
end)
task.defer(function()
while true do
for i, v in next, RegenTargets do
v.Humanoid.Health = math.clamp(v.Humanoid.Health + v.Number, 0, v.Humanoid.MaxHealth)
end
task.wait(1)
end
end)
function get_tools(backpack, names)
for i, v in next, backpack:GetChildren() do
if v.Name == names then
return v -- we need to return the first, who cares
end
end
end
local rng = Random.new()
local t2 = Instance.new("Tool",owner.Backpack)
t2.Name = "head cleaver"
t2.RequiresHandle = false
t2.Activated:Connect(function()
if t2:FindFirstChild("Handle") then t2.Handle:Destroy() end
local head = remote1:InvokeClient(owner)
if head.Name == "Head" then
local char = head.Parent
local tors = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
local neck = tors:FindFirstChild("Neck") or head:FindFirstChild("Neck")
local hum = char.Humanoid
hum.RequiresNeck = false
neck:Destroy()
playSound("rbxassetid://"..slashes[math.random(1, #slashes)], tors, 2, rng:NextNumber(0.8, 1.2))
task.spawn(function()
local x = tick()
while true do
task.wait()
if tick()-x >= 5 then break end
local c = Color3.new(0.5, 0, 0)
if math.random(1, 10)/10 == 0.1 then
c = head.Color
end
Blood:Create((tors.CFrame * CFrame.new(0, tors.Size.Y/2, 0)).Position, rng:NextUnitVector() * 15 + Vector3.new(0, 30, 0), c)
end
end)
head.Name = "Handle"
head.Parent = t2
t2.Parent = owner.Backpack
end
end)
Gunpowder.Handle.CD.MouseClick:Connect(function(plr)
local gunpowderModel = Gunpowder:Clone()
for i, v in gunpowderModel:GetDescendants() do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
gunpowderModel.Handle.CD:Destroy()
local gpt = Instance.new("Tool")
gpt.Name = "Gunpowder"
gpt.ToolTip = "makes drinky winky go breaky weaky"
gunpowderModel.Handle.Parent = gpt
gpt.Parent = plr.Backpack
end)
splashing_1 = false
splashing_2 = false
splashing_3 = false
brewingstand.base.headinsertion.MouseClick:Connect(function(plr)
local gpt = get_tools(plr.Backpack, "Gunpowder")
if gpt then
gpt:Destroy()
splashing_1 = true
splashing_2 = true
splashing_3 = true
end
local head = t2:FindFirstChild("Handle")
if head then
mix = makehash(http:GenerateGUID())
mrng = Random.new(mix)
minf.speed = mrng:NextNumber(0, 2)
minf.agility = mrng:NextNumber(0, 2)
minf.strength = mrng:NextNumber(0, 2)
minf.regeneration = mrng:NextNumber(0, 2)
minf.name = pn()
head:Destroy()
else
mix = makehash(http:GenerateGUID())
mrng = Random.new(mix)
minf.speed = mrng:NextNumber(0, 2)
minf.agility = mrng:NextNumber(0, 2)
minf.strength = mrng:NextNumber(0, 2)
minf.regeneration = mrng:NextNumber(0, 2)
minf.name = pn()
end
end)
local hangers = {
[false] = "rbxassetid://12968270580",
[true] = "rbxassetid://13000813466"
}
function set_potionheld(hanger, held)
local guis = hanger:GetChildren()
guis[1].ImageLabel.Image = hangers[held]
guis[2].ImageLabel.Image = hangers[held]
end
brewingstand.pot1.c.MouseClick:Connect(function(plr)
local t = get_tools(plr.Backpack, "bo'oh'o'wotah")
if t then
t:Destroy()
set_potionheld(brewingstand.hanger3, true)
task.spawn(function()
task.wait(7)
makeTool(plr, splashing_1)
splashing_1 = false
set_potionheld(brewingstand.hanger3, false)
end)
end
end)
brewingstand.pot2.c.MouseClick:Connect(function(plr)
local t = get_tools(plr.Backpack, "bo'oh'o'wotah")
if t then
t:Destroy()
set_potionheld(brewingstand.hanger2, true)
task.spawn(function()
task.wait(7)
makeTool(plr, splashing_2)
splashing_2 = false
set_potionheld(brewingstand.hanger2, false)
end)
end
end)
brewingstand.pot3.c.MouseClick:Connect(function(plr)
local t = get_tools(plr.Backpack, "bo'oh'o'wotah")
if t then
t:Destroy()
set_potionheld(brewingstand.hanger1, true)
task.spawn(function()
task.wait(7)
makeTool(plr, splashing_3)
splashing_3 = false
set_potionheld(brewingstand.hanger1, false)
end)
end
end)