Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. local sword = script.Parent
  2.  
  3. Sounds = {{145180529, "Slash"}, {145180550, "Slash"}}
  4.  
  5. function onActivated()
  6. if not enabled then
  7. return
  8. end
  9. local humanoid = sword.Parent.Humanoid
  10. local sound = Handle:WaitForChild("Sounds"):GetChildren()
  11.  
  12. sound = math.random(#sound):Play()
  13.  
  14. Tool.Enabled = true
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement