Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- tool = Instance.new("Tool")
- tool.Parent = Player.Backpack
- handle = Instance.new("Part")
- handle.Name = "Handle"
- handle.Parent = tool
- mesh = Instance.new("SpecialMesh")
- mesh.MeshId = "rbxassetid://532155954"
- mesh.TextureId = "rbxassetid://532156041"
- mesh.Parent = handle
- animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://105371766"
- animation.Parent = tool
- tool.Activated:connect(function()
- local animtrack = Player.Character.Humanoid:LoadAnimation(animation)
- animtrack:Play()
- end)
- handle.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid:TakeDamage(10)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement