masterofdesires1

Untitled

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