function cup()
--Converted with ttyyuu12345's model to script plugin v4
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
Tool0 = Instance.new("Tool")
Part1 = Instance.new("Part")
SpecialMesh2 = Instance.new("SpecialMesh")
ManualWeld3 = Instance.new("ManualWeld")
Sound4 = Instance.new("Sound")
ManualWeld5 = Instance.new("ManualWeld")
Part6 = Instance.new("Part")
Script7 = Instance.new("Script")
Part8 = Instance.new("Part")
ParticleEmitter9 = Instance.new("ParticleEmitter")
Tool0.Name = "Cup"
Tool0.Parent = mas
Tool0.Grip = CFrame.new(9.53674316e-07, 0, -0.399998665, -1, 1.16415233e-08, 3.42726452e-07, 1.16415242e-08, 1, 1.86264049e-09, -3.42726452e-07, 1.86264448e-09, -1)
Tool0.GripForward = Vector3.new(-3.427264516631112e-07, -1.8626404862942536e-09, 1)
Tool0.GripPos = Vector3.new(9.5367431640625e-07, 0, -0.39999866485595703)
Tool0.GripRight = Vector3.new(-1, 1.1641524189087704e-08, -3.427264516631112e-07)
Tool0.GripUp = Vector3.new(1.1641523300909284e-08, 1, 1.8626444830971423e-09)
Part1.Name = "Handle"
Part1.Parent = Tool0
Part1.CFrame = CFrame.new(-4.07708502, 3.63822865, 4.31647062, -0.998033285, 0.0146273384, -0.0609579459, 0.0132725034, 0.999657333, 0.0225716867, 0.0612671599, 0.0217182357, -0.997885048)
Part1.Orientation = Vector3.new(-1.2899999618530273, -176.5, 0.7599999904632568)
Part1.Position = Vector3.new(-4.077085018157959, 3.63822865486145, 4.316470623016357)
Part1.Rotation = Vector3.new(-178.6999969482422, -3.490000009536743, -179.16000366210938)
Part1.Size = Vector3.new(0.56573885679245, 0.5795375108718872, 0.8900001049041748)
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.Material = Enum.Material.Marble
Part1.TopSurface = Enum.SurfaceType.Smooth
SpecialMesh2.Parent = Part1
SpecialMesh2.MeshId = "rbxassetid://5423368268"
SpecialMesh2.Scale = Vector3.new(5.519379615783691, 5.519379615783691, 5.51938009262085)
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
ManualWeld3.Parent = Part1
ManualWeld3.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
ManualWeld3.C1 = CFrame.new(0.00317157921, 0.135097891, 0.00951132458, 0, 1, 0, 0, 0, 1, 1, 0, 0)
ManualWeld3.Part0 = Part1
ManualWeld3.Part1 = Part6
ManualWeld3.part1 = Part6
Sound4.Name = "DrinkSound"
Sound4.Parent = Part1
Sound4.SoundId = "http://www.roblox.com/asset/?id=10722059"
ManualWeld5.Parent = Part1
ManualWeld5.C0 = CFrame.new(0, 0, 0, -0.998033285, 0.0132725034, 0.0612671599, 0.0146273384, 0.999657333, 0.0217182357, -0.0609579459, 0.0225716867, -0.997885048)
ManualWeld5.C1 = CFrame.new(-0.0177736282, -0.161788464, -0.134302139, -1, 6.7053648e-08, 2.20537186e-06, -7.0778853e-08, 1, -1.48639083e-06, 2.20537186e-06, 1.40815973e-06, -1)
ManualWeld5.Part0 = Part1
ManualWeld5.Part1 = Part8
ManualWeld5.part1 = Part8
Part6.Name = "drink"
Part6.Parent = Tool0
Part6.CFrame = CFrame.new(-4.09485912, 3.6382339, 4.1821723, 0.0146273384, 0.0609579459, 0.998033285, 0.999657333, -0.0225716867, -0.0132725034, 0.0217182357, 0.997885048, -0.0612671599)
Part6.Orientation = Vector3.new(0.7599999904632568, 93.51000213623047, 91.29000091552734)
Part6.Position = Vector3.new(-4.0948591232299805, 3.6382339000701904, 4.1821722984313965)
Part6.Rotation = Vector3.new(167.77999877929688, 86.41000366210938, -76.51000213623047)
Part6.Transparency = 1
Part6.Size = Vector3.new(0.48984578251838684, 0.5450388789176941, 1.117674708366394)
Part6.BottomSurface = Enum.SurfaceType.Smooth
Part6.CanCollide = false
Part6.Material = Enum.Material.Marble
Part6.TopSurface = Enum.SurfaceType.Smooth
Part6.Shape = Enum.PartType.Cylinder
Script7.Name = "BloxyColaScript"
Script7.Parent = Tool0
table.insert(cors,sandbox(Script7,function()
local Tool = script.Parent
enabled = true
local Drinks = 5
function onActivated()
if not enabled or Drinks == 0 then
return
end
enabled = false
Tool.GripForward = Vector3.new(0, -0.759, -0.651)
Tool.GripPos = Vector3.new(1.47, -0.9, 0.4)
Tool.GripRight = Vector3.new(1, 0, 0)
Tool.GripUp = Vector3.new(0, 0.602, -0.799)
Tool.Handle.DrinkSound:Play()
Check()
wait(3)
local h = Tool.Parent:FindFirstChild("Humanoid")
if (h ~= nil) then
if (h.MaxHealth > h.Health + 1) then
h.Health = h.Health + 1
else
h.Health = h.MaxHealth
end
end
Tool.GripForward = Vector3.new(0, 0, 1)
Tool.GripPos = Vector3.new(0, 0, -0.4)
Tool.GripRight = Vector3.new(-1, 0, 0)
Tool.GripUp = Vector3.new(0, 1, 0)
Drinks = Drinks - 1
print(Drinks)
enabled = true
end
script.Parent.Activated:connect(onActivated)
function Check()
if Drinks == 1 then
print("Frl this time!!")
script.Parent.drink.Transparency = 1
script.Parent.Steam.Steam.Enabled = false
end
end
end))
Part8.Name = "Steam"
Part8.Parent = Tool0
Part8.CFrame = CFrame.new(-4.09485817, 3.80001736, 4.18216848, -1.00000024, -6.89178705e-08, 2.16811895e-06, 6.46105036e-08, 1.00000036, 1.39325857e-06, 2.16811895e-06, -1.47148967e-06, -0.999999881)
Part8.Orientation = Vector3.new(0, 180, 0)
Part8.Position = Vector3.new(-4.094858169555664, 3.8000173568725586, 4.182168483734131)
Part8.Rotation = Vector3.new(-180, 0, 180)
Part8.Transparency = 1
Part8.Size = Vector3.new(0.20000000298023224, 0.20000000298023224, 0.20000000298023224)
Part8.BottomSurface = Enum.SurfaceType.Smooth
Part8.TopSurface = Enum.SurfaceType.Smooth
Part8.FormFactor = Enum.FormFactor.Custom
Part8.formFactor = Enum.FormFactor.Custom
ParticleEmitter9.Name = "Steam"
ParticleEmitter9.Parent = Part8
ParticleEmitter9.Speed = NumberRange.new(0, 0)
ParticleEmitter9.Rotation = NumberRange.new(-50, 50)
ParticleEmitter9.Enabled = false
ParticleEmitter9.LightEmission = 0.125
ParticleEmitter9.Texture = "http://www.roblox.com/asset/?id=242255193"
ParticleEmitter9.Transparency = NumberSequence.new(1,1,0.96875,0.90625,0.800000011920929,0.768750011920929,0.793749988079071,0.8500000238418579,0.949999988079071,1)
ParticleEmitter9.Size = NumberSequence.new(0.4000000059604645,0.4000000059604645)
ParticleEmitter9.Acceleration = Vector3.new(0, 0.125, 0)
ParticleEmitter9.Lifetime = NumberRange.new(5, 5)
ParticleEmitter9.LockedToPart = true
ParticleEmitter9.Rate = 1
ParticleEmitter9.RotSpeed = NumberRange.new(-20, 20)
ParticleEmitter9.SpreadAngle = Vector2.new(10, 10)
ParticleEmitter9.VelocitySpread = 10
local cup = nil
for i,v in pairs(mas:GetChildren()) do
v.Parent = script
cup = v
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
return cup
end
function donut()
--Converted with ttyyuu12345's model to script plugin v4
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
Tool0 = Instance.new("Tool")
Script1 = Instance.new("Script")
Part2 = Instance.new("Part")
SpecialMesh3 = Instance.new("SpecialMesh")
Sound4 = Instance.new("Sound")
Tool0.Name = "no donut"
Tool0.Parent = mas
Script1.Name = "scrip"
Script1.Parent = Tool0
table.insert(cors,sandbox(Script1,function()
local Tool = script.Parent
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.GripForward = Vector3.new(0,-.759,-.651)
Tool.GripPos = Vector3.new(1.5,-.5,.3)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,.651,-.759)
Tool.Handle.DrinkSound:Play()
wait(8)
Tool:Destroy()
enabled = true
end
script.Parent.Activated:connect(onActivated)
end))
Part2.Name = "Handle"
Part2.Parent = Tool0
Part2.CFrame = CFrame.new(91.9208374, 2.70999527, -126.61795, 0.867050707, -0.490134299, 0.0893947855, 0.493645817, 0.869405985, -0.0211460032, -0.0673559755, 0.0624640249, 0.995771766)
Part2.Orientation = Vector3.new(1.2100000381469727, 5.130000114440918, 29.59000015258789)
Part2.Position = Vector3.new(91.92083740234375, 2.7099952697753906, -126.61795043945312)
Part2.Rotation = Vector3.new(1.2200000286102295, 5.130000114440918, 29.479999542236328)
Part2.Size = Vector3.new(0.11999976634979248, 0.060000061988830566, 0.07999992370605469)
Part2.BottomSurface = Enum.SurfaceType.Smooth
Part2.TopSurface = Enum.SurfaceType.Smooth
SpecialMesh3.Parent = Part2
SpecialMesh3.MeshId = "http://www.roblox.com/asset/?id=255580072 "
SpecialMesh3.Scale = Vector3.new(0.20000000298023224, 0.20000000298023224, 0.20000000298023224)
SpecialMesh3.MeshType = Enum.MeshType.FileMesh
Sound4.Name = "DrinkSound"
Sound4.Parent = Part2
Sound4.SoundId = "rbxassetid://130776108"
local mug = nil
for i,v in pairs(mas:GetChildren()) do
v.Parent = script
mug = v
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
return mug
end
function mug()
local donut = nil
--Converted with ttyyuu12345's model to script plugin v4
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
Tool0 = Instance.new("Tool")
Part1 = Instance.new("Part")
SpecialMesh2 = Instance.new("SpecialMesh")
ManualWeld3 = Instance.new("ManualWeld")
Sound4 = Instance.new("Sound")
ManualWeld5 = Instance.new("ManualWeld")
Part6 = Instance.new("Part")
Script7 = Instance.new("Script")
Part8 = Instance.new("Part")
ParticleEmitter9 = Instance.new("ParticleEmitter")
Tool0.Name = "Cup"
Tool0.Parent = mas
Tool0.Grip = CFrame.new(9.53674316e-07, 0, -0.399998665, -1, 1.16415233e-08, 3.42726452e-07, 1.16415242e-08, 1, 1.86264049e-09, -3.42726452e-07, 1.86264448e-09, -1)
Tool0.GripForward = Vector3.new(-3.427264516631112e-07, -1.8626404862942536e-09, 1)
Tool0.GripPos = Vector3.new(9.5367431640625e-07, 0, -0.39999866485595703)
Tool0.GripRight = Vector3.new(-1, 1.1641524189087704e-08, -3.427264516631112e-07)
Tool0.GripUp = Vector3.new(1.1641523300909284e-08, 1, 1.8626444830971423e-09)
Part1.Name = "Handle"
Part1.Parent = Tool0
Part1.CFrame = CFrame.new(-4.07708502, 3.63822865, 4.31647062, -0.998033285, 0.0146273384, -0.0609579459, 0.0132725034, 0.999657333, 0.0225716867, 0.0612671599, 0.0217182357, -0.997885048)
Part1.Orientation = Vector3.new(-1.2899999618530273, -176.5, 0.7599999904632568)
Part1.Position = Vector3.new(-4.077085018157959, 3.63822865486145, 4.316470623016357)
Part1.Rotation = Vector3.new(-178.6999969482422, -3.490000009536743, -179.16000366210938)
Part1.Size = Vector3.new(0.56573885679245, 0.5795375108718872, 0.8900001049041748)
Part1.BottomSurface = Enum.SurfaceType.Smooth
Part1.Material = Enum.Material.Marble
Part1.TopSurface = Enum.SurfaceType.Smooth
SpecialMesh2.Parent = Part1
SpecialMesh2.MeshId = "rbxassetid://5423368268"
SpecialMesh2.Scale = Vector3.new(5.519379615783691, 5.519379615783691, 5.51938009262085)
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
ManualWeld3.Parent = Part1
ManualWeld3.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1)
ManualWeld3.C1 = CFrame.new(0.00317157921, 0.135097891, 0.00951132458, 0, 1, 0, 0, 0, 1, 1, 0, 0)
ManualWeld3.Part0 = Part1
ManualWeld3.Part1 = Part6
ManualWeld3.part1 = Part6
Sound4.Name = "DrinkSound"
Sound4.Parent = Part1
Sound4.SoundId = "http://www.roblox.com/asset/?id=10722059"
ManualWeld5.Parent = Part1
ManualWeld5.C0 = CFrame.new(0, 0, 0, -0.998033285, 0.0132725034, 0.0612671599, 0.0146273384, 0.999657333, 0.0217182357, -0.0609579459, 0.0225716867, -0.997885048)
ManualWeld5.C1 = CFrame.new(-0.0177736282, -0.161788464, -0.134302139, -1, 6.7053648e-08, 2.20537186e-06, -7.0778853e-08, 1, -1.48639083e-06, 2.20537186e-06, 1.40815973e-06, -1)
ManualWeld5.Part0 = Part1
ManualWeld5.Part1 = Part8
ManualWeld5.part1 = Part8
Part6.Name = "drink"
Part6.Parent = Tool0
Part6.CFrame = CFrame.new(-4.09485912, 3.6382339, 4.1821723, 0.0146273384, 0.0609579459, 0.998033285, 0.999657333, -0.0225716867, -0.0132725034, 0.0217182357, 0.997885048, -0.0612671599)
Part6.Orientation = Vector3.new(0.7599999904632568, 93.51000213623047, 91.29000091552734)
Part6.Position = Vector3.new(-4.0948591232299805, 3.6382339000701904, 4.1821722984313965)
Part6.Rotation = Vector3.new(167.77999877929688, 86.41000366210938, -76.51000213623047)
Part6.Transparency = 1
Part6.Size = Vector3.new(0.48984578251838684, 0.5450388789176941, 1.117674708366394)
Part6.BottomSurface = Enum.SurfaceType.Smooth
Part6.CanCollide = false
Part6.Material = Enum.Material.Marble
Part6.TopSurface = Enum.SurfaceType.Smooth
Part6.Shape = Enum.PartType.Cylinder
Script7.Name = "BloxyColaScript"
Script7.Parent = Tool0
table.insert(cors,sandbox(Script7,function()
local Tool = script.Parent
enabled = true
local Drinks = 5
function onActivated()
if not enabled or Drinks == 0 then
return
end
enabled = false
Tool.GripForward = Vector3.new(0, -0.759, -0.651)
Tool.GripPos = Vector3.new(1.47, -0.9, 0.4)
Tool.GripRight = Vector3.new(1, 0, 0)
Tool.GripUp = Vector3.new(0, 0.602, -0.799)
Tool.Handle.DrinkSound:Play()
Check()
wait(3)
local h = Tool.Parent:FindFirstChild("Humanoid")
if (h ~= nil) then
if (h.MaxHealth > h.Health + 1) then
h.Health = h.Health + 1
else
h.Health = h.MaxHealth
end
end
Tool.GripForward = Vector3.new(0, 0, 1)
Tool.GripPos = Vector3.new(0, 0, -0.4)
Tool.GripRight = Vector3.new(-1, 0, 0)
Tool.GripUp = Vector3.new(0, 1, 0)
Drinks = Drinks - 1
print(Drinks)
enabled = true
end
script.Parent.Activated:connect(onActivated)
function Check()
if Drinks == 1 then
print("Frl this time!!")
script.Parent.drink.Transparency = 1
script.Parent.Steam.Steam.Enabled = false
end
end
end))
Part8.Name = "Steam"
Part8.Parent = Tool0
Part8.CFrame = CFrame.new(-4.09485817, 3.80001736, 4.18216848, -1.00000024, -6.89178705e-08, 2.16811895e-06, 6.46105036e-08, 1.00000036, 1.39325857e-06, 2.16811895e-06, -1.47148967e-06, -0.999999881)
Part8.Orientation = Vector3.new(0, 180, 0)
Part8.Position = Vector3.new(-4.094858169555664, 3.8000173568725586, 4.182168483734131)
Part8.Rotation = Vector3.new(-180, 0, 180)
Part8.Transparency = 1
Part8.Size = Vector3.new(0.20000000298023224, 0.20000000298023224, 0.20000000298023224)
Part8.BottomSurface = Enum.SurfaceType.Smooth
Part8.TopSurface = Enum.SurfaceType.Smooth
Part8.FormFactor = Enum.FormFactor.Custom
Part8.formFactor = Enum.FormFactor.Custom
ParticleEmitter9.Name = "Steam"
ParticleEmitter9.Parent = Part8
ParticleEmitter9.Speed = NumberRange.new(0, 0)
ParticleEmitter9.Rotation = NumberRange.new(-50, 50)
ParticleEmitter9.Enabled = false
ParticleEmitter9.LightEmission = 0.125
ParticleEmitter9.Texture = "http://www.roblox.com/asset/?id=242255193"
ParticleEmitter9.Transparency = NumberSequence.new(1,1,0.96875,0.90625,0.800000011920929,0.768750011920929,0.793749988079071,0.8500000238418579,0.949999988079071,1)
ParticleEmitter9.Size = NumberSequence.new(0.4000000059604645,0.4000000059604645)
ParticleEmitter9.Acceleration = Vector3.new(0, 0.125, 0)
ParticleEmitter9.Lifetime = NumberRange.new(5, 5)
ParticleEmitter9.LockedToPart = true
ParticleEmitter9.Rate = 1
ParticleEmitter9.RotSpeed = NumberRange.new(-20, 20)
ParticleEmitter9.SpreadAngle = Vector2.new(10, 10)
ParticleEmitter9.VelocitySpread = 10
for i,v in pairs(mas:GetChildren()) do
v.Parent = script
donut = v
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
return donut
end
return function(type)
type = type:lower()
local tool = nil
if type == "cup" then
tool = cup()
elseif type == "mug" then
tool = mug()
elseif type == "donut" then
tool = donut()
end
return tool
end