View difference between Paste ID: mWRDkhRr and gkWHwz7S
SHOW: | | - or go back to the newest paste.
1
local debris = game:GetService("Debris")
2-
NLS([[ 
2+
3-
mouse = owner:GetMouse()
3+
Tool.Name = "MINE DIAMOOOOOOOONDS"
4-
4+
5-
local E = owner.Character:WaitForChild("The")
5+
6-
mouse.Button1Down:Connect(function()
6+
7-
   E:FireServer(mouse.Hit.Position)
7+
Part.Size = Vector3.new(1,5,1)
8
Part.Color = Color3.fromRGB(130, 66, 5)
9-
]], owner.Character)
9+
10-
function isplatformstand(PC)
10+
11-
coroutine.wrap(function()
11+
12-
PC.Character.Humanoid.PlatformStand = true
12+
Part2.Size = Vector3.new(1.1,1.1,5)
13-
wait(3)
13+
Part2.Color = Color3.fromRGB(0, 0, 121)
14-
	for i,v in pairs(PC.Character:GetDescendants()) do
14+
15-
		if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
15+
16-
v.Enabled = true
16+
Tool.GripPos = Vector3.new(0,-2,0)
17
Tool.Parent = owner.Character
18
ShootWeld = Instance.new("Weld", Part)
19-
PC.Character.Humanoid.PlatformStand = false
19+
20-
end)()
20+
21
ShootWeld.C0 = CFrame.new(0,-1.75,0)
22-
function killfunction(part)
22+
23-
			local Model = part:FindFirstAncestorOfClass("Model")
23+
24-
			if Model then
24+
local music = Instance.new("Sound", owner.Character.Head)
25-
				local PC = game:GetService("Players"):GetPlayerFromCharacter(Model)
25+
music.SoundId = "rbxassetid://693581349"
26-
				if PC then
26+
music.Volume = 1
27-
        if PC ~= owner then
27+
28-
            local limbcollider = Instance.new("Part", PC.Character:findFirstChild("Right Arm"))
28+
music:Resume()
29-
                limbcollider.Size = Vector3.new(1.4,1,1)
29+
30-
                limbcollider.Shape = "Cylinder"
30+
31-
                limbcollider.Transparency = 1
31+
music:Pause()
32-
                limbcollider.Name = "LimbCollider"
32+
33-
                local limbcolliderweld = Instance.new("Weld", limbcollider)
33+
TweenService = game:GetService("TweenService")
34-
                limbcolliderweld.Part0 = PC.Character:findFirstChild("Right Arm")
34+
spininfo = TweenInfo.new(0.35,Enum.EasingStyle.Linear)
35-
                limbcolliderweld.Part1 = limbcollider
35+
Spin1 = TweenService:Create(Tool,spininfo,{Grip = CFrame.Angles(math.rad(120),0,0)})
36-
                limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
36+
Spin2 = TweenService:Create(Tool,spininfo,{Grip = CFrame.Angles(math.rad(240),0,0)})
37-
            local limbcollider2 = Instance.new("Part", PC.Character:findFirstChild("Left Arm"))
37+
Spin3 = TweenService:Create(Tool,spininfo,{Grip = CFrame.Angles(math.rad(360),0,0)})
38-
                limbcollider2.Size = Vector3.new(1.4,1,1)
38+
Tool.Activated:Connect(function()
39-
                limbcollider2.Shape = "Cylinder"
39+
Part.Size = Vector3.new(3,15,3)
40-
                limbcollider2.Transparency = 1
40+
Part2.Size = Vector3.new(3.3,3.3,15)
41-
                limbcollider2.Name = "LimbCollider"
41+
ShootWeld.C0 = CFrame.new(0,-1.75 * 3,0)
42-
                local limbcolliderweld2 = Instance.new("Weld", limbcollider)
42+
Tool.GripPos = Vector3.new(0,-2 * 3,0)
43-
                limbcolliderweld2.Part0 = PC.Character:findFirstChild("Left Arm")
43+
candamage = true
44-
                limbcolliderweld2.Part1 = limbcollider2
44+
Spin1:Play()
45-
                limbcolliderweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
45+
wait(0.35)
46-
            local limbcollider3 = Instance.new("Part", PC.Character:findFirstChild("Right Leg"))
46+
Spin2:Play()
47-
                limbcollider3.Size = Vector3.new(1.3,1,1)
47+
wait(0.35)
48-
                limbcollider3.Shape = "Cylinder"
48+
Spin3:Play()
49-
                limbcollider3.Transparency = 1
49+
wait(0.35)
50-
                limbcollider3.Name = "LimbCollider"
50+
candamage = false
51-
                local limbcolliderweld3 = Instance.new("Weld", limbcollider)
51+
Part.Size = Vector3.new(1,5,1)
52-
                limbcolliderweld3.Part0 = PC.Character:findFirstChild("Right Leg")
52+
Part2.Size = Vector3.new(1.1,1.1,5)
53-
                limbcolliderweld3.Part1 = limbcollider3
53+
ShootWeld.C0 = CFrame.new(0,-1.75,0)
54-
                limbcolliderweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
54+
Tool.GripPos = Vector3.new(0,-2,0)
55-
            local limbcollider4 = Instance.new("Part", PC.Character:findFirstChild("Left Leg"))
55+
56-
                limbcollider4.Size = Vector3.new(1.3,1,1)
56+
Part2.Touched:Connect(function(hit)
57-
                limbcollider4.Shape = "Cylinder"
57+
if hit.Name ~= "Base" then
58-
                limbcollider4.Transparency = 1
58+
if hit ~= owner.Character:GetDescendants() then
59-
                limbcollider4.Name = "LimbCollider"
59+
if candamage then
60-
                local limbcolliderweld4 = Instance.new("Weld", limbcollider)
60+
oldcf = hit.CFrame
61-
                limbcolliderweld4.Part0 = PC.Character:findFirstChild("Left Leg")
61+
oldcolor = hit.Color
62-
                limbcolliderweld4.Part1 = limbcollider4
62+
hit:Destroy()
63-
                limbcolliderweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
63+
local mined = Instance.new("Sound", owner.Character.Head)
64-
debris:AddItem(limbcollider, 3)
64+
mined.SoundId = "rbxassetid://6496157434"
65-
debris:AddItem(limbcollider2, 3)
65+
mined.Volume = 1
66-
debris:AddItem(limbcollider3, 3)
66+
mined:Play()
67-
debris:AddItem(limbcollider4, 3)
67+
debris:AddItem(mined,1)
68-
isplatformstand(PC)
68+
for i = 1, 5 do
69-
	for i,v in pairs(PC.Character:GetDescendants()) do
69+
partdebris = Instance.new("Part",script)
70-
		if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
70+
partdebris.Shape = Enum.PartType.Ball
71-
			local Socket = Instance.new("BallSocketConstraint")
71+
partdebris.Size = Vector3.new(0.5,0.5,0.5)
72-
			local a1 = Instance.new("Attachment")
72+
partdebris.Color = oldcolor
73-
			local a2 = Instance.new("Attachment")
73+
Mesh = Instance.new("SpecialMesh")
74-
			a1.Parent = v.Part0
74+
Mesh.Parent = partdebris
75-
			a2.Parent = v.Part1
75+
Mesh.MeshType = "Brick"
76-
			Socket.Parent = v.Parent
76+
Mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
77-
			Socket.Attachment0 = a1
77+
partdebris.CanTouch = false
78-
			Socket.Attachment1 = a2
78+
partdebris.Material = Enum.Material.SmoothPlastic
79-
			a1.CFrame = v.C0
79+
partdebris.CFrame = oldcf * CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
80-
			a2.CFrame = v.C1
80+
debris:AddItem(partdebris,6)
81-
			Socket.LimitsEnabled = true
81+
82-
			Socket.TwistLimitsEnabled = true
82+
83-
			v.Enabled = false
83+
84-
debris:AddItem(a1, 3)
84+
85-
debris:AddItem(a2, 3)
85+
end)