Advertisement
Createok

Untitled

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