Advertisement
masterofdesires1

Untitled

Aug 19th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.69 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. --//====================================================\\--
  84. --|| EDITED BY VOYQGO
  85. --\\====================================================//--
  86.  
  87. --//====================================================\\--
  88. --|| CREATED BY SHACKLUSTER
  89. --\\====================================================//--
  90.  
  91. print("JUSTEC GOD V2 IS HERE!")
  92. print("script EDITED by voyqgo ")
  93. print("This was soo fun to make")
  94. print("so have fun with JUSTEC GOD V2")
  95.  
  96. script:ClearAllChildren()
  97. wait(0.2)
  98.  
  99. Player = owner
  100. PlayerGui = Player.PlayerGui
  101. Cam = workspace.CurrentCamera
  102. Backpack = Player.Backpack
  103. Character = Player.Character
  104. Humanoid = Character.Humanoid
  105. RootPart = Character["HumanoidRootPart"]
  106. Torso = Character["Torso"]
  107. Head = Character["Head"]
  108. RightArm = Character["Right Arm"]
  109. LeftArm = Character["Left Arm"]
  110. RightLeg = Character["Right Leg"]
  111. LeftLeg = Character["Left Leg"]
  112. RootJoint = RootPart["RootJoint"]
  113. Neck = Torso["Neck"]
  114. RightShoulder = Torso["Right Shoulder"]
  115. LeftShoulder = Torso["Left Shoulder"]
  116. RightHip = Torso["Right Hip"]
  117. LeftHip = Torso["Left Hip"]
  118. local TIME = 0
  119. local sick = Instance.new("Sound",Torso)
  120.  
  121. IT = Instance.new
  122. CF = CFrame.new
  123. VT = Vector3.new
  124. RAD = math.rad
  125. C3 = Color3.new
  126. UD2 = UDim2.new
  127. BRICKC = BrickColor.new
  128. ANGLES = CFrame.Angles
  129. EULER = CFrame.fromEulerAnglesXYZ
  130. COS = math.cos
  131. ACOS = math.acos
  132. SIN = math.sin
  133. ASIN = math.asin
  134. ABS = math.abs
  135. MRANDOM = math.random
  136. FLOOR = math.floor
  137.  
  138. --//=================================\\
  139. --|| USEFUL VALUES
  140. --\\=================================//
  141.  
  142. Animation_Speed = 3
  143. local FORCERESET = false
  144. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  145. local Speed = 16
  146. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  149. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  150. local DAMAGEMULTIPLIER = 1
  151. local ANIM = "Idle"
  152. local ATTACK = false
  153. local EQUIPPED = false
  154. local HOLD = false
  155. local COMBO = 1
  156. local Rooted = false
  157. local SINE = 0
  158. local KEYHOLD = false
  159. local CHANGE = 2 / Animation_Speed
  160. local WALKINGANIM = false
  161. local VALUE1 = false
  162. local VALUE2 = false
  163. local ROBLOXIDLEANIMATION = IT("Animation")
  164. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  165. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  166. --ROBLOXIDLEANIMATION.Parent = Humanoid
  167. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  168. WEAPONGUI.Name = "BanishV3Gui"
  169. local Weapon = IT("Model")
  170. Weapon.Name = "Adds"
  171. local Effects = IT("Folder", Weapon)
  172. Effects.Name = "Effects"
  173. local ANIMATOR = Humanoid.Animator
  174. local ANIMATE = Character:FindFirstChild("Animate")
  175. local UNANCHOR = true
  176. local TOBANISH = {}
  177. script.Parent = PlayerGui
  178. local LAUGHS = {834001699,834001752,834001797,834001828}
  179. local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
  180. local VOCALS_TAUNT = {468973055,468973159}
  181. local VOCALS_BASIC = {468972244,468972378,468972711,468972944}
  182. local VOCAL_GROWL = 468971411
  183.  
  184. --//=================================\\
  185. --\\=================================//
  186.  
  187. --//=================================\\
  188. --|| PARTICLES N STUFF
  189. --\\=================================//
  190.  
  191. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  192. particleemitter.VelocitySpread = 350
  193. particleemitter.Lifetime = NumberRange.new(1)
  194. particleemitter.Speed = NumberRange.new(0)
  195. cringememe= {}
  196. for i=0, 19 do
  197. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  198. end
  199. particleemitter.Size = NumberSequence.new(cringememe)
  200. particleemitter.Rate = 20
  201. particleemitter.LockedToPart = true
  202. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  203. particleemitter.LightEmission = 1
  204. particleemitter.Texture = "rbxassetid://38727848"
  205. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  206.  
  207. local particleemitter = Instance.new('ParticleEmitter', Torso)
  208. particleemitter.VelocitySpread = 250
  209. particleemitter.Lifetime = NumberRange.new(3)
  210. particleemitter.Speed = NumberRange.new(1.5)
  211. youAreATHOT = {}
  212. for i=0, 19 do
  213. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  214. end
  215. particleemitter.Size = NumberSequence.new(youAreATHOT)
  216. particleemitter.Rate = 10
  217. particleemitter.LockedToPart = false
  218. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  219. particleemitter.LightEmission = 1
  220. particleemitter.Texture = "rbxassetid://253188763"
  221. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  222.  
  223. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  224. particleemitter.VelocitySpread = 350
  225. particleemitter.Lifetime = NumberRange.new(1)
  226. particleemitter.Speed = NumberRange.new(0)
  227. cringememe2= {}
  228. for i=0, 19 do
  229. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  230. end
  231. particleemitter.Size = NumberSequence.new(cringememe2)
  232. particleemitter.Rate = 20
  233. particleemitter.LockedToPart = true
  234. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  235. particleemitter.LightEmission = 1
  236. particleemitter.Texture = "rbxassetid://38727848"
  237. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  238.  
  239. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  240. particleemitter.VelocitySpread = 350
  241. particleemitter.Lifetime = NumberRange.new(1)
  242. particleemitter.Speed = NumberRange.new(0)
  243. cringememe3= {}
  244. for i=0, 19 do
  245. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  246. end
  247. particleemitter.Size = NumberSequence.new(cringememe3)
  248. particleemitter.Rate = 30
  249. particleemitter.LockedToPart = true
  250. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  251. particleemitter.LightEmission = 1
  252. particleemitter.Texture = "rbxassetid://38727848"
  253. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  254.  
  255. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  256. particleemitter.VelocitySpread = 350
  257. particleemitter.Lifetime = NumberRange.new(1)
  258. particleemitter.Speed = NumberRange.new(0)
  259. cringememe4= {}
  260. for i=0, 19 do
  261. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  262. end
  263. particleemitter.Size = NumberSequence.new(cringememe4)
  264. particleemitter.Rate = 30
  265. particleemitter.LockedToPart = true
  266. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  267. particleemitter.LightEmission = 1
  268. particleemitter.Texture = "rbxassetid://38727848"
  269. particleemitter.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  270.  
  271. --//=================================\\
  272. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  273. --\\=================================//
  274.  
  275. ArtificialHB = Instance.new("BindableEvent", script)
  276. ArtificialHB.Name = "ArtificialHB"
  277.  
  278. script:WaitForChild("ArtificialHB")
  279.  
  280. frame = Frame_Speed
  281. tf = 0
  282. allowframeloss = false
  283. tossremainder = false
  284. lastframe = tick()
  285. script.ArtificialHB:Fire()
  286.  
  287. game:GetService("RunService").Heartbeat:connect(function(s, p)
  288. tf = tf + s
  289. if tf >= frame then
  290. if allowframeloss then
  291. script.ArtificialHB:Fire()
  292. lastframe = tick()
  293. else
  294. for i = 1, math.floor(tf / frame) do
  295. script.ArtificialHB:Fire()
  296. end
  297. lastframe = tick()
  298. end
  299. if tossremainder then
  300. tf = 0
  301. else
  302. tf = tf - frame * math.floor(tf / frame)
  303. end
  304. end
  305. end)
  306.  
  307. --//=================================\\
  308. --\\=================================//
  309.  
  310. --//=================================\\
  311. --|| SOME FUNCTIONS
  312. --\\=================================//
  313.  
  314. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  315. local TORSO = Torso
  316. local HUM = Humanoid
  317. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  318. coroutine.wrap(function()
  319. VT = Vector3.new
  320. MRANDOM = math.random
  321. local A = TIME
  322. local B = INTENSITY
  323. local C = true
  324. local HUMANOID = Humanoid
  325. local TIMER = A or 35
  326. local SHAKE = B or 5
  327. local FADE = C or true
  328. if HUMANOID then
  329. local FADER = SHAKE / TIMER
  330. for i = 1, TIMER do
  331. wait()
  332. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  333. end
  334. HUMANOID.CameraOffset = VT(0, 0, 0)
  335. end
  336.  
  337. end)()
  338. end
  339. end
  340.  
  341. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  342. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  343. end
  344.  
  345. function PositiveAngle(NUMBER)
  346. if NUMBER >= 0 then
  347. NUMBER = 0
  348. end
  349. return NUMBER
  350. end
  351.  
  352. function NegativeAngle(NUMBER)
  353. if NUMBER <= 0 then
  354. NUMBER = 0
  355. end
  356. return NUMBER
  357. end
  358.  
  359. function Swait(NUMBER)
  360. if NUMBER == 0 or NUMBER == nil then
  361. ArtificialHB.Event:wait()
  362. else
  363. for i = 1, NUMBER do
  364. ArtificialHB.Event:wait()
  365. end
  366. end
  367. end
  368.  
  369. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  370. local NEWMESH = IT(MESH)
  371. if MESH == "SpecialMesh" then
  372. NEWMESH.MeshType = MESHTYPE
  373. if MESHID ~= "nil" and MESHID ~= "" then
  374. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  375. end
  376. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  377. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  378. end
  379. end
  380. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  381. NEWMESH.Scale = SCALE
  382. NEWMESH.Parent = PARENT
  383. return NEWMESH
  384. end
  385.  
  386. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  387. local NEWPART = IT("Part")
  388. NEWPART.formFactor = FORMFACTOR
  389. NEWPART.Reflectance = REFLECTANCE
  390. NEWPART.Transparency = TRANSPARENCY
  391. NEWPART.CanCollide = false
  392. NEWPART.Locked = true
  393. NEWPART.Anchored = true
  394. if ANCHOR == false then
  395. NEWPART.Anchored = false
  396. end
  397. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  398. NEWPART.Name = NAME
  399. NEWPART.Size = SIZE
  400. NEWPART.Position = Torso.Position
  401. NEWPART.Material = MATERIAL
  402. NEWPART:BreakJoints()
  403. NEWPART.Parent = PARENT
  404. return NEWPART
  405. end
  406.  
  407. local function weldBetween(a, b)
  408. local weldd = Instance.new("ManualWeld")
  409. weldd.Part0 = a
  410. weldd.Part1 = b
  411. weldd.C0 = CFrame.new()
  412. weldd.C1 = b.CFrame:inverse() * a.CFrame
  413. weldd.Parent = a
  414. return weldd
  415. end
  416.  
  417.  
  418. function QuaternionFromCFrame(cf)
  419. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  420. local trace = m00 + m11 + m22
  421. if trace > 0 then
  422. local s = math.sqrt(1 + trace)
  423. local recip = 0.5 / s
  424. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  425. else
  426. local i = 0
  427. if m11 > m00 then
  428. i = 1
  429. end
  430. if m22 > (i == 0 and m00 or m11) then
  431. i = 2
  432. end
  433. if i == 0 then
  434. local s = math.sqrt(m00 - m11 - m22 + 1)
  435. local recip = 0.5 / s
  436. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  437. elseif i == 1 then
  438. local s = math.sqrt(m11 - m22 - m00 + 1)
  439. local recip = 0.5 / s
  440. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  441. elseif i == 2 then
  442. local s = math.sqrt(m22 - m00 - m11 + 1)
  443. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  444. end
  445. end
  446. end
  447.  
  448. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  449. local xs, ys, zs = x + x, y + y, z + z
  450. local wx, wy, wz = w * xs, w * ys, w * zs
  451. local xx = x * xs
  452. local xy = x * ys
  453. local xz = x * zs
  454. local yy = y * ys
  455. local yz = y * zs
  456. local zz = z * zs
  457. 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))
  458. end
  459.  
  460. function QuaternionSlerp(a, b, t)
  461. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  462. local startInterp, finishInterp;
  463. if cosTheta >= 0.0001 then
  464. if (1 - cosTheta) > 0.0001 then
  465. local theta = ACOS(cosTheta)
  466. local invSinTheta = 1 / SIN(theta)
  467. startInterp = SIN((1 - t) * theta) * invSinTheta
  468. finishInterp = SIN(t * theta) * invSinTheta
  469. else
  470. startInterp = 1 - t
  471. finishInterp = t
  472. end
  473. else
  474. if (1 + cosTheta) > 0.0001 then
  475. local theta = ACOS(-cosTheta)
  476. local invSinTheta = 1 / SIN(theta)
  477. startInterp = SIN((t - 1) * theta) * invSinTheta
  478. finishInterp = SIN(t * theta) * invSinTheta
  479. else
  480. startInterp = t - 1
  481. finishInterp = t
  482. end
  483. end
  484. 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
  485. end
  486.  
  487. function Clerp(a, b, t)
  488. local qa = {QuaternionFromCFrame(a)}
  489. local qb = {QuaternionFromCFrame(b)}
  490. local ax, ay, az = a.x, a.y, a.z
  491. local bx, by, bz = b.x, b.y, b.z
  492. local _t = 1 - t
  493. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  494. end
  495.  
  496. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  497. local frame = IT("Frame")
  498. frame.BackgroundTransparency = TRANSPARENCY
  499. frame.BorderSizePixel = BORDERSIZEPIXEL
  500. frame.Position = POSITION
  501. frame.Size = SIZE
  502. frame.BackgroundColor3 = COLOR
  503. frame.BorderColor3 = BORDERCOLOR
  504. frame.Name = NAME
  505. frame.Parent = PARENT
  506. return frame
  507. end
  508.  
  509. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  510. local label = IT("TextLabel")
  511. label.BackgroundTransparency = 1
  512. label.Size = UD2(1, 0, 1, 0)
  513. label.Position = UD2(0, 0, 0, 0)
  514. label.TextColor3 = TEXTCOLOR
  515. label.TextStrokeTransparency = STROKETRANSPARENCY
  516. label.TextTransparency = TRANSPARENCY
  517. label.FontSize = TEXTFONTSIZE
  518. label.Font = TEXTFONT
  519. label.BorderSizePixel = BORDERSIZEPIXEL
  520. label.TextScaled = false
  521. label.Text = TEXT
  522. label.Name = NAME
  523. label.Parent = PARENT
  524. return label
  525. end
  526.  
  527. function NoOutlines(PART)
  528. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  529. end
  530.  
  531. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  532. local NEWWELD = IT(TYPE)
  533. NEWWELD.Part0 = PART0
  534. NEWWELD.Part1 = PART1
  535. NEWWELD.C0 = C0
  536. NEWWELD.C1 = C1
  537. NEWWELD.Parent = PARENT
  538. return NEWWELD
  539. end
  540.  
  541. local S = IT("Sound")
  542. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  543. local NEWSOUND = nil
  544. coroutine.resume(coroutine.create(function()
  545. NEWSOUND = S:Clone()
  546. NEWSOUND.Parent = PARENT
  547. NEWSOUND.Volume = VOLUME
  548. NEWSOUND.Pitch = PITCH
  549. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  550. NEWSOUND:play()
  551. if DOESLOOP == true then
  552. NEWSOUND.Looped = true
  553. else
  554. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  555. NEWSOUND:remove()
  556. end
  557. end))
  558. return NEWSOUND
  559. end
  560.  
  561. function CFrameFromTopBack(at, top, back)
  562. local right = top:Cross(back)
  563. 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)
  564. end
  565.  
  566. --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})
  567. local cR=255
  568. local cG=0
  569. local cB=0
  570. local flg5=1 local omgidk=1
  571. local add=15
  572. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  573. if omgidk>10000 then omgidk=0 end
  574. omgidk=omgidk+1
  575. if cR>=255 then flg5=1 end
  576. if cG>=255 then flg5=2 end
  577. if cB>=255 then flg5=3 end
  578. if flg5==1 then cR=cR-add cG=cG+add end
  579. if flg5==2 then cG=cG-add cB=cB+add end
  580. if flg5==3 then cB=cB-add cR=cR+add end
  581. color=Color3.fromRGB(cR,cG,cB)
  582. function WACKYEFFECT(Table)
  583. local TYPE = (Table.EffectType or "Sphere")
  584. local SIZE = (Table.Size or VT(6,6,6))
  585. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  586. local TRANSPARENCY = (Table.Transparency or 0)
  587. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  588. local CFRAME = (Table.CFrame or Torso.CFrame)
  589. local MOVEDIRECTION = (Table.MoveToPos or nil)
  590. local ROTATION1 = (Table.RotationX or 0)
  591. local ROTATION2 = (Table.RotationY or 0)
  592. local ROTATION3 = (Table.RotationZ or 0)
  593. local MATERIAL = "Neon"
  594. local COLOR = color
  595. local TIME = (Table.Time or 45)
  596. local SOUNDID = (Table.SoundID or nil)
  597. local SOUNDPITCH = (Table.SoundPitch or nil)
  598. local SOUNDVOLUME = (Table.SoundVolume or nil)
  599. coroutine.resume(coroutine.create(function()
  600. local PLAYSSOUND = false
  601. local SOUND = nil
  602. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  603. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  604. PLAYSSOUND = true
  605. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  606. end
  607. EFFECT.Color = color
  608. local MSH = nil
  609. if TYPE == "Sphere" then
  610. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  611. elseif TYPE == "Block" then
  612. MSH = IT("BlockMesh",EFFECT)
  613. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  614. elseif TYPE == "Wave" then
  615. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  616. elseif TYPE == "Ring" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  618. elseif TYPE == "Slash" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  620. elseif TYPE == "Round Slash" then
  621. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  622. elseif TYPE == "Swirl" then
  623. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  624. elseif TYPE == "Skull" then
  625. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  626. elseif TYPE == "Crystal" then
  627. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  628. end
  629. if MSH ~= nil then
  630. local MOVESPEED = nil
  631. if MOVEDIRECTION ~= nil then
  632. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  633. end
  634. local GROWTH = SIZE - ENDSIZE
  635. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  636. if TYPE == "Block" then
  637. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  638. else
  639. EFFECT.CFrame = CFRAME
  640. end
  641. for LOOP = 1, TIME+1 do
  642. Swait()
  643. MSH.Scale = MSH.Scale - GROWTH/TIME
  644. if TYPE == "Wave" then
  645. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  646. end
  647. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  648. if TYPE == "Block" then
  649. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  650. else
  651. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  652. end
  653. if MOVEDIRECTION ~= nil then
  654. local ORI = EFFECT.Orientation
  655. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  656. EFFECT.Orientation = ORI
  657. end
  658. end
  659. if PLAYSSOUND == false then
  660. EFFECT:remove()
  661. else
  662. SOUND.Stopped:Connect(function()
  663. EFFECT:remove()
  664. end)
  665. end
  666. else
  667. if PLAYSSOUND == false then
  668. EFFECT:remove()
  669. else
  670. repeat Swait() until SOUND.Playing == false
  671. EFFECT:remove()
  672. end
  673. end
  674. end))
  675. end
  676. end)
  677. function MakeForm(PART,TYPE)
  678. if TYPE == "Cyl" then
  679. local MSH = IT("CylinderMesh",PART)
  680. elseif TYPE == "Ball" then
  681. local MSH = IT("SpecialMesh",PART)
  682. MSH.MeshType = "Sphere"
  683. elseif TYPE == "Wedge" then
  684. local MSH = IT("SpecialMesh",PART)
  685. MSH.MeshType = "Wedge"
  686. end
  687. end
  688. function SpawnTrail(FROM,TO,BIG)
  689. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  690. MakeForm(TRAIL,"Cyl")
  691. local cR=255
  692. local cG=0
  693. local cB=0
  694. local flg5=1 local omgidk=1
  695. local add=15
  696. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  697. if omgidk>10000 then omgidk=0 end
  698. omgidk=omgidk+1
  699. if cR>=255 then flg5=1 end
  700. if cG>=255 then flg5=2 end
  701. if cB>=255 then flg5=3 end
  702. if flg5==1 then cR=cR-add cG=cG+add end
  703. if flg5==2 then cG=cG-add cB=cB+add end
  704. if flg5==3 then cB=cB-add cR=cR+add end
  705. color=Color3.fromRGB(cR,cG,cB)
  706. TRAIL.Color = color
  707. end)
  708. local DIST = (FROM - TO).Magnitude
  709. if BIG == true then
  710. TRAIL.Size = VT(5,DIST,5)
  711. else
  712. TRAIL.Size = VT(5,DIST,5)
  713. end
  714. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  715. coroutine.resume(coroutine.create(function()
  716. for i = 1, 55 do
  717. Swait()
  718. TRAIL.Transparency = TRAIL.Transparency + 0.01
  719. end
  720. TRAIL:remove()
  721. end))
  722. end
  723.  
  724. Debris = game:GetService("Debris")
  725.  
  726. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  727. local DIRECTION = CF(StartPos,EndPos).lookVector
  728. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  729. end
  730.  
  731. function turnto(position)
  732. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  733. end
  734. CircleParts = {}
  735. Equipped = false
  736.  
  737. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  738. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  739. end
  740. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  741. Torso = Character:FindFirstChild("Torso")
  742. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  743. return
  744. end
  745. Equipped = true
  746. Circle = Instance.new("Model")
  747. Circle.Name = "Circle"
  748. Angle = 0
  749. for i = 1, 1 do
  750. local CirclePart = Instance.new("Part")
  751. CirclePart.Name = "CirclePart"
  752. CirclePart.Transparency = 1
  753. CirclePart.BrickColor = BrickColor.new("Really black")
  754. CirclePart.Material = Enum.Material.Plastic
  755. CirclePart.Shape = Enum.PartType.Block
  756. CirclePart.FormFactor = Enum.FormFactor.Custom
  757. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  758. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  759. CirclePart.Anchored = true
  760. CirclePart.CanCollide = false
  761. CirclePart.Locked = true
  762. CirclePart.Size = Vector3.new(10, 0.2, 10)
  763. local Aura = Instance.new('ParticleEmitter')
  764. Aura.Name = "Aura"
  765. Aura.Texture = "rbxassetid://141116476"
  766. Aura.Parent = CirclePart
  767. Aura.LightEmission = .7
  768. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  769. Aura.Color = ColorSequence.new(Color3.new(155/255, 0/255, 155/255),Color3.new(255/200, 0/200, 0/200))
  770. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  771. Aura.LockedToPart = false
  772. Aura.Lifetime = NumberRange.new(1)
  773. Aura.Rate = 100
  774. Aura.Speed = NumberRange.new(2)
  775. Aura.SpreadAngle = Vector2.new(80,80)
  776. local BlockMesh = Instance.new("BlockMesh")
  777. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  778. BlockMesh.Parent = CirclePart
  779. CirclePart.Parent = Circle
  780. local Star = Instance.new("Decal", CirclePart)
  781. Star.Texture = "http://www.roblox.com/asset/?id=1258741019"
  782. Star.Face = "Top"
  783. local Light = Instance.new("PointLight", CirclePart)
  784. Light.Color = Color3.new(1,0,0)
  785. Light.Brightness = 100
  786. Light.Range = 0
  787. table.insert(CircleParts, CirclePart)
  788. end
  789. function CreateDebreeRing1(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  790. if FLOOR ~= nil then
  791. coroutine.resume(coroutine.create(function()
  792. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  793. PART.CFrame = CF(POSITION)
  794. for i = 1, 45 do
  795. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  796. RingPiece.Material = FLOOR.Material
  797. RingPiece.Color = FLOOR.Color
  798. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  799. Debris:AddItem(RingPiece,SWAIT)
  800. end
  801. PART:remove()
  802. end))
  803. end
  804. end
  805. function CreateFlyingDebree1(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  806. if FLOOR ~= nil then
  807. for i = 1, AMOUNT do
  808. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  809. DEBREE.Material = FLOOR.Material
  810. DEBREE.Color = FLOOR.Color
  811. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  812. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  813. coroutine.resume(coroutine.create(function()
  814. Swait(15)
  815. DEBREE.Parent = workspace
  816. DEBREE.CanCollide = true
  817. Debris:AddItem(DEBREE,SWAIT)
  818. end))
  819. end
  820. end
  821. end
  822. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  823. if FLOOR ~= nil then
  824. coroutine.resume(coroutine.create(function()
  825. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
  826. PART.CFrame = CF(POSITION)
  827. for i = 1, 45 do
  828. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
  829. RingPiece.Material = FLOOR.Material
  830. RingPiece.Color = FLOOR.Color
  831. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  832. Debris:AddItem(RingPiece,SWAIT)
  833. end
  834. PART:remove()
  835. end))
  836. end
  837. end
  838. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  839. if FLOOR ~= nil then
  840. for i = 1, AMOUNT do
  841. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  842. DEBREE.Material = FLOOR.Material
  843. DEBREE.Color = FLOOR.Color
  844. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  845. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  846. coroutine.resume(coroutine.create(function()
  847. Swait(15)
  848. DEBREE.Parent = workspace
  849. DEBREE.CanCollide = true
  850. Debris:AddItem(DEBREE,SWAIT)
  851. end))
  852. end
  853. end
  854. end
  855. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  856. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  857. local mesh = IT("SpecialMesh",wave)
  858. mesh.MeshType = "FileMesh"
  859. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  860. mesh.Scale = SIZE
  861. mesh.Offset = VT(0,0,0)
  862. wave.CFrame = CFRAME
  863. coroutine.resume(coroutine.create(function(PART)
  864. for i = 1, WAIT do
  865. Swait()
  866. mesh.Scale = mesh.Scale + GROW
  867. if DOESROT == true then
  868. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  869. end
  870. wave.Transparency = wave.Transparency + (0.5/WAIT)
  871. if wave.Transparency > 0.99 then
  872. wave:remove()
  873. end
  874. end
  875. end))
  876. end
  877. local BODY = {}
  878.  
  879. for _, c in pairs(Character:GetDescendants()) do
  880. if c:IsA("BasePart") and c.Name ~= "Handle" then
  881. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  882. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  883. end
  884. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  885. elseif c:IsA("JointInstance") then
  886. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  887. end
  888. end
  889. for e = 1, #BODY do
  890. if BODY[e] ~= nil then
  891. local STUFF = BODY[e]
  892. local PART = STUFF[1]
  893. local PARENT = STUFF[2]
  894. local MATERIAL = STUFF[3]
  895. local COLOR = STUFF[4]
  896. local TRANSPARENCY = STUFF[5]
  897. if PART.ClassName == "Part" and PART ~= RootPart then
  898. PART.Material = MATERIAL
  899. PART.Color = COLOR
  900. PART.Transparency = TRANSPARENCY
  901. end
  902. PART.AncestryChanged:Connect(function()
  903. PART.Parent = PARENT
  904. end)
  905. end
  906. end
  907. function refit()
  908. Character.Parent = workspace
  909. for e = 1, #BODY do
  910. if BODY[e] ~= nil then
  911. local STUFF = BODY[e]
  912. local PART = STUFF[1]
  913. local PARENT = STUFF[2]
  914. local MATERIAL = STUFF[3]
  915. local COLOR = STUFF[4]
  916. local TRANSPARENCY = STUFF[5]
  917. if PART.ClassName == "Part" and PART ~= RootPart then
  918. PART.Material = MATERIAL
  919. PART.Color = COLOR
  920. PART.Transparency = TRANSPARENCY
  921. end
  922. if PART.Parent ~= PARENT then
  923. Humanoid:remove()
  924. PART.Parent = PARENT
  925. Humanoid = IT("Humanoid",Character)
  926. end
  927. end
  928. end
  929. end
  930. local asd = Instance.new("ParticleEmitter")
  931. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  932. asd.LightEmission = .1
  933. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  934. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  935. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  936. asd.Transparency = bbb
  937. asd.Size = aaa
  938. asd.ZOffset = .9
  939. asd.Acceleration = Vector3.new(0, -15, 0)
  940. asd.LockedToPart = false
  941. asd.EmissionDirection = "Back"
  942. asd.Lifetime = NumberRange.new(1, 2)
  943. asd.Rotation = NumberRange.new(-100, 100)
  944. asd.RotSpeed = NumberRange.new(-100, 100)
  945. asd.Speed = NumberRange.new(10)
  946. asd.Enabled = false
  947. asd.VelocitySpread = 999
  948.  
  949. function getbloody(victim,amount)
  950. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  951. PART.CFrame = victim.CFrame
  952. local HITPLAYERSOUNDS = {"356551938","264486467"}
  953. Debris:AddItem(PART,5)
  954. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  955. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  956. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  957. local prtcl = asd:Clone()
  958. prtcl.Parent = PART
  959. prtcl:Emit(amount*10)
  960. end
  961.  
  962. local Particle = IT("ParticleEmitter",nil)
  963. Particle.Enabled = false
  964. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  965. Particle.LightEmission = 0.5
  966. Particle.Rate = 150
  967. Particle.ZOffset = 1
  968. Particle.Rotation = NumberRange.new(-180, 180)
  969. Particle.RotSpeed = NumberRange.new(-180, 180)
  970. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  971. Particle.Color = ColorSequence.new(C3(58,125,21),C3(0.4,0,0))
  972.  
  973. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  974. function ParticleEmitter(Table)
  975. local PRTCL = Particle:Clone()
  976. local Speed = Table.Speed or 5
  977. local Drag = Table.Drag or 0
  978. local Size1 = Table.Size1 or 1
  979. local Size2 = Table.Size2 or 5
  980. local Lifetime1 = Table.Lifetime1 or 1
  981. local Lifetime2 = Table.Lifetime2 or 1.5
  982. local Parent = Table.Parent or Torso
  983. local Emit = Table.Emit or 100
  984. local Offset = Table.Offset or 360
  985. local Acel = Table.Acel or VT(0,0,0)
  986. local Enabled = Table.Enabled or false
  987. PRTCL.Parent = Parent
  988. PRTCL.Size = NumberSequence.new(Size1,Size2)
  989. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  990. PRTCL.Speed = NumberRange.new(Speed)
  991. PRTCL.VelocitySpread = Offset
  992. PRTCL.Drag = Drag
  993. PRTCL.Acceleration = Acel
  994. if Enabled == false then
  995. PRTCL:Emit(Emit)
  996. Debris:AddItem(PRTCL,Lifetime2)
  997. else
  998. PRTCL.Enabled = true
  999. end
  1000. return PRTCL
  1001. end
  1002. local A = IT("Attachment",Torso)
  1003. A.Position = VT(1,1.3,0)
  1004. A.Orientation = VT(-0.098, -89.999, 0.227)
  1005. local B = IT("Attachment",Torso)
  1006. B.Position = VT(-1.3,-0.6,0)
  1007. B.Orientation = VT(-88.911, -68.808, 158.782)
  1008. local ChainLink = IT("Beam",Torso)
  1009. ChainLink.Texture = "rbxassetid://343533707"
  1010. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1011. ChainLink.TextureSpeed = 1
  1012. ChainLink.FaceCamera = true
  1013. ChainLink.Width0 = 1
  1014. ChainLink.Width1 = 1
  1015. ChainLink.TextureLength = 3
  1016. ChainLink.Attachment0 = A
  1017. ChainLink.Attachment1 = B
  1018. ChainLink.CurveSize0 = 1.6
  1019. ChainLink.CurveSize1 = 1.6
  1020. ChainLink.FaceCamera = true
  1021. ChainLink.Transparency = NumberSequence.new(0)
  1022. local ChainLink = IT("Beam",Torso)
  1023. ChainLink.Texture = "rbxassetid://343533707"
  1024. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1025. ChainLink.TextureSpeed = 1
  1026. ChainLink.FaceCamera = true
  1027. ChainLink.Width0 = 1
  1028. ChainLink.Width1 = 1
  1029. ChainLink.TextureLength = 3
  1030. ChainLink.Attachment0 = B
  1031. ChainLink.Attachment1 = A
  1032. ChainLink.CurveSize0 = 1.6
  1033. ChainLink.CurveSize1 = 1.6
  1034. ChainLink.FaceCamera = true
  1035. ChainLink.Transparency = NumberSequence.new(0)
  1036. local A = IT("Attachment",Torso)
  1037. A.Position = VT(1.3,-0.85,0)
  1038. A.Orientation = VT(-0.098, -89.999, 0.227)
  1039. local B = IT("Attachment",Torso)
  1040. B.Position = VT(-1,2,0)
  1041. B.Orientation = VT(-88.911, -68.808, 158.782)
  1042. local ChainLink = IT("Beam",Torso)
  1043. ChainLink.Texture = "rbxassetid://343533707"
  1044. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1045. ChainLink.TextureSpeed = 1
  1046. ChainLink.FaceCamera = true
  1047. ChainLink.Width0 = 1
  1048. ChainLink.Width1 = 1
  1049. ChainLink.TextureLength = 3
  1050. ChainLink.Attachment0 = A
  1051. ChainLink.Attachment1 = B
  1052. ChainLink.CurveSize0 = 1.3
  1053. ChainLink.CurveSize1 = 1.3
  1054. ChainLink.FaceCamera = true
  1055. ChainLink.Transparency = NumberSequence.new(0)
  1056. local ChainLink = IT("Beam",Torso)
  1057. ChainLink.Texture = "rbxassetid://343533707"
  1058. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1059. ChainLink.TextureSpeed = 1
  1060. ChainLink.FaceCamera = true
  1061. ChainLink.Width0 = 1
  1062. ChainLink.Width1 = 1
  1063. ChainLink.TextureLength = 3
  1064. ChainLink.Attachment0 = B
  1065. ChainLink.Attachment1 = A
  1066. ChainLink.CurveSize0 = 1.3
  1067. ChainLink.CurveSize1 = 1.3
  1068. ChainLink.FaceCamera = true
  1069. ChainLink.Transparency = NumberSequence.new(0)
  1070.  
  1071. m = game.Players.LocalPlayer
  1072. char = m.Character
  1073. local txt = Instance.new("BillboardGui", char)
  1074. txt.Adornee = char.Head
  1075. txt.Name = "_status"
  1076. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1077. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1078. local text = Instance.new("TextLabel", txt)
  1079. text.Size = UDim2.new(10, 0, 7, 0)
  1080. text.FontSize = "Size24"
  1081. text.TextScaled = true
  1082. text.TextTransparency = 0
  1083. text.BackgroundTransparency = 1
  1084. text.TextTransparency = 0
  1085. text.TextStrokeTransparency = 0
  1086. text.Font = "Bodoni"
  1087. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  1088. v = Instance.new("Part")
  1089. v.Name = "ColorBrick"
  1090. v.Parent = m.Character
  1091. v.FormFactor = "Symmetric"
  1092. v.Anchored = true
  1093. v.CanCollide = false
  1094. v.BottomSurface = "Smooth"
  1095. v.TopSurface = "Smooth"
  1096. v.Size = Vector3.new(10, 5, 3)
  1097. v.Transparency = 1
  1098. v.CFrame = char.Torso.CFrame
  1099. v.BrickColor = BrickColor.new("Really black")
  1100. v.Transparency = 1
  1101. v.Shape = "Block"
  1102. spawn(function()
  1103. local TweenService = game:GetService("TweenService")
  1104. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  1105. local Int = 0
  1106. while wait(0.5) do
  1107. if Int == #Colours then Int = 0 end
  1108. Int = Int+1
  1109. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  1110. end
  1111. end)
  1112. text.Text = "Ultimate Justce God"
  1113.  
  1114. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  1115. MakeForm(Eye,"Ball")
  1116. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1117. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  1118. MakeForm(Eye,"Ball")
  1119. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1120. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1121. MakeForm(Eye,"Ball")
  1122. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1123. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1124. MakeForm(Eye,"Ball")
  1125. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1126.  
  1127. local Particle = IT("ParticleEmitter",nil)
  1128. Particle.Enabled = false
  1129. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1130. Particle.LightEmission = 0.5
  1131. Particle.Rate = 150
  1132. Particle.ZOffset = 1
  1133. Particle.Rotation = NumberRange.new(-180, 180)
  1134. Particle.RotSpeed = NumberRange.new(-180, 180)
  1135. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1136. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1137.  
  1138. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1139. function ParticleEmitter(Table)
  1140. local PRTCL = Particle:Clone()
  1141. local Speed = Table.Speed or 5
  1142. local Drag = Table.Drag or 0
  1143. local Size1 = Table.Size1 or 1
  1144. local Size2 = Table.Size2 or 5
  1145. local Lifetime1 = Table.Lifetime1 or 1
  1146. local Lifetime2 = Table.Lifetime2 or 1.5
  1147. local Parent = Table.Parent or Torso
  1148. local Emit = Table.Emit or 100
  1149. local Offset = Table.Offset or 360
  1150. local Acel = Table.Acel or VT(0,0,0)
  1151. local Enabled = Table.Enabled or false
  1152. PRTCL.Parent = Parent
  1153. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1154. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1155. PRTCL.Speed = NumberRange.new(Speed)
  1156. PRTCL.VelocitySpread = Offset
  1157. PRTCL.Drag = Drag
  1158. PRTCL.Acceleration = Acel
  1159. if Enabled == false then
  1160. PRTCL:Emit(Emit)
  1161. Debris:AddItem(PRTCL,Lifetime2)
  1162. else
  1163. PRTCL.Enabled = true
  1164. end
  1165. return PRTCL
  1166. end
  1167.  
  1168. --//=================================\\
  1169. --|| WEAPON CREATION
  1170. --\\=================================//
  1171.  
  1172. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  1173. PRT.Color = C3(0,0,0)
  1174. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1175. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1176. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  1177. PRT.Color = C3(255, 0, 0)
  1178. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1179. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1180. for i = 1, 16 do
  1181. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1182. FACE.Color = C3(255, 0, 0)
  1183. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1184. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1185. end
  1186. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Institutional White", "Eye", VT(0.1,1,1)/2,false)
  1187. MakeForm(Eye,"Ball")
  1188. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1189. local LASTPART = Head
  1190. for i = 1, 20 do
  1191. local MATH = (1-(i/25))
  1192. if LASTPART == Head then
  1193. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1194. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1195. LASTPART = Horn
  1196. Horn.Color = C3((i*3-3)/255,0,0)
  1197. else
  1198. local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1199. 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))
  1200. LASTPART = Horn
  1201. Horn.Color = C3((i*3-3)/255,0,0)
  1202. end
  1203. end
  1204.  
  1205. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1206. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1207. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1208. MakeForm(Part,"Wedge")
  1209. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1210. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1211. MakeForm(Part,"Wedge")
  1212. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1213. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1216. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1217. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1218. MakeForm(Part,"Cyl")
  1219. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1220. for i = 1, 8 do
  1221. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1222. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1223. end
  1224. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1225. MakeForm(Part,"Cyl")
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1227. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1228. MakeForm(Part,"Ball")
  1229. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1230. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1231. MakeForm(Part,"Wedge")
  1232. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1233. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1234. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1235. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1236. MakeForm(Part,"Cyl")
  1237. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1238. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1239. MakeForm(Part,"Cyl")
  1240. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1241. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1242. MakeForm(Part,"Cyl")
  1243. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1244. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1245. MakeForm(Part,"Wedge")
  1246. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1247. local LASTPART = Handle
  1248. for i = 1, 10 do
  1249. if LASTPART == Handle then
  1250. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1251. LASTPART = Part
  1252. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1253. else
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1255. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1256. LASTPART = Part
  1257. end
  1258. end
  1259.  
  1260. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1261. MakeForm(Barrel,"Cyl")
  1262. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1263. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1264. MakeForm(Part,"Cyl")
  1265. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1266. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1267. MakeForm(Part,"Wedge")
  1268. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1269. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1270. MakeForm(Hole,"Cyl")
  1271. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1272. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1273. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1274. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1275. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1276. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1277. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1278. coroutine.resume(coroutine.create(function()
  1279. while wait() do
  1280. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1281. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1282. end
  1283. end))
  1284.  
  1285. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1286. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1287. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1288. MakeForm(Part,"Wedge")
  1289. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1290. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1291. MakeForm(Part,"Wedge")
  1292. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1293. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1294. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1295. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1297. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1298. MakeForm(Part,"Cyl")
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1300. for i = 1, 8 do
  1301. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1303. end
  1304. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1305. MakeForm(Part,"Cyl")
  1306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1307. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1308. MakeForm(Part,"Ball")
  1309. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1310. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1311. MakeForm(Part,"Wedge")
  1312. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1313. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1314. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1316. MakeForm(Part,"Cyl")
  1317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1318. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1319. MakeForm(Part,"Cyl")
  1320. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1321. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1322. MakeForm(Part,"Cyl")
  1323. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1324. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1325. MakeForm(Part,"Wedge")
  1326. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1327. local LASTPART = Handle
  1328. for i = 1, 10 do
  1329. if LASTPART == Handle then
  1330. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1331. LASTPART = Part
  1332. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1333. else
  1334. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1335. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1336. LASTPART = Part
  1337. end
  1338. end
  1339.  
  1340. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1341. MakeForm(Barrel,"Cyl")
  1342. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1343. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1344. MakeForm(Part,"Cyl")
  1345. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1346. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1347. MakeForm(Part,"Wedge")
  1348. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1349. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1350. MakeForm(Hole,"Cyl")
  1351. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1352. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1353. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1354. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1355. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1356. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1357. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1358. coroutine.resume(coroutine.create(function()
  1359. while wait() do
  1360. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1361. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1362. end
  1363. end))
  1364.  
  1365. 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)})
  1366. --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)})
  1367.  
  1368. for _, c in pairs(Weapon:GetDescendants()) do
  1369. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1370. c.Material = "Glass"
  1371. c.Color = C3(0,0,0)
  1372. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1373. c.Color = C3(1,0,0)
  1374. c.Material = "Neon"
  1375. end
  1376. end
  1377.  
  1378. Weapon.Parent = Character
  1379. for _, c in pairs(Weapon:GetChildren()) do
  1380. if c.ClassName == "Part" then
  1381. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1382. end
  1383. end
  1384. function swait(num)
  1385. if num == 0 or num == nil then
  1386. ArtificialHB.Event:wait()
  1387. else
  1388. for i = 0, num do
  1389. ArtificialHB.Event:wait()
  1390. end
  1391. end
  1392. end
  1393.  
  1394. function chatfunc(text)
  1395. local chat = coroutine.wrap(function()
  1396. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1397. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1398. end
  1399. local Bill = Instance.new("BillboardGui",Character)
  1400. Bill.Size = UDim2.new(0,100,0,40)
  1401. Bill.StudsOffset = Vector3.new(0,3,0)
  1402. Bill.Adornee = Character.Head
  1403. Bill.Name = "TalkingBillBoard"
  1404. local Hehe = Instance.new("TextLabel",Bill)
  1405. Hehe.BackgroundTransparency = 1
  1406. Hehe.BorderSizePixel = 0
  1407. Hehe.Text = ""
  1408. Hehe.Font = "Bodoni"
  1409. Hehe.TextSize = 40
  1410. Hehe.TextStrokeTransparency = 0
  1411. Hehe.Size = UDim2.new(1,0,0.5,0)
  1412. coroutine.resume(coroutine.create(function()
  1413. while Hehe ~= nil do
  1414. swait()
  1415. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1416. Hehe.Rotation = math.random(-5,5)
  1417. Hehe.TextColor3 = Color3.new(255, 0, 0)
  1418. Hehe.TextStrokeColor3 = Color3.new(17, 17, 17)
  1419. end
  1420. end))
  1421. for i = 1,string.len(text),1 do
  1422. swait()
  1423. Hehe.Text = string.sub(text,1,i)
  1424. end
  1425. swait(90)--Re[math.random(1, 93)]
  1426. for i = 0, 1, .025 do
  1427. swait()
  1428. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1429. Hehe.TextStrokeTransparency = i
  1430. Hehe.TextTransparency = i
  1431. end
  1432. Bill:Destroy()
  1433. end)
  1434. chat()
  1435. end
  1436.  
  1437. function onChatted(msg)
  1438. chatfunc(msg)
  1439. end
  1440.  
  1441. Player.Chatted:connect(onChatted)
  1442.  
  1443. local SKILLTEXTCOLOR = C3(1,0,0)
  1444. local SKILLFONT = "Antique"
  1445. local SKILLTEXTSIZE = 7
  1446.  
  1447. Humanoid.Died:connect(function()
  1448. ATTACK = true
  1449. end)
  1450.  
  1451. 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")
  1452. 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")
  1453. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1454. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1455. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1456. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1457. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1458. local SKILL8FRAME = 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 8 Frame")
  1459.  
  1460. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Hell Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1461. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1462. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ground Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1463. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1464. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Ultimate Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1465. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Dance", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1466. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  1467. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Hell Pure", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  1468.  
  1469. function printbye(Name)
  1470. 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, "}
  1471. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1472. end
  1473.  
  1474. workspace.ChildAdded:connect(function(instance)
  1475. for BANISH = 1, #TOBANISH do
  1476. if TOBANISH[BANISH] ~= nil then
  1477. if instance.Name == TOBANISH[BANISH] then
  1478. coroutine.resume(coroutine.create(function()
  1479. printbye(instance.Name)
  1480. instance:ClearAllChildren()
  1481. Debris:AddItem(instance,0.0005)
  1482. end))
  1483. end
  1484. end
  1485. end
  1486. end)
  1487.  
  1488. chatfunc("im back from the dead")
  1489. wait(4)
  1490. chatfunc("IM BACK TO KILL YOU")
  1491. wait(4)
  1492. chatfunc("iM...")
  1493. wait(3)
  1494. chatfunc("Ultimate justice God!")
  1495. --//=================================\\
  1496. --|| DAMAGING
  1497. --\\=================================//
  1498.  
  1499. function Banish(Foe)
  1500. if Foe then
  1501. coroutine.resume(coroutine.create(function()
  1502. --if game.Players:FindFirstChild(Foe.Name) then
  1503. table.insert(TOBANISH,Foe.Name)
  1504. printbye(Foe.Name)
  1505. --end
  1506. Foe.Archivable = true
  1507. local CLONE = Foe:Clone()
  1508. Foe:Destroy()
  1509. CLONE.Parent = Effects
  1510. CLONE:BreakJoints()
  1511. local MATERIALS = {"Glass","Neon"}
  1512. for _, c in pairs(CLONE:GetDescendants()) do
  1513. if c:IsA("BasePart") then
  1514. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1515. CreateSound(340722848, c, 10, 1, false)
  1516. end
  1517. c.Anchored = true
  1518. c.Transparency = c.Transparency + 0.2
  1519. c.Material = MATERIALS[MRANDOM(1,2)]
  1520. c.Color = C3(1,0,0)
  1521. if c.ClassName == "MeshPart" then
  1522. c.TextureID = ""
  1523. end
  1524. if c:FindFirstChildOfClass("SpecialMesh") then
  1525. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1526. end
  1527. if c:FindFirstChildOfClass("Decal") then
  1528. c:FindFirstChildOfClass("Decal"):remove()
  1529. end
  1530. c.Name = "Banished"
  1531. c.CanCollide = false
  1532. else
  1533. c:remove()
  1534. end
  1535. end
  1536. local A = false
  1537. for i = 1, 35 do
  1538. if A == false then
  1539. A = true
  1540. elseif A == true then
  1541. A = false
  1542. end
  1543. for _, c in pairs(CLONE:GetDescendants()) do
  1544. if c:IsA("BasePart") then
  1545. c.Anchored = true
  1546. c.Material = MATERIALS[MRANDOM(1,2)]
  1547. c.Transparency = c.Transparency + 0.8/35
  1548. if A == false then
  1549. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1550. elseif A == true then
  1551. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1552. end
  1553. end
  1554. end
  1555. Swait()
  1556. end
  1557. CLONE:remove()
  1558. end))
  1559. end
  1560. end
  1561. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1562. local CHILDREN = workspace:GetDescendants()
  1563. for index, CHILD in pairs(CHILDREN) do
  1564. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1565. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1566. if HUM then
  1567. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1568. if TORSO then
  1569. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1570. if ISBANISH == true then
  1571. Banish(CHILD)
  1572. else
  1573. if ISBANISH == "Gravity" then
  1574. HUM.PlatformStand = true
  1575. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1576. local grav = Instance.new("BodyPosition",TORSO)
  1577. grav.D = 15
  1578. grav.P = 20000
  1579. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1580. grav.position = TORSO.Position
  1581. grav.Name = "V3BanishForce"..Player.Name
  1582. else
  1583. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1584. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1585. end
  1586. else
  1587. HUM.PlatformStand = false
  1588. end
  1589. end
  1590. elseif ISBANISH == "Gravity" then
  1591. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1592. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1593. HUM.PlatformStand = false
  1594. end
  1595. end
  1596. end
  1597. end
  1598. end
  1599. end
  1600. end
  1601. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1602. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1603. local mesh = IT("SpecialMesh",wave)
  1604. mesh.MeshType = "Sphere"
  1605. mesh.Scale = SIZE
  1606. mesh.Offset = VT(0,0,0)
  1607. wave.CFrame = CFRAME
  1608. coroutine.resume(coroutine.create(function(PART)
  1609. for i = 1, WAIT do
  1610. Swait()
  1611. mesh.Scale = mesh.Scale + GROW
  1612. wave.Transparency = wave.Transparency + (1/WAIT)
  1613. if wave.Transparency > 0.99 then
  1614. wave:remove()
  1615. end
  1616. end
  1617. end))
  1618. end
  1619. function MagicSpheres(size,waitt,cframe,color)
  1620. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1621. local mesh = IT("SpecialMesh",wave)
  1622. mesh.MeshType = "Sphere"
  1623. mesh.Scale = VT(size,size,size)
  1624. mesh.Offset = VT(0,0,0)
  1625. wave.CFrame = cframe
  1626. coroutine.resume(coroutine.create(function(PART)
  1627. for i = 1, waitt do
  1628. Swait()
  1629. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1630. wave.Transparency = wave.Transparency + (1/waitt)
  1631. if wave.Transparency > 0.99 then
  1632. wave:remove()
  1633. end
  1634. end
  1635. end))
  1636. end
  1637.  
  1638. function MagicSpheres2(size,waitt,cframe,color)
  1639. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1640. local mesh = IT("SpecialMesh",wave)
  1641. mesh.MeshType = "Sphere"
  1642. mesh.Scale = VT(size,size,size)
  1643. mesh.Offset = VT(0,0,0)
  1644. wave.CFrame = cframe
  1645. coroutine.resume(coroutine.create(function(PART)
  1646. for i = 1, waitt do
  1647. Swait()
  1648. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1649. wave.Transparency = wave.Transparency - (1/waitt)
  1650. end
  1651. wave:remove()
  1652. end))
  1653. end
  1654.  
  1655. function MagicBlock(size,waitt,part,offset,color)
  1656. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  1657. local mesh = IT("BlockMesh",wave)
  1658. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1659. coroutine.resume(coroutine.create(function(PART)
  1660. for i = 1, waitt do
  1661. Swait()
  1662. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  1663. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1664. wave.Transparency = wave.Transparency + (1/waitt)
  1665. if wave.Transparency > 0.99 then
  1666. wave:remove()
  1667. end
  1668. end
  1669. end))
  1670. end
  1671. --//=================================\\
  1672. --|| ATTACK FUNCTIONS AND STUFF
  1673. --\\=================================//
  1674. local LAUGHS = {"907329532"}
  1675.  
  1676. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1677. MakeForm(RightHole,"Cyl")
  1678. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1679. MakeForm(LeftHole,"Cyl")
  1680.  
  1681. function getbloody(victim,amount)
  1682. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1683. PART.CFrame = victim.CFrame
  1684. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1685. Debris:AddItem(PART,5)
  1686. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1687. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1688. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1689. local prtcl = asd:Clone()
  1690. prtcl.Parent = PART
  1691. prtcl:Emit(amount*10)
  1692. end
  1693.  
  1694. function Kill(Char)
  1695. local NewCharacter = IT("Model",Effects)
  1696. NewCharacter.Name = "Ow im ded ;-;"
  1697. for _, c in pairs(Char:GetDescendants()) do
  1698. if c:IsA("BasePart") and c.Transparency == 0 then
  1699. if c.Parent == Char then
  1700. getbloody(c,5)
  1701. end
  1702. c:BreakJoints()
  1703. c.Material = "Glass"
  1704. c.Color = C3(0.5,0,0)
  1705. c.CanCollide = true
  1706. c.Transparency = 0.3
  1707. if c:FindFirstChildOfClass("SpecialMesh") then
  1708. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1709. end
  1710. if c.Name == "Head" then
  1711. c:ClearAllChildren()
  1712. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1713. end
  1714. if c.ClassName == "MeshPart" then
  1715. c.TextureID = ""
  1716. end
  1717. if c:FindFirstChildOfClass("BodyPosition") then
  1718. c:FindFirstChildOfClass("BodyPosition"):remove()
  1719. end
  1720. if c:FindFirstChildOfClass("ParticleEmitter") then
  1721. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1722. end
  1723. c.Parent = NewCharacter
  1724. c.Name = "DeadPart"
  1725. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1726. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1727. end
  1728. end
  1729. Char:remove()
  1730. Debris:AddItem(NewCharacter,5)
  1731. end
  1732.  
  1733. function Colorful_Death()
  1734. ATTACK = true
  1735. Rooted = false
  1736. for i=0, 0.05, 0.1 / Animation_Speed do
  1737. Swait()
  1738. turnto(Mouse.Hit.p)
  1739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1743. 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)
  1744. 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)
  1745. end
  1746. repeat
  1747. for i=0, 0.05, 0.1 / Animation_Speed do
  1748. Swait()
  1749. turnto(Mouse.Hit.p)
  1750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1754. 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)
  1755. 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)
  1756. end
  1757. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1758. SpawnTrail(Hole.Position,POS)
  1759. if HIT ~= nil then
  1760. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1761. Banish(HIT.Parent)
  1762. end
  1763. end
  1764. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1765. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1766. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1767. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1768. for i=0, 0.05, 0.1 / Animation_Speed do
  1769. Swait()
  1770. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1771. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1773. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1774. 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)
  1775. 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)
  1776. end
  1777. until KEYHOLD == false
  1778. ATTACK = false
  1779. Rooted = false
  1780. end
  1781. function Taunt()
  1782. ATTACK = true
  1783. Rooted = true
  1784. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  1785. repeat
  1786. Swait()
  1787. TAUNT.Parent = Torso
  1788. TAUNT.Playing = true
  1789. 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)
  1790. 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)
  1791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1792. 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)
  1793. 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)
  1794. 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)
  1795. until TAUNT.TimePosition >= 1.25
  1796. for i=0, 1.6, 0.1 / Animation_Speed do
  1797. Swait()
  1798. TAUNT.Parent = Torso
  1799. 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)
  1800. 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)
  1801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1802. 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)
  1803. 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)
  1804. 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)
  1805. end
  1806. ATTACK = false
  1807. Rooted = false
  1808. end
  1809. function TakeOnMe()
  1810. Speed = 5
  1811. local MEME = CreateSound(1501357995, Effects, 2, 1, false)
  1812. ATTACK = true
  1813. Rooted = false
  1814. local DANCE = true
  1815. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1816. if NEWKEY == "p" then
  1817. DANCE = false
  1818. end
  1819. end)
  1820. PLAYSONG = false
  1821. while true do
  1822. for i = 1, 15 do
  1823. Swait()
  1824. MEME.Parent = Effects
  1825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1829. 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)
  1830. 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)
  1831. end
  1832. if DANCE == false then
  1833. break
  1834. end
  1835. for i = 1, 15 do
  1836. Swait()
  1837. MEME.Parent = Effects
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1840. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1841. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1842. 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)
  1843. 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)
  1844. end
  1845. end
  1846. PLAYSONG = true
  1847. KEY:Disconnect()
  1848. MEME:remove()
  1849. Speed = 25
  1850. ATTACK = false
  1851. Rooted = false
  1852. end
  1853. function AttackTemplate()
  1854. ATTACK = true
  1855. Rooted = false
  1856. for i=0, 1, 0.1 / Animation_Speed do
  1857. Swait()
  1858. 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)
  1859. 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)
  1860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1862. 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)
  1863. 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)
  1864. end
  1865. ATTACK = false
  1866. Rooted = false
  1867. end
  1868. function Deathbound()
  1869. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1870. ATTACK = true
  1871. Rooted = true
  1872. for i=0, 1, 0.1 / Animation_Speed do
  1873. Swait()
  1874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1875. 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)
  1876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1878. 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)
  1879. 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)
  1880. end
  1881. local DONE = false
  1882. local GATE = nil
  1883. local GATESPIN = true
  1884. coroutine.resume(coroutine.create(function()
  1885. repeat
  1886. Swait()
  1887. if GATE ~= nil then
  1888. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1889. end
  1890. until GATESPIN == false
  1891. end))
  1892. coroutine.resume(coroutine.create(function()
  1893. repeat
  1894. Swait()
  1895. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1899. 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)
  1900. 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)
  1901. until DONE == true
  1902. Swait(50)
  1903. for i = 1, 35 do
  1904. Swait(4)
  1905. local FIRED = false
  1906. local CHILDREN = workspace:GetDescendants()
  1907. for index, CHILD in pairs(CHILDREN) do
  1908. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1909. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1910. if HUM then
  1911. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1912. if TORSO then
  1913. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1914. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1915. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1916. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1917. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1918. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1919. Banish(CHILD)
  1920. FIRED = true
  1921. break
  1922. end
  1923. end
  1924. end
  1925. end
  1926. end
  1927. if FIRED == false then
  1928. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1929. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1930. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1931. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1932. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1933. if HITBOD ~= nil then
  1934. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1935. Kill(HITBOD.Parent)
  1936. end
  1937. end
  1938. end
  1939. end
  1940. for i = 1, 45 do
  1941. Swait()
  1942. GATE.Size = GATE.Size - VT(3,0,3)
  1943. end
  1944. GATESPIN = false
  1945. GATE:remove()
  1946. end))
  1947. Swait(15)
  1948. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1949. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1950. local DECAL = IT("Decal",GATE)
  1951. DECAL.Texture = "http://www.roblox.com/asset/?id=68854060"
  1952. DECAL.Face = "Top"
  1953. GATE.CFrame = CF(HITPOS)
  1954. CreateSound(160772554, GATE, 7, 1.3, false)
  1955. for i = 1, 45 do
  1956. Swait()
  1957. GATE.Size = GATE.Size + VT(3,0,3)
  1958. end
  1959. CreateSound(213603013, RightHole, 7, 1, false)
  1960. CreateSound(213603013, LeftHole, 7, 1, false)
  1961. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1962. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1963. ATTACK = false
  1964. Rooted = false
  1965. DONE = true
  1966. end
  1967. function Banisher_Burn()
  1968. ATTACK = true
  1969. Rooted = true
  1970. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1971. for i=0, 1, 0.1 / Animation_Speed do
  1972. Swait()
  1973. 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)
  1974. 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)
  1975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1977. 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)
  1978. 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)
  1979. end
  1980. coroutine.resume(coroutine.create(function()
  1981. local POS = Mouse.Hit.p
  1982. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  1983. MakeForm(RAY,"Cyl")
  1984. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  1985. MakeForm(SPHERE,"Ball")
  1986. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  1987. MakeForm(SHIELD,"Ball")
  1988. SHIELD.CFrame = CF(POS)
  1989. RAY.CFrame = CF(POS)
  1990. SPHERE.CFrame = CF(POS)
  1991. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1992. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1993. for i = 1, 200 do
  1994. Swait()
  1995. 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(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1996. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1997. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1998. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1999. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2000. end
  2001. for i = 1, 45 do
  2002. Swait()
  2003. RAY.Transparency = RAY.Transparency + 1/45
  2004. SPHERE.Transparency = RAY.Transparency
  2005. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2006. end
  2007. RAY:remove()
  2008. SHIELD:remove()
  2009. SPHERE:remove()
  2010. end))
  2011. for i=0, 1, 0.1 / Animation_Speed do
  2012. Swait()
  2013. 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)
  2014. 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)
  2015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2017. 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)
  2018. 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)
  2019. end
  2020. ATTACK = false
  2021. Rooted = false
  2022. end
  2023. function SpawnSmite(POS)
  2024. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2025. local EMITPOS = HITPOS
  2026. if HITFLOOR ~= nil then
  2027. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2028. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2029. EMITPOS = HITPOS
  2030. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2031. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2032. EMITPOS = HITPOS
  2033. end
  2034. end
  2035. if HITFLOOR ~= nil then
  2036. ApplyAoE(EMITPOS,10)
  2037. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2038. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2039. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2040. for i = 1, 5 do
  2041. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2042. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2043. end
  2044. end
  2045. end
  2046. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2047. coroutine.resume(coroutine.create(function()
  2048. local METEOR = IT("Model",Effects)
  2049. METEOR.Name = "Meteorite"
  2050. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2051. METEOR.PrimaryPart = CENTER
  2052. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2053. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2054. for i = 1, 15 do
  2055. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  2056. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2057. end
  2058. if ISDEBREE ~= true then
  2059. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2060. else
  2061. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2062. end
  2063. local IMPACT = false
  2064. CreateSound(463593339, CENTER, 10, 0.6)
  2065. if SIZE >= 3.5 then
  2066. for i = 1, MRANDOM(3,7) do
  2067. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  2068. end
  2069. end
  2070. for i = 1, 200 do
  2071. Swait()
  2072. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  2073. if HITFLOOR == nil then
  2074. local ORI = CENTER.Orientation
  2075. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2076. else
  2077. if HITFLOOR.Anchored == true then
  2078. CreateDebreeRing1(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2079. CreateFlyingDebree1(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2080. end
  2081. IMPACT = true
  2082. break
  2083. end
  2084. end
  2085. if IMPACT == true then
  2086. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2087. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  2088. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2089. ApplyAoE(CENTER.Position,30*SIZE)
  2090. end
  2091. METEOR:remove()
  2092. end))
  2093. end
  2094. function Teleport()
  2095. ATTACK = true
  2096. Rooted = false
  2097. for i=0, 0.5, 0.1 / Animation_Speed do
  2098. Swait()
  2099. 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)
  2100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2101. end
  2102. for e = 1, #BODY do
  2103. if BODY[e] ~= nil then
  2104. local STUFF = BODY[e]
  2105. local PART = STUFF[1]
  2106. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2107. local PRT = PART:Clone()
  2108. PRT.Anchored = true
  2109. PRT.CanCollide = false
  2110. PRT.Material = "Neon"
  2111. PRT.Color = C3(1,0,0)
  2112. PRT.Name = "WarpEffect"
  2113. PRT.Parent = Effects
  2114. PRT.CFrame = PART.CFrame
  2115. PRT:BreakJoints()
  2116. if PRT:FindFirstChildOfClass("Sound") then
  2117. PRT:FindFirstChildOfClass("Sound"):remove()
  2118. end
  2119. if PRT:FindFirstChildOfClass("Decal") then
  2120. PRT:FindFirstChildOfClass("Decal"):remove()
  2121. end
  2122. coroutine.resume(coroutine.create(function()
  2123. for i = 1, 100 do
  2124. Swait()
  2125. PRT.Transparency = PRT.Transparency + 1/100
  2126. end
  2127. PRT:remove()
  2128. end))
  2129. end
  2130. end
  2131. end
  2132. CreateSound(217767125, Torso, 10, 1)
  2133. local POS = RootPart.Orientation
  2134. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2135. RootPart.Orientation = POS
  2136. RootJoint.Parent = RootPart
  2137. for i=0, 0.5, 0.1 / Animation_Speed do
  2138. Swait()
  2139. 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)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2141. end
  2142. for i=0, 0.1, 0.1 / Animation_Speed do
  2143. Swait()
  2144. 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, 0.75 / Animation_Speed)
  2145. end
  2146. ATTACK = false
  2147. Rooted = false
  2148. end
  2149. function Pure_Night()
  2150. ATTACK = true
  2151. Rooted = true
  2152. local AIMPOS = Mouse.Hit.p
  2153. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  2154. coroutine.resume(coroutine.create(function()
  2155. local RAYS = {}
  2156. for i = 1, 4 do
  2157. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Ray", VT(50,2000,50))
  2158. MakeForm(RAY,"Cyl")
  2159. RAY.Mesh.Scale = VT(1,1.1,1)
  2160. table.insert(RAYS,RAY)
  2161. end
  2162. CreateSound(348663022, Effects, 2, 1.2, false)
  2163. for i = 1, 100 do
  2164. Swait()
  2165. for e = 1, #RAYS do
  2166. if RAYS[e] ~= nil then
  2167. local RAY = RAYS[e]
  2168. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  2169. RAY.Transparency = RAY.Transparency - 0.01
  2170. end
  2171. end
  2172. end
  2173. for i = 1, 20 do
  2174. Swait()
  2175. for e = 1, #RAYS do
  2176. if RAYS[e] ~= nil then
  2177. local RAY = RAYS[e]
  2178. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  2179. end
  2180. end
  2181. end
  2182. wait(0.3)
  2183. for i = 1, 16 do
  2184. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  2185. SpawnTrail(POS+VT(0,200,0),POS)
  2186. end
  2187. for i = 1, 4 do
  2188. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  2189. end
  2190.  
  2191. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  2192. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  2193. CreateSound(130972023, Effects, 2, 1, false)
  2194. local POS = Mouse.Hit.p
  2195. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  2196. MakeForm(RAY,"Cyl")
  2197. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(130,130,130))
  2198. MakeForm(SPHERE,"Ball")
  2199. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  2200. MakeForm(SHIELD,"Ball")
  2201. SHIELD.CFrame = CF(AIMPOS)
  2202. RAY.CFrame = CF(AIMPOS)
  2203. SPHERE.CFrame = CF(AIMPOS)
  2204. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2205. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2206. for i = 1, 200 do
  2207. Swait()
  2208. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2209. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really red",VT(5,20,5))
  2210. RAY.Size = RAY.Size + VT(0,0,0)
  2211. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2212. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2213. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2214. end
  2215. for i = 1, 45 do
  2216. Swait()
  2217. RAY.Transparency = RAY.Transparency + 1/45
  2218. SPHERE.Transparency = RAY.Transparency
  2219. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2220. end
  2221. RAY:remove()
  2222. SHIELD:remove()
  2223. SPHERE:remove()
  2224. end))
  2225. ATTACK = false
  2226. Rooted = false
  2227. end
  2228. function Nuke()
  2229. ATTACK = true
  2230. Rooted = true
  2231. local CHARGE = false
  2232. local BLASTS = {468991944, 468991990}
  2233. coroutine.resume(coroutine.create(function()
  2234. repeat
  2235. Swait()
  2236. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2242. until CHARGE == true
  2243. for i = 0, 0.4, 0.1 / Animation_Speed do
  2244. Swait()
  2245. WACKYEFFECT({
  2246. Time = 15,
  2247. EffectType = "Sphere",
  2248. Size = VT(60, 60, 60),
  2249. Size2 = VT(0, 0, 0),
  2250. Transparency = 1,
  2251. Transparency2 = 0.7,
  2252. CFrame = CF(RootPart.Position),
  2253. MoveToPos = nil,
  2254. RotationX = 0,
  2255. RotationY = 0,
  2256. RotationZ = 0,
  2257. Material = "Neon",
  2258. Color = C3(1, 1, 1),
  2259. SoundID = nil,
  2260. SoundPitch = nil,
  2261. SoundVolume = nil
  2262. })
  2263. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2264. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2265. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2266. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2267. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2268. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2269. end
  2270. coroutine.resume(coroutine.create(function()
  2271. local POS = RootPart.Position
  2272. wait(0.2)
  2273. for i = 1, 5 do
  2274. WACKYEFFECT({
  2275. Time = 65,
  2276. EffectType = "Sphere",
  2277. Size = VT(2, 2, 2),
  2278. Size2 = VT(0, 0, 500),
  2279. Transparency = 1,
  2280. Transparency2 = 0,
  2281. CFrame = CF(POS),
  2282. MoveToPos = nil,
  2283. RotationX = MRANDOM(-2, 2),
  2284. RotationY = MRANDOM(-12, 12),
  2285. RotationZ = MRANDOM(-2, 2),
  2286. Material = "Neon",
  2287. Color = C3(1, 1, 1),
  2288. SoundID = nil,
  2289. SoundPitch = nil,
  2290. SoundVolume = nil
  2291. })
  2292. end
  2293. wait(1)
  2294. SHAKECAM(POS, 9999999999, 25, 25)
  2295. ApplyAoE(POS, 450)
  2296. WACKYEFFECT({
  2297. Time = 85,
  2298. EffectType = "Sphere",
  2299. Size = VT(120, 120, 120),
  2300. Size2 = VT(350, 350, 350),
  2301. Transparency = 0,
  2302. Transparency2 = 1,
  2303. CFrame = CF(POS),
  2304. MoveToPos = nil,
  2305. RotationX = 0,
  2306. RotationY = 0,
  2307. RotationZ = 0,
  2308. Material = "Neon",
  2309. Color = C3(1, 1, 1),
  2310. SoundID = nil,
  2311. SoundPitch = 1,
  2312. SoundVolume = 10
  2313. })
  2314. for i = 1, 20 do
  2315. WACKYEFFECT({
  2316. Time = 85,
  2317. EffectType = "Sphere",
  2318. Size = VT(120, 120, 120),
  2319. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2320. Transparency = 0.8,
  2321. Transparency2 = 1,
  2322. CFrame = CF(POS),
  2323. MoveToPos = nil,
  2324. RotationX = 0,
  2325. RotationY = 0,
  2326. RotationZ = 0,
  2327. Material = "Neon",
  2328. Color = C3(1, 1, 1),
  2329. SoundID = nil,
  2330. SoundPitch = 1,
  2331. SoundVolume = 10
  2332. })
  2333. WACKYEFFECT({
  2334. Time = 100,
  2335. EffectType = "Wave",
  2336. Size = VT(25, 2, 25),
  2337. Size2 = VT(400, 0, 400) * 1.2,
  2338. Transparency = 0,
  2339. Transparency2 = 1,
  2340. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2341. MoveToPos = nil,
  2342. RotationX = 0,
  2343. RotationY = 0,
  2344. RotationZ = 0,
  2345. Material = "Neon",
  2346. Color = C3(1, 1, 1),
  2347. SoundID = nil,
  2348. SoundPitch = nil,
  2349. SoundVolume = nil
  2350. })
  2351. end
  2352. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2353. for i = 1, 5 do
  2354. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2355. WACKYEFFECT({
  2356. Time = 120,
  2357. EffectType = "Wave",
  2358. Size = VT(150, 2, 150),
  2359. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2360. Transparency = 0,
  2361. Transparency2 = 1,
  2362. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2363. MoveToPos = nil,
  2364. RotationX = 0,
  2365. RotationY = 0,
  2366. RotationZ = 0,
  2367. Material = "Neon",
  2368. Color = C3(1, 1, 1),
  2369. SoundID = nil,
  2370. SoundPitch = nil,
  2371. SoundVolume = nil
  2372. })
  2373. end
  2374. end))
  2375. for i = 0, 1, 0.1 / Animation_Speed do
  2376. Swait()
  2377. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2378. 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)
  2379. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2380. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2381. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  2382. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  2383. end
  2384. ATTACK = false
  2385. Rooted = false
  2386. end))
  2387. for i = 1, 30 do
  2388. wait(0.01)
  2389. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2390. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2391. if HITFLOOR then
  2392. ApplyAoE(HITPOS, 65, true)
  2393. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2394. WACKYEFFECT({
  2395. Time = 25,
  2396. EffectType = "Sphere",
  2397. Size = VT(22, 22, 22),
  2398. Size2 = VT(85, 85, 85),
  2399. Transparency = 0,
  2400. Transparency2 = 1,
  2401. CFrame = CF(HITPOS),
  2402. MoveToPos = nil,
  2403. RotationX = 0,
  2404. RotationY = 0,
  2405. RotationZ = 0,
  2406. Material = "Neon",
  2407. Color = C3(1, 1, 1),
  2408. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2409. SoundPitch = MRANDOM(9, 12) / 10,
  2410. SoundVolume = 10
  2411. })
  2412. for e = 1, 3 do
  2413. WACKYEFFECT({
  2414. EffectType = "Wave",
  2415. Size = VT(25, 0, 25),
  2416. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2417. Transparency = 0,
  2418. Transparency2 = 1,
  2419. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2420. MoveToPos = nil,
  2421. RotationX = 0,
  2422. RotationY = 3,
  2423. RotationZ = 0,
  2424. Material = "Neon",
  2425. Color = C3(1, 1, 1),
  2426. SoundID = nil,
  2427. SoundPitch = nil,
  2428. SoundVolume = nil
  2429. })
  2430. WACKYEFFECT({
  2431. Time = 35,
  2432. EffectType = "Sphere",
  2433. Size = VT(22, 45, 22),
  2434. Size2 = VT(25, 45 + e * 75, 25),
  2435. Transparency = 0,
  2436. Transparency2 = 1,
  2437. CFrame = CF(HITPOS) * TURN,
  2438. MoveToPos = nil,
  2439. RotationX = 0,
  2440. RotationY = 0,
  2441. RotationZ = 0,
  2442. Material = "Neon",
  2443. Color = C3(1, 1, 1),
  2444. SoundID = nil,
  2445. SoundPitch = MRANDOM(9, 12) / 10,
  2446. SoundVolume = 10
  2447. })
  2448. end
  2449. end
  2450. end
  2451. CHARGE = true
  2452. end
  2453.  
  2454. --//=================================\\
  2455. --|| ASSIGN THINGS TO KEYS
  2456. --\\=================================//
  2457.  
  2458. function MouseUp(Mouse)
  2459. HOLD = false
  2460. end
  2461.  
  2462. function KeyDown(Key)
  2463. KEYHOLD = true
  2464. if Key == "z" and ATTACK == false then
  2465. Colorful_Death()
  2466. end
  2467.  
  2468. if Key == "b" and ATTACK == false then
  2469. Banisher_Burn()
  2470. end
  2471.  
  2472. if Key == "c" and ATTACK == false then
  2473. Nuke()
  2474. end
  2475.  
  2476. if Key == "v" and ATTACK == false then
  2477. Teleport()
  2478. end
  2479.  
  2480. if Key == "t" and ATTACK == false then
  2481. Taunt()
  2482. end
  2483.  
  2484. if Key == "g" and ATTACK == false then
  2485. Pure_Night()
  2486. end
  2487.  
  2488. if Key == "p" and ATTACK == false then
  2489. TakeOnMe()
  2490. end
  2491.  
  2492. if Key == "x" and ATTACK == false then
  2493. Deathbound()
  2494. end
  2495. end
  2496.  
  2497. function KeyUp(Key)
  2498. KEYHOLD = false
  2499. end
  2500.  
  2501. Mouse.Button1Down:connect(function(NEWKEY)
  2502. MouseDown(NEWKEY)
  2503. end)
  2504. Mouse.Button1Up:connect(function(NEWKEY)
  2505. MouseUp(NEWKEY)
  2506. end)
  2507. Mouse.KeyDown:connect(function(NEWKEY)
  2508. KeyDown(NEWKEY)
  2509. end)
  2510. Mouse.KeyUp:connect(function(NEWKEY)
  2511. KeyUp(NEWKEY)
  2512. end)
  2513.  
  2514. --//=================================\\
  2515. --\\=================================//
  2516.  
  2517.  
  2518. function unanchor()
  2519. if UNANCHOR == true then
  2520. g = Character:GetChildren()
  2521. for i = 1, #g do
  2522. if g[i].ClassName == "Part" then
  2523. g[i].Anchored = false
  2524. end
  2525. end
  2526. end
  2527. end
  2528.  
  2529.  
  2530. --//=================================\\
  2531. --|| WRAP THE WHOLE SCRIPT UP
  2532. --\\=================================//
  2533.  
  2534. Humanoid.Changed:connect(function(Jump)
  2535. if Jump == "Jump" and (Disable_Jump == true) then
  2536. Humanoid.Jump = false
  2537. end
  2538. end)
  2539.  
  2540. local CONNECT = nil
  2541.  
  2542. while true do
  2543. Swait()
  2544. ANIMATE.Parent = nil
  2545. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2546. Humanoid = IT("Humanoid",Character)
  2547. end
  2548. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2549. v:Stop();
  2550. end
  2551. SINE = SINE + CHANGE
  2552. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2553. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2554. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2555. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2556. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2557. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2558. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2559. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2560. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2561. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2562. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2563. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2564. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2565. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2566. end
  2567. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2568. ANIM = "Jump"
  2569. if ATTACK == false then
  2570. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2571. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2572. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2573. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2574. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2575. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2576. end
  2577. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2578. ANIM = "Fall"
  2579. if ATTACK == false then
  2580. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2581. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2583. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, -0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2584. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2586. end
  2587. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2588. ANIM = "Idle"
  2589. if ATTACK == false then
  2590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -0.4) * ANGLES(RAD(75), RAD(45), RAD(25))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2594. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2595. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2596. end
  2597. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2598. ANIM = "Walk"
  2599. if ATTACK == false then
  2600. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2601. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2604. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2605. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2606. end
  2607. end
  2608.  
  2609. unanchor()
  2610. Humanoid.MaxHealth = "inf"
  2611. Humanoid.Health = "inf"
  2612. if Rooted == false then
  2613. Disable_Jump = false
  2614. Humanoid.WalkSpeed = Speed
  2615. elseif Rooted == true then
  2616. Disable_Jump = true
  2617. Humanoid.WalkSpeed = 0
  2618. end
  2619. sick.Parent = Torso
  2620. sick:resume()
  2621. sick.Volume = 5
  2622. sick.Pitch = 1
  2623. sick.SoundId = "rbxassetid://924339757"
  2624. sick.Name = "BanishV3Music"
  2625. end
  2626.  
  2627. --//=================================\\
  2628. --\\=================================//
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634. --//====================================================\\--
  2635. --|| END OF SCRIPT
  2636. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement