Advertisement
FiveRoNer

Untitled

Jun 28th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.62 KB | None | 0 0
  1. sound = Instance.new("Sound", Character)
  2. sound.SoundId = "rbxassetid://537549688"
  3. sound.Volume = 100000000
  4. sound.EmitterSize = 25
  5. sound:Play()
  6. sound.Looped = true
  7.  
  8.  
  9. ------------------------------Nazi Armlet-----------------------------------------------
  10. guigroup=Instance.new("BillboardGui")
  11. guigroup.Parent=game.Players.LocalPlayer.Character.Head
  12. guigroup.Adornee=game.Players.LocalPlayer.Character.Head
  13. guigroup.Size = UDim2.new(1,0,1,0)
  14. guigroup.StudsOffset=Vector3.new(0.5, 6, 0)
  15. oooo1 = Instance.new("TextLabel")
  16. Kills = Instance.new("IntValue")
  17. Kills.Parent = game.Players.LocalPlayer.Character
  18. Kills.Name = ""
  19. oooo1.Text = ""
  20. if
  21. game.Players.LocalPlayer.Name == ""
  22. then
  23. oooo1.Text = ""
  24. end
  25. oooo1.Size = UDim2.new(0,200,0,200)
  26. oooo1.BackgroundColor3 = Color3.new(1, 1, 1)
  27. oooo1.BackgroundTransparency = 1
  28. oooo1.Parent = guigroup
  29. oooo1.AnchorPoint = Vector2.new(0.5, 0.9)
  30. oooo1.Size = UDim2.new(3.5,0,3.5,0)
  31. oooo1.TextScaled = true
  32. ko1 = Instance.new("TextLabel")
  33. ko1.Name = ""
  34. ko1.Parent = guigroup
  35. ko1.BackgroundColor3 = Color3.new(1, 1, 1)
  36. ko1.BackgroundTransparency = 1
  37. ko1.TextColor3 = Color3.new(1, 0, 0)
  38. ko1.TextScaled = false
  39. ko1.TextWrapped = false
  40. ko1.AnchorPoint = Vector2.new(0.5, 0.3)
  41. game.Players.LocalPlayer.Character.Humanoid.NameOcclusion = "NoOcclusion"
  42. game.Players.LocalPlayer.Character.Humanoid.HealthDisplayType = "AlwaysOff"
  43. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  44. game.Players.LocalPlayer.Character.Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  45. local runDummyScript = function(f,scri)
  46. local oldenv = getfenv(f)
  47. local newenv = setmetatable({}, {
  48. __index = function(_, k)
  49. if k:lower() == 'script' then
  50. return scri
  51. else
  52. return oldenv[k]
  53. end
  54. end
  55. })
  56. setfenv(f, newenv)
  57. ypcall(function() f() end)
  58. end
  59. cors = {}
  60. mas = Instance.new("Model",game:GetService("Lighting"))
  61. mas.Name = "CompiledModel"
  62. o1 = Instance.new("Model")
  63. o2 = Instance.new("Part")
  64. o3 = Instance.new("BlockMesh")
  65. o4 = Instance.new("Part")
  66. o5 = Instance.new("BlockMesh")
  67. o6 = Instance.new("CFrameValue")
  68. o7 = Instance.new("Weld")
  69. o8 = Instance.new("Part")
  70. o9 = Instance.new("BlockMesh")
  71. o10 = Instance.new("CFrameValue")
  72. o11 = Instance.new("Weld")
  73. o12 = Instance.new("Part")
  74. o13 = Instance.new("BlockMesh")
  75. o14 = Instance.new("CFrameValue")
  76. o15 = Instance.new("Weld")
  77. o16 = Instance.new("Part")
  78. o17 = Instance.new("BlockMesh")
  79. o18 = Instance.new("CFrameValue")
  80. o19 = Instance.new("Weld")
  81. o20 = Instance.new("Part")
  82. o21 = Instance.new("BlockMesh")
  83. o22 = Instance.new("CFrameValue")
  84. o23 = Instance.new("Weld")
  85. o24 = Instance.new("Part")
  86. o25 = Instance.new("BlockMesh")
  87. o26 = Instance.new("CFrameValue")
  88. o27 = Instance.new("Weld")
  89. o28 = Instance.new("Part")
  90. o29 = Instance.new("CFrameValue")
  91. o30 = Instance.new("Weld")
  92. o31 = Instance.new("Part")
  93. o32 = Instance.new("CFrameValue")
  94. o33 = Instance.new("Weld")
  95. o34 = Instance.new("Part")
  96. o35 = Instance.new("SpecialMesh")
  97. o36 = Instance.new("CFrameValue")
  98. o37 = Instance.new("Weld")
  99. weldtoarm = Instance.new("Weld")
  100. o1.Name = "Armlet"
  101. o1.Parent = mas
  102. o2.Name = "svatic1"
  103. o2.Parent = o1
  104. o2.Material = Enum.Material.SmoothPlastic
  105. o2.BrickColor = BrickColor.new("Really black")
  106. o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
  107. o2.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  108. o2.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  109. o2.CFrame = CFrame.new(9.5394268, 1.15889382, -30.4923649, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  110. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  111. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  112. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  113. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  114. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  115. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  116. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  117. o2.Position = Vector3.new(9.5394268, 1.15889382, -30.4923649)
  118. o2.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  119. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  120. o3.Parent = o2
  121. o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
  122. o3.Scale = Vector3.new(0.999996185, 0.598279178, 0.0991418734)
  123. o4.Name = "svatic2"
  124. o4.Parent = o1
  125. o4.Material = Enum.Material.SmoothPlastic
  126. o4.BrickColor = BrickColor.new("Really black")
  127. o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
  128. o4.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  129. o4.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  130. o4.CFrame = CFrame.new(9.51736546, 1.06919134, -30.4028416, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  131. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  132. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  133. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  134. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  135. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  136. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  137. o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  138. o4.Position = Vector3.new(9.51736546, 1.06919134, -30.4028416)
  139. o4.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  140. o4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  141. o5.Parent = o4
  142. o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  143. o5.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  144. o6.Name = "qRelativeCFrameWeldValue"
  145. o6.Parent = o4
  146. o6.Value = CFrame.new(0, -0.0218372345, -0.105447769, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  147. o7.Name = "qCFrameWeldThingy"
  148. o7.Parent = o4
  149. o7.C1 = CFrame.new(0, -0.0260860808, -0.125964642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  150. o7.Part0 = o2
  151. o7.Part1 = o4
  152. o8.Name = "svatic3"
  153. o8.Parent = o1
  154. o8.Material = Enum.Material.SmoothPlastic
  155. o8.BrickColor = BrickColor.new("Really black")
  156. o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
  157. o8.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  158. o8.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  159. o8.CFrame = CFrame.new(9.50574112, 1.21955931, -30.7833157, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  160. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  161. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  162. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  163. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  164. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  165. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  166. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  167. o8.Position = Vector3.new(9.50574112, 1.21955931, -30.7833157)
  168. o8.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  169. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  170. o9.Parent = o8
  171. o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  172. o9.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  173. o10.Name = "qRelativeCFrameWeldValue"
  174. o10.Parent = o8
  175. o10.Value = CFrame.new(0, -0.106843948, 0.226449966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  176. o11.Name = "qCFrameWeldThingy"
  177. o11.Parent = o8
  178. o11.C1 = CFrame.new(0, -0.127632454, 0.270510107, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  179. o11.Part0 = o2
  180. o11.Part1 = o8
  181. o12.Name = "svatic4"
  182. o12.Parent = o1
  183. o12.Material = Enum.Material.SmoothPlastic
  184. o12.BrickColor = BrickColor.new("Really black")
  185. o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
  186. o12.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  187. o12.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  188. o12.CFrame = CFrame.new(9.40566349, 0.893889546, -30.553009, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  189. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  190. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  191. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  192. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  193. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  194. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  195. o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  196. o12.Position = Vector3.new(9.40566349, 0.893889546, -30.553009)
  197. o12.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  198. o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  199. o13.Parent = o12
  200. o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
  201. o13.Scale = Vector3.new(0.999996185, 0.100022063, 0.364750892)
  202. o14.Name = "qRelativeCFrameWeldValue"
  203. o14.Parent = o12
  204. o14.Value = CFrame.new(0, -0.236118317, -0.0926094055, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  205. o15.Name = "qCFrameWeldThingy"
  206. o15.Parent = o12
  207. o15.C1 = CFrame.new(0, -0.28205961, -0.110628322, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  208. o15.Part0 = o2
  209. o15.Part1 = o12
  210. o16.Name = "svatic5"
  211. o16.Parent = o1
  212. o16.Material = Enum.Material.SmoothPlastic
  213. o16.BrickColor = BrickColor.new("Really black")
  214. o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
  215. o16.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  216. o16.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  217. o16.CFrame = CFrame.new(9.65675831, 1.39117944, -30.4388123, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  218. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  219. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  220. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  221. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  222. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  223. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  224. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  225. o16.Position = Vector3.new(9.65675831, 1.39117944, -30.4388123)
  226. o16.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  227. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  228. o17.Parent = o16
  229. o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
  230. o17.Scale = Vector3.new(0.999996185, 0.100022063, 0.336512148)
  231. o18.Name = "qRelativeCFrameWeldValue"
  232. o18.Parent = o16
  233. o18.Value = CFrame.new(0, 0.207174301, 0.080909729, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  234. o19.Name = "qCFrameWeldThingy"
  235. o19.Parent = o16
  236. o19.C1 = CFrame.new(0, 0.247483984, 0.096652247, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  237. o19.Part0 = o2
  238. o19.Part1 = o16
  239. o20.Name = "svatic6"
  240. o20.Parent = o1
  241. o20.Material = Enum.Material.SmoothPlastic
  242. o20.BrickColor = BrickColor.new("Really black")
  243. o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
  244. o20.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  245. o20.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  246. o20.CFrame = CFrame.new(9.54831028, 1.05523241, -30.2259464, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  247. o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  248. o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  249. o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  250. o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  251. o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  252. o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  253. o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  254. o20.Position = Vector3.new(9.54831028, 1.05523241, -30.2259464)
  255. o20.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  256. o20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  257. o21.Parent = o20
  258. o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  259. o21.Scale = Vector3.new(0.999996185, 0.348996192, 0.0991418734)
  260. o22.Name = "qRelativeCFrameWeldValue"
  261. o22.Parent = o20
  262. o22.Value = CFrame.new(0, 0.0607795715, -0.231582642, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  263. o23.Name = "qCFrameWeldThingy"
  264. o23.Parent = o20
  265. o23.C1 = CFrame.new(0, 0.0726053864, -0.276641428, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  266. o23.Part0 = o2
  267. o23.Part1 = o20
  268. o24.Name = "svatic7"
  269. o24.Parent = o1
  270. o24.Material = Enum.Material.SmoothPlastic
  271. o24.BrickColor = BrickColor.new("Really black")
  272. o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
  273. o24.Rotation = Vector3.new(34.4199982, -4.80000019, 153.710007)
  274. o24.Size = Vector3.new(0.831344962, 0.831338942, 0.831339061)
  275. o24.CFrame = CFrame.new(9.53892517, 1.21178222, -30.6091824, -0.893398523, -0.441397756, -0.0837334841, 0.407822043, -0.718593299, -0.563310921, 0.188470751, -0.537409127, 0.822001636)
  276. o24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  277. o24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  279. o24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  280. o24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  281. o24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  282. o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  283. o24.Position = Vector3.new(9.53892517, 1.21178222, -30.6091824)
  284. o24.Orientation = Vector3.new(34.2900009, -5.82000017, 150.419998)
  285. o24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  286. o25.Parent = o24
  287. o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  288. o25.Scale = Vector3.new(0.999996185, 0.100022063, 0.348278195)
  289. o26.Name = "qRelativeCFrameWeldValue"
  290. o26.Parent = o24
  291. o26.Value = CFrame.new(0, -0.0209236145, 0.105287552, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  292. o27.Name = "qCFrameWeldThingy"
  293. o27.Parent = o24
  294. o27.C1 = CFrame.new(0, -0.0249946993, 0.125773236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. o27.Part0 = o2
  296. o27.Part1 = o24
  297. o28.Name = "Right Arm"
  298. o28.Parent = o1
  299. o28.Material = Enum.Material.SmoothPlastic
  300. o28.BrickColor = BrickColor.new("Really black")
  301. o28.Transparency = 1
  302. o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
  303. o28.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
  304. o28.FormFactor = Enum.FormFactor.Symmetric
  305. o28.Size = Vector3.new(2.09252977, 1.04626489, 1.04626489)
  306. o28.CFrame = CFrame.new(9.33767605, 1.24664795, -30.4727879, 0.347877979, 0.284306079, 0.893393397, 0.893409908, 0.188386172, -0.407835245, -0.284253061, 0.940042913, -0.188466549)
  307. o28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  308. o28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  309. o28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  310. o28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  311. o28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  312. o28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  313. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  314. o28.Position = Vector3.new(9.33767605, 1.24664795, -30.4727879)
  315. o28.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
  316. o28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  317. weldtoarm.Parent = o28
  318. weldtoarm.Part0 = o28
  319. weldtoarm.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  320. weldtoarm.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(1.55, math.pi, 1.55)
  321. o29.Name = "qRelativeCFrameWeldValue"
  322. o29.Parent = o28
  323. o29.Value = CFrame.new(-0.00221943855, 0.0187721252, 0.183933258, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  324. o30.Name = "qCFrameWeldThingy"
  325. o30.Parent = o28
  326. o30.C1 = CFrame.new(-0.00265127234, 0.0224245973, 0.21972096, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  327. o30.Part0 = o2
  328. o30.Part1 = o28
  329. o31.Name = "Armlet1"
  330. o31.Parent = o1
  331. o31.Material = Enum.Material.SmoothPlastic
  332. o31.BrickColor = BrickColor.new("Bright red")
  333. o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
  334. o31.Rotation = Vector3.new(114.800003, 63.2999992, -39.2599983)
  335. o31.FormFactor = Enum.FormFactor.Symmetric
  336. o31.Size = Vector3.new(1.01487708, 1.06719005, 1.0985781)
  337. o31.CFrame = CFrame.new(9.33325005, 1.22114551, -30.4663391, 0.34788391, 0.284310907, 0.893393397, 0.893425107, 0.188389421, -0.407835245, -0.284257859, 0.940058947, -0.188466549)
  338. o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  339. o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  340. o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  341. o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  343. o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  344. o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  345. o31.Position = Vector3.new(9.33325005, 1.22114551, -30.4663391)
  346. o31.Orientation = Vector3.new(24.0699997, 101.910004, 78.0899963)
  347. o31.Color = Color3.new(0.768628, 0.156863, 0.109804)
  348. o32.Name = "qRelativeCFrameWeldValue"
  349. o32.Parent = o31
  350. o32.Value = CFrame.new(0.0196768045, 0.0187721252, 0.179553986, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  351. o33.Name = "qCFrameWeldThingy"
  352. o33.Parent = o31
  353. o33.C1 = CFrame.new(0.0235053003, 0.0224245973, 0.214489624, -1.47819519e-05, -0.642790794, -0.766052902, 1.11595e-09, -0.766052902, 0.642790794, -1, 9.50084723e-06, 1.13244741e-05)
  354. o33.Part0 = o2
  355. o33.Part1 = o31
  356. o34.Name = "Armlet2"
  357. o34.Parent = o1
  358. o34.Material = Enum.Material.SmoothPlastic
  359. o34.BrickColor = BrickColor.new("Institutional white")
  360. o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
  361. o34.Rotation = Vector3.new(-11.3299999, 16.5200005, 158.729996)
  362. o34.Shape = Enum.PartType.Cylinder
  363. o34.Size = Vector3.new(0.238913804, 1.0253396, 1.04626489)
  364. o34.CFrame = CFrame.new(9.74531078, 1.04955149, -30.5565758, -0.893398523, -0.347870708, 0.284310907, 0.407822043, -0.893431127, 0.188389421, 0.188470751, 0.284255087, 0.940058947)
  365. o34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  366. o34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  367. o34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  368. o34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  369. o34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  370. o34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  371. o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  372. o34.Position = Vector3.new(9.74531078, 1.04955149, -30.5565758)
  373. o34.Orientation = Vector3.new(-10.8599997, 16.8299999, 155.460007)
  374. o34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  375. o35.Parent = o34
  376. o35.Scale = Vector3.new(0.875851333, 1, 1)
  377. o35.MeshType = Enum.MeshType.Cylinder
  378. o35.Scale = Vector3.new(0.875851333, 1, 1)
  379. o36.Name = "qRelativeCFrameWeldValue"
  380. o36.Parent = o34
  381. o36.Value = CFrame.new(0.201436996, -0.00654327869, 0.0187721252, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
  382. o37.Name = "qCFrameWeldThingy"
  383. o37.Parent = o34
  384. o37.C1 = CFrame.new(0.240630388, -0.00781639758, 0.0224245973, 1, 0, 0, 0, 0.642790794, 0.766052902, 0, -0.766052902, 0.642790794)
  385. o37.Part0 = o2
  386. o37.Part1 = o34
  387. mas.Parent = workspace
  388. mas:MakeJoints()
  389. local mas1 = mas:GetChildren()
  390. for i=1,#mas1 do
  391. mas1[i].Parent = game.Players.LocalPlayer.Character
  392. ypcall(function() mas1[i]:MakeJoints() end)
  393. end
  394. mas:Destroy()
  395. for i=1,#cors do
  396. coroutine.resume(cors[i])
  397. end
  398. ------------------------------Nazi Armlet End-------------------------------------------
  399. p = game.Players.LocalPlayer
  400. char = p.Character
  401. torso = char.Torso
  402. hed = char.Head
  403. neck = char.Torso.Neck
  404. hum = char.Humanoid
  405. hum.MaxHealth = math.huge
  406. ypcall(function()
  407. shirt = Instance.new("Shirt", char)
  408. shirt.Name = "Shirt"
  409. pants = Instance.new("Pants", char)
  410. pants.Name = "Pants"
  411. char.Shirt.ShirtTemplate = "rbxassetid://216674358"
  412. char.Pants.PantsTemplate = "rbxassetid://216673391"
  413. end)
  414. ----------------------------------------------------------------
  415. CV="Maroon"
  416. Player = game.Players.LocalPlayer
  417. Character = Player.Character
  418. local txt = Instance.new("BillboardGui", Character)
  419. txt.Adornee = Character .Head
  420. txt.Name = "_status"
  421. txt.Size = UDim2.new(2, 0, 1.2, 0)
  422. txt.StudsOffset = Vector3.new(-9, 8, 0)
  423. local text = Instance.new("TextLabel", txt)
  424. text.Size = UDim2.new(10, 0, 7, 0)
  425. text.FontSize = "Size24"
  426. text.TextScaled = true
  427. text.TextTransparency = 0
  428. text.BackgroundTransparency = 1
  429. text.TextTransparency = 0
  430. text.TextStrokeTransparency = 0
  431. text.Font = "Bodoni"
  432. text.TextStrokeColor3 = Color3.new(255,255,255)
  433.  
  434. v=Instance.new("Part")
  435. v.Name = "ColorBrick"
  436. v.Parent=Player.Character
  437. v.FormFactor="Symmetric"
  438. v.Anchored=true
  439. v.CanCollide=false
  440. v.BottomSurface="Smooth"
  441. v.TopSurface="Smooth"
  442. v.Size=Vector3.new(10,5,3)
  443. v.Transparency=1
  444. v.CFrame=Character.Torso.CFrame
  445. v.BrickColor=BrickColor.new(CV)
  446. v.Transparency=1
  447. text.TextColor3 = Color3.new(0,0,0)
  448. v.Shape="Block"
  449. text.Text = "Naz! Dancer"
  450. ------------------------------------------------------
  451. Player = game:GetService("Players").LocalPlayer
  452. Character = Player.Character
  453. PlayerGui = Player.PlayerGui
  454. Backpack = Player.Backpack
  455. Torso = Character.Torso
  456. Head = Character.Head
  457. Humanoid = Character.Humanoid
  458. RootPart = Character.HumanoidRootPart
  459. RootJoint = RootPart.RootJoint
  460. LeftArm = Character["Left Arm"]
  461. LeftLeg = Character["Left Leg"]
  462. RightArm = Character["Right Arm"]
  463. RightLeg = Character["Right Leg"]
  464. LS = Torso["Left Shoulder"]
  465. LH = Torso["Left Hip"]
  466. RS = Torso["Right Shoulder"]
  467. RH = Torso["Right Hip"]
  468. Face = Head.face
  469. Neck = Torso.Neck
  470. it = Instance.new
  471. vt = Vector3.new
  472. cf = CFrame.new
  473. rad = math.rad
  474. euler = CFrame.fromEulerAnglesXYZ
  475. angles = CFrame.Angles
  476. Mouse = Player:GetMouse()
  477. coroutine.resume(coroutine.create(function()
  478. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  479. Text = "Fixed by PixelFir3 / Cortana#8155";
  480. Color = Color3.new(0, 1, 1);
  481. Font = Enum.Font.Code;
  482. FontSize = Enum.FontSize.Size24;
  483. })
  484. end))
  485. ArtificialHB = Instance.new("BindableEvent", script)
  486. ArtificialHB.Name = "ArtificialHB"
  487. script:WaitForChild("ArtificialHB")
  488. frame = 0.016666666666667
  489. tf = 0
  490. allowframeloss = false
  491. tossremainder = false
  492. lastframe = tick()
  493. script.ArtificialHB:Fire()
  494. game:GetService("RunService").Heartbeat:connect(function(s, p)
  495.  
  496. tf = tf + s
  497. if frame <= tf then
  498. if allowframeloss then
  499. script.ArtificialHB:Fire()
  500. lastframe = tick()
  501. else
  502. for i = 1, math.floor(tf / frame) do
  503. script.ArtificialHB:Fire()
  504. end
  505. lastframe = tick()
  506. end
  507. if tossremainder then
  508. tf = 0
  509. else
  510. tf = tf - frame * math.floor(tf / frame)
  511. end
  512. end
  513. end
  514. )
  515. local animationspeed = 2
  516. hbwait = function(number)
  517.  
  518. if number == 0 or number == nil then
  519. ArtificialHB.Event:wait()
  520. else
  521. for i = 0, number do
  522. ArtificialHB.Event:wait()
  523. end
  524. end
  525. end
  526.  
  527. local Stats = Instance.new("Folder", Character)
  528. Stats.Name = "Stats"
  529. local Defense = Instance.new("NumberValue", Stats)
  530. Defense.Name = "Defense"
  531. Defense.Value = 0.1
  532. local Movement = Instance.new("NumberValue", Stats)
  533. Movement.Name = "Movement"
  534. Movement.Value = 0.35
  535. local Damage = Instance.new("NumberValue", Stats)
  536. Damage.Name = "Damage"
  537. Damage.Value = 0
  538. local Mana = Instance.new("NumberValue", Stats)
  539. Mana.Name = "Mana"
  540. Mana.Value = 0
  541. local Rooted = Instance.new("BoolValue", Stats)
  542. Rooted.Name = "Rooted"
  543. Rooted.Value = false
  544. local BlockValue = Instance.new("BoolValue", Stats)
  545. BlockValue.Name = "BlockValue"
  546. BlockValue.Value = false
  547. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  548. StaggerHitAnim.Name = "StaggerHitAnim"
  549. StaggerHitAnim.Value = false
  550. local StaggerAnim = Instance.new("BoolValue", Stats)
  551. StaggerAnim.Name = "StaggerAnim"
  552. StaggerAnim.Value = false
  553. local StunAnim = Instance.new("BoolValue", Stats)
  554. StunAnim.Name = "StunAnim"
  555. StunAnim.Value = false
  556. local StunValue = Instance.new("NumberValue", Stats)
  557. StunValue.Name = "StunValue"
  558. StunValue.Value = 0
  559. local CanCrit = Instance.new("BoolValue", Stats)
  560. CanCrit.Name = "CanCrit"
  561. CanCrit.Value = false
  562. local CritChance = Instance.new("NumberValue", Stats)
  563. CritChance.Name = "CritChance"
  564. CritChance.Value = 20
  565. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  566. CanPenetrateArmor.Name = "CanPenetrateArmor"
  567. CanPenetrateArmor.Value = false
  568. local AntiTeamKill = Instance.new("BoolValue", Stats)
  569. AntiTeamKill.Name = "AntiTeamKill"
  570. AntiTeamKill.Value = false
  571. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  572. RootCF = angles(rad(-90), 0, rad(180))
  573. local idle = 0
  574. local Anim = "Idle"
  575. local animtype = math.floor(math.random(1, 3))
  576. local attacktype = 1
  577. local attack = false
  578. local equipped = false
  579. local LastPoint = nil
  580. local staggerhitanim = false
  581. local staggeranim = false
  582. local stunanim = false
  583. local CritChanceNumber = 0
  584. local idlen = 0
  585. local donum = 0
  586. local sine = 0
  587. local change = 2 / animationspeed
  588. local walkinganim = false
  589. local handidle = false
  590. local walk = 0
  591. local stundelay = 0
  592. local manadelay = 0
  593. local robloxidleanimation = Instance.new("Animation", Torso)
  594. robloxidleanimation.Name = "robloxidleanimation"
  595. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  596. local Animator = Humanoid:FindFirstChild("Animator")
  597. local Animate = Character:FindFirstChild("Animate")
  598. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  599. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  600. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  601. local HitBlockSounds = {199148933, 199148947}
  602. local cooldown1 = 0
  603. local cooldown2 = 0
  604. local cooldown3 = 0
  605. local cooldown4 = 0
  606. local scrn = Instance.new("ScreenGui", PlayerGui)
  607. local ud = UDim2.new
  608. local c3 = Color3.new
  609. local skillcolorscheme = c3(1, 1, 1)
  610. subtractmana = function(k)
  611.  
  612. if k <= Mana.Value then
  613. Mana.Value = Mana.Value - k
  614. end
  615. end
  616.  
  617. local co1 = 0
  618. local co2 = 0
  619. local co3 = 0
  620. local co4 = 0
  621. local maxmana = 0
  622. local maxstun = 1
  623. local recovermana = 0
  624. local losestun = 0
  625. local stunwait = 0
  626. local manawait = 0
  627. local skill1mana = 0
  628. local skill2mana = 0
  629. local skill3mana = 0
  630. local skill4mana = 0
  631. local menuupdatespeed = 0
  632. local constantupdate = false
  633. local showstats = false
  634. local allowstunbar = false
  635. local CustomColor = Torso.BrickColor
  636. local Colorpart1 = CustomColor.r
  637. local Colorpart2 = CustomColor.g
  638. local Colorpart3 = CustomColor.b
  639. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  640. makeframe = function(par, trans, pos, size, color, name)
  641.  
  642. local frame = Instance.new("Frame")
  643. frame.Parent = par
  644. frame.BackgroundTransparency = trans
  645. frame.BorderSizePixel = 2
  646. frame.Position = pos
  647. frame.Size = size
  648. frame.BackgroundColor3 = color
  649. frame.Name = name
  650. return frame
  651. end
  652.  
  653. makelabel = function(par, text, trans, stroketrans, name)
  654.  
  655. local label = Instance.new("TextLabel")
  656. label.Parent = par
  657. label.BackgroundTransparency = 1
  658. label.Size = ud(1, 0, 1, 0)
  659. label.Position = ud(0, 0, 0, 0)
  660. label.TextColor3 = c3(255, 255, 255)
  661. label.TextStrokeTransparency = stroketrans
  662. label.TextTransparency = trans
  663. label.FontSize = Enum.FontSize.Size32
  664. label.Font = Enum.Font.Legacy
  665. label.BorderSizePixel = 0
  666. label.TextScaled = true
  667. label.Text = text
  668. label.Name = name
  669. return label
  670. end
  671.  
  672. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  673. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  674. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  675. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  676. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  677. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  678. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  679. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  680. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  681. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  682. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  683. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  684. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  685. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  686. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  687. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  688. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  689. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  690. if allowstunbar == true then
  691. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  692. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  693. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  694. end
  695. if showstats == true then
  696. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  697. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  698. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  699. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  700. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  701. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  702. end
  703. NoOutline = function(Part)
  704.  
  705. Part.TopSurface = 10
  706. end
  707.  
  708. local weldBetween = function(a, b)
  709.  
  710. local weldd = Instance.new("ManualWeld")
  711. weldd.Part0 = a
  712. weldd.Part1 = b
  713. weldd.C0 = CFrame.new()
  714. weldd.C1 = b.CFrame:inverse() * a.CFrame
  715. weldd.Parent = a
  716. return weldd
  717. end
  718.  
  719. nooutline = function(part)
  720.  
  721. part.TopSurface = 10
  722. end
  723.  
  724. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  725.  
  726. local fp = it("Part")
  727. fp.formFactor = formfactor
  728. fp.Parent = parent
  729. fp.Reflectance = reflectance
  730. fp.Transparency = transparency
  731. fp.CanCollide = false
  732. fp.Locked = true
  733. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  734. fp.Name = name
  735. fp.Size = size
  736. fp.Position = Character.Torso.Position
  737. nooutline(fp)
  738. fp.Material = material
  739. fp:BreakJoints()
  740. return fp
  741. end
  742.  
  743. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  744.  
  745. local mesh = it(Mesh)
  746. mesh.Parent = part
  747. if Mesh == "SpecialMesh" then
  748. mesh.MeshType = meshtype
  749. mesh.MeshId = meshid
  750. end
  751. mesh.Offset = offset
  752. mesh.Scale = scale
  753. return mesh
  754. end
  755.  
  756. weld = function(parent, part0, part1, c0, c1)
  757.  
  758. local weld = it("Motor")
  759. weld.Parent = parent
  760. weld.Part0 = part0
  761. weld.Part1 = part1
  762. weld.C0 = c0
  763. weld.C1 = c1
  764. return weld
  765. end
  766.  
  767. local WeaponName = "Russian Kick"
  768. local ClassName = "Russian Kick"
  769. local PlayerSize = 1
  770. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  771. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  772. if PlayerSize ~= 1 then
  773. RootPart.Size = RootPart.Size * PlayerSize
  774. Torso.Size = Torso.Size * PlayerSize
  775. Head.Size = Head.Size * PlayerSize
  776. RightArm.Size = RightArm.Size * PlayerSize
  777. LeftArm.Size = LeftArm.Size * PlayerSize
  778. RightLeg.Size = RightLeg.Size * PlayerSize
  779. LeftLeg.Size = LeftLeg.Size * PlayerSize
  780. RootJoint.Parent = RootPart
  781. Neck.Parent = Torso
  782. LS.Parent = Torso
  783. RS.Parent = Torso
  784. LH.Parent = Torso
  785. RH.Parent = Torso
  786. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  787. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  788. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  789. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  790. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  791. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  792. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  793. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  794. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  795. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  796. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  797. for _,v in pairs(Character:GetChildren()) do
  798. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  799. v.Parent = nil
  800. v.Parent = Character
  801. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  802. for _,b in pairs(v.Handle:GetChildren()) do
  803. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  804. local p1 = b.Part1
  805. b.Part1 = nil
  806. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  807. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  808. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  809. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  810. b.Part1 = p1
  811. end
  812. end
  813. end
  814. end
  815. end
  816. m = Instance.new("Model", Character)
  817. m.Name = WeaponName
  818. Effects = Instance.new("Folder", m)
  819. Effects.Name = "Effects"
  820. Humanoid.Died:connect(function()
  821.  
  822. attack = true
  823. for _,v in pairs(Character:GetChildren()) do
  824. if v.ClassName == "Model" then
  825. v:Destroy()
  826. end
  827. end
  828. end
  829. )
  830. for i,v in pairs(Character:GetChildren()) do
  831. if v.ClassName == "Model" then
  832. for _,c in pairs(v:GetChildren()) do
  833. if c.ClassName == "Part" then
  834. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  835. end
  836. end
  837. end
  838. end
  839. print(ClassName .. " loaded.")
  840. clerp = function(a, b, t)
  841. return a:lerp(b, t)
  842. end
  843.  
  844. positiveangle = function(number)
  845.  
  846. if number > 0 then
  847. number = 0
  848. end
  849. return number
  850. end
  851.  
  852. negativeangle = function(number)
  853.  
  854. if number < 0 then
  855. number = 0
  856. end
  857. return number
  858. end
  859.  
  860. so = function(id, par, vol, pit)
  861.  
  862. coroutine.resume(coroutine.create(function()
  863.  
  864. local sou = Instance.new("Sound", par or workspace)
  865. sou.Volume = vol
  866. sou.Pitch = pit or 1
  867. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  868. hbwait()
  869. sou:play()
  870. game:GetService("Debris"):AddItem(sou, 10)
  871. end
  872. ))
  873. end
  874.  
  875. GetDistance = function(Part1, Part2, magnitude)
  876.  
  877. local target = Part1.Position - Part2.Position
  878. local mag = target.magnitude
  879. if mag <= magnitude then
  880. return true
  881. else
  882. return false
  883. end
  884. end
  885.  
  886. rayCast = function(Pos, Dir, Max, Ignore)
  887.  
  888. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  889. end
  890.  
  891. DamageStatLabel = function(labeltype, cframe, text, color)
  892.  
  893. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  894. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  895. game:GetService("Debris"):AddItem(c, 5)
  896. Instance.new("BodyGyro", c)
  897. local f = Instance.new("BodyPosition", c)
  898. f.P = 2000
  899. f.D = 100
  900. f.maxForce = vt(math.huge, math.huge, math.huge)
  901. if labeltype == "Normal" then
  902. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  903. else
  904. if labeltype == "Debuff" then
  905. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  906. else
  907. if labeltype == "Interruption" then
  908. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  909. end
  910. end
  911. end
  912. game:GetService("Debris"):AddItem(c, 5)
  913. local bg = Instance.new("BillboardGui", c)
  914. bg.Adornee = c
  915. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  916. bg.StudsOffset = vt(-2, 2, 0)
  917. bg.AlwaysOnTop = false
  918. local tl = Instance.new("TextLabel", bg)
  919. tl.BackgroundTransparency = 1
  920. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  921. tl.Text = text
  922. tl.Font = Enum.Font.SourceSans
  923. tl.FontSize = Enum.FontSize.Size42
  924. tl.TextColor3 = color
  925. tl.TextScaled = false
  926. tl.TextStrokeTransparency = 0
  927. tl.TextScaled = true
  928. tl.TextWrapped = true
  929. f.Parent = c
  930. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  931.  
  932. wait(0.25)
  933. for i = 1, 5 do
  934. wait()
  935. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  936. end
  937. wait(1.25)
  938. for i = 1, 5 do
  939. wait()
  940. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  941. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  942. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  943. end
  944. Part.Parent = nil
  945. end
  946. ), c, f, tl)
  947. end
  948.  
  949. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  950.  
  951. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  952.  
  953. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  954.  
  955. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  956. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  957. if ShowTheStat == true then
  958. if Stat == "Defense" then
  959. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  960. else
  961. if Stat == "Damage" then
  962. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  963. else
  964. if Stat == "Movement" then
  965. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  966. end
  967. end
  968. end
  969. end
  970. coroutine.resume(coroutine.create(function(CurrentDecrease)
  971.  
  972. wait(Duration)
  973. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  974. end
  975. ), Location.Stats[Stat])
  976. end
  977. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  978. end
  979.  
  980. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  981.  
  982. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  983.  
  984. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  985.  
  986. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  987. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  988. if ShowTheStat == true then
  989. if Stat == "Defense" then
  990. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  991. else
  992. if Stat == "Damage" then
  993. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  994. else
  995. if Stat == "Movement" then
  996. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  997. end
  998. end
  999. end
  1000. end
  1001. coroutine.resume(coroutine.create(function(CurrentDecrease)
  1002.  
  1003. wait(Duration)
  1004. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  1005. end
  1006. ), Location.Stats[Stat])
  1007. end
  1008. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  1009. end
  1010.  
  1011. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1012.  
  1013. if hit.Parent == nil then
  1014. return
  1015. end
  1016. h = hit.Parent:FindFirstChild("Humanoid")
  1017. for _,v in pairs(hit.Parent:GetChildren()) do
  1018. if v:IsA("Humanoid") then
  1019. h = v
  1020. end
  1021. end
  1022. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  1023. StaggerHitAnim.Value = true
  1024. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  1025. return
  1026. end
  1027. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1028. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1029. end
  1030. if hit.Parent.className == "Hat" then
  1031. hit = hit.Parent.Parent:FindFirstChild("Head")
  1032. end
  1033. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1034. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1035. return
  1036. end
  1037. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  1038. return
  1039. end
  1040. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1041. return
  1042. end
  1043. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1044. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  1045. end
  1046. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  1047. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  1048. end
  1049. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  1050. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  1051. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  1052. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  1053. BlockDebounce.Name = "BlockDebounce"
  1054. BlockDebounce.Value = true
  1055. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1056. end
  1057. do
  1058. if ranged ~= true then
  1059. do
  1060. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  1061. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  1062. BlockDebounce2.Name = "BlockDebounce2"
  1063. BlockDebounce2.Value = true
  1064. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  1065. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  1066. end
  1067. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  1068. StaggerAnim.Value = true
  1069. do return end
  1070. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  1071. if DecreaseTheStat == "Defense" then
  1072. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1073. else
  1074. if DecreaseTheStat == "Damage" then
  1075. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1076. else
  1077. if DecreaseTheStat == "Movement" then
  1078. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1079. end
  1080. end
  1081. end
  1082. end
  1083. local D = math.random(minim, maxim) * Damage.Value
  1084. if hit.Parent:FindFirstChild("Stats") ~= nil then
  1085. if hit.Parent.Stats:FindFirstChild("Defense") then
  1086. if CanPenetrateArmor.Value == true then
  1087. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  1088. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  1089.  
  1090. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  1091. CritChanceNumber = math.random(1, CritChance.Value)
  1092. if CritChanceNumber == CritChance.Value then
  1093. D = D * 2
  1094. end
  1095. end
  1096. D = math.floor(D)
  1097. h.Health = h.Health - D
  1098. if D <= 3 and staggerhit == true then
  1099. if ranged ~= true then
  1100. StaggerHitAnim.Value = true
  1101. end
  1102. if ranged ~= true then
  1103. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  1104. end
  1105. else
  1106. if D > 3 and ranged ~= true then
  1107. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  1108. end
  1109. end
  1110. if D > 3 and D < 20 then
  1111. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1112. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1113. so("296102734", hit, 1, 1)
  1114. else
  1115. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  1116. end
  1117. else
  1118. if D >= 20 then
  1119. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1120. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1121. so("296102734", hit, 1, 1)
  1122. else
  1123. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  1124. end
  1125. else
  1126. if D <= 3 then
  1127. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1128. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1129. so("296102734", hit, 1, 1)
  1130. else
  1131. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  1132. end
  1133. end
  1134. end
  1135. end
  1136. do
  1137. if Type == "Normal" then
  1138. local vp = Instance.new("BodyVelocity")
  1139. vp.P = 500
  1140. vp.maxForce = vt(math.huge, 0, math.huge)
  1141. if KnockbackType == 1 then
  1142. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1143. else
  1144. if KnockbackType == 2 then
  1145. vp.Velocity = Property.CFrame.lookVector * knockback
  1146. end
  1147. end
  1148. if knockback > 0 then
  1149. vp.Parent = hit.Parent.Torso
  1150. end
  1151. game:GetService("Debris"):AddItem(vp, 0.5)
  1152. end
  1153. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  1154. DebounceHit.Name = "DebounceHit"
  1155. DebounceHit.Value = true
  1156. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end
  1167.  
  1168. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1169.  
  1170. for _,c in pairs(workspace:GetChildren()) do
  1171. local hum = (c:FindFirstChild("Humanoid"))
  1172. local head = nil
  1173. if hum ~= nil then
  1174. head = c:FindFirstChild("Torso")
  1175. if head ~= nil then
  1176. local targ = head.Position - Part.Position
  1177. local mag = targ.magnitude
  1178. if mag <= magni and c.Name ~= Player.Name then
  1179. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1180. end
  1181. end
  1182. do
  1183. for _,d in pairs(c:GetChildren()) do
  1184. if d.ClassName == "Model" and ranged ~= true then
  1185. head = d:FindFirstChild("Hitbox")
  1186. if head ~= nil then
  1187. local targ = head.Position - Part.Position
  1188. local mag = targ.magnitude
  1189. if mag <= magni and c.Name ~= Player.Name then
  1190. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  1191. hitrefpart.Anchored = true
  1192. hitrefpart.CFrame = cf(head.Position)
  1193. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  1194. StaggerHitAnim.Value = true
  1195. end
  1196. end
  1197. end
  1198. end
  1199. do
  1200. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  1201.  
  1202. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1203.  
  1204. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  1205.  
  1206. end
  1207. end
  1208. end
  1209. end
  1210. end
  1211.  
  1212. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  1213.  
  1214. if Player.Neutral == true then
  1215. if Type == "Buff" then
  1216. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1217. else
  1218. if Type == "Debuff" then
  1219. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1220. end
  1221. end
  1222. end
  1223. for _,c in pairs(workspace:GetChildren()) do
  1224. local hum = (c:FindFirstChild("Humanoid"))
  1225. local head = nil
  1226. if hum ~= nil then
  1227. head = c:FindFirstChild("Torso")
  1228. if head ~= nil then
  1229. local targ = head.Position - Part.Position
  1230. local mag = targ.magnitude
  1231. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  1232.  
  1233. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1234. if Type == "Buff" then
  1235. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1236. else
  1237. if Type == "Debuff" then
  1238. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1239. end
  1240. end
  1241. end
  1242. end
  1243. end
  1244. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1245. if Type == "Buff" then
  1246. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1247. else
  1248. if Type == "Debuff" then
  1249. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1250. end
  1251. end
  1252. end
  1253. end
  1254. end
  1255.  
  1256. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  1257.  
  1258. local magz = p0 - p1.magnitude
  1259. local curpos = p0
  1260. local trz = {-ofs, ofs}
  1261. for i = 1, tym do
  1262. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  1263. do
  1264. li.Anchored = true
  1265. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1266. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  1267. if tym == i then
  1268. local magz2 = curpos - p1.magnitude
  1269. li.Size = vt(th, th, magz2)
  1270. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  1271. else
  1272. do
  1273. do
  1274. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  1275. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  1276. game.Debris:AddItem(li, last)
  1277. coroutine.resume(coroutine.create(function()
  1278.  
  1279. while li.Transparency ~= 1 do
  1280. for i = 0, 1, last do
  1281. hbwait()
  1282. li.Transparency = li.Transparency + 0.1 / last
  1283. end
  1284. end
  1285. end
  1286. ))
  1287. end
  1288. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1289.  
  1290. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  1291.  
  1292. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  1293.  
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299.  
  1300. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1301.  
  1302. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1303. prt.Anchored = true
  1304. prt.CFrame = cframe
  1305. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1306. game:GetService("Debris"):AddItem(prt, 10)
  1307. coroutine.resume(coroutine.create(function(Part, Mesh)
  1308.  
  1309. for i = 0, 1, delay do
  1310. hbwait()
  1311. Part.CFrame = Part.CFrame
  1312. Part.Transparency = i
  1313. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1314. end
  1315. Part.Parent = nil
  1316. end
  1317. ), prt, msh)
  1318. end
  1319.  
  1320. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1321.  
  1322. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1323. prt.Anchored = true
  1324. prt.CFrame = cframe
  1325. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  1326. game:GetService("Debris"):AddItem(prt, 10)
  1327. coroutine.resume(coroutine.create(function(Part, Mesh)
  1328.  
  1329. for i = 0, 1, delay do
  1330. hbwait()
  1331. Part.CFrame = Part.CFrame
  1332. Part.Transparency = i
  1333. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1334. end
  1335. Part.Parent = nil
  1336. end
  1337. ), prt, msh)
  1338. end
  1339.  
  1340. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1341.  
  1342. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1343. prt.Anchored = true
  1344. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1345. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1346. game:GetService("Debris"):AddItem(prt, 10)
  1347. coroutine.resume(coroutine.create(function(Part, Mesh)
  1348.  
  1349. for i = 0, 1, delay do
  1350. hbwait()
  1351. if rotate == true then
  1352. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1353. end
  1354. Part.Transparency = i
  1355. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1356. end
  1357. Part.Parent = nil
  1358. end
  1359. ), prt, msh)
  1360. end
  1361.  
  1362. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1363.  
  1364. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1365. prt.Anchored = true
  1366. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1367. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1368. game:GetService("Debris"):AddItem(prt, 10)
  1369. CF = prt.CFrame
  1370. num = math.random(5, 20)
  1371. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1372.  
  1373. for i = 0, 1, delay do
  1374. hbwait()
  1375. if rotate == true then
  1376. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1377. else
  1378. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1379. end
  1380. Part.Transparency = i
  1381. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1382. end
  1383. Part.Parent = nil
  1384. end
  1385. ), prt, msh, CF, num)
  1386. end
  1387.  
  1388. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1389.  
  1390. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1391. prt.Anchored = true
  1392. prt.CFrame = cframe
  1393. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1394. game:GetService("Debris"):AddItem(prt, 10)
  1395. coroutine.resume(coroutine.create(function(Part, Mesh)
  1396.  
  1397. for i = 0, 1, delay do
  1398. hbwait()
  1399. Part.Transparency = i
  1400. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1401. end
  1402. Part.Parent = nil
  1403. end
  1404. ), prt, msh)
  1405. end
  1406.  
  1407. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1408.  
  1409. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1410. prt.Anchored = true
  1411. prt.CFrame = cframe
  1412. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1413. game:GetService("Debris"):AddItem(prt, 10)
  1414. coroutine.resume(coroutine.create(function(Part, Mesh)
  1415.  
  1416. for i = 0, 1, delay do
  1417. hbwait()
  1418. Part.Transparency = i
  1419. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1420. end
  1421. Part.Parent = nil
  1422. end
  1423. ), prt, msh)
  1424. end
  1425.  
  1426. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1427.  
  1428. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1429. prt.Anchored = true
  1430. prt.CFrame = cframe
  1431. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1432. game:GetService("Debris"):AddItem(prt, 10)
  1433. coroutine.resume(coroutine.create(function(Part, Mesh)
  1434.  
  1435. for i = 0, 1, delay do
  1436. hbwait()
  1437. Part.Transparency = i
  1438. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1439. end
  1440. Part.Parent = nil
  1441. end
  1442. ), prt, msh)
  1443. end
  1444.  
  1445. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1446.  
  1447. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1448. prt.Anchored = true
  1449. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1450. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1451. game:GetService("Debris"):AddItem(prt, 10)
  1452. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1453.  
  1454. CF = Part.CFrame
  1455. Numbb = 0
  1456. randnumb = math.random() - math.random()
  1457. for i = 0, 1, delay do
  1458. hbwait()
  1459. CF = CF * cf(0, 1, 0)
  1460. if rotate == true then
  1461. Part.CFrame = CF * angles(Numbb, 0, 0)
  1462. else
  1463. if rotate == false then
  1464. Part.CFrame = CF
  1465. end
  1466. end
  1467. Part.Transparency = i
  1468. Numbb = Numbb + (randnumb)
  1469. end
  1470. Part.Parent = nil
  1471. end
  1472. ), prt, CF, Numbb, randnumb)
  1473. end
  1474.  
  1475. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1476.  
  1477. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1478. prt.Anchored = true
  1479. prt.CFrame = cf
  1480. xval = math.random()
  1481. yval = math.random()
  1482. zval = math.random()
  1483. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1484. game:GetService("Debris"):AddItem(prt, 10)
  1485. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1486.  
  1487. for i = 0, 1, delay do
  1488. hbwait()
  1489. Part.CFrame = Part.CFrame
  1490. xvaal = xvaal - 0.1 * (delay * 10)
  1491. yvaal = yvaal - 0.1 * (delay * 10)
  1492. zvaal = zvaal - 0.1 * (delay * 10)
  1493. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1494. Part.Transparency = i
  1495. end
  1496. Part.Parent = nil
  1497. end
  1498. ), prt, msh, xval, yval, zval)
  1499. end
  1500.  
  1501. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1502.  
  1503. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1504. if magnitudecframe > 0.01 then
  1505. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1506. prt.Anchored = true
  1507. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1508. local TheMeshType = "BlockMesh"
  1509. if meshtype == "Cylinder" then
  1510. TheMeshType = "CylinderMesh"
  1511. end
  1512. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1513. game:GetService("Debris"):AddItem(prt, 10)
  1514. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1515.  
  1516. for i = 0, 1, delay do
  1517. hbwait()
  1518. Part.Transparency = i
  1519. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1520. end
  1521. Part.Parent = nil
  1522. end
  1523. ), prt, msh, currentcf, oldcf)
  1524. end
  1525. end
  1526.  
  1527. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1528.  
  1529. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1530. prt.Anchored = true
  1531. prt.CFrame = cframe
  1532. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1533. game:GetService("Debris"):AddItem(prt, 10)
  1534. local TheLastPoint = cframe
  1535. coroutine.resume(coroutine.create(function(Part)
  1536.  
  1537. for i = 1, duration do
  1538. hbwait()
  1539. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1540. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1541. TheLastPoint = Part.CFrame
  1542. end
  1543. Part.Parent = nil
  1544. end
  1545. ), prt)
  1546. end
  1547.  
  1548. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1549.  
  1550. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1551. prt.Anchored = true
  1552. prt.CFrame = cframe
  1553. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1554. game:GetService("Debris"):AddItem(prt, 10)
  1555. coroutine.resume(coroutine.create(function(Part, Mesh)
  1556.  
  1557. for i = 0, 1, delay do
  1558. hbwait()
  1559. Part.Transparency = i
  1560. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1561. end
  1562. Part.Parent = nil
  1563. end
  1564. ), prt, msh)
  1565. end
  1566.  
  1567. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1568.  
  1569. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1570. prt.Anchored = true
  1571. prt.CFrame = cframe
  1572. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1573. game:GetService("Debris"):AddItem(prt, 10)
  1574. coroutine.resume(coroutine.create(function(Part, Mesh)
  1575.  
  1576. for i = 0, 1, delay do
  1577. hbwait()
  1578. Part.Transparency = i
  1579. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1580. end
  1581. Part.Parent = nil
  1582. end
  1583. ), prt, msh)
  1584. end
  1585.  
  1586. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1587.  
  1588. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1589. prt.Anchored = true
  1590. prt.CFrame = cframe
  1591. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1592. game:GetService("Debris"):AddItem(prt, 10)
  1593. coroutine.resume(coroutine.create(function(Part, Mesh)
  1594.  
  1595. for i = 0, 1, delay do
  1596. hbwait()
  1597. Part.Transparency = i
  1598. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1599. end
  1600. Part.Parent = nil
  1601. end
  1602. ), prt, msh)
  1603. end
  1604.  
  1605. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1606.  
  1607. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1608. prt.Anchored = true
  1609. prt.CFrame = cframe
  1610. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1611. game:GetService("Debris"):AddItem(prt, 10)
  1612. coroutine.resume(coroutine.create(function(Part, Mesh)
  1613.  
  1614. for i = 0, 1, delay do
  1615. hbwait()
  1616. Part.Transparency = i
  1617. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1618. end
  1619. Part.Parent = nil
  1620. end
  1621. ), prt, msh)
  1622. end
  1623.  
  1624. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1625.  
  1626. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1627. prt.Anchored = true
  1628. prt.CFrame = cframe
  1629. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1630. game:GetService("Debris"):AddItem(prt, 10)
  1631. coroutine.resume(coroutine.create(function(Part, Mesh)
  1632.  
  1633. for i = 0, 1, delay do
  1634. hbwait()
  1635. Part.Transparency = i
  1636. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1637. end
  1638. Part.Parent = nil
  1639. end
  1640. ), prt, msh)
  1641. end
  1642.  
  1643. local startequipped = true
  1644. local startequippedwithequipanimation = false
  1645. local disableanimator = true
  1646. local disableanimate = true
  1647. local alternatewalk = false
  1648. local hidemenu = false
  1649. local allowmenutofunction = false
  1650. local allowabilitiestofunction = false
  1651. local canunequiporequip = false
  1652. local allowwalking = false
  1653. local disablemovingarms = false
  1654. local usemotorsinsteadofwelds = false
  1655. local leftarm = false
  1656. local rightarm = false
  1657. local allowhopperbin = false
  1658. local showstunbar = false
  1659. local walkspeeddependsonmovementvalue = true
  1660. local alternatemanaregensystem = false
  1661. local showhealthmanaandstunnumbers = false
  1662. local changebarcolorsifnotenoughmana = false
  1663. local disablejump = false
  1664. if hidemenu == true or allowmenutofunction == false then
  1665. for _,v in pairs(scrn:GetChildren()) do
  1666. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1667. v.Visible = false
  1668. v.BorderSizePixel = 0
  1669. end
  1670. end
  1671. end
  1672. do
  1673. Humanoid.Changed:connect(function(Jump)
  1674.  
  1675. if Jump == "Jump" and disablejump == true then
  1676. Humanoid.Jump = false
  1677. end
  1678. end
  1679. )
  1680. if allowmenutofunction == true then
  1681. for _,v in pairs(scrn:GetChildren()) do
  1682. if v.ClassName == "Frame" then
  1683. for _,b in pairs(v:GetChildren()) do
  1684. if b.ClassName == "TextLabel" then
  1685. coroutine.resume(coroutine.create(function(TheTextLabel)
  1686.  
  1687. wait(menuupdatespeed)
  1688. for i = 1, 0, -0.1 do
  1689. hbwait()
  1690. TheTextLabel.TextTransparency = i
  1691. TheTextLabel.TextStrokeTransparency = i
  1692. end
  1693. TheTextLabel.TextTransparency = 0
  1694. TheTextLabel.TextStrokeTransparency = 0
  1695. end
  1696. ), b)
  1697. if showstats == true then
  1698. coroutine.resume(coroutine.create(function(TheTextLabel)
  1699.  
  1700. wait(menuupdatespeed)
  1701. for i = 1, 0, -0.1 do
  1702. hbwait()
  1703. TheTextLabel.TextTransparency = i
  1704. TheTextLabel.TextStrokeTransparency = i
  1705. end
  1706. TheTextLabel.TextTransparency = 0
  1707. TheTextLabel.TextStrokeTransparency = 0
  1708. end
  1709. ), b)
  1710. end
  1711. if showstunbar == true then
  1712. coroutine.resume(coroutine.create(function(TheTextLabel)
  1713.  
  1714. wait(menuupdatespeed)
  1715. for i = 1, 0, -0.1 do
  1716. hbwait()
  1717. TheTextLabel.TextTransparency = i
  1718. TheTextLabel.TextStrokeTransparency = i
  1719. end
  1720. TheTextLabel.TextTransparency = 0
  1721. TheTextLabel.TextStrokeTransparency = 0
  1722. end
  1723. ), b)
  1724. end
  1725. if allowabilitiestofunction == true then
  1726. coroutine.resume(coroutine.create(function(TheTextLabel)
  1727.  
  1728. wait(menuupdatespeed)
  1729. for i = 1, 0, -0.1 do
  1730. hbwait()
  1731. TheTextLabel.TextTransparency = i
  1732. TheTextLabel.TextStrokeTransparency = i
  1733. end
  1734. TheTextLabel.TextTransparency = 0
  1735. TheTextLabel.TextStrokeTransparency = 0
  1736. end
  1737. ), b)
  1738. end
  1739. end
  1740. end
  1741. end
  1742. end
  1743. end
  1744. do
  1745. if allowhopperbin == true then
  1746. if script.Parent.className ~= "HopperBin" then
  1747. Tool = Instance.new("HopperBin")
  1748. Tool.Parent = Backpack
  1749. Tool.Name = WeaponName
  1750. script.Parent = Tool
  1751. end
  1752. Bin = script.Parent
  1753. end
  1754. if disablemovingarms == true then
  1755. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1756. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1757. RSH = nil
  1758. if usemotorsinsteadofwelds == true then
  1759. RW = Instance.new("Motor")
  1760. LW = Instance.new("Motor")
  1761. else
  1762. RW = Instance.new("Weld")
  1763. LW = Instance.new("Weld")
  1764. end
  1765. RW.Name = "Right Shoulder"
  1766. LW.Name = "Left Shoulder"
  1767. RSH = Torso["Right Shoulder"]
  1768. LSH = Torso["Left Shoulder"]
  1769. RSH.Parent = Torso
  1770. LSH.Parent = Torso
  1771. RW.Name = "Right Shoulder"
  1772. RW.Part0 = Torso
  1773. RW.C0 = cf(1.5, 0.5, 0)
  1774. RW.C1 = cf(0, 0.5, 0)
  1775. RW.Part1 = Character["Right Arm"]
  1776. RW.Parent = nil
  1777. LW.Name = "Left Shoulder"
  1778. LW.Part0 = Torso
  1779. LW.C0 = cf(-1.5, 0.5, 0)
  1780. LW.C1 = cf(0, 0.5, 0)
  1781. LW.Part1 = Character["Left Arm"]
  1782. LW.Parent = nil
  1783. else
  1784. RW = Torso["Right Shoulder"]
  1785. LW = Torso["Left Shoulder"]
  1786. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1787. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1788. end
  1789. equipanim = function()
  1790.  
  1791. attack = true
  1792. Movement.Value = Movement.Value - 0.1
  1793. Defense.Value = Defense.Value + 0.4
  1794. for i = 0, 1, 0.08 / animationspeed do
  1795. hbwait()
  1796. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1797. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1798. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1799. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1800. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1801. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1802. end
  1803. attack = false
  1804. end
  1805.  
  1806. unequipanim = function()
  1807.  
  1808. attack = true
  1809. for i = 0, 1, 0.08 / animationspeed do
  1810. hbwait()
  1811. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1812. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1813. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1814. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1815. if disablemovingarms == false then
  1816. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1817. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1818. end
  1819. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1820. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1821. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1822. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1823. end
  1824. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1825. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1826. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1827. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1828. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1829. if disablemovingarms == false then
  1830. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1831. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1832. end
  1833. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1834. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1835. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1836. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1837. Movement.Value = Movement.Value + 0.1
  1838. Defense.Value = Defense.Value - 0.4
  1839. attack = false
  1840. end
  1841.  
  1842. if startequipped == true then
  1843. equipped = true
  1844. if disableanimate == true then
  1845. Animate.Disabled = true
  1846. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1847. idleanimation:Play()
  1848. end
  1849. if disableanimator == true then
  1850. Animator.Parent = nil
  1851. end
  1852. if disablemovingarms == true then
  1853. RW.Parent = Torso
  1854. LW.Parent = Torso
  1855. RSH.Parent = nil
  1856. LSH.Parent = nil
  1857. end
  1858. Movement.Value = Movement.Value - 0.1
  1859. Defense.Value = Defense.Value + 0.4
  1860. end
  1861. if startequippedwithequipanimation == true then
  1862. equipped = true
  1863. if disableanimate == true then
  1864. Animate.Disabled = true
  1865. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1866. idleanimation:Play()
  1867. end
  1868. if disableanimator == true then
  1869. Animator.Parent = nil
  1870. end
  1871. if disablemovingarms == true then
  1872. RW.Parent = Torso
  1873. LW.Parent = Torso
  1874. RSH.Parent = nil
  1875. LSH.Parent = nil
  1876. end
  1877. coroutine.resume(coroutine.create(function()
  1878.  
  1879. hbwait()
  1880. equipanim()
  1881. end
  1882. ))
  1883. end
  1884.  
  1885. StaggerHit = function()
  1886.  
  1887. attack = true
  1888. if Hitbox ~= nil then
  1889. for i = 1, math.random(2, 4) do
  1890. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1891. end
  1892. end
  1893. do
  1894. for i = 0, 1, 0.1 / animationspeed do
  1895. hbwait()
  1896. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1897. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1898. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1899. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1900. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1901. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1902. if StaggerAnim.Value ~= true then
  1903. do
  1904. if StunAnim.Value == true then
  1905. break
  1906. end
  1907. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1908.  
  1909. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1910.  
  1911. end
  1912. end
  1913. end
  1914. attack = false
  1915. end
  1916. end
  1917.  
  1918. Stagger = function()
  1919.  
  1920. attack = true
  1921. disablejump = true
  1922. if Hitbox ~= nil then
  1923. for i = 1, math.random(2, 4) do
  1924. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1925. end
  1926. end
  1927. do
  1928. attacktype = 1
  1929. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1930. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1931. staggervelocity.P = 500
  1932. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1933. if Rooted.Value == false then
  1934. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1935. end
  1936. for i = 0, 1, 0.35 / animationspeed do
  1937. hbwait()
  1938. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1939. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1940. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1941. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1942. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1943. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1944. end
  1945. for i = 0, 1, 0.2 / animationspeed do
  1946. hbwait()
  1947. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1948. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1949. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1950. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1951. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1952. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1953. end
  1954. staggervelocity:Destroy()
  1955. for i = 0, 1, 0.015 / animationspeed do
  1956. hbwait()
  1957. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1958. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1959. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1960. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1961. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1962. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1963. if StunAnim.Value == true then
  1964. break
  1965. end
  1966. end
  1967. do
  1968. attacktype = 1
  1969. disablejump = false
  1970. attack = false
  1971. end
  1972. end
  1973. end
  1974.  
  1975. Stun = function()
  1976.  
  1977. attack = true
  1978. disablejump = true
  1979. attacktype = 1
  1980. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1981. for i = 0, 1, 0.4 / animationspeed do
  1982. hbwait()
  1983. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1984. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1985. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1986. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1987. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1988. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1989. end
  1990. for i = 0, 1, 0.4 / animationspeed do
  1991. hbwait()
  1992. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1993. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1994. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1995. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1996. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1997. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1998. end
  1999. for i = 0, 1, 0.4 / animationspeed do
  2000. hbwait()
  2001. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  2002. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2003. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  2004. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  2005. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  2006. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  2007. end
  2008. Humanoid.AutoRotate = false
  2009. for i = 1, 70 * animationspeed do
  2010. hbwait()
  2011. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  2012. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2013. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  2014. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  2015. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  2016. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  2017. end
  2018. for i = 0, 1, 0.15 / animationspeed do
  2019. hbwait()
  2020. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  2021. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2022. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  2023. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  2024. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  2025. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  2026. end
  2027. Humanoid.AutoRotate = true
  2028. attacktype = 1
  2029. disablejump = false
  2030. attack = false
  2031. end
  2032.  
  2033. EAbility = function()
  2034.  
  2035. attack = true
  2036. attack = false
  2037. end
  2038.  
  2039. Attack1 = function()
  2040.  
  2041. attack = true
  2042. attack = false
  2043. end
  2044.  
  2045. Attack2 = function()
  2046.  
  2047. attack = true
  2048. attack = false
  2049. end
  2050.  
  2051. Attack3 = function()
  2052.  
  2053. attack = true
  2054. attack = false
  2055. end
  2056.  
  2057. Attack4 = function()
  2058.  
  2059. attack = true
  2060. attack = false
  2061. end
  2062.  
  2063. Move1 = function()
  2064.  
  2065. attack = true
  2066. attack = false
  2067. end
  2068.  
  2069. Move2 = function()
  2070.  
  2071. attack = true
  2072. attack = false
  2073. end
  2074.  
  2075. Move3 = function()
  2076.  
  2077. attack = true
  2078. attack = false
  2079. end
  2080.  
  2081. Move4 = function()
  2082.  
  2083. attack = true
  2084. attack = false
  2085. end
  2086.  
  2087. hold = false
  2088. Mouse.Button1Down:connect(function()
  2089.  
  2090. if attack == true or equipped == false then
  2091. return
  2092. end
  2093. hold = true
  2094. if attacktype == 1 then
  2095. attacktype = 2
  2096. Attack1()
  2097. else
  2098. if attacktype == 2 then
  2099. attacktype = 3
  2100. Attack2()
  2101. else
  2102. if attacktype == 3 then
  2103. attacktype = 4
  2104. Attack3()
  2105. else
  2106. if attacktype == 4 then
  2107. attacktype = 1
  2108. Attack4()
  2109. end
  2110. end
  2111. end
  2112. end
  2113. coroutine.resume(coroutine.create(function()
  2114.  
  2115. for i = 1, 50 do
  2116. if attack == false then
  2117. hbwait()
  2118. end
  2119. end
  2120. if attack == false then
  2121. attacktype = 1
  2122. end
  2123. end
  2124. ))
  2125. end
  2126. )
  2127. if allowhopperbin == true then
  2128. ob1u = function(Mouse)
  2129.  
  2130. hold = false
  2131. end
  2132.  
  2133. end
  2134. Mouse.KeyDown:connect(function(key)
  2135.  
  2136. if key == "f" and canunequiporequip == true and attack == false then
  2137. if equipped == false then
  2138. equipped = true
  2139. if disableanimate == true then
  2140. Animate.Disabled = true
  2141. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  2142. idleanimation:Play()
  2143. end
  2144. if disableanimator == true then
  2145. Animator.Parent = nil
  2146. end
  2147. if disablemovingarms == true then
  2148. RW.Parent = Torso
  2149. LW.Parent = Torso
  2150. RSH.Parent = nil
  2151. LSH.Parent = nil
  2152. end
  2153. equipanim()
  2154. elseif equipped == true then
  2155. equipped = false
  2156. unequipanim()
  2157. hbwait()
  2158. if disablemovingarms == true then
  2159. RW.Parent = nil
  2160. LW.Parent = nil
  2161. RSH.Parent = Torso
  2162. LSH.Parent = Torso
  2163. end
  2164. if disableanimator == true then
  2165. Animator.Parent = Humanoid
  2166. end
  2167. if disableanimate == true then
  2168. Animate.Disabled = false
  2169. end
  2170. end
  2171. end
  2172. if key == "e" and attack == false and equipped == true then
  2173. if animtype < 3 then
  2174. animtype = animtype + 1
  2175. elseif animtype >= 3 then
  2176. animtype = 1
  2177. end
  2178. end
  2179. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  2180. subtractmana(skill1mana)
  2181. cooldown1 = 0
  2182. Move1()
  2183. end
  2184. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  2185. subtractmana(skill2mana)
  2186. cooldown2 = 0
  2187. Move2()
  2188. end
  2189. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  2190. subtractmana(skill3mana)
  2191. cooldown3 = 0
  2192. Move3()
  2193. end
  2194. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  2195. subtractmana(skill4mana)
  2196. cooldown4 = 0
  2197. Move4()
  2198. end
  2199. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  2200. if key == "q" then
  2201. Mana.Value = 100
  2202. cooldown1 = co1
  2203. cooldown2 = co2
  2204. cooldown3 = co3
  2205. cooldown4 = co4
  2206. end
  2207. if key == "p" then
  2208. StaggerHitAnim.Value = true
  2209. end
  2210. if key == "[" then
  2211. StaggerAnim.Value = true
  2212. end
  2213. if key == "]" then
  2214. StunAnim.Value = true
  2215. end
  2216. end
  2217. end
  2218. )
  2219. Mouse.KeyUp:connect(function(key2)
  2220.  
  2221. end
  2222. )
  2223. if allowhopperbin == true then
  2224. s = function(Mouse)
  2225.  
  2226. Mouse.Button1Down:connect(function()
  2227.  
  2228. ob1d(Mouse)
  2229. end
  2230. )
  2231. Mouse.Button1Up:connect(function()
  2232.  
  2233. ob1u(Mouse)
  2234. end
  2235. )
  2236. Mouse.KeyDown:connect(key)
  2237. Mouse.KeyUp:connect(key2)
  2238. end
  2239.  
  2240. end
  2241. if allowhopperbin == true then
  2242. ds = function(Mouse)
  2243.  
  2244. end
  2245.  
  2246. end
  2247. if allowhopperbin == true then
  2248. Bin.Selected:connect(s)
  2249. Bin.Deselected:connect(ds)
  2250. end
  2251. updateskills = function()
  2252.  
  2253. if allowabilitiestofunction == true then
  2254. if cooldown1 <= co1 then
  2255. cooldown1 = cooldown1 + 0.033333333333333
  2256. if co1 <= cooldown1 then
  2257. cooldown1 = co1
  2258. end
  2259. end
  2260. if cooldown2 <= co2 then
  2261. cooldown2 = cooldown2 + 0.033333333333333
  2262. if co2 <= cooldown2 then
  2263. cooldown2 = co2
  2264. end
  2265. end
  2266. if cooldown3 <= co3 then
  2267. cooldown3 = cooldown3 + 0.033333333333333
  2268. if co3 <= cooldown3 then
  2269. cooldown3 = co3
  2270. end
  2271. end
  2272. if cooldown4 <= co4 then
  2273. cooldown4 = cooldown4 + 0.033333333333333
  2274. if co4 <= cooldown4 then
  2275. cooldown4 = co4
  2276. end
  2277. end
  2278. if changebarcolorsifnotenoughmana == true then
  2279. if Mana.Value <= skill1mana then
  2280. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2281. else
  2282. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2283. end
  2284. if Mana.Value <= skill2mana then
  2285. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2286. else
  2287. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2288. end
  2289. if Mana.Value <= skill3mana then
  2290. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2291. else
  2292. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2293. end
  2294. if Mana.Value <= skill4mana then
  2295. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2296. else
  2297. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2298. end
  2299. else
  2300. if changebarcolorsifnotenoughmana == false then
  2301. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2302. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2303. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2304. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2305. end
  2306. end
  2307. end
  2308. if alternatemanaregensystem == false then
  2309. if Mana.Value <= maxmana then
  2310. Mana.Value = Mana.Value + recovermana / 30
  2311. else
  2312. if maxmana <= Mana.Value then
  2313. Mana.Value = maxmana
  2314. end
  2315. end
  2316. else
  2317. if alternatemanaregensystem == true then
  2318. if maxmana <= Mana.Value then
  2319. Mana.Value = maxmana
  2320. else
  2321. if manadelay <= manawait then
  2322. manadelay = manadelay + 1
  2323. else
  2324. manadelay = 0
  2325. Mana.Value = Mana.Value + 1
  2326. end
  2327. end
  2328. end
  2329. end
  2330. if allowstunbar == true then
  2331. if StunValue.Value <= 0 then
  2332. StunValue.Value = 0
  2333. else
  2334. if stundelay <= stunwait then
  2335. stundelay = stundelay + 1
  2336. else
  2337. stundelay = 0
  2338. StunValue.Value = StunValue.Value - 1
  2339. end
  2340. end
  2341. else
  2342. if allowstunbar == false then
  2343. StunValue.Value = 0
  2344. end
  2345. end
  2346. end
  2347.  
  2348. if allowmenutofunction == true then
  2349. ArtificialHB.Event:connect(function()
  2350.  
  2351. updateskills()
  2352. if allowabilitiestofunction == true then
  2353. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2354. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2355. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2356. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2357. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2358. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2359. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2360. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2361. end
  2362. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2363. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2364. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2365. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2366. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2367. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2368. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2369. end
  2370. if showhealthmanaandstunnumbers == true then
  2371. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2372. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2373. if allowstunbar == true and showstunbar == true then
  2374. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2375. end
  2376. end
  2377. if showstats == true then
  2378. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2379. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2380. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2381. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2382. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2383. if Rooted.Value == false then
  2384. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2385. else
  2386. if Rooted.Value == true or Movement.Value <= 0 then
  2387. movementtext.Text = "Movement: 0%"
  2388. end
  2389. end
  2390. end
  2391. end
  2392. )
  2393. end
  2394. while 1 do
  2395. hbwait()
  2396. if Hitbox ~= nil then
  2397. if attack == true then
  2398. Hitbox.Name = "Hitbox"
  2399. else
  2400. if attack == false then
  2401. Hitbox.Name = "NilHitbox"
  2402. end
  2403. end
  2404. end
  2405. if 0 < Humanoid.Health then
  2406. if walkspeeddependsonmovementvalue == true then
  2407. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2408. Humanoid.WalkSpeed = 0
  2409. else
  2410. Humanoid.WalkSpeed = 16 * Movement.Value
  2411. end
  2412. end
  2413. if maxstun <= StunValue.Value then
  2414. StunValue.Value = 0
  2415. StunAnim.Value = true
  2416. end
  2417. if StaggerAnim.Value == true and staggeranim == false then
  2418. coroutine.resume(coroutine.create(function()
  2419.  
  2420. staggeranim = true
  2421. while attack == true do
  2422. hbwait()
  2423. end
  2424. Stagger()
  2425. StaggerAnim.Value = false
  2426. staggeranim = false
  2427. end
  2428. ))
  2429. end
  2430. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2431. coroutine.resume(coroutine.create(function()
  2432.  
  2433. staggerhitanim = true
  2434. while attack == true do
  2435. hbwait()
  2436. end
  2437. StaggerHit()
  2438. StaggerHitAnim.Value = false
  2439. staggerhitanim = false
  2440. end
  2441. ))
  2442. end
  2443. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2444. coroutine.resume(coroutine.create(function()
  2445.  
  2446. StunValue.Value = 0
  2447. stunanim = true
  2448. while attack == true do
  2449. hbwait()
  2450. end
  2451. Stun()
  2452. StunAnim.Value = false
  2453. stunanim = false
  2454. end
  2455. ))
  2456. end
  2457. sine = sine + change
  2458. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2459. local velderp = RootPart.Velocity.y
  2460. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2461. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2462. if 0.5 <= donum then
  2463. handidle = true
  2464. else
  2465. if donum <= 0 then
  2466. handidle = false
  2467. end
  2468. end
  2469. if handidle == false then
  2470. donum = donum + 0.003 / animationspeed
  2471. else
  2472. donum = donum - 0.003 / animationspeed
  2473. end
  2474. if equipped == true or equipped == false then
  2475. if attack == false then
  2476. idle = idle + 1
  2477. else
  2478. idle = 0
  2479. end
  2480. if leftarm == true then
  2481. if Anim == "Walk" and equipped == true and attack == false then
  2482. if alternatewalk == false then
  2483. if walkinganim == true then
  2484. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2485. else
  2486. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2487. end
  2488. else
  2489. if walkinganim == true then
  2490. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2491. else
  2492. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2493. end
  2494. end
  2495. else
  2496. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2497.  
  2498. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2499. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2500. end
  2501. end
  2502. end
  2503. if rightarm == true then
  2504. if Anim == "Walk" and equipped == true and attack == false then
  2505. if alternatewalk == false then
  2506. if walkinganim == true then
  2507. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2508. else
  2509. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2510. end
  2511. else
  2512. if walkinganim == true then
  2513. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2514. else
  2515. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2516. end
  2517. end
  2518. else
  2519. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2520.  
  2521. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2522. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2523. end
  2524. end
  2525. end
  2526. if allowwalking == true then
  2527. if Anim == "Walk" and equipped == true then
  2528. if alternatewalk == false then
  2529. if walkinganim == true then
  2530. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2531. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2532. else
  2533. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2534. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2535. end
  2536. else
  2537. if walkinganim == true then
  2538. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2539. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2540. else
  2541. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2542. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2543. end
  2544. end
  2545. else
  2546. if Anim ~= "Walk" and equipped == true then
  2547. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2548. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2549. end
  2550. end
  2551. end
  2552. Anim = "Idle"
  2553. if attack == false then
  2554. if equipped == true then
  2555. if animtype == 1 then
  2556. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2557. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2558. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
  2559. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
  2560. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2561. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2562. end
  2563. if animtype == 2 then
  2564. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2565. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2566. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
  2567. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
  2568. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2569. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2570. end
  2571. end
  2572. if animtype == 3 then
  2573. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2574. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2575. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
  2576. LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
  2577. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2578. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2579. end
  2580. end
  2581. end
  2582. end
  2583. end
  2584. end
  2585. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement