Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --By Rufus14
- --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")
- ParticleEmitter3 = Instance.new("ParticleEmitter")
- Weld4 = Instance.new("Weld")
- Script5 = Instance.new("Script")
- Part6 = Instance.new("Part")
- Tool0.Name = "Soap"
- Tool0.Parent = mas
- Tool0.ToolTip = "the soap does 100 million damage now because it's funny."
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(0.500000358, 1.5, -2.50001812, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(0.500000358, 1.5, -2.50001812)
- Part1.Color = Color3.new(1, 0.596078, 0.894118)
- Part1.Size = Vector3.new(0.999999344, 0.200000003, 0.599999964)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Carnation pink")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Carnation pink")
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "rbxasset://fonts//torso.mesh"
- SpecialMesh2.Scale = Vector3.new(0.5, 0.100000001, 0.600000024)
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- ParticleEmitter3.Parent = Part1
- ParticleEmitter3.Speed = NumberRange.new(0.5, 0.5)
- ParticleEmitter3.LightEmission = 1
- ParticleEmitter3.LightInfluence = 1
- ParticleEmitter3.Texture = "http://www.roblox.com/asset/?id=838062436"
- ParticleEmitter3.Transparency = NumberSequence.new(0,1)
- ParticleEmitter3.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter3.Drag = 1
- ParticleEmitter3.Lifetime = NumberRange.new(3, 3)
- ParticleEmitter3.Rate = 1.5
- ParticleEmitter3.SpreadAngle = Vector2.new(0, 360)
- Weld4.Parent = Part1
- Weld4.Part0 = Part1
- Weld4.Part1 = Part6
- Weld4.part1 = Part6
- Script5.Parent = Tool0
- table.insert(cors,sandbox(Script5,function()
- --By Rufus14
- damage = 1e+09
- --
- tool = script.Parent
- handle = tool.Handle
- hitbox = tool.hitbox
- players = game:GetService("Players")
- runservice = game:GetService("RunService")
- owner = nil
- character = nil
- playerhum = nil
- equipped = false
- candamage = false
- function swait(HOWMANY)
- for i = 1,HOWMANY do
- runservice.Stepped:wait()
- end
- end
- function gibbie(where, howlong)
- local gibbieeeee = Instance.new("SpawnLocation", workspace)
- gibbieeeee.Neutral = false
- gibbieeeee:BreakJoints()
- gibbieeeee.Size = Vector3.new(1.4, 1.6, 3.2)
- gibbieeeee.CFrame = where
- local gibyyyyyy = Instance.new("SpecialMesh", gibbieeeee)
- gibyyyyyy.Scale = Vector3.new(0.75+math.random(-10,10)/30, 0.75+math.random(-10,10)/30, 1.5+math.random(-10,10)/30)
- gibyyyyyy.MeshId = "http://www.roblox.com/asset/?id=1290033"
- gibyyyyyy.TextureId = "http://www.roblox.com/asset/?id=1290030"
- gibyyyyyy.VertexColor = Vector3.new(1,0,0)
- game.Debris:AddItem(gibbieeeee, howlong)
- end
- tool.Unequipped:connect(function()
- equipped = false
- end)
- tool.Equipped:connect(function()
- equipped = true
- owner = players:GetPlayerFromCharacter(tool.Parent)
- character = owner.Character
- playerhum = character:findFirstChildOfClass("Humanoid")
- local rightgrip
- if playerhum.RigType == Enum.HumanoidRigType.R6 then
- rightgrip = character["Right Arm"]:WaitForChild("RightGrip")
- elseif playerhum.RigType == Enum.HumanoidRigType.R15 then
- rightgrip = character["RightHand"]:WaitForChild("RightGrip")
- end
- coroutine.wrap(function()
- while equipped and runservice.Stepped:wait() do
- if playerhum.RigType == Enum.HumanoidRigType.R15 then
- rightgrip.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()*1.5)/6,math.cos(tick()*1.5),0)
- elseif playerhum.RigType == Enum.HumanoidRigType.R6 then
- rightgrip.C0 = CFrame.new(0,-1.1,0) * CFrame.fromEulerAnglesXYZ(math.sin(tick()*1.5)/6,math.cos(tick()*1.5),0)
- end
- end
- end)()
- end)
- tool.Activated:connect(function()
- tool.Parent = workspace
- handle.CFrame = character.Head.CFrame * CFrame.new(0,-1,-3.5)
- candamage = true
- local velocity = Instance.new("BodyVelocity", handle)
- velocity.Velocity = character.Head.CFrame.lookVector * 50
- velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- coroutine.wrap(function()
- wait(0.25)
- velocity:destroy()
- wait(0.75)
- candamage = false
- end)()
- end)
- function killfunction(WHAT)
- if WHAT.Parent == nil then return end
- local humanoid = WHAT.Parent:findFirstChildOfClass("Humanoid")
- if humanoid and candamage then
- if humanoid.MaxHealth == math.huge then
- humanoid.MaxHealth = damage
- end
- humanoid.Health = humanoid.Health - damage
- if humanoid.Health <= 0 then
- local mainpart = Instance.new("UnionOperation", workspace)
- mainpart.Anchored = true
- mainpart.Transparency = 1
- mainpart.CFrame = WHAT.CFrame
- mainpart.Size = Vector3.new(0.1,0.1,0.1)
- if humanoid.Parent:findFirstChild(tool) then
- humanoid.Parent:findFirstChild(tool).Parent = workspace
- end
- for i,v in pairs(humanoid.Parent:GetDescendants()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v:destroy()
- end
- end
- --gibby
- for i = 1,3 do
- gibbie(mainpart.CFrame * CFrame.new(math.random(-4,4),0,math.random(-4,4)) * CFrame.fromEulerAnglesXYZ(0,math.random(-10,10)/5,0), 30)
- end
- local splatter = Instance.new("ParticleEmitter", mainpart)
- splatter.Speed = NumberRange.new(100, 100)
- splatter.Color = ColorSequence.new(Color3.new(0.709804, 0, 0.0117647),Color3.new(0.709804, 0, 0.0117647))
- splatter.LightInfluence = 1
- splatter.Texture = "http://www.roblox.com/asset/?id=242201991"
- splatter.Transparency = NumberSequence.new(0.75,1)
- splatter.Size = NumberSequence.new(5,5)
- splatter.Acceleration = Vector3.new(0, -5, 0)
- splatter.Drag = 50
- splatter.Lifetime = NumberRange.new(4, 5)
- splatter.Rate = 700
- splatter.RotSpeed = NumberRange.new(3, 3)
- splatter.SpreadAngle = Vector2.new(0, 360)
- local ouch = Instance.new("Sound", mainpart)
- ouch.SoundId = "rbxassetid://4459572527"
- ouch.Volume = 2
- ouch.PlaybackSpeed = 1+(math.random(-10,10)/50)
- ouch:Play()
- game.Debris:AddItem(mainpart, 10)
- swait(5)
- splatter.Enabled = false
- end
- end
- end
- hitbox.Touched:connect(killfunction)
- end))
- Part6.Name = "hitbox"
- Part6.Parent = Tool0
- Part6.CFrame = CFrame.new(0.500000358, 1.5, -2.50001812, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.Position = Vector3.new(0.500000358, 1.5, -2.50001812)
- Part6.Color = Color3.new(1, 0.596078, 0.894118)
- Part6.Transparency = 1
- Part6.Size = Vector3.new(1.79999936, 1, 1.39999998)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.BrickColor = BrickColor.new("Carnation pink")
- Part6.CanCollide = false
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.brickColor = BrickColor.new("Carnation pink")
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = owner.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Add Comment
Please, Sign In to add comment