Advertisement
zXzGamePROzXz

Banish of the city

Jan 27th, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.45 KB | None | 0 0
  1. --//==================================================================\\--
  2. --|| CREATED BY SHACKLUSTER | JkbananaPill_H2O
  3. --\\==================================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = owner
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. RootPart = Character["HumanoidRootPart"]
  14. Torso = Character["Torso"]
  15. Head = Character["Head"]
  16. RightArm = Character["Right Arm"]
  17. LeftArm = Character["Left Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LeftLeg = Character["Left Leg"]
  20. RootJoint = RootPart["RootJoint"]
  21. Neck = Torso["Neck"]
  22. RightShoulder = Torso["Right Shoulder"]
  23. LeftShoulder = Torso["Left Shoulder"]
  24. RightHip = Torso["Right Hip"]
  25. LeftHip = Torso["Left Hip"]
  26. local sick = Instance.new("Sound",Character)
  27. sick.SoundId = "rbxassetid://142603362"
  28. sick.Looped = true
  29. sick.Pitch = 1
  30. sick.Volume = 1
  31. sick:Play()
  32.  
  33. IT = Instance.new
  34. CF = CFrame.new
  35. VT = Vector3.new
  36. RAD = math.rad
  37. C3 = Color3.new
  38. UD2 = UDim2.new
  39. BRICKC = BrickColor.new
  40. ANGLES = CFrame.Angles
  41. EULER = CFrame.fromEulerAnglesXYZ
  42. COS = math.cos
  43. ACOS = math.acos
  44. SIN = math.sin
  45. ASIN = math.asin
  46. ABS = math.abs
  47. MRANDOM = math.random
  48. FLOOR = math.floor
  49. Class_Name = "₩₳ⱤĐɆ₦.exe"
  50. Editor_Name = "JkBananaPill_H2O"
  51.  
  52.  
  53. --//=================================\\
  54. --|| USEFUL VALUES
  55. --\\=================================//
  56.  
  57. Animation_Speed = 3
  58. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  59. local Speed = 15
  60. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  61. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  62. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  63. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  64. local DAMAGEMULTIPLIER = 1
  65. local ANIM = "Idle"
  66. local ATTACK = false
  67. local EQUIPPED = false
  68. local HOLD = false
  69. local COMBO = 1
  70. local Rooted = false
  71. local SINE = 0
  72. local KEYHOLD = false
  73. local CHANGE = 2 / Animation_Speed
  74. local WALKINGANIM = false
  75. local VALUE1 = false
  76. local VALUE2 = false
  77. local ROBLOXIDLEANIMATION = IT("Animation")
  78. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  79. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  80. --ROBLOXIDLEANIMATION.Parent = Humanoid
  81. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  82. WEAPONGUI.Name = "Weapon GUI"
  83. local Effects = IT("Folder", Character)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character.Animate
  87. local UNANCHOR = true
  88. local PLAYMAINANIM = true
  89. local BOLTSOUNDS = {168586621,168586586,178452241}
  90.  
  91. --//=================================\\
  92. --\\=================================//
  93. local Player = owner
  94. function RemoveOutlines(part)
  95. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  96. end
  97. local Create = LoadLibrary("RbxUtility").Create
  98.  
  99. CFuncs = {
  100. ["Part"] = {
  101. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  102. local Part = Create("Part"){
  103. Parent = Parent,
  104. Reflectance = Reflectance,
  105. Transparency = Transparency,
  106. CanCollide = false,
  107. Locked = true,
  108. BrickColor = BrickColor.new(tostring(BColor)),
  109. Name = Name,
  110. Size = Size,
  111. Material = Material,
  112. }
  113. RemoveOutlines(Part)
  114. return Part
  115. end;
  116. };
  117. ["Sound"] = {
  118. Create = function(id, par, vol, pit)
  119. coroutine.resume(coroutine.create(function()
  120. local S = Create("Sound"){
  121. Volume = vol,
  122. Pitch = pit or 1,
  123. SoundId = id,
  124. Parent = par or workspace,
  125. }
  126. wait()
  127. S:play()
  128. game:GetService("Debris"):AddItem(S, 6)
  129. end))
  130. end;
  131. };
  132. }
  133.  
  134. local toggleTag = true
  135. local txt = Instance.new("BillboardGui", Head)
  136. txt.Adornee = nil
  137. txt.Name = "NameDetect"
  138. txt.Size = UDim2.new(4, 0, 1.2, 0)
  139. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  140. local text = Instance.new("TextLabel", txt)
  141. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  142. text.FontSize = "Size8"
  143. text.TextScaled = true
  144. text.TextTransparency = 0
  145. text.BackgroundTransparency = 1
  146. text.TextTransparency = 0
  147. text.TextStrokeTransparency = 0
  148. text.Font = "Garamond"
  149. text.TextStrokeColor3 = Color3.new(0,1,1)
  150. text.TextColor3 = Color3.new(0,0,0)
  151. text.Text = "The Warden Of The City"
  152.  
  153. local Char = Character
  154.  
  155. function RecolorTextAndRename(name,col1,col2)
  156. text.TextStrokeColor3 = col2
  157. text.TextColor3 = col1
  158. text.Text = name
  159. end
  160. RecolorTextAndRename("The Banisher Of The City",Color3.new(0,0,0),Color3.new(0,0,1))
  161.  
  162. function chatfunc(text)
  163. local chat = coroutine.wrap(function()
  164. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  165. Char:FindFirstChild("TalkingBillBoard"):destroy()
  166. end
  167. local naeeym2 = Instance.new("BillboardGui",Char)
  168. naeeym2.Size = UDim2.new(0,100,0,40)
  169. naeeym2.StudsOffset = Vector3.new(0,3,0)
  170. naeeym2.Adornee = Char.Head
  171. naeeym2.Name = "TalkingBillBoard"
  172. local tecks2 = Instance.new("TextLabel",naeeym2)
  173. tecks2.BackgroundTransparency = 1
  174. tecks2.BorderSizePixel = 0
  175. tecks2.Text = ""
  176. tecks2.Font = "Antique"
  177. tecks2.TextSize = 30
  178. tecks2.TextStrokeTransparency = 0
  179. tecks2.TextColor3 = Color3.new(.6,0,0)
  180. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  181. tecks2.Size = UDim2.new(1,0,0.5,0)
  182. local tecks3 = Instance.new("TextLabel",naeeym2)
  183. tecks3.BackgroundTransparency = 1
  184. tecks3.BorderSizePixel = 0
  185. tecks3.Text = ""
  186. tecks3.Font = "Antique"
  187. tecks3.TextSize = 30
  188. tecks3.TextStrokeTransparency = 0
  189. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  190. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  191. tecks3.Size = UDim2.new(1,0,0.5,0)
  192. spawn(function()
  193. while wait() do
  194. tecks3.TextColor3 = BrickColor.random().Color
  195. tecks2.TextColor3 = BrickColor.random().Color
  196. end
  197. end)
  198. for i = 1,string.len(text),1 do
  199. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=418252437", Char, 1, 1)
  200. tecks2.Text = string.sub(text,1,i)
  201. tecks3.Text = string.sub(text,1,i)
  202. wait(0.01)
  203. end
  204. wait(2)
  205. for i = 1, 50 do
  206. Swait()
  207. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  208. tecks2.Rotation = tecks2.Rotation - .8
  209. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  210. tecks2.TextTransparency = tecks2.TextTransparency + .04
  211. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  212. tecks3.Rotation = tecks2.Rotation + .8
  213. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  214. tecks3.TextTransparency = tecks2.TextTransparency + .04
  215. end
  216. naeeym2:Destroy()
  217. end)
  218. chat()
  219. end
  220. function onChatted(msg)
  221. chatfunc(msg)
  222. end
  223. Player.Chatted:connect(onChatted)
  224.  
  225. --//=================================\\
  226. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  227. --\\=================================//
  228.  
  229. ArtificialHB = Instance.new("BindableEvent", script)
  230. ArtificialHB.Name = "ArtificialHB"
  231.  
  232. script:WaitForChild("ArtificialHB")
  233.  
  234. frame = Frame_Speed
  235. tf = 0
  236. allowframeloss = false
  237. tossremainder = false
  238. lastframe = tick()
  239. script.ArtificialHB:Fire()
  240.  
  241. game:GetService("RunService").Heartbeat:connect(function(s, p)
  242. tf = tf + s
  243. if tf >= frame then
  244. if allowframeloss then
  245. script.ArtificialHB:Fire()
  246. lastframe = tick()
  247. else
  248. for i = 1, math.floor(tf / frame) do
  249. script.ArtificialHB:Fire()
  250. end
  251. lastframe = tick()
  252. end
  253. if tossremainder then
  254. tf = 0
  255. else
  256. tf = tf - frame * math.floor(tf / frame)
  257. end
  258. end
  259. end)
  260.  
  261. --//=================================\\
  262. --\\=================================//
  263. print(Class_Name.." Loaded")
  264. print(Editor_Name.." Edited This")
  265. --//=================================\\
  266. --|| SOME FUNCTIONS
  267. --\\=================================//
  268.  
  269. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  270. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  271. end
  272.  
  273. function PositiveAngle(NUMBER)
  274. if NUMBER >= 0 then
  275. NUMBER = 0
  276. end
  277. return NUMBER
  278. end
  279.  
  280. function NegativeAngle(NUMBER)
  281. if NUMBER <= 0 then
  282. NUMBER = 0
  283. end
  284. return NUMBER
  285. end
  286.  
  287. function Swait(NUMBER)
  288. if NUMBER == 0 or NUMBER == nil then
  289. ArtificialHB.Event:wait()
  290. else
  291. for i = 1, NUMBER do
  292. ArtificialHB.Event:wait()
  293. end
  294. end
  295. end
  296.  
  297. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  298. local NEWMESH = IT(MESH)
  299. if MESH == "SpecialMesh" then
  300. NEWMESH.MeshType = MESHTYPE
  301. if MESHID ~= "nil" and MESHID ~= "" then
  302. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  303. end
  304. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  305. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  306. end
  307. end
  308. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  309. NEWMESH.Scale = SCALE
  310. NEWMESH.Parent = PARENT
  311. return NEWMESH
  312. end
  313.  
  314. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  315. local NEWPART = IT("Part")
  316. NEWPART.formFactor = FORMFACTOR
  317. NEWPART.Reflectance = REFLECTANCE
  318. NEWPART.Transparency = TRANSPARENCY
  319. NEWPART.CanCollide = false
  320. NEWPART.Locked = true
  321. NEWPART.Anchored = true
  322. if ANCHOR == false then
  323. NEWPART.Anchored = false
  324. end
  325. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  326. NEWPART.Name = NAME
  327. NEWPART.Size = SIZE
  328. NEWPART.Position = Torso.Position
  329. NEWPART.Material = MATERIAL
  330. NEWPART:BreakJoints()
  331. NEWPART.Parent = PARENT
  332. return NEWPART
  333. end
  334.  
  335. local function weldBetween(a, b)
  336. local weldd = Instance.new("ManualWeld")
  337. weldd.Part0 = a
  338. weldd.Part1 = b
  339. weldd.C0 = CFrame.new()
  340. weldd.C1 = b.CFrame:inverse() * a.CFrame
  341. weldd.Parent = a
  342. return weldd
  343. end
  344.  
  345.  
  346. function QuaternionFromCFrame(cf)
  347. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  348. local trace = m00 + m11 + m22
  349. if trace > 0 then
  350. local s = math.sqrt(1 + trace)
  351. local recip = 0.5 / s
  352. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  353. else
  354. local i = 0
  355. if m11 > m00 then
  356. i = 1
  357. end
  358. if m22 > (i == 0 and m00 or m11) then
  359. i = 2
  360. end
  361. if i == 0 then
  362. local s = math.sqrt(m00 - m11 - m22 + 1)
  363. local recip = 0.5 / s
  364. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  365. elseif i == 1 then
  366. local s = math.sqrt(m11 - m22 - m00 + 1)
  367. local recip = 0.5 / s
  368. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  369. elseif i == 2 then
  370. local s = math.sqrt(m22 - m00 - m11 + 1)
  371. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  372. end
  373. end
  374. end
  375.  
  376. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  377. local xs, ys, zs = x + x, y + y, z + z
  378. local wx, wy, wz = w * xs, w * ys, w * zs
  379. local xx = x * xs
  380. local xy = x * ys
  381. local xz = x * zs
  382. local yy = y * ys
  383. local yz = y * zs
  384. local zz = z * zs
  385. 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))
  386. end
  387.  
  388. function QuaternionSlerp(a, b, t)
  389. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  390. local startInterp, finishInterp;
  391. if cosTheta >= 0.0001 then
  392. if (1 - cosTheta) > 0.0001 then
  393. local theta = ACOS(cosTheta)
  394. local invSinTheta = 1 / SIN(theta)
  395. startInterp = SIN((1 - t) * theta) * invSinTheta
  396. finishInterp = SIN(t * theta) * invSinTheta
  397. else
  398. startInterp = 1 - t
  399. finishInterp = t
  400. end
  401. else
  402. if (1 + cosTheta) > 0.0001 then
  403. local theta = ACOS(-cosTheta)
  404. local invSinTheta = 1 / SIN(theta)
  405. startInterp = SIN((t - 1) * theta) * invSinTheta
  406. finishInterp = SIN(t * theta) * invSinTheta
  407. else
  408. startInterp = t - 1
  409. finishInterp = t
  410. end
  411. end
  412. 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
  413. end
  414.  
  415. function Clerp(a, b, t)
  416. local qa = {QuaternionFromCFrame(a)}
  417. local qb = {QuaternionFromCFrame(b)}
  418. local ax, ay, az = a.x, a.y, a.z
  419. local bx, by, bz = b.x, b.y, b.z
  420. local _t = 1 - t
  421. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  422. end
  423.  
  424. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  425. local frame = IT("Frame")
  426. frame.BackgroundTransparency = TRANSPARENCY
  427. frame.BorderSizePixel = BORDERSIZEPIXEL
  428. frame.Position = POSITION
  429. frame.Size = SIZE
  430. frame.BackgroundColor3 = COLOR
  431. frame.BorderColor3 = BORDERCOLOR
  432. frame.Name = NAME
  433. frame.Parent = PARENT
  434. return frame
  435. end
  436.  
  437. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  438. local label = IT("TextLabel")
  439. label.BackgroundTransparency = 1
  440. label.Size = UD2(1, 0, 1, 0)
  441. label.Position = UD2(0, 0, 0, 0)
  442. label.TextColor3 = TEXTCOLOR
  443. label.TextStrokeTransparency = STROKETRANSPARENCY
  444. label.TextTransparency = TRANSPARENCY
  445. label.FontSize = TEXTFONTSIZE
  446. label.Font = TEXTFONT
  447. label.BorderSizePixel = BORDERSIZEPIXEL
  448. label.TextScaled = false
  449. label.Text = TEXT
  450. label.Name = NAME
  451. label.Parent = PARENT
  452. return label
  453. end
  454.  
  455. function NoOutlines(PART)
  456. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  457. end
  458.  
  459. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  460. local NEWWELD = IT(TYPE)
  461. NEWWELD.Part0 = PART0
  462. NEWWELD.Part1 = PART1
  463. NEWWELD.C0 = C0
  464. NEWWELD.C1 = C1
  465. NEWWELD.Parent = PARENT
  466. return NEWWELD
  467. end
  468.  
  469. local S = IT("Sound")
  470. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  471. local NEWSOUND = nil
  472. coroutine.resume(coroutine.create(function()
  473. NEWSOUND = S:Clone()
  474. NEWSOUND.Parent = PARENT
  475. NEWSOUND.Volume = VOLUME
  476. NEWSOUND.Pitch = PITCH
  477. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  478. NEWSOUND:play()
  479. if DOESLOOP == true then
  480. NEWSOUND.Looped = true
  481. else
  482. repeat wait(1) until NEWSOUND.Playing == false
  483. NEWSOUND:remove()
  484. end
  485. end))
  486. return NEWSOUND
  487. end
  488.  
  489.  
  490. local EyeSizes={
  491. NumberSequenceKeypoint.new(0,2,0),
  492. NumberSequenceKeypoint.new(1,0,0)
  493. }
  494. local EyeTrans={
  495. NumberSequenceKeypoint.new(0,0.5,0),
  496. NumberSequenceKeypoint.new(1,1,0)
  497. }
  498. local PE=Instance.new("ParticleEmitter",nil)
  499. PE.LightEmission=.8
  500. PE.Color = ColorSequence.new(BRICKC("Dark blue").Color,BRICKC("Cyan").Color)
  501. PE.Size=NumberSequence.new(EyeSizes)
  502. PE.Transparency=NumberSequence.new(EyeTrans)
  503. PE.Lifetime=NumberRange.new(0.35,1)
  504. PE.Rotation=NumberRange.new(0,360)
  505. PE.Rate=100
  506. PE.VelocitySpread = 10000
  507. PE.Acceleration = Vector3.new(0,85,0)
  508. PE.Drag = 5
  509. PE.Speed = NumberRange.new(0.1,5)
  510. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  511. PE.ZOffset = 0.5
  512. PE.Name = "PE"
  513. PE.Enabled = false
  514.  
  515. function Fire(art)
  516. local PARTICLES = PE:Clone()
  517. PARTICLES.Parent = art
  518. PARTICLES.Enabled = true
  519. return PARTICLES
  520. end
  521.  
  522. function CFrameFromTopBack(at, top, back)
  523. local right = top:Cross(back)
  524. 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)
  525. end
  526.  
  527. --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})
  528. function WACKYEFFECT(Table)
  529. local TYPE = (Table.EffectType or "Sphere")
  530. local SIZE = (Table.Size or VT(1,1,1))
  531. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  532. local TRANSPARENCY = (Table.Transparency or 0)
  533. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  534. local CFRAME = (Table.CFrame or Torso.CFrame)
  535. local MOVEDIRECTION = (Table.MoveToPos or nil)
  536. local ROTATION1 = (Table.RotationX or 0)
  537. local ROTATION2 = (Table.RotationY or 0)
  538. local ROTATION3 = (Table.RotationZ or 0)
  539. local MATERIAL = (Table.Material or "Neon")
  540. local COLOR = (Table.Color or C3(1,1,1))
  541. local TIME = (Table.Time or 45)
  542. local SOUNDID = (Table.SoundID or nil)
  543. local SOUNDPITCH = (Table.SoundPitch or nil)
  544. local SOUNDVOLUME = (Table.SoundVolume or nil)
  545. coroutine.resume(coroutine.create(function()
  546. local PLAYSSOUND = false
  547. local SOUND = nil
  548. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark blue"), "Effect", VT(1,1,1), true)
  549. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  550. PLAYSSOUND = true
  551. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  552. end
  553. EFFECT.Color = COLOR
  554. local MSH = nil
  555. if TYPE == "Sphere" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  557. elseif TYPE == "Block" or TYPE == "Box" then
  558. MSH = IT("BlockMesh",EFFECT)
  559. MSH.Scale = SIZE
  560. elseif TYPE == "Wave" then
  561. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  562. elseif TYPE == "Ring" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  564. elseif TYPE == "Slash" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  566. elseif TYPE == "Round Slash" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  568. elseif TYPE == "Swirl" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  570. elseif TYPE == "Skull" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  572. elseif TYPE == "Crystal" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  574. end
  575. if MSH ~= nil then
  576. local MOVESPEED = nil
  577. if MOVEDIRECTION ~= nil then
  578. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  579. end
  580. local GROWTH = SIZE - ENDSIZE
  581. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  582. if TYPE == "Block" then
  583. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  584. else
  585. EFFECT.CFrame = CFRAME
  586. end
  587. for LOOP = 1, TIME+1 do
  588. Swait()
  589. MSH.Scale = MSH.Scale - GROWTH/TIME
  590. if TYPE == "Wave" then
  591. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  592. end
  593. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  594. if TYPE == "Block" then
  595. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  596. else
  597. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  598. end
  599. if MOVEDIRECTION ~= nil then
  600. local ORI = EFFECT.Orientation
  601. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  602. EFFECT.Orientation = ORI
  603. end
  604. end
  605. if PLAYSSOUND == false then
  606. EFFECT:remove()
  607. else
  608. repeat wait(1) until SOUND.Playing == false
  609. EFFECT:remove()
  610. end
  611. else
  612. if PLAYSSOUND == false then
  613. EFFECT:remove()
  614. else
  615. repeat Swait() until SOUND.Playing == false
  616. EFFECT:remove()
  617. end
  618. end
  619. end))
  620. end
  621.  
  622. function MakeForm(PART,TYPE)
  623. if TYPE == "Cyl" then
  624. local MSH = IT("CylinderMesh",PART)
  625. elseif TYPE == "Ball" then
  626. local MSH = IT("SpecialMesh",PART)
  627. MSH.MeshType = "Sphere"
  628. elseif TYPE == "Wedge" then
  629. local MSH = IT("SpecialMesh",PART)
  630. MSH.MeshType = "Wedge"
  631. end
  632. end
  633.  
  634. Debris = game:GetService("Debris")
  635.  
  636. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  637. local DIRECTION = CF(StartPos,EndPos).lookVector
  638. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  639. end
  640.  
  641. local HATWELD = nil
  642. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  643. PLAYMAINANIM = false
  644. if WhichPose == "Cast1" then
  645. for i=0, Time, 0.1 / Animation_Speed do
  646. Swait()
  647. if Magic == true then
  648. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  649. end
  650. if Gyro ~= nil and Gyro ~= false then
  651. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  652. end
  653. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  655. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  656. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  657. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  658. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  659. end
  660. elseif WhichPose == "Cast2" then
  661. for i=0, Time, 0.1 / Animation_Speed do
  662. Swait()
  663. if Magic == true then
  664. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  665. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  666. end
  667. if Gyro ~= nil and Gyro ~= false then
  668. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  669. end
  670. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  671. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  672. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  673. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  674. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  675. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  676. end
  677. elseif WhichPose == "RightArmUp" then
  678. for i=0, Time, 0.1 / Animation_Speed do
  679. Swait()
  680. if Magic == true then
  681. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  682. end
  683. if Gyro ~= nil and Gyro ~= false then
  684. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  685. end
  686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  692. end
  693. elseif WhichPose == "Taunt" then
  694. for i=0, Time, 0.1 / Animation_Speed do
  695. Swait()
  696. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  697. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  698. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  699. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  700. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  701. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  702. end
  703. HATWELD.Part0 = RightArm
  704. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  705. CreateSound(137473066,Torso,10,1,false)
  706. for i=0, Time*2, 0.1 / Animation_Speed do
  707. Swait()
  708. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  709. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  710. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  711. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  712. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  713. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  714. end
  715. for i=0, Time, 0.1 / Animation_Speed do
  716. Swait()
  717. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  718. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  720. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  721. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  722. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  723. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  724. end
  725. HATWELD.Part0 = Head
  726. HATWELD.C0 = CF(0,0.35,0)
  727. elseif WhichPose == "Prepare key" then
  728. for i=0, Time, 0.1 / Animation_Speed do
  729. Swait()
  730. if Gyro ~= nil and Gyro ~= false then
  731. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  732. end
  733. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  734. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  737. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  738. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  739. end
  740. elseif WhichPose == "Turn key" then
  741. for i=0, Time, 0.1 / Animation_Speed do
  742. Swait()
  743. if Gyro ~= nil and Gyro ~= false then
  744. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  745. end
  746. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  747. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  749. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  750. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  751. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  752. end
  753. end
  754. PLAYMAINANIM = true
  755. end
  756.  
  757. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  758. function Lightning(Table)
  759. local Color = Table.Color or C3(1,1,1)
  760. local StartPos = Table.Start or Torso.Position
  761. local EndPos = Table.End or Mouse.Hit.p
  762. local SegmentLength = Table.SegmentL or 2
  763. local Thickness = Table.Thickness or 0.1
  764. local Dissapear = Table.DoesFade or false
  765. local Parent = Table.Ignore or Character
  766. local MaxDist = Table.MaxDist or 400
  767. local Branches = Table.Branches or false
  768. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  769. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  770. local LIGHTNINGMODEL = IT("Model",Effects)
  771. LIGHTNINGMODEL.Name = "Lightning"
  772. local LastBolt = nil
  773. for E = 1, DISTANCE do
  774. local ExtraSize = (DISTANCE-E)/15
  775. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  776. PART.Color = Color
  777. MakeForm(PART,"Cyl")
  778. if LastBolt == nil then
  779. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  780. else
  781. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  782. end
  783. LastBolt = PART
  784. if Branches == true then
  785. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  786. if CHOICE == 1 then
  787. local LASTBRANCH = nil
  788. for i = 1, MRANDOM(2,5) do
  789. local ExtraSize2 = ((DISTANCE-E)/25)/i
  790. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  791. PART.Color = Color
  792. MakeForm(PART,"Cyl")
  793. if LASTBRANCH == nil then
  794. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  795. else
  796. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  797. end
  798. LASTBRANCH = PART
  799. end
  800. end
  801. end
  802. end
  803. if Dissapear == true then
  804. coroutine.resume(coroutine.create(function()
  805. for i = 1, 10 do
  806. Swait()
  807. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  808. if c.ClassName == "Part" then
  809. c.Transparency = i/10
  810. end
  811. end
  812. end
  813. LIGHTNINGMODEL:remove()
  814. end))
  815. elseif Dissapear == false then
  816. Debris:AddItem(LIGHTNINGMODEL,0.1)
  817. end
  818. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  819. end
  820.  
  821. --//=================================\\
  822. --|| WEAPON CREATION
  823. --\\=================================//
  824.  
  825. for i = 1, 15 do
  826. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  827. FACE.Color = C3(0,0,0)
  828. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  829. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  830. end
  831. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2,0.2,2),false)
  832. MakeForm(HAT1,"Cyl")
  833. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  834. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2.01,0.15,2.01),false)
  835. BELT.Color = C3(15/255,15/255,15/255)
  836. MakeForm(BELT,"Cyl")
  837. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  838. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,2.2,1.3),false)
  839. MakeForm(HAT2,"Cyl")
  840. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  841. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.2,1.31),false)
  842. BELT.Color = C3(15/255,15/255,15/255)
  843. MakeForm(BELT,"Cyl")
  844. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  845. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  846. MakeForm(GEM,"Ball")
  847. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  848. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  849. MakeForm(GEM,"Ball")
  850. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  851. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  852. MakeForm(GEM,"Ball")
  853. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  854. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  855. MakeForm(GEM,"Ball")
  856. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  857. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  858. BELT.Color = C3(15/255,15/255,15/255)
  859. MakeForm(BELT,"Cyl")
  860. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  861. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  862. BELT.Color = C3(15/255,15/255,15/255)
  863. MakeForm(BELT,"Cyl")
  864. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  865. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  866. BELT.Color = C3(15/255,15/255,15/255)
  867. MakeForm(BELT,"Cyl")
  868. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  869. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  870. BELT.Color = C3(15/255,15/255,15/255)
  871. MakeForm(BELT,"Cyl")
  872. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  873. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,0.5,1.3),false)
  874. MakeForm(BELT,"Ball")
  875. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  876. Humanoid.DisplayDistanceType = "None"
  877.  
  878. local Particle = IT("ParticleEmitter",nil)
  879. Particle.Enabled = false
  880. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  881. Particle.LightEmission = 0.5
  882. Particle.Rate = 150
  883. Particle.ZOffset = 0.2
  884. Particle.Rotation = NumberRange.new(-180, 180)
  885. Particle.RotSpeed = NumberRange.new(-180, 180)
  886. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  887. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  888. local Particle2 = IT("ParticleEmitter",nil)
  889. Particle2.Enabled = false
  890. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  891. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  892. Particle2.LightEmission = 0
  893. Particle2.RotSpeed = NumberRange.new(0, 180)
  894. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  895. Particle2.LightEmission = 1
  896. Particle2.Rate = 20
  897. Particle2.RotSpeed = NumberRange.new(-20, 20)
  898. local Particle3 = IT("ParticleEmitter",nil)
  899. Particle3.Enabled = false
  900. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  901. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  902. Particle3.LightEmission = 0
  903. Particle3.RotSpeed = NumberRange.new(0, 180)
  904. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  905. Particle3.LightEmission = 1
  906. Particle3.Rate = 20
  907. Particle3.RotSpeed = NumberRange.new(-20, 20)
  908. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  909. function ParticleEmitter(Table)
  910. local PRTCL = Particle:Clone()
  911. local Speed = Table.Speed or 5
  912. local Drag = Table.Drag or 0
  913. local Size1 = Table.Size1 or 1
  914. local Size2 = Table.Size2 or 5
  915. local Lifetime1 = Table.Lifetime1 or 1
  916. local Lifetime2 = Table.Lifetime2 or 1.5
  917. local Parent = Table.Parent or Torso
  918. local Emit = Table.Emit or 100
  919. local Offset = Table.Offset or 360
  920. local Acel = Table.Acel or VT(0,0,0)
  921. local Enabled = Table.Enabled or false
  922. PRTCL.Parent = Parent
  923. PRTCL.Size = NumberSequence.new(Size1,Size2)
  924. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  925. PRTCL.Speed = NumberRange.new(Speed)
  926. PRTCL.VelocitySpread = Offset
  927. PRTCL.Drag = Drag
  928. PRTCL.Acceleration = Acel
  929. if Enabled == false then
  930. PRTCL:Emit(Emit)
  931. Debris:AddItem(PRTCL,Lifetime2)
  932. else
  933. PRTCL.Enabled = true
  934. end
  935. return PRTCL
  936. end
  937. function ParticleEmitter2(Table)
  938. local PRTCL2 = Particle2:Clone()
  939. local LockedToPart = Table.LTP or true
  940. local Speed = Table.Speed or 0
  941. local Drag = Table.Drag or 0
  942. local Size1 = Table.Size1 or 1
  943. local Size2 = Table.Size2 or 2
  944. local Lifetime1 = Table.Lifetime1 or 1
  945. local Lifetime2 = Table.Lifetime2 or 1
  946. local Parent = Table.Parent or Torso
  947. local Emit = Table.Emit or 100
  948. local Offset = Table.Offset or 360
  949. local Acel = Table.Acel or VT(0,0,0)
  950. local Enabled = Table.Enabled or false
  951. PRTCL2.Parent = Parent
  952. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  953. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  954. PRTCL2.Speed = NumberRange.new(Speed)
  955. PRTCL2.VelocitySpread = Offset
  956. PRTCL2.Drag = Drag
  957. PRTCL2.Acceleration = Acel
  958. PRTCL2.Parent = Parent
  959. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  960. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  961. PRTCL2.Speed = NumberRange.new(Speed)
  962. PRTCL2.VelocitySpread = Offset
  963. PRTCL2.Drag = Drag
  964. PRTCL2.Acceleration = Acel
  965. PRTCL2.LockedToPart = true
  966. if Enabled == false then
  967. PRTCL2:Emit(Emit)
  968. Debris:AddItem(PRTCL2,Lifetime2)
  969. else
  970. PRTCL2.Enabled = true
  971. end
  972. return PRTCL2
  973. end
  974. function ParticleEmitter3(Table)
  975. local PRTCL3 = Particle2:Clone()
  976. local Speed = Table.Speed or 0
  977. local Drag = Table.Drag or 0
  978. local Size1 = Table.Size1 or 1
  979. local Size2 = Table.Size2 or 2
  980. local Lifetime1 = Table.Lifetime1 or 1
  981. local Lifetime2 = Table.Lifetime2 or 1
  982. local Parent = Table.Parent or Torso
  983. local Emit = Table.Emit or 100
  984. local Offset = Table.Offset or 0
  985. local Acel = Table.Acel or VT(0,0,0)
  986. local Enabled = Table.Enabled or false
  987. PRTCL3.Parent = Parent
  988. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  989. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  990. PRTCL3.Speed = NumberRange.new(Speed)
  991. PRTCL3.VelocitySpread = Offset
  992. PRTCL3.Drag = Drag
  993. PRTCL3.Acceleration = Acel
  994. PRTCL3.Parent = Parent
  995. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  996. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  997. PRTCL3.Speed = NumberRange.new(Speed)
  998. PRTCL3.VelocitySpread = Offset
  999. PRTCL3.Drag = Drag
  1000. PRTCL3.Acceleration = Acel
  1001. if Enabled == false then
  1002. PRTCL3:Emit(Emit)
  1003. Debris:AddItem(PRTCL3,Lifetime2)
  1004. else
  1005. PRTCL3.Enabled = true
  1006. end
  1007. return PRTCL3
  1008. end
  1009.  
  1010. local Weapon1 = IT("Model")
  1011. Weapon1.Name = "Pistol"
  1012.  
  1013. local Handle = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1014. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1015. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1016. MakeForm(Part,"Wedge")
  1017. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1018. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1019. MakeForm(Part,"Wedge")
  1020. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1021. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1022. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1023. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1024. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1025. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1026. MakeForm(Part,"Cyl")
  1027. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1028. for i = 1, 8 do
  1029. local Piece = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1030. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1031. end
  1032. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1033. MakeForm(Part,"Cyl")
  1034. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1035. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1036. MakeForm(Part,"Ball")
  1037. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1038. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1039. MakeForm(Part,"Wedge")
  1040. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1041. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1042. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1043. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1044. MakeForm(Part,"Cyl")
  1045. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1046. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1047. MakeForm(Part,"Cyl")
  1048. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1049. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1050. MakeForm(Part,"Cyl")
  1051. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1052. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1053. MakeForm(Part,"Wedge")
  1054. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1055. local LASTPART = Handle
  1056. for i = 1, 10 do
  1057. if LASTPART == Handle then
  1058. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1059. LASTPART = Part
  1060. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1061. else
  1062. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1063. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1064. LASTPART = Part
  1065. end
  1066. end
  1067.  
  1068. local Barrel = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1069. MakeForm(Barrel,"Cyl")
  1070. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1071. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1072. MakeForm(Part,"Cyl")
  1073. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1074. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1075. MakeForm(Part,"Wedge")
  1076. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1077. local Hole = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1078. MakeForm(Hole,"Cyl")
  1079. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1080. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1081. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1082. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1083. local Part = CreatePart(3, Weapon1, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1084. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1085. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1086. coroutine.resume(coroutine.create(function()
  1087. while wait() do
  1088. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1089. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1090. end
  1091. end))
  1092. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  1093. --[[
  1094. YEAH BOIIIIIIIII
  1095. PARTICLE TIME
  1096. --]]
  1097. 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)})
  1098. --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  1099. 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)})
  1100. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1101. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1102. --Trails
  1103. local A1 = Instance.new("Attachment",Barrel)
  1104. local A2 = Instance.new("Attachment",Barrel)
  1105. local Trail = Instance.new("Trail",Barrel)
  1106. A1.Position = Vector3.new(0,1,0)
  1107. A2.Position = Vector3.new(0,-0.8,0)
  1108. Trail.Attachment0 = A1
  1109. Trail.Attachment1 = A2
  1110. Trail.LightEmission = 1
  1111. Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
  1112. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1113. for _, c in pairs(Weapon1:GetDescendants()) do
  1114. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1115. c.Material = "Glass"
  1116. c.Color = C3(0,0,0)
  1117. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1118. c.Color = C3(0,0,1)
  1119. c.Material = "Neon"
  1120. end
  1121. end
  1122.  
  1123. local TOBANISH = {}
  1124.  
  1125. Weapon1.Parent = Character
  1126. for _, c in pairs(Weapon1:GetChildren()) do
  1127. if c.ClassName == "Part" then
  1128. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1129. end
  1130. end
  1131.  
  1132. local SKILLTEXTCOLOR = C3(0,0,1)
  1133. local SKILLFONT = "Antique"
  1134. local SKILLTEXTSIZE = 7
  1135.  
  1136. Humanoid.Died:connect(function()
  1137. ATTACK = true
  1138. end)
  1139.  
  1140. 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")
  1141. --[[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")
  1142. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1143. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1144. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1145. --]]
  1146. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1147. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1148. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1149. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1150. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1151. --]]
  1152. function printbye(Name)
  1153. 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, "}
  1154. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1155.  
  1156. end
  1157.  
  1158. workspace.ChildAdded:connect(function(instance)
  1159. for BANISH = 1, #TOBANISH do
  1160. if TOBANISH[BANISH] ~= nil then
  1161. if instance.Name == TOBANISH[BANISH] then
  1162. coroutine.resume(coroutine.create(function()
  1163. printbye(instance.Name)
  1164. instance:ClearAllChildren()
  1165. Debris:AddItem(instance,0.0005)
  1166. end))
  1167. end
  1168. end
  1169. end
  1170. end)
  1171.  
  1172. local Char = Character
  1173. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1174. MakeForm(Eye,"Ball")
  1175. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1176. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1177. MakeForm(Eye,"Ball")
  1178. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1179. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1180. MakeForm(Eye,"Ball")
  1181. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1182. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1183. MakeForm(Eye,"Ball")
  1184. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1185.  
  1186. local top = Instance.new("Shirt")
  1187. top.ShirtTemplate = "rbxassetid://1533327933"
  1188. top.Parent = Character
  1189. top.Name = "Cloth"
  1190. local bottom = Instance.new("Pants")
  1191. bottom.PantsTemplate = "rbxassetid://1689251873"
  1192. bottom.Parent = Character
  1193. bottom.Name = "Cloth"
  1194. for _, c in pairs(Character:GetChildren()) do
  1195. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1196. c.Material = "Neon"
  1197. if c:FindFirstChildOfClass("ParticleEmitter") then
  1198. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1199. end
  1200. c.Color = C3(1,1,1)
  1201. if c == Head then
  1202. if c:FindFirstChild("face") then
  1203. c.face:remove()
  1204. end
  1205. end
  1206. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1207. c:remove()
  1208. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1209. c:remove()
  1210. end
  1211. end
  1212. local BODY = {}
  1213. for _, c in pairs(Character:GetDescendants()) do
  1214. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1215. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1216. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1217. end
  1218. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1219. elseif c:IsA("JointInstance") then
  1220. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1221. end
  1222. end
  1223. for e = 1, #BODY do
  1224. if BODY[e] ~= nil then
  1225. local STUFF = BODY[e]
  1226. local PART = STUFF[1]
  1227. local PARENT = STUFF[2]
  1228. local MATERIAL = STUFF[3]
  1229. local COLOR = STUFF[4]
  1230. local TRANSPARENCY = STUFF[5]
  1231. if PART.ClassName == "Part" and PART ~= RootPart then
  1232. PART.Material = MATERIAL
  1233. PART.Color = COLOR
  1234. PART.Transparency = TRANSPARENCY
  1235. end
  1236. PART.AncestryChanged:Connect(function()
  1237. PART.Parent = PARENT
  1238. end)
  1239. end
  1240. end
  1241. function refit()
  1242. Character.Parent = workspace
  1243. for e = 1, #BODY do
  1244. if BODY[e] ~= nil then
  1245. local STUFF = BODY[e]
  1246. local PART = STUFF[1]
  1247. local PARENT = STUFF[2]
  1248. local MATERIAL = STUFF[3]
  1249. local COLOR = STUFF[4]
  1250. local TRANSPARENCY = STUFF[5]
  1251. if PART.ClassName == "Part" and PART ~= RootPart then
  1252. PART.Material = MATERIAL
  1253. PART.Color = COLOR
  1254. PART.Transparency = TRANSPARENCY
  1255. end
  1256. if PART.Parent ~= PARENT then
  1257. Humanoid:remove()
  1258. PART.Parent = PARENT
  1259. Humanoid = IT("Humanoid",Character)
  1260. end
  1261. end
  1262. end
  1263. end
  1264. local SKILLTEXTCOLOR = BRICKC"".Color
  1265. local SKILLFONT = "Bodoni"
  1266. local SKILLTEXTSIZE = 7
  1267.  
  1268. Humanoid.Died:connect(function()
  1269. refit()
  1270. end)
  1271.  
  1272.  
  1273. --//=================================\\
  1274. --|| DAMAGING
  1275. --\\=================================//
  1276.  
  1277. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1278. local CHILDREN = workspace:GetDescendants()
  1279. for index, CHILD in pairs(CHILDREN) do
  1280. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1281. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1282. if HUM then
  1283. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1284. if TORSO then
  1285. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1286. CHILD:BreakJoints()
  1287. if FLING ~= 0 then
  1288. for _, c in pairs(CHILD:GetChildren()) do
  1289. if c:IsA("BasePart") and c.Transparency == 0 then
  1290. if BURN == true then
  1291. Fire(c)
  1292. end
  1293. local bv = Instance.new("BodyVelocity")
  1294. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1295. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1296. bv.Parent = c
  1297. Debris:AddItem(bv,0.05)
  1298. end
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304. end
  1305. end
  1306. end
  1307.  
  1308. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1309. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1310. local mesh = IT("SpecialMesh", wave)
  1311. mesh.MeshType = "Sphere"
  1312. mesh.Scale = SIZE
  1313. mesh.Offset = VT(0, 0, 0)
  1314. wave.CFrame = CFRAME
  1315. coroutine.resume(coroutine.create(function(PART)
  1316. for i = 1, WAIT do
  1317. Swait()
  1318. mesh.Scale = mesh.Scale + GROW
  1319. wave.Transparency = wave.Transparency + 1 / WAIT
  1320. if wave.Transparency > 0.99 then
  1321. wave:remove()
  1322. end
  1323. end
  1324. end))
  1325. end
  1326.  
  1327. function CastWarpOutlines(TARGET)
  1328. coroutine.resume(coroutine.create(function()
  1329. local T = TARGET:GetChildren()
  1330. for i = 1, #T do
  1331. local child = T[i]
  1332. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1333. do
  1334. local clone = child:Clone()
  1335. clone.Parent = Effects
  1336. clone.Anchored = true
  1337. clone.CanCollide = false
  1338. clone:ClearAllChildren()
  1339. clone.CFrame = child.CFrame
  1340. if clone.Name == "Head" then
  1341. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  1342. end
  1343. if clone.ClassName == "MeshPart" then
  1344. clone.TextureID = ""
  1345. end
  1346. clone.Color = C3(1, 0, 0)
  1347. clone.Material = "Neon"
  1348. coroutine.resume(coroutine.create(function()
  1349. for i = 1, 100 do
  1350. Swait()
  1351. clone.Transparency = clone.Transparency + 0.01
  1352. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  1353. end
  1354. clone:remove()
  1355. end))
  1356. end
  1357. end
  1358. end
  1359. end))
  1360. end
  1361.  
  1362. local Delete = IT("Model", Character)
  1363. Delete.Name = "Those who must be banished."
  1364.  
  1365. function killnearest(position, range, maxstrength)
  1366. for i, v in ipairs(workspace:GetChildren()) do
  1367. local body = v:GetChildren()
  1368. for part = 1, #body do
  1369. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  1370. CastWarpOutlines(v)
  1371. v:remove()
  1372. if game.Players:FindFirstChild(v.Name) then
  1373. local Value = IT("BoolValue", Delete)
  1374. Value.Name = v.Name
  1375. end
  1376. end
  1377. end
  1378. end
  1379. end
  1380.  
  1381. function Kill(Char)
  1382. local NewCharacter = IT("Model",Effects)
  1383. NewCharacter.Name = "Ow im ded ;-;"
  1384. for _, c in pairs(Char:GetDescendants()) do
  1385. if c:IsA("BasePart") and c.Transparency == 0 then
  1386. if c.Parent == Char then
  1387. getbloody(c,5)
  1388. end
  1389. c:BreakJoints()
  1390. c.Material = "Glass"
  1391. c.Color = C3(0.5,0,0)
  1392. c.CanCollide = true
  1393. c.Transparency = 0.3
  1394. if c:FindFirstChildOfClass("SpecialMesh") then
  1395. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1396. end
  1397. if c.Name == "Head" then
  1398. c:ClearAllChildren()
  1399. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1400. end
  1401. if c.ClassName == "MeshPart" then
  1402. c.TextureID = ""
  1403. end
  1404. if c:FindFirstChildOfClass("BodyPosition") then
  1405. c:FindFirstChildOfClass("BodyPosition"):remove()
  1406. end
  1407. if c:FindFirstChildOfClass("ParticleEmitter") then
  1408. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1409. end
  1410. c.Parent = NewCharacter
  1411. c.Name = "DeadPart"
  1412. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1413. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1414. end
  1415. end
  1416. Char:remove()
  1417. Debris:AddItem(NewCharacter,5)
  1418. end
  1419.  
  1420. local asd = Instance.new("ParticleEmitter")
  1421. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1422. asd.LightEmission = .1
  1423. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1424. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1425. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1426. asd.Transparency = bbb
  1427. asd.Size = aaa
  1428. asd.ZOffset = .9
  1429. asd.Acceleration = Vector3.new(0, -15, 0)
  1430. asd.LockedToPart = false
  1431. asd.EmissionDirection = "Back"
  1432. asd.Lifetime = NumberRange.new(1, 2)
  1433. asd.Rotation = NumberRange.new(-100, 100)
  1434. asd.RotSpeed = NumberRange.new(-100, 100)
  1435. asd.Speed = NumberRange.new(10)
  1436. asd.Enabled = false
  1437. asd.VelocitySpread = 999
  1438.  
  1439. function getbloody(victim,amount)
  1440. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1441. PART.CFrame = victim.CFrame
  1442. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1443. Debris:AddItem(PART,5)
  1444. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1445. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1446. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1447. local prtcl = asd:Clone()
  1448. prtcl.Parent = PART
  1449. prtcl:Emit(amount*10)
  1450. end
  1451. --//=================================\\
  1452. --|| ATTACK FUNCTIONS AND STUFF
  1453. --\\=================================//
  1454. local LAUGHS = {834001699,834001752,834001797,834001828}
  1455.  
  1456. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1457. MakeForm(RightHole,"Cyl")
  1458. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1459. MakeForm(LeftHole,"Cyl")
  1460.  
  1461. function Deathbound()
  1462. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1463. ATTACK = true
  1464. Rooted = true
  1465. for i=0, 1, 0.1 / Animation_Speed do
  1466. Swait()
  1467. 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)
  1468. 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)
  1469. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1470. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1471. 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)
  1472. 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)
  1473. end
  1474. local DONE = false
  1475. local GATE = nil
  1476. local GATESPIN = true
  1477. coroutine.resume(coroutine.create(function()
  1478. repeat
  1479. Swait()
  1480. if GATE ~= nil then
  1481. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1482. end
  1483. until GATESPIN == false
  1484. end))
  1485. coroutine.resume(coroutine.create(function()
  1486. repeat
  1487. Swait()
  1488. 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)
  1489. 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)
  1490. 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)
  1491. 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)
  1492. 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)
  1493. 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)
  1494. until DONE == true
  1495. Swait(50)
  1496. for i = 1, 35 do
  1497. Swait(4)
  1498. local FIRED = false
  1499. local CHILDREN = workspace:GetDescendants()
  1500. for index, CHILD in pairs(CHILDREN) do
  1501. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1502. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1503. if HUM then
  1504. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1505. if TORSO then
  1506. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1507. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1508. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1509. 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})
  1510. 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})
  1511. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1512. Kill(CHILD)
  1513. FIRED = true
  1514. break
  1515. end
  1516. end
  1517. end
  1518. end
  1519. end
  1520. if FIRED == false then
  1521. 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)))
  1522. 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})
  1523. 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})
  1524. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1525. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1526. if HITBOD ~= nil then
  1527. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1528. killnearest(HITBOD.Parent)
  1529. end
  1530. end
  1531. end
  1532. end
  1533. for i = 1, 45 do
  1534. Swait()
  1535. GATE.Size = GATE.Size - VT(3,0,3)
  1536. end
  1537. GATESPIN = false
  1538. GATE:remove()
  1539. end))
  1540. Swait(15)
  1541. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1542. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1543. local DECAL = IT("Decal",GATE)
  1544. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1545. DECAL.Face = "Top"
  1546. GATE.CFrame = CF(HITPOS)
  1547. CreateSound(160772554, GATE, 7, 1.3, false)
  1548. for i = 1, 45 do
  1549. Swait()
  1550. GATE.Size = GATE.Size + VT(3,0,3)
  1551. end
  1552. CreateSound(213603013, RightHole, 7, 1, false)
  1553. CreateSound(213603013, LeftHole, 7, 1, false)
  1554. 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})
  1555. 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})
  1556. ATTACK = false
  1557. Rooted = false
  1558. DONE = true
  1559. end
  1560.  
  1561. function Morning_Star()
  1562. ATTACK = true
  1563. Rooted = true
  1564. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1565. for i=0, 1, 0.1 / Animation_Speed do
  1566. Swait()
  1567. 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)
  1568. 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)
  1569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1571. 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)
  1572. 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)
  1573. end
  1574. coroutine.resume(coroutine.create(function()
  1575. local POS = Mouse.Hit.p
  1576. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,2000,0))
  1577. MakeForm(RAY,"Cyl")
  1578. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,0,0))
  1579. MakeForm(SPHERE,"Ball")
  1580. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Strike", VT(0,0,0))
  1581. MakeForm(SHIELD,"Ball")
  1582. SHIELD.CFrame = CF(POS)
  1583. RAY.CFrame = CF(POS)
  1584. SPHERE.CFrame = CF(POS)
  1585. CreateSound(144699494, SPHERE, 10, 0.8, false)
  1586. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1587. for i = 1, 200 do
  1588. Swait()
  1589. 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(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1590. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1591. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1592. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1593. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1594. end
  1595. for i = 1, 45 do
  1596. Swait()
  1597. RAY.Transparency = RAY.Transparency + 1/45
  1598. SPHERE.Transparency = RAY.Transparency
  1599. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1600. end
  1601. RAY:remove()
  1602. SHIELD:remove()
  1603. SPHERE:remove()
  1604. end))
  1605. for i=0, 1, 0.1 / Animation_Speed do
  1606. Swait()
  1607. 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)
  1608. 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)
  1609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1611. 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)
  1612. 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)
  1613. end
  1614. ATTACK = false
  1615. Rooted = false
  1616. end
  1617.  
  1618. function Teleport()
  1619. ATTACK = true
  1620. Rooted = false
  1621. for i=0, 0.5, 0.1 / Animation_Speed do
  1622. Swait()
  1623. 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)
  1624. 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)
  1625. end
  1626. for e = 1, #BODY do
  1627. if BODY[e] ~= nil then
  1628. local STUFF = BODY[e]
  1629. local PART = STUFF[1]
  1630. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1631. local PRT = PART:Clone()
  1632. PRT.Anchored = true
  1633. PRT.CanCollide = false
  1634. PRT.Material = "Neon"
  1635. PRT.Color = C3(0,0,1)
  1636. PRT.Name = "WarpEffect"
  1637. PRT.Parent = Effects
  1638. PRT.CFrame = PART.CFrame
  1639. PRT:BreakJoints()
  1640. if PRT:FindFirstChildOfClass("Sound") then
  1641. PRT:FindFirstChildOfClass("Sound"):remove()
  1642. end
  1643. if PRT:FindFirstChildOfClass("Decal") then
  1644. PRT:FindFirstChildOfClass("Decal"):remove()
  1645. end
  1646. coroutine.resume(coroutine.create(function()
  1647. for i = 1, 100 do
  1648. Swait()
  1649. PRT.Transparency = PRT.Transparency + 1/100
  1650. end
  1651. PRT:remove()
  1652. end))
  1653. end
  1654. end
  1655. end
  1656. CreateSound(217767125, Torso, 10, 1)
  1657. local POS = RootPart.Orientation
  1658. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1659. RootPart.Orientation = POS
  1660. RootJoint.Parent = RootPart
  1661. for i=0, 0.5, 0.1 / Animation_Speed do
  1662. Swait()
  1663. 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)
  1664. 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)
  1665. end
  1666. for i=0, 0.1, 0.1 / Animation_Speed do
  1667. Swait()
  1668. 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)
  1669. end
  1670. ATTACK = false
  1671. Rooted = false
  1672. end
  1673.  
  1674. function turnto(position)
  1675. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1676. end
  1677.  
  1678. function Banish(Foe)
  1679. if Foe then
  1680. coroutine.resume(coroutine.create(function()
  1681. --if game.Players:FindFirstChild(Foe.Name) then
  1682. table.insert(TOBANISH,Foe.Name)
  1683. printbye(Foe.Name)
  1684. --end
  1685. Foe.Archivable = true
  1686. local CLONE = Foe:Clone()
  1687. Foe:Destroy()
  1688. CLONE.Parent = Effects
  1689. CLONE:BreakJoints()
  1690. local MATERIALS = {"Glass","Neon"}
  1691. for _, c in pairs(CLONE:GetDescendants()) do
  1692. if c:IsA("BasePart") then
  1693. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1694. CreateSound(340722848, c, 10, 1, false)
  1695. end
  1696. c.Anchored = true
  1697. c.Transparency = c.Transparency + 0.2
  1698. c.Material = MATERIALS[MRANDOM(1,2)]
  1699. c.Color = C3(0,0,255)
  1700. if c.ClassName == "MeshPart" then
  1701. c.TextureID = ""
  1702. end
  1703. if c:FindFirstChildOfClass("SpecialMesh") then
  1704. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1705. end
  1706. if c:FindFirstChildOfClass("Decal") then
  1707. c:FindFirstChildOfClass("Decal"):remove()
  1708. end
  1709. c.Name = "Banished"
  1710. c.CanCollide = false
  1711. else
  1712. c:remove()
  1713. end
  1714. end
  1715. local A = false
  1716. for i = 1, 35 do
  1717. if A == false then
  1718. A = true
  1719. elseif A == true then
  1720. A = false
  1721. end
  1722. for _, c in pairs(CLONE:GetDescendants()) do
  1723. if c:IsA("BasePart") then
  1724. c.Anchored = true
  1725. c.Material = MATERIALS[MRANDOM(1,2)]
  1726. c.Transparency = c.Transparency + 0.8/35
  1727. if A == false then
  1728. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1729. elseif A == true then
  1730. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1731. end
  1732. end
  1733. end
  1734. Swait()
  1735. end
  1736. CLONE:remove()
  1737. end))
  1738. end
  1739. end
  1740.  
  1741. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1742. local CHILDREN = workspace:GetDescendants()
  1743. for index, CHILD in pairs(CHILDREN) do
  1744. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1745. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1746. if HUM then
  1747. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1748. if TORSO then
  1749. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1750. if ISBANISH == true then
  1751. Banish(CHILD)
  1752. else
  1753. if ISBANISH == "Gravity" then
  1754. HUM.PlatformStand = true
  1755. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1756. local grav = Instance.new("BodyPosition",TORSO)
  1757. grav.D = 15
  1758. grav.P = 20000
  1759. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1760. grav.position = TORSO.Position
  1761. grav.Name = "V3BanishForce"..Player.Name
  1762. else
  1763. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1764. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1765. end
  1766. else
  1767. HUM.PlatformStand = false
  1768. end
  1769. end
  1770. elseif ISBANISH == "Gravity" then
  1771. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1772. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1773. HUM.PlatformStand = false
  1774. end
  1775. end
  1776. end
  1777. end
  1778. end
  1779. end
  1780. end
  1781.  
  1782. function SpawnTrail(FROM,TO,BIG)
  1783. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  1784. MakeForm(TRAIL,"Cyl")
  1785. local DIST = (FROM - TO).Magnitude
  1786. if BIG == true then
  1787. TRAIL.Size = VT(0.5,DIST,0.5)
  1788. else
  1789. TRAIL.Size = VT(0.25,DIST,0.25)
  1790. end
  1791. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1792. coroutine.resume(coroutine.create(function()
  1793. for i = 1, 5 do
  1794. Swait()
  1795. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1796. end
  1797. TRAIL:remove()
  1798. end))
  1799. end
  1800.  
  1801. function Banisher_Bullet()
  1802. ATTACK = true
  1803. Rooted = false
  1804. for i=0, 0.4, 0.1 / Animation_Speed do
  1805. Swait()
  1806. turnto(Mouse.Hit.p)
  1807. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1808. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1811. 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)
  1812. 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)
  1813. end
  1814. repeat
  1815. for i=0, 0.2, 0.1 / Animation_Speed do
  1816. Swait()
  1817. turnto(Mouse.Hit.p)
  1818. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1819. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1822. 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)
  1823. 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)
  1824. end
  1825. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1826. SpawnTrail(Hole.Position,POS)
  1827. if HIT ~= nil then
  1828. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1829. Banish(HIT.Parent)
  1830. end
  1831. end
  1832. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1833. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1834. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1835. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1836. for i=0, 0.3, 0.1 / Animation_Speed do
  1837. Swait()
  1838. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1839. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1842. 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)
  1843. 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)
  1844. end
  1845. until KEYHOLD == false
  1846. ATTACK = false
  1847. Rooted = false
  1848. end
  1849.  
  1850. function Hat()
  1851. ATTACK = true
  1852. Rooted = false
  1853. Pose("Taunt",0.4,1.2,false)
  1854. ATTACK = false
  1855. Rooted = false
  1856. end
  1857.  
  1858. --//=================================\\
  1859. --|| ASSIGN THINGS TO KEYS
  1860. --\\=================================//
  1861.  
  1862. function MouseDown(Mouse)
  1863. HOLD = true
  1864. if ATTACK == false then
  1865. end
  1866. end
  1867.  
  1868. function MouseUp(Mouse)
  1869. HOLD = false
  1870. end
  1871.  
  1872. function KeyDown(Key)
  1873. KEYHOLD = true
  1874. if Key == "z" and ATTACK == false then
  1875. Banisher_Bullet()
  1876. end
  1877. if Key == "q" and ATTACK == false then
  1878. Teleport()
  1879. end
  1880. if Key == "x" and ATTACK == false then
  1881. Morning_Star()
  1882. end
  1883. if Key == "c" and ATTACK == false then
  1884. Deathbound()
  1885. end
  1886. if Key == "t" and ATTACK == false then
  1887. Hat()
  1888. end
  1889. end
  1890.  
  1891. function KeyUp(Key)
  1892. KEYHOLD = false
  1893. end
  1894.  
  1895. Mouse.Button1Down:connect(function(NEWKEY)
  1896. MouseDown(NEWKEY)
  1897. end)
  1898. Mouse.Button1Up:connect(function(NEWKEY)
  1899. MouseUp(NEWKEY)
  1900. end)
  1901. Mouse.KeyDown:connect(function(NEWKEY)
  1902. KeyDown(NEWKEY)
  1903. end)
  1904. Mouse.KeyUp:connect(function(NEWKEY)
  1905. KeyUp(NEWKEY)
  1906. end)
  1907.  
  1908. --//=================================\\
  1909. --\\=================================//
  1910.  
  1911.  
  1912.  
  1913. function unanchor()
  1914. if UNANCHOR == true then
  1915. g = Character:GetChildren()
  1916. for i = 1, #g do
  1917. if g[i].ClassName == "Part" then
  1918. g[i].Anchored = false
  1919. end
  1920. end
  1921. end
  1922. end
  1923.  
  1924.  
  1925. --//=================================\\
  1926. --|| WRAP THE WHOLE SCRIPT UP
  1927. --\\=================================//
  1928.  
  1929. Humanoid.Changed:connect(function(Jump)
  1930. if Jump == "Jump" and (Disable_Jump == true) then
  1931. Humanoid.Jump = false
  1932. end
  1933. end)
  1934.  
  1935. while true do
  1936. Swait()
  1937. script.Parent = WEAPONGUI
  1938. Humanoid.Parent = Character
  1939. if Humanoid then
  1940. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1941. IDLEANIMATION:Play()
  1942. end
  1943. if ANIMATE.Parent == Character then
  1944. ANIMATE:Destroy()
  1945. end
  1946. SINE = SINE + CHANGE
  1947. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1948. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1949. Humanoid.HipHeight = 1
  1950. Humanoid.Name = "Warden"
  1951. Humanoid.PlatformStand = false
  1952. if PLAYMAINANIM == true then
  1953. if TORSOVELOCITY < 1 then
  1954. 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)
  1955. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1956. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1957. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1958. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1959. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1960. elseif TORSOVELOCITY > 1 then
  1961. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1962. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1965. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1966. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  1967. end
  1968. end
  1969. unanchor()
  1970. Humanoid.MaxHealth = "inf"
  1971. Humanoid.Health = "inf"
  1972. if Rooted == false then
  1973. Disable_Jump = false
  1974. Humanoid.WalkSpeed = Speed
  1975. elseif Rooted == true then
  1976. Disable_Jump = true
  1977. Humanoid.WalkSpeed = 0
  1978. end
  1979. for _, c in pairs(Character:GetChildren()) do
  1980. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1981. c.Material = "Neon"
  1982. if c:FindFirstChildOfClass("ParticleEmitter") then
  1983. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1984. end
  1985. c.Color = C3(1,1,1)
  1986. if c == Head then
  1987. if c:FindFirstChild("face") then
  1988. c.face:remove()
  1989. end
  1990. end
  1991. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1992. c:remove()
  1993. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1994. c:remove()
  1995. end
  1996. end
  1997. sick.SoundId = "rbxassetid://1567323605"
  1998. sick.Looped = true
  1999. sick.Pitch = 1
  2000. sick.Volume = 3
  2001. sick:Resume()
  2002. sick.Parent = Torso
  2003. refit()
  2004. if Head:FindFirstChildOfClass("Sound") then
  2005. Head:FindFirstChildOfClass("Sound"):remove()
  2006. end
  2007. end
  2008. game.Lighting.TimeOfDay = "00:00:00"
  2009. game.Lighting.FogEnd = 50
  2010. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  2011.  
  2012. --//=================================\\
  2013.  
  2014. --\\=================================//
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020. --//====================================================\\--
  2021. --|| END OF SCRIPT
  2022. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement