Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --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")
- Sound2 = Instance.new("Sound")
- Sound3 = Instance.new("Sound")
- SpecialMesh4 = Instance.new("SpecialMesh")
- Script5 = Instance.new("Script")
- LocalScript6 = Instance.new("LocalScript")
- Script7 = Instance.new("Script")
- Tool0.Name = "Cheetos Flamin' Hot Crunchy"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=8986840"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(8.31000042, 0.694999993, 152.369995, 6.66379929e-05, 9.99530926e-07, -0.99999994, 1.0041839e-06, 1, 9.99597773e-07, 0.99999994, -1.00425029e-06, 6.66379929e-05)
- Part1.Orientation = Vector3.new(0, -90, 0)
- Part1.Position = Vector3.new(8.31000042, 0.694999993, 152.369995)
- Part1.Rotation = Vector3.new(-0.860000014, -89.9800034, -0.860000014)
- Part1.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1.Size = Vector3.new(1, 1.60000002, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Mid gray")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Mid gray")
- Part1.FormFactor = Enum.FormFactor.Plate
- Part1.formFactor = Enum.FormFactor.Plate
- Sound2.Name = "DrinkSound"
- Sound2.Parent = Part1
- Sound2.EmitterSize = 0
- Sound2.MinDistance = 0
- Sound2.SoundId = "http://www.roblox.com/asset/?id=212887990"
- Sound2.Volume = 1
- Sound3.Name = "OpenSound"
- Sound3.Parent = Part1
- Sound3.EmitterSize = 0
- Sound3.MinDistance = 0
- Sound3.Pitch = 2.5999999046326
- Sound3.PlaybackSpeed = 2.5999999046326
- Sound3.SoundId = "http://www.roblox.com/asset/?id=138081308"
- Sound3.Volume = 1
- SpecialMesh4.Parent = Part1
- SpecialMesh4.MeshId = "http://www.roblox.com/asset/?id=19106014"
- SpecialMesh4.Scale = Vector3.new(0.5, 0.699999988, 0.5)
- SpecialMesh4.TextureId = "http://www.roblox.com/asset/?id=334818346"
- SpecialMesh4.MeshType = Enum.MeshType.FileMesh
- Script5.Name = "SpeedEffect"
- Script5.Parent = Tool0
- table.insert(cors,sandbox(Script5,function()
- print("run latte")
- -- assume we are in the character, let's check
- function sepuku()
- script.Parent = nil
- end
- local h = script.Parent:FindFirstChild("Humanoid")
- if (h == nil) then sepuku() end
- local oldSpeed = h.WalkSpeed
- h.WalkSpeed = h.WalkSpeed * 1.6
- local torso = script.Parent:FindFirstChild("Torso")
- if (torso == nil) then sepuku() end
- local head = script.Parent:FindFirstChild("Head")
- if (head == nil) then head = torso end
- local s = Instance.new("Fire")
- s.Color = Color3.new(255, 85, 0)
- s.Parent = torso
- local count = h:FindFirstChild("CoffeeCount")
- if (count == nil) then
- count = Instance.new("IntValue")
- count.Name = "CoffeeCount"
- count.Value = 1
- count.Parent = h
- else
- if (count.Value > 3) then
- if (math.random() > .5) then
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
- sound.Parent = head
- sound.Volume = 1
- sound:play()
- local e = Instance.new("Explosion")
- e.BlastRadius = 4
- e.Position = head.Position
- s:Clone().Parent = head
- e.Parent = head
- end
- end
- count.Value = count.Value + 1
- end
- wait(30)
- h.WalkSpeed = oldSpeed
- s:Remove()
- script.Parent = nil
- end))
- Script5.Disabled = true
- LocalScript6.Name = "Local Gui"
- LocalScript6.Parent = Tool0
- table.insert(cors,sandbox(LocalScript6,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = false
- mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
- wait(60)
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- Script7.Name = "SodaScript"
- Script7.Parent = Tool0
- table.insert(cors,sandbox(Script7,function()
- local Tool = script.Parent;
- enabled = true
- function onActivated()
- if not enabled then
- return
- end
- enabled = false
- Tool.GripForward = Vector3.new(0.675, -0.675, -0.3)
- Tool.GripPos = Vector3.new(0.4, -0.9, 1.1)
- Tool.GripRight = Vector3.new(0.212, -0.212, 0.954)
- Tool.GripUp = Vector3.new(0.707, 0.707, 0)
- Tool.Handle.DrinkSound:Play()
- wait(3)
- local h = Tool.Parent:FindFirstChild("Humanoid")
- if (h ~= nil) then
- if (Tool.Parent:FindFirstChild("SpeedEffect") == nil) then
- local s = script.Parent.SpeedEffect:Clone()
- s.Disabled = false
- s.Parent = Tool.Parent
- end
- end
- Tool.GripForward = Vector3.new(-1, 0, -1)
- Tool.GripPos = Vector3.new(0, 0, 0.2)
- Tool.GripRight = Vector3.new(1, 0, 0)
- Tool.GripUp = Vector3.new(0,1,0)
- wait(31)
- enabled = true
- end
- script.Parent.Activated:connect(onActivated)
- local Tool = script.Parent;
- enabled = true
- function onEquipped()
- Tool.Handle.OpenSound:play()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- 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