Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tool = Instance.new("Tool")
- Tool.Name = "Sword"
- Knife = Instance.new("Part")
- Knife.Name = "Handle"
- Knife.Parent = Tool
- Tool.Parent = workspace.Lucas_YT111
- Knife.Size = Vector3.new(4, 4, 1)
- Knife.Massless = true
- Knife.CanCollide = true
- myhum = owner.Character.Humanoid
- local stab = Instance.new("Sound", owner.character.Head)
- stab.SoundId = "rbxassetid://663369157"
- stab.Volume = 1
- stab.Looped = true
- islunging = false
- Tool.Activated:connect(function()
- islunging = true
- local Anim = Instance.new("StringValue")
- Anim.Name = "toolanim"
- Anim.Value = "Lunge"
- Anim.Parent = Tool
- wait(0.25)
- islunging = false
- wait(0.40)
- end)
- function thinghere(plr,action,part)
- if islunging then
- if part.Name ~= "Base" then
- if part.Name ~= "Lucas_YT111" then
- Tool = Instance.new("Tool")
- part.Name = "Handle"
- part.Parent = Tool
- Tool.Parent = owner.Character
- part.Anchored = false
- end
- end
- end
- end
- local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
- local Mouse = owner:GetMouse()
- function ButtonDown()
- if Mouse.Target ~= nil then
- E:FireServer("Down",Mouse.Target)
- end
- end
- Mouse.Button1Down:Connect(ButtonDown)
- ]],owner.PlayerGui))
- E.OnServerEvent:Connect(thinghere)
- local decal2 = Instance.new("Decal", Knife)
- decal2.Transparency = 0
- decal2.Face = Enum.NormalId.Front
- local happyFace = "http://www.roblox.com/asset/?id=7370272015"
- decal2.Texture = happyFace
- Tool.Unequipped:connect(function()
- stab:Stop()
- end)
- Tool.Equipped:connect(function()
- stab:Play()
- end)
Add Comment
Please, Sign In to add comment