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