SHOW:
|
|
- or go back to the newest paste.
1 | Tool = Instance.new("Tool") | |
2 | Tool.Name = "Sword" | |
3 | Knife = Instance.new("Part") | |
4 | Knife.Name = "Handle" | |
5 | Knife.Parent = Tool | |
6 | Tool.Parent = workspace.Lucas_YT111 | |
7 | - | Knife.Size = Vector3.new(4, 4, 1) |
7 | + | Knife.Size = Vector3.new(1, 1, 1) |
8 | Knife.Massless = true | |
9 | Knife.CanCollide = true | |
10 | myhum = owner.Character.Humanoid | |
11 | - | local stab = Instance.new("Sound", owner.character.Head) |
11 | + | |
12 | - | stab.SoundId = "rbxassetid://663369157" |
12 | + | |
13 | - | stab.Volume = 1 |
13 | + | |
14 | - | stab.Looped = true |
14 | + | |
15 | local Anim = Instance.new("StringValue") | |
16 | Anim.Name = "toolanim" | |
17 | Anim.Value = "Lunge" | |
18 | Anim.Parent = Tool | |
19 | wait(0.25) | |
20 | islunging = false | |
21 | wait(0.40) | |
22 | end) | |
23 | ||
24 | function thinghere(plr,action,part) | |
25 | if islunging then | |
26 | if part.Name ~= "Base" then | |
27 | if part.Name ~= owner.Character then | |
28 | local Model = part:FindFirstAncestorOfClass("Model") | |
29 | if Model then | |
30 | local PC = game:GetService("Players"):GetPlayerFromCharacter(Model) | |
31 | - | if part.Name ~= "Lucas_YT111" then |
31 | + | if PC then |
32 | Tool = Instance.new("Tool") | |
33 | - | part.Name = "Handle" |
33 | + | PC.Character.HumanoidRootPart:Destroy() |
34 | - | part.Parent = Tool |
34 | + | Liver = Instance.new("Part") |
35 | Liver.Name = "Handle" | |
36 | - | part.Anchored = false |
36 | + | Liver.Parent = Tool |
37 | Tool.Parent = owner.Character | |
38 | Tool.Name = PC.Name.."'s Liver That "..owner.Name.." Stole" | |
39 | Tool.Grip = CFrame.Angles(0,math.rad(90),0) | |
40 | Liver.Anchored = false | |
41 | Liver.Size = Vector3.new(0.947,2.86066666667,2.10883333333) | |
42 | Mesh = Instance.new("SpecialMesh") | |
43 | Mesh.Parent = Liver | |
44 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1708518669" | |
45 | Mesh.Scale = Vector3.new(0.16666666666, 0.16666666666, 0.16666666666) | |
46 | Liver.BrickColor = BrickColor.new("Nougat") | |
47 | end | |
48 | end | |
49 | end | |
50 | end | |
51 | end | |
52 | end | |
53 | Tool.Equipped:Connect(function() | |
54 | - | local decal2 = Instance.new("Decal", Knife) |
54 | + | local hat = Instance.new("Part", owner.Character) |
55 | - | decal2.Transparency = 0 |
55 | + | hat.Size = Vector3.new(1.731,1.06096,2) |
56 | - | decal2.Face = Enum.NormalId.Front |
56 | + | local shademesh = Instance.new("SpecialMesh", hat) |
57 | - | local happyFace = "http://www.roblox.com/asset/?id=7370272015" |
57 | + | shademesh.MeshId = "rbxassetid://5314061619" |
58 | - | decal2.Texture = happyFace |
58 | + | shademesh.TextureId = "http://www.roblox.com/asset/?id=5314061655" |
59 | shademesh.Scale = Vector3.new(0.04,0.04,0.04) | |
60 | - | Tool.Unequipped:connect(function() |
60 | + | local shadeweld = Instance.new("Weld", owner.Character) |
61 | - | stab:Stop() |
61 | + | shadeweld.Part0 = owner.Character.Head |
62 | shadeweld.Part1 = hat | |
63 | - | Tool.Equipped:connect(function() |
63 | + | shadeweld.C1 = shadeweld.C1 * CFrame.new(0,-0.6,0) |
64 | - | stab:Play() |
64 | + | Tool.Unequipped:Connect(function() |
65 | - | end) |
65 | + | hat:Destroy() |
66 | end) | |
67 | end) | |
68 | local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent") | |
69 | local Mouse = owner:GetMouse() | |
70 | function ButtonDown() | |
71 | if Mouse.Target ~= nil then | |
72 | E:FireServer("Down",Mouse.Target) | |
73 | end | |
74 | end | |
75 | Mouse.Button1Down:Connect(ButtonDown) | |
76 | ]],owner.PlayerGui)) | |
77 | E.OnServerEvent:Connect(thinghere) | |
78 | ||
79 | Knife.Transparency = 1 |