Advertisement
TheUnknownDiscord

arms

Sep 1st, 2021 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.05 KB | None | 0 0
  1. local RunService = game:GetService("RunService")
  2. local plr = owner
  3. local mouse = plr:GetMouse()
  4. owner.Character.Torso.Anchored = true
  5. local armOffset = owner.Character.Torso.CFrame:Inverse() * owner.Character["Right Arm"].CFrame
  6.  
  7. local armWeld = Instance.new("Weld")
  8. armWeld.Part0 = owner.Character.Torso
  9. armWeld.Part1 = owner.Character["Right Arm"]
  10. armWeld.Parent = owner.Character
  11.  
  12. local armOffset2 = owner.Character.Torso.CFrame:Inverse() * owner.Character["Left Arm"].CFrame
  13.  
  14. local armWeld2 = Instance.new("Weld")
  15. armWeld2.Part0 = owner.Character.Torso
  16. armWeld2.Part1 = owner.Character["Left Arm"]
  17. armWeld2.Parent = owner.Character
  18. partagain = Instance.new("Part", owner.Character["Left Arm"])
  19. partagain.Size = Vector3.new(1.5,1.5,1.5)
  20. partagain.Transparency = 1
  21. partagain.CanCollide = false
  22. partagain.CanTouch = false
  23. local armWeld3 = Instance.new("Weld")
  24. armWeld3.Part0 = owner.Character["Left Arm"]
  25. armWeld3.Part1 = partagain
  26. armWeld3.Parent = owner.Character
  27. partagain.Position = owner.Character["Left Arm"].Position + Vector3.new(0, -2.5, 0)
  28. partagain2 = Instance.new("Part", owner.Character["Right Arm"])
  29. partagain2.Size = Vector3.new(1.5,1.5,1.5)
  30. partagain2.Transparency = 1
  31. partagain2.CanCollide = false
  32. partagain2.CanTouch = false
  33. local armWeld4 = Instance.new("Weld")
  34. armWeld4.Part0 = owner.Character["Right Arm"]
  35. armWeld4.Part1 = partagain2
  36. armWeld4.Parent = owner.Character
  37. partagain2.Position = owner.Character["Right Arm"].Position + Vector3.new(0, -2.5, 0)
  38. toolout = false
  39. function the(plr,action,mouse)
  40. local cframe = CFrame.new(owner.Character.Torso.Position, mouse.Position) * CFrame.Angles(math.pi/2, 0, 0)
  41. armWeld.C0 = armOffset * owner.Character.Torso.CFrame:toObjectSpace(cframe)
  42. local cframe2 = CFrame.new(owner.Character.Torso.Position, mouse.Position) * CFrame.Angles(math.pi/2, 0, 0)
  43. armWeld2.C0 = armOffset2 * owner.Character.Torso.CFrame:toObjectSpace(cframe2)
  44. end
  45. local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  46. local Mouse = owner:GetMouse()
  47. function ButtonDown()
  48. if Mouse.Hit ~= nil then
  49. E:FireServer("Down",Mouse.Hit)
  50. end
  51. end
  52. Mouse.Move:Connect(ButtonDown)
  53. ]],owner.PlayerGui))
  54. E.OnServerEvent:Connect(the)
  55. islunging3 = false
  56. function thinghere(plr,action,part)
  57. if islunging3 and not toolout then
  58. if part.Name ~= "Base" then
  59. if part.Name ~= owner.Character.Name then
  60. alignposition = Instance.new("WeldConstraint")
  61. alignposition.Parent = partagain
  62. alignposition.Part0 = part
  63. alignposition.Part1 = partagain
  64. mass = part.Massless
  65. mass = true
  66. end
  67. end
  68. end
  69. end
  70. islunging2 = false
  71. function thinghere2(plr,action,part)
  72. if islunging2 and not toolout then
  73. if part.Name ~= "Base" then
  74. if part.Name ~= owner.Character.Name then
  75. alignposition2 = Instance.new("WeldConstraint")
  76. alignposition2.Parent = partagain2
  77. alignposition2.Part0 = part
  78. alignposition2.Part1 = partagain
  79. mass2 = part.Massless
  80. mass2 = true
  81. end
  82. end
  83. end
  84. end
  85. function the2()
  86. if islunging3 and not toolout then
  87. islunging3 = false
  88. alignposition:Destroy()
  89. mass = false
  90. else
  91. if not toolout then
  92. islunging3 = true
  93. end
  94. end
  95. end
  96. function the3()
  97. if islunging2 and not toolout then
  98. islunging2 = false
  99. alignposition2:Destroy()
  100. mass = false
  101. else
  102. if not toolout then
  103. islunging2 = true
  104. end
  105. end
  106. end
  107. local E2 = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  108. local Mouse = owner:GetMouse()
  109. function ButtonDown()
  110. if Mouse.Hit ~= nil then
  111. E:FireServer("Down",Mouse.Target)
  112. end
  113. end
  114. Mouse.Button1Down:Connect(ButtonDown)
  115. ]],owner.PlayerGui))
  116. E2.OnServerEvent:Connect(thinghere)
  117. local E3 = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  118. local Mouse = owner:GetMouse()
  119. function ButtonDown()
  120. if Mouse.Hit ~= nil then
  121. E:FireServer("Down",Mouse.Target)
  122. end
  123. end
  124. Mouse.Button1Down:Connect(ButtonDown)
  125. ]],owner.PlayerGui))
  126. E3.OnServerEvent:Connect(the2)
  127. local E4 = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  128. local Mouse = owner:GetMouse()
  129. function ButtonDown()
  130. if Mouse.Hit ~= nil then
  131. E:FireServer("Down",Mouse.Target)
  132. end
  133. end
  134. Mouse.Button2Down:Connect(ButtonDown)
  135. ]],owner.PlayerGui))
  136. E4.OnServerEvent:Connect(thinghere2)
  137. local E5 = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  138. local Mouse = owner:GetMouse()
  139. function ButtonDown()
  140. if Mouse.Hit ~= nil then
  141. E:FireServer("Down",Mouse.Target)
  142. end
  143. end
  144. Mouse.Button2Down:Connect(ButtonDown)
  145. ]],owner.PlayerGui))
  146. E5.OnServerEvent:Connect(the3)
  147. wait(0.1)
  148. owner.Character.Torso.Anchored = false
  149.  
  150.  
  151. Tool = Instance.new("Tool")
  152. Tool.Name = "Sword"
  153. Knife = Instance.new("Part")
  154. Knife.Name = "Handle"
  155. Knife.Parent = Tool
  156. Tool.Parent = workspace.Lucas_YT111
  157. Tool.Grip = CFrame.Angles(0,math.rad(90),math.rad(90))
  158. Tool.GripUp = Vector3.new(0, 0, 1.5, 0, 0, -1, -1, 0, 0, 0, -1, 0)
  159. Tool.GripPos = Vector3.new(0,0,-1.5)
  160. Mesh = Instance.new("SpecialMesh")
  161. Knife.Size = Vector3.new(2, 1, 4)
  162. Mesh.Parent = Knife
  163. Mesh.MeshId = "http://www.roblox.com/asset/?id=12221720"
  164. Mesh.TextureId = "http://www.roblox.com/asset/?id=12224218"
  165. Mesh.Scale = Vector3.new(1, 1, 1)
  166. myhum = owner.Character.Humanoid
  167. local stab = Instance.new("Sound", owner.character.Head)
  168. stab.SoundId = "rbxassetid://12222216"
  169. stab.Volume = 1
  170. local equipped = Instance.new("Sound", owner.character.Head)
  171. equipped.SoundId = "rbxassetid://12222225"
  172. equipped.Volume = 1
  173. local Lunge = Instance.new("Sound", owner.character.Head)
  174. Lunge.SoundId = "rbxassetid://12222208"
  175. Lunge.Volume = 1
  176. candamage = false
  177. islunging = false
  178.  
  179. Tool.Activated:connect(function()
  180. local attackrandom = math.random(1,3)
  181. wait(0.45)
  182. if attackrandom == 1 then
  183. local Anim = Instance.new("StringValue")
  184. Anim.Name = "toolanim"
  185. Anim.Value = "Slash"
  186. Anim.Parent = Tool
  187. candamage = true
  188. wait(0.5)
  189. candamage = false
  190. elseif attackrandom == 2 then
  191. local Anim = Instance.new("StringValue")
  192. Anim.Name = "toolanim"
  193. Anim.Value = "Slash"
  194. Anim.Parent = Tool
  195. candamage = true
  196. wait(0.5)
  197. candamage = false
  198. elseif attackrandom == 3 then
  199. islunging = true
  200. Lunge:Stop()
  201. Lunge:Play()
  202. Tool.Grip = CFrame.Angles(0,math.rad(180),math.rad(90))
  203. Tool.GripPos = Vector3.new(0,0,-1.75)
  204. local Anim = Instance.new("StringValue")
  205. Anim.Name = "toolanim"
  206. Anim.Value = "Lunge"
  207. Anim.Parent = Tool
  208. wait(0.25)
  209. islunging = false
  210. wait(0.40)
  211. Tool.Grip = CFrame.Angles(0,math.rad(90),math.rad(90))
  212. Tool.GripPos = Vector3.new(0,0,-1.5)
  213. end
  214. end)
  215.  
  216.  
  217. Tool.Equipped:Connect(function()
  218. equipped:Play()
  219. toolout = true
  220. end)
  221. Tool.Unequipped:Connect(function()
  222. toolout = false
  223. end)
  224.  
  225. local isTouched = false
  226.  
  227. local function damagePlayer(otherPart)
  228. if candamage and not islunging then
  229. local partParent = otherPart.Parent
  230. local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
  231. if humanoid ~= "myhum" and humanoid then
  232. stab:Stop()
  233. stab:Play()
  234. if not isTouched then
  235. isTouched = true
  236. if humanoid.Health ~= 0 then
  237. humanoid.Health = humanoid.Health - 10
  238. wait(0.40)
  239. isTouched = false
  240. end
  241. end
  242. end
  243. end
  244. end
  245.  
  246. local function lungelol(otherPart3)
  247. if islunging and not candamage then
  248. local partParent3 = otherPart3.Parent
  249. local humanoid = partParent3:FindFirstChildWhichIsA("Humanoid")
  250. if humanoid ~= "myhum" and humanoid then
  251. if humanoid.Health ~= 0 then
  252. humanoid.Health = humanoid.Health - 20
  253. end
  254. end
  255. end
  256. end
  257.  
  258. local function tapped(otherPart2)
  259. if not islunging and not candamage then
  260. local partParent2 = otherPart2.Parent
  261. local humanoid = partParent2:FindFirstChildWhichIsA("Humanoid")
  262. if humanoid ~= "myhum" and humanoid then
  263. if not isTouched then
  264. isTouched = true
  265. if humanoid.Health ~= 0 then
  266. humanoid.Health = humanoid.Health - 5
  267. wait(0.1)
  268. isTouched = false
  269. end
  270. end
  271. end
  272. end
  273. end
  274.  
  275. Knife.Touched:Connect(lungelol)
  276. Knife.Touched:Connect(damagePlayer)
  277. Knife.Touched:Connect(tapped)
  278.  
  279. Sapper = Instance.new("Tool")
  280. Sapper.Name = "Sapper lol"
  281. sapperlmao = Instance.new("Part")
  282. sapperlmao.Name = "Handle"
  283. sapperlmao.Parent = Sapper
  284. Sapper.Parent = workspace.Lucas_YT111
  285. Mesh2 = Instance.new("SpecialMesh")
  286. Mesh2.Parent = sapperlmao
  287. Mesh2.MeshId = "http://www.roblox.com/asset/?id=82337638"
  288. Mesh2.TextureId = "http://www.roblox.com/asset/?id=82337709"
  289. local tased = Instance.new("Sound", owner.character.Head)
  290. tased.SoundId = "rbxassetid://82273261"
  291. tased.Volume = 1
  292. tased.Looped=true
  293. sapped = false
  294. local s=Instance.new("Sound")
  295. s.SoundId="http://www.roblox.com/asset/?id=82277505"
  296. s.Looped=true
  297. s.Volume = 1
  298. Sapper.Activated:connect(function()
  299. sapped = true
  300. tased:Play()
  301. wait(3)
  302. sapped = false
  303. tased:Stop()
  304. end)
  305.  
  306. local issapped = false
  307.  
  308. local function hahasapped(otherPart)
  309. if sapped then
  310. local partParent = otherPart.Parent
  311. local humanoid = partParent:FindFirstChildWhichIsA("Humanoid")
  312. if humanoid ~= "myhum" and humanoid then
  313. if not issapped then
  314. issapped = true
  315. s:Play()
  316. humanoid.PlatformStand = true
  317. local torso = humanoid:FindFirstChild("HumanoidRootPart")
  318. while issapped do
  319. if torso then
  320. torso.RotVelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2*30
  321. wait(0.1)
  322. end
  323. wait(3)
  324. s:Stop()
  325. humanoid.PlatformStand = false
  326. wait(0.5)
  327. issapped = false
  328. end
  329. end
  330. end
  331. end
  332. end
  333.  
  334. sapperlmao.Touched:Connect(hahasapped)
  335.  
  336. Sapper.Equipped:Connect(function()
  337. toolout = true
  338. end)
  339. Sapper.Unequipped:Connect(function()
  340. toolout = false
  341. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement