Advertisement
Ben_Scripts343

Fe sword

May 27th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. -- Tranquil katana key bind e
  2.  
  3. local Player = game:GetService("Players").LocalPlayer
  4. local Character = Player.Character
  5. local Hats = { Ex1 = Character:WaitForChild("KatanaAccessory"),
  6. }
  7.  
  8. for i,v in next, Hats do
  9. v.Handle.AccessoryWeld:Remove()
  10. for _,mesh in next, v:GetDescendants() do
  11. if mesh:IsA("Mesh") or mesh:IsA("SpecialMesh") then
  12. --mesh:Remove()
  13. end
  14. end
  15. end
  16.  
  17. local function p(i, v)
  18. local att0 = Instance.new("Attachment", i)
  19. local att1 = Instance.new("Attachment", v)
  20. att0.Position = Vector3.new(0,0,0)
  21. att1.Position = Vector3.new(0,0,0)
  22. local AP = Instance.new("AlignPosition", i)
  23. AP.Attachment1 = att1
  24. AP.Attachment0 = att0
  25. AP.RigidityEnabled = true
  26. local AO = Instance.new("AlignOrientation", i)
  27. AO.Attachment1 = att1
  28. AO.Attachment0 = att0
  29. AO.RigidityEnabled = true
  30. end
  31.  
  32. p(Hats.Ex1.Handle, Character["Right Arm"])
  33.  
  34.  
  35. Hats.Ex1.Handle.Attachment.Rotation = Vector3.new(-40,-180,0)--part1
  36.  
  37.  
  38. Character:WaitForChild("Right Arm"):FindFirstChild("Attachment").Name = "Attachment1"
  39.  
  40.  
  41. Character:WaitForChild("Right Arm").Attachment1.Position = Vector3.new(0,-3.2,-1.64)--part1
  42.  
  43.  
  44.  
  45. plr = game.Players.LocalPlayer
  46. dead = false
  47. char = plr.Character
  48.  
  49. rarm = char["Right Arm"]
  50. larm = char["Left Arm"]
  51. lleg = char["Left Leg"]
  52. rleg = char["Right Leg"]
  53. hum = char["HumanoidRootPart"]
  54. tor = char["Torso"]
  55.  
  56. rarm:BreakJoints()
  57.  
  58.  
  59. h = Instance.new("Attachment", tor)
  60.  
  61.  
  62. r = Instance.new("Attachment",rarm)
  63. r.Rotation = Vector3.new(-47,0,0)
  64. r.Position = Vector3.new(-1.5, 0.4, 0.6)
  65.  
  66.  
  67. --rarm
  68. rap = Instance.new("AlignPosition",rarm)
  69. rap.Attachment0 = r
  70. rap.Attachment1 = h
  71. rap.RigidityEnabled = true
  72.  
  73.  
  74. rao = Instance.new("AlignOrientation",rarm)
  75. rao.Attachment0 = r
  76. rao.Attachment1 = h
  77. rao.RigidityEnabled = true
  78.  
  79.  
  80.  
  81.  
  82.  
  83. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
  84. if k == "e" then
  85.  
  86. r.Rotation = Vector3.new(-69,60,0)
  87. r.Position = Vector3.new(-1.3, 0.7, 0.6)
  88.  
  89. wait(0.76)
  90.  
  91. r.Rotation = Vector3.new(-69,-20,0)
  92. r.Position = Vector3.new(-1.3, 0.7, 0.6)
  93.  
  94. wait(0.02)
  95.  
  96. r.Rotation = Vector3.new(-69,-58,0)
  97. r.Position = Vector3.new(-1, 0.45, 0.23)
  98.  
  99. wait(0.68)
  100. r.Rotation = Vector3.new(-49,0,0)
  101. r.Position = Vector3.new(-1.5, 0.4, 0.6)
  102. end
  103. end
  104. )
  105.  
  106.  
  107.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement