View difference between Paste ID: g5Lrde6T and Z2WrpwNN
SHOW: | | - or go back to the newest paste.
1
--MADE BY RUFUS14
2
mouse = game.Players.LocalPlayer:GetMouse()
3
using = false
4
hit = false
5
bat = Instance.new("Part", game.Players.LocalPlayer.Character)
6-
bat.Size = Vector3.new(1, 1, 5)
6+
bat.Size = Vector3.new(15, 15, 15)
7
bat.CanCollide = false
8
bat:BreakJoints()
9
baseballhit = Instance.new("Sound", bat)
10
baseballhit.Volume = 10
11
baseballhit.SoundId = "rbxassetid://175024455"
12
baseballhit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
13
baseballhit1.Volume = 20
14
baseballhit1.SoundId = "rbxassetid://130944130"
15
swinging = Instance.new("Sound", bat)
16
swinging.Volume = 10
17
swinging.PlaybackSpeed = 1.2
18
swinging.SoundId = "rbxassetid://147722227"
19
weld = Instance.new("Weld", bat)
20
weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
21
weld.Part1 = bat
22
local batcritical = Instance.new("Sound", bat)
23
batcritical.SoundId = "rbxassetid://296102734"
24
batcritical.Volume = 5
25
weld.C0 = weld.C0 * CFrame.Angles(0,3.15,0) * CFrame.new(0,-0.95,1.9)
26
print(weld.C0)
27
mesh = Instance.new("SpecialMesh", bat)
28
mesh.MeshId = "http://www.roblox.com/asset/?id=54983181"
29
mesh.TextureId = "http://www.roblox.com/asset/?id=54983107"
30
mesh.Scale = Vector3.new(2,2,2)
31
local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
32
rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
33
rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
34
rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
35
rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
36
local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
37
lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
38
lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
39
lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
40
lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
41
function hit()
42
	if not using then
43
		using = true
44
		for i = 0,1 , 0.1 do
45
			wait()
46
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.35),i)
47
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.35),i)
48
			rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.3),i)
49
			lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(-0.15,0,0),i)
50
		end
51
		for i = 1,2 do
52
			wait()
53
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
54
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
55
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
56
			lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
57
		end
58
		wait(0.2)
59
		swinging:Play()
60
		local se = Instance.new("Part", bat)
61
		se.Size = Vector3.new(1, 1, 3)
62
		se:BreakJoints()
63
		se.Transparency = 1
64
		se.CanCollide = false
65
		local dmgweld = Instance.new("Weld", se)
66
		dmgweld.Part0 = bat
67
		dmgweld.Part1 = se
68
		dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
69
		local function dmg(part)
70
			local hum = part.Parent:findFirstChild("Humanoid")
71
			if hum ~= nil then
72
				se:destroy()
73
				baseballhit:Play()
74
				baseballhit1:Play()
75
				hum.Health = hum.Health - math.random(25,35)
76
				hum.PlatformStand = true
77
				local tor = part.Parent:findFirstChild("Torso")
78
				local dmgmat = math.random(1,4)
79
				if dmgmat == 3 then
80
				batcritical:Play()
81
				hum.Health = hum.Health - math.random(98,135)
82
				end
83
				if tor then
84
					tor.RotVelocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
85
					tor.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 34
86
				end
87
				wait(2)
88
				hum.PlatformStand = false
89
				hit = false
90
			end
91
		end
92
		se.Touched:connect(dmg)
93
		for i = 0,1 , 0.2 do
94
			wait()
95
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.new():lerp(CFrame.Angles(0,0,0.7),i)
96
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.70),i)
97
			rhandweld.C0 = rhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0,0,-0.6),i)
98
			lhandweld.C0 = lhandweld.C0 * CFrame.new():lerp(CFrame.Angles(0.30,0,0),i)
99
		end
100
		for i = 1,2 do
101
			wait()
102
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.1)
103
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.3)
104
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.4)
105
		end
106
		for i = 1,2 do
107
			wait()
108
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
109
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
110
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.2)
111
		end
112
		wait(0.2)
113
		for i = 1,2 do
114
			wait()
115
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.05)
116
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
117
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
118
		end
119
		for i = 1,2 do
120
			wait()
121
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.06)
122
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.2)
123
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.2)
124
		end
125
		se:destroy()
126
		for i = 1,2 do
127
			wait()
128
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,0.1)
129
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
130
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
131
		end
132
		for i = 1,2 do
133
			wait()
134
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0,0,-0.05)
135
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.1)
136
			rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.1)
137
		end
138
		game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
139
		game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
140
		lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
141
		lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
142
		rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
143
		rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
144
		using = false
145
	end
146
end
147
function combo(key)
148
	key = key:lower()
149
	if key == "q" then
150
		if not using then
151
			using = true
152
			swinging:Play()
153
			for i = 1,2 do
154
				wait()
155
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
156
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
157
			end
158
			for i = 1,3 do
159
				wait()
160
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.47)
161
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.47)
162
			end
163
			for i = 1,2 do
164
				wait()
165
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.05)
166
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.05)
167
			end
168
			wait(0.4)
169
			swinging:Play()
170
			for i = 1,2 do
171
				wait()
172
				weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
173
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
174
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
175
			end
176
			for i = 1,3 do
177
				wait()
178
				weld.C0 = weld.C0 * CFrame.Angles(0.33,0,0.1) * CFrame.new(0,-0.66,0.3)
179
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.2,0,0)
180
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.2,0,0)
181
			end
182
			for i = 1,2 do
183
				wait()
184
				weld.C0 = weld.C0 * CFrame.Angles(0.13,0,0.05) * CFrame.new(0,-0.27,0.1)
185
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.05,0,0)
186
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.05,0,00)
187
			end
188
			wait(0.5)
189
			for i = 1,2 do
190
				wait()
191
				game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.05)
192
			end
193
			for i = 1,2 do
194
				wait()
195
				game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.1)
196
			end
197
			for i = 1,2 do
198
				wait()
199
				game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.2)
200
			end
201
			for i = 1,2 do
202
				wait()
203
				game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.4)
204
			end
205
			swinging:Play()
206
			for i = 1,2 do
207
				wait()
208
				game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.8)
209
			end
210
			local se = Instance.new("Part", bat)
211
			se.Size = Vector3.new(1, 1, 3)
212
			se:BreakJoints()
213
			se.Transparency = 1
214
			se.CanCollide = false
215
			local dmgweld = Instance.new("Weld", se)
216
			dmgweld.Part0 = bat
217
			dmgweld.Part1 = se
218
			dmgweld.C0 = dmgweld.C0 * CFrame.new(0,0,1)
219
			local function dmg(part)
220
				if not hit then
221
					hit = true
222
					local hum = part.Parent:findFirstChild("Humanoid")
223
					if hum ~= nil then
224
					baseballhit:Play()
225
					baseballhit1:Play()
226
					hum.Health = hum.Health - math.random(5,25)
227
					hum.PlatformStand = true
228
					local tor = part.Parent:findFirstChild("Torso")
229
					if tor then
230
						local vel = Instance.new("BodyVelocity", tor)
231
						vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
232
						vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.rightVector * 35
233
						wait(0.1)
234
						vel:destroy()
235
						hit = false
236
					end
237
					wait(0.2)
238
					hit = false
239
					wait(1.5)
240
					hum.PlatformStand = false
241
				end
242
				end
243
			end
244
			se.Touched:connect(dmg)
245
			for i = 1,20 do
246
				swinging:Play()
247
				for i = 1,10 do
248
					wait()
249
					game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.9)
250
				end
251
			end
252
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
253
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
254
			for i = 1,2 do
255
				wait()
256
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
257
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
258
			end
259
			for i = 1,3 do
260
				wait()
261
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.47)
262
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.47)
263
			end
264
			for i = 1,2 do
265
				wait()
266
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.05)
267
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.05)
268
			end
269
			wait(0.4)
270
			swinging:Play()
271
			for i = 1,2 do
272
				wait()
273
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
274
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
275
			end
276
			for i = 1,3 do
277
				wait()
278
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.2,0,0)
279
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.2,0,0)
280
			end
281
			for i = 1,2 do
282
				wait()
283
				lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.05,0,0)
284
				rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.05,0,00)
285
			end
286
			for i = 1,2 do
287
				wait()
288
				weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
289
			end
290
			for i = 1,3 do
291
				wait()
292
				weld.C0 = weld.C0 * CFrame.Angles(-0.33,0,-0.1) * CFrame.new(0,0.66,-0.3)
293
			end
294
			for i = 1,2 do
295
				wait()
296
				weld.C0 = weld.C0 * CFrame.Angles(-0.13,0,-0.05) * CFrame.new(0,0.27,-0.1)
297
			end
298
			weld.C0 = CFrame.new(-0.0159739517, -0.949999988, -1.89993286, -0.999964654, 0, -0.00840734318, 0, 1, 0, 0.00840734318, 0, -0.999964654)
299
			game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
300
			game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
301
			lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
302
			lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
303
			rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
304
			rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
305
			using = false
306
			se:destroy()
307
		end
308
	end
309
end
310
mouse.KeyDown:connect(combo)
311
mouse.Button1Down:connect(hit)
312
--[[
313
	local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
314
vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
315
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
316
--]]
317
--By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
318
--die plz
319
mouse = game.Players.LocalPlayer:GetMouse()
320
function ragdoll()
321
game.Players.LocalPlayer.Character.Archivable = true
322
clone = game.Players.LocalPlayer.Character:Clone()
323
clone.Parent = workspace
324
for i,v in pairs(clone:GetChildren()) do
325
	if v.ClassName == "Script" or v.ClassName == "LocalScript" then
326
		v:destroy()
327
	end
328
	for i,p in pairs(v:GetChildren()) do
329
	if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
330
		p:destroy()
331
	end
332
end
333
end
334
for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
335
	if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
336
		t:destroy()
337
	end
338
end
339
vel = Instance.new("BodyVelocity", clone.Torso)
340
vel.Velocity = clone.Torso.CFrame.lookVector * -5
341
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
342
clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
343
using = false
344
hit = Instance.new("Sound", clone.Torso)
345
hit.SoundId = "rbxassetid://260430060"
346
hit.Volume = 5
347
hit1 = Instance.new("Sound", clone.Torso)
348
hit1.SoundId = "rbxassetid://138087186"
349
hit1.Volume = 5
350
hit2 = Instance.new("Sound", clone.Torso)
351
hit2.SoundId = "rbxassetid://131237241"
352
hit2.Volume = 5
353
hit3 = Instance.new("Sound", clone.Torso)
354
hit3.SoundId = "rbxassetid://147758618"
355
hit3.Volume = 100000000000000000000000000000000000
356
hit3.TimePosition = 0.33
357
ded = Instance.new("Sound", clone.Torso)
358
ded.SoundId = "rbxassetid://133918674"
359
ded.Volume = 5
360
local leftarm = clone:findFirstChild("Left Arm")
361
local rightrm = clone:findFirstChild("Right Arm")
362
local leftleg = clone:findFirstChild("Left Leg")
363
local rightleg = clone:findFirstChild("Right Leg")
364
local head = clone:findFirstChild("Head")
365
local welding = Instance.new("Weld", clone.Torso)
366
welding.Part0 = clone.Torso
367
welding.Part1 = head
368
welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
369
for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
370
	if g.ClassName == "Part" then
371
		g:destroy()
372
	end
373
end
374
for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
375
	if h.ClassName == "Accesory" then
376
		h:destroy()
377
	end
378
end
379
game.Workspace.CurrentCamera.CameraSubject = head
380
if leftleg ~= nil then
381
local glue = Instance.new("Glue", clone.Torso)
382
glue.Part0 = clone.Torso
383
glue.Part1 = leftleg
384
glue.Name = "Left leg"
385
local collider = Instance.new("Part", leftleg)
386
collider.Position = Vector3.new(0,999,0)
387
collider.Size = Vector3.new(1.7, 1, 1)
388
collider.Shape = "Cylinder"
389
local weld = Instance.new("Weld", collider)
390
weld.Part0 = leftleg
391
weld.Part1 = collider
392
weld.C0 = CFrame.Angles(0, 0, 80)
393
collider.TopSurface = "Smooth"
394
collider.BottomSurface = "Smooth"
395
collider.formFactor = "Symmetric"
396
glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
397
glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
398
collider.Transparency = 1
399
end
400
------------
401
if rightleg ~= nil then
402
local glue1 = Instance.new("Glue", clone.Torso)
403
glue1.Part0 = clone.Torso
404
glue1.Part1 = rightleg
405
glue1.Name = "Right leg"
406
local collider1 = Instance.new("Part", rightleg)
407
collider1.Position = Vector3.new(0,999,0)
408
collider1.Size = Vector3.new(1.7, 1, 1)
409
collider1.Shape = "Cylinder"
410
local weld1 = Instance.new("Weld", collider1)
411
weld1.Part0 = rightleg
412
weld1.Part1 = collider1
413
weld1.C0 = CFrame.Angles(0, 0, 80)
414
collider1.TopSurface = "Smooth"
415
collider1.BottomSurface = "Smooth"
416
collider1.formFactor = "Symmetric"
417
glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
418
glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
419
collider1.Transparency = 1
420
end
421
------------
422
if rightrm ~= nil then
423
local glue11 = Instance.new("Glue", clone.Torso)
424
glue11.Part0 = clone.Torso
425
glue11.Part1 = rightrm
426
glue11.Name = "Right shoulder"
427
local collider11 = Instance.new("Part", rightrm)
428
collider11.Position = Vector3.new(0,9999,0)
429
collider11.Size = Vector3.new(1.8,1,1)
430
collider11.Shape = "Cylinder"
431
local weld11 = Instance.new("Weld", collider11)
432
weld11.Part0 = rightrm
433
weld11.Part1 = collider11
434
weld11.C0 = CFrame.Angles(0, 0, 80)
435
collider11.TopSurface = "Smooth"
436
collider11.BottomSurface = "Smooth"
437
collider11.formFactor = "Symmetric"
438
glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
439
glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
440
collider11.Transparency = 1
441
end
442
------------
443
if leftarm ~= nil then
444
local glue111 = Instance.new("Glue", clone.Torso)
445
glue111.Part0 = clone.Torso
446
glue111.Part1 = leftarm
447
glue111.Name = "Left shoulder"
448
local collider111 = Instance.new("Part", leftarm)
449
collider111.Position = Vector3.new(0,9999,0)
450
collider111.Size = Vector3.new(1.8,1,1)
451
collider111.Shape = "Cylinder"
452
local weld111 = Instance.new("Weld", collider111)
453
weld111.Part0 = leftarm
454
weld111.Part1 = collider111
455
weld111.C0 = CFrame.Angles(0, 0, 80)
456
collider111.TopSurface = "Smooth"
457
collider111.BottomSurface = "Smooth"
458
collider111.formFactor = "Symmetric"
459
glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
460
glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
461
collider111.Transparency = 1
462
----------------
463
sensoring = Instance.new("Part", clone.Torso)
464
sensoring.Size = Vector3.new(1.2,1.1,0.8)
465
sensoring.CanCollide = false
466
sensoring.Position = clone.Torso.Position
467
local welder = Instance.new("Weld", sensoring)
468
welder.Part0 = clone.Torso
469
welder.Part1 = sensoring
470
welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
471
sensoring.Transparency = 1
472
-----------------
473
sensoring1 = Instance.new("Part", clone.Torso)
474
sensoring1.Size = Vector3.new(1.2,1.1,0.8)
475
sensoring1.CanCollide = false
476
sensoring1.Position = clone.Torso.Position
477
local welder1 = Instance.new("Weld", sensoring)
478
welder1.Part0 = clone.Torso
479
welder1.Part1 = sensoring1
480
welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
481
sensoring1.Transparency = 1
482
end
483
clone.Name = game.Players.LocalPlayer.Character.Name.." (The Man Who Believe In Virus)"
484
ded:Play()
485
vel:destroy()
486
wait(0.5)
487
local function touch()
488
	if not using then
489
		using = true
490
		local Math = math.random(1,4)
491
		if Math == 1 then
492
			hit:Play()
493
		end
494
		if Math == 2 then
495
			hit1:Play()
496
		end
497
		if Math == 3 then
498
			hit2:Play()
499
		end
500
		if Math == 4 then
501
			hit3:Play()
502
		end
503
		wait(0.1)
504
		using = false
505
	end
506
end
507
sensoring.Touched:connect(touch)
508
sensoring1.Touched:connect(touch)
509
wait(4.47)
510
hit1.Volume = 0
511
hit2.Volume = 0
512
hit3.Volume = 0
513
hit.Volume = 0
514
		end
515
516
game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
517
518
--di ent