Advertisement
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(1, 1, 1)
- Knife.Massless = true
- Knife.CanCollide = true
- myhum = owner.Character.Humanoid
- local stab = Instance.new("Sound", owner.character.Head)
- stab.SoundId = "rbxassetid://199607491"
- stab.Volume = 0.5
- islunging = false
- Tool.Activated:connect(function()
- islunging = true
- stab.PlaybackSpeed = math.random(80, 125)/100
- stab:Stop()
- stab:Play()
- 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,hit)
- if islunging then
- owner.Character.Torso.CFrame = hit
- end
- end
- local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
- local Mouse = owner:GetMouse()
- function ButtonDown()
- if Mouse.Hit ~= nil then
- E:FireServer("Down",Mouse.Hit)
- end
- end
- Mouse.Button1Down:Connect(ButtonDown)
- ]],owner.PlayerGui))
- E.OnServerEvent:Connect(thinghere)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement