Advertisement
memberhero

stop sign script

Nov 29th, 2017
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.67 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. LS = Torso["Left Shoulder"]
  13. LH = Torso["Left Hip"]
  14. RS = Torso["Right Shoulder"]
  15. RH = Torso["Right Hip"]
  16. Face = Head.face
  17. Neck = Torso.Neck
  18. it = Instance.new
  19. attacktype = 1
  20. vt = Vector3.new
  21. cf = CFrame.new
  22. euler = CFrame.fromEulerAnglesXYZ
  23. angles = CFrame.Angles
  24. cloaked = false
  25. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  26. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  27. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  28. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  29. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  30. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  31. RootPart = Character.HumanoidRootPart
  32. RootJoint = RootPart.RootJoint
  33. RootCF = euler(-1.57, 0, 3.14)
  34. attack = false
  35. attackdebounce = false
  36. deb = false
  37. equipped = false
  38. hand = false
  39. MMouse = nil
  40. combo = 0
  41. mana = 0
  42. trispeed = 0.2
  43. attackmode = "none"
  44. local idle = 0
  45. local Anim = "Idle"
  46. local gun = false
  47. local shoot = false
  48. player = nil
  49. mana = 0
  50. local Player = game.Players.localPlayer
  51. local Character = Player.Character
  52. local Humanoid = Character.Humanoid
  53. local mouse = Player:GetMouse()
  54. local LeftArm = Character["Left Arm"]
  55. local RightArm = Character["Right Arm"]
  56. local LeftLeg = Character["Left Leg"]
  57. local RightLeg = Character["Right Leg"]
  58. local Head = Character.Head
  59. local Torso = Character.Torso
  60. local cam = game.Workspace.CurrentCamera
  61. local RootPart = Character.HumanoidRootPart
  62. local equipped = false
  63. local attack = false
  64. local Anim = "Idle"
  65. local idle = 0
  66. local sprint = false
  67. local battlestance = false
  68. local attacktype = 1
  69. local state = "none"
  70. local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  71. local velocity = RootPart.Velocity.y
  72. local sine = 0
  73. local change = 1
  74. local on = false
  75. local grabbed = false
  76. local skill1 = false
  77. local skill2 = false
  78. local skill3 = false
  79. local skill4 = false
  80. local cooldown1 = 0
  81. local cooldown2 = 0
  82. local cooldown3 = 0
  83. local cooldown4 = 0
  84. local co1 = 0
  85. local co2 = 0
  86. local co3 = 0
  87. local co4 = 0
  88. local inputserv = game:GetService("UserInputService")
  89. local typing = false
  90. local crit = false
  91. local critchance = 2
  92. local critdamageaddmin = 3
  93. local critdamageaddmax = 7
  94. local maxstamina = 100
  95. local stamina = 0
  96. local skill1stam = 0
  97. local skill2stam = 0
  98. local skill3stam = 0
  99. local skill4stam = 0
  100. local recovermana = 3
  101. local mindamage = 5
  102. local maxdamage = 10
  103. local cf = CFrame.new
  104. local mr = math.rad
  105. local angles = CFrame.Angles
  106. local ud = UDim2.new
  107. local c3 = Color3.new
  108. local skillcolorscheme = c3(1, 1, 1)
  109. local defensevalue = 1
  110. local speedvalue = 1
  111. local damagevalue = 1
  112. local cf = CFrame.new
  113. local mr = math.rad
  114. local angles = CFrame.Angles
  115. local ud = UDim2.new
  116. local c3 = Color3.new
  117. local skillcolorscheme = c3(1, 1, 1)
  118. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  119. makeframe = function(par, trans, pos, size, color)
  120. local frame = Instance.new("Frame", par)
  121. frame.BackgroundTransparency = trans
  122. frame.BorderSizePixel = 0
  123. frame.Position = pos
  124. frame.Size = size
  125. frame.BackgroundColor3 = color
  126. return frame
  127. end
  128.  
  129. makelabel = function(par, text)
  130. local label = Instance.new("TextLabel", par)
  131. label.BackgroundTransparency = 1
  132. label.Size = ud(1, 0, 1, 0)
  133. label.Position = ud(0, 0, 0, 0)
  134. label.TextColor3 = c3(255, 255, 255)
  135. label.TextStrokeTransparency = 0
  136. label.FontSize = Enum.FontSize.Size32
  137. label.Font = Enum.Font.SourceSansBold
  138. label.BorderSizePixel = 0
  139. label.TextScaled = true
  140. label.Text = text
  141. end
  142.  
  143. local stats = Instance.new("Folder", Character)
  144. stats.Name = "Stats"
  145. local block = Instance.new("BoolValue", stats)
  146. block.Name = "Block"
  147. block.Value = false
  148. local stun = Instance.new("BoolValue", stats)
  149. stun.Name = "Stun"
  150. stun.Value = false
  151. local defense = Instance.new("NumberValue", stats)
  152. defense.Name = "Defence"
  153. defense.Value = defensevalue
  154. local speed = Instance.new("NumberValue", stats)
  155. speed.Name = "Speed"
  156. speed.Value = speedvalue
  157. local damagea = Instance.new("NumberValue", stats)
  158. damagea.Name = "Damage"
  159. damagea.Value = damagevalue
  160. framesk1 = makeframe(scrn, 0.5, ud(0.13, 0, 0.56, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 0.5))
  161. bar1 = makeframe(framesk1, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 0.5))
  162. ammolabel = Instance.new("TextLabel", framesk1)
  163. ammolabel.BackgroundTransparency = 1
  164. ammolabel.Size = ud(1, 0, 1, 0)
  165. ammolabel.Position = ud(0, 0, 0, 0)
  166. ammolabel.TextColor3 = c3(255, 255, 255)
  167. ammolabel.TextStrokeTransparency = 0
  168. ammolabel.FontSize = Enum.FontSize.Size8
  169. ammolabel.Font = Enum.Font.SourceSans
  170. ammolabel.BorderSizePixel = 0
  171. ammolabel.TextScaled = true
  172. ammolabel.Text = "Speed [" .. speed.Value .. "]"
  173. framesk2 = makeframe(scrn, 0.5, ud(0.13, 0, 0.63, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1))
  174. bar2 = makeframe(framesk2, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.5, 0.25, 0.25))
  175. ammolabel2 = Instance.new("TextLabel", framesk2)
  176. ammolabel2.BackgroundTransparency = 1
  177. ammolabel2.Size = ud(1, 0, 1, 0)
  178. ammolabel2.Position = ud(0, 0, 0, 0)
  179. ammolabel2.TextColor3 = c3(255, 255, 255)
  180. ammolabel2.TextStrokeTransparency = 0
  181. ammolabel2.FontSize = Enum.FontSize.Size8
  182. ammolabel2.Font = Enum.Font.SourceSans
  183. ammolabel2.BorderSizePixel = 0
  184. ammolabel2.TextScaled = true
  185. ammolabel2.Text = "Damage [" .. damagea.Value .. "]"
  186. framesk3 = makeframe(scrn, 0.5, ud(0.13, 0, 0.7, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1))
  187. bar3 = makeframe(framesk3, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.25, 0.25, 0.5))
  188. ammolabel3 = Instance.new("TextLabel", framesk3)
  189. ammolabel3.BackgroundTransparency = 1
  190. ammolabel3.Size = ud(1, 0, 1, 0)
  191. ammolabel3.Position = ud(0, 0, 0, 0)
  192. ammolabel3.TextColor3 = c3(255, 255, 255)
  193. ammolabel3.TextStrokeTransparency = 0
  194. ammolabel3.FontSize = Enum.FontSize.Size8
  195. ammolabel3.Font = Enum.Font.SourceSans
  196. ammolabel3.BorderSizePixel = 0
  197. ammolabel3.TextScaled = true
  198. ammolabel3.Text = "Defense [" .. defense.Value .. "]"
  199. framesk4 = makeframe(scrn, 0.5, ud(0.13, 0, 0.42, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1))
  200. bar4 = makeframe(framesk4, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1))
  201. ammolabel4 = Instance.new("TextLabel", framesk4)
  202. ammolabel4.BackgroundTransparency = 1
  203. ammolabel4.Size = ud(1, 0, 1, 0)
  204. ammolabel4.Position = ud(0, 0, 0, 0)
  205. ammolabel4.TextColor3 = c3(255, 255, 255)
  206. ammolabel4.TextStrokeTransparency = 0
  207. ammolabel4.FontSize = Enum.FontSize.Size8
  208. ammolabel4.Font = Enum.Font.SourceSans
  209. ammolabel4.BorderSizePixel = 0
  210. ammolabel4.TextScaled = true
  211. ammolabel4.Text = "Press F to equip your weapon."
  212. framesk5 = makeframe(scrn, 0.5, ud(0.13, 0, 0.49, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1))
  213. bar5 = makeframe(framesk5, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1))
  214. ammolabel4 = Instance.new("TextLabel", framesk5)
  215. ammolabel4.BackgroundTransparency = 1
  216. ammolabel4.Size = ud(1, 0, 1, 0)
  217. ammolabel4.Position = ud(0, 0, 0, 0)
  218. ammolabel4.TextColor3 = c3(255, 255, 255)
  219. ammolabel4.TextStrokeTransparency = 0
  220. ammolabel4.FontSize = Enum.FontSize.Size8
  221. ammolabel4.Font = Enum.Font.SourceSans
  222. ammolabel4.BorderSizePixel = 0
  223. ammolabel4.TextScaled = true
  224. ammolabel4.Text = "The keys for the abilities are: E, Z, X, C, and V. and G."
  225. animate = Character:findFirstChild("Animate")
  226. animate.Disabled = false
  227. CustomColor = Torso.BrickColor
  228. Colorpart1 = Torso.BrickColor.r
  229. Colorpart2 = Torso.BrickColor.g
  230. Colorpart3 = Torso.BrickColor.b
  231. mouse = Player:GetMouse()
  232. RW = Torso["Right Shoulder"]
  233. LW = Torso["Left Shoulder"]
  234. LH = Torso["Left Hip"]
  235. RH = Torso["Right Hip"]
  236. TorsoColor = Torso.BrickColor
  237. NoOutline = function(Part)
  238. Part.TopSurface = 10
  239. end
  240.  
  241. local weldBetween = function(a, b)
  242. local weldd = Instance.new("ManualWeld")
  243. weldd.Part0 = a
  244. weldd.Part1 = b
  245. weldd.C0 = CFrame.new()
  246. weldd.C1 = b.CFrame:inverse() * a.CFrame
  247. weldd.Parent = a
  248. return weldd
  249. end
  250.  
  251. swait = function(num)
  252. if num == 0 or num == nil then
  253. game:service("RunService").Stepped:wait(0)
  254. else
  255. for i = 0, num do
  256. game:service("RunService").Stepped:wait(0)
  257. end
  258. end
  259. end
  260.  
  261. fat = Instance.new("BindableEvent", script)
  262. fat.Name = "Heartbeat"
  263. script:WaitForChild("Heartbeat")
  264. frame = 0.033333333333333
  265. tf = 0
  266. allowframeloss = false
  267. tossremainder = false
  268. lastframe = tick()
  269. script.Heartbeat:Fire()
  270. game:GetService("RunService").Heartbeat:connect(function(s, p)
  271. tf = tf + s
  272. if frame <= tf then
  273. if allowframeloss then
  274. script.Heartbeat:Fire()
  275. lastframe = tick()
  276. else
  277. for i = 1, math.floor(tf / frame) do
  278. script.Heartbeat:Fire()
  279. end
  280. lastframe = tick()
  281. end
  282. if tossremainder then
  283. tf = 0
  284. else
  285. tf = tf - frame * math.floor(tf / frame)
  286. end
  287. end
  288. end
  289. )
  290. nooutline = function(part)
  291. part.TopSurface = 10
  292. end
  293.  
  294. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  295. local fp = it("Part")
  296. fp.formFactor = formfactor
  297. fp.Parent = parent
  298. fp.Reflectance = reflectance
  299. fp.Transparency = transparency
  300. fp.CanCollide = false
  301. fp.Locked = true
  302. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  303. fp.Name = name
  304. fp.Size = size
  305. fp.Position = Character.Torso.Position
  306. nooutline(fp)
  307. fp.Material = material
  308. fp:BreakJoints()
  309. return fp
  310. end
  311.  
  312. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  313. local mesh = it(Mesh)
  314. mesh.Parent = part
  315. if Mesh == "SpecialMesh" then
  316. mesh.MeshType = meshtype
  317. mesh.MeshId = meshid
  318. end
  319. mesh.Offset = offset
  320. mesh.Scale = scale
  321. return mesh
  322. end
  323.  
  324. weld = function(parent, part0, part1, c0, c1)
  325. local weld = it("Weld")
  326. weld.Parent = parent
  327. weld.Part0 = part0
  328. weld.Part1 = part1
  329. weld.C0 = c0
  330. weld.C1 = c1
  331. return weld
  332. end
  333.  
  334. m = Instance.new("Model", Character)
  335. m.Name = "STOP"
  336. Handle = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  337. Handleweld = weld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.14576721e-005, 1.00000191, 1.52587891e-005, -4.37113883e-008, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883e-008))
  338. mesh("SpecialMesh", Handle, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(35, 1.5, 1.5))
  339. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  340. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000118, -0.200000763, -1.1920929e-007, 1, 4.37113883e-008, 0, 0, 1.91068547e-015, 1, 4.37113883e-008, -1, 1.91068547e-015))
  341. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  342. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  343. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1283927, -0.200000763, -2.12839127, 0.707106948, 0.70710659, -1.28027615e-008, -1.28027615e-008, 3.0908609e-008, 1, 0.70710659, -0.707106948, 3.0908609e-008))
  344. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  345. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  346. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12839174, -0.200000763, -2.1283927, -0.70710659, 0.707106948, -7.46199973e-008, -7.46199973e-008, 3.09086268e-008, 1, 0.707106948, 0.70710659, 3.09086268e-008))
  347. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  348. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  349. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.200000763, 3.01000118, 1.91068547e-015, -1, -4.37113883e-008, -4.37113883e-008, -4.37113883e-008, 1, -1, 0, -4.37113883e-008))
  350. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  351. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  352. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724999547, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  353. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  354. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  355. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18500042, -0.210002899, -0.824999571, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  356. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  357. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  358. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.72500062, -0.210002899, 3.0350008, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008))
  359. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  360. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  361. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, -0.625000238, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  362. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  363. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  364. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.725000381, -0.210002899, 2.73500061, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008))
  365. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  366. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  367. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500023, -0.210002899, -0.305000544, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  368. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  369. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  370. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.1950016, -0.210002899, -0.30500102, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  371. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  372. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  373. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.305000186, -0.210002899, -3.34500217, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  374. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  375. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  376. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.015000701, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  377. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  378. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  379. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.0150001049, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  380. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  381. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  382. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998531, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  383. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  384. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  385. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.315000296, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  386. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  387. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  388. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.315001369, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  389. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  390. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  391. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998174, -0.210002899, -2.73500061, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  392. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  393. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  394. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500214, -0.210002899, 0.535002112, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  395. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  396. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  397. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.535001278, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  398. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  399. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  400. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.834999204, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015))
  401. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  402. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  403. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684997559, -0.210002899, -3.34500027, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  404. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  405. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  406. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684998512, -0.210002899, -3.04500103, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008))
  407. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  408. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  409. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000166, -0.189994812, 0.0100030899, 1, -4.37114025e-008, -1.58932352e-008, -1.58932387e-008, -5.96046377e-008, -1, 4.37114025e-008, 1, -5.96046341e-008))
  410. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  411. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  412. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1354661, -0.189994812, -2.12131977, 0.707106829, -0.707106769, 4.58097809e-008, -2.24173533e-008, -8.72021815e-008, -1, 0.707106769, 0.707106829, -7.75127234e-008))
  413. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  414. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  415. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12131834, -0.189994812, -2.13546705, -0.707106292, -0.707107246, -6.07109172e-008, 1.47268324e-007, -6.14099775e-008, -1, 0.707107246, -0.707106292, 1.47557884e-007))
  416. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
  417. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  418. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100032091, -0.189994812, 3.01000166, 2.60540156e-015, 1, -5.96046377e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, 3.55271368e-015, 1.58932636e-008))
  419. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
  420. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  421. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.735001564, -0.199996948, -3.34499979, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  422. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  423. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  424. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18499231, -0.199996948, -0.834997773, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  425. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  426. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  427. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735005498, -0.199996948, 3.03500223, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008))
  428. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  429. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  430. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499784, -0.200004578, -0.63499558, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  431. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  432. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  433. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.734998822, -0.199993134, 2.73499918, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008))
  434. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  435. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  436. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499594, -0.200000763, -0.315001726, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  437. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  438. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  439. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500494, -0.199996948, -0.31500113, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  440. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  441. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  442. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.315002918, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  443. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
  444. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  445. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.00499808788, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  446. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  447. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  448. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200000763, 0.00499856472, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  449. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  450. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  451. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154998422, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  452. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  453. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  454. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200004578, 0.305001616, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  455. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  456. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  457. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.305000901, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  458. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  459. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  460. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154993892, -0.199996948, -2.73500013, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  461. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  462. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  463. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.525003314, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  464. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  465. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  466. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.524998307, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  467. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  468. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  469. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.82499969, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008))
  470. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  471. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  472. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.34499884, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  473. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  474. Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  475. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.04500151, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008))
  476. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
  477. Hitbox = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0.899999976, 2.25, 2.25))
  478. Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 3.01000118, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008))
  479. Handleweld.Part0 = Torso
  480. Handleweld.Part1 = Handle
  481. Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0))
  482. if script.Parent.className ~= "HopperBin" then
  483. Tool = Instance.new("HopperBin")
  484. Tool.Parent = Backpack
  485. Tool.Name = "It\'s Time to Stop"
  486. script.Parent = Tool
  487. end
  488. Bin = script.Parent
  489. for i,v in pairs(Character:GetChildren()) do
  490. if v:IsA("Model") then
  491. for _,c in pairs(v:GetChildren()) do
  492. if c:IsA("Part") then
  493. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  494. end
  495. end
  496. end
  497. end
  498. so = function(id, par, vol, pit)
  499. coroutine.resume(coroutine.create(function()
  500. local sou = Instance.new("Sound", par or workspace)
  501. sou.Volume = vol
  502. sou.Pitch = pit or 1
  503. sou.SoundId = id
  504. swait()
  505. sou:play()
  506. game:GetService("Debris"):AddItem(sou, 6)
  507. end
  508. ))
  509. end
  510.  
  511. local CFrameFromTopBack = function(at, top, back)
  512. local right = top:Cross(back)
  513. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  514. end
  515.  
  516. Triangle = function(a, b, c)
  517. local edg1 = c - a:Dot(b - a.unit)
  518. local edg2 = a - b:Dot(c - b.unit)
  519. local edg3 = b - c:Dot(a - c.unit)
  520. if edg1 <= b - a.magnitude and edg1 >= 0 then
  521. a = a
  522. else
  523. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  524.  
  525. if edg2 <= c - b.magnitude and edg2 >= 0 then
  526. a = b
  527. else
  528. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  529.  
  530. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  531.  
  532. if edg3 <= a - c.magnitude and edg3 >= 0 then
  533. a = c
  534. else
  535. assert(false, "unreachable")
  536. end
  537. end
  538. end
  539. local len1 = c - a:Dot(b - a.unit)
  540. local len2 = b - a.magnitude - len1
  541. local width = a + b - a.unit * len1 - c.magnitude
  542. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  543. local list = {}
  544. local TrailColor = "Dark grey"
  545. if len1 > 0.01 then
  546. local w1 = Instance.new("WedgePart", m)
  547. game:GetService("Debris"):AddItem(w1, 5)
  548. w1.Material = "SmoothPlastic"
  549. w1.FormFactor = "Custom"
  550. w1.BrickColor = BrickColor.new(TrailColor)
  551. w1.Transparency = 0
  552. w1.Reflectance = 0
  553. w1.Material = "SmoothPlastic"
  554. w1.CanCollide = false
  555. NoOutline(w1)
  556. local sz = Vector3.new(0.2, width, len1)
  557. w1.Size = sz
  558. local sp = Instance.new("SpecialMesh", w1)
  559. sp.MeshType = "Wedge"
  560. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  561. w1:BreakJoints()
  562. w1.Anchored = true
  563. w1.Parent = workspace
  564. w1.Transparency = 0.7
  565. table.insert(Effects, {w1, "Disappear", 0.01})
  566. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  567. table.insert(list, w1)
  568. end
  569. do
  570. if len2 > 0.01 then
  571. local w2 = Instance.new("WedgePart", m)
  572. game:GetService("Debris"):AddItem(w2, 5)
  573. w2.Material = "SmoothPlastic"
  574. w2.FormFactor = "Custom"
  575. w2.BrickColor = BrickColor.new(TrailColor)
  576. w2.Transparency = 0
  577. w2.Reflectance = 0
  578. w2.Material = "SmoothPlastic"
  579. w2.CanCollide = false
  580. NoOutline(w2)
  581. local sz = Vector3.new(0.2, width, len2)
  582. w2.Size = sz
  583. local sp = Instance.new("SpecialMesh", w2)
  584. sp.MeshType = "Wedge"
  585. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  586. w2:BreakJoints()
  587. w2.Anchored = true
  588. w2.Parent = workspace
  589. w2.Transparency = 0.7
  590. table.insert(Effects, {w2, "Disappear", 0.01})
  591. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  592. table.insert(list, w2)
  593. end
  594. do
  595. return unpack(list)
  596. end
  597. end
  598. end
  599.  
  600. rayCast = function(Pos, Dir, Max, Ignore)
  601. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  602. end
  603.  
  604. function clerp(a,b,t)
  605. local qa = {QuaternionFromCFrame(a)}
  606. local qb = {QuaternionFromCFrame(b)}
  607. local ax, ay, az = a.x, a.y, a.z
  608. local bx, by, bz = b.x, b.y, b.z
  609. local _t = 1-t
  610. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  611. end
  612.  
  613. function QuaternionFromCFrame(cf)
  614. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  615. local trace = m00 + m11 + m22
  616. if trace > 0 then
  617. local s = math.sqrt(1 + trace)
  618. local recip = 0.5/s
  619. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  620. else
  621. local i = 0
  622. if m11 > m00 then
  623. i = 1
  624. end
  625. if m22 > (i == 0 and m00 or m11) then
  626. i = 2
  627. end
  628. if i == 0 then
  629. local s = math.sqrt(m00-m11-m22+1)
  630. local recip = 0.5/s
  631. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  632. elseif i == 1 then
  633. local s = math.sqrt(m11-m22-m00+1)
  634. local recip = 0.5/s
  635. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  636. elseif i == 2 then
  637. local s = math.sqrt(m22-m00-m11+1)
  638. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  639. end
  640. end
  641. end
  642.  
  643. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  644. local xs, ys, zs = x + x, y + y, z + z
  645. local wx, wy, wz = w*xs, w*ys, w*zs
  646. local xx = x*xs
  647. local xy = x*ys
  648. local xz = x*zs
  649. local yy = y*ys
  650. local yz = y*zs
  651. local zz = z*zs
  652. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  653. end
  654.  
  655. function QuaternionSlerp(a, b, t)
  656. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  657. local startInterp, finishInterp;
  658. if cosTheta >= 0.0001 then
  659. if (1 - cosTheta) > 0.0001 then
  660. local theta = math.acos(cosTheta)
  661. local invSinTheta = 1/math.sin(theta)
  662. startInterp = math.sin((1-t)*theta)*invSinTheta
  663. finishInterp = math.sin(t*theta)*invSinTheta
  664. else
  665. startInterp = 1-t
  666. finishInterp = t
  667. end
  668. else
  669. if (1+cosTheta) > 0.0001 then
  670. local theta = math.acos(-cosTheta)
  671. local invSinTheta = 1/math.sin(theta)
  672. startInterp = math.sin((t-1)*theta)*invSinTheta
  673. finishInterp = math.sin(t*theta)*invSinTheta
  674. else
  675. startInterp = t-1
  676. finishInterp = t
  677. end
  678. end
  679. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  680. end
  681.  
  682. rayCast = function(Pos, Dir, Max, Ignore)
  683. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  684. end
  685.  
  686. makegui = function(cframe, text)
  687. local a = math.random(-10, 10) / 100
  688. local c = Instance.new("Part")
  689. c.Transparency = 1
  690. Instance.new("BodyGyro").Parent = c
  691. c.Parent = workspace
  692. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  693. local f = Instance.new("BodyPosition")
  694. f.P = 2000
  695. f.D = 100
  696. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  697. f.position = c.Position + Vector3.new(0, 3, 0)
  698. f.Parent = c
  699. game:GetService("Debris"):AddItem(c, 6.5)
  700. c.CanCollide = false
  701. c.Parent = workspace
  702. c.CanCollide = false
  703. local bg = Instance.new("BillboardGui", c)
  704. bg.Adornee = c
  705. bg.Size = UDim2.new(1, 0, 1, 0)
  706. bg.StudsOffset = Vector3.new(0, 0, 0)
  707. bg.AlwaysOnTop = false
  708. local tl = Instance.new("TextLabel", bg)
  709. tl.BackgroundTransparency = 1
  710. tl.Size = UDim2.new(1, 0, 1, 0)
  711. tl.Text = text
  712. tl.Font = "SourceSansBold"
  713. tl.FontSize = "Size42"
  714. if crit == true then
  715. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  716. else
  717. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  718. end
  719. tl.TextStrokeTransparency = 0
  720. tl.TextScaled = true
  721. tl.TextWrapped = true
  722. coroutine.wrap(function()
  723. wait(2)
  724. for i = 1, 10 do
  725. swait()
  726. c.Transparency = 1
  727. tl.TextTransparency = tl.TextTransparency + 0.1
  728. end
  729. end
  730. )()
  731. end
  732.  
  733. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  734. if hit.Parent == nil then
  735. return
  736. end
  737. h = hit.Parent:FindFirstChild("Humanoid")
  738. for _,v in pairs(hit.Parent:children()) do
  739. if v:IsA("Humanoid") then
  740. h = v
  741. end
  742. end
  743. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  744. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  745. end
  746. if hit.Parent.className == "Hat" then
  747. hit = hit.Parent.Parent:findFirstChild("Head")
  748. end
  749. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  750. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  751. return
  752. end
  753. local blocked = false
  754. block = hit.Parent:findFirstChild("Block")
  755. if block ~= nil then
  756. print(block.className)
  757. if block.className == "NumberValue" and block.Value > 0 then
  758. blocked = true
  759. if decreaseblock == nil then
  760. block.Value = block.Value - 1
  761. end
  762. end
  763. if block.className == "IntValue" and block.Value > 0 then
  764. blocked = true
  765. if decreaseblock ~= nil then
  766. block.Value = block.Value - 1
  767. end
  768. end
  769. end
  770. if blocked == false then
  771. local D = math.random(minim, maxim) * damagea.Value
  772. if h.Parent:FindFirstChild("Stats") then
  773. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  774. else
  775. end
  776. if not h.Parent:FindFirstChild("Stats") then
  777. h.Health = h.Health - D
  778. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  779. local D = math.random(minim, maxim) * damagea.Value
  780. if h.Parent:FindFirstChild("Stats") then
  781. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  782. else
  783. end
  784. if not h.Parent:FindFirstChild("Stats") then
  785. h.Health = h.Health - D / 2
  786. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  787. if Type == "Knockdown" then
  788. local humanoid = hit.Parent.Humanoid
  789. humanoid.PlatformStand = true
  790. coroutine.resume(coroutine.create(function(Humanoid)
  791. fat.Event:wait()
  792. Humanoid.PlatformStand = false
  793. end
  794. ), humanoid)
  795. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  796. local bodvol = Instance.new("BodyVelocity")
  797. bodvol.velocity = angle * knockback
  798. bodvol.P = 5000
  799. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  800. bodvol.Parent = hit
  801. rl = Instance.new("BodyAngularVelocity")
  802. rl.P = 3000
  803. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  804. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  805. rl.Parent = hit
  806. game:GetService("Debris"):AddItem(bodvol, 0.5)
  807. game:GetService("Debris"):AddItem(rl, 0.5)
  808. elseif Type == "Normal" then
  809. local hitsoundchoose = math.random(1, 6)
  810. if hitsoundchoose == 1 then
  811. so("http://www.roblox.com/asset/?id=199149137", hit, 1, 1)
  812. elseif hitsoundchoose == 2 then
  813. so("http://www.roblox.com/asset/?id=199149186", hit, 1, 1)
  814. elseif hitsoundchoose == 3 then
  815. so("http://www.roblox.com/asset/?id=199149221", hit, 1, 1)
  816. elseif hitsoundchoose == 4 then
  817. so("http://www.roblox.com/asset/?id=199149235", hit, 1, 1)
  818. elseif hitsoundchoose == 5 then
  819. so("http://www.roblox.com/asset/?id=199149269", hit, 1, 1)
  820. elseif hitsoundchoose == 6 then
  821. so("http://www.roblox.com/asset/?id=199149297", hit, 1, 1)
  822. end
  823. vp = Instance.new("BodyVelocity")
  824. vp.P = 500
  825. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  826. if KnockbackType == 1 then
  827. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  828. elseif KnockbackType == 2 then
  829. vp.velocity = Property.CFrame.lookVector * knockback
  830. end
  831. if knockback > 0 then
  832. vp.Parent = hit.Parent.Torso
  833. end
  834. game:GetService("Debris"):AddItem(vp, 0.5)
  835. elseif Type == "QuietNormal" then
  836. vp = Instance.new("BodyVelocity")
  837. vp.P = 500
  838. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  839. if KnockbackType == 1 then
  840. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  841. elseif KnockbackType == 2 then
  842. vp.velocity = Property.CFrame.lookVector * knockback
  843. end
  844. if knockback > 0 then
  845. vp.Parent = hit.Parent.Torso
  846. end
  847. game:GetService("Debris"):AddItem(vp, 0.5)
  848. elseif Type == "MovementDebuff" then
  849. coroutine.resume(coroutine.create(function()
  850. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.2
  851. speed.Value = speed.Value + 0.2
  852. Humanoid.WalkSpeed = 16 * speed.Value
  853. wait(1)
  854. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.2
  855. speed.Value = speed.Value - 0.2
  856. Humanoid.WalkSpeed = 16 * speed.Value
  857. end
  858. ))
  859. vp = Instance.new("BodyVelocity")
  860. vp.P = 500
  861. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  862. if KnockbackType == 1 then
  863. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  864. elseif KnockbackType == 2 then
  865. vp.velocity = Property.CFrame.lookVector * knockback
  866. end
  867. if knockback > 0 then
  868. vp.Parent = hit.Parent.Torso
  869. end
  870. game:GetService("Debris"):AddItem(vp, 0.5)
  871. elseif Type == "CurseAura" then
  872. coroutine.resume(coroutine.create(function()
  873. local savethewalkspeed = hit.Parent.Humanoid.WalkSpeed
  874. hit.Parent.Humanoid.WalkSpeed = 0
  875. wait(0.25)
  876. hit.Parent.Humanoid.WalkSpeed = savethewalkspeed
  877. end
  878. ))
  879. vp = Instance.new("BodyVelocity")
  880. vp.P = 500
  881. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  882. if KnockbackType == 1 then
  883. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  884. elseif KnockbackType == 2 then
  885. vp.velocity = Property.CFrame.lookVector * knockback
  886. end
  887. if knockback > 0 then
  888. vp.Parent = hit.Parent.Torso
  889. end
  890. game:GetService("Debris"):AddItem(vp, 0.5)
  891. elseif Type == "Up" then
  892. local bodyVelocity = Instance.new("BodyVelocity")
  893. bodyVelocity.velocity = vt(0, 60, 0)
  894. bodyVelocity.P = 5000
  895. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  896. bodyVelocity.Parent = hit
  897. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  898. rl = Instance.new("BodyAngularVelocity")
  899. rl.P = 3000
  900. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  901. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  902. rl.Parent = hit
  903. game:GetService("Debris"):AddItem(rl, 0.5)
  904. elseif Type == "Snare" then
  905. wait()
  906. bp = Instance.new("BodyPosition")
  907. bp.P = 2000
  908. bp.D = 100
  909. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  910. bp.position = hit.Parent.Torso.Position
  911. bp.Parent = hit.Parent.Torso
  912. game:GetService("Debris"):AddItem(bp, 1)
  913. elseif Type == "Target" then
  914. so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  915. vp = Instance.new("BodyVelocity")
  916. vp.P = 500
  917. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  918. if KnockbackType == 1 then
  919. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  920. elseif KnockbackType == 2 then
  921. vp.velocity = Property.CFrame.lookVector * knockback
  922. end
  923. if knockback > 0 then
  924. vp.Parent = hit.Parent.Torso
  925. end
  926. game:GetService("Debris"):AddItem(vp, 0.5)
  927. end
  928. end
  929. debounce = Instance.new("BoolValue")
  930. debounce.Name = "DebounceHit"
  931. debounce.Parent = hit.Parent
  932. debounce.Value = true
  933. game:GetService("Debris"):AddItem(debounce, Delay)
  934. c = Instance.new("ObjectValue")
  935. c.Name = "creator"
  936. c.Value = Player
  937. c.Parent = h
  938. game:GetService("Debris"):AddItem(c, 0.5)
  939. CRIT = false
  940. hitDeb = true
  941. AttackPos = 6
  942. end
  943. end
  944. end
  945. end
  946.  
  947. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  948. for _,c in pairs(workspace:children()) do
  949. local hum = c:findFirstChild("Humanoid")
  950. if hum ~= nil then
  951. local head = c:findFirstChild("Torso")
  952. if head ~= nil then
  953. local targ = head.Position - Part.Position
  954. local mag = targ.magnitude
  955. if mag <= magni and c.Name ~= Player.Name then
  956. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1)
  957. end
  958. end
  959. end
  960. end
  961. end
  962.  
  963. Lightning = function(p0, p1, tym, ofs, brickcolor, th, tra, last)
  964. local magz = p0 - p1.magnitude
  965. local curpos = p0
  966. local trz = {-ofs, ofs}
  967. for i = 1, tym do
  968. local li = Instance.new("Part", workspace)
  969. do
  970. li.TopSurface = 0
  971. li.BottomSurface = 0
  972. li.Anchored = true
  973. li.Transparency = tra or 0.4
  974. li.BrickColor = brickcolor
  975. li.formFactor = "Custom"
  976. li.CanCollide = false
  977. li.Size = Vector3.new(th, th, magz / tym)
  978. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  979. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  980. if tym == i then
  981. local magz2 = (curpos - p1).magnitude
  982. li.Size = Vector3.new(th, th, magz2)
  983. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  984. else
  985. do
  986. do
  987. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  988. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  989. game.Debris:AddItem(li, last)
  990. coroutine.resume(coroutine.create(function()
  991. while li.Transparency ~= 1 do
  992. for i = 0, 1, last do
  993. fat.Event:wait()
  994. li.Transparency = li.Transparency + 0.1 / last
  995. end
  996. end
  997. end
  998. ))
  999. end
  1000. -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1001.  
  1002. -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_STMT
  1003.  
  1004. -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out DO_STMT
  1005.  
  1006. end
  1007. end
  1008. end
  1009. end
  1010. end
  1011.  
  1012. JumpEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1013. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1014. prt.Anchored = true
  1015. prt.CanCollide = false
  1016. prt.CFrame = cframe * angles(math.rad(90), 0, 0)
  1017. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1018. game:GetService("Debris"):AddItem(prt, 10)
  1019. coroutine.resume(coroutine.create(function(Part, Mesh)
  1020. for i = 0, 1, delay do
  1021. fat.Event:wait()
  1022. Part.CFrame = Part.CFrame
  1023. Part.Transparency = i
  1024. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1025. end
  1026. Part.Parent = nil
  1027. end
  1028. ), prt, msh)
  1029. end
  1030.  
  1031. Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1032. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1033. prt.Anchored = true
  1034. prt.CFrame = cframe
  1035. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1036. game:GetService("Debris"):AddItem(prt, 4)
  1037. coroutine.resume(coroutine.create(function(Part, Mesh)
  1038. for i = 0, 1, delay do
  1039. fat.Event:wait()
  1040. Part.CFrame = Part.CFrame
  1041. Part.Transparency = i
  1042. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1043. end
  1044. Part.Parent = nil
  1045. end
  1046. ), prt, msh)
  1047. end
  1048.  
  1049. OrbEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1050. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1051. prt.Anchored = true
  1052. prt.CanCollide = false
  1053. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1054. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1055. game:GetService("Debris"):AddItem(prt, 10)
  1056. coroutine.resume(coroutine.create(function(Part, Mesh)
  1057. for i = 0, 1, delay do
  1058. fat.Event:wait()
  1059. Part.CFrame = Part.CFrame
  1060. Part.Transparency = i
  1061. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1062. end
  1063. Part.Parent = nil
  1064. end
  1065. ), prt, msh)
  1066. end
  1067.  
  1068. BlockShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1069. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1070. prt.Anchored = true
  1071. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1072. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1073. game:GetService("Debris"):AddItem(prt, 10)
  1074. coroutine.resume(coroutine.create(function(Part, Mesh)
  1075. for i = 0, 1, delay do
  1076. fat.Event:wait()
  1077. Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1078. Part.Transparency = i
  1079. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1080. end
  1081. Part.Parent = nil
  1082. end
  1083. ), prt, msh)
  1084. end
  1085.  
  1086. RainbowBlockShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay)
  1087. local rainbowcolor = BrickColor.new(0)
  1088. local prt = part(3, workspace, "SmoothPlastic", 0, 0, rainbowcolor, "Effect", vt(0.5, 0.5, 0.5))
  1089. prt.Anchored = true
  1090. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1091. prt.Material = "Neon"
  1092. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1093. game:GetService("Debris"):AddItem(prt, 10)
  1094. coroutine.resume(coroutine.create(function()
  1095. while prt.Parent ~= nil do
  1096. wait()
  1097. rainbowcolor = BrickColor.new(23)
  1098. wait()
  1099. rainbowcolor = BrickColor.new(107)
  1100. wait()
  1101. rainbowcolor = BrickColor.new(37)
  1102. wait()
  1103. rainbowcolor = BrickColor.new(119)
  1104. wait()
  1105. rainbowcolor = BrickColor.new(24)
  1106. wait()
  1107. rainbowcolor = BrickColor.new(106)
  1108. wait()
  1109. rainbowcolor = BrickColor.new(21)
  1110. wait()
  1111. rainbowcolor = BrickColor.new(104)
  1112. end
  1113. end
  1114. ))
  1115. coroutine.resume(coroutine.create(function(Part, Mesh)
  1116. for i = 0, 1, delay do
  1117. fat.Event:wait()
  1118. Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1119. Part.Transparency = i
  1120. Part.BrickColor = rainbowcolor
  1121. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1122. end
  1123. Part.Parent = nil
  1124. end
  1125. ), prt, msh)
  1126. end
  1127.  
  1128. RainbowCylinderShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay)
  1129. local rainbowcolor = BrickColor.new(0)
  1130. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1131. prt.Anchored = true
  1132. prt.CFrame = cframe
  1133. prt.Material = "Neon"
  1134. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1135. game:GetService("Debris"):AddItem(prt, 10)
  1136. coroutine.resume(coroutine.create(function()
  1137. while prt.Parent ~= nil do
  1138. wait()
  1139. rainbowcolor = BrickColor.new(23)
  1140. wait()
  1141. rainbowcolor = BrickColor.new(107)
  1142. wait()
  1143. rainbowcolor = BrickColor.new(37)
  1144. wait()
  1145. rainbowcolor = BrickColor.new(119)
  1146. wait()
  1147. rainbowcolor = BrickColor.new(24)
  1148. wait()
  1149. rainbowcolor = BrickColor.new(106)
  1150. wait()
  1151. rainbowcolor = BrickColor.new(21)
  1152. wait()
  1153. rainbowcolor = BrickColor.new(104)
  1154. end
  1155. end
  1156. ))
  1157. coroutine.resume(coroutine.create(function(Part, Mesh)
  1158. for i = 0, 1, delay do
  1159. fat.Event:wait()
  1160. Part.BrickColor = rainbowcolor
  1161. Part.Transparency = i
  1162. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1163. end
  1164. Part.Parent = nil
  1165. end
  1166. ), prt, msh)
  1167. end
  1168.  
  1169. CylinderShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1170. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1171. prt.Anchored = true
  1172. prt.CFrame = cframe
  1173. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1174. game:GetService("Debris"):AddItem(prt, 10)
  1175. coroutine.resume(coroutine.create(function(Part, Mesh)
  1176. for i = 0, 1, delay do
  1177. fat.Event:wait()
  1178. Part.Transparency = i
  1179. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1180. end
  1181. Part.Parent = nil
  1182. end
  1183. ), prt, msh)
  1184. end
  1185.  
  1186. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1187. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1188. prt.Anchored = true
  1189. prt.CFrame = cframe
  1190. prt.Material = "Neon"
  1191. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1192. game:GetService("Debris"):AddItem(prt, 10)
  1193. coroutine.resume(coroutine.create(function(Part, Mesh)
  1194. for i = 0, 1, delay do
  1195. fat.Event:wait()
  1196. Part.Transparency = i
  1197. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1198. end
  1199. Part.Parent = nil
  1200. end
  1201. ), prt, msh)
  1202. end
  1203.  
  1204. Laser2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1205. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1206. prt.Anchored = true
  1207. prt.CFrame = cframe
  1208. prt.Material = "Neon"
  1209. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1210. game:GetService("Debris"):AddItem(prt, 10)
  1211. coroutine.resume(coroutine.create(function(Part, Mesh)
  1212. for i = 0, 1, delay do
  1213. fat.Event:wait()
  1214. Part.Transparency = i
  1215. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1216. end
  1217. Part.Parent = nil
  1218. end
  1219. ), prt, msh)
  1220. end
  1221.  
  1222. Laser3 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1223. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1224. prt.Anchored = true
  1225. prt.CFrame = cframe
  1226. prt.Material = "Neon"
  1227. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1228. game:GetService("Debris"):AddItem(prt, 10)
  1229. coroutine.resume(coroutine.create(function(Part, Mesh)
  1230. for i = 0, 1, delay do
  1231. fat.Event:wait()
  1232. Part.Transparency = i
  1233. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1234. end
  1235. Part.Parent = nil
  1236. end
  1237. ), prt, msh)
  1238. end
  1239.  
  1240. SphereShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1241. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1242. prt.Anchored = true
  1243. prt.CFrame = cframe
  1244. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1245. game:GetService("Debris"):AddItem(prt, 10)
  1246. coroutine.resume(coroutine.create(function(Part, Mesh)
  1247. for i = 0, 1, delay do
  1248. fat.Event:wait()
  1249. Part.Transparency = i
  1250. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1251. end
  1252. Part.Parent = nil
  1253. end
  1254. ), prt, msh)
  1255. end
  1256.  
  1257. SphereShockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1258. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1259. prt.Anchored = true
  1260. prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)))
  1261. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1262. game:GetService("Debris"):AddItem(prt, 10)
  1263. coroutine.resume(coroutine.create(function(Part, Mesh)
  1264. for i = 0, 1, delay do
  1265. fat.Event:wait()
  1266. Part.Transparency = i
  1267. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1268. end
  1269. Part.Parent = nil
  1270. end
  1271. ), prt, msh)
  1272. end
  1273.  
  1274. Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1275. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1276. prt.Anchored = true
  1277. prt.CFrame = cframe
  1278. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1279. game:GetService("Debris"):AddItem(prt, 10)
  1280. coroutine.resume(coroutine.create(function(Part, Mesh)
  1281. for i = 0, 1, delay do
  1282. fat.Event:wait()
  1283. Part.CFrame = Part.CFrame
  1284. Part.Transparency = i
  1285. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1286. end
  1287. Part.Parent = nil
  1288. end
  1289. ), prt, msh)
  1290. end
  1291.  
  1292. BashEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1293. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1294. prt.Anchored = true
  1295. prt.CFrame = cframe
  1296. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1297. game:GetService("Debris"):AddItem(prt, 10)
  1298. coroutine.resume(coroutine.create(function(Part, Mesh)
  1299. for i = 0, 1, delay do
  1300. fat.Event:wait()
  1301. Part.CFrame = Part.CFrame
  1302. Part.Transparency = i
  1303. Mesh.Scale = Mesh.Scale + vt(x2, y2, z2)
  1304. end
  1305. Part.Parent = nil
  1306. end
  1307. ), prt, msh)
  1308. end
  1309.  
  1310. leftlegangle = 0
  1311. leftlegcframe2 = 0
  1312. leftlegcframe3 = 0
  1313. rightlegangle = 0
  1314. rightlegcframe2 = 0
  1315. rightlegcframe3 = 0
  1316. leftarmangle = 0
  1317. rightarmangle = 0
  1318. MMouse = mouse
  1319. canidle = true
  1320. canwalk = true
  1321. local robloxidleanimation = Instance.new("Animation", Torso)
  1322. robloxidleanimation.Name = "robloxidleanimation"
  1323. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1324. RWC0 = cf(-0.5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(0))
  1325. LWC0 = cf(0.5, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0))
  1326. coroutine.resume(coroutine.create(function()
  1327. while wait() do
  1328. leftlegangle = -60
  1329. leftlegcframe3 = 0.1
  1330. leftlegcframe2 = 0.225
  1331. rightlegangle = 60
  1332. rightlegcframe3 = 0.2
  1333. rightlegcframe2 = -0.2
  1334. leftarmangle = -30
  1335. rightarmangle = 60
  1336. if speed.Value > 0.9 then
  1337. wait(0.375 / (speed.Value / 0.9))
  1338. elseif speed.Value == 0.9 or speed.Value < 0.9 then
  1339. wait(0.375)
  1340. end
  1341. leftlegangle = 60
  1342. leftlegcframe3 = -0.2
  1343. leftlegcframe2 = -0.2
  1344. rightlegangle = -60
  1345. rightlegcframe3 = -0.1
  1346. rightlegcframe2 = 0.225
  1347. leftarmangle = 60
  1348. rightarmangle = -30
  1349. if speed.Value > 0.9 then
  1350. wait(0.375 / (speed.Value / 0.9))
  1351. end
  1352. if speed.Value == 0.9 or speed.Value < 0.9 then
  1353. wait(0.375)
  1354. end
  1355. end
  1356. end
  1357. ))
  1358. leftarmidleangle = 0
  1359. rightarmidleangle = 0
  1360. headidleangle = 0
  1361. idlenumber = 0
  1362. coroutine.resume(coroutine.create(function()
  1363. while wait() do
  1364. wait()
  1365. idlenumber = idlenumber + 1
  1366. if idlenumber == 250 then
  1367. idlenumber = 0
  1368. leftarmidleangle = -25
  1369. rightarmidleangle = 25
  1370. headidleangle = 50
  1371. wait(2)
  1372. leftarmidleangle = 25
  1373. rightarmidleangle = -25
  1374. headidleangle = -50
  1375. wait(2)
  1376. leftarmidleangle = 0
  1377. rightarmidleangle = 0
  1378. headidleangle = 0
  1379. end
  1380. if attack == true or equipped == false or Anim ~= "Idle" then
  1381. idlenumber = 0
  1382. end
  1383. end
  1384. end
  1385. ))
  1386. canability1 = true
  1387. canability2 = true
  1388. canability3 = true
  1389. canability4 = true
  1390. equipanim = function()
  1391. attack = true
  1392. for i = 0, 1, 0.1 do
  1393. fat.Event:wait()
  1394. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1395. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  1396. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-50), math.rad(0), math.rad(-40)) * RWC0, 0.3)
  1397. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3)
  1398. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3)
  1399. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1400. end
  1401. Handleweld.Part0 = RightArm
  1402. Handleweld.Part1 = Handle
  1403. Handleweld.C0 = cf(0, 0, 0) * angles(math.rad(0), math.rad(145), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(0)) * cf(0, 0.25, 0)
  1404. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 1)
  1405. for i = 0, 1, 0.1 do
  1406. fat.Event:wait()
  1407. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1408. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1409. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3)
  1410. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3)
  1411. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3)
  1412. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1413. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3)
  1414. end
  1415. speed.Value = speed.Value - 0.1
  1416. attack = false
  1417. end
  1418.  
  1419. unequipanim = function()
  1420. attack = true
  1421. for i = 0, 1, 0.2 do
  1422. fat.Event:wait()
  1423. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1424. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1425. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3)
  1426. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3)
  1427. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3)
  1428. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1429. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3)
  1430. end
  1431. for i = 0, 1, 0.08 do
  1432. fat.Event:wait()
  1433. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3)
  1434. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  1435. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(-40)) * RWC0, 0.3)
  1436. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3)
  1437. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3)
  1438. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1439. Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 0.3)
  1440. end
  1441. Handleweld.Part0 = Torso
  1442. Handleweld.Part1 = Handle
  1443. Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0))
  1444. for i = 0, 1, 0.06 do
  1445. fat.Event:wait()
  1446. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1447. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 0.3)
  1449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 0.3)
  1450. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1451. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1452. end
  1453. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1454. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1455. speed.Value = speed.Value + 0.1
  1456. attack = false
  1457. end
  1458.  
  1459. attackone = function()
  1460. attack = true
  1461. for i = 0, 1, 0.16 do
  1462. fat.Event:wait()
  1463. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1464. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1465. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(20)) * RWC0, 0.3)
  1466. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-45)) * LWC0, 0.3)
  1467. RH.C0 = clerp(RH.C0, cf(0.75, -1, -0.25) * angles(math.rad(0), math.rad(150), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1468. LH.C0 = clerp(LH.C0, cf(-0.75, -1, 0.25) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1469. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1470. end
  1471. con1 = Hitbox.Touched:connect(function(hit)
  1472. Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1)
  1473. end
  1474. )
  1475. so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1.2)
  1476. for i = 0, 1, 0.16 do
  1477. fat.Event:wait()
  1478. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45)
  1479. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45)
  1480. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(5), math.rad(0)) * angles(math.rad(60), math.rad(0), math.rad(10)) * RWC0, 0.45)
  1481. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.45)
  1482. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1483. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.45)
  1484. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(0, 0, -1), 0.45)
  1485. end
  1486. con1:disconnect()
  1487. attack = false
  1488. end
  1489.  
  1490. attacktwo = function()
  1491. attack = true
  1492. for i = 0, 1, 0.16 do
  1493. fat.Event:wait()
  1494. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1495. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1496. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(-45)) * RWC0, 0.3)
  1497. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)) * LWC0, 0.3)
  1498. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1499. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1500. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(20), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3)
  1501. end
  1502. con1 = Hitbox.Touched:connect(function(hit)
  1503. Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1)
  1504. end
  1505. )
  1506. so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 1)
  1507. for i = 0, 1, 0.16 do
  1508. fat.Event:wait()
  1509. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45)
  1510. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45)
  1511. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)) * RWC0, 0.45)
  1512. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)) * LWC0, 0.45)
  1513. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45)
  1514. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45)
  1515. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3)
  1516. end
  1517. con1:disconnect()
  1518. attack = false
  1519. end
  1520.  
  1521. attackthree = function()
  1522. attack = true
  1523. for i = 0, 1, 0.16 do
  1524. fat.Event:wait()
  1525. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1526. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3)
  1527. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3)
  1528. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)) * LWC0, 0.3)
  1529. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1530. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1531. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1532. end
  1533. con1 = Hitbox.Touched:connect(function(hit)
  1534. Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1)
  1535. end
  1536. )
  1537. so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 0.8)
  1538. for i = 0, 1, 0.16 do
  1539. fat.Event:wait()
  1540. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30 - 360 * i)), 0.45)
  1541. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45)
  1542. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45)
  1543. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45)
  1544. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1545. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1546. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45)
  1547. end
  1548. for i = 0, 1, 0.16 do
  1549. fat.Event:wait()
  1550. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1551. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1552. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3)
  1553. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)) * LWC0, 0.3)
  1554. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1555. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1556. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3)
  1557. end
  1558. con1:disconnect()
  1559. attack = false
  1560. end
  1561.  
  1562. attackfour = function()
  1563. attack = true
  1564. for i = 0, 1, 0.16 do
  1565. fat.Event:wait()
  1566. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1567. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3)
  1568. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(135), math.rad(0)) * RWC0, 0.3)
  1569. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)) * LWC0, 0.3)
  1570. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1571. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1572. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1573. end
  1574. con1 = Hitbox.Touched:connect(function(hit)
  1575. Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1)
  1576. end
  1577. )
  1578. so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1)
  1579. for i = 0, 1, 0.12 do
  1580. fat.Event:wait()
  1581. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 3) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45)
  1582. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45)
  1583. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45)
  1584. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45)
  1585. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1586. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1587. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45)
  1588. end
  1589. so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 0.9)
  1590. for i = 0, 1, 0.12 do
  1591. fat.Event:wait()
  1592. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 4) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45)
  1593. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45)
  1594. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45)
  1595. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45)
  1596. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1597. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1598. Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45)
  1599. end
  1600. con1:disconnect()
  1601. attack = false
  1602. end
  1603.  
  1604. Stop = function()
  1605. attack = true
  1606. for i = 0, 1, 0.1 do
  1607. fat.Event:wait()
  1608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1609. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1610. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(135), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(30), math.rad(30)) * RWC0, 0.3)
  1611. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3)
  1612. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1613. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1614. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1615. end
  1616. for i = 0, 1, 0.1 do
  1617. fat.Event:wait()
  1618. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  1619. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(45)) * RWC0, 0.3)
  1621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)) * LWC0, 0.3)
  1622. RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * angles(math.rad(0), math.rad(45), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1623. LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1624. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1625. end
  1626. local stopsignref = part(3, Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1627. stopsignref.Anchored = true
  1628. stopsignref.CanCollide = false
  1629. stopsignref.Size = Vector3.new(0.2, 0.2, 0.2)
  1630. stopsignref.CFrame = RootPart.CFrame * cf(1.05, 0, -2.5) * angles(math.rad(0), math.rad(0), math.rad(0))
  1631. Handleweld.Part0 = stopsignref
  1632. Handleweld.Part1 = Handle
  1633. Handleweld.C0 = stopsignref.CFrame * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0))
  1634. coroutine.resume(coroutine.create(function()
  1635. while Handleweld.Part0 == stopsignref do
  1636. wait(0.5)
  1637. MagniDamage(stopsignref, 15, 5, 10, 0, "QuietNormal")
  1638. end
  1639. end
  1640. ))
  1641. for i = 1, math.random(2, 4) do
  1642. OrbEffect(CustomColor, stopsignref.CFrame * cf(0, 0, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  1643. end
  1644. coroutine.resume(coroutine.create(function()
  1645. while 1 do
  1646. wait()
  1647. if stopsignref.Parent ~= nil then
  1648. wait(0.1)
  1649. SphereShockwave(CustomColor, stopsignref.CFrame * cf(0, -2.95, 0), 50, 0.1, 50, 0.1, 0.1, 0.1, 0.1)
  1650. BlockShockwave(CustomColor, stopsignref.CFrame * cf(math.random(-6, 6), math.random(-2, 2), math.random(-6, 6)), 1, 1, 1, 0.5, 0.5, 0.5, 0.1)
  1651. JumpEffect(CustomColor, stopsignref.CFrame * cf(0, -2.9, 0), 25, 25, 0.1, 0.1, 0.1, 1, 0.1)
  1652. end
  1653. if Humanoid.Health < 0 or Humanoid.Health == 0 then
  1654. stopsignref:Destroy()
  1655. end
  1656. if (((equipped == false or equipped ~= true) or attack ~= false) and attack ~= true) or Handleweld.Part0 ~= stopsignref then
  1657. stopsignref:Destroy()
  1658. end
  1659. end
  1660. end
  1661. ))
  1662. attack = false
  1663. end
  1664.  
  1665. NoStop = function()
  1666. attack = true
  1667. speed.Value = speed.Value - 0.6
  1668. coroutine.resume(coroutine.create(function()
  1669. for i,v in pairs(m:children()) do
  1670. do
  1671. if v:IsA("Part") and v.Name ~= "Hitbox" then
  1672. do
  1673. coroutine.resume(coroutine.create(function()
  1674. for i = 0, 1, 0.1 do
  1675. fat.Event:wait()
  1676. v.Transparency = v.Transparency + 1 * i
  1677. end
  1678. v.Transparency = 1
  1679. end
  1680. ))
  1681. -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1682.  
  1683. -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_STMT
  1684.  
  1685. end
  1686. end
  1687. end
  1688. end
  1689. end
  1690. ))
  1691. for i = 0, 1, 0.1 do
  1692. fat.Event:wait()
  1693. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3)
  1694. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1695. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(70), math.rad(30)) * RWC0, 0.3)
  1696. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)) * LWC0, 0.3)
  1697. RH.C0 = clerp(RH.C0, cf(1, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1698. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-40), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1699. SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1)
  1700. JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1)
  1701. end
  1702. coroutine.resume(coroutine.create(function()
  1703. for i,v in pairs(m:children()) do
  1704. do
  1705. if v:IsA("Part") and v.Name ~= "Hitbox" then
  1706. do
  1707. coroutine.resume(coroutine.create(function()
  1708. for i = 0, 1, 0.1 do
  1709. fat.Event:wait()
  1710. v.Transparency = v.Transparency - 1 * i
  1711. end
  1712. v.Transparency = 0
  1713. end
  1714. ))
  1715. -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1716.  
  1717. -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_STMT
  1718.  
  1719. end
  1720. end
  1721. end
  1722. end
  1723. end
  1724. ))
  1725. Handleweld.Part0 = RootPart
  1726. Handleweld.Part1 = Handle
  1727. Handleweld.C0 = cf(-0.25, -8, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0)
  1728. so("http://roblox.com/asset/?id=203691785", Hitbox, 1, 1)
  1729. for i = 0, 1, 0.1 do
  1730. fat.Event:wait()
  1731. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1733. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(70), math.rad(0)) * RWC0, 0.3)
  1734. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * LWC0, 0.3)
  1735. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1736. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1737. Handleweld.C0 = clerp(Handleweld.C0, cf(-0.25, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0), 0.3)
  1738. SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1)
  1739. JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1)
  1740. end
  1741. Handleweld.Part0 = RightArm
  1742. Handleweld.Part1 = Handle
  1743. Handleweld.C0 = cf(1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * cf(0, 0, 0) * angles(math.rad(120), math.rad(-70), math.rad(0)) * angles(math.rad(0), math.rad(-70), math.rad(0)) * cf(1, 1, 1)
  1744. speed.Value = speed.Value + 0.6
  1745. attack = false
  1746. end
  1747.  
  1748. LaserThing = function(Part, Spread1, Spread2, Height1, Height2)
  1749. coroutine.resume(coroutine.create(function()
  1750. local risespeed = 0.08
  1751. local orbthingy = part(3, Character, "SmoothPlastic", 0, 1, CustomColor, "Orb Thingy", vt())
  1752. orbthingy.Anchored = true
  1753. orbthingy.CanCollide = false
  1754. local orbthingymesh = mesh("SpecialMesh", orbthingy, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
  1755. orbthingy.CFrame = Part.CFrame * cf(math.random(-10, 10), math.random(0, 10), math.random(-10, 10))
  1756. BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1)
  1757. so("http://roblox.com/asset/?id=183763498", orbthingy, 1, 1.2)
  1758. coroutine.resume(coroutine.create(function()
  1759. local cf1 = math.random(Height1, Height2) / 10
  1760. local cf2 = math.random(Spread1, Spread2) / 10
  1761. local cf3 = math.random(Spread1, Spread2) / 10
  1762. local n = 10
  1763. for i = 0, 1, risespeed do
  1764. fat.Event:wait()
  1765. orbthingy.Transparency = 1 - 0.5 * i
  1766. orbthingy.CFrame = orbthingy.CFrame * cf(cf2 * i * n, cf1 * i * n, cf3 * i * n) * angles(math.rad(0), math.rad(0), math.rad(0))
  1767. n = n - 0.8
  1768. end
  1769. end
  1770. ))
  1771. coroutine.resume(coroutine.create(function()
  1772. wait(1)
  1773. orbthingy.CFrame = orbthingy.CFrame * angles(math.rad(180), math.rad(0), math.rad(0))
  1774. local spread = vt(math.random(-1, 1) / 10, math.random(-1, 1) / 10, math.random(-1, 1) / 10)
  1775. local StartingPos = orbthingy.Position + vt(0, -1, 0)
  1776. local MouseLook = cf((orbthingy.Position + StartingPos) / 2, StartingPos + spread)
  1777. local hit, pos = rayCast(orbthingy.Position, MouseLook.lookVector, 999, Character)
  1778. local mag = (orbthingy.Position - pos).magnitude
  1779. CylinderShockwave(CustomColor, CFrame.new((StartingPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 2, 1, 0.5, 0, 0.5, 0.125)
  1780. BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1)
  1781. BlockShockwave(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075)
  1782. JumpEffect(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075)
  1783. local refpart = part(3, Character, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  1784. refpart.Anchored = true
  1785. refpart.CanCollide = false
  1786. refpart.CFrame = cf(pos)
  1787. game:getService("Debris"):AddItem(refpart, 2)
  1788. so("http://roblox.com/asset/?id=183763487", refpart, 1, 1)
  1789. MagniDamage(refpart, 10, 5, 10, 0, "Normal", RootPart)
  1790. if hit ~= nil then
  1791. Damagefunc(hit, 10, 20, 1, "Normal", RootPart, 0)
  1792. end
  1793. orbthingy.Parent = nil
  1794. end
  1795. ))
  1796. end
  1797. ))
  1798. end
  1799.  
  1800. local LaserTarget = RootPart
  1801. local spawninglasers = false
  1802. Lasers = function()
  1803. attack = true
  1804. spawninglasers = true
  1805. coroutine.resume(coroutine.create(function()
  1806. while spawninglasers == true do
  1807. LaserThing(Torso, -1, 1, 5, 10)
  1808. if Handleweld.Part0 == RightArm then
  1809. BlockShockwave(CustomColor, cf(Hitbox.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1)
  1810. else
  1811. if Handleweld.Part0 ~= RightArm then
  1812. BlockShockwave(CustomColor, RightArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1)
  1813. end
  1814. end
  1815. wait(0.1)
  1816. end
  1817. end
  1818. ))
  1819. for i = 1, 3 do
  1820. for i = 0, 1, 0.1 do
  1821. fat.Event:wait()
  1822. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1823. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1824. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)) * RWC0, 0.3)
  1825. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.3)
  1826. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1827. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1828. if Handleweld.Part0 == RightArm then
  1829. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3)
  1830. end
  1831. end
  1832. end
  1833. spawninglasers = false
  1834. attack = false
  1835. end
  1836.  
  1837. hold = false
  1838. ob1d = function(mouse)
  1839. if attack == true or equipped == false then
  1840. return
  1841. end
  1842. hold = true
  1843. if Handleweld.Part0 == RightArm then
  1844. if attacktype == 1 then
  1845. attacktype = 2
  1846. attackone()
  1847. else
  1848. if attacktype == 2 then
  1849. attacktype = 3
  1850. attacktwo()
  1851. else
  1852. if attacktype == 3 then
  1853. attacktype = 4
  1854. attackthree()
  1855. else
  1856. if attacktype == 4 then
  1857. attacktype = 1
  1858. attackfour()
  1859. end
  1860. end
  1861. end
  1862. end
  1863. end
  1864. coroutine.resume(coroutine.create(function()
  1865. for i = 1, 50 do
  1866. if attack == false then
  1867. swait(1)
  1868. end
  1869. end
  1870. if attack == false then
  1871. attacktype = 1
  1872. end
  1873. end
  1874. ))
  1875. end
  1876.  
  1877. ob1u = function(mouse)
  1878. hold = false
  1879. end
  1880.  
  1881. k = function(k)
  1882. if k == "f" and attack == false then
  1883. if equipped == false then
  1884. equipped = true
  1885. animate.Disabled = true
  1886. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1887. idleanimation:Play()
  1888. equipanim()
  1889. elseif equipped == true and Handleweld.Part0 == RightArm then
  1890. equipped = false
  1891. unequipanim()
  1892. swait(0)
  1893. animate.Disabled = false
  1894. end
  1895. end
  1896. if ((k == "e" and attack == false and equipped == true) or k == "z") and attack == false and equipped == true and canability1 == true then
  1897. if Handleweld.Part0 == RightArm then
  1898. Stop()
  1899. elseif Handleweld.Part0 ~= RightArm then
  1900. NoStop()
  1901. end
  1902. end
  1903. if k == "x" and attack == false and equipped == true and canability2 == true then
  1904. Lasers()
  1905. end
  1906. if k == "c" and attack == false and equipped == true and canability2 == true then
  1907. Stop()
  1908. Lasers()
  1909. Wait()
  1910. Lasers()
  1911. Wait()
  1912. Lasers()
  1913. Wait()
  1914. NoStop()
  1915. end
  1916. if k == "v" and attack == false and equipped == true and canability2 == true then
  1917. attackfour()
  1918. Wait()
  1919. Stop()
  1920. Wait()
  1921. Lasers()
  1922. Wait()
  1923. Lasers()
  1924. Wait()
  1925. Lasers()
  1926. Wait()
  1927. NoStop()
  1928. end
  1929. if k == "g" and attack == false and equipped == true and canability2 == true then
  1930. sound = Instance.new("Sound")
  1931. sound.SoundId = "rbxassetid://966262774"
  1932. sound.Parent = game.Workspace
  1933. sound:Play()
  1934. end
  1935. end
  1936. if k == "n" and attack == false and equipped == true and canability2 == true then
  1937. sound = Instance.new("Sound")
  1938. sound.SoundId = "rbxassetid://1168017798"
  1939. sound.Parent = game.Workspace
  1940. sound:Play()
  1941. end
  1942. k2 = function(k)
  1943. end
  1944.  
  1945. s = function(mouse)
  1946. mouse.Button1Down:connect(function()
  1947. ob1d(mouse)
  1948. end
  1949. )
  1950. mouse.Button1Up:connect(function()
  1951. ob1u(mouse)
  1952. end
  1953. )
  1954. mouse.KeyDown:connect(k)
  1955. mouse.KeyUp:connect(k2)
  1956. player = Player
  1957. ch = Character
  1958. MMouse = mouse
  1959. end
  1960.  
  1961. ds = function(mouse)
  1962. end
  1963.  
  1964. Bin.Selected:connect(s)
  1965. Bin.Deselected:connect(ds)
  1966. local donum = 0
  1967. local sine = 0
  1968. local change = 1
  1969. local val = 0
  1970. while 1 do
  1971. swait()
  1972. Humanoid.WalkSpeed = 16 * speed.Value
  1973. if 0 < speed.Value then
  1974. ammolabel.Text = "Speed [" .. speed.Value .. "]"
  1975. elseif speed.Value < 0 or speed.Value == 0 then
  1976. ammolabel.Text = "Speed [0]"
  1977. end
  1978. if 0 < damagea.Value then
  1979. ammolabel2.Text = "Damage [" .. damagea.Value .. "]"
  1980. elseif damagea.Value < 0 or damagea.Value == 0 then
  1981. ammolabel.Text = "Damage [0]"
  1982. end
  1983. if 0 < defense.Value then
  1984. ammolabel3.Text = "Defense [" .. defense.Value .. "]"
  1985. elseif defense.Value < 0 or defense.Value == 0 then
  1986. ammolabel.Text = "Defense [0]"
  1987. end
  1988. sine = sine + change
  1989. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1990. local velderp = RootPart.Velocity.y
  1991. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1992. if 0.5 <= donum then
  1993. handidle = true
  1994. elseif donum <= 0 then
  1995. handidle = false
  1996. end
  1997. if handidle == false then
  1998. donum = donum + 0.006
  1999. else
  2000. donum = donum - 0.006
  2001. end
  2002. if equipped == true or equipped == false then
  2003. if attack == false then
  2004. idle = idle + 1
  2005. else
  2006. idle = 0
  2007. end
  2008. if ((500 <= idle and attack ~= false) or 1 < RootPart.Velocity.y) and hitfloor == nil then
  2009. Anim = "Jump"
  2010. if attack == false and equipped == true and Handleweld.Part0 == RightArm then
  2011. fat.Event:wait()
  2012. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2013. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2014. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15)
  2015. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(30)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15)
  2016. RH.C0 = clerp(RH.C0, cf(1, -1, -0.25) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2017. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.25) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2018. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2019. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2020. if Handleweld.Part0 == RightArm then
  2021. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2022. end
  2023. elseif attack == false and equipped == true and Handleweld.Part0 ~= RightArm then
  2024. fat.Event:wait()
  2025. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2026. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2027. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(20)) * RWC0, 0.15)
  2028. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20)) * LWC0, 0.15)
  2029. RH.C0 = clerp(RH.C0, cf(1, -1, -0.25) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2030. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.25) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2031. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2032. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2033. end
  2034. if attack ~= true and equipped == true then
  2035. fat.Event:wait()
  2036. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2037. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2038. end
  2039. end
  2040. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2041. Anim = "Fall"
  2042. if attack == false and equipped == true and Handleweld.Part0 == RightArm then
  2043. fat.Event:wait()
  2044. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2045. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2046. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15)
  2047. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15)
  2048. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2049. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2050. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2051. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2052. if Handleweld.Part0 == RightArm then
  2053. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2054. end
  2055. elseif attack == false and equipped == true and Handleweld.Part0 ~= RightArm then
  2056. fat.Event:wait()
  2057. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2058. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2059. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)) * RWC0, 0.15)
  2060. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-10)) * LWC0, 0.15)
  2061. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2062. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2063. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2064. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2065. end
  2066. if attack == true and equipped == true then
  2067. fat.Event:wait()
  2068. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2069. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2070. end
  2071. end
  2072. if torvel < 1 and hitfloor ~= nil then
  2073. Anim = "Idle"
  2074. if attack == false and equipped == true then
  2075. --fat.Event:wait()
  2076. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.15)
  2077. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(30 + headidleangle)), 0.15)
  2078. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 + (donum) / 0.05 + rightarmidleangle), math.rad(0), math.rad(20 - (donum) / 0.05)) * RWC0, 0.15)
  2079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30 - (donum) / 0.05 + leftarmidleangle), math.rad(0), math.rad(-30 + (donum) / 0.05)) * LWC0, 0.15)
  2080. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.15)
  2081. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
  2082. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2083. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2084. if Handleweld.Part0 == RightArm then
  2085. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0.75) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2086. end
  2087. end
  2088. if attack == true and equipped == true and canidle == true then
  2089. fat.Event:wait()
  2090. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2091. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2092. end
  2093. end
  2094. if torvel > 2 and torvel < 22 and hitfloor ~= nil then
  2095. Anim = "Walk"
  2096. if attack == false and equipped == true and Handleweld.Part0 == RightArm then
  2097. fat.Event:wait()
  2098. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.15)
  2099. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.15)
  2100. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15)
  2101. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15)
  2102. RH.C0 = clerp(RH.C0, cf(1.05, -1, 0) * angles(math.rad(0), math.rad(105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2103. LH.C0 = clerp(LH.C0, cf(-1.05, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2104. RH.C1 = clerp(RH.C1, RHC1 * cf(0 + rightlegcframe3, 0 + rightlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + rightlegangle)), 0.175 * (speed.Value / 0.9))
  2105. LH.C1 = clerp(LH.C1, LHC1 * cf(0 + leftlegcframe3, 0 + leftlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 - leftlegangle)), 0.175 * (speed.Value / 0.9))
  2106. if Handleweld.Part0 == RightArm then
  2107. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2108. end
  2109. elseif attack == false and equipped == true and Handleweld.Part0 ~= RightArm then
  2110. fat.Event:wait()
  2111. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
  2112. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2113. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(-15), math.rad(0)) * RWC0, 0.15)
  2114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)) * angles(math.rad(0), math.rad(15), math.rad(0)) * LWC0, 0.15)
  2115. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2116. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2117. RH.C1 = clerp(RH.C1, RHC1 * cf(0 + rightlegcframe3, 0 + rightlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + rightlegangle)), 0.175 * (speed.Value / 0.9))
  2118. LH.C1 = clerp(LH.C1, LHC1 * cf(0 + leftlegcframe3, 0 + leftlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 - leftlegangle)), 0.175 * (speed.Value / 0.9))
  2119. end
  2120. if attack == true and equipped == true and canwalk == true then
  2121. fat.Event:wait()
  2122. RH.C1 = clerp(RH.C1, RHC1 * cf(0 + rightlegcframe3, 0 + rightlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + rightlegangle)), 0.175 * (speed.Value / 0.9))
  2123. LH.C1 = clerp(LH.C1, LHC1 * cf(0 + leftlegcframe3, 0 + leftlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 - leftlegangle)), 0.175 * (speed.Value / 0.9))
  2124. end
  2125. end
  2126. end
  2127. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement