View difference between Paste ID: sqJLcZQv and p50Du1kx
SHOW: | | - or go back to the newest paste.
1
--By Rufus14 lolol
2
--Converted with ttyyuu12345's model to script plugin v4
3
function sandbox(var,func)
4
	local env = getfenv(func)
5
	local newenv = setmetatable({},{
6
		__index = function(self,k)
7
			if k=="script" then
8
				return var
9
			else
10
				return env[k]
11
			end
12
		end,
13
	})
14
	setfenv(func,newenv)
15
	return func
16
end
17
cors = {}
18
mas = Instance.new("Model",game:GetService("Lighting"))
19
Part0 = Instance.new("Part")
20
Sound1 = Instance.new("Sound")
21
Attachment2 = Instance.new("Attachment")
22
RopeConstraint3 = Instance.new("RopeConstraint")
23
Part4 = Instance.new("Part")
24
SpecialMesh5 = Instance.new("SpecialMesh")
25
Attachment6 = Instance.new("Attachment")
26
RopeConstraint7 = Instance.new("RopeConstraint")
27
RopeConstraint8 = Instance.new("RopeConstraint")
28
Part0.Parent = mas
29
Part0.BrickColor = BrickColor.new("Pearl")
30
Part0.Anchored = true
31
Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949)
32
Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
33
Part0.BottomSurface = Enum.SurfaceType.Smooth
34
Part0.TopSurface = Enum.SurfaceType.Smooth
35
Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
36
Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957)
37
Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
38
Sound1.Parent = Part0
39
Sound1.SoundId = "rbxassetid://1043259261"
40
Attachment6.Parent = Part0
41
Attachment6.Visible = true
42
RopeConstraint8.Parent = Attachment6
43
RopeConstraint8.Color = BrickColor.new("Maroon")
44
RopeConstraint8.Visible = true
45
RopeConstraint8.Attachment0 = nil
46
RopeConstraint8.Attachment1 = Attachment6
47
RopeConstraint8.Color = BrickColor.new("Maroon")
48
RopeConstraint8.Length = 7.5
49
RopeConstraint8.Thickness = 0.20000000298023
50
RopeConstraint8.Restitution = 0.10000000149012
51
Part4.Parent = mas
52
Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957)
53
Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1)
54
Part4.BottomSurface = Enum.SurfaceType.Smooth
55
Part4.TopSurface = Enum.SurfaceType.Smooth
56
Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707)
57
SpecialMesh5.Parent = Part4
58
SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925"
59
SpecialMesh5.Scale = Vector3.new(3, 3, 3)
60
SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881"
61
SpecialMesh5.MeshType = Enum.MeshType.FileMesh
62
SpecialMesh5.Scale = Vector3.new(3, 3, 3)
63
Attachment6.Parent = Part0
64
Attachment6.Visible = true
65
RopeConstraint8.Parent = Attachment6
66
RopeConstraint8.Color = BrickColor.new("Maroon")
67
RopeConstraint8.Visible = true
68
RopeConstraint8.Length = 7.5
69
RopeConstraint8.Thickness = 0.20000000298023
70
RopeConstraint8.Restitution = 0
71
for i,v in pairs(mas:GetChildren()) do
72
	v.Parent = game:GetService("Players").LocalPlayer.Character
73
	pcall(function() v:MakeJoints() end)
74
end
75
mas:Destroy()
76
for i,v in pairs(cors) do
77
	spawn(function()
78
		pcall(v)
79
	end)
80
end
81
Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,7.5,0)
82
game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,2,0)
83
Part4.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-3,0)
84
RopeConstraint8.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
85
RopeConstraint8.Attachment1 = Attachment6
86
RopeConstraint8.Visible = true
87
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
88
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
89
-- Objects
90
91
local ScreenGui = Instance.new("ScreenGui")
92
local TextButton = Instance.new("TextButton")
93
94
-- Properties
95
96
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
97
98
TextButton.Parent = ScreenGui
99
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
100
TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0)
101
TextButton.Size = UDim2.new(0, 496, 0, 135)
102
TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
103
TextButton.Font = Enum.Font.SourceSans
104
TextButton.FontSize = Enum.FontSize.Size14
105
TextButton.Text = "Suicide"
106
TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
107
TextButton.TextScaled = true
108
TextButton.TextSize = 14
109
TextButton.TextWrapped = true
110
function kys()
111
	ScreenGui:destroy()
112
	local bodyvel = Instance.new("BodyVelocity", Part4)
113
	bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
114
	local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
115
	death.Volume = 10
116
	death.SoundId = "rbxassetid://12222242"
117
	wait(0.2)
118
	death:Play()
119
	bodyvel:destroy()
120
	game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
121
        if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
122
            game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
123
            for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
124
                if v.ClassName == "Motor6D" then
125
                    if v.Name == "Neck" then
126
                       
127
                    else
128
                        v:destroy()
129
                    end
130
                end
131
            end
132
        end
133
        if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
134
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
135
            attachment.Position = Vector3.new(1, 1, 0)
136
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
137
            ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
138
            ball.Attachment1 = attachment
139
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
140
            collidepartofleftleg.Name = "Bone"
141
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
142
            collidepartofleftleg.Transparency = 1
143
            collidepartofleftleg:BreakJoints()
144
            local weeld = Instance.new("Weld", collidepartofleftleg)
145
            weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
146
            weeld.Part1 = collidepartofleftleg
147
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
148
        end
149
        if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
150
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
151
            attachment.Position = Vector3.new(-1, 1, 0)
152
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
153
            ball.Attachment0 = attachment
154
            ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
155
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
156
            collidepartofleftleg.Name = "Bone"
157
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
158
            collidepartofleftleg.Transparency = 1
159
            collidepartofleftleg:BreakJoints()
160
            local weeld = Instance.new("Weld", collidepartofleftleg)
161
            weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
162
            weeld.Part1 = collidepartofleftleg
163
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
164
        end
165
        if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
166
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
167
            attachment.Position = Vector3.new(0.5, -1, 0)
168
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
169
            ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
170
            ball.Attachment1 = attachment
171
            game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
172
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
173
            collidepartofleftleg.Name = "Bone"
174
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
175
            collidepartofleftleg.Transparency = 1
176
            collidepartofleftleg:BreakJoints()
177
            local weeld = Instance.new("Weld", collidepartofleftleg)
178
            weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
179
            weeld.Part1 = collidepartofleftleg
180
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
181
        end
182
        if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
183
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
184
            attachment.Position = Vector3.new(-0.5, -1, 0)
185
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
186
            ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
187
            ball.Attachment1 = attachment
188
            game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
189
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
190
            collidepartofleftleg.Name = "Bone"
191
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
192
            collidepartofleftleg.Transparency = 1
193
            collidepartofleftleg:BreakJoints()
194
            local weeld = Instance.new("Weld", collidepartofleftleg)
195
            weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
196
            weeld.Part1 = collidepartofleftleg
197
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
198
        end
199
        if game.Players.LocalPlayer.Character:findFirstChild("Head") then
200
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
201
				attachment.Position = Vector3.new(0, -0.5, 0)
202
				attachment.Name = "lol"
203
				attachment.Visible = false
204
				game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
205
				game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
206
				local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
207
	            ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
208
	            ball.Attachment1 = attachment
209
				ball.LimitsEnabled = true
210
				ball.TwistLimitsEnabled = true
211
				ball.UpperAngle = 90
212
				ball.Restitution = 0.5
213
				ball.TwistUpperAngle = 180
214
				ball.TwistLowerAngle = -180
215
	            local  collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
216
	            collidepartofleftleg.Name = "Bone"
217
	            collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
218
	            collidepartofleftleg.Transparency = 1
219
	            collidepartofleftleg:BreakJoints()
220
	            local weeld = Instance.new("Weld", collidepartofleftleg)
221
	            weeld.Part0 = collidepartofleftleg
222
	            weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
223
				if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
224
					game.Players.LocalPlayer.Character.Torso.Neck:destroy()
225
				end
226
				if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
227
					game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
228
				end
229
        end
230
		game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
231
		game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
232
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
233
		game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
234
		local dead = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
235
		dead.Volume = 10
236-
		dead.SoundId = "rbxassetid://1248405065"
236+
		dead.SoundId = "rbxassetid://149086608"
237
		dead:Play()
238
		dead.Looped = true
239
		while true do
240
			game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
241
			game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
242
			wait()
243
		end
244
end
245
TextButton.MouseButton1Click:connect(kys)