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)
- hurt = Instance.new("Sound")
- hurt.SoundId = "rbxassetid://1096783747"
- hurt.PlaybackSpeed = 0.5
- hurt.Volume = 10
- hurt.Parent = tool
- hurt:Play()
- if hit.Parent:FindFirstChild("ForceField") then
- rekt = Instance.new("Sound")
- rekt.SoundId = "rbxassetid://177078299"
- rekt.Volume = 10
- rekt.Parent = game.Workspace
- rekt:Play()
- hit.Parent:BreakJoints()
- end
- end
- end)
- tool.Equipped:connect(function()
- sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://948494432"
- sound.Parent = tool
- sound:Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement