Advertisement
yoinkydoodlewastaken

stop again

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