Advertisement
Guest User

OOf

a guest
Jul 19th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 153.89 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. script:ClearAllChildren()
  7. wait(0.2)
  8.  
  9. Player = game:GetService("Players").LocalPlayer
  10. PlayerGui = Player.PlayerGui
  11. Cam = workspace.CurrentCamera
  12. Backpack = Player.Backpack
  13. Character = Player.Character
  14. Humanoid = Character.Humanoid
  15. Mouse = Player:GetMouse()
  16. RootPart = Character["HumanoidRootPart"]
  17. Torso = Character["Torso"]
  18. Head = Character["Head"]
  19. RightArm = Character["Right Arm"]
  20. LeftArm = Character["Left Arm"]
  21. RightLeg = Character["Right Leg"]
  22. LeftLeg = Character["Left Leg"]
  23. RootJoint = RootPart["RootJoint"]
  24. Neck = Torso["Neck"]
  25. RightShoulder = Torso["Right Shoulder"]
  26. LeftShoulder = Torso["Left Shoulder"]
  27. RightHip = Torso["Right Hip"]
  28. LeftHip = Torso["Left Hip"]
  29. local TIME = 0
  30. local sick = Instance.new("Sound",Torso)
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49.  
  50.  
  51. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  52. local NEWPART = IT("Part")
  53. NEWPART.formFactor = FORMFACTOR
  54. NEWPART.Reflectance = REFLECTANCE
  55. NEWPART.Transparency = TRANSPARENCY
  56. NEWPART.CanCollide = false
  57. NEWPART.Locked = true
  58. NEWPART.Anchored = true
  59. if ANCHOR == false then
  60. NEWPART.Anchored = false
  61. end
  62. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  63. NEWPART.Name = NAME
  64. NEWPART.Size = SIZE
  65. NEWPART.Position = Torso.Position
  66. NEWPART.Material = MATERIAL
  67. NEWPART:BreakJoints()
  68. NEWPART.Parent = PARENT
  69. return NEWPART
  70. end
  71.  
  72. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  73. local NEWWELD = IT(TYPE)
  74. NEWWELD.Part0 = PART0
  75. NEWWELD.Part1 = PART1
  76. NEWWELD.C0 = C0
  77. NEWWELD.C1 = C1
  78. NEWWELD.Parent = PARENT
  79. return NEWWELD
  80. end
  81.  
  82. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  83. local NEWMESH = IT(MESH)
  84. if MESH == "SpecialMesh" then
  85. NEWMESH.MeshType = MESHTYPE
  86. if MESHID ~= "nil" and MESHID ~= "" then
  87. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  88. end
  89. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  90. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  91. end
  92. end
  93. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  94. NEWMESH.Scale = SCALE
  95. NEWMESH.Parent = PARENT
  96. return NEWMESH
  97. end
  98.  
  99. function MakeForm(PART,TYPE)
  100. if TYPE == "Cyl" then
  101. local MSH = IT("CylinderMesh",PART)
  102. elseif TYPE == "Ball" then
  103. local MSH = IT("SpecialMesh",PART)
  104. MSH.MeshType = "Sphere"
  105. elseif TYPE == "Wedge" then
  106. local MSH = IT("SpecialMesh",PART)
  107. MSH.MeshType = "Wedge"
  108. end
  109. end
  110.  
  111. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  112. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  113. end
  114.  
  115.  
  116. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  117. function Lightning(Table)
  118. local Color = Table.Color or C3(1,1,1)
  119. local StartPos = Table.Start or Torso.Position
  120. local EndPos = Table.End or Mouse.Hit.p
  121. local SegmentLength = Table.SegmentL or 2
  122. local Thickness = Table.Thickness or 0.1
  123. local Dissapear = Table.DoesFade or false
  124. local Parent = Table.Ignore or Character
  125. local MaxDist = Table.MaxDist or 400
  126. local Branches = Table.Branches or false
  127. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  128. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  129. local LIGHTNINGMODEL = IT("Model",Effects)
  130. LIGHTNINGMODEL.Name = "Lightning"
  131. local LastBolt = nil
  132. for E = 1, DISTANCE do
  133. local ExtraSize = (DISTANCE-E)/15
  134. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Electric blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  135. PART.Color = Color
  136. MakeForm(PART,"Cyl")
  137. if LastBolt == nil then
  138. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  139. else
  140. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  141. end
  142. LastBolt = PART
  143. if Branches == true then
  144. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  145. if CHOICE == 1 then
  146. local LASTBRANCH = nil
  147. for i = 1, MRANDOM(2,5) do
  148. local ExtraSize2 = ((DISTANCE-E)/25)/i
  149. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Really black"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  150. PART.Color = Color
  151. MakeForm(PART,"Cyl")
  152. if LASTBRANCH == nil then
  153. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  154. else
  155. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  156. end
  157. LASTBRANCH = PART
  158. end
  159. end
  160. end
  161. end
  162. if Dissapear == true then
  163. coroutine.resume(coroutine.create(function()
  164. for i = 1, 10 do
  165. swait()
  166. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  167. if c.ClassName == "Part" then
  168. c.Transparency = i/10
  169. end
  170. end
  171. end
  172. LIGHTNINGMODEL:remove()
  173. end))
  174. elseif Dissapear == false then
  175. Debris:AddItem(LIGHTNINGMODEL,0.1)
  176. end
  177. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  178. end
  179.  
  180. function Shatter(Part)
  181. if Part.Transparency == 0 then
  182. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  183. Debris:AddItem(SOUNDPART,5)
  184. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  185. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  186. local SIZESET = SIZE/4
  187. local XOffset = Part.Size.X*1.5/SIZESET
  188. local YOffset = Part.Size.Y*1.5/SIZESET
  189. local ZOffset = Part.Size.Z*1.5/SIZESET
  190. for x = 1, math.ceil(XOffset) do
  191. for y = 1, math.ceil(YOffset) do
  192. for z = 1, math.ceil(ZOffset) do
  193. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  194. SHARD.CanCollide = true
  195. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  196. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  197. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  198. end
  199. end
  200. end
  201. end
  202. Part:remove()
  203. end
  204.  
  205. function killnearest(position,range,maxstrength)
  206. for i,v in ipairs(workspace:GetChildren()) do
  207. local body = v:GetChildren()
  208. for part = 1, #body do
  209. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  210. if(body[part].Position - position).Magnitude < range then
  211. if v.ClassName == "Model" then
  212. v:BreakJoints()
  213. end
  214. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  215. local bv = Instance.new("BodyVelocity")
  216. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  217. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  218. bv.Parent = body[part]
  219. Debris:AddItem(bv,0.2)
  220. end
  221. end
  222. end
  223. if v.ClassName == "Part" then
  224. if v.Anchored == false and (v.Position - position).Magnitude < range then
  225. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  226. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  227. end
  228. end
  229. end
  230. end
  231.  
  232. Player_Size = 1 --Size of the player.
  233. local LAUGHS = {834001699,834001752,834001797,834001828}
  234. local BOLTSOUNDS = {168586621,168586586,178452241}
  235.  
  236.  
  237.  
  238.  
  239. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really blue", "Hood", VT(1,1,1),false)
  240. PRT.Color = C3(150,0,0)
  241. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  242. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  243. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Scarf", VT(1,1,1),false)
  244. PRT.Color = C3(0,0,150)
  245. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  246. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  247. for i = 1, 16 do
  248. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Electric blue", "FaceGradient", VT(1.01,0.65,1.01),false)
  249. FACE.Color = C3(0.2,0,0)
  250. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  251. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  252. end
  253. local LASTPART = Head
  254. for i = 1, 20 do
  255. local MATH = (1-(i/25))
  256. if LASTPART == Head then
  257. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Horn", VT(0.25*MATH,0.32,0.25*MATH),false)
  258. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  259. LASTPART = Horn
  260. Horn.Color = C3((i*3-3)/150,0,0)
  261. else
  262. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Horn", VT(0.25*MATH,0.32,0.25*MATH),false)
  263. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  264. LASTPART = Horn
  265. Horn.Color = C3((i*3-3)/150,0,0)
  266. end
  267. end
  268. local LASTPART = Head
  269. for i = 1, 20 do
  270. local MATH = (1-(i/25))
  271. if LASTPART == Head then
  272. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.32,0.25*MATH),false)
  273. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  274. LASTPART = Horn
  275. Horn.Color = C3((i*3-3)/0,0,150)
  276. else
  277. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.32,0.25*MATH),false)
  278. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  279. LASTPART = Horn
  280. Horn.Color = C3((i*3-3)/0,0,150)
  281. end
  282. end
  283.  
  284.  
  285. function sandbox(var,func)
  286. local env = getfenv(func)
  287. local newenv = setmetatable({},{
  288. __index = function(self,k)
  289. if k=="script" then
  290. return var
  291. else
  292. return env[k]
  293. end
  294. end,
  295. })
  296. setfenv(func,newenv)
  297. return func
  298. end
  299. cors = {}
  300. mas = Instance.new("Model",game:GetService("Lighting"))
  301. Part0 = Instance.new("Part")
  302. SpecialMesh1 = Instance.new("SpecialMesh")
  303. Script2 = Instance.new("Script")
  304. Part0.Name = "MainSky"
  305. Part0.Parent = mas
  306. Part0.CFrame = CFrame.new(-8.5, 2.5, 87.5, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  307. Part0.Orientation = Vector3.new(-90, -90, 0)
  308. Part0.Position = Vector3.new(-8.5, 2.5, 87.5)
  309. Part0.Rotation = Vector3.new(-90, 0, -90)
  310. Part0.Color = Color3.new(150, 0, 0)
  311. Part0.Size = Vector3.new(1, 1, 1)
  312. Part0.Anchored = true
  313. Part0.BottomSurface = Enum.SurfaceType.Smooth
  314. Part0.BrickColor = BrickColor.new("Really red")
  315. Part0.Locked = true
  316. Part0.Reflectance = 0.10000000149012
  317. Part0.TopSurface = Enum.SurfaceType.Smooth
  318. Part0.brickColor = BrickColor.new("Really red")
  319. Part0.FormFactor = Enum.FormFactor.Symmetric
  320. Part0.formFactor = Enum.FormFactor.Symmetric
  321. Part0.Shape = Enum.PartType.Ball
  322. SpecialMesh1.Parent = Part0
  323. SpecialMesh1.MeshId = "http://www.roblox.com/asset/?id=1185246"
  324. SpecialMesh1.Scale = Vector3.new(-4700, -4700, -4700)
  325. SpecialMesh1.VertexColor = Vector3.new(0.600000024, -1, 1)
  326. SpecialMesh1.TextureId = "http://www.roblox.com/asset/?id=123629402"
  327. SpecialMesh1.MeshType = Enum.MeshType.FileMesh
  328. Script2.Name = "Spin"
  329. Script2.Parent = Part0
  330. table.insert(cors,sandbox(Script2,function()
  331. spinning = script.Parent
  332.  
  333. while true do
  334. spinning.CFrame = spinning.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.05)
  335. wait(0.00)
  336. end
  337.  
  338. end))
  339. for i,v in pairs(mas:GetChildren()) do
  340. v.Parent = workspace
  341. pcall(function() v:MakeJoints() end)
  342. end
  343. mas:Destroy()
  344. for i,v in pairs(cors) do
  345. spawn(function()
  346. pcall(v)
  347. end)
  348. end
  349.  
  350. local A = IT("Attachment",Torso)
  351. A.Position = VT(1,1.3,0)
  352. A.Orientation = VT(-0.098, -89.999, 0.227)
  353. local B = IT("Attachment",Torso)
  354. B.Position = VT(-1.3,-0.6,0)
  355. B.Orientation = VT(-88.911, -68.808, 158.782)
  356. local ChainLink = IT("Beam",Torso)
  357. ChainLink.Texture = "rbxassetid://73042633"
  358. ChainLink.Color = ColorSequence.new(C3(0,0,200))
  359. ChainLink.TextureSpeed = 1
  360. ChainLink.FaceCamera = true
  361. ChainLink.Width0 = 1
  362. ChainLink.Width1 = 1
  363. ChainLink.TextureLength = 3
  364. ChainLink.Attachment0 = A
  365. ChainLink.Attachment1 = B
  366. ChainLink.CurveSize0 = 1.6
  367. ChainLink.CurveSize1 = 1.6
  368. ChainLink.FaceCamera = true
  369. ChainLink.Transparency = NumberSequence.new(0)
  370. local ChainLink = IT("Beam",Torso)
  371. ChainLink.Texture = "rbxassetid://73042633"
  372. ChainLink.Color = ColorSequence.new(C3(200,0,0))
  373. ChainLink.TextureSpeed = 1
  374. ChainLink.FaceCamera = true
  375. ChainLink.Width0 = 1
  376. ChainLink.Width1 = 1
  377. ChainLink.TextureLength = 3
  378. ChainLink.Attachment0 = B
  379. ChainLink.Attachment1 = A
  380. ChainLink.CurveSize0 = 1.6
  381. ChainLink.CurveSize1 = 1.6
  382. ChainLink.FaceCamera = true
  383. ChainLink.Transparency = NumberSequence.new(0)
  384.  
  385.  
  386. function swait(NUMBER)
  387. if NUMBER == 0 or NUMBER == nil then
  388. ArtificialHB.Event:wait()
  389. else
  390. for i = 1, NUMBER do
  391. ArtificialHB.Event:wait()
  392. end
  393. end
  394. end
  395.  
  396. --//=================================\\
  397. --|| USEFUL VALUES
  398. --\\=================================//
  399.  
  400. Animation_Speed = 2
  401. local FORCERESET = false
  402. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  403. local Speed = 16
  404. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  405. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  406. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  407. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  408. local DAMAGEMULTIPLIER = 1
  409. local ANIM = "Idle"
  410. local ATTACK = false
  411. local EQUIPPED = false
  412. local HOLD = false
  413. local COMBO = 1
  414. local Rooted = false
  415. local SINE = 0
  416. local KEYHOLD = false
  417. local CHANGE = 2 / Animation_Speed
  418. local WALKINGANIM = false
  419. local VALUE1 = false
  420. local VALUE2 = false
  421. local ROBLOXIDLEANIMATION = IT("Animation")
  422. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  423. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  424. --ROBLOXIDLEANIMATION.Parent = Humanoid
  425. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  426. WEAPONGUI.Name = "BanishV3Gui"
  427. local Weapon = IT("Model")
  428. Weapon.Name = "Adds"
  429. local Effects = IT("Folder", Weapon)
  430. Effects.Name = "Effects"
  431. local ANIMATOR = Humanoid.Animator
  432. local ANIMATE = Character:FindFirstChild("Animate")
  433. local UNANCHOR = true
  434. local TOBANISH = {}
  435. script.Parent = PlayerGui
  436.  
  437. --//=================================\\
  438. --\\=================================//
  439.  
  440.  
  441. --//=================================\\
  442. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  443. --\\=================================//
  444.  
  445. ArtificialHB = Instance.new("BindableEvent", script)
  446. ArtificialHB.Name = "ArtificialHB"
  447.  
  448. script:WaitForChild("ArtificialHB")
  449.  
  450. frame = Frame_Speed
  451. tf = 0
  452. allowframeloss = false
  453. tossremainder = false
  454. lastframe = tick()
  455. script.ArtificialHB:Fire()
  456.  
  457. game:GetService("RunService").Heartbeat:connect(function(s, p)
  458. tf = tf + s
  459. if tf >= frame then
  460. if allowframeloss then
  461. script.ArtificialHB:Fire()
  462. lastframe = tick()
  463. else
  464. for i = 1, math.floor(tf / frame) do
  465. script.ArtificialHB:Fire()
  466. end
  467. lastframe = tick()
  468. end
  469. if tossremainder then
  470. tf = 0
  471. else
  472. tf = tf - frame * math.floor(tf / frame)
  473. end
  474. end
  475. end)
  476.  
  477. --//=================================\\
  478. --\\=================================//
  479.  
  480. --//=================================\\
  481. --|| SOME FUNCTIONS
  482. --\\=================================//
  483.  
  484. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  485. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  486. end
  487.  
  488. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  489. local Direction = CFrame.new(StartPos, Vec).lookVector
  490. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  491. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  492. if RayHit and CheckIntangible(RayHit) then
  493. if DelayIfHit then
  494. wait()
  495. end
  496. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  497. end
  498. return RayHit, RayPos, RayNormal
  499. end
  500.  
  501. function PositiveAngle(NUMBER)
  502. if NUMBER >= 0 then
  503. NUMBER = 0
  504. end
  505. return NUMBER
  506. end
  507.  
  508. function NegativeAngle(NUMBER)
  509. if NUMBER <= 0 then
  510. NUMBER = 0
  511. end
  512. return NUMBER
  513. end
  514.  
  515. function Swait(NUMBER)
  516. if NUMBER == 0 or NUMBER == nil then
  517. ArtificialHB.Event:wait()
  518. else
  519. for i = 1, NUMBER do
  520. ArtificialHB.Event:wait()
  521. end
  522. end
  523. end
  524.  
  525. function CFrameFromTopBack(at, top, back)
  526. local right = top:Cross(back)
  527. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  528. end
  529.  
  530. function R_RANDOM(CFRAME,DIST)
  531. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  532. end
  533.  
  534. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  535. function WACKYEFFECT(Table)
  536. local TYPE = (Table.EffectType or "Sphere")
  537. local SIZE = (Table.Size or VT(1,1,1))
  538. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  539. local TRANSPARENCY = (Table.Transparency or 0)
  540. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  541. local CFRAME = (Table.CFrame or Torso.CFrame)
  542. local MOVEDIRECTION = (Table.MoveToPos or nil)
  543. local ROTATION1 = (Table.RotationX or 0)
  544. local ROTATION2 = (Table.RotationY or 0)
  545. local ROTATION3 = (Table.RotationZ or 0)
  546. local MATERIAL = (Table.Material or "Neon")
  547. local COLOR = (Table.Color or C3(1,1,1))
  548. local TIME = (Table.Time or 45)
  549. local SOUNDID = (Table.SoundID or nil)
  550. local SOUNDPITCH = (Table.SoundPitch or nil)
  551. local SOUNDVOLUME = (Table.SoundVolume or nil)
  552. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  553. local BOOMERANG = (Table.Boomerang or 0)
  554. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  555. coroutine.resume(coroutine.create(function()
  556. local PLAYSSOUND = false
  557. local SOUND = nil
  558. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  559. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  560. PLAYSSOUND = true
  561. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  562. end
  563. EFFECT.Color = COLOR
  564. local MSH = nil
  565. if TYPE == "Sphere" then
  566. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  567. elseif TYPE == "Block" or TYPE == "Box" then
  568. MSH = IT("BlockMesh",EFFECT)
  569. MSH.Scale = SIZE
  570. elseif TYPE == "Wave" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  572. elseif TYPE == "Ring" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  574. elseif TYPE == "Slash" then
  575. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  576. elseif TYPE == "Round Slash" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  578. elseif TYPE == "Swirl" then
  579. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  580. elseif TYPE == "Skull" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  582. elseif TYPE == "Crystal" then
  583. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  584. end
  585. if MSH ~= nil then
  586. local BOOMR1 = 1+BOOMERANG/50
  587. local BOOMR2 = 1+SIZEBOOMERANG/50
  588. local MOVESPEED = nil
  589. if MOVEDIRECTION ~= nil then
  590. if USEBOOMERANGMATH == true then
  591. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  592. else
  593. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  594. end
  595. end
  596. local GROWTH = nil
  597. if USEBOOMERANGMATH == true then
  598. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  599. else
  600. GROWTH = (SIZE - ENDSIZE)
  601. end
  602. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  603. if TYPE == "Block" then
  604. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  605. else
  606. EFFECT.CFrame = CFRAME
  607. end
  608. if USEBOOMERANGMATH == true then
  609. for LOOP = 1, TIME+1 do
  610. Swait()
  611. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  612. if TYPE == "Wave" then
  613. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  614. end
  615. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  616. if TYPE == "Block" then
  617. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  618. else
  619. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  620. end
  621. if MOVEDIRECTION ~= nil then
  622. local ORI = EFFECT.Orientation
  623. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  624. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  625. end
  626. end
  627. else
  628. for LOOP = 1, TIME+1 do
  629. Swait()
  630. MSH.Scale = MSH.Scale - GROWTH/TIME
  631. if TYPE == "Wave" then
  632. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  633. end
  634. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  635. if TYPE == "Block" then
  636. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  637. else
  638. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  639. end
  640. if MOVEDIRECTION ~= nil then
  641. local ORI = EFFECT.Orientation
  642. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  643. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  644. end
  645. end
  646. end
  647. EFFECT.Transparency = 1
  648. if PLAYSSOUND == false then
  649. EFFECT:remove()
  650. else
  651. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  652. EFFECT:remove()
  653. end
  654. else
  655. if PLAYSSOUND == false then
  656. EFFECT:remove()
  657. else
  658. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  659. EFFECT:remove()
  660. end
  661. end
  662. end))
  663. end
  664.  
  665.  
  666. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  667. local NEWMESH = IT(MESH)
  668. if MESH == "SpecialMesh" then
  669. NEWMESH.MeshType = MESHTYPE
  670. if MESHID ~= "nil" and MESHID ~= "" then
  671. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  672. end
  673. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  674. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  675. end
  676. end
  677. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  678. NEWMESH.Scale = SCALE
  679. NEWMESH.Parent = PARENT
  680. return NEWMESH
  681. end
  682.  
  683. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  684. local NEWPART = IT("Part")
  685. NEWPART.formFactor = FORMFACTOR
  686. NEWPART.Reflectance = REFLECTANCE
  687. NEWPART.Transparency = TRANSPARENCY
  688. NEWPART.CanCollide = false
  689. NEWPART.Locked = true
  690. NEWPART.Anchored = true
  691. if ANCHOR == false then
  692. NEWPART.Anchored = false
  693. end
  694. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  695. NEWPART.Name = NAME
  696. NEWPART.Size = SIZE
  697. NEWPART.Position = Torso.Position
  698. NEWPART.Material = MATERIAL
  699. NEWPART:BreakJoints()
  700. NEWPART.Parent = PARENT
  701. return NEWPART
  702. end
  703.  
  704. local function weldBetween(a, b)
  705. local weldd = Instance.new("ManualWeld")
  706. weldd.Part0 = a
  707. weldd.Part1 = b
  708. weldd.C0 = CFrame.new()
  709. weldd.C1 = b.CFrame:inverse() * a.CFrame
  710. weldd.Parent = a
  711. return weldd
  712. end
  713.  
  714.  
  715. function QuaternionFromCFrame(cf)
  716. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  717. local trace = m00 + m11 + m22
  718. if trace > 0 then
  719. local s = math.sqrt(1 + trace)
  720. local recip = 0.5 / s
  721. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  722. else
  723. local i = 0
  724. if m11 > m00 then
  725. i = 1
  726. end
  727. if m22 > (i == 0 and m00 or m11) then
  728. i = 2
  729. end
  730. if i == 0 then
  731. local s = math.sqrt(m00 - m11 - m22 + 1)
  732. local recip = 0.5 / s
  733. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  734. elseif i == 1 then
  735. local s = math.sqrt(m11 - m22 - m00 + 1)
  736. local recip = 0.5 / s
  737. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  738. elseif i == 2 then
  739. local s = math.sqrt(m22 - m00 - m11 + 1)
  740. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  741. end
  742. end
  743. end
  744.  
  745. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  746. local xs, ys, zs = x + x, y + y, z + z
  747. local wx, wy, wz = w * xs, w * ys, w * zs
  748. local xx = x * xs
  749. local xy = x * ys
  750. local xz = x * zs
  751. local yy = y * ys
  752. local yz = y * zs
  753. local zz = z * zs
  754. 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))
  755. end
  756.  
  757. function QuaternionSlerp(a, b, t)
  758. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  759. local startInterp, finishInterp;
  760. if cosTheta >= 0.0001 then
  761. if (1 - cosTheta) > 0.0001 then
  762. local theta = ACOS(cosTheta)
  763. local invSinTheta = 1 / SIN(theta)
  764. startInterp = SIN((1 - t) * theta) * invSinTheta
  765. finishInterp = SIN(t * theta) * invSinTheta
  766. else
  767. startInterp = 1 - t
  768. finishInterp = t
  769. end
  770. else
  771. if (1 + cosTheta) > 0.0001 then
  772. local theta = ACOS(-cosTheta)
  773. local invSinTheta = 1 / SIN(theta)
  774. startInterp = SIN((t - 1) * theta) * invSinTheta
  775. finishInterp = SIN(t * theta) * invSinTheta
  776. else
  777. startInterp = t - 1
  778. finishInterp = t
  779. end
  780. end
  781. 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
  782. end
  783.  
  784. function Clerp(a, b, t)
  785. local qa = {QuaternionFromCFrame(a)}
  786. local qb = {QuaternionFromCFrame(b)}
  787. local ax, ay, az = a.x, a.y, a.z
  788. local bx, by, bz = b.x, b.y, b.z
  789. local _t = 1 - t
  790. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  791. end
  792.  
  793. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  794. local frame = IT("Frame")
  795. frame.BackgroundTransparency = TRANSPARENCY
  796. frame.BorderSizePixel = BORDERSIZEPIXEL
  797. frame.Position = POSITION
  798. frame.Size = SIZE
  799. frame.BackgroundColor3 = COLOR
  800. frame.BorderColor3 = BORDERCOLOR
  801. frame.Name = NAME
  802. frame.Parent = PARENT
  803. return frame
  804. end
  805.  
  806. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  807. local label = IT("TextLabel")
  808. label.BackgroundTransparency = 1
  809. label.Size = UD2(1, 0, 1, 0)
  810. label.Position = UD2(0, 0, 0, 0)
  811. label.TextColor3 = TEXTCOLOR
  812. label.TextStrokeTransparency = STROKETRANSPARENCY
  813. label.TextTransparency = TRANSPARENCY
  814. label.FontSize = TEXTFONTSIZE
  815. label.Font = TEXTFONT
  816. label.BorderSizePixel = BORDERSIZEPIXEL
  817. label.TextScaled = false
  818. label.Text = TEXT
  819. label.Name = NAME
  820. label.Parent = PARENT
  821. return label
  822. end
  823.  
  824. function NoOutlines(PART)
  825. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  826. end
  827.  
  828. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  829. local NEWWELD = IT(TYPE)
  830. NEWWELD.Part0 = PART0
  831. NEWWELD.Part1 = PART1
  832. NEWWELD.C0 = C0
  833. NEWWELD.C1 = C1
  834. NEWWELD.Parent = PARENT
  835. return NEWWELD
  836. end
  837.  
  838. local S = IT("Sound")
  839. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  840. local NEWSOUND = nil
  841. coroutine.resume(coroutine.create(function()
  842. NEWSOUND = S:Clone()
  843. NEWSOUND.Parent = PARENT
  844. NEWSOUND.Volume = VOLUME
  845. NEWSOUND.Pitch = PITCH
  846. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  847. NEWSOUND:play()
  848. if DOESLOOP == true then
  849. NEWSOUND.Looped = true
  850. else
  851. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  852. NEWSOUND:remove()
  853. end
  854. end))
  855. return NEWSOUND
  856. end
  857.  
  858. function CFrameFromTopBack(at, top, back)
  859. local right = top:Cross(back)
  860. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  861. end
  862.  
  863. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  864. function WACKYEFFECT(Table)
  865. local TYPE = (Table.EffectType or "Sphere")
  866. local SIZE = (Table.Size or VT(1,1,1))
  867. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  868. local TRANSPARENCY = (Table.Transparency or 0)
  869. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  870. local CFRAME = (Table.CFrame or Torso.CFrame)
  871. local MOVEDIRECTION = (Table.MoveToPos or nil)
  872. local ROTATION1 = (Table.RotationX or 0)
  873. local ROTATION2 = (Table.RotationY or 0)
  874. local ROTATION3 = (Table.RotationZ or 0)
  875. local MATERIAL = (Table.Material or "Neon")
  876. local COLOR = (Table.Color or C3(1,1,1))
  877. local TIME = (Table.Time or 45)
  878. local SOUNDID = (Table.SoundID or nil)
  879. local SOUNDPITCH = (Table.SoundPitch or nil)
  880. local SOUNDVOLUME = (Table.SoundVolume or nil)
  881. coroutine.resume(coroutine.create(function()
  882. local PLAYSSOUND = false
  883. local SOUND = nil
  884. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  885. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  886. PLAYSSOUND = true
  887. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  888. end
  889. EFFECT.Color = COLOR
  890. local MSH = nil
  891. if TYPE == "Sphere" then
  892. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  893. elseif TYPE == "Block" then
  894. MSH = IT("BlockMesh",EFFECT)
  895. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  896. elseif TYPE == "Wave" then
  897. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  898. elseif TYPE == "Ring" then
  899. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  900. elseif TYPE == "Slash" then
  901. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  902. elseif TYPE == "Round Slash" then
  903. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  904. elseif TYPE == "Swirl" then
  905. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  906. elseif TYPE == "Skull" then
  907. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  908. elseif TYPE == "Crystal" then
  909. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  910. end
  911. if MSH ~= nil then
  912. local MOVESPEED = nil
  913. if MOVEDIRECTION ~= nil then
  914. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  915. end
  916. local GROWTH = SIZE - ENDSIZE
  917. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  918. if TYPE == "Block" then
  919. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  920. else
  921. EFFECT.CFrame = CFRAME
  922. end
  923. for LOOP = 1, TIME+1 do
  924. Swait()
  925. MSH.Scale = MSH.Scale - GROWTH/TIME
  926. if TYPE == "Wave" then
  927. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  928. end
  929. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  930. if TYPE == "Block" then
  931. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  932. else
  933. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  934. end
  935. if MOVEDIRECTION ~= nil then
  936. local ORI = EFFECT.Orientation
  937. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  938. EFFECT.Orientation = ORI
  939. end
  940. end
  941. if PLAYSSOUND == false then
  942. EFFECT:remove()
  943. else
  944. SOUND.Stopped:Connect(function()
  945. EFFECT:remove()
  946. end)
  947. end
  948. else
  949. if PLAYSSOUND == false then
  950. EFFECT:remove()
  951. else
  952. repeat Swait() until SOUND.Playing == false
  953. EFFECT:remove()
  954. end
  955. end
  956. end))
  957. end
  958.  
  959. function MakeForm(PART,TYPE)
  960. if TYPE == "Cyl" then
  961. local MSH = IT("CylinderMesh",PART)
  962. elseif TYPE == "Ball" then
  963. local MSH = IT("SpecialMesh",PART)
  964. MSH.MeshType = "Sphere"
  965. elseif TYPE == "Wedge" then
  966. local MSH = IT("SpecialMesh",PART)
  967. MSH.MeshType = "Wedge"
  968. end
  969. end
  970.  
  971. function SpawnTrail(FROM,TO,BIG)
  972. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  973. MakeForm(TRAIL,"Cyl")
  974. local DIST = (FROM - TO).Magnitude
  975. if BIG == true then
  976. TRAIL.Size = VT(0.5,DIST,0.5)
  977. else
  978. TRAIL.Size = VT(0.25,DIST,0.25)
  979. end
  980. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  981. coroutine.resume(coroutine.create(function()
  982. for i = 1, 5 do
  983. Swait()
  984. TRAIL.Transparency = TRAIL.Transparency + 0.1
  985. end
  986. TRAIL:remove()
  987. end))
  988. end
  989.  
  990. Debris = game:GetService("Debris")
  991.  
  992. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  993. local DIRECTION = CF(StartPos,EndPos).lookVector
  994. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  995. end
  996.  
  997. function turnto(position)
  998. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  999. end
  1000.  
  1001. --//=================================\\
  1002. --|| WEAPON CREATION
  1003. --\\=================================//
  1004.  
  1005. local Particle = IT("ParticleEmitter",nil)
  1006. Particle.Enabled = false
  1007. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1008. Particle.LightEmission = 2
  1009. Particle.Rate = 250
  1010. Particle.ZOffset = 0.2
  1011. Particle.Rotation = NumberRange.new(-180, 180)
  1012. Particle.RotSpeed = NumberRange.new(-180, 180)
  1013. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1014. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,150))
  1015.  
  1016. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 100, Size2 = 200, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1017. function ParticleEmitter(Table)
  1018. local PRTCL = Particle:Clone()
  1019. local Speed = Table.Speed or 5
  1020. local Drag = Table.Drag or 0
  1021. local Size1 = Table.Size1 or 1
  1022. local Size2 = Table.Size2 or 5
  1023. local Lifetime1 = Table.Lifetime1 or 1
  1024. local Lifetime2 = Table.Lifetime2 or 1.5
  1025. local Parent = Table.Parent or Torso
  1026. local Emit = Table.Emit or 100
  1027. local Offset = Table.Offset or 360
  1028. local Acel = Table.Acel or VT(0,0,0)
  1029. local Enabled = Table.Enabled or false
  1030. PRTCL.Parent = Parent
  1031. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1032. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1033. PRTCL.Speed = NumberRange.new(Speed)
  1034. PRTCL.VelocitySpread = Offset
  1035. PRTCL.Drag = Drag
  1036. PRTCL.Acceleration = Acel
  1037. if Enabled == false then
  1038. PRTCL:Emit(Emit)
  1039. Debris:AddItem(PRTCL,Lifetime2)
  1040. else
  1041. PRTCL.Enabled = true
  1042. end
  1043. return PRTCL
  1044. end
  1045.  
  1046. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  1047. particleemitter.VelocitySpread = 250
  1048. particleemitter.Lifetime = NumberRange.new(1)
  1049. particleemitter.Speed = NumberRange.new(0)
  1050. cringememe= {}
  1051. for i=0, 19 do
  1052. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1053. end
  1054. particleemitter.Size = NumberSequence.new(cringememe)
  1055. particleemitter.Rate = 20
  1056. particleemitter.LockedToPart = true
  1057. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1058. particleemitter.LightEmission = 1
  1059. particleemitter.Texture = "rbxassetid://38727848"
  1060. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1061.  
  1062. local particleemitter = Instance.new('ParticleEmitter', Torso)
  1063. particleemitter.VelocitySpread = 250
  1064. particleemitter.Lifetime = NumberRange.new(3)
  1065. particleemitter.Speed = NumberRange.new(1.5)
  1066. youAreATHOT = {}
  1067. for i=0, 19 do
  1068. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1069. end
  1070. particleemitter.Size = NumberSequence.new(youAreATHOT)
  1071. particleemitter.Rate = 10
  1072. particleemitter.LockedToPart = false
  1073. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1074. particleemitter.LightEmission = 1
  1075. particleemitter.Texture = "rbxassetid://253188763"
  1076. particleemitter.Color = ColorSequence.new(BrickColor.new("Really blue").Color)
  1077.  
  1078. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  1079. particleemitter.VelocitySpread = 350
  1080. particleemitter.Lifetime = NumberRange.new(1)
  1081. particleemitter.Speed = NumberRange.new(0)
  1082. cringememe2= {}
  1083. for i=0, 19 do
  1084. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1085. end
  1086. particleemitter.Size = NumberSequence.new(cringememe2)
  1087. particleemitter.Rate = 20
  1088. particleemitter.LockedToPart = true
  1089. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1090. particleemitter.LightEmission = 1
  1091. particleemitter.Texture = "rbxassetid://38727848"
  1092. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1093.  
  1094. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  1095. particleemitter.VelocitySpread = 350
  1096. particleemitter.Lifetime = NumberRange.new(1)
  1097. particleemitter.Speed = NumberRange.new(0)
  1098. cringememe3= {}
  1099. for i=0, 19 do
  1100. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1101. end
  1102. particleemitter.Size = NumberSequence.new(cringememe3)
  1103. particleemitter.Rate = 30
  1104. particleemitter.LockedToPart = true
  1105. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1106. particleemitter.LightEmission = 1
  1107. particleemitter.Texture = "rbxassetid://38727848"
  1108. particleemitter.Color = ColorSequence.new(BrickColor.new("Really blue").Color)
  1109.  
  1110. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  1111. particleemitter.VelocitySpread = 350
  1112. particleemitter.Lifetime = NumberRange.new(1)
  1113. particleemitter.Speed = NumberRange.new(0)
  1114. cringememe4= {}
  1115. for i=0, 19 do
  1116. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1117. end
  1118. particleemitter.Size = NumberSequence.new(cringememe4)
  1119. particleemitter.Rate = 30
  1120. particleemitter.LockedToPart = true
  1121. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1122. particleemitter.LightEmission = 1
  1123. particleemitter.Texture = "rbxassetid://38727848"
  1124. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1125.  
  1126. Humanoid.DisplayDistanceType = "None"
  1127. local naeeym2 = IT("BillboardGui",Character)
  1128. naeeym2.AlwaysOnTop = true
  1129. naeeym2.Size = UDim2.new(5,35,2,15)
  1130. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1131. naeeym2.MaxDistance = 75
  1132. naeeym2.Adornee = Character.Head
  1133. naeeym2.Name = "Name"
  1134. local tecks2 = IT("TextLabel",naeeym2)
  1135. tecks2.BackgroundTransparency = 1
  1136. tecks2.TextScaled = true
  1137. tecks2.BorderSizePixel = 0
  1138. tecks2.Text = "Chara's Hell"
  1139. tecks2.Font = "Fantasy"
  1140. tecks2.TextSize = 30
  1141. tecks2.TextStrokeTransparency = 0
  1142. tecks2.TextColor3 = C3(200,0,0.1)
  1143. tecks2.TextStrokeColor3 = C3(0.1/255, 0/255, 200/255)
  1144. tecks2.Size = UDim2.new(1,0,0.5,0)
  1145. tecks2.Parent = naeeym2
  1146.  
  1147.  
  1148. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false)
  1149. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
  1151. MakeForm(Part,"Wedge")
  1152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false)
  1154. MakeForm(Part,"Wedge")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false)
  1157. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
  1159. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
  1161. MakeForm(Part,"Cyl")
  1162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1163. for i = 1, 8 do
  1164. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
  1165. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1166. end
  1167. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false)
  1168. MakeForm(Part,"Cyl")
  1169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1170. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false)
  1171. MakeForm(Part,"Ball")
  1172. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1173. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false)
  1174. MakeForm(Part,"Wedge")
  1175. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1176. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false)
  1177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1178. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false)
  1179. MakeForm(Part,"Cyl")
  1180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false)
  1182. MakeForm(Part,"Cyl")
  1183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1184. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false)
  1185. MakeForm(Part,"Cyl")
  1186. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1187. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
  1188. MakeForm(Part,"Wedge")
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1190. local LASTPART = Handle
  1191. for i = 1, 10 do
  1192. if LASTPART == Handle then
  1193. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false)
  1194. LASTPART = Part
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. else
  1197. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false)
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1199. LASTPART = Part
  1200. end
  1201. end
  1202.  
  1203. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
  1204. MakeForm(Barrel,"Cyl")
  1205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
  1207. MakeForm(Part,"Cyl")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
  1210. MakeForm(Part,"Wedge")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1212. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
  1213. MakeForm(Hole,"Cyl")
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
  1216. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1217. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1218. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
  1219. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1220. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1221. coroutine.resume(coroutine.create(function()
  1222. while wait() do
  1223. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1224. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1225. end
  1226. end))
  1227.  
  1228. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1229. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1230.  
  1231. for _, c in pairs(Weapon:GetDescendants()) do
  1232. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1233. c.Material = "Glass"
  1234. c.Color = C3(0,0,150)
  1235. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1236. c.Color = C3(150,0,0)
  1237. c.Material = "Neon"
  1238. end
  1239. end
  1240.  
  1241. Weapon.Parent = Character
  1242. for _, c in pairs(Weapon:GetChildren()) do
  1243. if c.ClassName == "Part" then
  1244. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1245. end
  1246. end
  1247.  
  1248. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
  1249. MakeForm(Barrel,"Cyl")
  1250. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1251. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
  1252. MakeForm(Part,"Cyl")
  1253. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
  1255. MakeForm(Part,"Wedge")
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
  1258. MakeForm(Hole,"Cyl")
  1259. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1260. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
  1261. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1262. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1263. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
  1264. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1265. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1266. coroutine.resume(coroutine.create(function()
  1267. while wait() do
  1268. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1269. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1270. end
  1271. end))
  1272.  
  1273. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1274. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1275.  
  1276. for _, c in pairs(Weapon:GetDescendants()) do
  1277. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1278. c.Material = "Glass"
  1279. c.Color = C3(0,0,200)
  1280. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1281. c.Color = C3(200,0,0)
  1282. c.Material = "Neon"
  1283. end
  1284. end
  1285. Weapon.Parent = Character
  1286. for _, c in pairs(Weapon:GetChildren()) do
  1287. if c.ClassName == "Part" then
  1288. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1289. end
  1290. end
  1291.  
  1292.  
  1293. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,1.2,0.2),false)
  1294. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1295. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
  1296. MakeForm(Part,"Wedge")
  1297. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1298. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.6),false)
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1300. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
  1301. MakeForm(Part,"Cyl")
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1303. for i = 1, 8 do
  1304. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0,0.35,0.41),false)
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1306. end
  1307. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
  1308. MakeForm(Part,"Wedge")
  1309. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1310. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
  1311. MakeForm(Part,"Cyl")
  1312. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1313. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
  1314. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1315. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.4,0.5),false)
  1316. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1317. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
  1318. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1319. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.28,5,0.28),false)
  1320. MakeForm(LeftBarrel,"Cyl")
  1321. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1322. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
  1323. MakeForm(Part,"Wedge")
  1324. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1325. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.2,0,0.2),false)
  1326. MakeForm(LeftHole,"Cyl")
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1328. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1329. MakeForm(Eye,"Ball")
  1330. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1331. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  1332. MakeForm(Eye,"Ball")
  1333. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1334. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1335. MakeForm(Eye,"Ball")
  1336. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1337. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1338. MakeForm(Eye,"Ball")
  1339. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1340.  
  1341. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.5, Size2 = 1, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1342. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1343.  
  1344. for _, c in pairs(Weapon:GetDescendants()) do
  1345. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1346. c.Material = "Glass"
  1347. c.Color = C3(150,0,0)
  1348. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1349. c.Color = C3(0,0,150)
  1350. c.Material = "Neon"
  1351. end
  1352. end
  1353.  
  1354. Weapon.Parent = Character
  1355. for _, c in pairs(Weapon:GetChildren()) do
  1356. if c.ClassName == "Part" then
  1357. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1358. end
  1359. end
  1360.  
  1361. local SKILLTEXTCOLOR = C3(200,0,0.1)
  1362. local SKILLFONT = "Antique"
  1363. local SKILLTEXTSIZE = 7
  1364.  
  1365. Humanoid.Died:connect(function()
  1366. ATTACK = true
  1367. end)
  1368.  
  1369. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1370. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1371. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1372. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1373. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1374. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1375. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1376. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1377. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1378.  
  1379. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Erase", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1380. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Strike", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1381. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] DESTRUCTION", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1382. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Chara's Bomb", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1383. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Void Bomb", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1384. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[N] ERASE Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1385. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[M] Wave Of Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  1386. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[F] Hell Spikes", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  1387. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[G] Teleportation", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
  1388.  
  1389.  
  1390.  
  1391.  
  1392. function printbye(Name)
  1393. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1394. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1395. end
  1396.  
  1397. workspace.ChildAdded:connect(function(instance)
  1398. for BANISH = 1, #TOBANISH do
  1399. if TOBANISH[BANISH] ~= nil then
  1400. if instance.Name == TOBANISH[BANISH] then
  1401. coroutine.resume(coroutine.create(function()
  1402. printbye(instance.Name)
  1403. instance:ClearAllChildren()
  1404. Debris:AddItem(instance,0.0005)
  1405. end))
  1406. end
  1407. end
  1408. end
  1409. end)
  1410.  
  1411. --//=================================\\
  1412. --|| DAMAGING
  1413. --\\=================================//
  1414.  
  1415.  
  1416. function Kill(Char)
  1417. local NewCharacter = IT("Model",Effects)
  1418. NewCharacter.Name = "Ow im ded ;-;"
  1419. for _, c in pairs(Char:GetDescendants()) do
  1420. if c:IsA("BasePart") and c.Transparency == 0 then
  1421. if c.Parent == Char then
  1422. getbloody(c,5)
  1423. end
  1424. c:BreakJoints()
  1425. c.Material = "Glass"
  1426. c.Color = C3(0.5,0,0)
  1427. c.CanCollide = true
  1428. c.Transparency = 0.3
  1429. if c:FindFirstChildOfClass("SpecialMesh") then
  1430. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1431. end
  1432. if c.Name == "Head" then
  1433. c:ClearAllChildren()
  1434. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1435. end
  1436. if c.ClassName == "MeshPart" then
  1437. c.TextureID = ""
  1438. end
  1439. if c:FindFirstChildOfClass("BodyPosition") then
  1440. c:FindFirstChildOfClass("BodyPosition"):remove()
  1441. end
  1442. if c:FindFirstChildOfClass("ParticleEmitter") then
  1443. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1444. end
  1445. c.Parent = NewCharacter
  1446. c.Name = "DeadPart"
  1447. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1448. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1449. end
  1450. end
  1451. Char:remove()
  1452. Debris:AddItem(NewCharacter,5)
  1453. end
  1454.  
  1455. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1456. local CHILDREN = workspace:GetDescendants()
  1457. for index, CHILD in pairs(CHILDREN) do
  1458. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1459. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1460. if HUM then
  1461. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1462. if TORSO then
  1463. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1464. if BRUTAL == true then
  1465. Kill(CHILD)
  1466. else
  1467. CHILD:BreakJoints()
  1468. end
  1469. end
  1470. end
  1471. end
  1472. end
  1473. end
  1474. end
  1475.  
  1476. function Banish(Foe)
  1477. if Foe then
  1478. coroutine.resume(coroutine.create(function()
  1479. --if game.Players:FindFirstChild(Foe.Name) then
  1480. table.insert(TOBANISH,Foe.Name)
  1481. printbye(Foe.Name)
  1482. --end
  1483. Foe.Archivable = true
  1484. local CLONE = Foe:Clone()
  1485. Foe:Destroy()
  1486. CLONE.Parent = Effects
  1487. CLONE:BreakJoints()
  1488. local MATERIALS = {"Glass","Neon"}
  1489. for _, c in pairs(CLONE:GetDescendants()) do
  1490. if c:IsA("BasePart") then
  1491. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1492. CreateSound(340722848, c, 10, 1, false)
  1493. end
  1494. c.Anchored = true
  1495. c.Transparency = c.Transparency + 0.2
  1496. c.Material = MATERIALS[MRANDOM(1,2)]
  1497. c.Color = C3(1,0,0)
  1498. if c.ClassName == "MeshPart" then
  1499. c.TextureID = ""
  1500. end
  1501. if c:FindFirstChildOfClass("SpecialMesh") then
  1502. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1503. end
  1504. if c:FindFirstChildOfClass("Decal") then
  1505. c:FindFirstChildOfClass("Decal"):remove()
  1506. end
  1507. c.Name = "Banished"
  1508. c.CanCollide = false
  1509. else
  1510. c:remove()
  1511. end
  1512. end
  1513. local A = false
  1514. for i = 1, 35 do
  1515. if A == false then
  1516. A = true
  1517. elseif A == true then
  1518. A = false
  1519. end
  1520. for _, c in pairs(CLONE:GetDescendants()) do
  1521. if c:IsA("BasePart") then
  1522. c.Anchored = true
  1523. c.Material = MATERIALS[MRANDOM(1,2)]
  1524. c.Transparency = c.Transparency + 0.8/35
  1525. if A == false then
  1526. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1527. elseif A == true then
  1528. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1529. end
  1530. end
  1531. end
  1532. Swait()
  1533. end
  1534. CLONE:remove()
  1535. end))
  1536. end
  1537. end
  1538.  
  1539. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1540. local CHILDREN = workspace:GetDescendants()
  1541. for index, CHILD in pairs(CHILDREN) do
  1542. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1543. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1544. if HUM then
  1545. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1546. if TORSO then
  1547. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1548. if ISBANISH == true then
  1549. Banish(CHILD)
  1550. else
  1551. if ISBANISH == "Gravity" then
  1552. HUM.PlatformStand = true
  1553. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1554. local grav = Instance.new("BodyPosition",TORSO)
  1555. grav.D = 15
  1556. grav.P = 20000
  1557. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1558. grav.position = TORSO.Position
  1559. grav.Name = "V3BanishForce"..Player.Name
  1560. else
  1561. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1562. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1563. end
  1564. else
  1565. HUM.PlatformStand = false
  1566. end
  1567. end
  1568. elseif ISBANISH == "Gravity" then
  1569. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1570. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1571. HUM.PlatformStand = false
  1572. end
  1573. end
  1574. end
  1575. end
  1576. end
  1577. end
  1578. end
  1579.  
  1580. function BulletDetection(FROM,TO,BRUTAL)
  1581. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1582. coroutine.resume(coroutine.create(function()
  1583. if AIMHIT ~= nil then
  1584. if AIMHIT.Parent ~= Character then
  1585. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1586. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1587. if BRUTAL == true then
  1588. Kill(AIMHIT.Parent)
  1589. else
  1590. getbloody(AIMHIT,15)
  1591. AIMHIT.Parent:BreakJoints()
  1592. if AIMHIT.Name == "Head" then
  1593. AIMHIT.Name = "HEADSHOT"
  1594. AIMHIT:remove()
  1595. end
  1596. end
  1597. else
  1598. if BRUTAL == true then
  1599. Kill(AIMHIT.Parent.Parent)
  1600. else
  1601. AIMHIT.Parent.Parent:BreakJoints()
  1602. end
  1603. end
  1604. end
  1605. end
  1606. end
  1607. end))
  1608. SpawnTrail(FROM,AIMPOS)
  1609. return AIMHIT,AIMPOS,NORMAL
  1610. end
  1611.  
  1612. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1613. if DoesCourontine == false then
  1614. local Direction = CF(Part.Position,ToLocation)
  1615. local Distance = (Part.Position - ToLocation).magnitude
  1616. for i = 1, AmountOfTime do
  1617. Swait()
  1618. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1619. Direction = Part.CFrame
  1620. end
  1621. Part:remove()
  1622. elseif DoesCourontine == true then
  1623. coroutine.resume(coroutine.create(function()
  1624. local Direction = CF(Part.Position,ToLocation)
  1625. local Distance = (Part.Position - ToLocation).magnitude
  1626. for i = 1, AmountOfTime do
  1627. Swait()
  1628. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1629. Direction = Part.CFrame
  1630. end
  1631. Part:remove()
  1632. end))
  1633. end
  1634. end
  1635.  
  1636. function turnto(position)
  1637. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1638. end
  1639.  
  1640. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1641. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1642. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1643. wave.CFrame = CFRAME
  1644. coroutine.resume(coroutine.create(function(PART)
  1645. for i = 1, WAIT do
  1646. Swait()
  1647. mesh.Scale = mesh.Scale + GROW
  1648. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1649. if DOESROT == true then
  1650. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1651. end
  1652. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1653. if wave.Transparency > 0.99 then
  1654. wave:remove()
  1655. end
  1656. end
  1657. end))
  1658. end
  1659.  
  1660. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1661. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1662. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1663. wave.CFrame = CFRAME
  1664. coroutine.resume(coroutine.create(function(PART)
  1665. for i = 1, WAIT do
  1666. Swait()
  1667. mesh.Scale = mesh.Scale + GROW
  1668. if DOESROT == true then
  1669. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1670. end
  1671. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1672. if wave.Transparency > 0.99 then
  1673. wave:remove()
  1674. end
  1675. end
  1676. end))
  1677. end
  1678.  
  1679. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1680. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1681. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1682. wave.CFrame = CFRAME
  1683. coroutine.resume(coroutine.create(function(PART)
  1684. for i = 1, WAIT do
  1685. Swait()
  1686. mesh.Scale = mesh.Scale + GROW
  1687. wave.Transparency = wave.Transparency + 1 / WAIT
  1688. if wave.Transparency > 0.99 then
  1689. wave:remove()
  1690. end
  1691. end
  1692. end))
  1693. end
  1694.  
  1695.  
  1696.  
  1697.  
  1698. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1699. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1700. wave.Color = COLOR
  1701. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1702. wave.CFrame = CFRAME
  1703. coroutine.resume(coroutine.create(function(PART)
  1704. for i = 1, WAIT do
  1705. Swait()
  1706. mesh.Scale = mesh.Scale + GROW
  1707. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1708. if DOESROT == true then
  1709. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1710. end
  1711. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1712. if wave.Transparency > 0.99 then
  1713. wave:remove()
  1714. end
  1715. end
  1716. end))
  1717. end
  1718.  
  1719.  
  1720. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1721. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1722. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1723. wave.CFrame = CFRAME
  1724. coroutine.resume(coroutine.create(function(PART)
  1725. for i = 1, WAIT do
  1726. Swait()
  1727. mesh.Scale = mesh.Scale + GROW
  1728. if DOESROT == true then
  1729. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1730. end
  1731. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1732. if wave.Transparency > 0.99 then
  1733. wave:remove()
  1734. end
  1735. end
  1736. end))
  1737. end
  1738.  
  1739. local ATTACKEDTAUNTS = {
  1740. "907332040",
  1741. "907332525",
  1742. "907330011"
  1743. }
  1744. local ATTACKTAUNTS = {
  1745. "907329893",
  1746. "907329532",
  1747. "907333294",
  1748. "907332856"
  1749. }
  1750. local ULTTAUNTS = {
  1751. "907332997",
  1752. "907332670",
  1753. "907330103"
  1754. }
  1755.  
  1756. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1757. for _, c in pairs(PARENT:GetChildren()) do
  1758. if c.ClassName == "Model" then
  1759. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1760. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1761. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1762. if DIST > (TORSO.Position - FROM).Magnitude then
  1763. table.insert(TABLE, c)
  1764. end
  1765. AddChildrenToTable(FROM, c, DIST, TABLE)
  1766. elseif c.ClassName == "Folder" then
  1767. AddChildrenToTable(FROM, c, DIST, TABLE)
  1768. end
  1769. end
  1770. end
  1771. end
  1772.  
  1773. local LEFTWINGS = {}
  1774. local RIGHTWINGS = {}
  1775. local BODY = {}
  1776.  
  1777. local Back = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Wing", VT(1,1,0.35),false)
  1778. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  1779.  
  1780. local ANGLE = 35
  1781. for i = 1, 5 do
  1782. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false)
  1783. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1784. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false)
  1785. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1786. ANGLE = ANGLE - 15
  1787. table.insert(LEFTWINGS,WingWeld)
  1788. end
  1789.  
  1790. ANGLE = 35
  1791. for i = 1, 5 do
  1792. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.15,2+(i/2),0.15),false)
  1793. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1794. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false)
  1795. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1796. ANGLE = ANGLE - 15
  1797. table.insert(RIGHTWINGS,WingWeld)
  1798. end
  1799.  
  1800. function MakeForm(PART,TYPE)
  1801. if TYPE == "Cyl" then
  1802. local MSH = IT("CylinderMesh",PART)
  1803. elseif TYPE == "Ball" then
  1804. local MSH = IT("SpecialMesh",PART)
  1805. MSH.MeshType = "Sphere"
  1806. elseif TYPE == "Wedge" then
  1807. local MSH = IT("SpecialMesh",PART)
  1808. MSH.MeshType = "Wedge"
  1809. end
  1810. end
  1811.  
  1812. Debris = game:GetService("Debris")
  1813.  
  1814. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1815. local DIRECTION = CF(StartPos,EndPos).lookVector
  1816. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1817. end
  1818.  
  1819. function turnto(position)
  1820. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1821. end
  1822.  
  1823. function SpawnTrail(FROM,TO,BIG)
  1824. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  1825. MakeForm(TRAIL,"Cyl")
  1826. local DIST = (FROM - TO).Magnitude
  1827. if BIG == true then
  1828. TRAIL.Size = VT(0.5,DIST,0.5)
  1829. else
  1830. TRAIL.Size = VT(0.25,DIST,0.25)
  1831. end
  1832. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1833. coroutine.resume(coroutine.create(function()
  1834. for i = 1, 5 do
  1835. Swait()
  1836. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1837. end
  1838. TRAIL:remove()
  1839. end))
  1840. end
  1841.  
  1842. --//=================================\\
  1843. --|| ATTACK FUNCTIONS AND STUFF
  1844. --\\=================================//
  1845.  
  1846. function Banisher_Bullet()
  1847. ATTACK = true
  1848. Rooted = false
  1849. for i=0, 0.05, 0.1 / Animation_Speed do
  1850. Swait()
  1851. turnto(Mouse.Hit.p)
  1852. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1853. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1854. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1855. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1856. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1857. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1858. end
  1859. repeat
  1860. for i=0, 0.05, 0.1 / Animation_Speed do
  1861. Swait()
  1862. turnto(Mouse.Hit.p)
  1863. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1866. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1867. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1868. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1869. end
  1870. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1871. SpawnTrail(Hole.Position,POS)
  1872. if HIT ~= nil then
  1873. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1874. Banish(HIT.Parent)
  1875. end
  1876. end
  1877. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1878. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1879. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1880. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1881. for i=0, 0.05, 0.1 / Animation_Speed do
  1882. Swait()
  1883. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1887. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1888. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1889. end
  1890. until KEYHOLD == false
  1891. ATTACK = false
  1892. Rooted = false
  1893. end
  1894. function AttackTemplate()
  1895. ATTACK = true
  1896. Rooted = false
  1897. for i=0, 1, 0.1 / Animation_Speed do
  1898. Swait()
  1899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1905. end
  1906. ATTACK = false
  1907. Rooted = false
  1908. end
  1909.  
  1910. function Morning_Star()
  1911. ATTACK = true
  1912. Rooted = true
  1913. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1914. for i=0, 1, 0.1 / Animation_Speed do
  1915. Swait()
  1916. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1920. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1921. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1922. end
  1923. coroutine.resume(coroutine.create(function()
  1924. local POS = Mouse.Hit.p
  1925. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,2000,0))
  1926. MakeForm(RAY,"Cyl")
  1927. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  1928. MakeForm(SPHERE,"Ball")
  1929. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
  1930. MakeForm(SHIELD,"Ball")
  1931. SHIELD.CFrame = CF(POS)
  1932. RAY.CFrame = CF(POS)
  1933. SPHERE.CFrame = CF(POS)
  1934. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1935. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1936. for i = 1, 200 do
  1937. Swait()
  1938. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1939. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1940. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1941. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1942. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1943. end
  1944. for i = 1, 45 do
  1945. Swait()
  1946. RAY.Transparency = RAY.Transparency + 1/45
  1947. SPHERE.Transparency = RAY.Transparency
  1948. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1949. end
  1950. RAY:remove()
  1951. SHIELD:remove()
  1952. SPHERE:remove()
  1953. end))
  1954. for i=0, 1, 0.1 / Animation_Speed do
  1955. Swait()
  1956. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1960. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1962. end
  1963. ATTACK = false
  1964. Rooted = false
  1965. end
  1966.  
  1967. function getbloody(victim,amount)
  1968. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really blue", "Blood", victim.Size)
  1969. PART.CFrame = victim.CFrame
  1970. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1971. Debris:AddItem(PART,5)
  1972. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1973. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1974. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1975. local prtcl = asd:Clone()
  1976. prtcl.Parent = PART
  1977. prtcl:Emit(amount*10)
  1978. end
  1979.  
  1980. function Technowarp()
  1981. local FRAME = RootPart.Position
  1982. for i = 1, 6 do
  1983. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  1984. end
  1985. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
  1986. for i = 1, 6 do
  1987. WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
  1988. end
  1989. end
  1990.  
  1991. function Orbital_Devastor()
  1992. local HITBODIES = {}
  1993. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
  1994. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  1995. CENTER.CFrame = CF(ECH)
  1996. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Laser01", VT(25, 99999, 25))
  1997. MakeForm(RAY, "Cyl")
  1998. local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Laser01", VT(28, 99999, 28))
  1999. MakeForm(RAY2, "Cyl")
  2000. RAY.CFrame = CF(ECH)
  2001. RAY2.CFrame = CF(ECH)
  2002. CreateSound("1368573150", CENTER, 10, 0.8)
  2003. for i = 1, 100 do
  2004. Swait()
  2005. RAY.Transparency = RAY.Transparency - 0.01
  2006. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  2007. RAY2.Transparency = RAY2.Transparency - 0.012
  2008. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  2009. end
  2010. for i = 1, 5 do
  2011. CreateRing(VT(i / 10, i / 10, 0), false, 0, 25, CF(ECH) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(MRANDOM(0, 10) / 10, 0, 0), VT(i / 5, i / 5, 0))
  2012. end
  2013. RAY:remove()
  2014. RAY2:remove()
  2015. CreateSound("1368637781", CENTER, 10, 0.8)
  2016. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Really blue", VT(8, 8, 8))
  2017. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Really red", VT(8, 8, 8))
  2018. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  2019. Debris:AddItem(CENTER, 5)
  2020. CreateSound("414517163", CENTER, 10, 0.8)
  2021. for i = 1, 5 do
  2022. Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really blue", VT(0.5, 0, 0.5))
  2023. end
  2024. for e = 1, #HITBODIES do
  2025. if HITBODIES[e] ~= nil then
  2026. local BOD = HITBODIES[e]
  2027. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2028. if TORS then
  2029. BOD:BreakJoints()
  2030. for _, c in pairs(BOD:GetChildren()) do
  2031. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2032. local bv = Instance.new("BodyVelocity")
  2033. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2034. bv.velocity = CF(ECH, c.Position).lookVector * 250
  2035. bv.Parent = c
  2036. Debris:AddItem(bv, 0.2)
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end
  2042. end
  2043.  
  2044.  
  2045.  
  2046. function Supernova()
  2047. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  2048. if HITFLOOR ~= nil then
  2049. local HITBODIES = {}
  2050. ATTACK = true
  2051. Rooted = true
  2052. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Star", VT(0,0,0))
  2053. MakeForm(ABSOLUTE,"Ball")
  2054. CreateSound("429459101", ABSOLUTE, 10, 1)
  2055. for i=0, 4, 0.1 / Animation_Speed do
  2056. Swait()
  2057. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  2058. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  2059. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  2060. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Star", VT(1,1,1))
  2061. MakeForm(CHARGE,"Ball")
  2062. CHARGE.Color = C3(0.2,0,200)
  2063. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  2064. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  2065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2069. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2071. end
  2072. CreateSound("907330103", Head, 10, 1.2)
  2073. for i = 1, 75 do
  2074. Swait()
  2075. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2079. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2080. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2081. end
  2082. coroutine.resume(coroutine.create(function()
  2083. for i = 1, 13 do
  2084. for e = 1, 8 do
  2085. Swait()
  2086. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  2087. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Really black".Color,VT(i,0.3,i)*2)
  2088. end
  2089. for i = 1, 5 do
  2090. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  2091. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
  2092. end
  2093. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Really red".Color,VT(i,i*2,i))
  2094. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  2095. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  2096. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  2097. killnearest(ABSOLUTE.Position,i*18,i)
  2098. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  2099. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Really red".Color,VT(i,i,i)/1.1)
  2100. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  2101. end
  2102. ABSOLUTE.Transparency = 1
  2103. Debris:AddItem(ABSOLUTE,10)
  2104. end))
  2105. ATTACK = false
  2106. Rooted = false
  2107. end
  2108. end
  2109.  
  2110.  
  2111. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  2112. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2113. local mesh = nil
  2114. if KIND == "Base" then
  2115. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2116. elseif KIND == "Thin" then
  2117. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2118. elseif KIND == "Round" then
  2119. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2120. end
  2121. wave.CFrame = CFRAME
  2122. coroutine.resume(coroutine.create(function(PART)
  2123. for i = 1, WAIT do
  2124. Swait()
  2125. mesh.Scale = mesh.Scale + GROW/10
  2126. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2127. if wave.Transparency > 0.99 then
  2128. wave:remove()
  2129. end
  2130. end
  2131. end))
  2132. end
  2133.  
  2134. function MakeForm(PART,TYPE)
  2135. if TYPE == "Cyl" then
  2136. local MSH = IT("CylinderMesh",PART)
  2137. elseif TYPE == "Ball" then
  2138. local MSH = IT("SpecialMesh",PART)
  2139. MSH.MeshType = "Sphere"
  2140. elseif TYPE == "Wedge" then
  2141. local MSH = IT("SpecialMesh",PART)
  2142. MSH.MeshType = "Wedge"
  2143. end
  2144. end
  2145.  
  2146. function Taunt()
  2147. ATTACK = true
  2148. Rooted = false
  2149. TAUNT = true
  2150. for i=0, 0.1, 0.1 / Animation_Speed do
  2151. Swait()
  2152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2155. end
  2156. for i=0, 3, 0.1 / Animation_Speed do
  2157. Swait()
  2158. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2159. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2160. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2161. end
  2162. CreateSound(363808674, Torso, 10, 1.3)
  2163. for i=0, 1, 0.1 / Animation_Speed do
  2164. Swait()
  2165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  2166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  2167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2168. end
  2169. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,150), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2170. CreateSound(649634100, Torso, 10, 0.8)
  2171. for i=0, 0.01, 0.1 / Animation_Speed do
  2172. Swait()
  2173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2176. end
  2177. ATTACK = false
  2178. Rooted = false
  2179. TAUNT = false
  2180. end
  2181.  
  2182. function Absoluteum()
  2183. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2184. if HITFLOOR ~= nil then
  2185. do
  2186. local HITBODIES = {}
  2187. ATTACK = true
  2188. Rooted = true
  2189. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  2190. MakeForm(ABSOLUTE, "Ball")
  2191. CreateSound("416200578", RootPart, 10, 1)
  2192. for i = 0, 8, 0.1 / Animation_Speed do
  2193. Swait()
  2194. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  2195. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  2196. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  2197. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "ABSOLUTEUM", VT(2, 2, 2))
  2198. MakeForm(CHARGE, "Ball")
  2199. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  2200. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  2201. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2205. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2206. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2207. end
  2208. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  2209. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  2210. for i = 1, 45 do
  2211. Swait()
  2212. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2213. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2214. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2215. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2216. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2217. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2218. end
  2219. coroutine.resume(coroutine.create(function()
  2220. local IMPACT = false
  2221. local BULLET = ABSOLUTE
  2222. MakeForm(BULLET, "Ball")
  2223. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  2224. for i = 1, 500 do
  2225. Swait()
  2226. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  2227. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  2228. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really blue", VT(-10, -10, -10) / 55)
  2229. if HIT ~= nil then
  2230. IMPACT = true
  2231. break
  2232. end
  2233. end
  2234. if IMPACT == false then
  2235. for i = 1, 40 do
  2236. Swait()
  2237. BULLET.Size = BULLET.Size * 0.9
  2238. end
  2239. BULLET:remove()
  2240. else
  2241. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  2242. for i = 1, 175 do
  2243. Swait()
  2244. BULLET.Size = BULLET.Size * 0.99
  2245. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really blue", VT(i, 0, i) / 85)
  2246. end
  2247. CreateSound("438666001", BULLET, 10, 3)
  2248. Swait(35)
  2249. BULLET.Transparency = 1
  2250. for i = 1, 20 do
  2251. for e = 1, 5 do
  2252. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  2253. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
  2254. end
  2255. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  2256. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  2257. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  2258. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  2259. Swait(5)
  2260. for e = 1, #HITBODIES do
  2261. if HITBODIES[e] ~= nil then
  2262. local BOD = HITBODIES[e]
  2263. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2264. if TORS then
  2265. BOD:BreakJoints()
  2266. for _, c in pairs(BOD:GetChildren()) do
  2267. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2268. local bv = Instance.new("BodyVelocity")
  2269. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2270. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  2271. bv.Parent = c
  2272. Debris:AddItem(bv, 0.2)
  2273. end
  2274. end
  2275. end
  2276. end
  2277. end
  2278. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really black", VT(i, 0, i) * 2)
  2279. end
  2280. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0, 0, 150), VT(12, 12, 12))
  2281. Debris:AddItem(BULLET, 10)
  2282. end
  2283. end))
  2284. ATTACK = false
  2285. Rooted = false
  2286. end
  2287. end
  2288. end
  2289. local Decal = IT("Decal")
  2290.  
  2291. CFuncs = {
  2292. Part = {
  2293. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2294. local Part = Create("Part")({
  2295. Parent = Parent,
  2296. Reflectance = Reflectance,
  2297. Transparency = Transparency,
  2298. CanCollide = false,
  2299. Locked = true,
  2300. BrickColor = BrickColor.new(tostring(BColor)),
  2301. Name = Name,
  2302. Size = Size,
  2303. Material = Material
  2304. })
  2305. RemoveOutlines(Part)
  2306. return Part
  2307. end
  2308. },
  2309. Mesh = {
  2310. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2311. local Msh = Create(Mesh)({
  2312. Parent = Part,
  2313. Offset = OffSet,
  2314. Scale = Scale
  2315. })
  2316. if Mesh == "SpecialMesh" then
  2317. Msh.MeshType = MeshType
  2318. Msh.MeshId = MeshId
  2319. end
  2320. return Msh
  2321. end
  2322. },
  2323. Mesh = {
  2324. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2325. local Msh = Create(Mesh)({
  2326. Parent = Part,
  2327. Offset = OffSet,
  2328. Scale = Scale
  2329. })
  2330. if Mesh == "SpecialMesh" then
  2331. Msh.MeshType = MeshType
  2332. Msh.MeshId = MeshId
  2333. end
  2334. return Msh
  2335. end
  2336. },
  2337. Weld = {
  2338. Create = function(Parent, Part0, Part1, C0, C1)
  2339. local Weld = Create("Weld")({
  2340. Parent = Parent,
  2341. Part0 = Part0,
  2342. Part1 = Part1,
  2343. C0 = C0,
  2344. C1 = C1
  2345. })
  2346. return Weld
  2347. end
  2348. },
  2349. Sound = {
  2350. Create = function(id, par, vol, pit)
  2351. coroutine.resume(coroutine.create(function()
  2352. local S = Create("Sound")({
  2353. Volume = vol,
  2354. Pitch = pit or 1,
  2355. SoundId = id,
  2356. Parent = par or workspace
  2357. })
  2358. wait()
  2359. S:play()
  2360. game:GetService("Debris"):AddItem(S, 10)
  2361. end))
  2362. end
  2363. },
  2364. LongSound = {
  2365. Create = function(id, par, vol, pit)
  2366. coroutine.resume(coroutine.create(function()
  2367. local S = Create("Sound")({
  2368. Volume = vol,
  2369. Pitch = pit or 1,
  2370. SoundId = id,
  2371. Parent = par or workspace
  2372. })
  2373. wait()
  2374. S:play()
  2375. game:GetService("Debris"):AddItem(S, 30)
  2376. end))
  2377. end
  2378. },
  2379. ParticleEmitter = {
  2380. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2381. local fp = Create("ParticleEmitter")({
  2382. Parent = Parent,
  2383. Color = ColorSequence.new(Color1, Color2),
  2384. LightEmission = LightEmission,
  2385. Size = Size,
  2386. Texture = Texture,
  2387. Transparency = Transparency,
  2388. ZOffset = ZOffset,
  2389. Acceleration = Accel,
  2390. Drag = Drag,
  2391. LockedToPart = LockedToPart,
  2392. VelocityInheritance = VelocityInheritance,
  2393. EmissionDirection = EmissionDirection,
  2394. Enabled = Enabled,
  2395. Lifetime = LifeTime,
  2396. Rate = Rate,
  2397. Rotation = Rotation,
  2398. RotSpeed = RotSpeed,
  2399. Speed = Speed,
  2400. VelocitySpread = VelocitySpread
  2401. })
  2402. return fp
  2403. end
  2404. },
  2405. CreateTemplate = {}
  2406. }
  2407.  
  2408. function Swait(NUMBER)
  2409. if NUMBER == 0 or NUMBER == nil then
  2410. ArtificialHB.Event:wait()
  2411. else
  2412. for i = 1, NUMBER do
  2413. ArtificialHB.Event:wait()
  2414. end
  2415. end
  2416. end
  2417.  
  2418. function swait(NUMBER)
  2419. if NUMBER == 0 or NUMBER == nil then
  2420. ArtificialHB.Event:wait()
  2421. else
  2422. for i = 1, NUMBER do
  2423. ArtificialHB.Event:wait()
  2424. end
  2425. end
  2426. end
  2427.  
  2428. function chatfunc(text)
  2429. local chat = coroutine.wrap(function()
  2430. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2431. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2432. end
  2433. local naeeym2 = Instance.new("BillboardGui", Character)
  2434. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2435. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  2436. naeeym2.Adornee = Character.Head
  2437. naeeym2.Name = "TalkingBillBoard"
  2438. local tecks2 = Instance.new("TextLabel", naeeym2)
  2439. tecks2.BackgroundTransparency = 1
  2440. tecks2.BorderSizePixel = 0
  2441. tecks2.Text = ""
  2442. tecks2.Font = "Garamond"
  2443. tecks2.TextSize = 30
  2444. tecks2.TextStrokeTransparency = 0
  2445. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2446. tecks2.TextStrokeColor3 = Color3.new(0.5, 0, 0)
  2447. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2448. local tecks3 = Instance.new("TextLabel", naeeym2)
  2449. tecks3.BackgroundTransparency = 1
  2450. tecks3.BorderSizePixel = 0
  2451. tecks3.Text = ""
  2452. tecks3.Font = "Garamond"
  2453. tecks3.TextSize = 30
  2454. tecks3.TextStrokeTransparency = 0
  2455. tecks3.TextColor3 = Color3.new(0, 0, 0)
  2456. tecks3.TextStrokeColor3 = Color3.new(0, 0, 0)
  2457. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  2458. coroutine.resume(coroutine.create(function()
  2459. while true do
  2460. swait(1)
  2461. if chaosmode == true then
  2462. tecks2.TextColor3 = BrickColor.new("Really black")().Color
  2463. tecks3.TextStrokeColor3 = BrickColor.new("Really black")().Color
  2464. end
  2465. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2466. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2467. tecks2.Rotation = math.random(-5, 5)
  2468. tecks3.Rotation = math.random(-5, 5)
  2469. end
  2470. end))
  2471. for i = 1, string.len(text) do
  2472. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  2473. tecks2.Text = string.sub(text, 1, i)
  2474. tecks3.Text = string.sub(text, 1, i)
  2475. swait(1)
  2476. end
  2477. wait(1)
  2478. local randomrot = math.random(1, 2)
  2479. if randomrot == 1 then
  2480. for i = 1, 50 do
  2481. swait()
  2482. tecks2.Rotation = tecks2.Rotation - 0.75
  2483. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2484. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2485. tecks3.Rotation = tecks2.Rotation + 0.75
  2486. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2487. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2488. end
  2489. elseif randomrot == 2 then
  2490. for i = 1, 50 do
  2491. swait()
  2492. tecks2.Rotation = tecks2.Rotation + 0.75
  2493. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2494. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2495. tecks3.Rotation = tecks2.Rotation - 0.75
  2496. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2497. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2498. end
  2499. end
  2500. naeeym2:Destroy()
  2501. end)
  2502. chat()
  2503. end
  2504.  
  2505. function onChatted(msg)
  2506. chatfunc(msg)
  2507. end
  2508. Player.Chatted:connect(onChatted)
  2509.  
  2510. function refit()
  2511. Character.Parent = workspace
  2512. for e = 1, #BODY do
  2513. if BODY[e] ~= nil then
  2514. local STUFF = BODY[e]
  2515. local PART = STUFF[1]
  2516. local PARENT = STUFF[2]
  2517. PART.Parent = PARENT
  2518. end
  2519. end
  2520. end
  2521.  
  2522.  
  2523.  
  2524.  
  2525. function GoldenPunch()
  2526. ATTACK = true
  2527. Rooted = false
  2528. local SPEED = Speed
  2529. Speed = 8
  2530. CreateSound("0", RightArm, 10, 1.1)
  2531. for i=0, 0, 0.1 / Animation_Speed do
  2532. Swait()
  2533. turnto(Mouse.Hit.p)
  2534. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really red",VT(-1/15,-1/15,-1/15))
  2535. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really red",VT(-2/15,-2/15,-2/15))
  2536. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  2537. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  2538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2539. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2540. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2542. end
  2543. for i=0, 0, 0.1 / Animation_Speed do
  2544. Swait()
  2545. turnto(Mouse.Hit.p)
  2546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  2547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  2548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2550. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2551. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2552. end
  2553. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really blue", "Punch", VT(50,50,50),false)
  2554. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  2555. PART.Shape = "Ball"
  2556. local bv = Instance.new("BodyVelocity")
  2557. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2558. bv.velocity = RootPart.CFrame.lookVector*600
  2559. bv.Parent = PART
  2560. bv.Name = "PROJECTILEVELOCITY"
  2561. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2.5,0.2,2.5))
  2562. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(3,0.2,3))
  2563. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2,0.6,2))
  2564. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really blue",VT(2.2,0.6,2.2))
  2565. CreateSound("0", Effects, 10, MRANDOM(7, 12) / 10)
  2566. coroutine.resume(coroutine.create(function()
  2567. for i = 1, 10 do
  2568. Swait()
  2569. PART.Transparency = PART.Transparency + 0.2/10
  2570. PART.Size = PART.Size + VT(5,5,5)
  2571. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  2572. end
  2573. PART:Destroy()
  2574. end))
  2575. for i=0, 0, 0.1 / Animation_Speed do
  2576. Swait()
  2577. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  2578. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  2579. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  2580. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  2581. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  2582. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  2583. end
  2584. Speed = SPEED
  2585. ATTACK = false
  2586. Rooted = false
  2587. end
  2588.  
  2589. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2590. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really blue"), "Effect", VT(1,1,1), true)
  2591. local mesh = IT("SpecialMesh",wave)
  2592. mesh.MeshType = "Sphere"
  2593. mesh.Scale = SIZE
  2594. mesh.Offset = VT(0,0,0)
  2595. wave.CFrame = CFRAME
  2596. coroutine.resume(coroutine.create(function(PART)
  2597. for i = 1, WAIT do
  2598. Swait()
  2599. mesh.Scale = mesh.Scale + GROW
  2600. wave.Transparency = wave.Transparency + (1/WAIT)
  2601. if wave.Transparency > 0.99 then
  2602. wave:remove()
  2603. end
  2604. end
  2605. end))
  2606. end
  2607.  
  2608. Player_Size = 1 --Size of the player.
  2609.  
  2610. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2611. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Dark red"), "Effect", VT(0,0,0))
  2612. local mesh = IT("SpecialMesh",wave)
  2613. mesh.MeshType = "FileMesh"
  2614. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2615. mesh.Scale = SIZE
  2616. mesh.Offset = VT(0,0,-SIZE.X/8)
  2617. wave.CFrame = CFRAME
  2618. coroutine.resume(coroutine.create(function(PART)
  2619. for i = 1, WAIT do
  2620. Swait()
  2621. mesh.Scale = mesh.Scale + GROW
  2622. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2623. if DOESROT == true then
  2624. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2625. end
  2626. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2627. if wave.Transparency > 0.99 then
  2628. wave:remove()
  2629. end
  2630. end
  2631. end))
  2632. end
  2633.  
  2634. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2635. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really blue"), "Effect", VT(0,0,0))
  2636. local mesh = IT("SpecialMesh",wave)
  2637. mesh.MeshType = "FileMesh"
  2638. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2639. mesh.Scale = SIZE
  2640. --mesh.Offset = VT(0,0,-SIZE.X/8)
  2641. wave.CFrame = CFRAME
  2642. coroutine.resume(coroutine.create(function(PART)
  2643. for i = 1, WAIT do
  2644. Swait()
  2645. mesh.Scale = mesh.Scale + GROW
  2646. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2647. if DOESROT == true then
  2648. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2649. end
  2650. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2651. if wave.Transparency > 0.99 then
  2652. wave:remove()
  2653. end
  2654. end
  2655. end))
  2656. end
  2657.  
  2658. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2659. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Dark red"), "Effect", VT(0,0,0))
  2660. local mesh = IT("SpecialMesh",wave)
  2661. mesh.MeshType = "FileMesh"
  2662. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2663. mesh.Scale = SIZE
  2664. wave.CFrame = CFRAME
  2665. coroutine.resume(coroutine.create(function(PART)
  2666. for i = 1, WAIT do
  2667. Swait()
  2668. mesh.Scale = mesh.Scale + GROW
  2669. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2670. if DOESROT == true then
  2671. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2672. end
  2673. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2674. if wave.Transparency > 0.99 then
  2675. wave:remove()
  2676. end
  2677. end
  2678. end))
  2679. end
  2680.  
  2681.  
  2682. function Kill(Char)
  2683. local NewCharacter = IT("Model",Effects)
  2684. NewCharacter.Name = "Ow im ded ;-;"
  2685. for _, c in pairs(Char:GetDescendants()) do
  2686. if c:IsA("BasePart") and c.Transparency == 0 then
  2687. if c.Parent == Char then
  2688. getbloody(c,5)
  2689. end
  2690. c:BreakJoints()
  2691. c.Material = "Glass"
  2692. c.Color = C3(0.5,0,0)
  2693. c.CanCollide = true
  2694. c.Transparency = 0.3
  2695. if c:FindFirstChildOfClass("SpecialMesh") then
  2696. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2697. end
  2698. if c.Name == "Head" then
  2699. c:ClearAllChildren()
  2700. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2701. end
  2702. if c.ClassName == "MeshPart" then
  2703. c.TextureID = ""
  2704. end
  2705. if c:FindFirstChildOfClass("BodyPosition") then
  2706. c:FindFirstChildOfClass("BodyPosition"):remove()
  2707. end
  2708. if c:FindFirstChildOfClass("ParticleEmitter") then
  2709. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2710. end
  2711. c.Parent = NewCharacter
  2712. c.Name = "DeadPart"
  2713. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2714. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2715. end
  2716. end
  2717. Char:remove()
  2718. Debris:AddItem(NewCharacter,5)
  2719. end
  2720.  
  2721. function killnearest(position,range,maxstrength,direction)
  2722. for i,v in ipairs(workspace:GetChildren()) do
  2723. local body = v:GetChildren()
  2724. for part = 1, #body do
  2725. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2726. if(body[part].Position - position).Magnitude < range then
  2727. if v.ClassName == "Model" then
  2728. --v:BreakJoints()
  2729. end
  2730. local POS = position
  2731. coroutine.resume(coroutine.create(function()
  2732. body[part].Anchored = true
  2733. body[part].Parent = Effects
  2734. body[part].CanCollide = true
  2735. local SIZE = body[part].Size
  2736. body[part].Material = "Neon"
  2737. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  2738. for i = 1, 75 do
  2739. Swait()
  2740. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2741. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2742. end
  2743. coroutine.resume(coroutine.create(function()
  2744. while true do
  2745. Swait()
  2746. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2747. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2748. end
  2749. end))
  2750. body[part].Anchored = false
  2751. body[part].Velocity = direction.lookVector*maxstrength
  2752. end))
  2753. end
  2754. end
  2755. end
  2756. if v.ClassName == "Part" then
  2757. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2758. local POS = position
  2759. coroutine.resume(coroutine.create(function()
  2760. v.Anchored = true
  2761. v.Parent = Effects
  2762. local SIZE = v.Size
  2763. v.Material = "Neon"
  2764. CreateSound("0", v, 2, MRANDOM(7, 12) / 10)
  2765. for i = 1, 75 do
  2766. Swait()
  2767. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2768. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2769. end
  2770. coroutine.resume(coroutine.create(function()
  2771. while true do
  2772. Swait()
  2773. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  2774. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  2775. end
  2776. end))
  2777. v.Anchored = false
  2778. v.Velocity = direction.lookVector*maxstrength
  2779. end))
  2780. end
  2781. end
  2782. end
  2783. end
  2784.  
  2785. local asd = Instance.new("ParticleEmitter")
  2786. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  2787. asd.LightEmission = .1
  2788. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2789. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2790. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2791. asd.Transparency = bbb
  2792. asd.Size = aaa
  2793. asd.ZOffset = .9
  2794. asd.Acceleration = Vector3.new(0, -15, 0)
  2795. asd.LockedToPart = false
  2796. asd.EmissionDirection = "Back"
  2797. asd.Lifetime = NumberRange.new(1, 2)
  2798. asd.Rotation = NumberRange.new(-100, 100)
  2799. asd.RotSpeed = NumberRange.new(-100, 100)
  2800. asd.Speed = NumberRange.new(10)
  2801. asd.Enabled = false
  2802. asd.VelocitySpread = 999
  2803.  
  2804. function Endless_Pain()
  2805. local HITBODIES = {}
  2806. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2807. if HITFLOOR ~= nil then
  2808. CreateSound("463598785", RootPart, 10, 0.8)
  2809. ATTACK = true
  2810. Rooted = true
  2811. VALUE1 = true
  2812. for i = 1, 500 do
  2813. Swait()
  2814. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  2815. Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(0.001, 0, 0.001))
  2816. Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Really black", VT(0, 0, 0))
  2817. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2821. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2822. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2823. for e = 1, #HITBODIES do
  2824. if HITBODIES[e] ~= nil then
  2825. local BOD = HITBODIES[e]
  2826. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2827. if TORS and TORS:FindFirstChild("BV") == nil then
  2828. local bv = Instance.new("BodyVelocity")
  2829. bv.Name = "BV"
  2830. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2831. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  2832. bv.Parent = TORS
  2833. Debris:AddItem(bv, 0.1)
  2834. end
  2835. end
  2836. end
  2837. end
  2838. coroutine.resume(coroutine.create(function()
  2839. for e = 1, #HITBODIES do
  2840. Swait()
  2841. if HITBODIES[e] ~= nil then
  2842. local BOD = HITBODIES[e]
  2843. for i = 1, #HITBODIES do
  2844. if HITBODIES[i] == BOD and i ~= e then
  2845. table.remove(HITBODIES, i)
  2846. end
  2847. end
  2848. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2849. if TORS then
  2850. TORS.Anchored = false
  2851. CreateSound("92597369", TORS, 10, 0.8)
  2852. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  2853. BOD:BreakJoints()
  2854. for _, c in pairs(BOD:GetChildren()) do
  2855. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2856. local bv = Instance.new("BodyVelocity")
  2857. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2858. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  2859. bv.Parent = c
  2860. Debris:AddItem(bv, 0.2)
  2861. end
  2862. end
  2863. end
  2864. end
  2865. end
  2866. end))
  2867. VALUE1 = false
  2868. ATTACK = false
  2869. Rooted = false
  2870. end
  2871. end
  2872.  
  2873. function Grave_Encounter()
  2874. local HITBODIES = {}
  2875. local PEWSOUND = {
  2876. "907527750",
  2877. "907527912",
  2878. "907528019",
  2879. "907530553"
  2880. }
  2881. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2882. if HITFLOOR ~= nil then
  2883. CreateSound(ATTACKTAUNTS[MRANDOM(1, #ATTACKTAUNTS)], Head, 10, 0.9)
  2884. ATTACK = true
  2885. Rooted = false
  2886. local GYRO = IT("BodyGyro", RootPart)
  2887. GYRO.D = 100
  2888. GYRO.P = 2000
  2889. GYRO.MaxTorque = VT(0, 4000000, 0)
  2890. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2891. for i = 0, 3.5, 0.1 / Animation_Speed do
  2892. Swait()
  2893. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2894. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 0, 0), VT(-0.01, 0, -0.01))
  2895. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2899. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2900. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2901. end
  2902. for i = 0, 0.15, 0.1 / Animation_Speed do
  2903. Swait()
  2904. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2905. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(150, 0, 0), VT(-0.01, 0, -0.01))
  2906. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2910. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2911. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2912. end
  2913. Rooted = true
  2914. GYRO:remove()
  2915. coroutine.resume(coroutine.create(function()
  2916. local PITS = {}
  2917. local FRAME = RootPart.CFrame
  2918. for i = 1, 200 do
  2919. Swait()
  2920. for e = 1, #HITBODIES do
  2921. if HITBODIES[e] ~= nil then
  2922. local BOD = HITBODIES[e]
  2923. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2924. if TORS then
  2925. BOD:BreakJoints()
  2926. table.remove(HITBODIES, e)
  2927. end
  2928. end
  2929. end
  2930. local GLITCH = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Puddle", VT(2 + i / 2, 0, 2 + i / 2))
  2931. MakeForm(GLITCH, "Cyl")
  2932. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  2933. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  2934. if HITFLOOR ~= nil then
  2935. table.insert(PITS, GLITCH)
  2936. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2937. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  2938. if MRANDOM(1, 2) == 1 then
  2939. local ICICLE = IT("CornerWedgePart", Effects)
  2940. ICICLE.Locked = true
  2941. ICICLE.CanCollide = false
  2942. ICICLE.Anchored = true
  2943. ICICLE.BrickColor = BRICKC("Really red")
  2944. ICICLE.Material = "Neon"
  2945. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  2946. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  2947. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  2948. table.insert(PITS, ICICLE)
  2949. end
  2950. else
  2951. GLITCH:remove()
  2952. break
  2953. end
  2954. end
  2955. coroutine.resume(coroutine.create(function()
  2956. for i = 1, 10 do
  2957. Swait()
  2958. for e = 1, #PITS do
  2959. if PITS[e] ~= nil then
  2960. local E = PITS[e]
  2961. E.Transparency = E.Transparency + 0.1
  2962. end
  2963. end
  2964. end
  2965. for e = 1, #PITS do
  2966. if PITS[e] ~= nil then
  2967. local E = PITS[e]
  2968. E:remove()
  2969. end
  2970. end
  2971. end))
  2972. end))
  2973. for i = 0, 1, 0.1 / Animation_Speed do
  2974. Swait()
  2975. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2981. end
  2982. ATTACK = false
  2983. Rooted = false
  2984. end
  2985. end
  2986.  
  2987. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  2988. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2989. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  2990. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2991.  
  2992. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2993. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2994. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2995. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2996. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2997. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2998. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  2999. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3000.  
  3001. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  3002. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3003.  
  3004. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  3005. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3006.  
  3007. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3008. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3009.  
  3010. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3011. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3012.  
  3013. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  3014. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3015.  
  3016. function TakeOnMe()
  3017. Speed = 5
  3018. local MEME = CreateSound(596886258, Effects, 7, 1, false)
  3019. ATTACK = true
  3020. Rooted = false
  3021. local DANCE = true
  3022. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3023. if NEWKEY == "p" then
  3024. DANCE = false
  3025. end
  3026. end)
  3027. PLAYSONG = false
  3028. while true do
  3029. for i = 1, 15 do
  3030. Swait()
  3031. MEME.Parent = Effects
  3032. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3038. end
  3039. if DANCE == false then
  3040. break
  3041. end
  3042. for i = 1, 15 do
  3043. Swait()
  3044. MEME.Parent = Effects
  3045. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3049. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3050. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3051. end
  3052. end
  3053. PLAYSONG = true
  3054. KEY:Disconnect()
  3055. MEME:remove()
  3056. Speed = 25
  3057. ATTACK = false
  3058. Rooted = false
  3059. end
  3060.  
  3061. function Taunt3()
  3062. ATTACK = true
  3063. Rooted = true
  3064. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  3065. repeat
  3066. Swait()
  3067. TAUNT.Parent = Torso
  3068. TAUNT.Playing = true
  3069. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3070. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  3071. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3072. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3073. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3074. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3075. until TAUNT.TimePosition >= 1.25
  3076. for i=0, 1.6, 0.1 / Animation_Speed do
  3077. Swait()
  3078. TAUNT.Parent = Torso
  3079. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  3080. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  3081. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3082. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3083. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3084. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3085. end
  3086. ATTACK = false
  3087. Rooted = false
  3088. end
  3089.  
  3090. function Taunt2()
  3091. ATTACK = true
  3092. Rooted = true
  3093. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  3094. coroutine.resume(coroutine.create(function()
  3095. repeat
  3096. Swait()
  3097. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3101. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3103. until ATTACK == false
  3104. end))
  3105. repeat wait() until TAUNT.Playing == false
  3106. ATTACK = false
  3107. Rooted = false
  3108. end
  3109.  
  3110.  
  3111. --//=================================\\
  3112. --|| ASSIGN THINGS TO KEYS
  3113. --\\=================================//
  3114.  
  3115. function MouseDown(Mouse)
  3116. if ATTACK == false then
  3117. end
  3118. end
  3119.  
  3120. function MouseUp(Mouse)
  3121. HOLD = false
  3122. end
  3123.  
  3124. function KeyDown(Key)
  3125. KEYHOLD = true
  3126. if Key == "z" and ATTACK == false then
  3127. Banisher_Bullet()
  3128. end
  3129.  
  3130. if Key == "b" and ATTACK == false then
  3131. Absoluteum()
  3132. end
  3133.  
  3134. if Key == "c" and ATTACK == false then
  3135. Morning_Star()
  3136. end
  3137.  
  3138. if Key == "v" and ATTACK == false then
  3139. Supernova()
  3140. end
  3141.  
  3142. if Key == "x" and ATTACK == false then
  3143. Orbital_Devastor()
  3144. end
  3145. if Key == "n" and ATTACK == false then
  3146. GoldenPunch()
  3147. end
  3148. if Key == "m" and ATTACK == false then
  3149. Endless_Pain()
  3150. end
  3151.  
  3152. if Key == "g" and ATTACK == false then
  3153. Technowarp()
  3154. end
  3155.  
  3156. if Key == "f" and ATTACK == false then
  3157. Grave_Encounter()
  3158. end
  3159.  
  3160.  
  3161. if Key == "t" and ATTACK == false then
  3162. Taunt()
  3163. end
  3164. if Key == "y" and ATTACK == false then
  3165. TakeOnMe()
  3166. end
  3167. if Key == "e" and ATTACK == false then
  3168. Taunt2()
  3169. end
  3170.  
  3171. if Key == "r" and ATTACK == false then
  3172. Taunt3()
  3173. end
  3174.  
  3175. end
  3176.  
  3177. function KeyUp(Key)
  3178. KEYHOLD = false
  3179. end
  3180.  
  3181. Mouse.Button1Down:connect(function(NEWKEY)
  3182. MouseDown(NEWKEY)
  3183. end)
  3184. Mouse.Button1Up:connect(function(NEWKEY)
  3185. MouseUp(NEWKEY)
  3186. end)
  3187. Mouse.KeyDown:connect(function(NEWKEY)
  3188. KeyDown(NEWKEY)
  3189. end)
  3190. Mouse.KeyUp:connect(function(NEWKEY)
  3191. KeyUp(NEWKEY)
  3192. end)
  3193.  
  3194. --//=================================\\
  3195. --\\=================================//
  3196.  
  3197.  
  3198. function unanchor()
  3199. if UNANCHOR == true then
  3200. g = Character:GetChildren()
  3201. for i = 1, #g do
  3202. if g[i].ClassName == "Part" then
  3203. g[i].Anchored = false
  3204. end
  3205. end
  3206. end
  3207. end
  3208.  
  3209.  
  3210. --//=================================\\
  3211. --|| WRAP THE WHOLE SCRIPT UP
  3212. --\\=================================//
  3213.  
  3214. Humanoid.Changed:connect(function(Jump)
  3215. if Jump == "Jump" and (Disable_Jump == true) then
  3216. Humanoid.Jump = false
  3217. end
  3218. end)
  3219.  
  3220. Humanoid.HipHeight = 2
  3221.  
  3222. while true do
  3223. Swait()
  3224. refit()
  3225. Character.Parent = workspace
  3226. Humanoid.Parent = Character
  3227. ANIMATE.Parent = nil
  3228. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3229. IDLEANIMATION:Play()
  3230. SINE = SINE + CHANGE
  3231. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3232. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3233. HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
  3234. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3235. for LW = 1, #LEFTWINGS do
  3236. if LEFTWINGS[LW] ~= nil then
  3237. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3238. end
  3239. end
  3240. for RW = 1, #RIGHTWINGS do
  3241. if RIGHTWINGS[RW] ~= nil then
  3242. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3243. end
  3244. end
  3245. if ATTACK == false then
  3246. if TORSOVELOCITY < 1 then
  3247. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3253. elseif TORSOVELOCITY > 1 then
  3254. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3255. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3258. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3259. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3260. end
  3261. end
  3262. unanchor()
  3263. Humanoid.MaxHealth = "inf"
  3264. Humanoid.Health = "inf"
  3265. if Rooted == false then
  3266. Disable_Jump = false
  3267. Humanoid.WalkSpeed = Speed
  3268. elseif Rooted == true then
  3269. Disable_Jump = true
  3270. Humanoid.WalkSpeed = 0
  3271. end
  3272.  
  3273. sick.Parent = Torso
  3274. sick:resume()
  3275. sick.Volume = 2.5
  3276. sick.Pitch = 1
  3277. sick.SoundId = "rbxassetid://271112451"
  3278. sick.Name = "BanishV3Music"
  3279. end
  3280.  
  3281. --//=================================\\
  3282. --\\=================================//
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288. --//====================================================\\--
  3289. --|| END OF SCRIPT
  3290. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement