Advertisement
lafur

Untitled

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