Advertisement
Guest User

Sword Giver Roblox Exploit Script

a guest
Dec 18th, 2021
12,016
-2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 2
  1. local user = game.Players.LocalPlayer.Backpack
  2. local sword = Instance.new("Tool",user)
  3. local handle = Instance.new("Part",sword)
  4. local mesh = Instance.new("SpecialMesh",handle)
  5. local DAMAGE = 35
  6. local sound = Instance.new("Sound",handle)
  7. local sound2 = Instance.new("Sound",handle)
  8. sword.Name = "Sword"
  9. script.Parent = sword
  10. script.Name = "SwordScript"
  11. --local animation = Instance.new("Animation",script)
  12.  
  13. --animation.AnimationId = "http://www.roblox.com/Asset?ID=992817684"
  14.  
  15. sound.SoundId = "rbxasset://sounds//swordlunge.wav"
  16. sound.Volume = 3
  17. sound.PlaybackSpeed = 1.17
  18. sound.Name = "Slash"
  19. sound2.SoundId = "rbxasset://sounds//unsheath.wav"
  20. sound2.Volume = 3
  21. sound2.PlaybackSpeed = 0.8
  22. sound2.Volume = 3
  23. sound2.Name = "Unsheath"
  24.  
  25. function unsheathanimation()
  26. sword.GripPos = sword.GripPos + Vector3.new(0,5,0)
  27. for i = 1,5 do
  28. sword.GripPos = sword.GripPos + Vector3.new(0,-1,0)
  29. wait (0.1)
  30. end
  31. end
  32.  
  33. function unsheathsound()
  34. sound2:Play()
  35. end
  36.  
  37. function damage(hit)
  38.  
  39. local h = hit.Parent:FindFirstChild("Humanoid")
  40. if (h ~= nil) then
  41. h:TakeDamage(DAMAGE / 4)
  42. end
  43. end
  44.  
  45. function animate()
  46. --4
  47. sound:Play()
  48. for i = 1,5 do
  49. sword.GripUp = sword.GripUp + Vector3.new(0,0,1)
  50. wait (0)
  51. end
  52. sword.GripUp = sword.GripUp + Vector3.new(0,0,-1)
  53. end
  54. handle.Size = handle.Size + Vector3.new(-4,-1,-2)
  55. handle.Size = handle.Size + Vector3.new(0.6, 3.6, 0.4)
  56. handle.Name = "Handle"
  57.  
  58. mesh.MeshType = "FileMesh"
  59. mesh.MeshId = "http://www.roblox.com/asset/?id=94746028"
  60. mesh.TextureId = "http://www.roblox.com/asset/?ID=94746105"
  61. mesh.Offset = mesh.Offset + Vector3.new(0,1,0)
  62.  
  63. sword.Equipped:connect(unsheathanimation)
  64. sword.Equipped:connect(unsheathsound)
  65. wait(sound2.TimeLength)
  66. sword.Activated:connect(animate)
  67. handle.Touched:connect(damage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement