View difference between Paste ID: gnjgWVaE and gqds7kb3
SHOW: | | - or go back to the newest paste.
1
wait(1)
2
3-
local PChar = game.Workspace.Player1 --replace "Player1" to your name roblox
3+
local PChar = game.Workspace.eliteslayer816 
4
5
local Part = Instance.new("Part")
6
Part.Parent = game.Workspace
7
Part.Name = "WeldingToDoge"
8
local Mesh = Instance.new("SpecialMesh")
9
Mesh.Parent = Part
10
Mesh.MeshId = "rbxassetid://255485578"
11
Mesh.TextureId = "rbxassetid://255486143"
12
13
wait(1)
14
15
local Weld = Instance.new("Weld", PChar.Torso)
16
Weld.Name = "Doge"
17
Weld.Part0 = PChar.Torso
18
Weld.Part1 = game.Workspace.WeldingToDoge
19
20
wait(1)
21
22
PChar["Left Leg"]:Destroy()
23
PChar["Right Leg"]:Destroy()
24
PChar.Head.Jumping.SoundId = "rbxassetid://292117557" --rbxasset:// is possible owner games wirtted!       
25
PChar.Head.Landing.SoundId = "rbxassetid://190424441"
26
PChar.Head.FreeFalling.SoundId = "rbxassetid://190424441"
27
PChar.Head.Transparency = 1
28
PChar["Left Arm"].Transparency = 1
29
PChar["Right Arm"].Transparency = 1
30
PChar.Torso.Transparency = 1
31
PChar.Head.face:Destroy()
32
PChar.Head.Died.SoundId = "rbxassetid://135308045"
33
local Music = Instance.new("Sound", PChar.Head)
34
Music.SoundId = "rbxassetid://138213729"
35
Music.Looped = true
36
Music:Play()
37
38
--and now! function!
39
40
local Torso = PChar.Torso
41
42
function onTouched(hit) --Hitted by Doge
43
	local human = hit.Parent:findFirstChild("Humanoid")
44
	if (human ~= nil ) then
45
		human.Health = human.Health -3.5
46
		human.Sit = true
47
		local HitSound = Instance.new("Sound")
48
		HitSound.Parent = hit.Parent:findFirstChild("Torso")
49
		HitSound.SoundId = "http://www.roblox.com/asset/?id=145486953"
50
		HitSound:Play()
51
		wait(2)
52
		HitSound:Destroy()
53
	end
54
end
55
56
Torso.Touched:connect(onTouched)