Advertisement
memberhero

OOF3

Nov 20th, 2017
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. wait(1)
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. tool = Instance.new("Tool")
  5. tool.Parent = Player.Backpack
  6. handle = Instance.new("Part")
  7. handle.Name = "Handle"
  8. handle.Parent = tool
  9. mesh = Instance.new("SpecialMesh")
  10. mesh.MeshId = "rbxassetid://532155954"
  11. mesh.TextureId = "rbxassetid://532156041"
  12. mesh.Parent = handle
  13. animation = Instance.new("Animation")
  14. animation.AnimationId = "rbxassetid://105371766"
  15. animation.Parent = tool
  16. tool.Activated:connect(function()
  17. local animtrack = Player.Character.Humanoid:LoadAnimation(animation)
  18. animtrack:Play()
  19. end)
  20. handle.Touched:connect(function(hit)
  21. if hit.Parent:FindFirstChild("Humanoid") then
  22. hit.Parent.Humanoid:TakeDamage(10)
  23. hurt = Instance.new("Sound")
  24. hurt.SoundId = "rbxassetid://1096783747"
  25. hurt.PlaybackSpeed = 0.5
  26. hurt.Volume = 10
  27. hurt.Parent = tool
  28. hurt:Play()
  29. if hit.Parent:FindFirstChild("ForceField") then
  30. rekt = Instance.new("Sound")
  31. rekt.SoundId = "rbxassetid://177078299"
  32. rekt.Volume = 10
  33. rekt.Parent = game.Workspace
  34. rekt:Play()
  35. hit.Parent:BreakJoints()
  36. end
  37. end
  38. end)
  39. tool.Equipped:connect(function()
  40. sound = Instance.new("Sound")
  41. sound.SoundId = "rbxassetid://948494432"
  42. sound.Parent = tool
  43. sound:Play()
  44. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement