View difference between Paste ID: 2NK2PbRV and QuftznU0
SHOW: | | - or go back to the newest paste.
1
--Windows95/FR34KY 
2
3
--my scripting sux
4
5
--also vouch pls
6
7
--Edited to be more fe
8
9
--ragdoll sometimes does not work
10
debounce = 0;
11
12
13
14
15
local player = game.Players.LocalPlayer
16
repeat wait() until player.Character.Humanoid
17
local humanoid = player.Character.Humanoid
18
local mouse = player:GetMouse()
19
--game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498'
20
local player=game.Players.LocalPlayer;
21
local char=game.Players.LocalPlayer.Character;
22
local humanoid = player.Character.Humanoid;
23
Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
24
Tool.GripRight=Vector3.new(-0.816, 0, 0.577);
25
Tool.GripUp=Vector3.new(-0.027, 0.996, -0.089);
26
Tool.GripPos=Vector3.new(-0.3, -0.4, 0.4);
27
Tool.GripForward=Vector3.new(-1, 0, -0); --0.485, 0.14, -0.863
28
Tool.Name='Suicide';
29
Handle=Instance.new('Part', Tool);
30
Handle.Name = 'Handle';
31
Handle.BrickColor=BrickColor.new('Really black')
32
Handle.Size=Vector3.new(0.26, 1.11, 4.85);
33
Handle.Position=Vector3.new(-18.53, 0.555, -16.825)
34
gunfire=Instance.new('Part', Tool)
35
gunfire.Name='GunFire'
36
gunfire.Size=Vector3.new(0.2, 0.2, 0.2)
37
gunfire.Transparency=1
38
gunfire.Position=Vector3.new(-18.56, 1.1, -19.35)
39
gunfirefx=Instance.new('BillboardGui', gunfire)
40
gunfirefx.Enabled=false
41
gunfirefx.Adornee = gunfire
42
gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0)
43
gunfirefx2=Instance.new('ImageLabel', gunfirefx)
44
gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237'
45
gunfirefx2.BackgroundTransparency=1
46
gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0)
47
48
shootsound=Instance.new('Sound', char.Torso)
49
shootsound.Volume=8
50
shootsound.SoundId='rbxassetid://230622620'
51
c4mesh=Instance.new('SpecialMesh', Handle);
52
c4mesh.MeshType = 'FileMesh';
53
c4mesh.MeshId='http://www.roblox.com/asset/?id=95356090';
54
c4mesh.TextureId='http://www.roblox.com/asset/?id=95387789';
55
c4mesh.Scale=Vector3.new(1.8, 1.8, 1.8);
56
57
local anim5 = Instance.new("Animation", player.Character)
58
anim5.AnimationId = "http://www.roblox.com/asset/?id=95383474"
59
local playAnim10 = humanoid:LoadAnimation(anim5)
60
61
Tool.GripRight=Vector3.new(-0.816, 0, 0.577)
62
63
function equipped()
64
wait()
65
playAnim10:Play()
66
end
67
68
function unequipped()
69
wait()
70
playAnim10:Stop()
71
end
72
73
Tool.Equipped:connect(equipped)
74
Tool.Unequipped:connect(unequipped)
75
76
light=Instance.new('PointLight', Handle);
77
light.Color = Color3.new(255, 255, 0)
78
light.Range=10;
79
light.Enabled=false;
80
81
82
function Shoot()
83
--Credit to CyclicaIIy for this amazing script
84
LocalPlayer = game:GetService("Players").LocalPlayer
85
--LocalPlayer.Character.Humanoid:MoveTo(LocalPlayer.Character.HumanoidRootPart.Position + LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 10)
86
--LocalPlayer.Character.Humanoid.Jump = true
87
wait(0.5)
88
game.Players.LocalPlayer.Character.Head.Splash.Playing = true shootsound:Play()
89
LocalPlayer.Character.Humanoid.PlatformStand = true
90
if LocalPlayer.Character.Torso then
91
local bambam = Instance.new("BodyThrust")
92
bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
93
bambam.Force = Vector3.new(0, 1300, 0)
94
bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
95
else
96
local bambamm = Instance.new("BodyThrust")
97
bambamm.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
98
bambamm.Force = Vector3.new(0, 1300, 0)
99
bambamm.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
100
wait(0.1)
101
bambamm:Destroy()
102
wait(5)
103
LocalPlayer.Character.Humanoid.Health = 0
104
end
105
106
function Iterate(instance, func)
107
for i, v in next, instance:GetChildren() do
108
func(v)
109
end
110
end
111
limbs = {
112
["Right Leg"] = true;
113
["Right Arm"] = true;
114
["Left Leg"] = true;
115
["Left Arm"] = true; 
116
}
117
Iterate(LocalPlayer.Character, function(v)
118
if v:IsA("BasePart") then
119
local attachment = Instance.new("Attachment")
120
attachment.Parent = v
121
attachment.Name = (v.Name .. "[Attachment]")
122
if limbs[v.Name] then
123
attachment.Position = Vector3.new(0, v.Size.Y/2, 0)
124
elseif v.Name == "Head" then
125
attachment.Position = Vector3.new(0, -v.Size.Y/2, 0)
126
attachment.Rotation = Vector3.new(0, 0, -90)
127
end
128
end
129
end)
130
local leftLegAttachment = Instance.new("Attachment")
131
leftLegAttachment.Position = Vector3.new(-.5, -1, 0)
132
leftLegAttachment.Rotation = Vector3.new(0, -90, 0)
133
local rightLegAttachment = Instance.new("Attachment")
134
rightLegAttachment.Position = Vector3.new(.5, -1, 0)
135
rightLegAttachment.Rotation = Vector3.new(0, -90, 0)
136
rightLegAttachment.Parent, leftLegAttachment.Parent = LocalPlayer.Character.Torso, LocalPlayer.Character.Torso
137
jointAttachments = {
138
['Head'] = {
139
['Attachment0'] = LocalPlayer.Character.Torso['NeckAttachment'];
140
['Attachment1'] = LocalPlayer.Character.Head['Head[Attachment]'];
141
};
142
['Left Arm'] = {
143
['Attachment0'] = LocalPlayer.Character.Torso['LeftCollarAttachment'];
144
['Attachment1'] = LocalPlayer.Character['Left Arm']['Left Arm[Attachment]'];
145
};
146
['Right Arm'] = {
147
['Attachment0'] = LocalPlayer.Character.Torso['RightCollarAttachment'];
148
['Attachment1'] = LocalPlayer.Character['Right Arm']['Right Arm[Attachment]'];
149
};
150
['Left Leg'] = {
151
['Attachment0'] = leftLegAttachment;
152
['Attachment1'] = LocalPlayer.Character['Left Leg']['Left Leg[Attachment]'];
153
};
154
['Right Leg'] = {
155
['Attachment0'] = rightLegAttachment;
156
['Attachment1'] = LocalPlayer.Character['Right Leg']['Right Leg[Attachment]'];
157
};
158
}
159
LocalPlayer.Character.Humanoid.PlatformStand = true
160
Iterate(LocalPlayer.Character, function(v)
161
if v:IsA("BasePart") then
162
if jointAttachments[v.Name] then
163
local ballSocketJoint = Instance.new("BallSocketConstraint")
164
ballSocketJoint.Parent = v
165
ballSocketJoint.Radius = 0.15
166
ballSocketJoint.Attachment0, ballSocketJoint.Attachment1 = jointAttachments[v.Name]['Attachment0'], jointAttachments[v.Name]['Attachment1']
167
end
168
end
169
end)
170
Iterate(LocalPlayer.Character.Torso, function(v)
171
if v:IsA("Motor") then
172
v:Remove()
173
end
174
end)
175
end
176
Tool.Activated:connect(Shoot)
177
178
--ragdoll
179
180
print("XDXDXD")
181
--You don't need to edit this!
182
183
Character = player.Character
184
Humanoid = Character.Humanoid
185
Torso = Character.Torso
186
mode = Instance.new("Model")
187
mode.Name = ""
188
mode.Parent = game.Workspace
189
190
function OnDeath()
191
192
print("Death Suicide")
193
194
end
195
196
Humanoid.Died:connect(OnDeath)