Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --StravozPizzsa
- 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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Part3 = Instance.new("Part")
- SpecialMesh4 = Instance.new("SpecialMesh")
- Part5 = Instance.new("Part")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Part7 = Instance.new("Part")
- SpecialMesh8 = Instance.new("SpecialMesh")
- Part9 = Instance.new("Part")
- SpecialMesh10 = Instance.new("SpecialMesh")
- Part11 = Instance.new("Part")
- SpecialMesh12 = Instance.new("SpecialMesh")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Part15 = Instance.new("Part")
- SpecialMesh16 = Instance.new("SpecialMesh")
- Fire17 = Instance.new("Fire")
- Script18 = Instance.new("Script")
- Tool19 = Instance.new("Tool")
- Part20 = Instance.new("Part")
- SpecialMesh21 = Instance.new("SpecialMesh")
- Sound22 = Instance.new("Sound")
- Sound23 = Instance.new("Sound")
- Sound24 = Instance.new("Sound")
- LocalScript25 = Instance.new("LocalScript")
- Animation26 = Instance.new("Animation")
- Model0.Name = "Pizza w/box"
- Model0.Parent = mas
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Bright green")
- Part1.Anchored = true
- Part1.FormFactor = Enum.FormFactor.Plate
- Part1.Size = Vector3.new(1, 0.400000006, 1)
- Part1.CFrame = CFrame.new(0.5, 0.400157988, -29.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part1.Position = Vector3.new(0.5, 0.400157988, -29.5)
- Part1.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Part3.Parent = Model0
- Part3.BrickColor = BrickColor.new("Bright green")
- Part3.Rotation = Vector3.new(-94.2900009, 89.9499969, 48.0099983)
- Part3.Anchored = true
- Part3.FormFactor = Enum.FormFactor.Plate
- Part3.Size = Vector3.new(1, 0.400000006, 1)
- Part3.CFrame = CFrame.new(-0.200011998, 0.399906009, -30.0000629, 1.34110223e-07, -1.49011569e-07, 0.999999583, -7.45057491e-08, 1, 1.49011626e-07, -0.999999821, -2.08616228e-07, -1.11757039e-08)
- Part3.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part3.Position = Vector3.new(-0.200011998, 0.399906009, -30.0000629)
- Part3.Orientation = Vector3.new(0, 90, 0)
- Part3.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh4.Parent = Part3
- SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh4.MeshType = Enum.MeshType.FileMesh
- Part5.Parent = Model0
- Part5.BrickColor = BrickColor.new("Bright green")
- Part5.Rotation = Vector3.new(0, 45, 0)
- Part5.Anchored = true
- Part5.FormFactor = Enum.FormFactor.Plate
- Part5.Size = Vector3.new(1, 0.400000006, 1)
- Part5.CFrame = CFrame.new(0.200011998, 0.400193006, -29.9000244, 0.707106411, -8.94069387e-08, 0.707106292, 6.32202841e-08, 1, 8.51386801e-08, -0.70710659, -2.23517389e-07, 0.70710659)
- Part5.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part5.Position = Vector3.new(0.200011998, 0.400193006, -29.9000244)
- Part5.Orientation = Vector3.new(0, 45, 0)
- Part5.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh6.Parent = Part5
- SpecialMesh6.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh6.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh6.MeshType = Enum.MeshType.FileMesh
- Part7.Parent = Model0
- Part7.BrickColor = BrickColor.new("Bright green")
- Part7.Rotation = Vector3.new(180, 0, 180)
- Part7.Anchored = true
- Part7.FormFactor = Enum.FormFactor.Plate
- Part7.Size = Vector3.new(1, 0.400000006, 1)
- Part7.CFrame = CFrame.new(-0.700012028, 0.400207996, -29.2999878, -0.999999404, -2.98023053e-07, 8.94066687e-08, -2.98023224e-07, 1, -2.086162e-07, 1.45286037e-07, -4.02331267e-07, -0.999999702)
- Part7.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part7.Position = Vector3.new(-0.700012028, 0.400207996, -29.2999878)
- Part7.Orientation = Vector3.new(0, 180, 0)
- Part7.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh8.Parent = Part7
- SpecialMesh8.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh8.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh8.MeshType = Enum.MeshType.FileMesh
- Part9.Parent = Model0
- Part9.BrickColor = BrickColor.new("Bright green")
- Part9.Rotation = Vector3.new(51.3400002, -89.9300003, 128.660004)
- Part9.Anchored = true
- Part9.FormFactor = Enum.FormFactor.Plate
- Part9.Size = Vector3.new(1, 0.400000006, 1)
- Part9.CFrame = CFrame.new(0, 0.400193006, -28.8000488, -1.19208963e-07, -1.49011527e-07, -0.999999344, 4.47034267e-08, 1, -1.49011598e-07, 0.999999702, -2.53319712e-07, 1.19208991e-07)
- Part9.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part9.Position = Vector3.new(0, 0.400193006, -28.8000488)
- Part9.Orientation = Vector3.new(0, -90, 0)
- Part9.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh10.Parent = Part9
- SpecialMesh10.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh10.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh10.MeshType = Enum.MeshType.FileMesh
- Part11.Parent = Model0
- Part11.BrickColor = BrickColor.new("Bright green")
- Part11.Rotation = Vector3.new(180, -45, 180)
- Part11.Anchored = true
- Part11.FormFactor = Enum.FormFactor.Plate
- Part11.Size = Vector3.new(1, 0.400000006, 1)
- Part11.CFrame = CFrame.new(-0.5, 0.400200009, -28.9000244, -0.707106411, -2.08616143e-07, -0.707106411, -9.30226349e-08, 1, -2.12304755e-07, 0.70710665, -2.83122034e-07, -0.707106471)
- Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part11.Position = Vector3.new(-0.5, 0.400200009, -28.9000244)
- Part11.Orientation = Vector3.new(0, -135, 0)
- Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh12.Parent = Part11
- SpecialMesh12.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh12.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh12.MeshType = Enum.MeshType.FileMesh
- Part13.Parent = Model0
- Part13.BrickColor = BrickColor.new("Bright green")
- Part13.Rotation = Vector3.new(180, 30, 180)
- Part13.Anchored = true
- Part13.FormFactor = Enum.FormFactor.Plate
- Part13.Size = Vector3.new(1, 0.400000006, 1)
- Part13.CFrame = CFrame.new(-0.600036979, 0.400193006, -29.7000732, -0.866024852, -2.83121892e-07, 0.499999791, -3.94880772e-07, 1, -4.17805666e-08, -0.499999732, -4.76837045e-07, -0.866025388)
- Part13.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part13.Position = Vector3.new(-0.600036979, 0.400193006, -29.7000732)
- Part13.Orientation = Vector3.new(0, 150, 0)
- Part13.Color = Color3.new(0.294118, 0.592157, 0.294118)
- SpecialMesh14.Parent = Part13
- SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=22589477"
- SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=22589467"
- SpecialMesh14.MeshType = Enum.MeshType.FileMesh
- Part15.Name = "pBox"
- Part15.Parent = Model0
- Part15.Anchored = true
- Part15.CanCollide = false
- Part15.FormFactor = Enum.FormFactor.Symmetric
- Part15.Size = Vector3.new(3, 3, 2)
- Part15.CFrame = CFrame.new(0, 1.50002599, -29.2000122, 0.999999702, -1.49011569e-07, -3.72527964e-08, 1.49011612e-07, 1, 4.17232485e-07, -6.33298356e-08, -5.06639424e-07, 0.999999881)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Position = Vector3.new(0, 1.50002599, -29.2000122)
- SpecialMesh16.Parent = Part15
- SpecialMesh16.MeshId = "http://www.roblox.com/asset/?id=17659006"
- SpecialMesh16.Scale = Vector3.new(1.02999997, 1.02999997, 1.02999997)
- SpecialMesh16.TextureId = "http://www.roblox.com/asset/?id=17659000"
- SpecialMesh16.MeshType = Enum.MeshType.FileMesh
- SpecialMesh16.Scale = Vector3.new(1.02999997, 1.02999997, 1.02999997)
- Fire17.Parent = Part15
- Fire17.Size = 30
- Fire17.Color = Color3.new(0, 0, 1)
- Fire17.Enabled = false
- Fire17.Heat = 25
- Fire17.SecondaryColor = Color3.new(0, 0.898039, 1)
- Fire17.Color = Color3.new(0, 0, 1)
- Script18.Name = "Spread"
- Script18.Parent = Fire17
- table.insert(cors,sandbox(Script18,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1
- check.Heat = check.Heat +1
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Tool19.Name = "Stravos Pizza"
- Tool19.Parent = Model0
- Tool19.TextureId = "rbxassetid://1429670901"
- Tool19.GripForward = Vector3.new(-0.988840878, -0, 0.148976028)
- Tool19.GripPos = Vector3.new(0.550000012, -0.100000001, -0.100000001)
- Tool19.GripRight = Vector3.new(-0.148976028, -0, -0.988840878)
- Tool19.ToolTip = "eat for free death"
- Part20.Name = "Handle"
- Part20.Parent = Tool19
- Part20.BrickColor = BrickColor.new("Mid gray")
- Part20.Rotation = Vector3.new(0, -38.4799995, 0)
- Part20.FormFactor = Enum.FormFactor.Plate
- Part20.Size = Vector3.new(1, 0.800000012, 1)
- Part20.CFrame = CFrame.new(0.377597213, 0.409709692, -29.0861263, 0.782801986, 0, -0.622271001, 0, 1, 0, 0.622271001, 0, 0.782801986)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part20.Position = Vector3.new(0.377597213, 0.409709692, -29.0861263)
- Part20.Orientation = Vector3.new(0, -38.4799995, 0)
- Part20.Color = Color3.new(0.803922, 0.803922, 0.803922)
- SpecialMesh21.Parent = Part20
- SpecialMesh21.MeshId = "rbxassetid://22589477"
- SpecialMesh21.TextureId = "rbxassetid://22589467"
- SpecialMesh21.VertexColor = Vector3.new(0, 1, 0)
- SpecialMesh21.MeshType = Enum.MeshType.FileMesh
- Sound22.Name = "OpenSound"
- Sound22.Parent = Part20
- Sound22.SoundId = "rbxassetid://22593428"
- Sound22.Volume = 1
- Sound23.Name = "Eat"
- Sound23.Parent = Part20
- Sound23.SoundId = "rbxassetid://22593942"
- Sound23.Volume = 2
- Sound24.Name = "Ded"
- Sound24.Parent = Part20
- Sound24.SoundId = "rbxassetid://304063043"
- Sound24.Volume = 1
- LocalScript25.Name = "AnimScript"
- LocalScript25.Parent = Tool19
- table.insert(cors,sandbox(LocalScript25,function()
- local Tool = script.Parent
- local humanoid = nil
- local drinker = nil
- local con = nil
- local enabled = false
- local uses = 0
- function onEquipped(mouse)
- Tool.Handle.OpenSound:play()
- humanoid = Tool.Parent:FindFirstChild("Humanoid")
- if humanoid ~= nil then
- drinker = humanoid:LoadAnimation(Tool.Drink)
- end
- con = mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- function onUnequipped(mouse)
- humanoid = nil
- if drinker ~= nil then
- drinker:remove()
- drinker = nil
- end
- if con ~= nil then
- con:disconnect()
- end
- end
- function onButton1Down(mouse)
- if enabled then
- return
- end
- enabled = true
- drinker:Play()
- Tool.Handle.Eat:Play()
- wait(1)
- local chance = math.random(1,10000)
- if chance == 500 then
- Tool.Parent.Humanoid.Health = Tool.Parent.Humanoid.Health - 99.9
- uses = uses + 1
- enabled = true
- else
- Tool.Parent:BreakJoints()
- Tool.Handle.Ded:Play()
- uses = uses + 1
- enabled = false
- end
- while wait() do
- if uses == 1 then
- script.Parent:Destroy()
- end
- end
- end
- Tool.Equipped:connect(onEquipped)
- Tool.Unequipped:connect(onUnequipped)
- end))
- Animation26.Name = "Drink"
- Animation26.Parent = Tool19
- Animation26.AnimationId = "http://www.roblox.com/Asset?ID=94700140"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement