Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local mou = plr:GetMouse()
- local equipped = false
- local hum = char:FindFirstChildOfClass("Humanoid")
- local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
- local head = char:FindFirstChild("Head")
- local tweenserv = game:GetService("TweenService")
- local pepsi = Instance.new("Tool", plr.Backpack)
- pepsi.Name = "Pepsi"
- pepsi.CanBeDropped = true
- local hand = Instance.new("Part", pepsi)
- hand.Size = Vector3.new(1, 1, 1)
- hand.Transparency = 1
- hand.Name = "Handle"
- local handle = Instance.new("Part", hand)
- handle.Size = Vector3.new(0.3, 1, 0.4)
- handle.Material = "Plastic"
- handle.BrickColor = BrickColor.new("Fossil")
- local handlew = Instance.new("Weld", handle)
- handlew.Part0 = hand
- handlew.Part1 = handle
- handlew.C1 = CFrame.new(0, 0, 0.2)
- local handle2 = Instance.new("Part", hand)
- handle2.Size = Vector3.new(0.05, 0.9, 0.3)
- handle2.Material = "Plastic"
- handle2.BrickColor = BrickColor.new("Fossil")
- local handle2w = Instance.new("Weld", handle)
- handle2w.Part0 = hand
- handle2w.Part1 = handle2
- handle2w.C1 = CFrame.new(0.15, 0, 0.2)
- local handle3 = Instance.new("Part", hand)
- handle3.Size = Vector3.new(0.05, 0.9, 0.3)
- handle3.Material = "Plastic"
- handle3.BrickColor = BrickColor.new("Fossil")
- local handle3w = Instance.new("Weld", handle)
- handle3w.Part0 = hand
- handle3w.Part1 = handle3
- handle3w.C1 = CFrame.new(-0.15, 0, 0.2)
- local bottom = Instance.new("Part", hand)
- bottom.Size = Vector3.new(0.4, 0.1, 0.5)
- bottom.Material = "Plastic"
- bottom.BrickColor = BrickColor.new("Fossil")
- local bottomw = Instance.new("Weld", bottom)
- bottomw.Part0 = hand
- bottomw.Part1 = bottom
- bottomw.C1 = CFrame.new(0, 0.5, 0.2)
- local bot1 = Instance.new("Part", hand)
- bot1.Shape = "Cylinder"
- bot1.Size = Vector3.new(1.6, 1, 1)
- bot1.BrickColor = BrickColor.new("Fossil")
- bot1.Material = "Plastic"
- local bot1w = Instance.new("Weld", bot1)
- bot1w.Part0 = hand
- bot1w.Part1 = bot1
- bot1w.C1 = CFrame.new(0.8, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- local bot2 = Instance.new("Part", hand)
- bot2.Shape = "Ball"
- bot2.Size = Vector3.new(1, 1, 1)
- bot2.BrickColor = BrickColor.new("Fossil")
- bot2.Material = "Plastic"
- local bot2w = Instance.new("Weld", bot2)
- bot2w.Part0 = hand
- bot2w.Part1 = bot2
- bot2w.C1 = CFrame.new(0, -0.9, 1.5)
- local cap = Instance.new("Part", hand)
- cap.Shape = "Cylinder"
- cap.Size = Vector3.new(0.2, 0.3, 0.3)
- cap.BrickColor = BrickColor.new("Fossil")
- cap.Material = "Plastic"
- local capw = Instance.new("Weld", cap)
- capw.Part0 = hand
- capw.Part1 = cap
- capw.C1 = CFrame.new(2, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- local ban = Instance.new("Part", hand)
- ban.Shape = "Cylinder"
- ban.Size = Vector3.new(0.7, 1.05, 1.05)
- ban.BrickColor = BrickColor.new("Fossil")
- ban.Material = "Plastic"
- local banw = Instance.new("Weld", ban)
- banw.Part0 = hand
- banw.Part1 = ban
- banw.C1 = CFrame.new(0.8, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- local good = Instance.new("Decal", ban)
- good.Texture = "rbxassetid://1311452071"
- good.Face = "Front"
- pepsi.Equipped:connect(function()
- equipped = true
- mou.Button1Down:connect(function()
- if equipped == true then
- clicked = true
- yum = Instance.new("Part", pepsi)
- yum.BrickColor = BrickColor.new("Really black")
- yum.Material = "Neon"
- yum.Anchored = true
- yum.CanCollide = false
- yum.Locked = true
- eh = Instance.new("ParticleEmitter", yum)
- eh.Texture = "rbxassetid://"
- eh.Lifetime = NumberRange.new(1)
- eh.Rate = 90
- eh.SpreadAngle = Vector2.new(360, 360)
- MLG = Instance.new("Sound", bot1)
- MLG.SoundId = "rbxassetid://525289290"
- MLG.Volume = 20
- MLG.Looped = true
- MLG:Play()
- while clicked == true do
- local ray = Ray.new(cap.CFrame.p, (mou.Hit.p - cap.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, char, false, true)
- dis = (cap.CFrame.p - position).magnitude
- yum.Size = Vector3.new(0.9, 0.9, dis)
- yum.Transparency = 0
- yum.CFrame = CFrame.new(cap.CFrame.p, position) * CFrame.new(0, 0, -dis / 2)
- local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
- local tweeninfo2 = TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 1, false, 0)
- local partprop = {Size = Vector3.new(20, 20, 20);
- Transparency = 1}
- local partprop2 = {Size = Vector3.new(5, 5, dis);
- Transparency = 1}
- tween2 = tweenserv:Create(yum, tweeninfo2, partprop2)
- tween2:Play()
- if mou.Target ~= nil and mou.Target.Parent and mou.Target.Parent:FindFirstChildOfClass("Humanoid") then
- yumtor = mou.Target.Parent:FindFirstChild("Torso") or mou.Target.Parent:FindFirstChild("UpperTorso")
- yumhum = mou.Target.Parent:FindFirstChildOfClass("Humanoid")
- if yumtor ~= nil then
- NOOO = Instance.new("Part", mou.Target.Parent)
- NOOO.Shape = "Ball"
- NOOO.BrickColor = BrickColor.new("Really black")
- NOOO.Material = "Neon"
- NOOO.Anchored = true
- NOOO.CanCollide = false
- NOOO.Size = Vector3.new(0.1, 0.1, 0.1)
- NOOO.CFrame = yumtor.CFrame
- if not yumtor:FindFirstChild("parti1") or not yumtor:FindFirstChild("parti2") or not yumtor:FindFirstChild("parti3") or not yumtor:FindFirstChild("parti4") or not yumtor:FindFirstChild("parti5") then
- parti = Instance.new("ParticleEmitter", yumtor)
- parti.Texture = "rbxassetid:/0"
- parti. EmissionDirection = "Top"
- parti.Rate = 100
- parti.Name = "parti1"
- parti.SpreadAngle = Vector2.new(360, 360)
- parti.Lifetime = NumberRange.new(2)
- parti2 = Instance.new("ParticleEmitter", yumtor)
- parti2.Texture = "rbxassetid://0"
- parti2. EmissionDirection = "Front"
- parti2.Rate = 100
- parti2.Name = "parti2"
- parti2.SpreadAngle = Vector2.new(360, 360)
- parti2.Lifetime = NumberRange.new(2)
- parti3 = Instance.new("ParticleEmitter", yumtor)
- parti3.Texture = "rbxassetid://0"
- parti3.EmissionDirection = "Back"
- parti3.Rate = 100
- parti3.Name = "parti3"
- parti3.SpreadAngle = Vector2.new(360, 360)
- parti3.Lifetime = NumberRange.new(2)
- parti4 = Instance.new("ParticleEmitter", yumtor)
- parti4.Texture = "rbxassetid://0"
- parti4.EmissionDirection = "Left"
- parti4.Rate = 100
- parti4.Name = "parti4"
- parti4.SpreadAngle = Vector2.new(360, 360)
- parti4.Lifetime = NumberRange.new(2)
- parti5 = Instance.new("ParticleEmitter", yumtor)
- parti5.Texture = "rbxassetid://0"
- parti5.EmissionDirection = "Right"
- parti5.Rate = 100
- parti5.Name = "parti5"
- parti5.SpreadAngle = Vector2.new(360, 360)
- parti5.Lifetime = NumberRange.new(2)
- end
- if yumtor:FindFirstChild("mlgagaga") then
- local hi2 = yumtor:FindFirstChild("mlgagaga")
- hi2:Play()
- else
- local hi = Instance.new("Sound", yumtor)
- hi.SoundId = "rbxassetid://1542642349"
- hi.Name = "mlgagaga"
- hi.Volume = 10
- hi.Looped = false
- hi:Play()
- end
- tween = tweenserv:Create(NOOO, tweeninfo, partprop)
- tween:Play()
- game:GetService("Debris"):AddItem(NOOO, 1)
- yumhum.WalkSpeed = 1
- yumhum.JumpPower = 1
- yumhum.Health = 0
- mou.Target.Parent:BreakJoints()
- for i,v in pairs(mou.Target.Parent:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "Neon"
- v.BrickColor = BrickColor.new("Really black")
- end
- if v:IsA("Shirt") then
- v:Destroy()
- end
- if v:IsA("Pants") then
- v:Destroy()
- end
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- end
- end
- wait()
- end
- end
- end)
- mou.Button1Up:connect(function()
- clicked = false
- if equipped == true then
- MLG:Stop()
- eh:Destroy()
- game:GetService("Debris"):AddItem(yum, 0)
- end
- end)
- end)
- pepsi.Unequipped:connect(function()
- equipped = false
- clicked = false
- end)
Add Comment
Please, Sign In to add comment