Advertisement
Rocco_T_

Untitled

Aug 5th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.47 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5.  
  6. --[[
  7. Script: Lost Astronaut
  8. Creator: FantasyOrchid
  9. Buyer: nicemegaladon
  10. Moves:
  11. Click) Kick
  12. Click) Punch
  13. E) Multi Orb Attack
  14. Q) Big Orb Attack (Aim your mouse)
  15. Price: 50R
  16. ]]
  17.  
  18. wait(1 / 60)
  19. Effects = { }
  20. Player = owner
  21. Character = Player.Character
  22. Humanoid = Character.Humanoid
  23. Mouse = Player:GetMouse()
  24. LeftArm = Character["Left Arm"]
  25. RightArm = Character["Right Arm"]
  26. LeftLeg = Character["Left Leg"]
  27. RightLeg = Character["Right Leg"]
  28. Head = Character.Head
  29. Torso = Character.Torso
  30. Camera = game.Workspace.CurrentCamera
  31. RootPart = Character.HumanoidRootPart
  32. RootJoint = RootPart.RootJoint
  33. attack = false
  34. Anim = 'Idle'
  35. attacktype = 1
  36. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  37. velocity = RootPart.Velocity.y
  38. sine = 0
  39. change = 1
  40. hobb = 0
  41. rest = 0
  42. looprevive = false
  43. mode = false
  44. revive = false
  45. Kaioken = 0
  46. debris = game:service'Debris'
  47. Create = LoadLibrary("RbxUtility").Create
  48.  
  49. ypcall(function()
  50. Character.Shirt:Remove()
  51. Character.Pants:Remove()
  52.  
  53. Shirt = Instance.new("Shirt",Character)
  54. Shirt.ShirtTemplate = "rbxassetid://250422397" -- Clothing Items
  55. Shirt.Name = "Shirt"
  56.  
  57. Pants = Instance.new("Pants",Character)
  58. Pants.PantsTemplate = "rbxassetid://250422453" -- Clothing Items
  59. Pants.Name = "Pants"
  60.  
  61. Character["Body Colors"].HeadColor = BrickColor.new("Institutional white") -- Body Colors
  62. Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white") -- Body Colors
  63. Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white") -- Body Colors
  64. Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white") -- Body Colors
  65. end)
  66. for i,v in pairs(Character:children()) do
  67. if v:IsA("Accessory") then
  68. v:Destroy()
  69. end
  70. end
  71. local P = Instance.new("Part", Character)
  72. P.CanCollide = false
  73. P.Size = Vector3.new(1.1, 1.13, 1.33)
  74. P.BrickColor = BrickColor.new("Really black")
  75. local M = Instance.new("SpecialMesh", P)
  76. M.MeshId = "rbxassetid://181343290"
  77. M.TextureId = "rbxassetid://181343313"
  78. M.Scale = Vector3.new(1.1, 1.1, 1.1)
  79. M.Offset = Vector3.new(0, 0, 0)
  80. local W = Instance.new("Weld", Character.Head)
  81. W.Part0 = Character.Head
  82. W.Part1 = P
  83. W.C0 = CFrame.Angles(0, math.rad(0), 0)
  84.  
  85. local m = Create("Model"){
  86. Parent = Character,
  87. Name = "WeaponModel",
  88. }
  89. Humanoid.Animator.Parent = nil
  90. Character.Animate.Parent = nil
  91.  
  92. local newWeld = function(part0, part1, c0, c1)
  93. local w = Create('Weld'){
  94. Parent = part0,
  95. Part0 = part0,
  96. Part1 = part1,
  97. C0 = c0,
  98. C1 = c1,
  99. }
  100. return w
  101. end
  102.  
  103. local function QuaternionFromCFrame(cf)
  104. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  105. local trace = m00 + m11 + m22
  106. if trace > 0 then
  107. local s = math.sqrt(1 + trace)
  108. local recip = 0.5/s
  109. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  110. else
  111. local i = 0
  112. if m11 > m00 then
  113. i = 1
  114. end
  115. if m22 > (i == 0 and m00 or m11) then
  116. i = 2
  117. end
  118. if i == 0 then
  119. local s = math.sqrt(m00-m11-m22+1)
  120. local recip = 0.5/s
  121. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  122. elseif i == 1 then
  123. local s = math.sqrt(m11-m22-m00+1)
  124. local recip = 0.5/s
  125. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  126. elseif i == 2 then
  127. local s = math.sqrt(m22-m00-m11+1)
  128. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  129. end
  130. end
  131. end
  132. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  133. local xs, ys, zs = x + x, y + y, z + z
  134. local wx, wy, wz = w*xs, w*ys, w*zs
  135. local xx = x*xs
  136. local xy = x*ys
  137. local xz = x*zs
  138. local yy = y*ys
  139. local yz = y*zs
  140. local zz = z*zs
  141. 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))
  142. end
  143. local function QuaternionSlerp(a, b, t)
  144. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  145. local startInterp, finishInterp;
  146. if cosTheta >= 0.0001 then
  147. if (1 - cosTheta) > 0.0001 then
  148. local theta = math.acos(cosTheta)
  149. local invSinTheta = 1/math.sin(theta)
  150. startInterp = math.sin((1-t)*theta)*invSinTheta
  151. finishInterp = math.sin(t*theta)*invSinTheta
  152. else
  153. startInterp = 1-t
  154. finishInterp = t
  155. end
  156. else
  157. if (1+cosTheta) > 0.0001 then
  158. local theta = math.acos(-cosTheta)
  159. local invSinTheta = 1/math.sin(theta)
  160. startInterp = math.sin((t-1)*theta)*invSinTheta
  161. finishInterp = math.sin(t*theta)*invSinTheta
  162. else
  163. startInterp = t-1
  164. finishInterp = t
  165. end
  166. end
  167. 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
  168. end
  169. function clerp(a,b,t)
  170. local qa = {QuaternionFromCFrame(a)}
  171. local qb = {QuaternionFromCFrame(b)}
  172. local ax, ay, az = a.x, a.y, a.z
  173. local bx, by, bz = b.x, b.y, b.z
  174. local _t = 1-t
  175. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  176. end
  177.  
  178. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  179. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  180.  
  181. RW = newWeld(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  182. LW = newWeld(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  183. RH = newWeld(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  184. LH = newWeld(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  185. RootJoint.C1 = CFrame.new(0, 0, 0)
  186. RootJoint.C0 = CFrame.new(0, 0, 0)
  187. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  188. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  189.  
  190. rarmc1 = RW.C1
  191. larmc1 = LW.C1
  192. rlegc1 = RH.C1
  193. llegc1 = LH.C1
  194.  
  195. local resetc1 = false
  196.  
  197. function PlayAnimationFromTable(table, speed, bool)
  198. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  199. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  200. RW.C0 = clerp(RW.C0, table[3], speed)
  201. LW.C0 = clerp(LW.C0, table[4], speed)
  202. RH.C0 = clerp(RH.C0, table[5], speed)
  203. LH.C0 = clerp(LH.C0, table[6], speed)
  204. if bool == true then
  205. if resetc1 == false then
  206. resetc1 = true
  207. RootJoint.C1 = RootJoint.C1
  208. Torso.Neck.C1 = Torso.Neck.C1
  209. RW.C1 = rarmc1
  210. LW.C1 = larmc1
  211. RH.C1 = rlegc1
  212. LH.C1 = llegc1
  213. end
  214. end
  215. end
  216.  
  217. ArtificialHB = Create("BindableEvent", script){
  218. Parent = script,
  219. Name = "Heartbeat",
  220. }
  221.  
  222. script:WaitForChild("Heartbeat")
  223.  
  224. frame = 1 / 30
  225. tf = 0
  226. allowframeloss = false
  227. tossremainder = false
  228. lastframe = tick()
  229. script.Heartbeat:Fire()
  230.  
  231. game:GetService("RunService").Heartbeat:connect(function(s, p)
  232. tf = tf + s
  233. if tf >= frame then
  234. if allowframeloss then
  235. script.Heartbeat:Fire()
  236. lastframe = tick()
  237. else
  238. for i = 1, math.floor(tf / frame) do
  239. script.Heartbeat:Fire()
  240. end
  241. lastframe = tick()
  242. end
  243. if tossremainder then
  244. tf = 0
  245. else
  246. tf = tf - frame * math.floor(tf / frame)
  247. end
  248. end
  249. end)
  250.  
  251. function swait(num)
  252. if num == 0 or num == nil then
  253. ArtificialHB.Event:wait()
  254. else
  255. for i = 0, num do
  256. ArtificialHB.Event:wait()
  257. end
  258. end
  259. end
  260.  
  261. function RemoveOutlines(part)
  262. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  263. end
  264.  
  265. CFuncs = {
  266. Part = {
  267. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  268. local Part = Create("Part"){
  269. Parent = Parent,
  270. Reflectance = Reflectance,
  271. Transparency = Transparency,
  272. CanCollide = false,
  273. Locked = true,
  274. BrickColor = BrickColor.new(tostring(BColor)),
  275. Name = Name,
  276. Size = Size,
  277. Material = Material,
  278. }
  279. RemoveOutlines(Part)
  280. return Part
  281. end;
  282. };
  283.  
  284. Mesh = {
  285. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  286. local Msh = Create(Mesh){
  287. Parent = Part,
  288. Offset = OffSet,
  289. Scale = Scale,
  290. }
  291. if Mesh == "SpecialMesh" then
  292. Msh.MeshType = MeshType
  293. Msh.MeshId = MeshId
  294. end
  295. return Msh
  296. end;
  297. };
  298.  
  299. Weld = {
  300. Create = function(Parent, Part0, Part1, C0, C1)
  301. local Weld = Create("Weld"){
  302. Parent = Parent,
  303. Part0 = Part0,
  304. Part1 = Part1,
  305. C0 = C0,
  306. C1 = C1,
  307. }
  308. return Weld
  309. end;
  310. };
  311.  
  312. Sound = {
  313. Create = function(id, par, vol, pit)
  314. local Sound = Create("Sound"){
  315. Volume = vol,
  316. Pitch = pit or 1,
  317. SoundId = "rbxassetid://" .. id,
  318. Parent = par or workspace,
  319. }
  320. Sound:play()
  321. game:GetService("Debris"):AddItem(Sound, 130)
  322. return Sound
  323. end;
  324. };
  325.  
  326. Decal = {
  327. Create = function(Color, Texture, Transparency, Name, Parent)
  328. local Decal = Create("Decal"){
  329. Color3 = Color,
  330. Texture = "rbxassetid://" .. Texture,
  331. Transparency = Transparency,
  332. Name = Name,
  333. Parent = Parent,
  334. }
  335. return Decal
  336. end;
  337. };
  338.  
  339. BillboardGui = {
  340. Create = function(Parent, Image, Position, Size)
  341. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  342. BillPar.CFrame = CFrame.new(Position)
  343. local Bill = Create("BillboardGui"){
  344. Parent = BillPar,
  345. Adornee = BillPar,
  346. Size = UDim2.new(1, 0, 1, 0),
  347. SizeOffset = Vector2.new(Size, Size),
  348. }
  349. local d = Create("ImageLabel", Bill){
  350. Parent = Bill,
  351. BackgroundTransparency = 1,
  352. Size = UDim2.new(1, 0, 1, 0),
  353. Image = "rbxassetid://" .. Image,
  354. }
  355. return BillPar
  356. end
  357. };
  358.  
  359. ParticleEmitter = {
  360. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  361. local Particle = Create("ParticleEmitter"){
  362. Parent = Parent,
  363. Color = ColorSequence.new(Color1, Color2),
  364. LightEmission = LightEmission,
  365. Size = Size,
  366. Texture = Texture,
  367. Transparency = Transparency,
  368. ZOffset = ZOffset,
  369. Acceleration = Accel,
  370. Drag = Drag,
  371. LockedToPart = LockedToPart,
  372. VelocityInheritance = VelocityInheritance,
  373. EmissionDirection = EmissionDirection,
  374. Enabled = Enabled,
  375. Lifetime = LifeTime,
  376. Rate = Rate,
  377. Rotation = Rotation,
  378. RotSpeed = RotSpeed,
  379. Speed = Speed,
  380. VelocitySpread = VelocitySpread,
  381. }
  382. return Particle
  383. end;
  384. };
  385.  
  386. CreateTemplate = {
  387.  
  388. };
  389. }
  390.  
  391. function rayCast(Position, Direction, Range, Ignore)
  392. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  393. end
  394.  
  395. FindNearestTorso = function(pos)
  396. local list = (game.Workspace:children())
  397. local torso = nil
  398. local dist = 1000
  399. local temp, human, temp2 = nil, nil, nil
  400. for x = 1, #list do
  401. temp2 = list[x]
  402. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  403. temp = temp2:findFirstChild("Torso")
  404. human = temp2:findFirstChild("Humanoid")
  405. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  406. local dohit = true
  407. if dohit == true then
  408. torso = temp
  409. dist = (temp.Position - pos).magnitude
  410. end
  411. end
  412. end
  413. end
  414. return torso, dist
  415. end
  416.  
  417. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  418. if hit.Parent == nil then
  419. return
  420. end
  421. local h = hit.Parent:FindFirstChild("Humanoid")
  422. for _, v in pairs(hit.Parent:children()) do
  423. if v.ClassName == "Humanoid" then
  424. h = v
  425. end
  426. end
  427. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  428. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  429. if hit.Parent.DebounceHit.Value == true then
  430. return
  431. end
  432. end
  433. local char = Create("ObjectValue"){
  434. Name = "creator",
  435. Value = game:service("Players").LocalPlayer,
  436. Parent = h,
  437. }
  438. game:GetService("Debris"):AddItem(char, .5)
  439. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  440. local blocked = false
  441. local block = hit.Parent:findFirstChild("Block")
  442. if block ~= nil then
  443. if block.className == "IntValue" then
  444. if block.Value > 0 then
  445. blocked = true
  446. block.Value = block.Value - 1
  447. print(block.Value)
  448. end
  449. end
  450. end
  451. local Damage = math.random(minim, maxim)
  452. h.Health = h.Health - Damage
  453. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(math.random(-10,10), 1.5, math.random(-10,10))), -Damage, 1.5, BrickColor.new("Crimson").Color)
  454. if Type == "Knockdown" then
  455. local hum = hit.Parent.Humanoid
  456. hum.PlatformStand = true
  457. coroutine.resume(coroutine.create(function(HHumanoid)
  458. swait(1)
  459. HHumanoid.PlatformStand = false
  460. end), hum)
  461. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  462. local bodvol = Create("BodyVelocity"){
  463. velocity = angle * knockback,
  464. P = 5000,
  465. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  466. Parent = hit,
  467. }
  468. local rl = Create("BodyAngularVelocity"){
  469. P = 3000,
  470. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  471. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  472. Parent = hit,
  473. }
  474. game:GetService("Debris"):AddItem(bodvol, .5)
  475. game:GetService("Debris"):AddItem(rl, .5)
  476. elseif Type == "Normal" then
  477. local vp = Create("BodyVelocity"){
  478. P = 500,
  479. maxForce = Vector3.new(math.huge, 0, math.huge),
  480. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  481. }
  482. if knockback > 0 then
  483. vp.Parent = hit.Parent.Torso
  484. end
  485. game:GetService("Debris"):AddItem(vp, .5)
  486. elseif Type == "Up" then
  487. local bodyVelocity = Create("BodyVelocity"){
  488. velocity = Vector3.new(0, 20, 0),
  489. P = 5000,
  490. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  491. Parent = hit,
  492. }
  493. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  494. elseif Type == "DarkUp" then
  495. coroutine.resume(coroutine.create(function()
  496. for i = 0, 1, 0.1 do
  497. swait()
  498. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  499. end
  500. end))
  501. local bodyVelocity = Create("BodyVelocity"){
  502. velocity = Vector3.new(0, 20, 0),
  503. P = 5000,
  504. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  505. Parent = hit,
  506. }
  507. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  508. elseif Type == "Snare" then
  509. local bp = Create("BodyPosition"){
  510. P = 2000,
  511. D = 100,
  512. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  513. position = hit.Parent.Torso.Position,
  514. Parent = hit.Parent.Torso,
  515. }
  516. game:GetService("Debris"):AddItem(bp, 1)
  517. elseif Type == "Freeze" then
  518. local BodPos = Create("BodyPosition"){
  519. P = 50000,
  520. D = 1000,
  521. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  522. position = hit.Parent.Torso.Position,
  523. Parent = hit.Parent.Torso,
  524. }
  525. local BodGy = Create("BodyGyro") {
  526. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  527. P = 20e+003,
  528. Parent = hit.Parent.Torso,
  529. cframe = hit.Parent.Torso.CFrame,
  530. }
  531. hit.Parent.Torso.Anchored = true
  532. coroutine.resume(coroutine.create(function(Part)
  533. swait(1.5)
  534. Part.Anchored = false
  535. end), hit.Parent.Torso)
  536. game:GetService("Debris"):AddItem(BodPos, 3)
  537. game:GetService("Debris"):AddItem(BodGy, 3)
  538. end
  539. local debounce = Create("BoolValue"){
  540. Name = "DebounceHit",
  541. Parent = hit.Parent,
  542. Value = true,
  543. }
  544. game:GetService("Debris"):AddItem(debounce, Delay)
  545. char = Create("ObjectValue"){
  546. Name = "creator",
  547. Value = Player,
  548. Parent = h,
  549. }
  550. game:GetService("Debris"):AddItem(char, .5)
  551. end
  552. end
  553.  
  554. function ShowDamage(Pos, Text, Time, Color)
  555. local Rate = (1 / 30)
  556. local Pos = (Pos or Vector3.new(0, 0, 0))
  557. local Text = (Text or "")
  558. local Time = (Time or 2)
  559. local Color = (Color or Color3.new(1, 0, 1))
  560. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  561. EffectPart.Anchored = true
  562. local BillboardGui = Create("BillboardGui"){
  563. Size = UDim2.new(3, 0, 3, 0),
  564. Adornee = EffectPart,
  565. Parent = EffectPart,
  566. }
  567. local TextLabel = Create("TextLabel"){
  568. BackgroundTransparency = 1,
  569. Size = UDim2.new(1, 0, 1, 0),
  570. Text = Text,
  571. Font = "SciFi",
  572. TextColor3 = Color,
  573. TextScaled = true,
  574. Parent = BillboardGui,
  575. }
  576. game.Debris:AddItem(EffectPart, (Time))
  577. EffectPart.Parent = game:GetService("Workspace")
  578. delay(0, function()
  579. local Frames = (Time / Rate)
  580. for Frame = 1, Frames do
  581. wait(Rate)
  582. local Percent = (Frame / Frames)
  583. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  584. TextLabel.TextTransparency = Percent
  585. end
  586. if EffectPart and EffectPart.Parent then
  587. EffectPart:Destroy()
  588. end
  589. end)
  590. end
  591.  
  592. local STDamage = false
  593. local Slamming = false
  594. local StrongPunch = false
  595. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  596. if Slamming == false then
  597. Explosions = Instance.new("Explosion", Part)
  598. Explosions.Visible = false
  599. Explosions.BlastPressure = 1000
  600. Explosions.BlastRadius = 5
  601. Explosions.Position = Part.Position
  602. Explosions.DestroyJointRadiusPercent = 0
  603. Explosions.ExplosionType = "CratersAndDebris"
  604. elseif Slamming == true then
  605. Explosions = Instance.new("Explosion", Part)
  606. Explosions.Visible = false
  607. Explosions.BlastPressure = 1000
  608. Explosions.BlastRadius = 10
  609. Explosions.Position = Part.Position
  610. Explosions.DestroyJointRadiusPercent = 0
  611. Explosions.ExplosionType = "CratersAndDebris"
  612. end
  613. if StrongPunch == true then
  614. Explosions = Instance.new("Explosion", Part)
  615. Explosions.Visible = false
  616. Explosions.BlastPressure = 10000
  617. Explosions.BlastRadius = 30
  618. Explosions.Position = Part.Position
  619. Explosions.DestroyJointRadiusPercent = 0
  620. Explosions.ExplosionType = "CratersAndDebris"
  621. end
  622. for _, char in pairs(workspace:children()) do
  623. local hum = char:findFirstChild("Humanoid")
  624. if hum ~= nil then
  625. local head = char:findFirstChild("Torso")
  626. if head ~= nil then
  627. local targ = head.Position - Part.Position
  628. local mag = targ.magnitude
  629. if mag <= Magnitude and char.Name ~= Player.Name then
  630. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  631. if STDamage == true then
  632. for i = 1, 10 do
  633. CamShake(1, 70000)
  634. end
  635. elseif STDamage == false then
  636. CamShake(1, 90000)
  637. end
  638. end
  639. end
  640. end
  641. end
  642. end
  643.  
  644. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  645. HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663e-008, 0.707106411, -8.19564079e-008, 1.00000119, -1.41561088e-007, -0.707106352, 1.38630043e-007, -0.707107484))
  646. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.399999917, 1.0999999))
  647. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.350002289, 0, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  648. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  649. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.62939453e-006, -0.400001526, 7.62939453e-006, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  650. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.299999893, 0.200000003))
  651. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300033569, -0.800000191, -0.44997406, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  652. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  653. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527e-006, 0.173647985, -0.984807968, -6.2584877e-007, 0.984808922, 0.173648104, 1.00000012, 1.02902288e-006, -2.77161598e-006))
  654. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  655. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  656. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317e-007, -0.996194839))
  657. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  658. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.300000012, 0.200000003))
  659. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.299995422, -0.800000191, 0.449989319, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  660. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
  661. PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, -0.150001526, 0.200012207, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  662. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  663. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449981689, -0.750000954, 0.250007629, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  664. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  665. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  666. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.449970245, 0.650001526, 3.21031663e-008, -1.00000119, -1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024, -1.00000024, 3.21031663e-008, 5.96046448e-008))
  667. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  668. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  669. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.449970245, -1.05000114, 0.300033569, -5.96046448e-008, 1.38630043e-007, 1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, -1.00000024, 3.21031663e-008, 5.96046448e-008))
  670. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  671. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  672. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449996948, -1.05000019, 0.300014496, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
  673. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  674. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  675. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.650009155, 0.449989319, 3.21031663e-008, -1.00000119, -1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  676. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  677. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  678. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.450012207, -0.750001907, 0.249996185, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
  679. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  680. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  681. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449985504, -0.800001144, 0.0500106812, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
  682. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  683. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  684. WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.44997406, -0.800002098, 0.0500030518, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
  685. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  686. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  687. THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  688. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.699999928, 1.20000005))
  689. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.328445435, -0.67606163, -0.323509216, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  690. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
  691. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354995728, 0.217259884, 0.408233643, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  692. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.700000048, 0.800000012))
  693. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.843423843, -1.0044136, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  694. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  695. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.60000014, 0.400000006, 1.39999998))
  696. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.793423653, -0.504411697, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  697. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  698. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.499999911, 1.19999993))
  699. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.198799133, -0.0796661377, -0.194431305, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  700. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  701. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563e-005, -1.04342794, -0.404396057, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  702. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  703. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
  704. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, -0.943422318, -1.35441589, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
  705. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  706. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  707. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.11920929, 0.416726112, -0.115348816, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  708. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.39999986, 1.19999993, 1.39999986))
  709. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.218803406, -0.55094862, 0.222564697, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  710. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
  711. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0691986084, 0.816726685, -0.165359497, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
  712. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
  713. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.331642151, 0.516366959, 0.335166931, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
  714. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  715. AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  716. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  717. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  718. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  719. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  720. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  721. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  722. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  723. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459e-006, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  724. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  725. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377e-005, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  726. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  727. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  728. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  729. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  730. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  731. HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  732. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  733. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200012207, -0.149997711, 0.360010147, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  734. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  735. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  736. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.30999851, 0.659896851, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  737. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  738. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  739. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199981689, -0.149998665, 0.359991074, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
  740. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  741. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  742. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 0.309997559, -0.0598983765, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  743. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  744. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  745. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309999466, 0.659896851, 5.96046519e-008, -1.41561088e-007, 1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  746. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  747. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  748. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.200003624, 0.150016785, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  749. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  750. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  751. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-006, -1.06000042, 0.490097046, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  752. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  753. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  754. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.299995422, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
  755. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  756. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  757. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.659999847, 0.490089417, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  758. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  759. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  760. WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, -1.30999947, -0.0598831177, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
  761. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  762. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  763. AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918e-005, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  764. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  765. HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  766. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  767. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  768. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  769. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  770. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  771. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  772. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  773. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836e-005, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  774. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  775. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  776. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  777. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  778. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  779. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  780. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  781. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309998512, 0.660064697, 5.96046519e-008, 1.41561088e-007, 1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  782. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  783. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  784. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.149998665, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  785. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  786. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  787. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.47955322e-005, -1.30999947, -0.060043335, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  788. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  789. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  790. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.150001526, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  791. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  792. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  793. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199836731, -0.149998665, 0.36003685, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  794. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  795. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  796. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, 0.659998894, 0.489944458, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  797. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  798. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  799. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199981689, -0.149999619, 0.360010147, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
  800. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  801. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  802. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.67028809e-005, 0.309998512, -0.0600509644, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  803. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  804. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  805. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.33514404e-005, -1.06000042, 0.489936829, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  806. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  807. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  808. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.200003624, 0.299987793, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  809. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  810. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  811. WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-006, -1.30999947, 0.660049438, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
  812. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  813. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  814. LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  815. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  816. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  817. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  818. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  819. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  820. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  821. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  822. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  823. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  824. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
  825. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  826. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  827. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  828. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  829. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  830. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  831. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  832. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  833. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  834. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  835. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  836. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
  837. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  838. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  839. LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
  840. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  841. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  842. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  843. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  844. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  845. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  846. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  847. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
  848. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  849. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  850. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
  851. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  852. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
  853. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  854. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  855. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  856. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  857. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  858. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
  859. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  860. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  861. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
  862. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  863. Shield = CFuncs.Part.Create(m, "Neon", 1, 0.5, "Bright blue", "Part", Vector3.new(9.1, 8.5, 0.2))
  864. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  865. Shield.Parent = nil
  866.  
  867.  
  868. for i,v in pairs(m:children()) do
  869. if v:IsA("Part") then
  870. v.Reflectance = 0.1
  871. end
  872. end
  873.  
  874. EffectModel = Create("Model"){
  875. Parent = Character,
  876. Name = "Effects",
  877. }
  878.  
  879. Effects = {
  880. Block = {
  881. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  882. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  883. prt.Anchored = true
  884. prt.CFrame = cframe
  885. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  886. game:GetService("Debris"):AddItem(prt, 10)
  887. if Type == 1 or Type == nil then
  888. table.insert(Effects, {
  889. prt,
  890. "Block1",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. elseif Type == 2 then
  898. table.insert(Effects, {
  899. prt,
  900. "Block2",
  901. delay,
  902. x3,
  903. y3,
  904. z3,
  905. msh
  906. })
  907. end
  908. end;
  909. };
  910.  
  911. Cylinder = {
  912. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  913. local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  917. game:GetService("Debris"):AddItem(prt, 2)
  918. Effects[#Effects + 1] = {
  919. prt,
  920. "Cylinder",
  921. delay,
  922. x3,
  923. y3,
  924. z3
  925. }
  926. end;
  927. };
  928.  
  929. Head = {
  930. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  931. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  932. prt.Anchored = true
  933. prt.CFrame = cframe
  934. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  935. game:GetService("Debris"):AddItem(prt, 10)
  936. table.insert(Effects, {
  937. prt,
  938. "Cylinder",
  939. delay,
  940. x3,
  941. y3,
  942. z3,
  943. msh
  944. })
  945. end;
  946. };
  947.  
  948. Sphere = {
  949. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  950. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  951. prt.Anchored = true
  952. prt.CFrame = cframe
  953. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  954. game:GetService("Debris"):AddItem(prt, 10)
  955. table.insert(Effects, {
  956. prt,
  957. "Cylinder",
  958. delay,
  959. x3,
  960. y3,
  961. z3,
  962. msh
  963. })
  964. end;
  965. };
  966.  
  967. Elect = {
  968. Create = function(cff, x, y, z)
  969. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  970. prt.Anchored = true
  971. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  972. prt.CFrame = CFrame.new(prt.Position)
  973. game:GetService("Debris"):AddItem(prt, 2)
  974. local xval = math.random() / 2
  975. local yval = math.random() / 2
  976. local zval = math.random() / 2
  977. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  978. table.insert(Effects, {
  979. prt,
  980. "Elec",
  981. 0.1,
  982. x,
  983. y,
  984. z,
  985. xval,
  986. yval,
  987. zval
  988. })
  989. end;
  990.  
  991. };
  992.  
  993. Ring = {
  994. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  995. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  996. prt.Anchored = true
  997. prt.CFrame = cframe
  998. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  999. game:GetService("Debris"):AddItem(prt, 10)
  1000. table.insert(Effects, {
  1001. prt,
  1002. "Cylinder",
  1003. delay,
  1004. x3,
  1005. y3,
  1006. z3,
  1007. msh
  1008. })
  1009. end;
  1010. };
  1011.  
  1012. Wave = {
  1013. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1014. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1015. prt.Anchored = true
  1016. prt.CFrame = cframe
  1017. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1018. game:GetService("Debris"):AddItem(prt, 10)
  1019. table.insert(Effects, {
  1020. prt,
  1021. "Cylinder",
  1022. delay,
  1023. x3,
  1024. y3,
  1025. z3,
  1026. msh
  1027. })
  1028. end;
  1029. };
  1030.  
  1031. Break = {
  1032. Create = function(brickcolor, cframe, x1, y1, z1)
  1033. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1034. prt.Anchored = true
  1035. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1036. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1037. local num = math.random(10, 50) / 1000
  1038. game:GetService("Debris"):AddItem(prt, 10)
  1039. table.insert(Effects, {
  1040. prt,
  1041. "Shatter",
  1042. num,
  1043. prt.CFrame,
  1044. math.random() - math.random(),
  1045. 0,
  1046. math.random(50, 100) / 100
  1047. })
  1048. end;
  1049. };
  1050.  
  1051. Fire = {
  1052. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1053. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1054. prt.Anchored = true
  1055. prt.CFrame = cframe
  1056. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1057. game:GetService("Debris"):AddItem(prt, 10)
  1058. table.insert(Effects, {
  1059. prt,
  1060. "Fire",
  1061. delay,
  1062. 1,
  1063. 1,
  1064. 1,
  1065. msh
  1066. })
  1067. end;
  1068. };
  1069.  
  1070. FireWave = {
  1071. Create = function(brickcolor, cframe, x1, y1, z1)
  1072. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1073. prt.Anchored = true
  1074. prt.CFrame = cframe
  1075. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1076. local d = Create("Decal"){
  1077. Parent = prt,
  1078. Texture = "rbxassetid://26356434",
  1079. Face = "Top",
  1080. }
  1081. local d = Create("Decal"){
  1082. Parent = prt,
  1083. Texture = "rbxassetid://26356434",
  1084. Face = "Bottom",
  1085. }
  1086. game:GetService("Debris"):AddItem(prt, 10)
  1087. table.insert(Effects, {
  1088. prt,
  1089. "FireWave",
  1090. 1,
  1091. 30,
  1092. math.random(400, 600) / 100,
  1093. msh
  1094. })
  1095. end;
  1096. };
  1097.  
  1098. Lightning = {
  1099. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1100. local magz = (p0 - p1).magnitude
  1101. local curpos = p0
  1102. local trz = {
  1103. -ofs,
  1104. ofs
  1105. }
  1106. for i = 1, tym do
  1107. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1108. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1109. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1110. li.Material = "Neon"
  1111. if tym == i then
  1112. local magz2 = (curpos - p1).magnitude
  1113. li.Size = Vector3.new(th, th, magz2)
  1114. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1115. table.insert(Effects, {
  1116. li,
  1117. "Disappear",
  1118. last
  1119. })
  1120. else
  1121. do
  1122. do
  1123. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1124. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1125. game.Debris:AddItem(li, 10)
  1126. table.insert(Effects, {
  1127. li,
  1128. "Disappear",
  1129. last
  1130. })
  1131. end
  1132. end
  1133. end
  1134. end
  1135. end
  1136. };
  1137.  
  1138. EffectTemplate = {
  1139.  
  1140. };
  1141. }
  1142.  
  1143. local Invisible = true
  1144.  
  1145. function Reappear()
  1146. for _, i in pairs(AdvancingFortress:children()) do
  1147. if i:IsA("BasePart") then
  1148. coroutine.resume(coroutine.create(function(Part)
  1149. for i = 0, 1, 0.3 do
  1150. swait()
  1151. Part.Transparency = - i
  1152. end
  1153. Part.Transparency = 0
  1154. end), i)
  1155. end
  1156. end
  1157. for _, i in pairs(m:children()) do
  1158. if i:IsA("BasePart") then
  1159. coroutine.resume(coroutine.create(function(Part)
  1160. for i = 0, 1, 0.3 do
  1161. swait()
  1162. Part.Transparency = i
  1163. end
  1164. Part.Transparency = 0
  1165. end), i)
  1166. end
  1167. end
  1168. end
  1169.  
  1170. function ReappearArmorOnly()
  1171. for _, i in pairs(m:children()) do
  1172. if i:IsA("BasePart") then
  1173. coroutine.resume(coroutine.create(function(Part)
  1174. for i = 0, 1, 0.3 do
  1175. swait()
  1176. Part.Transparency = i
  1177. end
  1178. Part.Transparency = 0.5
  1179. end), i)
  1180. end
  1181. end
  1182. end
  1183.  
  1184. function Disappear()
  1185. for _, i in pairs(AdvancingFortress:children()) do
  1186. if i:IsA("BasePart") then
  1187. coroutine.resume(coroutine.create(function(Part)
  1188. for i = 0, 1, 0.3 do
  1189. swait()
  1190. Part.Transparency = i
  1191. end
  1192. Part.Transparency = 1
  1193. end), i)
  1194. end
  1195. end
  1196. for _, i in pairs(m:children()) do
  1197. if i:IsA("BasePart") then
  1198. coroutine.resume(coroutine.create(function(Part)
  1199. for i = 0, 1, 0.3 do
  1200. swait()
  1201. Part.Transparency = i
  1202. end
  1203. Part.Transparency = 1
  1204. end), i)
  1205. end
  1206. end
  1207. end
  1208.  
  1209. function DisappearArmorOnly()
  1210. for _, i in pairs(m:children()) do
  1211. if i:IsA("BasePart") then
  1212. coroutine.resume(coroutine.create(function(Part)
  1213. for i = 0, 1, 0.3 do
  1214. swait()
  1215. Part.Transparency = i
  1216. end
  1217. Part.Transparency = 1
  1218. end), i)
  1219. end
  1220. end
  1221. end
  1222.  
  1223. function CamShake(time, freq)
  1224. coroutine.resume(coroutine.create(function()
  1225. local cam = game:GetService("Workspace").CurrentCamera
  1226. local time = 10
  1227. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1228. if math.random(1, 2) == 1 then seed = Vector3.new(-seed.x, seed.y, 0) end
  1229. if math.random(1, 2) == 1 then seed = Vector3.new(seed.x, -seed.y, 0) end
  1230. cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1231. for i = 1, time do
  1232. cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1233. wait()
  1234. end
  1235. end))
  1236. end
  1237.  
  1238. Mouse.Button1Down:connect(function()
  1239. if attack == false and attacktype == 1 then
  1240. attacktype = 2
  1241. attackone()
  1242. elseif attack == false and attacktype == 2 then
  1243. attacktype = 1
  1244. attacktwo()
  1245. end
  1246. end)
  1247.  
  1248. game.Lighting.Outlines = false
  1249.  
  1250. function attackone()
  1251. attack = true
  1252. for i = 0, 1, 0.12 do
  1253. swait()
  1254. PlayAnimationFromTable({
  1255. CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1256. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1257. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1260. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1261. }, .3, false)
  1262. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1263. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1264. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1265. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1266. end
  1267. MagnitudeDamage(HitboxR, 5, 10, 20, math.random(0, 0), "Normal", "260430079", 1)
  1268. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1269. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1270. for i = 0, 1, 0.11 do
  1271. swait()
  1272. PlayAnimationFromTable({
  1273. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1274. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1275. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1276. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1277. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1278. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1279. }, .45, false)
  1280. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1281. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1282. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1283. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1284. end
  1285. attack = false
  1286. end
  1287.  
  1288. function attacktwo()
  1289. attack = true
  1290. for i = 0, 1, 0.8 do
  1291. swait()
  1292. PlayAnimationFromTable({
  1293. CFrame.new(0.00015424937, -0.0303910244, 0.172732353, 0.707106054, -1.36977135e-007, -0.707107484, -0.241844028, 0.939693153, -0.241843715, 0.664464056, 0.342018902, 0.664462626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1294. CFrame.new(-0.0900346041, 1.53916931, -0.0900347233, 0.707106054, -0.241844028, 0.664464056, -1.36977135e-007, 0.939693153, 0.342018902, -0.707107484, -0.241843715, 0.664462626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1295. CFrame.new(1.54832983, 0.2894032, 0.329475105, 0.910240293, -0.411981106, -0.0416468978, 0.371504784, 0.768086612, 0.521562576, -0.182885468, -0.490219176, 0.852196038) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1296. CFrame.new(-1.68712711, 0.311459482, 0.3278009, 0.836423278, 0.536408186, -0.11252743, -0.403283268, 0.741368711, 0.536409497, 0.371158689, -0.403284907, 0.836422443) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1297. CFrame.new(0.788507879, -1.88569379, 0.155615538, 0.891722381, -0.274265081, 0.360013813, 0.116977148, 0.908105969, 0.402069658, -0.437204301, -0.316421092, 0.841861069) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1298. CFrame.new(-0.70507884, -0.807403564, -0.520998418, 0.734425247, 0.0872097909, 0.673063159, -0.0274242759, 0.994713306, -0.0989620388, -0.678135276, 0.0542218834, 0.732934237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1299. }, .8, false)
  1300. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1301. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1302. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1303. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1304. end
  1305. CFuncs.Sound.Create("200632136", LeftLeg, .3, math.random(1, 1.2))
  1306. MagnitudeDamage(LeftLeg, 7, 10, 15, 0, "Normal", "260430060", 1)
  1307. for i = 0, 1, 0.8 do
  1308. swait()
  1309. PlayAnimationFromTable({
  1310. CFrame.new(0.000153645873, -0.22751689, 0.07635656, 0.707106054, -5.26835073e-008, -0.707107484, -0.122787014, 0.984807968, -0.122786865, 0.696365058, 0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(-0.0900349915, 1.53916812, -0.0900349319, 0.707106054, -0.241843998, 0.664464056, -5.26835073e-008, 0.939693153, 0.342018783, -0.707107484, -0.241843611, 0.664462686) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. CFrame.new(1.71330678, 0.609134197, 0.494451642, 0.798460722, -0.570534825, -0.192225158, 0.525007725, 0.503572106, 0.68613565, -0.294665128, -0.648771942, 0.701617837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1313. CFrame.new(-1.5747292, 0.538585067, 0.559931517, 0.823553085, 0.541512251, 0.168892533, -0.481333375, 0.509595573, 0.713183403, 0.300130665, -0.668637991, 0.680326998) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1314. CFrame.new(0.761081278, -1.79488313, 0.123973221, 0.891722023, -0.241844088, 0.382548481, 0.116976976, 0.939693153, 0.321392685, -0.437205136, -0.241843581, 0.866235197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1315. CFrame.new(-1.52726746, -1.01843166, -0.946048379, 0.710156322, 0.662300229, -0.238822937, -0.508035719, 0.247218758, -0.825095534, -0.487419516, 0.707277417, 0.512036085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.random(math.rad(-20),math.rad(20)), math.random(math.rad(-30),math.rad(60))),
  1316. }, .8, false)
  1317. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1318. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1319. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1320. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1321. end
  1322. attack = false
  1323. end
  1324.  
  1325. findNearestTorso = function(pos)
  1326. local list = (game.Workspace:children())
  1327. local torso = nil
  1328. local dist = 1000
  1329. local temp, human, temp2 = nil, nil, nil
  1330. for x = 1, #list do
  1331. temp2 = list[x]
  1332. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1333. temp = temp2:findFirstChild("Torso")
  1334. human = temp2:findFirstChild("Humanoid")
  1335. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  1336. local dohit = true
  1337. if dohit == true then
  1338. torso = temp
  1339. dist = (temp.Position - pos).magnitude
  1340. end
  1341. end
  1342. end
  1343. end
  1344. return torso, dist
  1345. end
  1346.  
  1347. function MultiOrbAttack()
  1348. attack = true
  1349. for i = 0, 1, 0.1 do
  1350. swait()
  1351. PlayAnimationFromTable({
  1352. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1353. CFrame.new(-0.162433833, 1.49999774, 0, 0.978860497, -0.204539478, 0, 0.204539478, 0.978860497, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1354. CFrame.new(1.50000381, 1.96567178, 0.133120686, 1, 0, 0, 0, -0.997715592, 0.0675679892, 0, -0.0675679147, -0.997717202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1355. CFrame.new(-1.59766746, 0.00914002955, 0, 0.995649457, 0.0931791961, 0, -0.0931792036, 0.995649457, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1356. CFrame.new(0.5, -1.99999702, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1357. CFrame.new(-0.5, -1.99999702, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1358. }, .3, false)
  1359. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1360. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1361. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1362. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1363. end
  1364. for i = 0, 1, 0.06 do
  1365. swait()
  1366. PlayAnimationFromTable({
  1367. CFrame.new(0, 0.162510097, 0.38895905, 1, 0, 0, 0, 0.571922064, 0.820308089, 0, -0.820308089, 0.571922064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1368. CFrame.new(2.57045031e-07, 1.49998784, 1.30534172e-05, 0.984818339, -0.164854109, 0.0543694124, 0.165525496, 0.797479153, -0.580197155, 0.0522894673, 0.580389142, 0.812659144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1369. CFrame.new(1.47650206, 1.26494956, -0.688362539, 0.997335255, -0.00380637683, 0.0728777125, 0.0417370051, -0.789443731, -0.612404227, 0.0598638915, 0.613813102, -0.787179589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1370. CFrame.new(-1.4608196, 0.0444534346, 0.407487094, 0.997198284, 0.00275915279, 0.0747666731, -0.0427889042, 0.840790749, 0.53966701, -0.061374139, -0.541353226, 0.838552773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1371. CFrame.new(0.46225813, -1.74063933, -1.42632961, 0.999477983, 0.0315875225, 0.00679107849, -0.0135056023, 0.599403679, -0.800333142, -0.0293511394, 0.799823582, 0.599517345) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1372. CFrame.new(-0.452492714, -1.98169518, 0.319369018, 0.999324262, 0.00178822386, 0.0367270075, -0.0210306682, 0.847118855, 0.530988216, -0.0301626045, -0.531401694, 0.846583188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1373. }, .3, false)
  1374. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1375. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1376. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1377. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1378. end
  1379. for i = 1,15 do
  1380. spawn(function()
  1381.  
  1382. -- if canproj == true then
  1383. -- canproj = false
  1384. mse = game.Players.LocalPlayer:GetMouse()
  1385. local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
  1386. local anotherposition=findNearestTorso(Torso.Position)
  1387. local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
  1388.  
  1389. ball.Size = Vector3.new(1.5,1.5,1.5)
  1390. ball.CanCollide = false
  1391. ball.BrickColor = BrickColor.new("Institutional white")
  1392. ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
  1393. ball.Anchored = true
  1394. ball.TopSurface = 0
  1395. ball.BottomSurface = 0
  1396. ball.Material = "Neon"
  1397. local ballm = Instance.new("SpecialMesh",ball)
  1398. ballm.MeshType = "Sphere"
  1399.  
  1400. local bp1 = Instance.new("BodyPosition",ball)
  1401. bp1.MaxForce = Vector3.new(10000,10000,10000)
  1402. bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  1403. bp1.P = 10000
  1404. bp1.D = 1000
  1405. if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
  1406. else
  1407.  
  1408. --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
  1409. local bodyforc = Instance.new("BodyForce", ball)
  1410. bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
  1411.  
  1412. repeat wait() until (ball.Position-bp1.Position).magnitude < 10
  1413.  
  1414. bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
  1415.  
  1416. repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
  1417.  
  1418. local sound = Instance.new("Sound",ball)
  1419. sound.Pitch = 0.5
  1420. sound.SoundId="http://www.roblox.com/asset/?id=165970126"
  1421. wait()
  1422. sound:Play()
  1423. MagnitudeDamage(ball, 20, 10, 30, 100, "Normal", "610359515", 1)
  1424.  
  1425. for i = 1,50,5 do
  1426.  
  1427. ballm.Scale = Vector3.new(i,i,i)
  1428.  
  1429. ball.Transparency= i/50
  1430.  
  1431.  
  1432. wait()
  1433. end
  1434. ball:Remove()
  1435. wait()
  1436. end
  1437. --end
  1438.  
  1439. end)
  1440. end
  1441. attack = false
  1442. end
  1443.  
  1444. function OrbAttack()
  1445. attack = true
  1446. for i = 0, 1, 0.1 do
  1447. swait()
  1448. PlayAnimationFromTable({
  1449. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1450. CFrame.new(-0.162433833, 1.49999774, 0, 0.978860497, -0.204539478, 0, 0.204539478, 0.978860497, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1451. CFrame.new(1.50000381, 1.96567178, 0.133120686, 1, 0, 0, 0, -0.997715592, 0.0675679892, 0, -0.0675679147, -0.997717202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1452. CFrame.new(-1.59766746, 0.00914002955, 0, 0.995649457, 0.0931791961, 0, -0.0931792036, 0.995649457, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1453. CFrame.new(0.5, -1.99999702, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1454. CFrame.new(-0.5, -1.99999702, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1455. }, .3, false)
  1456. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1457. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1458. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1459. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1460. end
  1461. for i = 0, 1, 0.06 do
  1462. swait()
  1463. PlayAnimationFromTable({
  1464. CFrame.new(0, 0.162510097, 0.38895905, 1, 0, 0, 0, 0.571922064, 0.820308089, 0, -0.820308089, 0.571922064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1465. CFrame.new(2.57045031e-07, 1.49998784, 1.30534172e-05, 0.984818339, -0.164854109, 0.0543694124, 0.165525496, 0.797479153, -0.580197155, 0.0522894673, 0.580389142, 0.812659144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(1.47650206, 1.26494956, -0.688362539, 0.997335255, -0.00380637683, 0.0728777125, 0.0417370051, -0.789443731, -0.612404227, 0.0598638915, 0.613813102, -0.787179589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1467. CFrame.new(-1.4608196, 0.0444534346, 0.407487094, 0.997198284, 0.00275915279, 0.0747666731, -0.0427889042, 0.840790749, 0.53966701, -0.061374139, -0.541353226, 0.838552773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1468. CFrame.new(0.46225813, -1.74063933, -1.42632961, 0.999477983, 0.0315875225, 0.00679107849, -0.0135056023, 0.599403679, -0.800333142, -0.0293511394, 0.799823582, 0.599517345) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. CFrame.new(-0.452492714, -1.98169518, 0.319369018, 0.999324262, 0.00178822386, 0.0367270075, -0.0210306682, 0.847118855, 0.530988216, -0.0301626045, -0.531401694, 0.846583188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1470. }, .3, false)
  1471. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1472. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1473. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1474. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1475. end
  1476. spawn(function()
  1477.  
  1478. -- if canproj == true then
  1479. -- canproj = false
  1480. mse = game.Players.LocalPlayer:GetMouse()
  1481. local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
  1482. local anotherposition=findNearestTorso(mse.Hit.p)
  1483. local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
  1484.  
  1485. ball.Size = Vector3.new(2.5,2.5,2.5)
  1486. ball.CanCollide = false
  1487. ball.BrickColor = BrickColor.new("Institutional white")
  1488. ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
  1489. ball.Anchored = true
  1490. ball.TopSurface = 0
  1491. ball.BottomSurface = 0
  1492. ball.Material = "Neon"
  1493. local ballm = Instance.new("SpecialMesh",ball)
  1494. ballm.MeshType = "Sphere"
  1495.  
  1496. local bp1 = Instance.new("BodyPosition",ball)
  1497. bp1.MaxForce = Vector3.new(10000,10000,10000)
  1498. bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  1499. bp1.P = 10000
  1500. bp1.D = 1000
  1501. if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
  1502. else
  1503.  
  1504. --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
  1505. local bodyforc = Instance.new("BodyForce", ball)
  1506. bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
  1507.  
  1508. repeat wait() until (ball.Position-bp1.Position).magnitude < 10
  1509.  
  1510. bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
  1511.  
  1512. repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
  1513.  
  1514. local sound = Instance.new("Sound",ball)
  1515. sound.Pitch = 0.5
  1516. sound.SoundId="http://www.roblox.com/asset/?id=165970126"
  1517. wait()
  1518. sound:Play()
  1519. MagnitudeDamage(ball, 50, 50, 70, 100, "Normal", "610359515", 1)
  1520.  
  1521. for i = 1,50,5 do
  1522.  
  1523. ballm.Scale = Vector3.new(i,i,i)
  1524.  
  1525. ball.Transparency= i/50
  1526.  
  1527.  
  1528. wait()
  1529. end
  1530. ball:Remove()
  1531. wait()
  1532. end
  1533. --end
  1534.  
  1535. end)
  1536. attack = false
  1537. end
  1538.  
  1539. Mouse.KeyDown:connect(function(k)
  1540. k = k:lower()
  1541. if attack == false and k == 'q' then
  1542. OrbAttack()
  1543. end
  1544. if attack == false and k == 'e' then
  1545. MultiOrbAttack()
  1546. end
  1547. end)
  1548.  
  1549. coroutine.resume(coroutine.create(function(Part, Part2)
  1550. while Part.Parent ~= nil do
  1551. swait(math.random(100, 150))
  1552. for i = 0, 1, 0.2 do
  1553. wait()
  1554. Eye1.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  1555. Eye2.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  1556. end
  1557. for i = 0, 1, 0.2 do
  1558. swait()
  1559. Eye1.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  1560. Eye2.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  1561. end
  1562. end
  1563. end), Eye1, Eye2)
  1564.  
  1565. game:GetService("RunService").RenderStepped:connect(function()
  1566. if attack == false then
  1567. for i, v in pairs(Character:children()) do
  1568. if v.ClassName == "Accessory" then
  1569. for i, v2 in pairs(v:children()) do
  1570. if v2.ClassName == "Part" then
  1571. v2.Anchored = false
  1572. end
  1573. end
  1574. end
  1575. end
  1576. for i, v in pairs(Character:children()) do
  1577. if v.ClassName == "Part" then
  1578. v.Anchored = false
  1579. end
  1580. end
  1581. end
  1582. end)
  1583.  
  1584. recurses2 = function(n)
  1585. for i, v in pairs(n:GetChildren()) do
  1586. if v:isA'BasePart' and v:IsDescendantOf(char) and v.Name ~= 'HumanoidRootPart' and v.Name ~= "Base" then
  1587. v.Anchored = false
  1588. end
  1589. recurses2(v)
  1590. end
  1591. end
  1592. local sine = 0
  1593. local change = 1
  1594. local t = 0
  1595. local FlyHeight = 0
  1596. while true do
  1597. if Character.Humanoid.Health == 0 then
  1598. print("Dead again")
  1599. else
  1600. swait()
  1601. for i,v in pairs(Character:children()) do
  1602. if v:IsA("Part") then
  1603. v.Anchored = false
  1604. end
  1605. end
  1606. sine = sine + change
  1607. HHandle.Transparency = 1
  1608. THandle.Transparency = 1
  1609. AHandleR.Transparency = 1
  1610. AHandleL.Transparency = 1
  1611. LHandleR.Transparency = 1
  1612. LHandleL.Transparency = 1
  1613. RootPart.Transparency = 1
  1614. HitboxR.Transparency = 1
  1615. HitboxL.Transparency = 1
  1616. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1617. velocity = RootPart.Velocity.y
  1618. sine = sine + change
  1619. Shield.Anchored = true
  1620. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  1621. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1622. local RightLeg = CFrame.new(0.5,-1,0)
  1623. local LeftLeg = CFrame.new(-0.5,-1,0)
  1624.  
  1625. local lefth = (Torso.CFrame*LeftLeg)
  1626. local righth = (Torso.CFrame*RightLeg)
  1627.  
  1628. local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
  1629.  
  1630. local TiltOnAxis = (Torso.CFrame-Torso.CFrame.p):vectorToObjectSpace(speed/100)
  1631.  
  1632. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1633. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1634. if RootPart.Velocity.y > 1 and hit == nil then
  1635. Anim = "Jump"
  1636. if attack == false then
  1637. change = 1
  1638. PlayAnimationFromTable({
  1639. CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.sin(sine/39)/16, 0) * CFrame.Angles(0, 0, 0),
  1640. CFrame.new(0, 1.49999177, -1.49011612e-007, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1641. CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1642. CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1643. CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1644. CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1645. }, .06, false)
  1646. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1647. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1648. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1649. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1650. end
  1651. elseif RootPart.Velocity.y < -1 and hit == nil then
  1652. Anim = "Fall"
  1653. if attack == false then
  1654. change = 1
  1655. PlayAnimationFromTable({
  1656. CFrame.new(-0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.sin(sine/39)/16, 0) * CFrame.Angles(0, 0, 0),
  1657. CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1658. CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1659. CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1660. CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1661. CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1662. }, .06, false)
  1663. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1664. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1665. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1666. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1667. end
  1668. elseif Torsovelocity < 1 and hit ~= nil then
  1669. Anim = "Idle"
  1670. if attack == false then
  1671. change = 1
  1672. PlayAnimationFromTable({
  1673. CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, FlyHeight - math.asin(math.sin(sine/39)/16), 0) * CFrame.Angles(0 - 0.5 * math.asin(math.sin(sine / 39)/16), 0, 0),
  1674. CFrame.new(0, 1.49999213, 3.27825546e-007, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(math.asin(math.cos(sine / 39)/16), 0, 0),
  1675. CFrame.new(0.674782097, 0.0130032599, 0.484848171, 0.628647685, 0.777698636, -5.20126468e-06, -0.740642428, 0.598692894, 0.305006236, 0.237205386, -0.191735595, 0.952355981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1676. CFrame.new(-0.820904791, -0.110713258, 0.524471462, 0.743363142, -0.668888152, -9.41837641e-07, 0.637014925, 0.707940757, 0.30501157, -0.204017937, -0.226734951, 0.952348709) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1677. CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0 - 1 * math.asin(math.sin(sine / 39)/16), 0) * CFrame.Angles(math.asin(math.sin(sine / 39)/16), 0,math.asin(-math.cos(sine / 39)/16)),
  1678. CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0 - 1 * math.asin(math.sin(sine / 39)/16), 0) * CFrame.Angles(math.asin(math.sin(sine / 39)/16), 0,math.asin(math.cos(sine / 39)/16)),
  1679. }, .08, false)
  1680. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1681. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1682. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1683. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1684. end
  1685. elseif Torsovelocity > 2 and hit ~= nil then
  1686. Anim = "Walk"
  1687. if attack == false then
  1688. change = 0.5
  1689. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+RootPart.RotVelocity.Y/30, math.rad(0)+RootPart.RotVelocity.Y/30), 0.4)
  1690. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1691. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
  1692. RW.C1 = clerp(RW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1693. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+RootPart.RotVelocity.Y/30)), 0.4)
  1694. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1695. RH.C0 = RH.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-RootPart.RotVelocity.Y/20),0.8)
  1696. RH.C1 = RH.C1:lerp(CFrame.new(0, 1, 0),.8)
  1697.  
  1698. --RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1699. LH.C0 = LH.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-RootPart.RotVelocity.Y/20),0.8)
  1700. LH.C1 = LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1701.  
  1702. --LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1703. end
  1704. end
  1705. end
  1706. if 0 < #Effects then
  1707. for e = 1, #Effects do
  1708. if Effects[e] ~= nil then
  1709. local Thing = Effects[e]
  1710. if Thing ~= nil then
  1711. local Part = Thing[1]
  1712. local Mode = Thing[2]
  1713. local Delay = Thing[3]
  1714. local IncX = Thing[4]
  1715. local IncY = Thing[5]
  1716. local IncZ = Thing[6]
  1717. if Thing[2] == "Shoot" then
  1718. local Look = Thing[1]
  1719. local move = 30
  1720. if Thing[8] == 3 then
  1721. move = 10
  1722. end
  1723. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1724. if Thing[10] ~= nil then
  1725. da = pos
  1726. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1727. cfa = CFrame.new(Thing[4], pos)
  1728. tehCF = cfa:lerp(cf2, 0.2)
  1729. Thing[1] = tehCF.lookVector
  1730. end
  1731. local mag = (Thing[4] - pos).magnitude
  1732. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1733. if Thing[8] == 2 then
  1734. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1735. end
  1736. Thing[4] = Thing[4] + Look * move
  1737. Thing[3] = Thing[3] - 1
  1738. if 2 < Thing[5] then
  1739. Thing[5] = Thing[5] - 0.3
  1740. Thing[6] = Thing[6] - 0.3
  1741. end
  1742. if hit ~= nil then
  1743. Thing[3] = 0
  1744. if Thing[8] == 1 or Thing[8] == 3 then
  1745. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1746. else
  1747. if Thing[8] == 2 then
  1748. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1749. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1750. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1751. ref.Anchored = true
  1752. ref.CFrame = CFrame.new(pos)
  1753. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1754. game:GetService("Debris"):AddItem(ref, 0.2)
  1755. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1756. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1757. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1758. end
  1759. end
  1760. end
  1761. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1762. ref.Anchored = true
  1763. ref.CFrame = CFrame.new(pos)
  1764. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1765. game:GetService("Debris"):AddItem(ref, 1)
  1766. end
  1767. if Thing[3] <= 0 then
  1768. table.remove(Effects, e)
  1769. end
  1770. end
  1771. do
  1772. do
  1773. if Thing[2] == "FireWave" then
  1774. if Thing[3] <= Thing[4] then
  1775. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1776. Thing[3] = Thing[3] + 1
  1777. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1778. else
  1779. Part.Parent = nil
  1780. table.remove(Effects, e)
  1781. end
  1782. end
  1783. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1784. if Thing[1].Transparency <= 1 then
  1785. if Thing[2] == "Block1" then
  1786. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1787. Mesh = Thing[7]
  1788. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1789. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1790. else
  1791. if Thing[2] == "Block2" then
  1792. Thing[1].CFrame = Thing[1].CFrame
  1793. Mesh = Thing[7]
  1794. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1795. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1796. else
  1797. if Thing[2] == "Fire" then
  1798. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1799. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1800. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1801. else
  1802. if Thing[2] == "Cylinder" then
  1803. Mesh = Thing[7]
  1804. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1805. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1806. else
  1807. if Thing[2] == "Blood" then
  1808. Mesh = Thing[7]
  1809. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1810. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1811. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1812. else
  1813. if Thing[2] == "Elec" then
  1814. Mesh = Thing[10]
  1815. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1816. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1817. else
  1818. if Thing[2] == "Disappear" then
  1819. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1820. end
  1821. end
  1822. end
  1823. end
  1824. end
  1825. end
  1826. end
  1827. else
  1828. Part.Parent = nil
  1829. table.remove(Effects, e)
  1830. end
  1831. end
  1832. end
  1833. end
  1834. end
  1835. end
  1836. end
  1837. end
  1838. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement