rewr

Untitled

Sep 28th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  1. local player=game.Players.LocalPlayer
  2. local char=player.Character
  3. local mouse=player:GetMouse()
  4. local attacking = false
  5. local debounce = false
  6. Smp = "SmoothPlastic"
  7. Sm = "Smooth"
  8.  
  9. local s1=Instance.new("Sound")
  10. s1.SoundId="http://www.roblox.com/asset/?id=157299184"
  11. s1.PlayOnRemove=false
  12. s1.Volume=200
  13. s1.Looped=false
  14. s1.Pitch = 1
  15. s1.Parent=char["Right Arm"]
  16.  
  17. local s2=Instance.new("Sound")
  18. s2.SoundId="http://www.roblox.com/asset/?id=155363126"
  19. s2.PlayOnRemove=false
  20. s2.Volume=200
  21. s2.Looped=false
  22. s2.Pitch = 1
  23. s2.Parent=char.Torso
  24.  
  25. local s3=Instance.new("Sound")
  26. s3.SoundId="http://www.roblox.com/asset/?id=147876501"
  27. s3.PlayOnRemove=false
  28. s3.Volume=200
  29. s3.Looped=true
  30. s3.Pitch = 1
  31. s3.Parent=char.Head
  32.  
  33. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  34.  
  35. if char:findFirstChild("Shirt") then
  36. char.Shirt:Remove()
  37. end
  38.  
  39. if char:findFirstChild("Pants") then
  40. char.Pants:Remove()
  41. end
  42.  
  43.  
  44. local slap = Instance.new("Animation", char)
  45. slap.AnimationId = "rbxassetid://160958710"
  46. slap.Name = "slap"
  47.  
  48. local dance = Instance.new("Animation", char)
  49. dance.AnimationId = "rbxassetid://168156427"
  50. dance.Name = "dance"
  51.  
  52.  
  53.  
  54. game:service'InsertService':LoadAsset(13745548):children()[1].Parent = char
  55. char.Head.face.Texture = "http://www.roblox.com/asset/?id=114820106"
  56.  
  57. local circle = Instance.new("Part",char)
  58. circle.Size = Vector3.new(1.4,1.4,1.4)
  59. circle.Locked = true
  60. circle.Material = Smp
  61. circle.TopSurface = Sm
  62. circle.BottomSurface = Sm
  63. circle.Name = "circle"
  64. circle.Shape = 0
  65. circle.formFactor = "Custom"
  66. circle.BrickColor = char.Torso.BrickColor
  67. circle:BreakJoints()
  68. local circleweld = Instance.new("Weld",circle)
  69. circleweld.Name = "circleweld"
  70. circleweld.Part0 = circle
  71. circleweld.Part1 = char.torso
  72. circleweld.C0 = CFrame.new(-.45,-.40,.80)
  73.  
  74. One = Instance.new("Decal",circle)
  75. One.Texture = "http://www.roblox.com/asset/?id=74033309"
  76. One.Face ="Front"
  77.  
  78. local circle2 = Instance.new("Part",char)
  79. circle2.Size = Vector3.new(1.4,1.4,1.4)
  80. circle2.Locked = true
  81. circle2.Material = Smp
  82. circle2.TopSurface = Sm
  83. circle2.BottomSurface = Sm
  84. circle2.Name = "circle2"
  85. circle2.Shape = 0
  86. circle2.formFactor = "Custom"
  87. circle2.BrickColor = char.Torso.BrickColor
  88. circle2:BreakJoints()
  89. local circle2weld = Instance.new("Weld",circle2)
  90. circle2weld.Name = "circle2weld"
  91. circle2weld.Part0 = circle2
  92. circle2weld.Part1 = char.torso
  93. circle2weld.C0 = CFrame.new(.45,-.40,.80)
  94. Two = Instance.new("Decal",circle2)
  95. Two.Texture = "http://www.roblox.com/asset/?id=74033309"
  96. Two.Face ="Front"
  97.  
  98. char["Right Arm"].Touched:connect(function(hit)
  99. if debounce == false then
  100. debounce = true
  101. isPlayer = hit.Parent:FindFirstChild("Humanoid")
  102. if isPlayer and attacking == true then
  103. isPlayer:TakeDamage(13)
  104. s2.Parent = isPlayer.Parent.Head
  105. s2:Play()
  106. wait(0.5)
  107. end
  108. debounce = false
  109. end
  110. end)
  111.  
  112. mouse.KeyDown:connect(function(key) local key=key:lower()
  113. if key=="f" then
  114. s1:Play()
  115. local vCharacter = char
  116. local hum = vCharacter:findFirstChild("Humanoid")
  117. blah = hum:LoadAnimation(char.slap)
  118. blah:Play()
  119. end
  120. end)
  121.  
  122. mouse.KeyDown:connect(function(key) local key=key:lower()
  123. if key=="f" then
  124. attacking = true
  125. wait(0.5)
  126. attacking = false
  127. end
  128. end)
  129. mouse.KeyDown:connect(function(key) local key=key:lower()
  130. if key=="g" then
  131. local vCharacter = char
  132. local hum = vCharacter:findFirstChild("Humanoid")
  133. blah2 = hum:LoadAnimation(char.dance)
  134. blah2:Play()
  135. s3:Play()
  136. end
  137. end)
  138. mouse.KeyUp:connect(function(key) local key=key:lower()
  139. if key=="g" then
  140. blah2:Stop()
  141. s3:Pause()
  142. end
  143. end)
Add Comment
Please, Sign In to add comment