Advertisement
lafur

Untitled

Nov 7th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.52 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. 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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --[[
  6. Script: Lost Astronaut
  7. Creator: FantasyOrchid
  8. Buyer: nicemegaladon
  9. Moves:
  10. Click) Kick
  11. Click) Punch
  12. E) Multi Orb Attack
  13. Q) Big Orb Attack (Aim your mouse)
  14. Price: 50R
  15. ]]
  16.  
  17. wait(1 / 60)
  18. Effects = { }
  19. Player = game.Players.localPlayer
  20. Character = Player.Character
  21. Humanoid = Character.Humanoid
  22. Mouse = Player:GetMouse()
  23. LeftArm = Character["Left Arm"]
  24. RightArm = Character["Right Arm"]
  25. LeftLeg = Character["Left Leg"]
  26. RightLeg = Character["Right Leg"]
  27. Head = Character.Head
  28. Torso = Character.Torso
  29. Camera = game.Workspace.CurrentCamera
  30. RootPart = Character.HumanoidRootPart
  31. RootJoint = RootPart.RootJoint
  32. attack = false
  33. Anim = 'Idle'
  34. attacktype = 1
  35. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  36. velocity = RootPart.Velocity.y
  37. sine = 0
  38. change = 1
  39. hobb = 0
  40. rest = 0
  41. looprevive = false
  42. mode = false
  43. revive = false
  44. Kaioken = 0
  45. debris = game:service'Debris'
  46. Create = LoadLibrary("RbxUtility").Create
  47.  
  48. ypcall(function()
  49. Character.Shirt:Remove()
  50. Character.Pants:Remove()
  51.  
  52. Shirt = Instance.new("Shirt",Character)
  53. Shirt.ShirtTemplate = "rbxassetid://250422397" -- Clothing Items
  54. Shirt.Name = "Shirt"
  55.  
  56. Pants = Instance.new("Pants",Character)
  57. Pants.PantsTemplate = "rbxassetid://250422453" -- Clothing Items
  58. Pants.Name = "Pants"
  59.  
  60. Character["Body Colors"].HeadColor = BrickColor.new("Institutional white") -- Body Colors
  61. Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white") -- Body Colors
  62. Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white") -- Body Colors
  63. Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white") -- Body Colors
  64. end)
  65. for i,v in pairs(Character:children()) do
  66. if v:IsA("Accessory") then
  67. v:Destroy()
  68. end
  69. end
  70. local P = Instance.new("Part", Character)
  71. P.CanCollide = false
  72. P.Size = Vector3.new(1.1, 1.13, 1.33)
  73. P.BrickColor = BrickColor.new("Really black")
  74. local M = Instance.new("SpecialMesh", P)
  75. M.MeshId = "rbxassetid://181343290"
  76. M.TextureId = "rbxassetid://181343313"
  77. M.Scale = Vector3.new(1.1, 1.1, 1.1)
  78. M.Offset = Vector3.new(0, 0, 0)
  79. local W = Instance.new("Weld", Character.Head)
  80. W.Part0 = Character.Head
  81. W.Part1 = P
  82. W.C0 = CFrame.Angles(0, math.rad(0), 0)
  83.  
  84. local m = Create("Model"){
  85. Parent = Character,
  86. Name = "WeaponModel",
  87. }
  88. Humanoid.Animator.Parent = nil
  89. Character.Animate.Parent = nil
  90.  
  91. local newWeld = function(part0, part1, c0, c1)
  92. local w = Create('Weld'){
  93. Parent = part0,
  94. Part0 = part0,
  95. Part1 = part1,
  96. C0 = c0,
  97. C1 = c1,
  98. }
  99. return w
  100. end
  101.  
  102. local function QuaternionFromCFrame(cf)
  103. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  104. local trace = m00 + m11 + m22
  105. if trace > 0 then
  106. local s = math.sqrt(1 + trace)
  107. local recip = 0.5/s
  108. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  109. else
  110. local i = 0
  111. if m11 > m00 then
  112. i = 1
  113. end
  114. if m22 > (i == 0 and m00 or m11) then
  115. i = 2
  116. end
  117. if i == 0 then
  118. local s = math.sqrt(m00-m11-m22+1)
  119. local recip = 0.5/s
  120. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  121. elseif i == 1 then
  122. local s = math.sqrt(m11-m22-m00+1)
  123. local recip = 0.5/s
  124. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  125. elseif i == 2 then
  126. local s = math.sqrt(m22-m00-m11+1)
  127. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  128. end
  129. end
  130. end
  131. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  132. local xs, ys, zs = x + x, y + y, z + z
  133. local wx, wy, wz = w*xs, w*ys, w*zs
  134. local xx = x*xs
  135. local xy = x*ys
  136. local xz = x*zs
  137. local yy = y*ys
  138. local yz = y*zs
  139. local zz = z*zs
  140. 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))
  141. end
  142. local function QuaternionSlerp(a, b, t)
  143. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  144. local startInterp, finishInterp;
  145. if cosTheta >= 0.0001 then
  146. if (1 - cosTheta) > 0.0001 then
  147. local theta = math.acos(cosTheta)
  148. local invSinTheta = 1/math.sin(theta)
  149. startInterp = math.sin((1-t)*theta)*invSinTheta
  150. finishInterp = math.sin(t*theta)*invSinTheta
  151. else
  152. startInterp = 1-t
  153. finishInterp = t
  154. end
  155. else
  156. if (1+cosTheta) > 0.0001 then
  157. local theta = math.acos(-cosTheta)
  158. local invSinTheta = 1/math.sin(theta)
  159. startInterp = math.sin((t-1)*theta)*invSinTheta
  160. finishInterp = math.sin(t*theta)*invSinTheta
  161. else
  162. startInterp = t-1
  163. finishInterp = t
  164. end
  165. end
  166. 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
  167. end
  168. function clerp(a,b,t)
  169. local qa = {QuaternionFromCFrame(a)}
  170. local qb = {QuaternionFromCFrame(b)}
  171. local ax, ay, az = a.x, a.y, a.z
  172. local bx, by, bz = b.x, b.y, b.z
  173. local _t = 1-t
  174. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  175. end
  176.  
  177. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  178. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  179.  
  180. RW = newWeld(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  181. LW = newWeld(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  182. RH = newWeld(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  183. LH = newWeld(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  184. RootJoint.C1 = CFrame.new(0, 0, 0)
  185. RootJoint.C0 = CFrame.new(0, 0, 0)
  186. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  187. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  188.  
  189. rarmc1 = RW.C1
  190. larmc1 = LW.C1
  191. rlegc1 = RH.C1
  192. llegc1 = LH.C1
  193.  
  194. local resetc1 = false
  195.  
  196. function PlayAnimationFromTable(table, speed, bool)
  197. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  198. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  199. RW.C0 = clerp(RW.C0, table[3], speed)
  200. LW.C0 = clerp(LW.C0, table[4], speed)
  201. RH.C0 = clerp(RH.C0, table[5], speed)
  202. LH.C0 = clerp(LH.C0, table[6], speed)
  203. if bool == true then
  204. if resetc1 == false then
  205. resetc1 = true
  206. RootJoint.C1 = RootJoint.C1
  207. Torso.Neck.C1 = Torso.Neck.C1
  208. RW.C1 = rarmc1
  209. LW.C1 = larmc1
  210. RH.C1 = rlegc1
  211. LH.C1 = llegc1
  212. end
  213. end
  214. end
  215.  
  216. ArtificialHB = Create("BindableEvent", script){
  217. Parent = script,
  218. Name = "Heartbeat",
  219. }
  220.  
  221. script:WaitForChild("Heartbeat")
  222.  
  223. frame = 1 / 30
  224. tf = 0
  225. allowframeloss = false
  226. tossremainder = false
  227. lastframe = tick()
  228. script.Heartbeat:Fire()
  229.  
  230. game:GetService("RunService").Heartbeat:connect(function(s, p)
  231. tf = tf + s
  232. if tf >= frame then
  233. if allowframeloss then
  234. script.Heartbeat:Fire()
  235. lastframe = tick()
  236. else
  237. for i = 1, math.floor(tf / frame) do
  238. script.Heartbeat:Fire()
  239. end
  240. lastframe = tick()
  241. end
  242. if tossremainder then
  243. tf = 0
  244. else
  245. tf = tf - frame * math.floor(tf / frame)
  246. end
  247. end
  248. end)
  249.  
  250. function swait(num)
  251. if num == 0 or num == nil then
  252. ArtificialHB.Event:wait()
  253. else
  254. for i = 0, num do
  255. ArtificialHB.Event:wait()
  256. end
  257. end
  258. end
  259.  
  260. function RemoveOutlines(part)
  261. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  262. end
  263.  
  264. CFuncs = {
  265. Part = {
  266. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  267. local Part = Create("Part"){
  268. Parent = Parent,
  269. Reflectance = Reflectance,
  270. Transparency = Transparency,
  271. CanCollide = false,
  272. Locked = true,
  273. BrickColor = BrickColor.new(tostring(BColor)),
  274. Name = Name,
  275. Size = Size,
  276. Material = Material,
  277. }
  278. RemoveOutlines(Part)
  279. return Part
  280. end;
  281. };
  282.  
  283. Mesh = {
  284. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  285. local Msh = Create(Mesh){
  286. Parent = Part,
  287. Offset = OffSet,
  288. Scale = Scale,
  289. }
  290. if Mesh == "SpecialMesh" then
  291. Msh.MeshType = MeshType
  292. Msh.MeshId = MeshId
  293. end
  294. return Msh
  295. end;
  296. };
  297.  
  298. Weld = {
  299. Create = function(Parent, Part0, Part1, C0, C1)
  300. local Weld = Create("Weld"){
  301. Parent = Parent,
  302. Part0 = Part0,
  303. Part1 = Part1,
  304. C0 = C0,
  305. C1 = C1,
  306. }
  307. return Weld
  308. end;
  309. };
  310.  
  311. Sound = {
  312. Create = function(id, par, vol, pit)
  313. local Sound = Create("Sound"){
  314. Volume = vol,
  315. Pitch = pit or 1,
  316. SoundId = "rbxassetid://" .. id,
  317. Parent = par or workspace,
  318. }
  319. Sound:play()
  320. game:GetService("Debris"):AddItem(Sound, 130)
  321. return Sound
  322. end;
  323. };
  324.  
  325. Decal = {
  326. Create = function(Color, Texture, Transparency, Name, Parent)
  327. local Decal = Create("Decal"){
  328. Color3 = Color,
  329. Texture = "rbxassetid://" .. Texture,
  330. Transparency = Transparency,
  331. Name = Name,
  332. Parent = Parent,
  333. }
  334. return Decal
  335. end;
  336. };
  337.  
  338. BillboardGui = {
  339. Create = function(Parent, Image, Position, Size)
  340. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  341. BillPar.CFrame = CFrame.new(Position)
  342. local Bill = Create("BillboardGui"){
  343. Parent = BillPar,
  344. Adornee = BillPar,
  345. Size = UDim2.new(1, 0, 1, 0),
  346. SizeOffset = Vector2.new(Size, Size),
  347. }
  348. local d = Create("ImageLabel", Bill){
  349. Parent = Bill,
  350. BackgroundTransparency = 1,
  351. Size = UDim2.new(1, 0, 1, 0),
  352. Image = "rbxassetid://" .. Image,
  353. }
  354. return BillPar
  355. end
  356. };
  357.  
  358. ParticleEmitter = {
  359. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  360. local Particle = Create("ParticleEmitter"){
  361. Parent = Parent,
  362. Color = ColorSequence.new(Color1, Color2),
  363. LightEmission = LightEmission,
  364. Size = Size,
  365. Texture = Texture,
  366. Transparency = Transparency,
  367. ZOffset = ZOffset,
  368. Acceleration = Accel,
  369. Drag = Drag,
  370. LockedToPart = LockedToPart,
  371. VelocityInheritance = VelocityInheritance,
  372. EmissionDirection = EmissionDirection,
  373. Enabled = Enabled,
  374. Lifetime = LifeTime,
  375. Rate = Rate,
  376. Rotation = Rotation,
  377. RotSpeed = RotSpeed,
  378. Speed = Speed,
  379. VelocitySpread = VelocitySpread,
  380. }
  381. return Particle
  382. end;
  383. };
  384.  
  385. CreateTemplate = {
  386.  
  387. };
  388. }
  389.  
  390. function rayCast(Position, Direction, Range, Ignore)
  391. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  392. end
  393.  
  394. FindNearestTorso = function(pos)
  395. local list = (game.Workspace:children())
  396. local torso = nil
  397. local dist = 1000
  398. local temp, human, temp2 = nil, nil, nil
  399. for x = 1, #list do
  400. temp2 = list[x]
  401. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  402. temp = temp2:findFirstChild("Torso")
  403. human = temp2:findFirstChild("Humanoid")
  404. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  405. local dohit = true
  406. if dohit == true then
  407. torso = temp
  408. dist = (temp.Position - pos).magnitude
  409. end
  410. end
  411. end
  412. end
  413. return torso, dist
  414. end
  415.  
  416. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  417. if hit.Parent == nil then
  418. return
  419. end
  420. local h = hit.Parent:FindFirstChild("Humanoid")
  421. for _, v in pairs(hit.Parent:children()) do
  422. if v.ClassName == "Humanoid" then
  423. h = v
  424. end
  425. end
  426. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  427. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  428. if hit.Parent.DebounceHit.Value == true then
  429. return
  430. end
  431. end
  432. local char = Create("ObjectValue"){
  433. Name = "creator",
  434. Value = game:service("Players").LocalPlayer,
  435. Parent = h,
  436. }
  437. game:GetService("Debris"):AddItem(char, .5)
  438. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  439. local blocked = false
  440. local block = hit.Parent:findFirstChild("Block")
  441. if block ~= nil then
  442. if block.className == "IntValue" then
  443. if block.Value > 0 then
  444. blocked = true
  445. block.Value = block.Value - 1
  446. print(block.Value)
  447. end
  448. end
  449. end
  450. local Damage = math.random(minim, maxim)
  451. h.Health = h.Health - Damage
  452. 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)
  453. if Type == "Knockdown" then
  454. local hum = hit.Parent.Humanoid
  455. hum.PlatformStand = true
  456. coroutine.resume(coroutine.create(function(HHumanoid)
  457. swait(1)
  458. HHumanoid.PlatformStand = false
  459. end), hum)
  460. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  461. local bodvol = Create("BodyVelocity"){
  462. velocity = angle * knockback,
  463. P = 5000,
  464. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  465. Parent = hit,
  466. }
  467. local rl = Create("BodyAngularVelocity"){
  468. P = 3000,
  469. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  470. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  471. Parent = hit,
  472. }
  473. game:GetService("Debris"):AddItem(bodvol, .5)
  474. game:GetService("Debris"):AddItem(rl, .5)
  475. elseif Type == "Normal" then
  476. local vp = Create("BodyVelocity"){
  477. P = 500,
  478. maxForce = Vector3.new(math.huge, 0, math.huge),
  479. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  480. }
  481. if knockback > 0 then
  482. vp.Parent = hit.Parent.Torso
  483. end
  484. game:GetService("Debris"):AddItem(vp, .5)
  485. elseif Type == "Up" then
  486. local bodyVelocity = Create("BodyVelocity"){
  487. velocity = Vector3.new(0, 20, 0),
  488. P = 5000,
  489. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  490. Parent = hit,
  491. }
  492. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  493. elseif Type == "DarkUp" then
  494. coroutine.resume(coroutine.create(function()
  495. for i = 0, 1, 0.1 do
  496. swait()
  497. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  498. end
  499. end))
  500. local bodyVelocity = Create("BodyVelocity"){
  501. velocity = Vector3.new(0, 20, 0),
  502. P = 5000,
  503. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  504. Parent = hit,
  505. }
  506. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  507. elseif Type == "Snare" then
  508. local bp = Create("BodyPosition"){
  509. P = 2000,
  510. D = 100,
  511. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  512. position = hit.Parent.Torso.Position,
  513. Parent = hit.Parent.Torso,
  514. }
  515. game:GetService("Debris"):AddItem(bp, 1)
  516. elseif Type == "Freeze" then
  517. local BodPos = Create("BodyPosition"){
  518. P = 50000,
  519. D = 1000,
  520. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  521. position = hit.Parent.Torso.Position,
  522. Parent = hit.Parent.Torso,
  523. }
  524. local BodGy = Create("BodyGyro") {
  525. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  526. P = 20e+003,
  527. Parent = hit.Parent.Torso,
  528. cframe = hit.Parent.Torso.CFrame,
  529. }
  530. hit.Parent.Torso.Anchored = true
  531. coroutine.resume(coroutine.create(function(Part)
  532. swait(1.5)
  533. Part.Anchored = false
  534. end), hit.Parent.Torso)
  535. game:GetService("Debris"):AddItem(BodPos, 3)
  536. game:GetService("Debris"):AddItem(BodGy, 3)
  537. end
  538. local debounce = Create("BoolValue"){
  539. Name = "DebounceHit",
  540. Parent = hit.Parent,
  541. Value = true,
  542. }
  543. game:GetService("Debris"):AddItem(debounce, Delay)
  544. char = Create("ObjectValue"){
  545. Name = "creator",
  546. Value = Player,
  547. Parent = h,
  548. }
  549. game:GetService("Debris"):AddItem(char, .5)
  550. end
  551. end
  552.  
  553. function ShowDamage(Pos, Text, Time, Color)
  554. local Rate = (1 / 30)
  555. local Pos = (Pos or Vector3.new(0, 0, 0))
  556. local Text = (Text or "")
  557. local Time = (Time or 2)
  558. local Color = (Color or Color3.new(1, 0, 1))
  559. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  560. EffectPart.Anchored = true
  561. local BillboardGui = Create("BillboardGui"){
  562. Size = UDim2.new(3, 0, 3, 0),
  563. Adornee = EffectPart,
  564. Parent = EffectPart,
  565. }
  566. local TextLabel = Create("TextLabel"){
  567. BackgroundTransparency = 1,
  568. Size = UDim2.new(1, 0, 1, 0),
  569. Text = Text,
  570. Font = "SciFi",
  571. TextColor3 = Color,
  572. TextScaled = true,
  573. Parent = BillboardGui,
  574. }
  575. game.Debris:AddItem(EffectPart, (Time))
  576. EffectPart.Parent = game:GetService("Workspace")
  577. delay(0, function()
  578. local Frames = (Time / Rate)
  579. for Frame = 1, Frames do
  580. wait(Rate)
  581. local Percent = (Frame / Frames)
  582. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  583. TextLabel.TextTransparency = Percent
  584. end
  585. if EffectPart and EffectPart.Parent then
  586. EffectPart:Destroy()
  587. end
  588. end)
  589. end
  590.  
  591. local STDamage = false
  592. local Slamming = false
  593. local StrongPunch = false
  594. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  595. if Slamming == false then
  596. Explosions = Instance.new("Explosion", Part)
  597. Explosions.Visible = false
  598. Explosions.BlastPressure = 1000
  599. Explosions.BlastRadius = 5
  600. Explosions.Position = Part.Position
  601. Explosions.DestroyJointRadiusPercent = 0
  602. Explosions.ExplosionType = "CratersAndDebris"
  603. elseif Slamming == true then
  604. Explosions = Instance.new("Explosion", Part)
  605. Explosions.Visible = false
  606. Explosions.BlastPressure = 1000
  607. Explosions.BlastRadius = 10
  608. Explosions.Position = Part.Position
  609. Explosions.DestroyJointRadiusPercent = 0
  610. Explosions.ExplosionType = "CratersAndDebris"
  611. end
  612. if StrongPunch == true then
  613. Explosions = Instance.new("Explosion", Part)
  614. Explosions.Visible = false
  615. Explosions.BlastPressure = 10000
  616. Explosions.BlastRadius = 30
  617. Explosions.Position = Part.Position
  618. Explosions.DestroyJointRadiusPercent = 0
  619. Explosions.ExplosionType = "CratersAndDebris"
  620. end
  621. for _, char in pairs(workspace:children()) do
  622. local hum = char:findFirstChild("Humanoid")
  623. if hum ~= nil then
  624. local head = char:findFirstChild("Torso")
  625. if head ~= nil then
  626. local targ = head.Position - Part.Position
  627. local mag = targ.magnitude
  628. if mag <= Magnitude and char.Name ~= Player.Name then
  629. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  630. if STDamage == true then
  631. for i = 1, 10 do
  632. CamShake(1, 70000)
  633. end
  634. elseif STDamage == false then
  635. CamShake(1, 90000)
  636. end
  637. end
  638. end
  639. end
  640. end
  641. end
  642.  
  643. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  644. 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))
  645. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.399999917, 1.0999999))
  646. 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))
  647. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  648. 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))
  649. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.299999893, 0.200000003))
  650. 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))
  651. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  652. 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))
  653. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  654. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Bright blue", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  655. 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))
  656. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  657. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.499999821, 0.300000012, 0.200000003))
  658. 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))
  659. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
  660. 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))
  661. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  662. 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))
  663. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  664. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  665. 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))
  666. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  667. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  668. 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))
  669. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  670. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
  671. 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))
  672. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  673. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
  674. 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))
  675. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  676. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  677. 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))
  678. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  679. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  680. 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))
  681. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  682. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
  683. 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))
  684. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  685. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  686. 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))
  687. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.699999928, 1.20000005))
  688. 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))
  689. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
  690. 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))
  691. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.700000048, 0.800000012))
  692. 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))
  693. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  694. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.60000014, 0.400000006, 1.39999998))
  695. 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))
  696. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  697. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.19999981, 0.499999911, 1.19999993))
  698. 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))
  699. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  700. 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))
  701. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  702. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
  703. 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))
  704. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  705. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
  706. 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))
  707. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.39999986, 1.19999993, 1.39999986))
  708. 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))
  709. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
  710. 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))
  711. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
  712. 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))
  713. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  714. 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))
  715. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  716. 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))
  717. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  718. 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))
  719. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  720. 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))
  721. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  722. 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))
  723. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  724. 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))
  725. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  726. 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))
  727. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  728. 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))
  729. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  730. 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))
  731. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  732. 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))
  733. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  734. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  735. 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))
  736. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  737. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  738. 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))
  739. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  740. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  741. 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))
  742. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  743. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  744. 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))
  745. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  746. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  747. 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))
  748. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  749. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  750. 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))
  751. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  752. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  753. 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))
  754. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  755. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  756. 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))
  757. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  758. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  759. 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))
  760. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  761. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  762. 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))
  763. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  764. 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))
  765. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  766. 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))
  767. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  768. 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))
  769. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  770. 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))
  771. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  772. 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))
  773. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  774. 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))
  775. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  776. 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))
  777. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  778. 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))
  779. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  780. 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))
  781. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  782. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  783. 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))
  784. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  785. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
  786. 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))
  787. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  788. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
  789. 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))
  790. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  791. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  792. 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))
  793. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  794. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
  795. 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))
  796. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  797. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
  798. 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))
  799. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  800. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
  801. 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))
  802. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  803. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
  804. 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))
  805. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  806. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
  807. 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))
  808. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  809. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
  810. 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))
  811. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  812. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  813. 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))
  814. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  815. 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))
  816. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  817. 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))
  818. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  819. 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))
  820. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  821. 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))
  822. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  823. 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))
  824. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  825. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  826. 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))
  827. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  828. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  829. 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))
  830. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  831. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  832. 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))
  833. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  834. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  835. 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))
  836. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  837. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  838. 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))
  839. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  840. 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))
  841. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  842. 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))
  843. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  844. 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))
  845. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  846. 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))
  847. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  848. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  849. 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))
  850. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  851. 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))
  852. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  853. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  854. 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))
  855. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  856. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  857. 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))
  858. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  859. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright blue", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  860. 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))
  861. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  862. Shield = CFuncs.Part.Create(m, "Neon", 1, 0.5, "Bright blue", "Part", Vector3.new(9.1, 8.5, 0.2))
  863. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  864. Shield.Parent = nil
  865.  
  866.  
  867. for i,v in pairs(m:children()) do
  868. if v:IsA("Part") then
  869. v.Reflectance = 0.1
  870. end
  871. end
  872.  
  873. EffectModel = Create("Model"){
  874. Parent = Character,
  875. Name = "Effects",
  876. }
  877.  
  878. Effects = {
  879. Block = {
  880. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  881. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  882. prt.Anchored = true
  883. prt.CFrame = cframe
  884. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  885. game:GetService("Debris"):AddItem(prt, 10)
  886. if Type == 1 or Type == nil then
  887. table.insert(Effects, {
  888. prt,
  889. "Block1",
  890. delay,
  891. x3,
  892. y3,
  893. z3,
  894. msh
  895. })
  896. elseif Type == 2 then
  897. table.insert(Effects, {
  898. prt,
  899. "Block2",
  900. delay,
  901. x3,
  902. y3,
  903. z3,
  904. msh
  905. })
  906. end
  907. end;
  908. };
  909.  
  910. Cylinder = {
  911. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  912. local prt = CFuncs.Part..Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  913. prt.Anchored = true
  914. prt.CFrame = cframe
  915. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  916. game:GetService("Debris"):AddItem(prt, 2)
  917. Effects[#Effects + 1] = {
  918. prt,
  919. "Cylinder",
  920. delay,
  921. x3,
  922. y3,
  923. z3
  924. }
  925. end;
  926. };
  927.  
  928. Head = {
  929. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  930. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  931. prt.Anchored = true
  932. prt.CFrame = cframe
  933. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  934. game:GetService("Debris"):AddItem(prt, 10)
  935. table.insert(Effects, {
  936. prt,
  937. "Cylinder",
  938. delay,
  939. x3,
  940. y3,
  941. z3,
  942. msh
  943. })
  944. end;
  945. };
  946.  
  947. Sphere = {
  948. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  949. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  950. prt.Anchored = true
  951. prt.CFrame = cframe
  952. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  953. game:GetService("Debris"):AddItem(prt, 10)
  954. table.insert(Effects, {
  955. prt,
  956. "Cylinder",
  957. delay,
  958. x3,
  959. y3,
  960. z3,
  961. msh
  962. })
  963. end;
  964. };
  965.  
  966. Elect = {
  967. Create = function(cff, x, y, z)
  968. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  969. prt.Anchored = true
  970. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  971. prt.CFrame = CFrame.new(prt.Position)
  972. game:GetService("Debris"):AddItem(prt, 2)
  973. local xval = math.random() / 2
  974. local yval = math.random() / 2
  975. local zval = math.random() / 2
  976. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  977. table.insert(Effects, {
  978. prt,
  979. "Elec",
  980. 0.1,
  981. x,
  982. y,
  983. z,
  984. xval,
  985. yval,
  986. zval
  987. })
  988. end;
  989.  
  990. };
  991.  
  992. Ring = {
  993. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  994. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  995. prt.Anchored = true
  996. prt.CFrame = cframe
  997. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  998. game:GetService("Debris"):AddItem(prt, 10)
  999. table.insert(Effects, {
  1000. prt,
  1001. "Cylinder",
  1002. delay,
  1003. x3,
  1004. y3,
  1005. z3,
  1006. msh
  1007. })
  1008. end;
  1009. };
  1010.  
  1011. Wave = {
  1012. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1013. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1014. prt.Anchored = true
  1015. prt.CFrame = cframe
  1016. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1017. game:GetService("Debris"):AddItem(prt, 10)
  1018. table.insert(Effects, {
  1019. prt,
  1020. "Cylinder",
  1021. delay,
  1022. x3,
  1023. y3,
  1024. z3,
  1025. msh
  1026. })
  1027. end;
  1028. };
  1029.  
  1030. Break = {
  1031. Create = function(brickcolor, cframe, x1, y1, z1)
  1032. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1033. prt.Anchored = true
  1034. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1035. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1036. local num = math.random(10, 50) / 1000
  1037. game:GetService("Debris"):AddItem(prt, 10)
  1038. table.insert(Effects, {
  1039. prt,
  1040. "Shatter",
  1041. num,
  1042. prt.CFrame,
  1043. math.random() - math.random(),
  1044. 0,
  1045. math.random(50, 100) / 100
  1046. })
  1047. end;
  1048. };
  1049.  
  1050. Fire = {
  1051. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1052. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1053. prt.Anchored = true
  1054. prt.CFrame = cframe
  1055. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1056. game:GetService("Debris"):AddItem(prt, 10)
  1057. table.insert(Effects, {
  1058. prt,
  1059. "Fire",
  1060. delay,
  1061. 1,
  1062. 1,
  1063. 1,
  1064. msh
  1065. })
  1066. end;
  1067. };
  1068.  
  1069. FireWave = {
  1070. Create = function(brickcolor, cframe, x1, y1, z1)
  1071. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1072. prt.Anchored = true
  1073. prt.CFrame = cframe
  1074. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1075. local d = Create("Decal"){
  1076. Parent = prt,
  1077. Texture = "rbxassetid://26356434",
  1078. Face = "Top",
  1079. }
  1080. local d = Create("Decal"){
  1081. Parent = prt,
  1082. Texture = "rbxassetid://26356434",
  1083. Face = "Bottom",
  1084. }
  1085. game:GetService("Debris"):AddItem(prt, 10)
  1086. table.insert(Effects, {
  1087. prt,
  1088. "FireWave",
  1089. 1,
  1090. 30,
  1091. math.random(400, 600) / 100,
  1092. msh
  1093. })
  1094. end;
  1095. };
  1096.  
  1097. Lightning = {
  1098. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1099. local magz = (p0 - p1).magnitude
  1100. local curpos = p0
  1101. local trz = {
  1102. -ofs,
  1103. ofs
  1104. }
  1105. for i = 1, tym do
  1106. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1107. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1108. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1109. li.Material = "Neon"
  1110. if tym == i then
  1111. local magz2 = (curpos - p1).magnitude
  1112. li.Size = Vector3.new(th, th, magz2)
  1113. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1114. table.insert(Effects, {
  1115. li,
  1116. "Disappear",
  1117. last
  1118. })
  1119. else
  1120. do
  1121. do
  1122. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1123. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1124. game.Debris:AddItem(li, 10)
  1125. table.insert(Effects, {
  1126. li,
  1127. "Disappear",
  1128. last
  1129. })
  1130. end
  1131. end
  1132. end
  1133. end
  1134. end
  1135. };
  1136.  
  1137. EffectTemplate = {
  1138.  
  1139. };
  1140. }
  1141.  
  1142. local Invisible = true
  1143.  
  1144. function Reappear()
  1145. for _, i in pairs(AdvancingFortress:children()) do
  1146. if i:IsA("BasePart") then
  1147. coroutine.resume(coroutine.create(function(Part)
  1148. for i = 0, 1, 0.3 do
  1149. swait()
  1150. Part.Transparency = - i
  1151. end
  1152. Part.Transparency = 0
  1153. end), i)
  1154. end
  1155. end
  1156. for _, i in pairs(m:children()) do
  1157. if i:IsA("BasePart") then
  1158. coroutine.resume(coroutine.create(function(Part)
  1159. for i = 0, 1, 0.3 do
  1160. swait()
  1161. Part.Transparency = i
  1162. end
  1163. Part.Transparency = 0
  1164. end), i)
  1165. end
  1166. end
  1167. end
  1168.  
  1169. function ReappearArmorOnly()
  1170. for _, i in pairs(m:children()) do
  1171. if i:IsA("BasePart") then
  1172. coroutine.resume(coroutine.create(function(Part)
  1173. for i = 0, 1, 0.3 do
  1174. swait()
  1175. Part.Transparency = i
  1176. end
  1177. Part.Transparency = 0.5
  1178. end), i)
  1179. end
  1180. end
  1181. end
  1182.  
  1183. function Disappear()
  1184. for _, i in pairs(AdvancingFortress:children()) do
  1185. if i:IsA("BasePart") then
  1186. coroutine.resume(coroutine.create(function(Part)
  1187. for i = 0, 1, 0.3 do
  1188. swait()
  1189. Part.Transparency = i
  1190. end
  1191. Part.Transparency = 1
  1192. end), i)
  1193. end
  1194. end
  1195. for _, i in pairs(m:children()) do
  1196. if i:IsA("BasePart") then
  1197. coroutine.resume(coroutine.create(function(Part)
  1198. for i = 0, 1, 0.3 do
  1199. swait()
  1200. Part.Transparency = i
  1201. end
  1202. Part.Transparency = 1
  1203. end), i)
  1204. end
  1205. end
  1206. end
  1207.  
  1208. function DisappearArmorOnly()
  1209. for _, i in pairs(m:children()) do
  1210. if i:IsA("BasePart") then
  1211. coroutine.resume(coroutine.create(function(Part)
  1212. for i = 0, 1, 0.3 do
  1213. swait()
  1214. Part.Transparency = i
  1215. end
  1216. Part.Transparency = 1
  1217. end), i)
  1218. end
  1219. end
  1220. end
  1221.  
  1222. function CamShake(time, freq)
  1223. coroutine.resume(coroutine.create(function()
  1224. local cam = game:GetService("Workspace").CurrentCamera
  1225. local time = 10
  1226. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1227. if math.random(1, 2) == 1 then seed = Vector3.new(-seed.x, seed.y, 0) end
  1228. if math.random(1, 2) == 1 then seed = Vector3.new(seed.x, -seed.y, 0) end
  1229. 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)
  1230. for i = 1, time do
  1231. 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)
  1232. wait()
  1233. end
  1234. end))
  1235. end
  1236.  
  1237. Mouse.Button1Down:connect(function()
  1238. if attack == false and attacktype == 1 then
  1239. attacktype = 2
  1240. attackone()
  1241. elseif attack == false and attacktype == 2 then
  1242. attacktype = 1
  1243. attacktwo()
  1244. end
  1245. end)
  1246.  
  1247. game.Lighting.Outlines = false
  1248.  
  1249. function attackone()
  1250. attack = true
  1251. for i = 0, 1, 0.12 do
  1252. swait()
  1253. PlayAnimationFromTable({
  1254. 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),
  1255. 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),
  1256. 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),
  1257. 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),
  1258. 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),
  1259. 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),
  1260. }, .3, false)
  1261. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1262. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1263. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1264. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1265. end
  1266. MagnitudeDamage(HitboxR, 5, 10, 20, math.random(0, 0), "Normal", "260430079", 1)
  1267. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1268. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1269. for i = 0, 1, 0.11 do
  1270. swait()
  1271. PlayAnimationFromTable({
  1272. 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),
  1273. 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),
  1274. 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),
  1275. 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),
  1276. 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),
  1277. 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),
  1278. }, .45, false)
  1279. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1280. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1281. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1282. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1283. end
  1284. attack = false
  1285. end
  1286.  
  1287. function attacktwo()
  1288. attack = true
  1289. for i = 0, 1, 0.8 do
  1290. swait()
  1291. PlayAnimationFromTable({
  1292. 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),
  1293. 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),
  1294. 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),
  1295. 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),
  1296. 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),
  1297. 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),
  1298. }, .8, false)
  1299. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1300. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1301. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1302. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1303. end
  1304. CFuncs.Sound.Create("200632136", LeftLeg, .3, math.random(1, 1.2))
  1305. MagnitudeDamage(LeftLeg, 7, 10, 15, 0, "Normal", "260430060", 1)
  1306. for i = 0, 1, 0.8 do
  1307. swait()
  1308. PlayAnimationFromTable({
  1309. 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),
  1310. 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),
  1311. 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),
  1312. 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),
  1313. 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),
  1314. 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))),
  1315. }, .8, false)
  1316. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1317. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1318. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1319. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1320. end
  1321. attack = false
  1322. end
  1323.  
  1324. findNearestTorso = function(pos)
  1325. local list = (game.Workspace:children())
  1326. local torso = nil
  1327. local dist = 1000
  1328. local temp, human, temp2 = nil, nil, nil
  1329. for x = 1, #list do
  1330. temp2 = list[x]
  1331. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1332. temp = temp2:findFirstChild("Torso")
  1333. human = temp2:findFirstChild("Humanoid")
  1334. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  1335. local dohit = true
  1336. if dohit == true then
  1337. torso = temp
  1338. dist = (temp.Position - pos).magnitude
  1339. end
  1340. end
  1341. end
  1342. end
  1343. return torso, dist
  1344. end
  1345.  
  1346. function MultiOrbAttack()
  1347. attack = true
  1348. for i = 0, 1, 0.1 do
  1349. swait()
  1350. PlayAnimationFromTable({
  1351. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1352. 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),
  1353. 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),
  1354. 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),
  1355. 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),
  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. }, .3, false)
  1358. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1359. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1360. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1361. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1362. end
  1363. for i = 0, 1, 0.06 do
  1364. swait()
  1365. PlayAnimationFromTable({
  1366. 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),
  1367. 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),
  1368. 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),
  1369. 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),
  1370. 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),
  1371. 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),
  1372. }, .3, false)
  1373. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1374. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1375. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1376. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1377. end
  1378. for i = 1,15 do
  1379. spawn(function()
  1380.  
  1381. -- if canproj == true then
  1382. -- canproj = false
  1383. mse = game.Players.LocalPlayer:GetMouse()
  1384. local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
  1385. local anotherposition=findNearestTorso(Torso.Position)
  1386. local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
  1387.  
  1388. ball.Size = Vector3.new(1.5,1.5,1.5)
  1389. ball.CanCollide = false
  1390. ball.BrickColor = BrickColor.new("Institutional white")
  1391. ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
  1392. ball.Anchored = true
  1393. ball.TopSurface = 0
  1394. ball.BottomSurface = 0
  1395. ball.Material = "Neon"
  1396. local ballm = Instance.new("SpecialMesh",ball)
  1397. ballm.MeshType = "Sphere"
  1398.  
  1399. local bp1 = Instance.new("BodyPosition",ball)
  1400. bp1.MaxForce = Vector3.new(10000,10000,10000)
  1401. bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  1402. bp1.P = 10000
  1403. bp1.D = 1000
  1404. if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
  1405. else
  1406.  
  1407. --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
  1408. local bodyforc = Instance.new("BodyForce", ball)
  1409. bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
  1410.  
  1411. repeat wait() until (ball.Position-bp1.Position).magnitude < 10
  1412.  
  1413. bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
  1414.  
  1415. repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
  1416.  
  1417. local sound = Instance.new("Sound",ball)
  1418. sound.Pitch = 0.5
  1419. sound.SoundId="http://www.roblox.com/asset/?id=165970126"
  1420. wait()
  1421. sound:Play()
  1422. MagnitudeDamage(ball, 20, 10, 30, 100, "Normal", "610359515", 1)
  1423.  
  1424. for i = 1,50,5 do
  1425.  
  1426. ballm.Scale = Vector3.new(i,i,i)
  1427.  
  1428. ball.Transparency= i/50
  1429.  
  1430.  
  1431. wait()
  1432. end
  1433. ball:Remove()
  1434. wait()
  1435. end
  1436. --end
  1437.  
  1438. end)
  1439. end
  1440. attack = false
  1441. end
  1442.  
  1443. function OrbAttack()
  1444. attack = true
  1445. for i = 0, 1, 0.1 do
  1446. swait()
  1447. PlayAnimationFromTable({
  1448. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1449. 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),
  1450. 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),
  1451. 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),
  1452. 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),
  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. }, .3, false)
  1455. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1456. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1457. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1458. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1459. end
  1460. for i = 0, 1, 0.06 do
  1461. swait()
  1462. PlayAnimationFromTable({
  1463. 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),
  1464. 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),
  1465. 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),
  1466. 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),
  1467. 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),
  1468. 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),
  1469. }, .3, false)
  1470. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.3)
  1471. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.3)
  1472. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.3)
  1473. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.3)
  1474. end
  1475. spawn(function()
  1476.  
  1477. -- if canproj == true then
  1478. -- canproj = false
  1479. mse = game.Players.LocalPlayer:GetMouse()
  1480. local posishun = Vector3.new(math.random(-100,100),math.random(100,500),math.random(-100,100))
  1481. local anotherposition=findNearestTorso(mse.Hit.p)
  1482. local ball = Instance.new("Part",game.Players.LocalPlayer.Character)
  1483.  
  1484. ball.Size = Vector3.new(2.5,2.5,2.5)
  1485. ball.CanCollide = false
  1486. ball.BrickColor = BrickColor.new("Institutional white")
  1487. ball.CFrame = RightArm.CFrame * CFrame.new(0,-10,0)
  1488. ball.Anchored = true
  1489. ball.TopSurface = 0
  1490. ball.BottomSurface = 0
  1491. ball.Material = "Neon"
  1492. local ballm = Instance.new("SpecialMesh",ball)
  1493. ballm.MeshType = "Sphere"
  1494.  
  1495. local bp1 = Instance.new("BodyPosition",ball)
  1496. bp1.MaxForce = Vector3.new(10000,10000,10000)
  1497. bp1.Position = posishun + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  1498. bp1.P = 10000
  1499. bp1.D = 1000
  1500. if bp1.Position == nil then bp1.Position = Vector3.new(math.random(-10,10),math.random(0,20),math.random(-10,10))
  1501. else
  1502.  
  1503. --[[ball.Velocity = CFrame.new(ball.Position,bp.Position).lookVector * 500
  1504. local bodyforc = Instance.new("BodyForce", ball)
  1505. bodyforc.force = Vector3.new(0, ball:GetMass() * 196.1, 0)]]--
  1506.  
  1507. repeat wait() until (ball.Position-bp1.Position).magnitude < 10
  1508.  
  1509. bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15))
  1510.  
  1511. repeat wait() bp1.Position = anotherposition.Position + Vector3.new(math.random(-15,15),0,math.random(-15,15)) until (ball.Position-bp1.Position).magnitude < 10
  1512.  
  1513. local sound = Instance.new("Sound",ball)
  1514. sound.Pitch = 0.5
  1515. sound.SoundId="http://www.roblox.com/asset/?id=165970126"
  1516. wait()
  1517. sound:Play()
  1518. MagnitudeDamage(ball, 50, 50, 70, 100, "Normal", "610359515", 1)
  1519.  
  1520. for i = 1,50,5 do
  1521.  
  1522. ballm.Scale = Vector3.new(i,i,i)
  1523.  
  1524. ball.Transparency= i/50
  1525.  
  1526.  
  1527. wait()
  1528. end
  1529. ball:Remove()
  1530. wait()
  1531. end
  1532. --end
  1533.  
  1534. end)
  1535. attack = false
  1536. end
  1537.  
  1538. Mouse.KeyDown:connect(function(k)
  1539. k = k:lower()
  1540. if attack == false and k == 'q' then
  1541. OrbAttack()
  1542. end
  1543. if attack == false and k == 'e' then
  1544. MultiOrbAttack()
  1545. end
  1546. end)
  1547.  
  1548. coroutine.resume(coroutine.create(function(Part, Part2)
  1549. while Part.Parent ~= nil do
  1550. swait(math.random(100, 150))
  1551. for i = 0, 1, 0.2 do
  1552. wait()
  1553. Eye1.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  1554. Eye2.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
  1555. end
  1556. for i = 0, 1, 0.2 do
  1557. swait()
  1558. Eye1.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  1559. Eye2.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
  1560. end
  1561. end
  1562. end), Eye1, Eye2)
  1563.  
  1564. game:GetService("RunService").RenderStepped:connect(function()
  1565. if attack == false then
  1566. for i, v in pairs(Character:children()) do
  1567. if v.ClassName == "Accessory" then
  1568. for i, v2 in pairs(v:children()) do
  1569. if v2.ClassName == "Part" then
  1570. v2.Anchored = false
  1571. end
  1572. end
  1573. end
  1574. end
  1575. for i, v in pairs(Character:children()) do
  1576. if v.ClassName == "Part" then
  1577. v.Anchored = false
  1578. end
  1579. end
  1580. end
  1581. end)
  1582.  
  1583. recurses2 = function(n)
  1584. for i, v in pairs(n:GetChildren()) do
  1585. if v:isA'BasePart' and v:IsDescendantOf(char) and v.Name ~= 'HumanoidRootPart' and v.Name ~= "Base" then
  1586. v.Anchored = false
  1587. end
  1588. recurses2(v)
  1589. end
  1590. end
  1591. local sine = 0
  1592. local change = 1
  1593. local t = 0
  1594. local FlyHeight = 0
  1595. while true do
  1596. if Character.Humanoid.Health == 0 then
  1597. print("Dead again")
  1598. else
  1599. swait()
  1600. for i,v in pairs(Character:children()) do
  1601. if v:IsA("Part") then
  1602. v.Anchored = false
  1603. end
  1604. end
  1605. sine = sine + change
  1606. HHandle.Transparency = 1
  1607. THandle.Transparency = 1
  1608. AHandleR.Transparency = 1
  1609. AHandleL.Transparency = 1
  1610. LHandleR.Transparency = 1
  1611. LHandleL.Transparency = 1
  1612. RootPart.Transparency = 1
  1613. HitboxR.Transparency = 1
  1614. HitboxL.Transparency = 1
  1615. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1616. velocity = RootPart.Velocity.y
  1617. sine = sine + change
  1618. Shield.Anchored = true
  1619. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  1620. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1621. local RightLeg = CFrame.new(0.5,-1,0)
  1622. local LeftLeg = CFrame.new(-0.5,-1,0)
  1623.  
  1624. local lefth = (Torso.CFrame*LeftLeg)
  1625. local righth = (Torso.CFrame*RightLeg)
  1626.  
  1627. local speed = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z)
  1628.  
  1629. local TiltOnAxis = (Torso.CFrame-Torso.CFrame.p):vectorToObjectSpace(speed/100)
  1630.  
  1631. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1632. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1633. if RootPart.Velocity.y > 1 and hit == nil then
  1634. Anim = "Jump"
  1635. if attack == false then
  1636. change = 1
  1637. PlayAnimationFromTable({
  1638. 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),
  1639. 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),
  1640. 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),
  1641. 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),
  1642. 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),
  1643. 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),
  1644. }, .06, false)
  1645. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1646. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1647. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1648. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1649. end
  1650. elseif RootPart.Velocity.y < -1 and hit == nil then
  1651. Anim = "Fall"
  1652. if attack == false then
  1653. change = 1
  1654. PlayAnimationFromTable({
  1655. 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),
  1656. 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),
  1657. 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),
  1658. 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),
  1659. 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),
  1660. 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),
  1661. }, .06, false)
  1662. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1663. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1664. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1665. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1666. end
  1667. elseif Torsovelocity < 1 and hit ~= nil then
  1668. Anim = "Idle"
  1669. if attack == false then
  1670. change = 1
  1671. PlayAnimationFromTable({
  1672. 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),
  1673. 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),
  1674. 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),
  1675. 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),
  1676. 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)),
  1677. 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)),
  1678. }, .08, false)
  1679. LH.C1 = clerp(LH.C1,CFrame.new(0,0,0),0.08)
  1680. RH.C1 = clerp(RH.C1,CFrame.new(0,0,0),0.08)
  1681. RW.C1 = clerp(RW.C1,CFrame.new(0,0,0),0.08)
  1682. LW.C1 = clerp(LW.C1,CFrame.new(0,0,0),0.08)
  1683. end
  1684. elseif Torsovelocity > 2 and hit ~= nil then
  1685. Anim = "Walk"
  1686. if attack == false then
  1687. change = 0.5
  1688. 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)
  1689. 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)
  1690. 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)
  1691. RW.C1 = clerp(RW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1692. 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)
  1693. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1694. 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)
  1695. RH.C1 = RH.C1:lerp(CFrame.new(0, 1, 0),.8)
  1696.  
  1697. --RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1698. 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)
  1699. LH.C1 = LH.C1:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1700.  
  1701. --LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1702. end
  1703. end
  1704. end
  1705. if 0 < #Effects then
  1706. for e = 1, #Effects do
  1707. if Effects[e] ~= nil then
  1708. local Thing = Effects[e]
  1709. if Thing ~= nil then
  1710. local Part = Thing[1]
  1711. local Mode = Thing[2]
  1712. local Delay = Thing[3]
  1713. local IncX = Thing[4]
  1714. local IncY = Thing[5]
  1715. local IncZ = Thing[6]
  1716. if Thing[2] == "Shoot" then
  1717. local Look = Thing[1]
  1718. local move = 30
  1719. if Thing[8] == 3 then
  1720. move = 10
  1721. end
  1722. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1723. if Thing[10] ~= nil then
  1724. da = pos
  1725. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1726. cfa = CFrame.new(Thing[4], pos)
  1727. tehCF = cfa:lerp(cf2, 0.2)
  1728. Thing[1] = tehCF.lookVector
  1729. end
  1730. local mag = (Thing[4] - pos).magnitude
  1731. 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)
  1732. if Thing[8] == 2 then
  1733. 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)
  1734. end
  1735. Thing[4] = Thing[4] + Look * move
  1736. Thing[3] = Thing[3] - 1
  1737. if 2 < Thing[5] then
  1738. Thing[5] = Thing[5] - 0.3
  1739. Thing[6] = Thing[6] - 0.3
  1740. end
  1741. if hit ~= nil then
  1742. Thing[3] = 0
  1743. if Thing[8] == 1 or Thing[8] == 3 then
  1744. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1745. else
  1746. if Thing[8] == 2 then
  1747. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1748. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1749. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1750. ref.Anchored = true
  1751. ref.CFrame = CFrame.new(pos)
  1752. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1753. game:GetService("Debris"):AddItem(ref, 0.2)
  1754. 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)
  1755. 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)
  1756. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1757. end
  1758. end
  1759. end
  1760. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1761. ref.Anchored = true
  1762. ref.CFrame = CFrame.new(pos)
  1763. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1764. game:GetService("Debris"):AddItem(ref, 1)
  1765. end
  1766. if Thing[3] <= 0 then
  1767. table.remove(Effects, e)
  1768. end
  1769. end
  1770. do
  1771. do
  1772. if Thing[2] == "FireWave" then
  1773. if Thing[3] <= Thing[4] then
  1774. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1775. Thing[3] = Thing[3] + 1
  1776. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1777. else
  1778. Part.Parent = nil
  1779. table.remove(Effects, e)
  1780. end
  1781. end
  1782. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1783. if Thing[1].Transparency <= 1 then
  1784. if Thing[2] == "Block1" then
  1785. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1786. Mesh = Thing[7]
  1787. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1788. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1789. else
  1790. if Thing[2] == "Block2" then
  1791. Thing[1].CFrame = Thing[1].CFrame
  1792. Mesh = Thing[7]
  1793. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1794. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1795. else
  1796. if Thing[2] == "Fire" then
  1797. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1798. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1799. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1800. else
  1801. if Thing[2] == "Cylinder" then
  1802. Mesh = Thing[7]
  1803. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1804. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1805. else
  1806. if Thing[2] == "Blood" then
  1807. Mesh = Thing[7]
  1808. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1809. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1810. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1811. else
  1812. if Thing[2] == "Elec" then
  1813. Mesh = Thing[10]
  1814. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1815. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1816. else
  1817. if Thing[2] == "Disappear" then
  1818. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1819. end
  1820. end
  1821. end
  1822. end
  1823. end
  1824. end
  1825. end
  1826. else
  1827. Part.Parent = nil
  1828. table.remove(Effects, e)
  1829. end
  1830. end
  1831. end
  1832. end
  1833. end
  1834. end
  1835. end
  1836. end
  1837. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement