Advertisement
thomas13215

Roblox FE void hub by thomas13215

Oct 12th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 268.91 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local FEhub = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local otherthing = Instance.new("TextLabel")
  8. local stats = Instance.new("TextLabel")
  9. local credit = Instance.new("TextLabel")
  10. local fly = Instance.new("TextButton")
  11. local sword = Instance.new("TextButton")
  12. local Star = Instance.new("TextButton")
  13. --Properties:
  14. FEhub.Name = "FE hub"
  15. FEhub.Parent = game.Players.LocalPlayer.PlayerGui
  16.  
  17. Frame.Parent = FEhub
  18. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  19. Frame.BorderColor3 = Color3.new(1, 1, 1)
  20. Frame.Position = UDim2.new(0.766642272, 0, 0.423832923, 0)
  21. Frame.Size = UDim2.new(0, 302, 0, 323)
  22.  
  23. title.Name = "title"
  24. title.Parent = Frame
  25. title.BackgroundColor3 = Color3.new(0, 0, 0)
  26. title.BorderColor3 = Color3.new(1, 1, 1)
  27. title.Position = UDim2.new(-0.0264900662, 0, -0.0189573467, 0)
  28. title.Size = UDim2.new(0, 319, 0, 23)
  29. title.Font = Enum.Font.ArialBold
  30. title.Text = "Void Hub"
  31. title.TextColor3 = Color3.new(1, 1, 1)
  32. title.TextSize = 20
  33.  
  34. otherthing.Name = "other thing"
  35. otherthing.Parent = Frame
  36. otherthing.BackgroundColor3 = Color3.new(0, 0, 0)
  37. otherthing.BorderColor3 = Color3.new(1, 1, 1)
  38. otherthing.Position = UDim2.new(0.155629143, 0, 0.0541208759, 0)
  39. otherthing.Size = UDim2.new(0, 203, 0, 23)
  40. otherthing.Font = Enum.Font.ArialBold
  41. otherthing.Text = "FE scripts"
  42. otherthing.TextColor3 = Color3.new(1, 1, 1)
  43. otherthing.TextSize = 14
  44.  
  45. stats.Name = "stats"
  46. stats.Parent = Frame
  47. stats.BackgroundColor3 = Color3.new(0, 0, 0)
  48. stats.BorderColor3 = Color3.new(1, 1, 1)
  49. stats.Position = UDim2.new(-0.0264900662, 0, 0.945497632, 0)
  50. stats.Size = UDim2.new(0, 319, 0, 23)
  51. stats.Font = Enum.Font.ArialBold
  52. stats.Text = "Created by thomas13215"
  53. stats.TextColor3 = Color3.new(1, 1, 1)
  54. stats.TextSize = 20
  55.  
  56. credit.Name = "credit"
  57. credit.Parent = Frame
  58. credit.BackgroundColor3 = Color3.new(0, 0, 0)
  59. credit.BorderColor3 = Color3.new(1, 1, 1)
  60. credit.Position = UDim2.new(0.251655608, 0, 0.124103121, 0)
  61. credit.Size = UDim2.new(0, 145, 0, 19)
  62. credit.Font = Enum.Font.ArialBold
  63. credit.Text = "Game status: FE"
  64. credit.TextColor3 = Color3.new(0, 1, 0)
  65. credit.TextSize = 14
  66.  
  67. fly.Name = "fly"
  68. fly.Parent = Frame
  69. fly.BackgroundColor3 = Color3.new(0, 0, 0)
  70. fly.BorderColor3 = Color3.new(1, 1, 1)
  71. fly.Position = UDim2.new(0.168874189, 0, 0.230202615, 0)
  72. fly.Size = UDim2.new(0, 200, 0, 50)
  73. fly.Style = Enum.ButtonStyle.RobloxButton
  74. fly.Font = Enum.Font.ArialBold
  75. fly.Text = "Fly E to toggle"
  76. fly.TextColor3 = Color3.new(1, 1, 1)
  77. fly.TextSize = 14
  78. fly.MouseButton1Down:connect(function()
  79. --script goes under here
  80. repeat wait()
  81. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  82. local mouse = game.Players.LocalPlayer:GetMouse()
  83. repeat wait() until mouse
  84. local plr = game.Players.LocalPlayer
  85. local torso = plr.Character.Torso
  86. local flying = true
  87. local deb = true
  88. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  89. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  90. local maxspeed = 100
  91. local speed = 0
  92.  
  93. function Fly()
  94. local bg = Instance.new("BodyGyro", torso)
  95. bg.P = 9e4
  96. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  97. bg.cframe = torso.CFrame
  98. local bv = Instance.new("BodyVelocity", torso)
  99. bv.velocity = Vector3.new(0,0.1,0)
  100. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  101. repeat wait()
  102. plr.Character.Humanoid.PlatformStand = true
  103. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  104. speed = speed+.5+(speed/maxspeed)
  105. if speed > maxspeed then
  106. speed = maxspeed
  107. end
  108. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  109. speed = speed-1
  110. if speed < 0 then
  111. speed = 0
  112. end
  113. end
  114. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  115. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  116. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  117. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  118. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  119. else
  120. bv.velocity = Vector3.new(0,0.1,0)
  121. end
  122. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  123. until not flying
  124. ctrl = {f = 0, b = 0, l = 0, r = 0}
  125. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  126. speed = 0
  127. bg:Destroy()
  128. bv:Destroy()
  129. plr.Character.Humanoid.PlatformStand = false
  130. end
  131. mouse.KeyDown:connect(function(key)
  132. if key:lower() == "e" then
  133. if flying then flying = false
  134. else
  135. flying = true
  136. Fly()
  137. end
  138. elseif key:lower() == "w" then
  139. ctrl.f = 1
  140. elseif key:lower() == "s" then
  141. ctrl.b = -1
  142. elseif key:lower() == "a" then
  143. ctrl.l = -1
  144. elseif key:lower() == "d" then
  145. ctrl.r = 1
  146. end
  147. end)
  148. mouse.KeyUp:connect(function(key)
  149. if key:lower() == "w" then
  150. ctrl.f = 0
  151. elseif key:lower() == "s" then
  152. ctrl.b = 0
  153. elseif key:lower() == "a" then
  154. ctrl.l = 0
  155. elseif key:lower() == "d" then
  156. ctrl.r = 0
  157. end
  158. end)
  159. Fly()
  160. end)
  161.  
  162.  
  163. sword.Name = "sword"
  164. sword.Parent = Frame
  165. sword.BackgroundColor3 = Color3.new(0, 0, 0)
  166. sword.BorderColor3 = Color3.new(1, 1, 1)
  167. sword.Position = UDim2.new(0.168874174, 0, 0.421830237, 0)
  168. sword.Size = UDim2.new(0, 200, 0, 50)
  169. sword.Style = Enum.ButtonStyle.RobloxButton
  170. sword.Font = Enum.Font.ArialBold
  171. sword.Text = "Lustrus Sword"
  172. sword.TextColor3 = Color3.new(1, 1, 1)
  173. sword.TextSize = 14
  174. sword.MouseButton1Down:connect(function()
  175. --script goes under here
  176. local Source = [[Remote = Instance.new("RemoteFunction")
  177. Remote.Name = "Remote"
  178. Remote.OnServerInvoke = function(player, request, ...)
  179. if player ~= owner then
  180. return error ('You cannot invoke this remote', 0);
  181. end;
  182.  
  183. if request == 1 then
  184. Button1Down(...)
  185. elseif request == 2 then
  186. KeyDown(...)
  187. end
  188.  
  189. end
  190. Remote.Parent = script
  191.  
  192.  
  193. Player=owner
  194. Character=Player.Character
  195. PlayerGui=Player.PlayerGui
  196. Backpack=Player.Backpack
  197. Torso=Character.Torso
  198. Head=Character.Head
  199. Humanoid=Character.Humanoid
  200. LeftArm=Character["Left Arm"]
  201. LeftLeg=Character["Left Leg"]
  202. RightArm=Character["Right Arm"]
  203. RightLeg=Character["Right Leg"]
  204. LS=Torso["Left Shoulder"]
  205. LH=Torso["Left Hip"]
  206. RS=Torso["Right Shoulder"]
  207. RH=Torso["Right Hip"]
  208. Face = Head.face
  209. Neck=Torso.Neck
  210. it=Instance.new
  211. attacktype=1
  212. vt=Vector3.new
  213. cf=CFrame.new
  214. euler=CFrame.fromEulerAnglesXYZ
  215. angles=CFrame.Angles
  216. cloaked=false
  217. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  218. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  219. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  220. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  221. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  222. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  223. RootPart=Character.HumanoidRootPart
  224. RootJoint=RootPart.RootJoint
  225. RootCF=euler(-1.57,0,3.14)
  226. attack = false
  227. bounce=false
  228. cooldown=false
  229. deeznuts=false
  230. attackdebounce = false
  231. deb=false
  232. equipped=true
  233. hand=false
  234. MMouse=nil
  235. combo=0
  236. mana=0
  237. trispeed=.2
  238. attackmode='none'
  239. local idle=0
  240. local Anim="Idle"
  241. local Effects={}
  242. local gun=false
  243. local shoot=false
  244. player=nil
  245. mana=0
  246. ZTarget = nil
  247. RocketTarget = nil
  248. local m = Instance.new("Model",Character)
  249. m.Name = "WeaponModel"
  250. RSH, LSH=nil, nil
  251. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  252. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  253. LH=Torso["Left Hip"]
  254. RH=Torso["Right Hip"]
  255. TorsoColor=Torso.BrickColor
  256. function NoOutline(Part)
  257. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  258. end
  259. player=Player
  260. ch=Character
  261. RSH=ch.Torso["Right Shoulder"]
  262. LSH=ch.Torso["Left Shoulder"]
  263. RSH.Parent=nil
  264. LSH.Parent=nil
  265. RW.Name="Right Shoulder"
  266. RW.Part0=ch.Torso
  267. RW.C0=cf(1.5, 0.5, 0)
  268. RW.C1=cf(0, 0.5, 0)
  269. RW.Part1=ch["Right Arm"]
  270. RW.Parent=ch.Torso
  271. LW.Name="Left Shoulder"
  272. LW.Part0=ch.Torso
  273. LW.C0=cf(-1.5, 0.5, 0)
  274. LW.C1=cf(0, 0.5, 0)
  275. LW.Part1=ch["Left Arm"]
  276. LW.Parent=ch.Torso
  277.  
  278. function swait(num)
  279. if num==0 or num==nil then
  280. game:service'RunService'.Heartbeat:wait(0)
  281. else
  282. for i=0,num do
  283. game:service'RunService'.Heartbeat:wait(0)
  284. end
  285. end
  286. end
  287.  
  288. function nooutline(part)
  289. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  290. end
  291.  
  292. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  293. local fp=it("Part")
  294. fp.formFactor=formfactor
  295. fp.Parent=parent
  296. fp.Reflectance=reflectance
  297. fp.Transparency=transparency
  298. fp.CanCollide=false
  299. fp.Locked=true
  300. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  301. fp.Name=name
  302. fp.Size=size
  303. fp.Position=Character.Torso.Position
  304. nooutline(fp)
  305. fp.Material=material
  306. fp:BreakJoints()
  307. return fp
  308. end
  309.  
  310. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  311. local fp = it("Part")
  312. fp.formFactor = formfactor
  313. fp.Parent = parent
  314. fp.Reflectance = reflectance
  315. fp.Transparency = transparency
  316. fp.CanCollide = false
  317. fp.Locked=true
  318. fp.BrickColor = brickcolor
  319. fp.Name = name
  320. fp.Size = size
  321. fp.Position = EffectPart.Position
  322. NoOutline(fp)
  323. fp.Material="Neon"
  324. fp:BreakJoints()
  325. return fp
  326. end
  327.  
  328. function wweld(parent,part0,part1,c0)
  329. local weld=it("Weld")
  330. weld.Parent=parent
  331. weld.Part0=part0
  332. weld.Part1=part1
  333. weld.C0=c0
  334. return weld
  335. end
  336.  
  337. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  338. local mesh=it(Mesh)
  339. mesh.Parent=part
  340. if Mesh=="SpecialMesh" then
  341. mesh.MeshType=meshtype
  342. mesh.MeshId=meshid
  343. end
  344. mesh.Offset=offset
  345. mesh.Scale=scale
  346. return mesh
  347. end
  348.  
  349. function decal(part,face,texture,transparency,shiny,specular,name)
  350. local d=it("Decal",part)
  351. d.Shiny=shiny
  352. d.Face=face
  353. d.Specular=specular
  354. d.Transparency=transparency
  355. d.Texture=texture
  356. d.Name=name
  357. return d
  358. end
  359.  
  360. function weld(parent,part0,part1,c0,c1)
  361. local weld=it("Weld")
  362. weld.Parent=parent
  363. weld.Part0=part0
  364. weld.Part1=part1
  365. weld.C0=c0
  366. weld.C1=c1
  367. return weld
  368. end
  369.  
  370.  
  371. local function CFrameFromTopBack(at, top, back)
  372. local right = top:Cross(back)
  373. return CFrame.new(at.x, at.y, at.z,right.x, top.x, back.x,right.y, top.y, back.y,right.z, top.z, back.z)
  374. end
  375.  
  376. function Triangle(a, b, c)
  377. local edg1 = (c-a):Dot((b-a).unit)
  378. local edg2 = (a-b):Dot((c-b).unit)
  379. local edg3 = (b-c):Dot((a-c).unit)
  380. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  381. a, b, c = a, b, c
  382. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  383. a, b, c = b, c, a
  384. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  385. a, b, c = c, a, b
  386. else
  387. assert(false, "unreachable")
  388. end
  389.  
  390. local len1 = (c-a):Dot((b-a).unit)
  391. local len2 = (b-a).magnitude - len1
  392. local width = (a + (b-a).unit*len1 - c).magnitude
  393.  
  394. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  395.  
  396. local list = {}
  397.  
  398. local TrailColor = ("Royal purple")
  399.  
  400. if len1 > 0.01 then
  401. local w1 = Instance.new('WedgePart', m)
  402. game:GetService("Debris"):AddItem(w1,5)
  403. w1.Material = "Neon"
  404. w1.FormFactor = 'Custom'
  405. w1.BrickColor = BrickColor.new(TrailColor)
  406. w1.Transparency = 0
  407. w1.Reflectance = 0
  408. w1.Material = "Neon"
  409. w1.CanCollide = false
  410. NoOutline(w1)
  411. local sz = Vector3.new(0.2, width, len1)
  412. w1.Size = sz
  413. local sp = Instance.new("SpecialMesh",w1)
  414. sp.MeshType = "Wedge"
  415. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  416. w1:BreakJoints()
  417. w1.Anchored = true
  418. w1.Parent = workspace
  419. w1.Transparency = 0.7
  420. table.insert(Effects,{w1,"Disappear",.01})
  421. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  422. table.insert(list,w1)
  423. end
  424.  
  425. if len2 > 0.01 then
  426. local w2 = Instance.new('WedgePart', m)
  427. game:GetService("Debris"):AddItem(w2,5)
  428. w2.Material = "Neon"
  429. w2.FormFactor = 'Custom'
  430. w2.BrickColor = BrickColor.new(TrailColor)
  431. w2.Transparency = 0
  432. w2.Reflectance = 0
  433. w2.Material = "Neon"
  434. w2.CanCollide = false
  435. NoOutline(w2)
  436. local sz = Vector3.new(0.2, width, len2)
  437. w2.Size = sz
  438. local sp = Instance.new("SpecialMesh",w2)
  439. sp.MeshType = "Wedge"
  440. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  441. w2:BreakJoints()
  442. w2.Anchored = true
  443. w2.Parent = workspace
  444. w2.Transparency = 0.7
  445. table.insert(Effects,{w2,"Disappear",.01})
  446. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  447. table.insert(list,w2)
  448. end
  449. return unpack(list)
  450. end
  451.  
  452.  
  453. so = function(id,par,vol,pit)
  454. coroutine.resume(coroutine.create(function()
  455. local sou = Instance.new("Sound",par or workspace)
  456. sou.Volume=vol
  457. sou.Pitch=pit or 1
  458. sou.SoundId=id
  459. swait()
  460. sou:play()
  461. game:GetService("Debris"):AddItem(sou,6)
  462. end))
  463. end
  464.  
  465. function clerp(a,b,t)
  466. local qa = {QuaternionFromCFrame(a)}
  467. local qb = {QuaternionFromCFrame(b)}
  468. local ax, ay, az = a.x, a.y, a.z
  469. local bx, by, bz = b.x, b.y, b.z
  470. local _t = 1-t
  471. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  472. end
  473.  
  474. function QuaternionFromCFrame(cf)
  475. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  476. local trace = m00 + m11 + m22
  477. if trace > 0 then
  478. local s = math.sqrt(1 + trace)
  479. local recip = 0.5/s
  480. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  481. else
  482. local i = 0
  483. if m11 > m00 then
  484. i = 1
  485. end
  486. if m22 > (i == 0 and m00 or m11) then
  487. i = 2
  488. end
  489. if i == 0 then
  490. local s = math.sqrt(m00-m11-m22+1)
  491. local recip = 0.5/s
  492. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  493. elseif i == 1 then
  494. local s = math.sqrt(m11-m22-m00+1)
  495. local recip = 0.5/s
  496. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  497. elseif i == 2 then
  498. local s = math.sqrt(m22-m00-m11+1)
  499. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  500. end
  501. end
  502. end
  503.  
  504. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  505. local xs, ys, zs = x + x, y + y, z + z
  506. local wx, wy, wz = w*xs, w*ys, w*zs
  507. local xx = x*xs
  508. local xy = x*ys
  509. local xz = x*zs
  510. local yy = y*ys
  511. local yz = y*zs
  512. local zz = z*zs
  513. 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))
  514. end
  515.  
  516. function QuaternionSlerp(a, b, t)
  517. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  518. local startInterp, finishInterp;
  519. if cosTheta >= 0.0001 then
  520. if (1 - cosTheta) > 0.0001 then
  521. local theta = math.acos(cosTheta)
  522. local invSinTheta = 1/math.sin(theta)
  523. startInterp = math.sin((1-t)*theta)*invSinTheta
  524. finishInterp = math.sin(t*theta)*invSinTheta
  525. else
  526. startInterp = 1-t
  527. finishInterp = t
  528. end
  529. else
  530. if (1+cosTheta) > 0.0001 then
  531. local theta = math.acos(-cosTheta)
  532. local invSinTheta = 1/math.sin(theta)
  533. startInterp = math.sin((t-1)*theta)*invSinTheta
  534. finishInterp = math.sin(t*theta)*invSinTheta
  535. else
  536. startInterp = t-1
  537. finishInterp = t
  538. end
  539. end
  540. 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
  541. end
  542.  
  543. function rayCast(Pos, Dir, Max, Ignore)
  544. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  545. end
  546.  
  547. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  548. if hit.Parent==nil then
  549. return
  550. end
  551. local h=hit.Parent:FindFirstChild("Humanoid")
  552. for _,v in pairs(hit.Parent:children()) do
  553. if v:IsA("Humanoid") then
  554. h=v
  555. end
  556. end
  557. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  558. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  559. end
  560. if hit.Parent.className=="Hat" then
  561. hit=hit.Parent.Parent:findFirstChild("Head")
  562. end
  563. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  564. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  565. local c=Instance.new("ObjectValue")
  566. c.Name="creator"
  567. c.Value=game:service("Players").LocalPlayer
  568. c.Parent=h
  569. game:GetService("Debris"):AddItem(c,.5)
  570. local Damage=math.random(minim,maxim)
  571. local blocked=false
  572. local block=hit.Parent:findFirstChild("Block")
  573. if block~=nil then
  574. print(block.className)
  575. if block.className=="NumberValue" then
  576. if block.Value>0 then
  577. blocked=true
  578. if decreaseblock==nil then
  579. block.Value=block.Value-1
  580. end
  581. end
  582. end
  583. if block.className=="IntValue" then
  584. if block.Value>0 then
  585. blocked=true
  586. if decreaseblock~=nil then
  587. block.Value=block.Value-1
  588. end
  589. end
  590. end
  591. end
  592. if blocked==false then
  593. h.Health=h.Health-Damage
  594. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  595. else
  596. h.Health=h.Health-(Damage/2)
  597. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  598. end
  599. if Type=="Knockdown" then
  600. local hum=hit.Parent.Humanoid
  601. hum.PlatformStand=true
  602. coroutine.resume(coroutine.create(function(HHumanoid)
  603. swait(1)
  604. HHumanoid.PlatformStand=false
  605. end),hum)
  606. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  607. local bodvol=Instance.new("BodyVelocity")
  608. bodvol.velocity=angle*knockback
  609. bodvol.P=5000
  610. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  611. bodvol.Parent=hit
  612. local rl=Instance.new("BodyAngularVelocity")
  613. rl.P=3000
  614. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  615. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  616. rl.Parent=hit
  617. game:GetService("Debris"):AddItem(bodvol,.5)
  618. game:GetService("Debris"):AddItem(rl,.5)
  619. elseif Type=="Normal" then
  620. local vp=Instance.new("BodyVelocity")
  621. vp.P=500
  622. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  623. if KnockbackType==1 then
  624. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  625. elseif KnockbackType==2 then
  626. vp.velocity=Property.CFrame.lookVector*knockback
  627. end
  628. if knockback>0 then
  629. vp.Parent=hit.Parent.Torso
  630. end
  631. game:GetService("Debris"):AddItem(vp,.5)
  632. elseif Type=="Up" then
  633. local bodyVelocity=Instance.new("BodyVelocity")
  634. bodyVelocity.velocity=vt(0,60,0)
  635. bodyVelocity.P=5000
  636. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  637. bodyVelocity.Parent=hit
  638. game:GetService("Debris"):AddItem(bodyVelocity,1)
  639. local rl=Instance.new("BodyAngularVelocity")
  640. rl.P=3000
  641. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  642. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  643. rl.Parent=hit
  644. game:GetService("Debris"):AddItem(rl,.5)
  645. elseif Type=="Snare" then
  646. local bp=Instance.new("BodyPosition")
  647. bp.P=2000
  648. bp.D=100
  649. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  650. bp.position=hit.Parent.Torso.Position
  651. bp.Parent=hit.Parent.Torso
  652. game:GetService("Debris"):AddItem(bp,1)
  653. elseif Type=="Target" then
  654. local Targetting = false
  655. if Targetting==false then
  656. ZTarget=hit.Parent.Torso
  657. coroutine.resume(coroutine.create(function(Part)
  658. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  659. swait(5)
  660. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  661. end),ZTarget)
  662. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  663. local targetgui=Instance.new("BillboardGui")
  664. targetgui.Parent=ZTarget
  665. targetgui.Size=UDim2.new(10,100,10,100)
  666. local targ=Instance.new("ImageLabel")
  667. targ.Parent=targetgui
  668. targ.BackgroundTransparency=1
  669. targ.Image="rbxassetid://4834067"
  670. targ.Size=UDim2.new(1,0,1,0)
  671. Targetting=true
  672. RocketTarget=ZTarget
  673. for i=1,Property do
  674. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  675. swait()
  676. end
  677. end
  678. Targetting=false
  679. RocketTarget=nil
  680. targetgui.Parent=nil
  681. end
  682. end
  683. local debounce=Instance.new("BoolValue")
  684. debounce.Name="DebounceHit"
  685. debounce.Parent=hit.Parent
  686. debounce.Value=true
  687. game:GetService("Debris"):AddItem(debounce,Delay)
  688. c=Instance.new("ObjectValue")
  689. c.Name="creator"
  690. c.Value=Player
  691. c.Parent=h
  692. game:GetService("Debris"):AddItem(c,.5)
  693. end
  694. end
  695.  
  696.  
  697. function ShowDamage(Pos, Text, Time, Color)
  698. local Rate = (1 / 30)
  699. local Pos = (Pos or Vector3.new(0, 0, 0))
  700. local Text = (Text or "")
  701. local Time = (Time or 2)
  702. local Color = (Color or Color3.new(1, 0, 0))
  703. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  704. EffectPart.Anchored = true
  705. local BillboardGui = Instance.new("BillboardGui")
  706. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  707. BillboardGui.Adornee = EffectPart
  708. local TextLabel = Instance.new("TextLabel")
  709. TextLabel.BackgroundTransparency = 1
  710. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  711. TextLabel.Text = Text
  712. TextLabel.TextColor3 = Color
  713. TextLabel.TextScaled = true
  714. TextLabel.Font = Enum.Font.ArialBold
  715. TextLabel.Parent = BillboardGui
  716. BillboardGui.Parent = EffectPart
  717. game.Debris:AddItem(EffectPart, (Time + 0.1))
  718. EffectPart.Parent = game:GetService("Workspace")
  719. Delay(0, function()
  720. local Frames = (Time / Rate)
  721. for Frame = 1, Frames do
  722. wait(Rate)
  723. local Percent = (Frame / Frames)
  724. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  725. TextLabel.TextTransparency = Percent
  726. end
  727. if EffectPart and EffectPart.Parent then
  728. EffectPart:Destroy()
  729. end
  730. end)
  731. end
  732.  
  733. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  734. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  735. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  737. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  738. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  740. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  741. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  743. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  744. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  746. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  747. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  749. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  750. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  751. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  752. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  753. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  754. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1, 1.20000005, 1))
  755. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  756. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  757. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  758. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  759. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  761. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  762. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  763. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  764. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  765. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  767. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  768. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  770. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  771. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  773. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  776. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  777. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  779. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  780. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  782. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  783. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  785. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  786. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  788. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  789. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  790. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  791. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  792. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  793. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  794. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  795. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  796. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  797. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  798. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  799. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  800. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  801. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  802. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  803. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  804. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  805. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  806. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  807. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Royal purple","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  809. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  810. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  812. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  813. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  814. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  815. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  816. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Royal purple","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  817. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  818. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  819. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Black","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  820. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  821.  
  822. DarkRiftF=function(par)
  823. while lol == true do
  824. wait()
  825. local PWN={}
  826. for _,v in pairs(game.Workspace:children()) do
  827. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  828. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  829. table.insert(PWN,v.Torso)
  830. end
  831. end
  832. end
  833. for _,t in pairs(PWN) do
  834. local targ=par.Position-t.Position
  835. local Mag=targ.magnitude
  836. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  837. if Mag<=30 then
  838. t.Parent.Humanoid:TakeDamage(.5)
  839. local rl=Instance.new("BodyAngularVelocity")
  840. rl.P=3000
  841. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  842. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  843. rl.Parent=t
  844. game:GetService("Debris"):AddItem(rl,.1)
  845. end
  846. if Mag<=20 then
  847. t.Parent.Humanoid:TakeDamage(.1)
  848. else
  849. local vl=Instance.new("BodyVelocity")
  850. vl.P=3000
  851. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  852. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  853. vl.Parent=t
  854. game:GetService("Debris"):AddItem(vl,.1)
  855. end
  856. end
  857. end
  858. wait(.08)
  859. end
  860. end
  861.  
  862. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  863. local msh1 = Instance.new("BlockMesh")
  864. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  865. local S=Instance.new("Part")
  866. S.Name="Effect"
  867. S.Material="Neon"
  868. S.formFactor=0
  869. S.Size=Vector3.new(x1,y1,z1)
  870. S.BrickColor=color
  871. S.Reflectance = 0
  872. S.TopSurface=0
  873. S.BottomSurface=0
  874. S.Transparency=0
  875. S.Anchored=false
  876. S.CanCollide=false
  877. S.CFrame=part.CFrame
  878. S.Parent=game.Workspace
  879. msh1.Parent = S
  880. local W=Instance.new("Weld")
  881. W.Parent=S
  882. W.Part0=S
  883. W.Part1=part
  884. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  885. W.Parent=nil
  886. S.Anchored=true
  887. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  888. end
  889.  
  890. local function BlackHole(parent,cframe)
  891. local effectsmsh = Instance.new("SpecialMesh")
  892. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  893. effectsmsh.Scale = Vector3.new(3,3,3)
  894. local effectsg = Instance.new("Part")
  895. effectsg.formFactor = 3
  896. effectsg.CanCollide = false
  897. effectsg.Name = "Effect"
  898. effectsg.Locked = true
  899. effectsg.Transparency = 1
  900. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  901. effectsg.Parent = parent
  902. effectsg.BrickColor = BrickColor.new("Royal purple")
  903. effectsg.Material="Neon"
  904. coroutine.resume(coroutine.create(function(Part,Mesh)
  905. local Mesh = Instance.new("SpecialMesh")
  906. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  907. Mesh.MeshType = "Sphere"
  908. Part=Instance.new("Part")
  909. Part.Name="Effect"
  910. Part.formFactor=0
  911. Part.Size=Vector3.new(1,1,1)
  912. Part.BrickColor=BrickColor.new("Royal purple")
  913. Part.Material="Neon"
  914. Part.Reflectance = 0
  915. Part.TopSurface=0
  916. Part.BottomSurface=0
  917. Part.Transparency=0
  918. Part.Anchored=true
  919. NoOutline(Part)
  920. Part.CanCollide=false
  921. Part.CFrame=cframe
  922. Part.Parent=parent
  923. Mesh.Parent = Part
  924. lol=true
  925. coroutine.resume(coroutine.create(function()
  926. DarkRiftF(Part)
  927. end))
  928. for i=0,200 do
  929. wait()
  930. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.new("Royal purple"))
  931. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  932. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  933. end
  934. local fff=200
  935. for i=0,100 do
  936. wait()
  937. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.new("Royal purple"))
  938. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  939. end
  940. for i=0,1,0.05 do
  941. wait()
  942. Part.Transparency=Part.Transparency+0.05
  943. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  944. end
  945. lol=false
  946. Part.Parent=nil
  947. end),nil,nil)
  948. end
  949.  
  950. function makeShockwave(height,color,speed,range,pulse)
  951. local range = range or 2000
  952. local p = Instance.new("Part")
  953. p.Anchored = true
  954. p.CanCollide = false
  955. p.FormFactor = "Custom"
  956. p.BrickColor = color
  957. p.Parent = workspace
  958. local m = Instance.new("SpecialMesh",p)
  959. m.MeshId = "rbxassetid://3270017"
  960. local estimateSurvival = math.floor(range/speed) * 0.03
  961. game:GetService("Debris"):AddItem(p,estimateSurvival)
  962. Spawn(function ()
  963. for i = 1,range,speed do
  964. p.Transparency = 1-math.min(0.5,3-(i/500))
  965. m.Scale = Vector3.new(i,i,i*height)
  966. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  967. wait()
  968. end
  969. p:Destroy()
  970. end)
  971. end
  972.  
  973. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  974. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  975. prt.Anchored=true
  976. prt.CFrame=cframe
  977. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  978. game:GetService("Debris"):AddItem(prt,2)
  979. coroutine.resume(coroutine.create(function(Part,Mesh)
  980. for i=0,2,delay do
  981. wait()
  982. Part.CFrame=Part.CFrame
  983. Part.Transparency=i
  984. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  985. end
  986. Part.Parent=nil
  987. end),prt,msh)
  988. end
  989.  
  990. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  991. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  992. prt.Anchored=true
  993. prt.CFrame=cframe
  994. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  995. game:GetService("Debris"):AddItem(prt,5)
  996. coroutine.resume(coroutine.create(function(Part,Mesh)
  997. for i=0,1,delay do
  998. wait()
  999. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1000. Part.Transparency=i
  1001. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1002. end
  1003. Part.Parent=nil
  1004. end),prt,msh)
  1005. end
  1006.  
  1007. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1008. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1009. if Type~=2 then
  1010. prt.Anchored=true
  1011. end
  1012. prt.CFrame=cframe
  1013. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1014. game:GetService("Debris"):AddItem(prt,5)
  1015. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1016. local wld=nil
  1017. if dur==2 then
  1018. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1019. end
  1020. for i=0,1,delay do
  1021. swait()
  1022. if dur==1 then
  1023. Part.CFrame=Part.CFrame
  1024. elseif dur==2 then
  1025. wld.C0=cframe
  1026. end
  1027. Part.Transparency=i
  1028. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1029. end
  1030. Part.Parent=nil
  1031. end),prt,msh,Type)
  1032. end
  1033.  
  1034. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1035. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1036. prt.Anchored=true
  1037. prt.CFrame=cframe
  1038. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1039. game:GetService("Debris"):AddItem(prt,5)
  1040. coroutine.resume(coroutine.create(function(Part,Mesh)
  1041. for i=0,1,delay do
  1042. swait()
  1043. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1044. Part.Transparency=i
  1045. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1046. end
  1047. Part.Parent=nil
  1048. end),prt,msh)
  1049. end
  1050.  
  1051. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1052. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1053. prt.Anchored=true
  1054. prt.CFrame=cframe
  1055. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1056. game:GetService("Debris"):AddItem(prt,5)
  1057. coroutine.resume(coroutine.create(function(Part,Mesh)
  1058. for i=0,1,delay do
  1059. wait()
  1060. Part.CFrame=Part.CFrame
  1061. Part.Transparency=i
  1062. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1063. end
  1064. Part.Parent=nil
  1065. end),prt,msh)
  1066. end
  1067.  
  1068. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1069. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1070. prt.Anchored=true
  1071. prt.CFrame=cframe
  1072. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1073. game:GetService("Debris"):AddItem(prt,5)
  1074. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1075. end
  1076.  
  1077. function Blast(parent)
  1078. MagicBlock(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1079. MagicWaveThing(BrickColor.new("Black"),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1080. end
  1081.  
  1082. function ChargeBall(parent,t)
  1083. local counter=0
  1084. local size=1
  1085. for i=0,t,1 do
  1086. swait()
  1087. counter=counter+1
  1088. if counter%10==0 then
  1089. if size==3 then
  1090. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1091. elseif size==2 then
  1092. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1093. end
  1094. end
  1095. if counter%5==0 then
  1096. if size==1 then
  1097. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1098. elseif size==2 then
  1099. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1100. elseif size==3 then
  1101. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1102. end
  1103. end
  1104. end
  1105. end
  1106.  
  1107. function ChargeBall2(parent,t)
  1108. local counter=0
  1109. local size=1
  1110. for i=0,t,1 do
  1111. swait()
  1112. counter=counter+1
  1113. if counter%10==0 then
  1114. if size==3 then
  1115. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1116. elseif size==2 then
  1117. MagicRing(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1118. end
  1119. end
  1120. if counter%5==0 then
  1121. if size==1 then
  1122. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1123. MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1124. elseif size==2 then
  1125. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1126. MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1127. elseif size==3 then
  1128. MagicBlock(BrickColor.new("Black"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1129. MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1130. end
  1131. end
  1132. end
  1133. end
  1134.  
  1135. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1136. for _,c in pairs(workspace:children()) do
  1137. local hum=c:findFirstChild("Humanoid")
  1138. if hum~=nil then
  1139. local head=c:findFirstChild("Torso")
  1140. if head~=nil then
  1141. local targ=head.Position-Part.Position
  1142. local mag=targ.magnitude
  1143. if mag<=dis and c.Name~=Character.Name then
  1144. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1145. end
  1146. end
  1147. end
  1148. end
  1149. end
  1150.  
  1151. function computeDirection(vec)
  1152. local lenSquared = vec.magnitude * vec.magnitude
  1153. local invSqrt = 1 / math.sqrt(lenSquared)
  1154. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1155. end
  1156.  
  1157. function attackone()
  1158. attack = true
  1159. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1160. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1161. local fx=Hitbox.Touched:connect(function(part)
  1162. local human=part.Parent:findFirstChild("Humanoid")
  1163. if human~=nil and bounce==false then
  1164. bounce=true
  1165. local rndm=math.random(1,#hitsounds)
  1166. local r=rndm
  1167. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1168. end
  1169. end)
  1170. for i = 0,1,0.1 do
  1171. swait()
  1172. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1173. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1174. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1175. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1176. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1177. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1178. end
  1179. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1180. for i = 0,1,0.1 do
  1181. swait()
  1182. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1183. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1184. local h = 5
  1185. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1186. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1187. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1188. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1189. scfr = blcf
  1190. elseif not scfr then
  1191. scfr = blcf
  1192. end
  1193. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1194. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1197. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1198. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1199. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1200. end
  1201. attack = false
  1202. bounce=false
  1203. scfr=nil
  1204. fx:disconnect()
  1205. con:disconnect()
  1206. end
  1207.  
  1208. function attacktwo()
  1209. attack=true
  1210. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1211. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,4222,112222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1212. local fx=Hitbox.Touched:connect(function(part)
  1213. local human=part.Parent:findFirstChild("Humanoid")
  1214. if human~=nil and bounce==false then
  1215. bounce=true
  1216. local rndm=math.random(1,#hitsounds)
  1217. local r=rndm
  1218. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1219. end
  1220. end)
  1221. for i=0,1,.1 do
  1222. swait()
  1223. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1224. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1225. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1226. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1227. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1228. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1229. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1230. end
  1231. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1232. for i = 0,1,0.1 do
  1233. swait()
  1234. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1235. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1236. local h = 5
  1237. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1238. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1239. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1240. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1241. scfr = blcf
  1242. elseif not scfr then
  1243. scfr = blcf
  1244. end
  1245. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1246. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1247. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1248. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1249. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1250. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1251. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1252. end
  1253. scfr=nil
  1254. attack=false
  1255. bounce=false
  1256. con:disconnect()
  1257. fx:disconnect()
  1258. end
  1259.  
  1260. function attackthree()
  1261. attack=true
  1262. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1263. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,6222,152222,math.random(5,5),"Normal",RootPart,.2,1) end)
  1264. local fx=Hitbox.Touched:connect(function(part)
  1265. local human=part.Parent:findFirstChild("Humanoid")
  1266. if human~=nil and bounce==false then
  1267. bounce=true
  1268. local rndm=math.random(1,#hitsounds)
  1269. local r=rndm
  1270. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1271. end
  1272. end)
  1273. for i=0,1,.1 do
  1274. swait()
  1275. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1276. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1277. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1278. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1279. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1280. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1281. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1282. end
  1283. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1284. for i = 0,1,0.1 do
  1285. swait()
  1286. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1287. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1288. local h = 5
  1289. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1290. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1291. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1292. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1293. scfr = blcf
  1294. elseif not scfr then
  1295. scfr = blcf
  1296. end
  1297. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1298. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1299. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1300. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1301. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1302. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1303. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1304. end
  1305. attack=false
  1306. bounce=false
  1307. scfr=nil
  1308. con:disconnect()
  1309. fx:disconnect()
  1310. end
  1311.  
  1312. function attackfour()
  1313. attack = true
  1314. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1315. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,9222,18222,math.random(20,30),"Normal",RootPart,.2,1) end)
  1316. local fx=Hitbox.Touched:connect(function(part)
  1317. local human=part.Parent:findFirstChild("Humanoid")
  1318. if human~=nil and bounce==false then
  1319. bounce=true
  1320. local rndm=math.random(1,#hitsounds)
  1321. local r=rndm
  1322. so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,1)
  1323. end
  1324. end)
  1325. for i = 0,1,0.1 do
  1326. swait()
  1327. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1329. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1330. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1331. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1332. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1333. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1334. end
  1335. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1336. local v=it("BodyVelocity",Torso)
  1337. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1338. v.velocity=RootPart.CFrame.lookVector*50
  1339. for i = 0,1,0.1 do
  1340. swait()
  1341. local blcf = Hitbox.CFrame*cf(0,0,0)
  1342. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1343. local h = 5
  1344. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1345. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1346. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1347. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1348. scfr = blcf
  1349. elseif not scfr then
  1350. scfr = blcf
  1351. end
  1352. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1353. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1356. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1357. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1358. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1359. end
  1360. v.Parent=nil
  1361. scfr=nil
  1362. attack = false
  1363. bounce=false
  1364. con:disconnect()
  1365. fx:disconnect()
  1366. end
  1367.  
  1368. function LustrisFulgo()
  1369. attack=true
  1370. Humanoid.WalkSpeed=0
  1371. for i=0,1,0.1 do
  1372. swait()
  1373. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1374. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1375. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1376. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1377. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1378. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1379. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1380. end
  1381. local function boom()
  1382. local pprt=ppart(3,game.Workspace,0,1,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1383. pprt.Anchored=true
  1384. pprt.CFrame=EffectPart.CFrame
  1385. game:GetService("Debris"):AddItem(pprt,2)
  1386. MagicCircle(BrickColor.new("Black"),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1387. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1388. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1389. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1390. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1391. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1392. MagniDamage(wave,20,15222,25222,math.random(20,30),"Knockdown",RootPart)
  1393. for i=0,80 do
  1394. swait()
  1395. MagicBlock(BrickColor.new("Black"),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1396. MagicCircle(BrickColor.new("Black"),EffectPart.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  1397. wave.Size=vt(1+i,1+i,1+i)
  1398. wavemesh.Scale=vt(1+i,1+i,1+i)
  1399. wave.CFrame=EffectPart.CFrame
  1400. Humanoid.Health=Humanoid.Health+.15
  1401. end
  1402. wave:Destroy()
  1403. end
  1404. boom()
  1405. attack=false
  1406. Humanoid.WalkSpeed=16
  1407. end
  1408.  
  1409. function LeviterGlomus()
  1410. attack=true
  1411. for i=0,1,.1 do
  1412. swait()
  1413. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1414. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1415. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1416. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1417. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1418. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1419. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1420. end
  1421. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1422. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Black","BallEffect",Vector3.new(2, 2, 2))
  1423. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1424. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1425. ChargeBall(EffectPart2,35)
  1426. for i=0,1,.1 do
  1427. swait()
  1428. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1429. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1430. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1431. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1432. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1433. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1434. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1435. end
  1436. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1437. efprt:BreakJoints()
  1438. local Target=Remote:InvokeClient(owner,"hit").p
  1439. local direction = Target - handle.Position
  1440. direction = computeDirection(direction)
  1441. local pos = handle.Position + (direction * 10.0)
  1442. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1443. local floatForce = Instance.new("BodyForce")
  1444. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1445. floatForce.Parent = efprt
  1446. efprt.Velocity = direction * 160
  1447. efprt.Touched:connect(function(hit)
  1448. if not hit:IsDescendantOf(Character) then
  1449. if hit.Name~="Effect" then
  1450. MagniDamage(efprt,15,12225,22225,math.random(20,30),"Knockdown",RootPart)
  1451. floatForce.Parent=nil
  1452. efprt.Anchored=true
  1453. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1454. Blast(efprt)
  1455. efprt:Destroy()
  1456. end
  1457. end
  1458. end)
  1459. game:GetService("Debris"):AddItem(efprt,6)
  1460. attack=false
  1461. end
  1462.  
  1463. function PortalStorm()
  1464. Humanoid.WalkSpeed=0
  1465. attack=true
  1466. for i=0,1,.1 do
  1467. swait()
  1468. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1469. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1470. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1471. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1472. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1473. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1474. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1475. end
  1476. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1477. ChargeBall2(handle,100)
  1478. makeShockwave(0.5,BrickColor.new("Royal purple"),30,1000,0)
  1479. MagicWave(BrickColor.new("Royal purple"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1480. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1481. wait(2)
  1482. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1483. delay(0.5,function ()
  1484. MagniDamage(Torso,2000,32225,52220,math.random(50,70),"Knockdown",RootPart)
  1485. end)
  1486. Humanoid.Health=Humanoid.Health-0
  1487. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  1488. attack=false
  1489. Humanoid.WalkSpeed=9
  1490. wait(4)
  1491. Humanoid.WalkSpeed=16
  1492. end
  1493.  
  1494. function SolSiderea()
  1495. Humanoid.WalkSpeed=0
  1496. attack=true
  1497. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1498. for i=0,1,.1 do
  1499. swait()
  1500. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1504. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1505. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1506. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1507. end
  1508. for i=0,1,.1 do
  1509. swait()
  1510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1512. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1513. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1514. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1515. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1516. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1517. end
  1518. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1519. local n=2
  1520. local orb=ppart(3,Character,0,1,BrickColor.new("Royal purple"),"Orb",vt())
  1521. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1522. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1523. for i=1,0.3,-0.01 do
  1524. wait()
  1525. orb.Transparency=i
  1526. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1527. MagicBlock(BrickColor.new("Royal purple"),orb.CFrame,15,15,15,2,2,2,0.1)
  1528. local ef=ppart(3,workspace,0,0,BrickColor.new("Royal purple"),"Effect",vt())
  1529. ef.Anchored=true
  1530. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  1531. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  1532. ef.CFrame=orb.CFrame*ceef
  1533. game:GetService("Debris"):AddItem(ef,2)
  1534. coroutine.resume(coroutine.create(function(Part,Mesh)
  1535. for i=0,1,0.1 do
  1536. wait()
  1537. Part.Transparency=i
  1538. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1539. end
  1540. Part.Parent=nil
  1541. end),ef,emsh)
  1542. end
  1543. local Pos=cf(orb.Position,Remote:InvokeClient(owner,"hit").p).lookVector
  1544. wait(.5)
  1545. orb.Parent=nil
  1546. wait(1)
  1547. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1548. local mag=(orb.Position-pos).magnitude
  1549. BlackHole(game.Workspace,cf(pos))
  1550. coroutine.resume(coroutine.create(function()
  1551. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.new("Black"),"Effect",vt(1,1,1))
  1552. wweld(game.Workspace,wave,orb,Torso.CFrame)
  1553. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1554. for i=1,100 do
  1555. swait()
  1556. wave.Size=vt(1+i,1+i,1+i)
  1557. wavemesh.Scale=vt(1+i,1+i,1+i)
  1558. wave.CFrame=cf(pos)
  1559. end
  1560. end))
  1561. coroutine.resume(coroutine.create(function()
  1562. for i=0,20 do
  1563. swait(15)
  1564. local range = 1500
  1565. local p = Instance.new("Part")
  1566. p.Anchored = true
  1567. p.CanCollide = false
  1568. p.FormFactor = "Custom"
  1569. p.BrickColor = BrickColor.new("Royal purple")
  1570. p.Parent = workspace
  1571. p.Name="Effect"
  1572. p.CFrame=cf(pos)
  1573. local m = Instance.new("SpecialMesh",p)
  1574. m.MeshId = "rbxassetid://3270017"
  1575. local estimateSurvival = math.floor(range/30) * 0.03
  1576. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1577. Spawn(function ()
  1578. for i = 1,range,30 do
  1579. p.Transparency = 1-math.min(0.5,3-(i/500))
  1580. m.Scale = Vector3.new(i,i,i*0.5)
  1581. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1582. wait()
  1583. end
  1584. p:Destroy()
  1585. end)
  1586. end
  1587. end))
  1588. MagicCylinder(BrickColor.new("Royal purple"),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  1589. for i=1,2 do
  1590. end
  1591. for i=1,5 do
  1592. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1593. end
  1594. for i=0,5 do
  1595. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1596. end
  1597. local ref=ppart(3,workspace,0,1,BrickColor.new("Royal purple"),"Effect",vt())
  1598. ref.CFrame=cf(pos)
  1599. coroutine.resume(coroutine.create(function(Part)
  1600. wait(1)
  1601. Part.Parent=nil
  1602. end),ref)
  1603. MagniDamage(ref,25,22220,32220,40,"Knockdown",ref)
  1604. if hit~=nil then
  1605. Damagefunc(ref,hit,5022,70222,60,"Knockdown",RootPart,0)
  1606. end
  1607. local n=2
  1608. MagicWave(BrickColor.new("Royal purple"),cf(pos)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1609. swait(75)
  1610. Humanoid.WalkSpeed=16
  1611. attack=false
  1612. end
  1613.  
  1614. attacktype=1
  1615. Button1Down = function()
  1616. if attacktype==1 and attack==false then
  1617. attacktype=2
  1618. attackone()
  1619. elseif attacktype==2 and attack==false then
  1620. attacktype=3
  1621. attacktwo()
  1622. elseif attacktype==3 and attack==false then
  1623. attacktype=4
  1624. attackthree()
  1625. elseif attacktype==4 and attack==false then
  1626. attacktype=1
  1627. attackfour()
  1628. end
  1629. end
  1630.  
  1631. KeyDown = function(k)
  1632. k=k:lower()
  1633. if attack == false and k == 'e' then
  1634. LeviterGlomus()
  1635. ChargeBall(efprt,100)
  1636. end
  1637. if attack == false and k == 'q' then
  1638. LustrisFulgo()
  1639. end
  1640. if attack == false and k == 'f' and deeznuts==false then
  1641. deeznuts=true
  1642. SolSiderea()
  1643. deeznuts=false
  1644. end
  1645. if attack == false and k == 'r' and cooldown==false then
  1646. cooldown=true
  1647. PortalStorm()
  1648. cooldown=false
  1649. end
  1650. end
  1651.  
  1652.  
  1653. local sine = 0
  1654. local change = 1
  1655. local val = 0
  1656.  
  1657. while true do
  1658. swait()
  1659. sine = sine + change
  1660. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1661. local velderp=RootPart.Velocity.y
  1662. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1663. if equipped==true or equipped==false then
  1664. if attack==false then
  1665. idle=idle+1
  1666. else
  1667. idle=0
  1668. end
  1669. if idle>=500 then
  1670. if attack==false then
  1671. end
  1672. end
  1673. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1674. Anim="Jump"
  1675. if attack==false then
  1676. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1677. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1678. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  1679. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  1680. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1681. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1682. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1683. end
  1684. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1685. Anim="Fall"
  1686. if attack==false then
  1687. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1688. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  1689. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1690. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1691. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1692. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1693. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  1694. end
  1695. elseif torvel<1 and hitfloor~=nil then
  1696. Anim="Idle"
  1697. if attack==false then
  1698. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  1699. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  1700. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  1701. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1702. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  1703. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-4),math.rad(-95),math.rad(0)),.3)
  1704. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  1705. end
  1706. elseif torvel>2 and hitfloor~=nil then
  1707. Anim="Walk"
  1708. if attack==false then
  1709. change=3
  1710. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1711. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  1712. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  1713. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  1714. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1715. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1716. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1717. end
  1718. end
  1719. end
  1720. if #Effects>0 then
  1721. for e=1,#Effects do
  1722. if Effects[e]~=nil then
  1723. local Thing=Effects[e]
  1724. if Thing~=nil then
  1725. local Part=Thing[1]
  1726. local Mode=Thing[2]
  1727. local Delay=Thing[3]
  1728. local IncX=Thing[4]
  1729. local IncY=Thing[5]
  1730. local IncZ=Thing[6]
  1731. if Thing[1].Transparency<=1 then
  1732. if Thing[2]=="Block1" then
  1733. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1734. Mesh=Thing[1].Mesh
  1735. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1736. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1737. elseif Thing[2]=="Cylinder" then
  1738. Mesh=Thing[1].Mesh
  1739. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1740. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1741. elseif Thing[2]=="Blood" then
  1742. Mesh=Thing[7]
  1743. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1744. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1745. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1746. elseif Thing[2]=="Elec" then
  1747. Mesh=Thing[1].Mesh
  1748. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1749. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1750. elseif Thing[2]=="Disappear" then
  1751. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1752. end
  1753. else
  1754. Part.Parent=nil
  1755. table.remove(Effects,e)
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end
  1761. end]]
  1762.  
  1763. print("Making ServerScript")
  1764. local Remote = NS(Source,owner.Character):WaitForChild("Remote")
  1765.  
  1766. mouse=owner:GetMouse()
  1767.  
  1768. mouse.Button1Down:connect(function(...)
  1769. Remote:InvokeServer(1,...)
  1770. end)
  1771. mouse.KeyDown:connect(function(...)
  1772. Remote:InvokeServer(2,...)
  1773. end)
  1774. Remote.OnClientInvoke = function(request)
  1775. if request == "hit" then
  1776. return mouse.Hit
  1777. end
  1778. end
  1779. print("Scripts and remotes loaded! ~WaverlyCoal")
  1780. end)
  1781. Star.Name = "Star"
  1782. Star.Parent = Frame
  1783. Star.BackgroundColor3 = Color3.new(0, 0, 0)
  1784. Star.BorderColor3 = Color3.new(1, 1, 1)
  1785. Star.Position = UDim2.new(0.168874174, 0, 0.650932431, 0)
  1786. Star.Size = UDim2.new(0, 200, 0, 50)
  1787. Star.Style = Enum.ButtonStyle.RobloxButton
  1788. Star.Font = Enum.Font.ArialBold
  1789. Star.Text = "Star Glitcher"
  1790. Star.TextColor3 = Color3.new(1, 1, 1)
  1791. Star.TextSize = 14
  1792. Star.MouseButton1Down:connect(function()
  1793. --script goes under here
  1794. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  1795. print("FE Compatibility: by WaverlyCole & Mokiros")
  1796. InternalData = {}
  1797. do
  1798. script.Parent = owner.Character
  1799. local Event = Instance.new("RemoteEvent")
  1800. Event.Name = "UserInput"
  1801. local function NewFakeEvent()
  1802. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  1803. return Fake
  1804. end
  1805. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  1806. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  1807. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  1808. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  1809. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  1810. local function TriggerEvent(self,Event,...)
  1811. local Trigger = Mouse[Event]
  1812. if Trigger and Trigger.fakeEvent and Trigger.Function then
  1813. Trigger.Function(...)
  1814. end
  1815. end
  1816. Mouse.TrigEvent = TriggerEvent
  1817. UserInputService.TrigEvent = TriggerEvent
  1818. Event.OnServerEvent:Connect(function(FiredBy,Input)
  1819. if FiredBy.Name ~= owner.Name then end
  1820. if Input.MouseEvent then
  1821. Mouse.Target = Input.Target
  1822. Mouse.Hit = Input.Hit
  1823. else
  1824. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  1825. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  1826. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  1827. end
  1828. for _,Action in pairs(ContextActionService.Actions) do
  1829. for _,Key in pairs(Action.Keys) do
  1830. if Key==Input.KeyCode then
  1831. Action.Function(Action.Name,Input.UserInputState,Input)
  1832. end
  1833. end
  1834. end
  1835. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  1836. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  1837. end
  1838. end)
  1839. InternalData["Mouse"] = Mouse
  1840. InternalData["ContextActionService"] = ContextActionService
  1841. InternalData["UserInputService"] = UserInputService
  1842. Event.Parent = NLS([[
  1843. local Player = owner
  1844. local Event = script:WaitForChild("UserInput")
  1845. local UserInputService = game:GetService("UserInputService")
  1846. local Mouse = Player:GetMouse()
  1847. local Input = function(Input,gameProcessedEvent)
  1848. if gameProcessedEvent then return end
  1849. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  1850. end
  1851. UserInputService.InputBegan:Connect(Input)
  1852. UserInputService.InputEnded:Connect(Input)
  1853. local Hit,Target
  1854. while wait(1/30) do
  1855. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  1856. Hit,Target = Mouse.Hit,Mouse.Target
  1857. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  1858. end
  1859. end
  1860. ]],owner.Character)
  1861. end
  1862. RealGame = game;game = setmetatable({},{
  1863. __index = function (self,Index)
  1864. local Sandbox = function (Thing)
  1865. if Thing:IsA("Player") then
  1866. local RealPlayer = Thing
  1867. return setmetatable({},{
  1868. __index = function (self,Index)
  1869. local Type = type(RealPlayer[Index])
  1870. if Type == "function" then
  1871. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  1872. return function (self)
  1873. return InternalData["Mouse"]
  1874. end
  1875. end
  1876. return function (self,...)
  1877. return RealPlayer[Index](RealPlayer,...)
  1878. end
  1879. else
  1880. if Index == "PlrObj" then
  1881. return RealPlayer
  1882. end
  1883. return RealPlayer[Index]
  1884. end
  1885. end;
  1886. __tostring = function(self)
  1887. return RealPlayer.Name
  1888. end
  1889. })
  1890. end
  1891. end
  1892. if RealGame[Index] then
  1893. local Type = type(RealGame[Index])
  1894. if Type == "function" then
  1895. if Index:lower() == "getservice" or Index:lower() == "service" then
  1896. return function (self,Service)
  1897. if Service:lower() == "players" then
  1898. return setmetatable({},{
  1899. __index = function (self2,Index2)
  1900. local RealService = RealGame:GetService(Service)
  1901. local Type2 = type(Index2)
  1902. if Type2 == "function" then
  1903. return function (self,...)
  1904. return RealService[Index2](RealService,...)
  1905. end
  1906. else
  1907. if Index2:lower() == "localplayer" then
  1908. return Sandbox(owner)
  1909. end
  1910. return RealService[Index2]
  1911. end
  1912. end;
  1913. __tostring = function(self)
  1914. return RealGame:GetService(Service).Name
  1915. end
  1916. })
  1917. elseif Service:lower() == "contextactionservice" then
  1918. return InternalData["ContextActionService"]
  1919. elseif Service:lower() == "contextactionservice" then
  1920. return InternalData["UserInputService"]
  1921. elseif Service:lower() == "runservice" then
  1922. return setmetatable({},{
  1923. __index = function(self2,Index2)
  1924. local RealService = RealGame:GetService(Service)
  1925. local Type2 = type(Index2)
  1926. if Type2 == "function" then
  1927. return function (self,...)
  1928. return RealService[Index2](RealService,...)
  1929. end
  1930. else
  1931. if Index2:lower() == "bindtorenderstep" then
  1932. return function (self,Name,Priority,Function)
  1933. return RealGame:GetService("RunService").Stepped:Connect(Function)
  1934. end
  1935. end
  1936. if Index2:lower() == "renderstepped" then
  1937. return RealService["Stepped"]
  1938. end
  1939. return RealService[Index2]
  1940. end
  1941. end
  1942. })
  1943. else
  1944. return RealGame:GetService(Service)
  1945. end
  1946. end
  1947. end
  1948. return function (self,...)
  1949. return RealGame[Index](RealGame,...)
  1950. end
  1951. else
  1952. if game:GetService(Index) then
  1953. return game:GetService(Index)
  1954. end
  1955. return RealGame[Index]
  1956. end
  1957. else
  1958. return nil
  1959. end
  1960. end
  1961. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  1962. print("Complete! Running...")
  1963.  
  1964.  
  1965. --//Paste script below this line.
  1966.  
  1967. warn("Star Glitcher Loaded.")
  1968. warn("All purpose switcher...")
  1969. warn("Edit By Frepix.")
  1970. warn("Minor Edit By UndeniableInfinity.")
  1971. warn("Please Support The Original Creator Of This Script.")
  1972. plr = game.Players.LocalPlayer
  1973. char = plr.Character
  1974. hum = char.Humanoid
  1975. local cam = game.Workspace.CurrentCamera
  1976. Camera = cam
  1977. local CamInterrupt = false
  1978. local TwoD = false
  1979. local TargetInfo = {nil, nil}
  1980. cam.CameraType = "Custom"
  1981. t = char.Torso
  1982. h = char.Head
  1983. ra = char["Right Arm"]
  1984. la = char["Left Arm"]
  1985. rl = char["Right Leg"]
  1986. ll = char["Left Leg"]
  1987. tors = char.Torso
  1988. lleg = char["Left Leg"]
  1989. root = char.HumanoidRootPart
  1990. hed = char.Head
  1991. rleg = char["Right Leg"]
  1992. rarm = char["Right Arm"]
  1993. larm = char["Left Arm"]
  1994. radian = math.rad
  1995. random = math.random
  1996. Vec3 = Vector3.new
  1997. Inst = Instance.new
  1998. cFrame = CFrame.new
  1999. Euler = CFrame.fromEulerAnglesXYZ
  2000. vt = Vector3.new
  2001. bc = BrickColor.new
  2002. br = BrickColor.random
  2003. it = Instance.new
  2004. cf = CFrame.new
  2005. local Booleans = {CamFollow = true, GyroUse = true}
  2006. function lerp(object, newCFrame, alpha)
  2007. return object:lerp(newCFrame, alpha)
  2008. end
  2009.  
  2010. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  2011. ff.Visible = false
  2012.  
  2013.  
  2014. local Directer = Inst("BodyGyro", root)
  2015. Directer.MaxTorque = Vec3(0, 0, 0)
  2016. Directer.P = 600000
  2017. local CPart = Inst("Part")
  2018. CPart.Anchored = true
  2019. CPart.CanCollide = false
  2020. CPart.Locked = true
  2021. CPart.Transparency = 1
  2022. local rainbowmode = false
  2023. local chaosmode = false
  2024. kan = Instance.new("Sound", char)
  2025. kan.Volume = 1.98
  2026. kan.TimePosition = 0
  2027. kan.PlaybackSpeed = 1
  2028. kan.Pitch = 1
  2029. kan.SoundId = "rbxassetid://415898123"
  2030. kan.Name = "wrecked"
  2031. kan.Looped = true
  2032. kan:Play()
  2033. function newTheme(ID, timepos, pitch, vol)
  2034. local kanz = kan
  2035. kanz.PlaybackSpeed = pitch
  2036. kanz.Pitch = pitch
  2037. kanz.SoundId = ID
  2038. kanz.Name = "wrecked"
  2039. kanz.Looped = true
  2040. end
  2041. function CameraShake(Times, Power, PlayerTarget)
  2042. coroutine.resume(coroutine.create(function()
  2043. FV = Instance.new("BoolValue", PlayerTarget)
  2044. FV.Name = "CameraShake"
  2045. for ShakeNum = 1, Times do
  2046. swait()
  2047. local ef = Power
  2048. if ef >= 1 then
  2049. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  2050. else
  2051. ef = Power * 10
  2052. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  2053. end
  2054. end
  2055. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2056. FV:Destroy()
  2057. end))
  2058. end
  2059. function CameraEnshaking(Length, Intensity)
  2060. coroutine.resume(coroutine.create(function()
  2061. local intensity = 1 * Intensity
  2062. local rotM = 0.01 * Intensity
  2063. for i = 0, Length, 0.1 do
  2064. swait()
  2065. intensity = intensity - 0.05 * Intensity / Length
  2066. rotM = rotM - 5.0E-4 * Intensity / Length
  2067. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  2068. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  2069. end
  2070. Humanoid.CameraOffset = Vec3(0, 0, 0)
  2071. end))
  2072. end
  2073. function CamShake(Part, Distan, Power, Times)
  2074. local de = Part.Position
  2075. for i, v in pairs(workspace:children()) do
  2076. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2077. for _, c in pairs(v:children()) do
  2078. if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  2079. do
  2080. local Noob = v.Humanoid
  2081. if Noob ~= nil then
  2082. coroutine.resume(coroutine.create(function()
  2083. FV = Instance.new("BoolValue", Noob)
  2084. FV.Name = "CameraShake"
  2085. for ShakeNum = 1, Times do
  2086. swait()
  2087. local ef = Power
  2088. if ef >= 1 then
  2089. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  2090. else
  2091. ef = Power * 10
  2092. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  2093. end
  2094. end
  2095. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2096. FV:Destroy()
  2097. end))
  2098. CameraShake(Times, Power, Noob)
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
  2104. end
  2105. end
  2106. function chatfunc(text, color)
  2107. local chat = coroutine.wrap(function()
  2108. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2109. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2110. end
  2111. local naeeym2 = Instance.new("BillboardGui", Character)
  2112. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2113. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  2114. naeeym2.Adornee = Character.Head
  2115. naeeym2.Name = "TalkingBillBoard"
  2116. local tecks2 = Instance.new("TextLabel", naeeym2)
  2117. tecks2.BackgroundTransparency = 1
  2118. tecks2.BorderSizePixel = 0
  2119. tecks2.Text = ""
  2120. tecks2.Font = "SciFi"
  2121. tecks2.TextSize = 30
  2122. tecks2.TextStrokeTransparency = 0
  2123. tecks2.TextColor3 = color
  2124. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2125. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2126. local tecks3 = Instance.new("TextLabel", naeeym2)
  2127. tecks3.BackgroundTransparency = 1
  2128. tecks3.BorderSizePixel = 0
  2129. tecks3.Text = ""
  2130. tecks3.Font = "SciFi"
  2131. tecks3.TextSize = 30
  2132. tecks3.TextStrokeTransparency = 0
  2133. tecks3.TextColor3 = Color3.new(0, 0, 0)
  2134. tecks3.TextStrokeColor3 = color
  2135. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  2136. coroutine.resume(coroutine.create(function()
  2137. while true do
  2138. swait(1)
  2139. if chaosmode == true then
  2140. tecks2.TextColor3 = BrickColor.random().Color
  2141. tecks3.TextStrokeColor3 = BrickColor.random().Color
  2142. end
  2143. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2144. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2145. tecks2.Rotation = math.random(-5, 5)
  2146. tecks3.Rotation = math.random(-5, 5)
  2147. end
  2148. end))
  2149. for i = 1, string.len(text) do
  2150. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  2151. tecks2.Text = string.sub(text, 1, i)
  2152. tecks3.Text = string.sub(text, 1, i)
  2153. swait(1)
  2154. end
  2155. wait(1)
  2156. local randomrot = math.random(1, 2)
  2157. if randomrot == 1 then
  2158. for i = 1, 50 do
  2159. swait()
  2160. tecks2.Rotation = tecks2.Rotation - 0.75
  2161. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2162. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2163. tecks3.Rotation = tecks2.Rotation + 0.75
  2164. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2165. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2166. end
  2167. elseif randomrot == 2 then
  2168. for i = 1, 50 do
  2169. swait()
  2170. tecks2.Rotation = tecks2.Rotation + 0.75
  2171. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2172. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2173. tecks3.Rotation = tecks2.Rotation - 0.75
  2174. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2175. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2176. end
  2177. end
  2178. naeeym2:Destroy()
  2179. end)
  2180. chat()
  2181. end
  2182. local Create = LoadLibrary("RbxUtility").Create
  2183. CFuncs = {
  2184. Part = {
  2185. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2186. local Part = Create("Part")({
  2187. Parent = Parent,
  2188. Reflectance = Reflectance,
  2189. Transparency = Transparency,
  2190. CanCollide = false,
  2191. Locked = true,
  2192. BrickColor = BrickColor.new(tostring(BColor)),
  2193. Name = Name,
  2194. Size = Size,
  2195. Material = Material
  2196. })
  2197. RemoveOutlines(Part)
  2198. return Part
  2199. end
  2200. },
  2201. Mesh = {
  2202. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2203. local Msh = Create(Mesh)({
  2204. Parent = Part,
  2205. Offset = OffSet,
  2206. Scale = Scale
  2207. })
  2208. if Mesh == "SpecialMesh" then
  2209. Msh.MeshType = MeshType
  2210. Msh.MeshId = MeshId
  2211. end
  2212. return Msh
  2213. end
  2214. },
  2215. Mesh = {
  2216. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2217. local Msh = Create(Mesh)({
  2218. Parent = Part,
  2219. Offset = OffSet,
  2220. Scale = Scale
  2221. })
  2222. if Mesh == "SpecialMesh" then
  2223. Msh.MeshType = MeshType
  2224. Msh.MeshId = MeshId
  2225. end
  2226. return Msh
  2227. end
  2228. },
  2229. Weld = {
  2230. Create = function(Parent, Part0, Part1, C0, C1)
  2231. local Weld = Create("Weld")({
  2232. Parent = Parent,
  2233. Part0 = Part0,
  2234. Part1 = Part1,
  2235. C0 = C0,
  2236. C1 = C1
  2237. })
  2238. return Weld
  2239. end
  2240. },
  2241. Sound = {
  2242. Create = function(id, par, vol, pit)
  2243. coroutine.resume(coroutine.create(function()
  2244. local S = Create("Sound")({
  2245. Volume = vol,
  2246. Pitch = pit or 1,
  2247. SoundId = id,
  2248. Parent = par or workspace
  2249. })
  2250. wait()
  2251. S:play()
  2252. game:GetService("Debris"):AddItem(S, 10)
  2253. end))
  2254. end
  2255. },
  2256. LongSound = {
  2257. Create = function(id, par, vol, pit)
  2258. coroutine.resume(coroutine.create(function()
  2259. local S = Create("Sound")({
  2260. Volume = vol,
  2261. Pitch = pit or 1,
  2262. SoundId = id,
  2263. Parent = par or workspace
  2264. })
  2265. wait()
  2266. S:play()
  2267. game:GetService("Debris"):AddItem(S, 30)
  2268. end))
  2269. end
  2270. },
  2271. ParticleEmitter = {
  2272. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2273. local fp = Create("ParticleEmitter")({
  2274. Parent = Parent,
  2275. Color = ColorSequence.new(Color1, Color2),
  2276. LightEmission = LightEmission,
  2277. Size = Size,
  2278. Texture = Texture,
  2279. Transparency = Transparency,
  2280. ZOffset = ZOffset,
  2281. Acceleration = Accel,
  2282. Drag = Drag,
  2283. LockedToPart = LockedToPart,
  2284. VelocityInheritance = VelocityInheritance,
  2285. EmissionDirection = EmissionDirection,
  2286. Enabled = Enabled,
  2287. Lifetime = LifeTime,
  2288. Rate = Rate,
  2289. Rotation = Rotation,
  2290. RotSpeed = RotSpeed,
  2291. Speed = Speed,
  2292. VelocitySpread = VelocitySpread
  2293. })
  2294. return fp
  2295. end
  2296. },
  2297. CreateTemplate = {}
  2298. }
  2299. function New(Object, Parent, Name, Data)
  2300. local Object = Instance.new(Object)
  2301. for Index, Value in pairs(Data or {}) do
  2302. Object[Index] = Value
  2303. end
  2304. Object.Parent = Parent
  2305. Object.Name = Name
  2306. return Object
  2307. end
  2308. local halocolor = BrickColor.new("Pastel light blue")
  2309. local halocolor2 = BrickColor.new("Really black")
  2310. local starcolor = BrickColor.new("Really black")
  2311. local lunacolor = BrickColor.new("Navy blue")
  2312. local lunacolor2 = BrickColor.new("Bright blue")
  2313. local wepcolor = BrickColor.new("Really black")
  2314. local maincolor = BrickColor.new("Really black")
  2315. local m = Instance.new("Model", char)
  2316. local m2 = Instance.new("Model", char)
  2317. local m3 = Instance.new("Model", char)
  2318. local mw1 = Instance.new("Model", char)
  2319. local mw2 = Instance.new("Model", char)
  2320. local extrawingmod1 = Instance.new("Model", char)
  2321. local extrawingmod2 = Instance.new("Model", char)
  2322. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  2323. local p = Instance.new("Part")
  2324. p.TopSurface = 0
  2325. p.BottomSurface = 0
  2326. p.Parent = parent
  2327. p.Size = Vector3.new(0.1, 0.1, 0.1)
  2328. p.Transparency = transparency
  2329. p.Reflectance = reflectance
  2330. p.CanCollide = false
  2331. p.Locked = true
  2332. p.BrickColor = brickcolor
  2333. p.Material = material
  2334. return p
  2335. end
  2336. function CreateMesh(parent, meshtype, x1, y1, z1)
  2337. local mesh = Instance.new("SpecialMesh", parent)
  2338. mesh.MeshType = meshtype
  2339. mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  2340. return mesh
  2341. end
  2342. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  2343. local mesh = Instance.new("SpecialMesh", parent)
  2344. mesh.MeshType = "FileMesh"
  2345. mesh.MeshId = meshid
  2346. mesh.Scale = Vector3.new(x1, y1, z1)
  2347. return mesh
  2348. end
  2349. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  2350. local mesh = Instance.new("SpecialMesh", parent)
  2351. mesh.MeshType = "FileMesh"
  2352. mesh.MeshId = meshid
  2353. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  2354. mesh.Scale = Vector3.new(x1, y1, z1)
  2355. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  2356. return mesh
  2357. end
  2358. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  2359. local weld = Instance.new("Weld")
  2360. weld.Parent = parent
  2361. weld.Part0 = part0
  2362. weld.Part1 = part1
  2363. weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  2364. weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  2365. return weld
  2366. end
  2367. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  2368. CreateMesh(handle, "Brick", 0, 0, 0)
  2369. local handlexweld = CreateWeld(handlex, tors, handlex, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2370. local valuaring = 10
  2371. for i = 0, 49 do
  2372. valuaring = valuaring + 10
  2373. rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2374. CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  2375. CreateWeld(rn, handlex, rn, 0, 1, 0, math.rad(0), math.rad(0), math.rad(valuaring), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2376. end
  2377. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  2378. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2379. local handleweld = CreateWeld(handle, tors, handle, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2380. local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  2381. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2382. local lwing1weld = CreateWeld(lwing1, handle, lwing1, 3, 0, 0, math.rad(5), math.rad(0), math.rad(12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2383. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2384. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2385. CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2386. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2387. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2388. CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2389. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2390. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2391. CreateWeld(wed, lwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2392. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2393. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2394. CreateWeld(wed, lwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2395. local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  2396. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2397. local lwing2weld = CreateWeld(lwing2, handle, lwing2, 4, 1, 0, math.rad(10), math.rad(0), math.rad(25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2398. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2399. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2400. CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2401. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2402. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2403. CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2404. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2405. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2406. CreateWeld(wed, lwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2407. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2408. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2409. CreateWeld(wed, lwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2410. local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  2411. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2412. local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2413. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2414. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2415. CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2416. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2417. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2418. CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2419. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2420. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2421. CreateWeld(wed, lwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2422. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2423. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2424. CreateWeld(wed, lwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2425. local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  2426. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2427. local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5.75, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2428. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2429. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2430. CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2431. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2432. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2433. CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2434. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2435. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2436. CreateWeld(wed, lwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2437. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2438. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2439. CreateWeld(wed, lwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2440. local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  2441. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2442. local lwing5weld = CreateWeld(lwing5, handle, lwing5, 6.75, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2443. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2444. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2445. CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2446. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2447. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2448. CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2449. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2450. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2451. CreateWeld(wed, lwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2452. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2453. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2454. CreateWeld(wed, lwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2455. local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  2456. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2457. local lwing6weld = CreateWeld(lwing6, handle, lwing6, 7.75, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2458. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2459. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2460. CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2461. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2462. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2463. CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2464. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2465. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2466. CreateWeld(wed, lwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2467. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2468. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2469. CreateWeld(wed, lwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2470. local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  2471. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2472. local rwing1weld = CreateWeld(rwing1, handle, rwing1, -3, 0, 0, math.rad(5), math.rad(0), math.rad(-12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2473. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2474. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2475. CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2476. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2477. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2478. CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2479. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2480. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2481. CreateWeld(wed, rwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2482. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2483. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2484. CreateWeld(wed, rwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2485. local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  2486. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2487. local rwing2weld = CreateWeld(rwing2, handle, rwing2, -4, 1, 0, math.rad(10), math.rad(0), math.rad(-25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2488. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2489. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2490. CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2491. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2492. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2493. CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2494. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2495. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2496. CreateWeld(wed, rwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2497. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2498. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2499. CreateWeld(wed, rwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2500. local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  2501. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2502. local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2503. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2504. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2505. CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2506. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2507. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2508. CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2509. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2510. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2511. CreateWeld(wed, rwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2512. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2513. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2514. CreateWeld(wed, rwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2515. local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  2516. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2517. local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5.75, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2518. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2519. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2520. CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2521. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2522. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2523. CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2524. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2525. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2526. CreateWeld(wed, rwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2527. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2528. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2529. CreateWeld(wed, rwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2530. local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  2531. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2532. local rwing5weld = CreateWeld(rwing5, handle, rwing5, -6.75, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2533. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2534. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2535. CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2536. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2537. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2538. CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2539. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2540. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2541. CreateWeld(wed, rwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2542. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2543. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2544. CreateWeld(wed, rwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2545. local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  2546. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2547. local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2548. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2549. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2550. CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2551. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2552. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2553. CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2554. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2555. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2556. CreateWeld(wed, rwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2557. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2558. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2559. CreateWeld(wed, rwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2560. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  2561. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  2562. CreateWeld(ran, larm, ran, 0, 0.15, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2563. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2564. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  2565. CreateWeld(ran, larm, ran, 0, 0.155, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2566. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2567. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  2568. CreateWeld(ran, larm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2569. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2570. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2571. CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2572. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2573. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2574. CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2575. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2576. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2577. CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2578. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2579. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2580. CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2581. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  2582. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  2583. CreateWeld(gane, larm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2584. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2585. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  2586. CreateWeld(star, larm, star, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2587. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  2588. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  2589. CreateWeld(starl, larm, starl, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2590. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2591. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2592. CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2593. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2594. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2595. CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2596. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2597. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2598. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2599. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2600. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2601. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2602. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2603. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2604. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2605. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2606. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2607. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2608. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2609. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2610. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2611. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2612. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2613. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2614. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2615. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2616. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2617. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2618. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2619. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2620. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2621. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2622. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2623. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2624. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2625. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2626. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2627. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2628. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2629. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2630. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2631. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2632. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2633. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2634. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2635. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2636. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2637. CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2638. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2639. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2640. CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2641. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2642. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2643. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2644. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2645. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2646. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2647. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2648. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2649. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2650. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2651. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2652. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2653. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2654. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2655. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2656. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2657. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2658. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2659. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2660. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2661. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2662. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2663. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2664. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2665. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2666. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2667. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2668. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2669. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2670. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2671. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2672. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2673. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2674. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2675. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2676. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2677. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2678. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2679. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2680. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  2681. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  2682. CreateWeld(ran, rarm, ran, 0, 0.15, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2683. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2684. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  2685. CreateWeld(ran, rarm, ran, 0, 0.155, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2686. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2687. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  2688. CreateWeld(ran, rarm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2689. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2690. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2691. CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2692. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2693. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2694. CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2695. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2696. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2697. CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2698. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2699. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2700. CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2701. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  2702. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  2703. CreateWeld(gane, rarm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2704. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2705. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  2706. CreateWeld(star, rarm, star, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2707. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  2708. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  2709. CreateWeld(starl, rarm, starl, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2710. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2711. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2712. CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2713. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2714. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2715. CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2716. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2717. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2718. CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2719. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2720. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2721. CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2722. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2723. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2724. CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2725. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2726. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2727. CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2728. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2729. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2730. CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2731. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2732. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2733. CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2734. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2735. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2736. CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2737. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2738. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2739. CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2740. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2741. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2742. CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2743. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2744. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2745. CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2746. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2747. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2748. CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2749. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2750. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2751. CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2752. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2753. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2754. CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2755. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2756. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2757. CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2758. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2759. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2760. CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2761. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2762. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2763. CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2764. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2765. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2766. CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2767. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2768. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2769. CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2770. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2771. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2772. CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2773. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2774. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2775. CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2776. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2777. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2778. CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2779. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2780. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2781. CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2782. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2783. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2784. CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2785. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2786. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2787. CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2788. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2789. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2790. CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2791. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2792. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2793. CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2794. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2795. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2796. CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2797. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2798. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2799. CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2800. for i, v in pairs(m:GetChildren()) do
  2801. if v:IsA("Part") then
  2802. v.BrickColor = BrickColor.new("Really black")
  2803. v.Material = "Glass"
  2804. end
  2805. end
  2806. for i, v in pairs(m2:GetChildren()) do
  2807. if v:IsA("Part") then
  2808. v.BrickColor = BrickColor.new("Crimson")
  2809. v.Material = "Granite"
  2810. end
  2811. end
  2812. for i, v in pairs(m3:GetChildren()) do
  2813. if v:IsA("Part") then
  2814. v.BrickColor = BrickColor.new("Really red")
  2815. v.Material = "Neon"
  2816. end
  2817. end
  2818. for i, v in pairs(mw2:GetChildren()) do
  2819. if v:IsA("Part") then
  2820. v.BrickColor = BrickColor.new("Really red")
  2821. v.Material = "Neon"
  2822. end
  2823. end
  2824. for i, v in pairs(mw1:GetChildren()) do
  2825. if v:IsA("Part") then
  2826. v.Transparency = 1
  2827. v.BrickColor = BrickColor.new("Really red")
  2828. v.Material = "Neon"
  2829. end
  2830. end
  2831. for i, v in pairs(extrawingmod1:GetChildren()) do
  2832. if v:IsA("Part") then
  2833. v.Transparency = 1
  2834. v.BrickColor = BrickColor.new("White")
  2835. v.Material = "Neon"
  2836. end
  2837. end
  2838. for i, v in pairs(extrawingmod2:GetChildren()) do
  2839. if v:IsA("Part") then
  2840. v.Transparency = 1
  2841. v.BrickColor = BrickColor.new("White")
  2842. v.Material = "Neon"
  2843. end
  2844. end
  2845.  
  2846. FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2847. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  2848. Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2849. FHead.CanCollide = false
  2850.  
  2851.  
  2852.  
  2853. local MAINRUINCOLOR = BrickColor.new("Really red")
  2854. function RemoveOutlines(part)
  2855. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2856. end
  2857. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2858. local Part = Create("Part")({
  2859. Parent = Parent,
  2860. Reflectance = Reflectance,
  2861. Transparency = Transparency,
  2862. CanCollide = false,
  2863. Locked = true,
  2864. BrickColor = BrickColor.new(tostring(BColor)),
  2865. Name = Name,
  2866. Size = Size,
  2867. Material = Material
  2868. })
  2869. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2870. RemoveOutlines(Part)
  2871. return Part
  2872. end
  2873. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2874. local Msh = Create(Mesh)({
  2875. Parent = Part,
  2876. Offset = OffSet,
  2877. Scale = Scale
  2878. })
  2879. if Mesh == "SpecialMesh" then
  2880. Msh.MeshType = MeshType
  2881. Msh.MeshId = MeshId
  2882. end
  2883. return Msh
  2884. end
  2885. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2886. local Weld = Create("Weld")({
  2887. Parent = Parent,
  2888. Part0 = Part0,
  2889. Part1 = Part1,
  2890. C0 = C0,
  2891. C1 = C1
  2892. })
  2893. return Weld
  2894. end
  2895. Player = game:GetService("Players").LocalPlayer
  2896. Character = Player.Character
  2897. PlayerGui = Player.PlayerGui
  2898. Backpack = Player.Backpack
  2899. Torso = Character.Torso
  2900. Head = Character.Head
  2901. Humanoid = Character.Humanoid
  2902. m = Instance.new("Model", Character)
  2903. LeftArm = Character["Left Arm"]
  2904. LeftLeg = Character["Left Leg"]
  2905. RightArm = Character["Right Arm"]
  2906. RightLeg = Character["Right Leg"]
  2907. LS = Torso["Left Shoulder"]
  2908. LH = Torso["Left Hip"]
  2909. RS = Torso["Right Shoulder"]
  2910. RH = Torso["Right Hip"]
  2911. Face = Head.face
  2912. Neck = Torso.Neck
  2913. it = Instance.new
  2914. attacktype = 1
  2915. vt = Vector3.new
  2916. cf = CFrame.new
  2917. euler = CFrame.fromEulerAnglesXYZ
  2918. angles = CFrame.Angles
  2919. cloaked = false
  2920. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2921. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2922. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2923. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2924. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2925. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2926. RootPart = Character.HumanoidRootPart
  2927. RootJoint = RootPart.RootJoint
  2928. RootCF = euler(-1.57, 0, 3.14)
  2929. attack = false
  2930. attackdebounce = false
  2931. deb = false
  2932. equipped = true
  2933. hand = false
  2934. MMouse = nil
  2935. combo = 0
  2936. mana = 0
  2937. trispeed = 0.2
  2938. attackmode = "none"
  2939. local idle = 0
  2940. local Anim = "Idle"
  2941. local Effects = {}
  2942. local gun = false
  2943. local shoot = false
  2944. local sine = 0
  2945. local change = 1
  2946. player = nil
  2947. local toggleTag = true
  2948. local txt = Instance.new("BillboardGui", Head)
  2949. txt.Adornee = nil
  2950. txt.Name = "NameDetect"
  2951. txt.Size = UDim2.new(4, 0, 1.2, 0)
  2952. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  2953. local text = Instance.new("TextLabel", txt)
  2954. text.Size = UDim2.new(5, 0, 3.5, 0)
  2955. text.FontSize = "Size8"
  2956. text.TextScaled = true
  2957. text.TextTransparency = 0
  2958. text.BackgroundTransparency = 1
  2959. text.TextTransparency = 0
  2960. text.TextStrokeTransparency = 0
  2961. text.Font = "Fantasy"
  2962. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  2963. text.TextColor3 = Color3.new(0, 0, 0)
  2964. text.Text = "Sweet Dreams"
  2965. function RecolorTextAndRename(name, col1, col2)
  2966. text.TextStrokeColor3 = col2
  2967. text.TextColor3 = col1
  2968. text.Text = name
  2969. end
  2970. mouse = Player:GetMouse()
  2971. RSH, LSH = nil, nil
  2972. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  2973. RW.Name = "Right Shoulder"
  2974. LW.Name = "Left Shoulder"
  2975. LH = Torso["Left Hip"]
  2976. RH = Torso["Right Hip"]
  2977. TorsoColor = Torso.BrickColor
  2978. function NoOutline(Part)
  2979. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  2980. end
  2981. player = Player
  2982. ch = Character
  2983. RSH = ch.Torso["Right Shoulder"]
  2984. LSH = ch.Torso["Left Shoulder"]
  2985. RSH.Parent = nil
  2986. LSH.Parent = nil
  2987. RW.Name = "Right Shoulder"
  2988. RW.Part0 = ch.Torso
  2989. RW.C0 = cf(1.5, 0.5, 0)
  2990. RW.C1 = cf(0, 0.5, 0)
  2991. RW.Part1 = ch["Right Arm"]
  2992. RW.Parent = ch.Torso
  2993. LW.Name = "Left Shoulder"
  2994. LW.Part0 = ch.Torso
  2995. LW.C0 = cf(-1.5, 0.5, 0)
  2996. LW.C1 = cf(0, 0.5, 0)
  2997. LW.Part1 = ch["Left Arm"]
  2998. LW.Parent = ch.Torso
  2999. local Stats = Instance.new("BoolValue")
  3000. Stats.Name = "Stats"
  3001. Stats.Parent = Character
  3002. local Atk = Instance.new("NumberValue")
  3003. Atk.Name = "Damage"
  3004. Atk.Parent = Stats
  3005. Atk.Value = 1
  3006. local Def = Instance.new("NumberValue")
  3007. Def.Name = "Defense"
  3008. Def.Parent = Stats
  3009. Def.Value = 1
  3010. local Speed = Instance.new("NumberValue")
  3011. Speed.Name = "Speed"
  3012. Speed.Parent = Stats
  3013. Speed.Value = 1
  3014. local Mvmt = Instance.new("NumberValue")
  3015. Mvmt.Name = "Movement"
  3016. Mvmt.Parent = Stats
  3017. Mvmt.Value = 1
  3018. local donum = 0
  3019. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  3020. local fp = it("Part")
  3021. fp.formFactor = formfactor
  3022. fp.Parent = parent
  3023. fp.Reflectance = reflectance
  3024. fp.Transparency = transparency
  3025. fp.CanCollide = false
  3026. fp.Locked = true
  3027. fp.BrickColor = brickcolor
  3028. fp.Name = name
  3029. fp.Size = size
  3030. fp.Position = Torso.Position
  3031. NoOutline(fp)
  3032. fp.Material = "SmoothPlastic"
  3033. fp:BreakJoints()
  3034. return fp
  3035. end
  3036. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  3037. local mesh = it(Mesh)
  3038. mesh.Parent = part
  3039. if Mesh == "SpecialMesh" then
  3040. mesh.MeshType = meshtype
  3041. if meshid ~= "nil" then
  3042. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  3043. end
  3044. end
  3045. mesh.Offset = offset
  3046. mesh.Scale = scale
  3047. return mesh
  3048. end
  3049. function weld(parent, part0, part1, c0)
  3050. local weld = it("Weld")
  3051. weld.Parent = parent
  3052. weld.Part0 = part0
  3053. weld.Part1 = part1
  3054. weld.C0 = c0
  3055. return weld
  3056. end
  3057. local Color1 = Torso.BrickColor
  3058. local bodvel = Instance.new("BodyVelocity")
  3059. local bg = Instance.new("BodyGyro")
  3060. function swait(num)
  3061. if num == 0 or num == nil then
  3062. game:service("RunService").Stepped:wait(0)
  3063. else
  3064. for i = 0, num do
  3065. game:service("RunService").Stepped:wait(0)
  3066. end
  3067. end
  3068. end
  3069. local r = 255
  3070. local g = 0
  3071. local b = 0
  3072. coroutine.resume(coroutine.create(function()
  3073. while wait() do
  3074. for i = 0, 50.8 do
  3075. swait()
  3076. g = g + 5
  3077. end
  3078. for i = 0, 50.8 do
  3079. swait()
  3080. r = r - 5
  3081. end
  3082. for i = 0, 50.8 do
  3083. swait()
  3084. b = b + 5
  3085. end
  3086. for i = 0, 50.8 do
  3087. swait()
  3088. g = g - 5
  3089. end
  3090. for i = 0, 50.8 do
  3091. swait()
  3092. r = r + 5
  3093. end
  3094. for i = 0, 50.8 do
  3095. swait()
  3096. b = b - 5
  3097. end
  3098. end
  3099. end))
  3100. function so(id, par, vol, pit)
  3101. coroutine.resume(coroutine.create(function()
  3102. local sou = Instance.new("Sound", par or workspace)
  3103. sou.Volume = vol
  3104. sou.Pitch = pit or 1
  3105. sou.SoundId = id
  3106. swait()
  3107. sou:play()
  3108. game:GetService("Debris"):AddItem(sou, 6)
  3109. end))
  3110. end
  3111. function clerp(a, b, t)
  3112. local qa = {
  3113. QuaternionFromCFrame(a)
  3114. }
  3115. local qb = {
  3116. QuaternionFromCFrame(b)
  3117. }
  3118. local ax, ay, az = a.x, a.y, a.z
  3119. local bx, by, bz = b.x, b.y, b.z
  3120. local _t = 1 - t
  3121. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3122. end
  3123. function QuaternionFromCFrame(cf)
  3124. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3125. local trace = m00 + m11 + m22
  3126. if trace > 0 then
  3127. local s = math.sqrt(1 + trace)
  3128. local recip = 0.5 / s
  3129. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3130. else
  3131. local i = 0
  3132. if m00 < m11 then
  3133. i = 1
  3134. end
  3135. if m22 > (i == 0 and m00 or m11) then
  3136. i = 2
  3137. end
  3138. if i == 0 then
  3139. local s = math.sqrt(m00 - m11 - m22 + 1)
  3140. local recip = 0.5 / s
  3141. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3142. elseif i == 1 then
  3143. local s = math.sqrt(m11 - m22 - m00 + 1)
  3144. local recip = 0.5 / s
  3145. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3146. elseif i == 2 then
  3147. local s = math.sqrt(m22 - m00 - m11 + 1)
  3148. local recip = 0.5 / s
  3149. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3150. end
  3151. end
  3152. end
  3153. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3154. local xs, ys, zs = x + x, y + y, z + z
  3155. local wx, wy, wz = w * xs, w * ys, w * zs
  3156. local xx = x * xs
  3157. local xy = x * ys
  3158. local xz = x * zs
  3159. local yy = y * ys
  3160. local yz = y * zs
  3161. local zz = z * zs
  3162. 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))
  3163. end
  3164. function QuaternionSlerp(a, b, t)
  3165. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3166. local startInterp, finishInterp
  3167. if cosTheta >= 1.0E-4 then
  3168. if 1 - cosTheta > 1.0E-4 then
  3169. local theta = math.acos(cosTheta)
  3170. local invSinTheta = 1 / math.sin(theta)
  3171. startInterp = math.sin((1 - t) * theta) * invSinTheta
  3172. finishInterp = math.sin(t * theta) * invSinTheta
  3173. else
  3174. startInterp = 1 - t
  3175. finishInterp = t
  3176. end
  3177. elseif 1 + cosTheta > 1.0E-4 then
  3178. local theta = math.acos(-cosTheta)
  3179. local invSinTheta = 1 / math.sin(theta)
  3180. startInterp = math.sin((t - 1) * theta) * invSinTheta
  3181. finishInterp = math.sin(t * theta) * invSinTheta
  3182. else
  3183. startInterp = t - 1
  3184. finishInterp = t
  3185. end
  3186. 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
  3187. end
  3188. local CFrameFromTopBack = function(at, top, back)
  3189. local right = top:Cross(back)
  3190. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3191. end
  3192. function Triangle(a, b, c)
  3193. local edg1 = (c - a):Dot((b - a).unit)
  3194. local edg2 = (a - b):Dot((c - b).unit)
  3195. local edg3 = (b - c):Dot((a - c).unit)
  3196. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  3197. a, b = a, b
  3198. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  3199. a, b, c = b, c, a
  3200. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  3201. a, b, c = c, a, b
  3202. else
  3203. assert(false, "unreachable")
  3204. end
  3205. local len1 = (c - a):Dot((b - a).unit)
  3206. local len2 = (b - a).magnitude - len1
  3207. local width = (a + (b - a).unit * len1 - c).magnitude
  3208. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  3209. local list = {}
  3210. if len1 > 0.01 then
  3211. local w1 = Instance.new("WedgePart", m)
  3212. game:GetService("Debris"):AddItem(w1, 5)
  3213. w1.Material = "SmoothPlastic"
  3214. w1.FormFactor = "Custom"
  3215. w1.BrickColor = BrickColor.new("Really red")
  3216. w1.Transparency = 0
  3217. w1.Reflectance = 0
  3218. w1.Material = "SmoothPlastic"
  3219. w1.CanCollide = false
  3220. local l1 = Instance.new("PointLight", w1)
  3221. l1.Color = Color3.new(170, 0, 0)
  3222. NoOutline(w1)
  3223. local sz = Vector3.new(0.2, width, len1)
  3224. w1.Size = sz
  3225. local sp = Instance.new("SpecialMesh", w1)
  3226. sp.MeshType = "Wedge"
  3227. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  3228. w1:BreakJoints()
  3229. w1.Anchored = true
  3230. w1.Parent = workspace
  3231. w1.Transparency = 0.7
  3232. table.insert(Effects, {
  3233. w1,
  3234. "Disappear",
  3235. 0.01
  3236. })
  3237. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  3238. table.insert(list, w1)
  3239. end
  3240. if len2 > 0.01 then
  3241. local w2 = Instance.new("WedgePart", m)
  3242. game:GetService("Debris"):AddItem(w2, 5)
  3243. w2.Material = "SmoothPlastic"
  3244. w2.FormFactor = "Custom"
  3245. w2.BrickColor = BrickColor.new("Really red")
  3246. w2.Transparency = 0
  3247. w2.Reflectance = 0
  3248. w2.Material = "SmoothPlastic"
  3249. w2.CanCollide = false
  3250. local l2 = Instance.new("PointLight", w2)
  3251. l2.Color = Color3.new(170, 0, 0)
  3252. NoOutline(w2)
  3253. local sz = Vector3.new(0.2, width, len2)
  3254. w2.Size = sz
  3255. local sp = Instance.new("SpecialMesh", w2)
  3256. sp.MeshType = "Wedge"
  3257. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  3258. w2:BreakJoints()
  3259. w2.Anchored = true
  3260. w2.Parent = workspace
  3261. w2.Transparency = 0.7
  3262. table.insert(Effects, {
  3263. w2,
  3264. "Disappear",
  3265. 0.01
  3266. })
  3267. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  3268. table.insert(list, w2)
  3269. end
  3270. return unpack(list)
  3271. end
  3272. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3273. if hit.Parent == nil then
  3274. return
  3275. end
  3276. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3277. for _, v in pairs(hit.Parent:children()) do
  3278. if v:IsA("Humanoid") then
  3279. h = v
  3280. end
  3281. end
  3282. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3283. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3284. return
  3285. end
  3286. local c = Create("ObjectValue")({
  3287. Name = "creator",
  3288. Value = RealGame:service("Players")[owner.Name],
  3289. Parent = h
  3290. })
  3291. game:GetService("Debris"):AddItem(c, 0.5)
  3292. if HitSound ~= nil and HitPitch ~= nil then
  3293. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3294. end
  3295. local Damage = math.random(minim, maxim)
  3296. local blocked = false
  3297. local block = hit.Parent:findFirstChild("Block")
  3298. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3299. blocked = true
  3300. block.Value = block.Value - 1
  3301. print(block.Value)
  3302. end
  3303. if blocked == false then
  3304. HitHealth = h.Health
  3305. h.Health = h.Health - Damage
  3306. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3307. print("gained kill")
  3308. end
  3309. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3310. else
  3311. h.Health = h.Health - Damage / 2
  3312. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3313. end
  3314. if Type == "Knockdown" then
  3315. local hum = hit.Parent.Humanoid
  3316. hum.PlatformStand = true
  3317. coroutine.resume(coroutine.create(function(HHumanoid)
  3318. swait(1)
  3319. HHumanoid.PlatformStand = false
  3320. end), hum)
  3321. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3322. local bodvol = Create("BodyVelocity")({
  3323. velocity = angle * knockback,
  3324. P = 5000,
  3325. maxForce = Vector3.new(8000, 8000, 8000),
  3326. Parent = hit
  3327. })
  3328. local rl = Create("BodyAngularVelocity")({
  3329. P = 3000,
  3330. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3331. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3332. Parent = hit
  3333. })
  3334. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3335. game:GetService("Debris"):AddItem(rl, 0.5)
  3336. elseif Type == "Normal" then
  3337. local vp = Create("BodyVelocity")({
  3338. P = 500,
  3339. maxForce = Vector3.new(math.huge, 0, math.huge),
  3340. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3341. })
  3342. if knockback > 0 then
  3343. vp.Parent = hit.Parent.Head
  3344. end
  3345. game:GetService("Debris"):AddItem(vp, 0.5)
  3346. elseif Type == "Up" then
  3347. local bodyVelocity = Create("BodyVelocity")({
  3348. velocity = Vector3.new(0, 20, 0),
  3349. P = 5000,
  3350. maxForce = Vector3.new(8000, 8000, 8000),
  3351. Parent = hit
  3352. })
  3353. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3354. local bodyVelocity = Create("BodyVelocity")({
  3355. velocity = Vector3.new(0, 20, 0),
  3356. P = 5000,
  3357. maxForce = Vector3.new(8000, 8000, 8000),
  3358. Parent = hit
  3359. })
  3360. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3361. elseif Type == "Leech" then
  3362. local hum = hit.Parent.Humanoid
  3363. if hum ~= nil then
  3364. for i = 0, 2 do
  3365. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3366. end
  3367. Humanoid.Health = Humanoid.Health + 10
  3368. end
  3369. elseif Type == "UpKnock" then
  3370. local hum = hit.Parent.Humanoid
  3371. hum.PlatformStand = true
  3372. if hum ~= nil then
  3373. hitr = true
  3374. end
  3375. coroutine.resume(coroutine.create(function(HHumanoid)
  3376. swait(5)
  3377. HHumanoid.PlatformStand = false
  3378. hitr = false
  3379. end), hum)
  3380. local bodyVelocity = Create("BodyVelocity")({
  3381. velocity = Vector3.new(0, 20, 0),
  3382. P = 5000,
  3383. maxForce = Vector3.new(8000, 8000, 8000),
  3384. Parent = hit
  3385. })
  3386. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3387. local bodyVelocity = Create("BodyVelocity")({
  3388. velocity = Vector3.new(0, 20, 0),
  3389. P = 5000,
  3390. maxForce = Vector3.new(8000, 8000, 8000),
  3391. Parent = hit
  3392. })
  3393. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3394. elseif Type == "Snare" then
  3395. local bp = Create("BodyPosition")({
  3396. P = 2000,
  3397. D = 100,
  3398. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3399. position = hit.Parent.Torso.Position,
  3400. Parent = hit.Parent.Torso
  3401. })
  3402. game:GetService("Debris"):AddItem(bp, 1)
  3403. elseif Type == "Slashnare" then
  3404. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  3405. for i = 1, math.random(4, 5) do
  3406. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3407. end
  3408. local bp = Create("BodyPosition")({
  3409. P = 2000,
  3410. D = 100,
  3411. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3412. position = hit.Parent.Torso.Position,
  3413. Parent = hit.Parent.Torso
  3414. })
  3415. game:GetService("Debris"):AddItem(bp, 1)
  3416. elseif Type == "Spike" then
  3417. CreateBigIceSword(hit.Parent.Torso.CFrame)
  3418. local bp = Create("BodyPosition")({
  3419. P = 2000,
  3420. D = 100,
  3421. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3422. position = hit.Parent.Torso.Position,
  3423. Parent = hit.Parent.Torso
  3424. })
  3425. game:GetService("Debris"):AddItem(bp, 1)
  3426. elseif Type == "Freeze" then
  3427. local BodPos = Create("BodyPosition")({
  3428. P = 50000,
  3429. D = 1000,
  3430. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3431. position = hit.Parent.Torso.Position,
  3432. Parent = hit.Parent.Torso
  3433. })
  3434. local BodGy = Create("BodyGyro")({
  3435. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3436. P = 20000,
  3437. Parent = hit.Parent.Torso,
  3438. cframe = hit.Parent.Torso.CFrame
  3439. })
  3440. hit.Parent.Torso.Anchored = true
  3441. coroutine.resume(coroutine.create(function(Part)
  3442. swait(1.5)
  3443. Part.Anchored = false
  3444. end), hit.Parent.Torso)
  3445. game:GetService("Debris"):AddItem(BodPos, 3)
  3446. game:GetService("Debris"):AddItem(BodGy, 3)
  3447. end
  3448. local debounce = Create("BoolValue")({
  3449. Name = "DebounceHit",
  3450. Parent = hit.Parent,
  3451. Value = true
  3452. })
  3453. game:GetService("Debris"):AddItem(debounce, Delay)
  3454. c = Instance.new("ObjectValue")
  3455. c.Name = "creator"
  3456. c.Value = RealGame:service("Players")[owner.Name];
  3457. c.Parent = h
  3458. game:GetService("Debris"):AddItem(c, 0.5)
  3459. end
  3460. end
  3461. function ShowDamage(Pos, Text, Time, Color)
  3462. local Rate = 0.03333333333333333
  3463. local Pos = Pos or Vector3.new(0, 0, 0)
  3464. local Text = Text or ""
  3465. local Time = Time or 2
  3466. local Color = Color or Color3.new(1, 0, 1)
  3467. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3468. EffectPart.Anchored = true
  3469. local BillboardGui = Create("BillboardGui")({
  3470. Size = UDim2.new(3, 0, 3, 0),
  3471. Adornee = EffectPart,
  3472. Parent = EffectPart
  3473. })
  3474. local TextLabel = Create("TextLabel")({
  3475. BackgroundTransparency = 1,
  3476. Size = UDim2.new(1, 0, 1, 0),
  3477. Text = Text,
  3478. TextColor3 = Color,
  3479. TextScaled = true,
  3480. Font = Enum.Font.ArialBold,
  3481. Parent = BillboardGui
  3482. })
  3483. game.Debris:AddItem(EffectPart, Time + 0.1)
  3484. EffectPart.Parent = game:GetService("Workspace")
  3485. delay(0, function()
  3486. local Frames = Time / Rate
  3487. for Frame = 1, Frames do
  3488. wait(Rate)
  3489. local Percent = Frame / Frames
  3490. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3491. TextLabel.TextTransparency = Percent
  3492. end
  3493. if EffectPart and EffectPart.Parent then
  3494. EffectPart:Destroy()
  3495. end
  3496. end)
  3497. end
  3498. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3499. for _, c in pairs(workspace:children()) do
  3500. local hum = c:findFirstChildOfClass("Humanoid")
  3501. if hum ~= nil then
  3502. local head = c:findFirstChild("Head")
  3503. if head ~= nil then
  3504. local targ = head.Position - Part.Position
  3505. local mag = targ.magnitude
  3506. if magni >= mag and c.Name ~= Player.Name then
  3507. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3508. end
  3509. end
  3510. end
  3511. end
  3512. end
  3513. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  3514. for _, c in pairs(workspace:children()) do
  3515. local hum = c:findFirstChild("Humanoid")
  3516. if hum ~= nil then
  3517. local head = c:findFirstChild("Torso")
  3518. if head ~= nil then
  3519. local targ = head.Position - Part.Position
  3520. local mag = targ.magnitude
  3521. if magni >= mag and c.Name ~= Player.Name then
  3522. MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  3523. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3524. end
  3525. end
  3526. end
  3527. end
  3528. end
  3529. function rayCast(Pos, Dir, Max, Ignore)
  3530. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3531. end
  3532. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  3533. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3534. prt.Anchored = true
  3535. prt.CFrame = cframe
  3536. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  3537. game:GetService("Debris"):AddItem(prt, 2)
  3538. CF = prt.CFrame
  3539. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  3540. for i = 0, 1, 0.2 do
  3541. wait()
  3542. Part.CFrame = CF * cf(0, 0, -0.4)
  3543. end
  3544. for i = 0, 1, delay do
  3545. wait()
  3546. Mesh.Scale = Mesh.Scale
  3547. end
  3548. for i = 0, 1, 0.1 do
  3549. wait()
  3550. Part.Transparency = i
  3551. end
  3552. Part.Parent = nil
  3553. end), prt, msh, CF)
  3554. end
  3555. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3556. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3557. prt.Anchored = true
  3558. prt.Material = "Neon"
  3559. prt.CFrame = cframe
  3560. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3561. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3562. game:GetService("Debris"):AddItem(prt, 5)
  3563. coroutine.resume(coroutine.create(function(Part, Mesh)
  3564. for i = 0, 1, delay do
  3565. swait()
  3566. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3567. Part.Transparency = i
  3568. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3569. end
  3570. Part.Parent = nil
  3571. end), prt, msh)
  3572. end
  3573. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3574. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3575. prt.Anchored = true
  3576. prt.Material = "Neon"
  3577. prt.CFrame = cframe
  3578. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3579. game:GetService("Debris"):AddItem(prt, 5)
  3580. coroutine.resume(coroutine.create(function(Part, Mesh)
  3581. local rtype = rottype
  3582. for i = 0, 1, delay do
  3583. swait()
  3584. if rtype == 1 then
  3585. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3586. elseif rtype == 2 then
  3587. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3588. end
  3589. Part.Transparency = i
  3590. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3591. end
  3592. Part.Parent = nil
  3593. end), prt, msh)
  3594. end
  3595. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3596. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3597. prt.Anchored = true
  3598. prt.CFrame = cframe
  3599. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3600. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3601. game:GetService("Debris"):AddItem(prt, 5)
  3602. coroutine.resume(coroutine.create(function(Part, Mesh)
  3603. for i = 0, 1, delay do
  3604. wait()
  3605. Part.Transparency = i
  3606. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3607. end
  3608. Part.Parent = nil
  3609. end), prt, msh)
  3610. end
  3611. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3612. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3613. prt.Anchored = true
  3614. prt.Material = "Neon"
  3615. prt.CFrame = cframe
  3616. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3617. game:GetService("Debris"):AddItem(prt, 5)
  3618. coroutine.resume(coroutine.create(function(Part, Mesh)
  3619. local rtype = rottype
  3620. for i = 0, 1, delay do
  3621. swait()
  3622. if rtype == 1 then
  3623. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3624. elseif rtype == 2 then
  3625. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3626. end
  3627. Part.Transparency = i
  3628. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3629. end
  3630. Part.Parent = nil
  3631. end), prt, msh)
  3632. end
  3633. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  3634. local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3635. prt.Anchored = true
  3636. prt.Material = "Neon"
  3637. prt.CFrame = cframe
  3638. local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  3639. local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  3640. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  3641. game:GetService("Debris"):AddItem(prt, 5)
  3642. coroutine.resume(coroutine.create(function(Part, Mesh)
  3643. local rtype = rottype
  3644. for i = 0, 1, delay do
  3645. swait()
  3646. if rtype == 1 then
  3647. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3648. elseif rtype == 2 then
  3649. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3650. end
  3651. dec.Transparency = i
  3652. dec2.Transparency = i
  3653. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3654. end
  3655. Part.Parent = nil
  3656. end), prt, msh)
  3657. end
  3658. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  3659. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3660. prt.Anchored = true
  3661. prt.Material = "Neon"
  3662. prt.CFrame = cframe
  3663. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  3664. game:GetService("Debris"):AddItem(prt, 5)
  3665. coroutine.resume(coroutine.create(function(Part, Mesh)
  3666. local rtype = rottype
  3667. for i = 0, 1, delay do
  3668. swait()
  3669. if rtype == 1 then
  3670. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3671. elseif rtype == 2 then
  3672. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3673. end
  3674. prt.Transparency = i
  3675. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3676. end
  3677. Part.Parent = nil
  3678. end), prt, msh)
  3679. end
  3680. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  3681. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3682. prt.Anchored = true
  3683. prt.Material = "Neon"
  3684. prt.CFrame = cframe
  3685. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  3686. game:GetService("Debris"):AddItem(prt, 5)
  3687. coroutine.resume(coroutine.create(function(Part, Mesh)
  3688. local rtype = rottype
  3689. for i = 0, 1, delay do
  3690. swait()
  3691. if rtype == 1 then
  3692. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  3693. elseif rtype == 2 then
  3694. prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  3695. end
  3696. prt.Transparency = i
  3697. Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  3698. end
  3699. Part.Parent = nil
  3700. end), prt, msh)
  3701. end
  3702. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  3703. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3704. prt.Anchored = true
  3705. prt.Material = "Neon"
  3706. prt.CFrame = cframe
  3707. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3708. game:GetService("Debris"):AddItem(prt, 5)
  3709. coroutine.resume(coroutine.create(function(Part, Mesh)
  3710. local rtype = rottype
  3711. for i = 0, 1, delay do
  3712. swait()
  3713. if rtype == 1 then
  3714. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3715. elseif rtype == 2 then
  3716. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3717. end
  3718. prt.Transparency = i
  3719. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3720. end
  3721. Part.Parent = nil
  3722. end), prt, msh)
  3723. end
  3724. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3725. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3726. prt.Anchored = true
  3727. prt.Material = "Neon"
  3728. prt.CFrame = cframe
  3729. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3730. game:GetService("Debris"):AddItem(prt, 5)
  3731. coroutine.resume(coroutine.create(function(Part, Mesh)
  3732. local rtype = rottype
  3733. for i = 0, 1, delay do
  3734. swait()
  3735. if rtype == 1 then
  3736. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3737. elseif rtype == 2 then
  3738. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3739. end
  3740. prt.Transparency = i
  3741. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3742. end
  3743. Part.Parent = nil
  3744. end), prt, msh)
  3745. end
  3746. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  3747. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3748. prt.Anchored = false
  3749. prt.CFrame = cframe
  3750. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3751. local wld = weld(prt, prt, Parent, cframe)
  3752. game:GetService("Debris"):AddItem(prt, 5)
  3753. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  3754. for i = 0, 1, delay do
  3755. wait()
  3756. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  3757. Part.Transparency = i
  3758. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3759. end
  3760. Part.Parent = nil
  3761. end), prt, msh, wld)
  3762. end
  3763. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  3764. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3765. prt.Anchored = false
  3766. prt.CFrame = cframe
  3767. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3768. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  3769. game:GetService("Debris"):AddItem(prt, 5)
  3770. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  3771. for i = 0, 1, delay do
  3772. wait()
  3773. Weld.C0 = euler(i * 20, 0, 0)
  3774. Part.Transparency = i
  3775. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3776. end
  3777. Part.Parent = nil
  3778. end), prt, msh, wld)
  3779. end
  3780. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3781. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3782. prt.Anchored = true
  3783. prt.CFrame = cframe
  3784. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3785. game:GetService("Debris"):AddItem(prt, 2)
  3786. coroutine.resume(coroutine.create(function(Part, Mesh)
  3787. for i = 0, 1, delay do
  3788. wait()
  3789. Part.CFrame = Part.CFrame
  3790. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3791. local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3792. prt2.Anchored = true
  3793. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3794. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  3795. game:GetService("Debris"):AddItem(prt2, 2)
  3796. coroutine.resume(coroutine.create(function(Part, Mesh)
  3797. for i = 0, 1, 0.1 do
  3798. wait()
  3799. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  3800. end
  3801. Part.Parent = nil
  3802. end), prt2, msh2)
  3803. end
  3804. for i = 0, 1, delay * 2 do
  3805. wait()
  3806. Part.CFrame = Part.CFrame
  3807. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  3808. end
  3809. Part.Parent = nil
  3810. end), prt, msh)
  3811. end
  3812. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3813. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3814. prt.Anchored = true
  3815. prt.CFrame = cframe
  3816. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3817. game:GetService("Debris"):AddItem(prt, 2)
  3818. coroutine.resume(coroutine.create(function(Part, Mesh)
  3819. for i = 0, 1, delay do
  3820. wait()
  3821. Part.CFrame = Part.CFrame
  3822. Part.Transparency = i
  3823. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3824. end
  3825. Part.Parent = nil
  3826. end), prt, msh)
  3827. end
  3828. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  3829. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3830. prt.Anchored = true
  3831. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3832. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3833. game:GetService("Debris"):AddItem(prt, 2)
  3834. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  3835. CF = Part.CFrame
  3836. Numbb = 0
  3837. randnumb = math.random() / 10
  3838. rand1 = math.random() / 10
  3839. for i = 0, 1, rand1 do
  3840. wait()
  3841. CF = CF * cf(0, math.random() / 2, 0)
  3842. Part.CFrame = CF * euler(Numbb, 0, 0)
  3843. Part.Transparency = i
  3844. Numbb = Numbb + randnumb
  3845. end
  3846. Part.Parent = nil
  3847. end), prt, CF, Numbb, randnumb)
  3848. end
  3849. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3850. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3851. prt.Anchored = true
  3852. prt.CFrame = cframe
  3853. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  3854. game:GetService("Debris"):AddItem(prt, 5)
  3855. coroutine.resume(coroutine.create(function(Part, Mesh)
  3856. for i = 0, 1, delay do
  3857. wait()
  3858. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  3859. Part.Transparency = i
  3860. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3861. end
  3862. Part.Parent = nil
  3863. end), prt, msh)
  3864. end
  3865. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3866. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3867. prt.Anchored = true
  3868. prt.CFrame = cframe
  3869. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3870. game:GetService("Debris"):AddItem(prt, 2)
  3871. coroutine.resume(coroutine.create(function(Part, Mesh)
  3872. for i = 0, 1, delay do
  3873. wait()
  3874. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  3875. Part.Transparency = i
  3876. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3877. end
  3878. Part.Parent = nil
  3879. end), prt, msh)
  3880. end
  3881. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  3882. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3883. prt.Anchored = true
  3884. prt.CFrame = cframe * cf(x, y, z)
  3885. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  3886. game:GetService("Debris"):AddItem(prt, 5)
  3887. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  3888. local num = math.random()
  3889. local num2 = math.random(-3, 2) + math.random()
  3890. local numm = 0
  3891. for i = 0, 1, delay * 2 do
  3892. swait()
  3893. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  3894. Part.Transparency = i
  3895. numm = numm + 0.01
  3896. end
  3897. Part.Parent = nil
  3898. Mesh.Parent = nil
  3899. end), prt, msh, x, y, z)
  3900. end
  3901. function dmgstart(dmg, what)
  3902. hitcon = what.Touched:connect(function(hit)
  3903. local hum = hit.Parent:FindFirstChild("Humanoid")
  3904. if hum and not hum:IsDescendantOf(Character) then
  3905. hum:TakeDamage(dmg)
  3906. end
  3907. end)
  3908. end
  3909. function dmgstop()
  3910. hitcon:disconnect()
  3911. end
  3912. function Cloak()
  3913. Face.Parent = nil
  3914. cloaked = true
  3915. for _, v in pairs(Torso.Parent:children()) do
  3916. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  3917. coroutine.resume(coroutine.create(function()
  3918. for i = 0, 1, 0.2 do
  3919. wait()
  3920. v.Transparency = i
  3921. end
  3922. v.Transparency = 1
  3923. end))
  3924. end
  3925. if v.className == "Hat" then
  3926. hatp = v.Handle
  3927. coroutine.resume(coroutine.create(function(derp)
  3928. for i = 0, 1, 0.2 do
  3929. wait()
  3930. derp.Transparency = i
  3931. end
  3932. derp.Transparency = 1
  3933. end), hatp)
  3934. end
  3935. end
  3936. for _, v in pairs(m:children()) do
  3937. if v.className == "Part" then
  3938. coroutine.resume(coroutine.create(function()
  3939. for i = 0, 1, 0.2 do
  3940. wait()
  3941. v.Transparency = i
  3942. end
  3943. v.Transparency = 1
  3944. end))
  3945. end
  3946. end
  3947. end
  3948. function UnCloak()
  3949. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  3950. Face.Parent = Head
  3951. cloaked = false
  3952. for _, v in pairs(Torso.Parent:children()) do
  3953. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  3954. coroutine.resume(coroutine.create(function()
  3955. for i = 0, 1, 0.1 do
  3956. wait()
  3957. v.Transparency = v.Transparency - 0.1
  3958. end
  3959. v.Transparency = 0
  3960. end))
  3961. end
  3962. if v.className == "Hat" then
  3963. hatp = v.Handle
  3964. coroutine.resume(coroutine.create(function(derp)
  3965. for i = 0, 1, 0.1 do
  3966. wait()
  3967. derp.Transparency = derp.Transparency - 0.1
  3968. end
  3969. derp.Transparency = 0
  3970. end), hatp)
  3971. end
  3972. end
  3973. for _, v in pairs(m:children()) do
  3974. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  3975. coroutine.resume(coroutine.create(function()
  3976. for i = 0, 1, 0.1 do
  3977. wait()
  3978. v.Transparency = v.Transparency - 0.1
  3979. end
  3980. v.Transparency = 0
  3981. end))
  3982. v.Transparency = 0
  3983. end
  3984. end
  3985. end
  3986. local origcolor = BrickColor.new("Pastel light blue")
  3987. function Explode(rad, par, pitch, vol, mindam, maxdam)
  3988. local expart = Instance.new("Part", char)
  3989. local expart2 = Instance.new("Part", char)
  3990. local rin = Instance.new("Part", char)
  3991. local rin2 = Instance.new("Part", char)
  3992. local partMesh = Instance.new("SpecialMesh", expart)
  3993. partMesh.MeshType = "Sphere"
  3994. local partMesh2 = Instance.new("SpecialMesh", expart2)
  3995. partMesh2.MeshType = "Sphere"
  3996. local partMesh3 = Instance.new("SpecialMesh", rin)
  3997. partMesh3.MeshType = "Brick"
  3998. local partMesh4 = Instance.new("SpecialMesh", rin2)
  3999. partMesh4.MeshType = "Brick"
  4000. CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  4001. partMesh.Scale = vt(rad, rad, rad)
  4002. expart.Size = vt(1, 1, 1)
  4003. expart.Transparency = 0
  4004. expart.Anchored = true
  4005. expart.Material = "Neon"
  4006. expart.BrickColor = bc("White")
  4007. expart.CFrame = par.CFrame
  4008. partMesh2.Scale = vt(rad, rad, rad)
  4009. expart2.Size = vt(1.15, 1.15, 1.15)
  4010. expart2.Transparency = 0.5
  4011. expart2.Anchored = true
  4012. expart2.Material = "Neon"
  4013. expart2.BrickColor = par.BrickColor
  4014. expart2.CFrame = par.CFrame
  4015. rin.Size = vt(1.15, 1.15, 1.15)
  4016. rin.Transparency = 1
  4017. rin.Anchored = true
  4018. rin.Material = "Neon"
  4019. rin.BrickColor = par.BrickColor
  4020. rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  4021. rin2.Size = vt(1.15, 1.15, 1.15)
  4022. rin2.Transparency = 1
  4023. rin2.Anchored = true
  4024. rin2.Material = "Neon"
  4025. rin2.BrickColor = par.BrickColor
  4026. rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  4027. partMesh3.Scale = vt(0, 1, 0)
  4028. partMesh4.Scale = vt(0, 1, 0)
  4029. local dec2 = Instance.new("Decal", rin)
  4030. dec2.Face = "Top"
  4031. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  4032. dec2.Parent = rin
  4033. local dec2b = dec2:Clone()
  4034. dec2b.Face = "Bottom"
  4035. dec2b.Parent = rin
  4036. local dec2a = Instance.new("Decal", rin2)
  4037. dec2a.Face = "Top"
  4038. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  4039. dec2a.Parent = rin2
  4040. local dec2ab = dec2a:Clone()
  4041. dec2ab.Face = "Bottom"
  4042. dec2ab.Parent = rin2
  4043. expart.CanCollide = false
  4044. expart2.CanCollide = false
  4045. rin.CanCollide = false
  4046. rin2.CanCollide = false
  4047. MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  4048. local value = 1 * rad / 6.5
  4049. for i = 0, 199 do
  4050. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4051. expart.CFrame = expart.CFrame
  4052. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  4053. expart2.CFrame = expart.CFrame
  4054. value = value - 0.035 * rad / 30
  4055. if value < 7.5 then
  4056. partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  4057. rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  4058. partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  4059. rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  4060. end
  4061. if value < 0 then
  4062. dec2.Transparency = dec2.Transparency + 0.025
  4063. dec2a.Transparency = dec2a.Transparency + 0.025
  4064. dec2b.Transparency = dec2b.Transparency + 0.025
  4065. dec2ab.Transparency = dec2ab.Transparency + 0.025
  4066. expart.Transparency = expart.Transparency + 0.025
  4067. expart2.Transparency = expart2.Transparency + 0.025
  4068. rin.Transparency = rin.Transparency + 0.025
  4069. rin2.Transparency = rin2.Transparency + 0.025
  4070. end
  4071. swait()
  4072. end
  4073. game:GetService("Debris"):AddItem(expart, 1)
  4074. game:GetService("Debris"):AddItem(expart2, 1)
  4075. game:GetService("Debris"):AddItem(rin, 1)
  4076. game:GetService("Debris"):AddItem(rin2, 1)
  4077. end
  4078. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  4079. local expart = Instance.new("Part", char)
  4080. local expart2 = Instance.new("Part", char)
  4081. local partMesh = Instance.new("SpecialMesh", expart)
  4082. partMesh.MeshType = "Sphere"
  4083. local partMesh2 = Instance.new("SpecialMesh", expart2)
  4084. partMesh2.MeshType = "Sphere"
  4085. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  4086. partMesh.Scale = vt(rad, rad, rad)
  4087. expart.Size = vt(1, 1, 1)
  4088. expart.Transparency = 0
  4089. expart.Anchored = true
  4090. expart.Material = "Neon"
  4091. expart.BrickColor = bc("White")
  4092. expart.CFrame = par.CFrame
  4093. partMesh2.Scale = vt(rad, rad, rad)
  4094. expart2.Size = vt(1.15, 1.15, 1.15)
  4095. expart2.Transparency = 0.5
  4096. expart2.Anchored = true
  4097. expart2.Material = "Neon"
  4098. expart2.BrickColor = par.BrickColor
  4099. expart2.CFrame = par.CFrame
  4100. expart.CanCollide = false
  4101. expart2.CanCollide = false
  4102. MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  4103. local value = 1 * rad / 6.5
  4104. for i = 0, 75 do
  4105. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4106. expart.CFrame = expart.CFrame
  4107. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  4108. expart2.CFrame = expart.CFrame
  4109. value = value - 0.035 * rad / 5
  4110. if value < 0 then
  4111. value = 0
  4112. expart.Transparency = expart.Transparency + 0.05
  4113. expart2.Transparency = expart2.Transparency + 0.05
  4114. end
  4115. swait()
  4116. end
  4117. game:GetService("Debris"):AddItem(expart, 1)
  4118. game:GetService("Debris"):AddItem(expart2, 1)
  4119. end
  4120. function AreaDanger(rad, par, mindam, maxdam)
  4121. local expart = Instance.new("Part", char)
  4122. local partMesh = Instance.new("SpecialMesh", expart)
  4123. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  4124. partMesh.MeshType = "Sphere"
  4125. partMesh.Scale = vt(rad, rad, rad)
  4126. expart.Size = vt(1, 1, 1)
  4127. expart.Transparency = 0.5
  4128. expart.Anchored = true
  4129. expart.Material = "Neon"
  4130. expart.CanCollide = false
  4131. expart.BrickColor = par.BrickColor
  4132. expart.CFrame = par.CFrame
  4133. local value = 1 * rad / 5
  4134. MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  4135. for i = 0, 14 do
  4136. wait()
  4137. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4138. expart.CFrame = expart.CFrame
  4139. value = value - 0.035 * rad
  4140. if value < 0 then
  4141. value = 0
  4142. end
  4143. end
  4144. wait(0.25)
  4145. CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  4146. wait(0.5)
  4147. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  4148. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  4149. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  4150. MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  4151. for i = 0, 14 do
  4152. wait()
  4153. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4154. expart.CFrame = expart.CFrame
  4155. value = value - 0.035 * rad / 2
  4156. end
  4157. expart.Transparency = 1
  4158. game:GetService("Debris"):AddItem(expart, 5)
  4159. end
  4160. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  4161. CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  4162. CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  4163. CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  4164. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  4165. MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  4166. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  4167. for i = 0, 24 do
  4168. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2))
  4169. end
  4170. for i = 0, 24 do
  4171. local expart = Instance.new("Part", char)
  4172. expart.Transparency = 1
  4173. expart.Anchored = true
  4174. expart.CanCollide = false
  4175. expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  4176. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  4177. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  4178. MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  4179. MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  4180. for i = 0, 9 do
  4181. MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2))
  4182. end
  4183. game:GetService("Debris"):AddItem(expart, 2)
  4184. wait(0.1)
  4185. end
  4186. end
  4187. function EXterPlosion(par)
  4188. CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  4189. CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  4190. CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  4191. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  4192. MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  4193. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  4194. MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  4195. for i = 0, 24 do
  4196. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2))
  4197. end
  4198. for i = 0, 24 do
  4199. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2))
  4200. end
  4201. end
  4202. function ring(type, pos, scale, value)
  4203. local type = type
  4204. local rng = Instance.new("Part", char)
  4205. rng.Anchored = true
  4206. rng.BrickColor = origcolor
  4207. rng.CanCollide = false
  4208. rng.FormFactor = 3
  4209. rng.Name = "Ring"
  4210. rng.Size = Vector3.new(1, 1, 1)
  4211. rng.Transparency = 0
  4212. rng.TopSurface = 0
  4213. rng.BottomSurface = 0
  4214. rng.CFrame = pos
  4215. local rngm = Instance.new("SpecialMesh", rng)
  4216. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4217. rngm.Scale = scale
  4218. local scaler2 = 1
  4219. if type == "Add" then
  4220. scaler2 = 1 * value
  4221. elseif type == "Divide" then
  4222. scaler2 = 1 / value
  4223. end
  4224. coroutine.resume(coroutine.create(function()
  4225. for i = 0, 10, 0.1 do
  4226. swait()
  4227. if type == "Add" then
  4228. scaler2 = scaler2 - 0.01 * value
  4229. elseif type == "Divide" then
  4230. scaler2 = scaler2 - 0.01 / value
  4231. end
  4232. rng.Transparency = rng.Transparency + 0.01
  4233. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4234. end
  4235. rng:Destroy()
  4236. end))
  4237. end
  4238. function wave(type, pos, scale, value)
  4239. local type = type
  4240. local rng = Instance.new("Part", char)
  4241. rng.Anchored = true
  4242. rng.BrickColor = origcolor
  4243. rng.CanCollide = false
  4244. rng.FormFactor = 3
  4245. rng.Name = "Ring"
  4246. rng.Size = Vector3.new(1, 1, 1)
  4247. rng.Transparency = 0
  4248. rng.TopSurface = 0
  4249. rng.BottomSurface = 0
  4250. rng.CFrame = pos
  4251. local rngm = Instance.new("SpecialMesh", rng)
  4252. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4253. rngm.Scale = scale
  4254. local scaler2 = 1
  4255. if type == "Add" then
  4256. scaler2 = 1 * value
  4257. elseif type == "Divide" then
  4258. scaler2 = 1 / value
  4259. end
  4260. coroutine.resume(coroutine.create(function()
  4261. for i = 0, 10, 0.1 do
  4262. swait()
  4263. if type == "Add" then
  4264. scaler2 = scaler2 - 0.01 * value
  4265. elseif type == "Divide" then
  4266. scaler2 = scaler2 - 0.01 / value
  4267. end
  4268. rng.Transparency = rng.Transparency + 0.01
  4269. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4270. end
  4271. rng:Destroy()
  4272. end))
  4273. end
  4274. function wind(type, pos, scale, value, speed)
  4275. local type = type
  4276. local rng = Instance.new("Part", char)
  4277. rng.Anchored = true
  4278. rng.BrickColor = origcolor
  4279. rng.CanCollide = false
  4280. rng.FormFactor = 3
  4281. rng.Name = "Ring"
  4282. rng.Size = Vector3.new(1, 1, 1)
  4283. rng.Transparency = 0
  4284. rng.TopSurface = 0
  4285. rng.BottomSurface = 0
  4286. rng.CFrame = pos
  4287. local rngm = Instance.new("SpecialMesh", rng)
  4288. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4289. rngm.Scale = scale
  4290. local scaler2 = 1
  4291. if type == "Add" then
  4292. scaler2 = 1 * value
  4293. elseif type == "Divide" then
  4294. scaler2 = 1 / value
  4295. end
  4296. coroutine.resume(coroutine.create(function()
  4297. for i = 0, 10, 0.1 do
  4298. swait()
  4299. if type == "Add" then
  4300. scaler2 = scaler2 - 0.01 * value
  4301. elseif type == "Divide" then
  4302. scaler2 = scaler2 - 0.01 / value
  4303. end
  4304. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  4305. rng.Transparency = rng.Transparency + 0.01
  4306. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4307. end
  4308. rng:Destroy()
  4309. end))
  4310. end
  4311. function groundwind(type, pos, scale, value, speed)
  4312. local type = type
  4313. local rng = Instance.new("Part", char)
  4314. rng.Anchored = true
  4315. rng.BrickColor = origcolor
  4316. rng.CanCollide = false
  4317. rng.FormFactor = 3
  4318. rng.Name = "Ring"
  4319. rng.Size = Vector3.new(1, 1, 1)
  4320. rng.Transparency = 0
  4321. rng.TopSurface = 0
  4322. rng.BottomSurface = 0
  4323. rng.CFrame = pos
  4324. local rngm = Instance.new("SpecialMesh", rng)
  4325. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4326. rngm.Scale = scale
  4327. local scaler2 = 1
  4328. if type == "Add" then
  4329. scaler2 = 1 * value
  4330. elseif type == "Divide" then
  4331. scaler2 = 1 / value
  4332. end
  4333. coroutine.resume(coroutine.create(function()
  4334. for i = 0, 10, 0.1 do
  4335. swait()
  4336. if type == "Add" then
  4337. scaler2 = scaler2 - 0.01 * value
  4338. elseif type == "Divide" then
  4339. scaler2 = scaler2 - 0.01 / value
  4340. end
  4341. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  4342. rng.Transparency = rng.Transparency + 0.01
  4343. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  4344. end
  4345. rng:Destroy()
  4346. end))
  4347. end
  4348. function CameraManager()
  4349. if TwoD and not CamInterrupt then
  4350. if Humanoid.Health > 0 then
  4351. Camera.CameraSubject = Humanoid
  4352. Camera.CameraType = "Scriptable"
  4353. Humanoid.AutoRotate = false
  4354. if Booleans.GyroUse then
  4355. Directer.MaxTorque = Vec3(0, huge, 0)
  4356. else
  4357. Directer.MaxTorque = Vec3(0, 0, 0)
  4358. end
  4359. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  4360. if Booleans.CamFollow then
  4361. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  4362. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  4363. else
  4364. CPart.Position = RootPart.Position
  4365. end
  4366. else
  4367. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  4368. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  4369. end
  4370. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  4371. else
  4372. Camera.CameraSubject = Humanoid
  4373. Camera.CameraType = "Custom"
  4374. end
  4375. end
  4376. end
  4377. function sphere(bonuspeed, type, pos, scale, value, color)
  4378. local type = type
  4379. local rng = Instance.new("Part", char)
  4380. rng.Anchored = true
  4381. rng.BrickColor = color
  4382. rng.CanCollide = false
  4383. rng.FormFactor = 3
  4384. rng.Name = "Ring"
  4385. rng.Material = "Neon"
  4386. rng.Size = Vector3.new(1, 1, 1)
  4387. rng.Transparency = 0
  4388. rng.TopSurface = 0
  4389. rng.BottomSurface = 0
  4390. rng.CFrame = pos
  4391. local rngm = Instance.new("SpecialMesh", rng)
  4392. rngm.MeshType = "Sphere"
  4393. rngm.Scale = scale
  4394. if rainbowmode == true then
  4395. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4396. end
  4397. local scaler2 = 1
  4398. if type == "Add" then
  4399. scaler2 = 1 * value
  4400. elseif type == "Divide" then
  4401. scaler2 = 1 / value
  4402. end
  4403. coroutine.resume(coroutine.create(function()
  4404. for i = 0, 10 / bonuspeed, 0.1 do
  4405. swait()
  4406. if rainbowmode == true then
  4407. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4408. end
  4409. if type == "Add" then
  4410. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4411. elseif type == "Divide" then
  4412. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4413. end
  4414. if chaosmode == true then
  4415. rng.BrickColor = BrickColor.random()
  4416. end
  4417. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  4418. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  4419. end
  4420. rng:Destroy()
  4421. end))
  4422. end
  4423. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  4424. local type = type
  4425. local rng = Instance.new("Part", char)
  4426. rng.Anchored = true
  4427. rng.BrickColor = color
  4428. rng.CanCollide = false
  4429. rng.FormFactor = 3
  4430. rng.Name = "Ring"
  4431. rng.Material = "Neon"
  4432. rng.Size = Vector3.new(1, 1, 1)
  4433. rng.Transparency = 0
  4434. rng.TopSurface = 0
  4435. rng.BottomSurface = 0
  4436. rng.CFrame = pos
  4437. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  4438. local rngm = Instance.new("SpecialMesh", rng)
  4439. rngm.MeshType = "Sphere"
  4440. rngm.Scale = vt(x1, y1, z1)
  4441. if rainbowmode == true then
  4442. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4443. end
  4444. local scaler2 = 1
  4445. local speeder = FastSpeed
  4446. if type == "Add" then
  4447. scaler2 = 1 * value
  4448. elseif type == "Divide" then
  4449. scaler2 = 1 / value
  4450. end
  4451. coroutine.resume(coroutine.create(function()
  4452. for i = 0, 10 / bonuspeed, 0.1 do
  4453. swait()
  4454. if rainbowmode == true then
  4455. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4456. end
  4457. if type == "Add" then
  4458. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4459. elseif type == "Divide" then
  4460. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4461. end
  4462. if chaosmode == true then
  4463. rng.BrickColor = BrickColor.random()
  4464. end
  4465. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  4466. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  4467. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  4468. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  4469. end
  4470. rng:Destroy()
  4471. end))
  4472. end
  4473. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  4474. local type = type
  4475. local rng = Instance.new("Part", char)
  4476. rng.Anchored = true
  4477. rng.BrickColor = color
  4478. rng.CanCollide = false
  4479. rng.FormFactor = 3
  4480. rng.Name = "Ring"
  4481. rng.Material = "Neon"
  4482. rng.Size = Vector3.new(1, 1, 1)
  4483. rng.Transparency = 1
  4484. rng.TopSurface = 0
  4485. rng.BottomSurface = 0
  4486. rng.CFrame = pos
  4487. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  4488. local rngm = Instance.new("SpecialMesh", rng)
  4489. rngm.MeshType = "Sphere"
  4490. rngm.Scale = vt(x1, y1, z1)
  4491. if rainbowmode == true then
  4492. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4493. end
  4494. local scaler2 = 1
  4495. local speeder = FastSpeed
  4496. if type == "Add" then
  4497. scaler2 = 1 * value
  4498. elseif type == "Divide" then
  4499. scaler2 = 1 / value
  4500. end
  4501. coroutine.resume(coroutine.create(function()
  4502. for i = 0, 10 / bonuspeed, 0.1 do
  4503. swait()
  4504. if rainbowmode == true then
  4505. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4506. end
  4507. if type == "Add" then
  4508. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4509. elseif type == "Divide" then
  4510. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4511. end
  4512. if chaosmode == true then
  4513. rng.BrickColor = BrickColor.random()
  4514. end
  4515. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  4516. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  4517. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  4518. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  4519. end
  4520. rng:Destroy()
  4521. end))
  4522. end
  4523. function dmg(dude)
  4524. if dude.Name ~= Character then
  4525. local bgf = Instance.new("BodyGyro", dude.Head)
  4526. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  4527. local val = Instance.new("BoolValue", dude)
  4528. val.Name = "IsHit"
  4529. local ds = coroutine.wrap(function()
  4530. dude:WaitForChild("Head"):BreakJoints()
  4531. wait(0.5)
  4532. targetted = nil
  4533. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  4534. coroutine.resume(coroutine.create(function()
  4535. for i, v in pairs(dude:GetChildren()) do
  4536. if v:IsA("Accessory") then
  4537. v:Destroy()
  4538. end
  4539. if v:IsA("Humanoid") then
  4540. v:Destroy()
  4541. end
  4542. if v:IsA("CharacterMesh") then
  4543. v:Destroy()
  4544. end
  4545. if v:IsA("Model") then
  4546. v:Destroy()
  4547. end
  4548. if v:IsA("Part") or v:IsA("MeshPart") then
  4549. for x, o in pairs(v:GetChildren()) do
  4550. if o:IsA("Decal") then
  4551. o:Destroy()
  4552. end
  4553. end
  4554. coroutine.resume(coroutine.create(function()
  4555. v.Material = "Neon"
  4556. v.CanCollide = false
  4557. local bld = Instance.new("ParticleEmitter", v)
  4558. bld.LightEmission = 1
  4559. bld.Texture = "rbxassetid://284205403"
  4560. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  4561. bld.Rate = 50
  4562. bld.Lifetime = NumberRange.new(1)
  4563. bld.Size = NumberSequence.new({
  4564. NumberSequenceKeypoint.new(0, 0.75, 0),
  4565. NumberSequenceKeypoint.new(1, 0, 0)
  4566. })
  4567. bld.Transparency = NumberSequence.new({
  4568. NumberSequenceKeypoint.new(0, 0, 0),
  4569. NumberSequenceKeypoint.new(1, 1, 0)
  4570. })
  4571. bld.Speed = NumberRange.new(0, 0)
  4572. bld.VelocitySpread = 50000
  4573. bld.Rotation = NumberRange.new(-500, 500)
  4574. bld.RotSpeed = NumberRange.new(-500, 500)
  4575. local sbs = Instance.new("BodyPosition", v)
  4576. sbs.P = 3000
  4577. sbs.D = 1000
  4578. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4579. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  4580. v.Color = Color3.new(1, 1, 1)
  4581. coroutine.resume(coroutine.create(function()
  4582. for i = 0, 49 do
  4583. swait(1)
  4584. v.Transparency = v.Transparency + 0.02
  4585. end
  4586. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  4587. bld.Speed = NumberRange.new(1, 5)
  4588. bld.Acceleration = vt(0, 10, 0)
  4589. wait(0.5)
  4590. bld.Enabled = false
  4591. wait(3)
  4592. v:Destroy()
  4593. dude:Destroy()
  4594. end))
  4595. end))
  4596. end
  4597. end
  4598. end))
  4599. end)
  4600. ds()
  4601. end
  4602. end
  4603. function FindNearestHead(Position, Distance, SinglePlayer)
  4604. if SinglePlayer then
  4605. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  4606. end
  4607. local List = {}
  4608. for i, v in pairs(workspace:GetChildren()) do
  4609. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  4610. table.insert(List, v)
  4611. end
  4612. end
  4613. return List
  4614. end
  4615. function FaceMouse()
  4616. Cam = workspace.CurrentCamera
  4617. return {
  4618. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4619. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4620. }
  4621. end
  4622. function FaceMouse2()
  4623. Cam = workspace.CurrentCamera
  4624. return {
  4625. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4626. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4627. }
  4628. end
  4629. local ModeOfGlitch = 1
  4630. local storehumanoidWS = 16
  4631. function ExtinctiveHeartbreak()
  4632. local targetted
  4633. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4634. targetted = mouse.Target.Parent
  4635. end
  4636. if targetted ~= nil then
  4637. attack = true
  4638. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4639. for i = 0, 9 do
  4640. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4641. end
  4642. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4643. local originalpos = root.CFrame
  4644. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  4645. for i = 0, 9 do
  4646. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4647. end
  4648. hum.WalkSpeed = 0
  4649. targetted.Head.Anchored = true
  4650. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4651. for i = 0, 2, 0.1 do
  4652. swait()
  4653. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4654. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4655. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
  4656. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4657. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
  4658. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
  4659. end
  4660. coroutine.resume(coroutine.create(function()
  4661. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  4662. bld.LightEmission = 0.1
  4663. bld.Texture = "rbxassetid://284205403"
  4664. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4665. bld.Rate = 500
  4666. bld.Lifetime = NumberRange.new(1)
  4667. bld.Size = NumberSequence.new({
  4668. NumberSequenceKeypoint.new(0, 2, 0),
  4669. NumberSequenceKeypoint.new(1, 0, 0)
  4670. })
  4671. bld.Acceleration = vt(0, -25, 0)
  4672. bld.Transparency = NumberSequence.new({
  4673. NumberSequenceKeypoint.new(0, 0, 0),
  4674. NumberSequenceKeypoint.new(1, 0, 0)
  4675. })
  4676. bld.Speed = NumberRange.new(10, 50)
  4677. bld.EmissionDirection = "Front"
  4678. bld.VelocitySpread = 25
  4679. bld.Rotation = NumberRange.new(-500, 500)
  4680. bld.RotSpeed = NumberRange.new(-500, 500)
  4681. end))
  4682. coroutine.resume(coroutine.create(function()
  4683. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  4684. bld.LightEmission = 0.1
  4685. bld.Texture = "rbxassetid://284205403"
  4686. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4687. bld.Rate = 500
  4688. bld.Lifetime = NumberRange.new(1)
  4689. bld.Size = NumberSequence.new({
  4690. NumberSequenceKeypoint.new(0, 2, 0),
  4691. NumberSequenceKeypoint.new(1, 0, 0)
  4692. })
  4693. bld.Acceleration = vt(0, -25, 0)
  4694. bld.Transparency = NumberSequence.new({
  4695. NumberSequenceKeypoint.new(0, 0, 0),
  4696. NumberSequenceKeypoint.new(1, 0, 0)
  4697. })
  4698. bld.Speed = NumberRange.new(10, 50)
  4699. bld.EmissionDirection = "Front"
  4700. bld.VelocitySpread = 25
  4701. bld.Rotation = NumberRange.new(-500, 500)
  4702. bld.RotSpeed = NumberRange.new(-500, 500)
  4703. end))
  4704. CameraEnshaking(5, 5)
  4705. game:GetService("Debris"):AddItem(bld, 3)
  4706. dmg(targetted)
  4707. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  4708. for i = 0, 1, 0.1 do
  4709. swait()
  4710. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4711. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4712. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  4713. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  4714. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4715. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
  4716. end
  4717. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4718. for i = 0, 9 do
  4719. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4720. end
  4721. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4722. root.CFrame = originalpos
  4723. for i = 0, 9 do
  4724. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4725. end
  4726. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4727. bld.Enabled = false
  4728. attack = false
  4729. hum.WalkSpeed = storehumanoidWS
  4730. end
  4731. end
  4732. function PureBomb()
  4733. attack = true
  4734. local orb = Instance.new("Part", char)
  4735. orb.Anchored = true
  4736. orb.BrickColor = BrickColor.new("Toothpaste")
  4737. orb.CanCollide = false
  4738. orb.FormFactor = 3
  4739. orb.Name = "Ring"
  4740. orb.Material = "Neon"
  4741. orb.Size = Vector3.new(1, 1, 1)
  4742. orb.Transparency = 0
  4743. orb.TopSurface = 0
  4744. orb.BottomSurface = 0
  4745. local orbm = Instance.new("SpecialMesh", orb)
  4746. orbm.MeshType = "Sphere"
  4747. orbm.Name = "SizeMesh"
  4748. orbm.Scale = vt(0, 0, 0)
  4749. local scaled = 0.1
  4750. local posid = 0
  4751. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  4752. for i = 0, 5, 0.1 do
  4753. swait()
  4754. scaled = scaled - 0.001
  4755. posid = posid - scaled
  4756. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  4757. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  4758. sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Toothpaste"), 10)
  4759. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1)
  4760. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1)
  4761. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4762. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4763. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  4764. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1)
  4765. end
  4766. for i = 0, 2, 0.1 do
  4767. swait()
  4768. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  4769. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  4770. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  4771. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
  4772. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  4773. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  4774. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  4775. end
  4776. coroutine.resume(coroutine.create(function()
  4777. orb.Anchored = false
  4778. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  4779. local a = Instance.new("Part", workspace)
  4780. a.Name = "Direction"
  4781. a.Anchored = true
  4782. a.BrickColor = bc("Bright red")
  4783. a.Material = "Neon"
  4784. a.Transparency = 1
  4785. a.CanCollide = false
  4786. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  4787. local ignore = orb
  4788. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4789. a.BottomSurface = 10
  4790. a.TopSurface = 10
  4791. local distance = (orb.CFrame.p - position).magnitude
  4792. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4793. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4794. orb.CFrame = a.CFrame
  4795. a:Destroy()
  4796. local bv = Instance.new("BodyVelocity")
  4797. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4798. bv.velocity = orb.CFrame.lookVector * 125
  4799. bv.Parent = orb
  4800. local hitted = false
  4801. game:GetService("Debris"):AddItem(orb, 15)
  4802. wait()
  4803. local hit = orb.Touched:connect(function(hit)
  4804. if hitted == false then
  4805. hitted = true
  4806. CameraEnshaking(10, 2.5)
  4807. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  4808. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  4809. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  4810. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  4811. for i = 0, 9 do
  4812. sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
  4813. sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
  4814. end
  4815. orb.Anchored = true
  4816. orb.Transparency = 1
  4817. wait(8)
  4818. orb:Destroy()
  4819. end
  4820. end)
  4821. end))
  4822. for i = 0, 1, 0.1 do
  4823. swait()
  4824. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  4825. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  4826. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4)
  4827. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  4828. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  4829. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  4830. end
  4831. attack = false
  4832. end
  4833. function ChaosGroundStrike()
  4834. attack = true
  4835. for i = 0, 2, 0.1 do
  4836. swait()
  4837. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4838. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4839. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4840. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4841. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4842. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4843. end
  4844. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4845. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4846. CameraEnshaking(4, 12)
  4847. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4848. if v:FindFirstChild("Head") then
  4849. dmg(v)
  4850. end
  4851. end
  4852. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4853. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4854. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4855. for i = 0, 2, 0.1 do
  4856. swait()
  4857. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4858. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4859. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4860. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4861. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4862. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4863. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4864. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4865. end
  4866. attack = false
  4867. end
  4868. function ChaosBegone()
  4869. attack = true
  4870. chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
  4871. for i = 0, 10, 0.1 do
  4872. swait()
  4873. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4874. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4875. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4876. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4877. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4878. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4879. end
  4880. chatfunc("DIE!!", BrickColor.random().Color)
  4881. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  4882. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  4883. CameraEnshaking(5, 25)
  4884. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4885. if v:FindFirstChild("Head") then
  4886. dmg(v)
  4887. end
  4888. end
  4889. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  4890. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  4891. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  4892. for i = 0, 3, 0.1 do
  4893. swait()
  4894. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4895. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4896. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4897. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  4898. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4899. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  4900. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4901. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4902. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4903. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4904. end
  4905. attack = false
  4906. end
  4907. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  4908. local orb = Instance.new("Part", char)
  4909. orb.Anchored = true
  4910. orb.BrickColor = color
  4911. orb.CanCollide = false
  4912. orb.FormFactor = 3
  4913. orb.Name = "Ring"
  4914. orb.Material = "Neon"
  4915. orb.Size = Vector3.new(1, 1, 1)
  4916. orb.Transparency = 0
  4917. orb.TopSurface = 0
  4918. orb.BottomSurface = 0
  4919. local orbm = Instance.new("SpecialMesh", orb)
  4920. orbm.MeshType = "Sphere"
  4921. orb.CFrame = positted
  4922. orbm.Name = "SizeMesh"
  4923. orbm.Scale = vt(1, 1, 1)
  4924. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  4925. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  4926. coroutine.resume(coroutine.create(function()
  4927. wait(timer)
  4928. CameraEnshaking(3, ShakePower)
  4929. orb.Transparency = 1
  4930. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  4931. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  4932. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  4933. wait(3)
  4934. orb:Destroy()
  4935. end))
  4936. end
  4937. function orb_spawn(positted, timer)
  4938. local randomcol = math.random(1, 2)
  4939. local orb = Instance.new("Part", char)
  4940. orb.Anchored = true
  4941. if randomcol == 1 then
  4942. orb.BrickColor = BrickColor.new("White")
  4943. elseif randomcol == 2 then
  4944. orb.BrickColor = BrickColor.new("Really black")
  4945. end
  4946. orb.CanCollide = false
  4947. orb.FormFactor = 3
  4948. orb.Name = "Ring"
  4949. orb.Material = "Neon"
  4950. orb.Size = Vector3.new(1, 1, 1)
  4951. orb.Transparency = 0
  4952. orb.TopSurface = 0
  4953. orb.BottomSurface = 0
  4954. local orbm = Instance.new("SpecialMesh", orb)
  4955. orbm.MeshType = "Sphere"
  4956. orb.CFrame = positted
  4957. orbm.Name = "SizeMesh"
  4958. orbm.Scale = vt(1, 1, 1)
  4959. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  4960. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  4961. for i = 0, 2 do
  4962. sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0)
  4963. end
  4964. coroutine.resume(coroutine.create(function()
  4965. wait(timer)
  4966. CameraEnshaking(3, 2)
  4967. orb.Transparency = 1
  4968. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  4969. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  4970. for i = 0, 4 do
  4971. sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0)
  4972. end
  4973. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  4974. wait(3)
  4975. orb:Destroy()
  4976. end))
  4977. end
  4978. function scattercorrupt()
  4979. attack = true
  4980. local rot = 0
  4981. local randomrotations = math.random(1, 2)
  4982. local lookv = 2.5
  4983. local power = 5
  4984. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  4985. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  4986. for i = 0, 9 do
  4987. sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0)
  4988. end
  4989. CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  4990. CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  4991. CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  4992. CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  4993. CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  4994. local hite = Instance.new("Part", char)
  4995. hite.Anchored = true
  4996. hite.CanCollide = false
  4997. hite.FormFactor = 3
  4998. hite.Name = "Ring"
  4999. hite.Material = "Neon"
  5000. hite.Size = Vector3.new(1, 1, 1)
  5001. hite.Transparency = 1
  5002. hite.TopSurface = 0
  5003. hite.BottomSurface = 0
  5004. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  5005. local rem = Instance.new("Part", char)
  5006. rem.Anchored = true
  5007. rem.CanCollide = false
  5008. rem.FormFactor = 3
  5009. rem.Name = "Ring"
  5010. rem.Material = "Neon"
  5011. rem.Size = Vector3.new(1, 1, 1)
  5012. rem.Transparency = 1
  5013. rem.TopSurface = 0
  5014. rem.BottomSurface = 0
  5015. rem.CFrame = hite.CFrame
  5016. local rem2 = rem:Clone()
  5017. rem2.Parent = char
  5018. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5019. local rem3 = rem:Clone()
  5020. rem3.Parent = char
  5021. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  5022. local rem4 = rem:Clone()
  5023. rem4.Parent = char
  5024. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  5025. hite:Destroy()
  5026. coroutine.resume(coroutine.create(function()
  5027. for i = 0, 24 do
  5028. swait(1)
  5029. if randomrotations == 1 then
  5030. rot = rot + 1
  5031. elseif randomrotations == 2 then
  5032. rot = rot - 1
  5033. end
  5034. power = power + 0.5
  5035. lookv = lookv + 7.5
  5036. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  5037. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5038. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  5039. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  5040. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5041. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5042. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5043. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5044. end
  5045. end))
  5046. attack = false
  5047. end
  5048. function yinyangi()
  5049. attack = true
  5050. for i = 0, 2, 0.1 do
  5051. swait()
  5052. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  5053. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  5054. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  5055. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5056. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  5057. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  5058. end
  5059. local bv = Instance.new("BodyVelocity")
  5060. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5061. bv.velocity = root.CFrame.lookVector * 175
  5062. bv.Parent = root
  5063. for Rotations = 0, 9 do
  5064. for i = 0, 1, 0.5 do
  5065. swait()
  5066. bv.velocity = root.CFrame.lookVector * 175
  5067. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5068. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5069. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  5070. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5071. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5072. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5073. end
  5074. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5075. for i = 0, 1, 0.5 do
  5076. swait()
  5077. bv.velocity = root.CFrame.lookVector * 175
  5078. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5079. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5080. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5)
  5081. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5082. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5083. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5084. end
  5085. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5086. for i = 0, 1, 0.5 do
  5087. swait()
  5088. bv.velocity = root.CFrame.lookVector * 175
  5089. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5090. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5091. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5)
  5092. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5093. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5094. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5095. end
  5096. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5097. for i = 0, 1, 0.5 do
  5098. swait()
  5099. bv.velocity = root.CFrame.lookVector * 175
  5100. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5101. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5102. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5)
  5103. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5104. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5105. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5106. end
  5107. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5108. end
  5109. bv:Destroy()
  5110. attack = false
  5111. end
  5112. function Wip()
  5113. attack = true
  5114. local rngb = Instance.new("Part", char)
  5115. rngb.Anchored = true
  5116. rngb.BrickColor = origcolor
  5117. rngb.CanCollide = false
  5118. rngb.FormFactor = 3
  5119. rngb.Name = "Ring"
  5120. rngb.Material = "Neon"
  5121. rngb.Size = Vector3.new(1, 0.05, 1)
  5122. rngb.Transparency = 1
  5123. rngb.TopSurface = 0
  5124. rngb.BottomSurface = 0
  5125. local rngmb = Instance.new("SpecialMesh", rngb)
  5126. rngmb.MeshType = "Brick"
  5127. rngmb.Name = "SizeMesh"
  5128. rngmb.Scale = vt(0, 1, 0)
  5129. local orb = rngb:Clone()
  5130. orb.Parent = char
  5131. orb.Transparency = 0
  5132. orb.BrickColor = BrickColor.new("White")
  5133. orb.Size = vt(1, 1, 1)
  5134. local orbmish = orb.SizeMesh
  5135. orbmish.Scale = vt(0, 0, 0)
  5136. orbmish.MeshType = "Sphere"
  5137. local orbe = rngb:Clone()
  5138. orbe.Parent = char
  5139. orbe.Transparency = 0.5
  5140. orbe.BrickColor = BrickColor.new("New Yeller")
  5141. orbe.Size = vt(1, 1, 1)
  5142. local orbmish2 = orbe.SizeMesh
  5143. orbmish2.Scale = vt(0, 0, 0)
  5144. orbmish2.MeshType = "Sphere"
  5145. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5146. rngb:Destroy()
  5147. for i = 0, 5, 0.1 do
  5148. swait()
  5149. if rainbowmode == true then
  5150. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5151. end
  5152. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5153. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5154. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  5155. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  5156. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5157. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5158. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5159. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5160. RootPart.CFrame = FaceMouse()[1]
  5161. end
  5162. orbe.Transparency = 1
  5163. orb.Transparency = 1
  5164. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  5165. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  5166. local a = Instance.new("Part", Character)
  5167. a.Name = "Direction"
  5168. a.Anchored = true
  5169. a.BrickColor = bc("White")
  5170. a.Material = "Neon"
  5171. a.Transparency = 0
  5172. a.Shape = "Cylinder"
  5173. a.CanCollide = false
  5174. local a2 = Instance.new("Part", Character)
  5175. a2.Name = "Direction"
  5176. a2.Anchored = true
  5177. a2.BrickColor = bc("New Yeller")
  5178. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  5179. a2.Material = "Neon"
  5180. a2.Transparency = 0.5
  5181. a2.Shape = "Cylinder"
  5182. a2.CanCollide = false
  5183. local ba = Instance.new("Part", Character)
  5184. ba.Name = "HitDirect"
  5185. ba.Anchored = true
  5186. ba.BrickColor = bc("Really black")
  5187. ba.Material = "Neon"
  5188. ba.Transparency = 1
  5189. ba.CanCollide = false
  5190. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5191. local ignore = Character
  5192. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5193. a.BottomSurface = 10
  5194. a.TopSurface = 10
  5195. a2.BottomSurface = 10
  5196. a2.TopSurface = 10
  5197. local distance = (orb.CFrame.p - position).magnitude
  5198. a.Size = Vector3.new(distance, 1, 1)
  5199. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5200. a2.Size = Vector3.new(distance, 1, 1)
  5201. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5202. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5203. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5204. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5205. game:GetService("Debris"):AddItem(a, 20)
  5206. game:GetService("Debris"):AddItem(a2, 20)
  5207. game:GetService("Debris"):AddItem(ba, 20)
  5208. local msh = Instance.new("SpecialMesh", a)
  5209. msh.MeshType = "Cylinder"
  5210. msh.Scale = vt(1, 25, 25)
  5211. local msh2 = Instance.new("SpecialMesh", a2)
  5212. msh2.MeshType = "Cylinder"
  5213. msh2.Scale = vt(1, 30, 30)
  5214. for i = 0, 10, 0.1 do
  5215. swait()
  5216. CameraEnshaking(1, 5)
  5217. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  5218. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5219. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5220. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5221. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5222. distance = (orb.CFrame.p - position).magnitude
  5223. if typrot == 1 then
  5224. rotation = rotation + 2.5
  5225. elseif typrot == 2 then
  5226. rotation = rotation - 2.5
  5227. end
  5228. RootPart.CFrame = FaceMouse()[1]
  5229. a.Size = Vector3.new(distance, 1, 1)
  5230. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5231. a2.Size = Vector3.new(distance, 1, 1)
  5232. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5233. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5234. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5235. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5236. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  5237. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  5238. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  5239. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  5240. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  5241. end
  5242. a:Destroy()
  5243. a2:Destroy()
  5244. ba:Destroy()
  5245. orb:Destroy()
  5246. orbe:Destroy()
  5247. attack = false
  5248. end
  5249. function UniversalSpark()
  5250. attack = true
  5251. local rngb = Instance.new("Part", char)
  5252. rngb.Anchored = true
  5253. rngb.BrickColor = origcolor
  5254. rngb.CanCollide = false
  5255. rngb.FormFactor = 3
  5256. rngb.Name = "Ring"
  5257. rngb.Material = "Neon"
  5258. rngb.Size = Vector3.new(1, 0.05, 1)
  5259. rngb.Transparency = 1
  5260. rngb.TopSurface = 0
  5261. rngb.BottomSurface = 0
  5262. local rngmb = Instance.new("SpecialMesh", rngb)
  5263. rngmb.MeshType = "Brick"
  5264. rngmb.Name = "SizeMesh"
  5265. rngmb.Scale = vt(0, 1, 0)
  5266. local orb = rngb:Clone()
  5267. orb.Parent = char
  5268. orb.Transparency = 0
  5269. orb.BrickColor = BrickColor.new("White")
  5270. orb.Size = vt(1, 1, 1)
  5271. local orbmish = orb.SizeMesh
  5272. orbmish.Scale = vt(0, 0, 0)
  5273. orbmish.MeshType = "Sphere"
  5274. local orbe = rngb:Clone()
  5275. orbe.Parent = char
  5276. orbe.Transparency = 0.5
  5277. orbe.BrickColor = BrickColor.new("New Yeller")
  5278. orbe.Size = vt(1, 1, 1)
  5279. local orbmish2 = orbe.SizeMesh
  5280. orbmish2.Scale = vt(0, 0, 0)
  5281. orbmish2.MeshType = "Sphere"
  5282. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5283. rngb:Destroy()
  5284. for i = 0, 5, 0.1 do
  5285. swait()
  5286. if rainbowmode == true then
  5287. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5288. end
  5289. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5290. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5291. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  5292. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  5293. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5294. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5295. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5296. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5297. RootPart.CFrame = FaceMouse()[1]
  5298. end
  5299. orbe.Transparency = 1
  5300. orb.Transparency = 1
  5301. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  5302. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  5303. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  5304. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  5305. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  5306. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  5307. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  5308. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  5309. local xd = Instance.new("Sound", char)
  5310. xd.SoundId = "rbxassetid://445796828"
  5311. xd.Pitch = 0.75
  5312. xd.Looped = true
  5313. xd.Volume = 1.25
  5314. xd:Play()
  5315. local a = Instance.new("Part", Character)
  5316. a.Name = "Direction"
  5317. a.Anchored = true
  5318. a.BrickColor = bc("Alder")
  5319. a.Color = MAINRUINCOLOR.Color
  5320. a.Material = "Neon"
  5321. a.Transparency = 0.5
  5322. a.Shape = "Cylinder"
  5323. a.CanCollide = false
  5324. local a2 = Instance.new("Part", Character)
  5325. a2.Name = "Direction"
  5326. a2.Anchored = true
  5327. a2.BrickColor = bc("New Yeller")
  5328. a2.Color = MAINRUINCOLOR.Color
  5329. a2.Material = "Neon"
  5330. a2.Transparency = 0.5
  5331. a2.Shape = "Cylinder"
  5332. a2.CanCollide = false
  5333. local ba = Instance.new("Part", Character)
  5334. ba.Name = "HitDirect"
  5335. ba.Anchored = true
  5336. ba.BrickColor = bc("Really black")
  5337. ba.Material = "Neon"
  5338. ba.Transparency = 1
  5339. ba.CanCollide = false
  5340. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5341. local ignore = Character
  5342. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5343. a.BottomSurface = 10
  5344. a.TopSurface = 10
  5345. a2.BottomSurface = 10
  5346. a2.TopSurface = 10
  5347. local distance = (orb.CFrame.p - position).magnitude
  5348. a.Size = Vector3.new(distance, 1, 1)
  5349. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5350. a2.Size = Vector3.new(distance, 1, 1)
  5351. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5352. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5353. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5354. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5355. game:GetService("Debris"):AddItem(a, 60)
  5356. game:GetService("Debris"):AddItem(a2, 60)
  5357. game:GetService("Debris"):AddItem(ba, 60)
  5358. local outerscale = 0
  5359. local msh = Instance.new("SpecialMesh", a)
  5360. msh.MeshType = "Cylinder"
  5361. msh.Scale = vt(1, 0, 0)
  5362. local msh2 = Instance.new("SpecialMesh", a2)
  5363. msh2.MeshType = "Cylinder"
  5364. msh2.Scale = vt(1, 0, 0)
  5365. for i = 0, 2, 0.1 do
  5366. swait()
  5367. CameraEnshaking(1, 1)
  5368. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  5369. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  5370. outerscale = outerscale - 0.015
  5371. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5372. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5373. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5374. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5375. distance = (orb.CFrame.p - position).magnitude
  5376. if typrot == 1 then
  5377. rotation = rotation + 2.5
  5378. elseif typrot == 2 then
  5379. rotation = rotation - 2.5
  5380. end
  5381. RootPart.CFrame = FaceMouse()[1]
  5382. a.Size = Vector3.new(distance, 1, 1)
  5383. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5384. a2.Size = Vector3.new(distance, 1, 1)
  5385. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5386. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5387. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5388. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5389. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5390. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5391. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5392. end
  5393. for z = 0, 2 do
  5394. for i = 0, 4, 0.1 do
  5395. swait()
  5396. CameraEnshaking(1, 1)
  5397. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5398. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5399. outerscale = outerscale + 0.015
  5400. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5401. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5402. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5403. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5404. distance = (orb.CFrame.p - position).magnitude
  5405. if typrot == 1 then
  5406. rotation = rotation + 2.5
  5407. elseif typrot == 2 then
  5408. rotation = rotation - 2.5
  5409. end
  5410. RootPart.CFrame = FaceMouse()[1]
  5411. a.Size = Vector3.new(distance, 1, 1)
  5412. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5413. a2.Size = Vector3.new(distance, 1, 1)
  5414. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5415. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5416. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5417. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5418. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5419. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5420. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5421. end
  5422. for i = 0, 4, 0.1 do
  5423. swait()
  5424. CameraEnshaking(1, 1)
  5425. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5426. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5427. outerscale = outerscale - 0.015
  5428. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5429. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5430. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5431. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5432. distance = (orb.CFrame.p - position).magnitude
  5433. if typrot == 1 then
  5434. rotation = rotation + 2.5
  5435. elseif typrot == 2 then
  5436. rotation = rotation - 2.5
  5437. end
  5438. RootPart.CFrame = FaceMouse()[1]
  5439. a.Size = Vector3.new(distance, 1, 1)
  5440. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5441. a2.Size = Vector3.new(distance, 1, 1)
  5442. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5443. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5444. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5445. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5446. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5447. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5448. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5449. end
  5450. end
  5451. for i = 0, 4, 0.1 do
  5452. swait()
  5453. CameraEnshaking(1, 1)
  5454. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5455. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5456. xd.Volume = xd.Volume - 0.025
  5457. a.Transparency = a.Transparency + 0.025
  5458. a2.Transparency = a2.Transparency + 0.025
  5459. outerscale = outerscale - 0.015
  5460. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5461. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5462. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5463. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5464. distance = (orb.CFrame.p - position).magnitude
  5465. if typrot == 1 then
  5466. rotation = rotation + 2.5
  5467. elseif typrot == 2 then
  5468. rotation = rotation - 2.5
  5469. end
  5470. RootPart.CFrame = FaceMouse()[1]
  5471. a.Size = Vector3.new(distance, 1, 1)
  5472. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5473. a2.Size = Vector3.new(distance, 1, 1)
  5474. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5475. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5476. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5477. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5478. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5479. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5480. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5481. end
  5482. xd:Destroy()
  5483. a:Destroy()
  5484. a2:Destroy()
  5485. ba:Destroy()
  5486. orb:Destroy()
  5487. orbe:Destroy()
  5488. attack = false
  5489. end
  5490. function resetmode()
  5491. rainbowmode = false
  5492. chaosmode = false
  5493. RecolorTextAndRename("Singularity", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  5494. ModeOfGlitch = 1
  5495. storehumanoidWS = 16
  5496. for i, v in pairs(mw2:GetChildren()) do
  5497. if v:IsA("Part") then
  5498. v.BrickColor = BrickColor.new("Really red")
  5499. v.Material = "Neon"
  5500. end
  5501. end
  5502. for i, v in pairs(mw1:GetChildren()) do
  5503. if v:IsA("Part") then
  5504. v.Transparency = 1
  5505. v.BrickColor = BrickColor.new("Really red")
  5506. v.Material = "Neon"
  5507. end
  5508. end
  5509. MAINRUINCOLOR = BrickColor.new("Really red")
  5510. hum.WalkSpeed = 16
  5511. newTheme("rbxassetid://415898123", 0, 1, 10)
  5512. for i, v in pairs(m:GetChildren()) do
  5513. if v:IsA("Part") then
  5514. v.BrickColor = BrickColor.new("Really black")
  5515. v.Material = "Glass"
  5516. end
  5517. end
  5518. for i, v in pairs(m2:GetChildren()) do
  5519. if v:IsA("Part") then
  5520. v.BrickColor = BrickColor.new("Crimson")
  5521. v.Material = "Granite"
  5522. end
  5523. end
  5524. for i, v in pairs(m3:GetChildren()) do
  5525. if v:IsA("Part") then
  5526. v.BrickColor = BrickColor.new("Really red")
  5527. v.Material = "Neon"
  5528. end
  5529. end
  5530. for i, v in pairs(extrawingmod1:GetChildren()) do
  5531. if v:IsA("Part") then
  5532. v.Transparency = 1
  5533. v.BrickColor = BrickColor.new("White")
  5534. v.Material = "Neon"
  5535. end
  5536. end
  5537. for i, v in pairs(extrawingmod2:GetChildren()) do
  5538. if v:IsA("Part") then
  5539. v.Transparency = 1
  5540. v.BrickColor = BrickColor.new("White")
  5541. v.Material = "Neon"
  5542. end
  5543. end
  5544. end
  5545. function attackone()
  5546. attack = true
  5547. for i = 0, 1, 0.1 do
  5548. swait()
  5549. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  5550. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  5551. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5552. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5553. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  5554. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  5555. end
  5556. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  5557. local hitb = Instance.new("Part", char)
  5558. hitb.Anchored = true
  5559. hitb.CanCollide = false
  5560. hitb.FormFactor = 3
  5561. hitb.Name = "Ring"
  5562. hitb.Material = "Neon"
  5563. hitb.Size = Vector3.new(1, 1, 1)
  5564. hitb.Transparency = 1
  5565. hitb.TopSurface = 0
  5566. hitb.BottomSurface = 0
  5567. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  5568. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  5569. hitb:Destroy()
  5570. for i = 0, 1, 0.1 do
  5571. swait()
  5572. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  5573. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  5574. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5575. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5576. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  5577. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  5578. end
  5579. attack = false
  5580. end
  5581. function attacktwo()
  5582. attack = true
  5583. for i = 0, 1, 0.1 do
  5584. swait()
  5585. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  5586. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  5587. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5588. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5589. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  5590. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  5591. end
  5592. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  5593. local hitb = Instance.new("Part", char)
  5594. hitb.Anchored = true
  5595. hitb.CanCollide = false
  5596. hitb.FormFactor = 3
  5597. hitb.Name = "Ring"
  5598. hitb.Material = "Neon"
  5599. hitb.Size = Vector3.new(1, 1, 1)
  5600. hitb.Transparency = 1
  5601. hitb.TopSurface = 0
  5602. hitb.BottomSurface = 0
  5603. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  5604. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  5605. hitb:Destroy()
  5606. for i = 0, 1, 0.1 do
  5607. swait()
  5608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  5609. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  5610. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5611. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5612. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  5613. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  5614. end
  5615. attack = false
  5616. end
  5617. function attackthree()
  5618. attack = true
  5619. for i = 0, 1, 0.1 do
  5620. swait()
  5621. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  5622. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  5623. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5624. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5625. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5626. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5627. end
  5628. local distlook = 5
  5629. for i = 0, 4 do
  5630. swait(2)
  5631. CameraEnshaking(2, 3)
  5632. local hite = Instance.new("Part", char)
  5633. hite.Anchored = true
  5634. hite.CanCollide = false
  5635. hite.FormFactor = 3
  5636. hite.Name = "Ring"
  5637. hite.Material = "Neon"
  5638. hite.Size = Vector3.new(1, 1, 1)
  5639. hite.Transparency = 1
  5640. hite.TopSurface = 0
  5641. hite.BottomSurface = 0
  5642. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  5643. sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  5644. sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  5645. MagniDamage(hite, 10, 15, 35, 0, "Normal")
  5646. for i = 0, 2 do
  5647. sphereMK(2, 0.2, "Add", rarm.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5648. sphereMK(3, 0.2, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5649. sphereMK(6, 0.35, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5650. end
  5651. CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  5652. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5653. game:GetService("Debris"):AddItem(hite, 5)
  5654. distlook = distlook + 10
  5655. end
  5656. attack = false
  5657. end
  5658. local attacktype = 1
  5659. mouse.Button1Down:connect(function()
  5660. if attack == false and attacktype == 1 then
  5661. attacktype = 2
  5662. attackone()
  5663. elseif attack == false and attacktype == 2 then
  5664. attacktype = 3
  5665. attacktwo()
  5666. elseif attack == false and attacktype == 3 then
  5667. attacktype = 1
  5668. attackthree()
  5669. elseif attack == false and attacktype == 4 then
  5670. attacktype = 1
  5671. end
  5672. end)
  5673. mouse.KeyDown:connect(function(k)
  5674. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5675. ModeOfGlitch = 2
  5676. storehumanoidWS = 16
  5677. hum.WalkSpeed = 16
  5678. rainbowmode = false
  5679. chaosmode = false
  5680. RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
  5681. newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  5682. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5683. for i, v in pairs(mw2:GetChildren()) do
  5684. if v:IsA("Part") then
  5685. v.BrickColor = MAINRUINCOLOR
  5686. v.Material = "Neon"
  5687. end
  5688. end
  5689. for i, v in pairs(mw1:GetChildren()) do
  5690. if v:IsA("Part") then
  5691. v.Transparency = 1
  5692. v.BrickColor = MAINRUINCOLOR
  5693. v.Material = "Neon"
  5694. end
  5695. end
  5696. for i, v in pairs(m:GetChildren()) do
  5697. if v:IsA("Part") then
  5698. v.BrickColor = BrickColor.new("White")
  5699. v.Material = "Ice"
  5700. end
  5701. end
  5702. for i, v in pairs(m2:GetChildren()) do
  5703. if v:IsA("Part") then
  5704. v.BrickColor = BrickColor.new("Pastel light blue")
  5705. v.Material = "Glass"
  5706. end
  5707. end
  5708. for i, v in pairs(m3:GetChildren()) do
  5709. if v:IsA("Part") then
  5710. v.BrickColor = BrickColor.new("Toothpaste")
  5711. v.Material = "Neon"
  5712. end
  5713. end
  5714. for i, v in pairs(extrawingmod1:GetChildren()) do
  5715. if v:IsA("Part") then
  5716. v.Transparency = 1
  5717. v.BrickColor = BrickColor.new("White")
  5718. v.Material = "Neon"
  5719. end
  5720. end
  5721. for i, v in pairs(extrawingmod2:GetChildren()) do
  5722. if v:IsA("Part") then
  5723. v.Transparency = 1
  5724. v.BrickColor = BrickColor.new("White")
  5725. v.Material = "Neon"
  5726. end
  5727. end
  5728. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5729. resetmode()
  5730. end
  5731. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5732. ModeOfGlitch = 3
  5733. storehumanoidWS = 16
  5734. hum.WalkSpeed = 16
  5735. rainbowmode = false
  5736. chaosmode = false
  5737. RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
  5738. newTheme("rbxassetid://1509634377", 58.15, 1,2)
  5739. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5740. for i, v in pairs(mw2:GetChildren()) do
  5741. if v:IsA("Part") then
  5742. v.BrickColor = MAINRUINCOLOR
  5743. v.Material = "Neon"
  5744. end
  5745. end
  5746. for i, v in pairs(mw1:GetChildren()) do
  5747. if v:IsA("Part") then
  5748. v.Transparency = 1
  5749. v.BrickColor = MAINRUINCOLOR
  5750. v.Material = "Neon"
  5751. end
  5752. end
  5753. for i, v in pairs(m:GetChildren()) do
  5754. if v:IsA("Part") then
  5755. v.BrickColor = BrickColor.new("Black")
  5756. v.Material = "Ice"
  5757. end
  5758. end
  5759. for i, v in pairs(m2:GetChildren()) do
  5760. if v:IsA("Part") then
  5761. v.BrickColor = BrickColor.new("Dark indigo")
  5762. v.Material = "Glass"
  5763. end
  5764. end
  5765. for i, v in pairs(m3:GetChildren()) do
  5766. if v:IsA("Part") then
  5767. v.BrickColor = BrickColor.new("Royal purple")
  5768. v.Material = "Neon"
  5769. end
  5770. end
  5771. for i, v in pairs(extrawingmod1:GetChildren()) do
  5772. if v:IsA("Part") then
  5773. v.Transparency = 1
  5774. v.BrickColor = BrickColor.new("White")
  5775. v.Material = "Neon"
  5776. end
  5777. end
  5778. for i, v in pairs(extrawingmod2:GetChildren()) do
  5779. if v:IsA("Part") then
  5780. v.Transparency = 1
  5781. v.BrickColor = BrickColor.new("White")
  5782. v.Material = "Neon"
  5783. end
  5784. end
  5785. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5786. resetmode()
  5787. end
  5788. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5789. ModeOfGlitch = 4
  5790. storehumanoidWS = 16
  5791. hum.WalkSpeed = 16
  5792. rainbowmode = false
  5793. chaosmode = true
  5794. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5795. newTheme("rbxassetid://415898123", 0, 1, 10)
  5796. MAINRUINCOLOR = BrickColor.new("Black")
  5797. for i, v in pairs(mw2:GetChildren()) do
  5798. if v:IsA("Part") then
  5799. v.BrickColor = MAINRUINCOLOR
  5800. v.Material = "Neon"
  5801. end
  5802. end
  5803. for i, v in pairs(mw1:GetChildren()) do
  5804. if v:IsA("Part") then
  5805. v.Transparency = 0.75
  5806. v.BrickColor = BrickColor.random()
  5807. v.Material = "Neon"
  5808. end
  5809. end
  5810. for i, v in pairs(m:GetChildren()) do
  5811. if v:IsA("Part") then
  5812. v.BrickColor = BrickColor.new("Black")
  5813. v.Material = "Neon"
  5814. end
  5815. end
  5816. for i, v in pairs(m2:GetChildren()) do
  5817. if v:IsA("Part") then
  5818. v.BrickColor = BrickColor.random()
  5819. v.Material = "Neon"
  5820. end
  5821. end
  5822. for i, v in pairs(m3:GetChildren()) do
  5823. if v:IsA("Part") then
  5824. v.BrickColor = BrickColor.new("Black")
  5825. v.Material = "Neon"
  5826. end
  5827. end
  5828. for i, v in pairs(extrawingmod1:GetChildren()) do
  5829. if v:IsA("Part") then
  5830. v.Transparency = 1
  5831. v.BrickColor = BrickColor.new("White")
  5832. v.Material = "Neon"
  5833. end
  5834. end
  5835. for i, v in pairs(extrawingmod2:GetChildren()) do
  5836. if v:IsA("Part") then
  5837. v.Transparency = 1
  5838. v.BrickColor = BrickColor.new("White")
  5839. v.Material = "Neon"
  5840. end
  5841. end
  5842. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  5843. resetmode()
  5844. end
  5845. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  5846. ModeOfGlitch = 5
  5847.  
  5848. storehumanoidWS = 16
  5849. hum.WalkSpeed = 16
  5850. rainbowmode = false
  5851. chaosmode = false
  5852. RecolorTextAndRename("Solitude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
  5853. newTheme("rbxassetid://723652641", 10, 1, 3.2)
  5854. ModeOfGlitch = 1
  5855. MAINRUINCOLOR = BrickColor.new("Really black")
  5856. for i, v in pairs(mw2:GetChildren()) do
  5857. if v:IsA("Part") then
  5858. v.BrickColor = MAINRUINCOLOR
  5859. v.Material = "Neon"
  5860. end
  5861. end
  5862. for i, v in pairs(mw1:GetChildren()) do
  5863. if v:IsA("Part") then
  5864. v.Transparency = 0
  5865. v.BrickColor = MAINRUINCOLOR
  5866. v.Material = "Neon"
  5867. end
  5868. end
  5869. for i, v in pairs(m:GetChildren()) do
  5870. if v:IsA("Part") then
  5871. v.BrickColor = BrickColor.new("Really black")
  5872. v.Material = "Ice"
  5873. end
  5874. end
  5875. for i, v in pairs(m2:GetChildren()) do
  5876. if v:IsA("Part") then
  5877. v.BrickColor = BrickColor.new("Really black")
  5878. v.Material = "Ice"
  5879. end
  5880. end
  5881. for i, v in pairs(m3:GetChildren()) do
  5882. if v:IsA("Part") then
  5883. v.BrickColor = BrickColor.new("Really black")
  5884. v.Material = "Neon"
  5885. end
  5886. end
  5887. for i, v in pairs(extrawingmod1:GetChildren()) do
  5888. if v:IsA("Part") then
  5889. v.Transparency = 1
  5890. v.BrickColor = BrickColor.new("White")
  5891. v.Material = "Neon"
  5892. end
  5893. end
  5894. for i, v in pairs(extrawingmod2:GetChildren()) do
  5895. if v:IsA("Part") then
  5896. v.Transparency = 1
  5897. v.BrickColor = BrickColor.new("White")
  5898. v.Material = "Neon"
  5899. end
  5900. end
  5901. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  5902. resetmode()
  5903. end
  5904. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  5905. ModeOfGlitch = 6
  5906. storehumanoidWS = 75
  5907. hum.WalkSpeed = 75
  5908. rainbowmode = false
  5909. chaosmode = false
  5910. RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
  5911. newTheme("rbxassetid://519067542", 0, 1, 1)
  5912. MAINRUINCOLOR = BrickColor.new("Really black")
  5913. for i, v in pairs(mw2:GetChildren()) do
  5914. if v:IsA("Part") then
  5915. v.BrickColor = BrickColor.new("White")
  5916. v.Material = "Neon"
  5917. end
  5918. end
  5919. for i, v in pairs(mw1:GetChildren()) do
  5920. if v:IsA("Part") then
  5921. v.Transparency = 0
  5922. v.BrickColor = BrickColor.new("Really black")
  5923. v.Material = "Neon"
  5924. end
  5925. end
  5926. for i, v in pairs(m:GetChildren()) do
  5927. if v:IsA("Part") then
  5928. v.BrickColor = BrickColor.new("White")
  5929. v.Material = "Ice"
  5930. end
  5931. end
  5932. for i, v in pairs(m2:GetChildren()) do
  5933. if v:IsA("Part") then
  5934. v.BrickColor = BrickColor.new("Really black")
  5935. v.Material = "Ice"
  5936. end
  5937. end
  5938. for i, v in pairs(m3:GetChildren()) do
  5939. if v:IsA("Part") then
  5940. v.BrickColor = BrickColor.new("White")
  5941. v.Material = "Neon"
  5942. end
  5943. end
  5944. for i, v in pairs(extrawingmod1:GetChildren()) do
  5945. if v:IsA("Part") then
  5946. v.Transparency = 1
  5947. v.BrickColor = BrickColor.new("White")
  5948. v.Material = "Neon"
  5949. end
  5950. end
  5951. for i, v in pairs(extrawingmod2:GetChildren()) do
  5952. if v:IsA("Part") then
  5953. v.Transparency = 1
  5954. v.BrickColor = BrickColor.new("White")
  5955. v.Material = "Neon"
  5956. end
  5957. end
  5958.  
  5959.  
  5960. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  5961. resetmode()
  5962. end
  5963. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  5964. ModeOfGlitch = 6127843
  5965. storehumanoidWS = 50
  5966. hum.WalkSpeed = 50
  5967. rainbowmode = true
  5968. chaosmode = false
  5969. RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  5970. newTheme("rbxassetid://152539141", 0, 1, 1)
  5971. MAINRUINCOLOR = BrickColor.new("White")
  5972. for i, v in pairs(mw2:GetChildren()) do
  5973. if v:IsA("Part") then
  5974. v.BrickColor = MAINRUINCOLOR
  5975. v.Material = "Neon"
  5976. end
  5977. end
  5978. for i, v in pairs(mw1:GetChildren()) do
  5979. if v:IsA("Part") then
  5980. v.Transparency = 0
  5981. v.BrickColor = MAINRUINCOLOR
  5982. v.Material = "Neon"
  5983. end
  5984. end
  5985. for i, v in pairs(m:GetChildren()) do
  5986. if v:IsA("Part") then
  5987. v.BrickColor = BrickColor.new("White")
  5988. v.Material = "Neon"
  5989. end
  5990. end
  5991. for i, v in pairs(m2:GetChildren()) do
  5992. if v:IsA("Part") then
  5993. v.BrickColor = BrickColor.new("White")
  5994. v.Material = "Neon"
  5995. end
  5996. end
  5997. for i, v in pairs(m3:GetChildren()) do
  5998. if v:IsA("Part") then
  5999. v.BrickColor = BrickColor.new("White")
  6000. v.Material = "Neon"
  6001. end
  6002. end
  6003. for i, v in pairs(extrawingmod1:GetChildren()) do
  6004. if v:IsA("Part") then
  6005. v.Transparency = 1
  6006. v.BrickColor = BrickColor.new("White")
  6007. v.Material = "Neon"
  6008. end
  6009. end
  6010. for i, v in pairs(extrawingmod2:GetChildren()) do
  6011. if v:IsA("Part") then
  6012. v.Transparency = 1
  6013. v.BrickColor = BrickColor.new("White")
  6014. v.Material = "Neon"
  6015. end
  6016. end
  6017. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6018. resetmode()
  6019. end
  6020. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6021. ModeOfGlitch = 1000000
  6022. storehumanoidWS = 100
  6023. hum.WalkSpeed = 100
  6024. rainbowmode = false
  6025. chaosmode = false
  6026. RecolorTextAndRename("True Starlight", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1))
  6027. newTheme("rbxassetid://614032233", 0, 1, 1)
  6028. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6029. for i, v in pairs(mw2:GetChildren()) do
  6030. if v:IsA("Part") then
  6031. v.BrickColor = MAINRUINCOLOR
  6032. v.Material = "Neon"
  6033. end
  6034. end
  6035. for i, v in pairs(mw1:GetChildren()) do
  6036. if v:IsA("Part") then
  6037. v.Transparency = 0
  6038. v.BrickColor = MAINRUINCOLOR
  6039. v.Material = "Neon"
  6040. end
  6041. end
  6042. for i, v in pairs(m:GetChildren()) do
  6043. if v:IsA("Part") then
  6044. v.Color = Color3.new(0.5, 0, 1)
  6045. v.Material = "Neon"
  6046. end
  6047. end
  6048. for i, v in pairs(m2:GetChildren()) do
  6049. if v:IsA("Part") then
  6050. v.Color = Color3.new(0.25, 0, 1)
  6051. v.Material = "Neon"
  6052. end
  6053. end
  6054. for i, v in pairs(m3:GetChildren()) do
  6055. if v:IsA("Part") then
  6056. v.Color = Color3.new(0.45, 0, 1)
  6057. v.Material = "Neon"
  6058. end
  6059. end
  6060. for i, v in pairs(extrawingmod1:GetChildren()) do
  6061. if v:IsA("Part") then
  6062. v.Transparency = 0
  6063. v.Color = Color3.new(0.25, 0, 1)
  6064. v.Material = "Neon"
  6065. end
  6066. end
  6067. for i, v in pairs(extrawingmod2:GetChildren()) do
  6068. if v:IsA("Part") then
  6069. v.Transparency = 0
  6070. v.Color = Color3.new(0.5, 0, 1)
  6071. v.Material = "Neon"
  6072. end
  6073. end
  6074. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6075. resetmode()
  6076. end
  6077. if k == "l" and toggleTag == false then
  6078. toggleTag = true
  6079. text.TextTransparency = 0
  6080. text.TextStrokeTransparency = 0
  6081. elseif k == "l" and toggleTag == true then
  6082. toggleTag = false
  6083. text.TextTransparency = 1
  6084. text.TextStrokeTransparency = 1
  6085. end
  6086. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6087. ExtinctiveHeartbreak()
  6088. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6089. PureBomb()
  6090. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6091. scattercorrupt()
  6092. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6093. ChaosGroundStrike()
  6094. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6095. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6096. UniversalSpark()
  6097. elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
  6098. scattercorrupt()
  6099. wait(1)
  6100. yinyangi()
  6101. elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  6102. scattercorrupt()
  6103. scattercorrupt()
  6104. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6105. yinyangi()
  6106. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6107. Wip()
  6108. end
  6109. if k == "l" and attack == false and ModeOfGlitch == 4 then
  6110. ChaosBegone()
  6111. end
  6112. end)
  6113. coroutine.resume(coroutine.create(function()
  6114. while true do
  6115. swait(2)
  6116. if rainbowmode == true or ModeOfGlitch == 6 then
  6117. sphereMK(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0)
  6118. end
  6119. end
  6120. end))
  6121. coroutine.resume(coroutine.create(function()
  6122. while true do
  6123. swait(0.5)
  6124. if ModeOfGlitch == 1000000 then
  6125. sphereMK(5, 0.5, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0)
  6126. end
  6127. end
  6128. end))
  6129. coroutine.resume(coroutine.create(function()
  6130. while true do
  6131. swait(2)
  6132. if chaosmode == true then
  6133. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  6134. for i, v in pairs(mw1:GetChildren()) do
  6135. if v:IsA("Part") then
  6136. v.Transparency = 0.75
  6137. v.BrickColor = BrickColor.random()
  6138. v.Material = "Neon"
  6139. end
  6140. end
  6141. for i, v in pairs(m2:GetChildren()) do
  6142. if v:IsA("Part") then
  6143. v.BrickColor = BrickColor.random()
  6144. v.Material = "Neon"
  6145. end
  6146. end
  6147. end
  6148. end
  6149. end))
  6150. Humanoid.Name = "STARGLITCHER"
  6151. Humanoid.MaxHealth = math.huge
  6152. Humanoid.Health = math.huge
  6153. Instance.new("ForceField", char).Visible = false
  6154. Humanoid.Animator.Parent = nil
  6155. idleanim = 0.4
  6156. while true do
  6157. if rainbowmode == true then
  6158. RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  6159. MAINRUINCOLOR = BrickColor.new("White")
  6160. for i, v in pairs(m:GetChildren()) do
  6161. if v:IsA("Part") then
  6162. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6163. end
  6164. end
  6165. for i, v in pairs(m2:GetChildren()) do
  6166. if v:IsA("Part") then
  6167. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6168. end
  6169. end
  6170. for i, v in pairs(m3:GetChildren()) do
  6171. if v:IsA("Part") then
  6172. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6173. end
  6174. end
  6175. for i, v in pairs(mw1:GetChildren()) do
  6176. if v:IsA("Part") then
  6177. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6178. v.Material = "Neon"
  6179. end
  6180. end
  6181. for i, v in pairs(mw2:GetChildren()) do
  6182. if v:IsA("Part") then
  6183. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6184. v.Material = "Neon"
  6185. end
  6186. end
  6187. end
  6188. CameraManager()
  6189. swait()
  6190. lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3)
  6191. lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3)
  6192. lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3)
  6193. lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3)
  6194. lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3)
  6195. lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3)
  6196. rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3)
  6197. rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3)
  6198. rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3)
  6199. rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3)
  6200. rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3)
  6201. rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3)
  6202. sine = sine + change
  6203. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  6204. local velderp = RootPart.Velocity.y
  6205. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  6206. if equipped == true or equipped == false then
  6207. if attack == false then
  6208. idle = idle + 1
  6209. else
  6210. idle = 0
  6211. end
  6212. if not (idle >= 500) or attack == false then
  6213. end
  6214. if RootPart.Velocity.y > 1 and hitfloor == nil then
  6215. Anim = "Jump"
  6216. if attack == false then
  6217. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  6218. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  6219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  6220. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  6221. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(25)), 0.1)
  6222. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(-25)), 0.1)
  6223. end
  6224. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  6225. Anim = "Fall"
  6226. if attack == false then
  6227. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  6228. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  6229. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  6230. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  6231. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
  6232. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  6233. end
  6234. elseif torvel < 1 and hitfloor ~= nil then
  6235. Anim = "Idle"
  6236. if attack == false then
  6237. if ModeOfGlitch == 1 then
  6238. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10 - 2.5 * math.cos(sine / 32)), math.rad(-20), math.rad(0)), 0.1)
  6239. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.1)
  6240. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(10 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1)
  6241. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1)
  6242. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
  6243. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  6244. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6245. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6246. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6248. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  6249. RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1)
  6250. LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1)
  6251. elseif ModeOfGlitch == 3 then
  6252. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 - 1 * math.cos(sine / 34))), 0.1)
  6253. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6254. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-20)), 0.1)
  6255. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1)
  6256. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
  6257. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  6258. elseif ModeOfGlitch == 4 then
  6259. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
  6260. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
  6261. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  6262. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  6263. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  6264. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  6265. elseif ModeOfGlitch == 5 then
  6266. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6267. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6268. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6269. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  6270. RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
  6271. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  6272. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  6273. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
  6274. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1)
  6275. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6276. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  6277. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
  6278. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
  6279. end
  6280. end
  6281. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  6282. Anim = "Walk"
  6283. if attack == false then
  6284. if ModeOfGlitch == 1 then
  6285. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6286. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6287. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
  6288. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  6289. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
  6290. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  6291. elseif ModeOfGlitch == 4 then
  6292. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1)
  6293. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1)
  6294. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1)
  6295. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  6296. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  6297. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  6298. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6299. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6300. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6301. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
  6302. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  6303. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
  6304. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1)
  6305. end
  6306. end
  6307. elseif torvel >= 22 and hitfloor ~= nil then
  6308. Anim = "Run"
  6309. if attack == false then
  6310. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
  6311. RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  6312. LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  6313. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1)
  6314. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1)
  6315. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1)
  6316. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1)
  6317. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  6318. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  6319. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  6320. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  6321. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6322. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2)
  6323. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2)
  6324. end
  6325. end
  6326. end
  6327. end
  6328. end
  6329. end)
  6330. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement