Advertisement
epicdude6951

Untitled

Dec 10th, 2016
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. -- SANS, PICK ON THE FLOOR!
  2.  
  3. local Asset = "http://www.roblox.com/asset?id="
  4. local Plr = game.Players.LocalPlayer
  5. local PChar = Plr.Character
  6. local Mouse = Plr:GetMouse()
  7. local Debounce = true
  8. wait(1)
  9. PChar.Animate.idle.Animation1.AnimationId = Asset.."432356203"
  10. PChar.Animate.idle.Animation2.AnimationId = Asset.."432356203"
  11. PChar.Animate.walk.WalkAnim.AnimationId = Asset.."432356203"
  12. local AnimAttack = Instance.new("Animation", PChar.Animate)
  13. AnimAttack.Name = "Attack"
  14. AnimAttack.AnimationId = Asset.."432361360"
  15. local TrackAttack = PChar.Humanoid:LoadAnimation(AnimAttack)
  16.  
  17. Mouse.KeyDown:connect(function(Key) local Key = Key:lower()
  18. if Key == "e" then
  19. if not Debounce then return end
  20. Debounce = false
  21. TrackAttack:Play()
  22. local BoneP = Instance.new("Part", game.Workspace)
  23. BoneP.Name = "BonePap"
  24. BoneP.Size = Vector3.new(1.2, 11.27, 1.07)
  25. BoneP.Anchored = false
  26. BoneP.BottomSurface = Enum.SurfaceType.Smooth
  27. BoneP.TopSurface = Enum.SurfaceType.Smooth
  28. BoneP.Position = PChar.Torso.Position
  29. BoneP.Velocity = PChar.Torso.CFrame.lookVector * 500
  30. BoneP.CanCollide = false
  31. wait(0.1)
  32. BoneP.Touched:connect(function(PartsT)
  33. if game.Players:GetPlayerFromCharacter(PartsT.Parent) then
  34. PartsT.Parent.Humanoid.Health = PartsT.Parent.Humanoid.Health - math.random(1, 90)
  35. Debounce = true
  36. BoneP:Destroy()
  37. end
  38. end)
  39. game.Workspace.ChildRemoved:connect(function(Child)
  40. if Child.Name == "BonePap" then
  41. if Child == BoneP then
  42. Debounce = true
  43. end
  44. end
  45. end)
  46. wait(3)
  47. BoneP:Destroy()
  48. Debounce = true
  49. end
  50. end)
  51.  
  52. Plr.Chatted:connect(function(ChatM)
  53. local PapVoice = Instance.new("Sound", PChar.Head)
  54. PapVoice.SoundId = "http://www.roblox.com/asset/?id=419874833"
  55. local Hint = Instance.new("Hint", game.Workspace)
  56. for i = 0, #ChatM do
  57. wait(0.1)
  58. Hint.Text = Plr.Name..": "..string.sub(ChatM, 1, i)
  59. PapVoice:Play()
  60. end
  61. wait(1)
  62. Hint:Destroy()
  63. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement