Advertisement
pasterultimate22

wtf

Aug 24th, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.00 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. print("I hope this was a good edit for everyone. Orignial creator by adam222334II")
  6. warn("Idea was from my own mind. No help from anyone")
  7. print([[
  8. Many more things will be added in the future. This is just a DEMO version if i catch anyone using this in void i will quickly take actions thank you.
  9. Some moves are not showed on the screen so here's the missing moves :
  10. Click : Fire
  11. Y : Emote (Wave)
  12. P : Taunt 2
  13. G : UNBANISH
  14. ]])
  15.  
  16. wait(0.2)
  17.  
  18. Player = game:GetService("Players").LocalPlayer
  19. PlayerGui = Player.PlayerGui
  20. Cam = workspace.CurrentCamera
  21. Backpack = Player.Backpack
  22. Character = Player.Character
  23. Humanoid = Character.Humanoid
  24. Mouse = Player:GetMouse()
  25. RootPart = Character["HumanoidRootPart"]
  26. Torso = Character["Torso"]
  27. Head = Character["Head"]
  28. RightArm = Character["Right Arm"]
  29. LeftArm = Character["Left Arm"]
  30. RightLeg = Character["Right Leg"]
  31. LeftLeg = Character["Left Leg"]
  32. RootJoint = RootPart["RootJoint"]
  33. Neck = Torso["Neck"]
  34. RightShoulder = Torso["Right Shoulder"]
  35. LeftShoulder = Torso["Left Shoulder"]
  36. RightHip = Torso["Right Hip"]
  37. LeftHip = Torso["Left Hip"]
  38.  
  39. IT = Instance.new
  40. CF = CFrame.new
  41. VT = Vector3.new
  42. RAD = math.rad
  43. C3 = Color3.new
  44. UD2 = UDim2.new
  45. BRICKC = BrickColor.new
  46. ANGLES = CFrame.Angles
  47. EULER = CFrame.fromEulerAnglesXYZ
  48. COS = math.cos
  49. ACOS = math.acos
  50. SIN = math.sin
  51. ASIN = math.asin
  52. ABS = math.abs
  53. MRANDOM = math.random
  54. FLOOR = math.floor
  55.  
  56.  
  57. function swait(num)
  58. if num == 0 or num == nil then
  59. ArtificialHB.Event:wait()
  60. else
  61. for i = 0, num do
  62. ArtificialHB.Event:wait()
  63. end
  64. end
  65. end
  66.  
  67. function chatfunc(text)
  68. local chat = coroutine.wrap(function()
  69. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  70. Character:FindFirstChild("TalkingBillBoard"):destroy()
  71. end
  72. local Bill = Instance.new("BillboardGui",Character)
  73. Bill.Size = UDim2.new(0,100,0,40)
  74. Bill.StudsOffset = Vector3.new(0,5,0)
  75. Bill.Adornee = Character.Head
  76. Bill.Name = "TalkingBillBoard"
  77. local Hehe = Instance.new("TextLabel",Bill)
  78. Hehe.BackgroundTransparency = 1
  79. Hehe.BorderSizePixel = 0
  80. Hehe.Text = ""
  81. Hehe.Font = "Fantasy"
  82. Hehe.TextSize = 30
  83. Hehe.TextStrokeTransparency = 0
  84. Hehe.Size = UDim2.new(1,0,0.5,0)
  85. coroutine.resume(coroutine.create(function()
  86. while Hehe ~= nil do
  87. swait()
  88. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  89. Hehe.Rotation = math.random(-5,5)
  90. Hehe.TextColor3 = Color3.new(1,1,1)
  91. Hehe.TextStrokeColor3 = Color3.new(1,1,1)
  92. end
  93. end))
  94. for i = 1,string.len(text),1 do
  95. swait()
  96. Hehe.Text = string.sub(text,1,i)
  97. end
  98. swait(90)--Re[math.random(1, 93)]
  99. for i = 0, 1, .025 do
  100. swait()
  101. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  102. Hehe.TextStrokeTransparency = i
  103. Hehe.TextTransparency = i
  104. end
  105. Bill:Destroy()
  106. end)
  107. chat()
  108. end
  109.  
  110. function onChatted(msg)
  111. chatfunc(msg)
  112. end
  113.  
  114. Player.Chatted:connect(onChatted)
  115.  
  116. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  117.  
  118.  
  119. Player = game:GetService("Players").LocalPlayer
  120. PlayerGui = Player.PlayerGui
  121. Cam = workspace.CurrentCamera
  122. Backpack = Player.Backpack
  123. Character = Player.Character
  124. Humanoid = Character.Humanoid
  125. Mouse = Player:GetMouse()
  126. RootPart = Character["HumanoidRootPart"]
  127. Torso = Character["Torso"]
  128. Head = Character["Head"]
  129. RightArm = Character["Right Arm"]
  130. LeftArm = Character["Left Arm"]
  131. RightLeg = Character["Right Leg"]
  132. LeftLeg = Character["Left Leg"]
  133. RootJoint = RootPart["RootJoint"]
  134. Neck = Torso["Neck"]
  135. RightShoulder = Torso["Right Shoulder"]
  136. LeftShoulder = Torso["Left Shoulder"]
  137. RightHip = Torso["Right Hip"]
  138. LeftHip = Torso["Left Hip"]
  139. local sick = Instance.new("Sound",Character)
  140. sick.SoundId = "rbxassetid://1494340971"
  141. sick.Looped = true
  142. sick.Pitch = 1
  143. sick.Volume = 1
  144. sick:Play()
  145.  
  146. IT = Instance.new
  147. CF = CFrame.new
  148. VT = Vector3.new
  149. RAD = math.rad
  150. C3 = Color3.new
  151. UD2 = UDim2.new
  152. BRICKC = BrickColor.new
  153. ANGLES = CFrame.Angles
  154. EULER = CFrame.fromEulerAnglesXYZ
  155. COS = math.cos
  156. ACOS = math.acos
  157. SIN = math.sin
  158. ASIN = math.asin
  159. ABS = math.abs
  160. MRANDOM = math.random
  161. FLOOR = math.floor
  162.  
  163. --//=================================\\
  164. --|| USEFUL VALUES
  165. --\\=================================//
  166.  
  167. Animation_Speed = 2.7
  168. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  169. local Speed = 30
  170. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  171. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  172. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  173. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  174. local DAMAGEMULTIPLIER = 1
  175. local ANIM = "Idle"
  176. local ATTACK = false
  177. local EQUIPPED = false
  178. local HOLD = false
  179. local COMBO = 1
  180. local Rooted = false
  181. local SINE = 0
  182. local KEYHOLD = false
  183. local CHANGE = 2 / Animation_Speed
  184. local WALKINGANIM = false
  185. local VALUE1 = false
  186. local VALUE2 = false
  187. local ROBLOXIDLEANIMATION = IT("Animation")
  188. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  189. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  190. --ROBLOXIDLEANIMATION.Parent = Humanoid
  191. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  192. WEAPONGUI.Name = "Weapon GUI"
  193. local Effects = IT("Folder", Character)
  194. Effects.Name = "Effects"
  195. local ANIMATOR = Humanoid.Animator
  196. local ANIMATE = Character.Animate
  197. local UNANCHOR = true
  198. local PLAYMAINANIM = true
  199. local BOLTSOUNDS = {168586621,168586586,178452241}
  200.  
  201. --//=================================\\
  202. --\\=================================//
  203.  
  204.  
  205. --//=================================\\
  206. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  207. --\\=================================//
  208.  
  209. ArtificialHB = Instance.new("BindableEvent", script)
  210. ArtificialHB.Name = "ArtificialHB"
  211.  
  212. script:WaitForChild("ArtificialHB")
  213.  
  214. frame = Frame_Speed
  215. tf = 0
  216. allowframeloss = false
  217. tossremainder = false
  218. lastframe = tick()
  219. script.ArtificialHB:Fire()
  220.  
  221. game:GetService("RunService").Heartbeat:connect(function(s, p)
  222. tf = tf + s
  223. if tf >= frame then
  224. if allowframeloss then
  225. script.ArtificialHB:Fire()
  226. lastframe = tick()
  227. else
  228. for i = 1, math.floor(tf / frame) do
  229. script.ArtificialHB:Fire()
  230. end
  231. lastframe = tick()
  232. end
  233. if tossremainder then
  234. tf = 0
  235. else
  236. tf = tf - frame * math.floor(tf / frame)
  237. end
  238. end
  239. end)
  240.  
  241. --//=================================\\
  242. --\\=================================//
  243.  
  244. --//=================================\\
  245. --|| SOME FUNCTIONS
  246. --\\=================================//
  247.  
  248. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  249. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  250. end
  251.  
  252. function PositiveAngle(NUMBER)
  253. if NUMBER >= 0 then
  254. NUMBER = 0
  255. end
  256. return NUMBER
  257. end
  258.  
  259. function NegativeAngle(NUMBER)
  260. if NUMBER <= 0 then
  261. NUMBER = 0
  262. end
  263. return NUMBER
  264. end
  265.  
  266. function Swait(NUMBER)
  267. if NUMBER == 0 or NUMBER == nil then
  268. ArtificialHB.Event:wait()
  269. else
  270. for i = 1, NUMBER do
  271. ArtificialHB.Event:wait()
  272. end
  273. end
  274. end
  275.  
  276. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  277. local NEWMESH = IT(MESH)
  278. if MESH == "SpecialMesh" then
  279. NEWMESH.MeshType = MESHTYPE
  280. if MESHID ~= "nil" and MESHID ~= "" then
  281. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  282. end
  283. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  284. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  285. end
  286. end
  287. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  288. NEWMESH.Scale = SCALE
  289. NEWMESH.Parent = PARENT
  290. return NEWMESH
  291. end
  292.  
  293. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  294. local NEWPART = IT("Part")
  295. NEWPART.formFactor = FORMFACTOR
  296. NEWPART.Reflectance = REFLECTANCE
  297. NEWPART.Transparency = TRANSPARENCY
  298. NEWPART.CanCollide = false
  299. NEWPART.Locked = true
  300. NEWPART.Anchored = true
  301. if ANCHOR == false then
  302. NEWPART.Anchored = false
  303. end
  304. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  305. NEWPART.Name = NAME
  306. NEWPART.Size = SIZE
  307. NEWPART.Position = Torso.Position
  308. NEWPART.Material = MATERIAL
  309. NEWPART:BreakJoints()
  310. NEWPART.Parent = PARENT
  311. return NEWPART
  312. end
  313.  
  314. local function weldBetween(a, b)
  315. local weldd = Instance.new("ManualWeld")
  316. weldd.Part0 = a
  317. weldd.Part1 = b
  318. weldd.C0 = CFrame.new()
  319. weldd.C1 = b.CFrame:inverse() * a.CFrame
  320. weldd.Parent = a
  321. return weldd
  322. end
  323.  
  324.  
  325. function QuaternionFromCFrame(cf)
  326. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  327. local trace = m00 + m11 + m22
  328. if trace > 0 then
  329. local s = math.sqrt(1 + trace)
  330. local recip = 0.5 / s
  331. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  332. else
  333. local i = 0
  334. if m11 > m00 then
  335. i = 1
  336. end
  337. if m22 > (i == 0 and m00 or m11) then
  338. i = 2
  339. end
  340. if i == 0 then
  341. local s = math.sqrt(m00 - m11 - m22 + 1)
  342. local recip = 0.5 / s
  343. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  344. elseif i == 1 then
  345. local s = math.sqrt(m11 - m22 - m00 + 1)
  346. local recip = 0.5 / s
  347. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  348. elseif i == 2 then
  349. local s = math.sqrt(m22 - m00 - m11 + 1)
  350. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  351. end
  352. end
  353. end
  354.  
  355. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  356. local xs, ys, zs = x + x, y + y, z + z
  357. local wx, wy, wz = w * xs, w * ys, w * zs
  358. local xx = x * xs
  359. local xy = x * ys
  360. local xz = x * zs
  361. local yy = y * ys
  362. local yz = y * zs
  363. local zz = z * zs
  364. 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))
  365. end
  366.  
  367. function QuaternionSlerp(a, b, t)
  368. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  369. local startInterp, finishInterp;
  370. if cosTheta >= 0.0001 then
  371. if (1 - cosTheta) > 0.0001 then
  372. local theta = ACOS(cosTheta)
  373. local invSinTheta = 1 / SIN(theta)
  374. startInterp = SIN((1 - t) * theta) * invSinTheta
  375. finishInterp = SIN(t * theta) * invSinTheta
  376. else
  377. startInterp = 1 - t
  378. finishInterp = t
  379. end
  380. else
  381. if (1 + cosTheta) > 0.0001 then
  382. local theta = ACOS(-cosTheta)
  383. local invSinTheta = 1 / SIN(theta)
  384. startInterp = SIN((t - 1) * theta) * invSinTheta
  385. finishInterp = SIN(t * theta) * invSinTheta
  386. else
  387. startInterp = t - 1
  388. finishInterp = t
  389. end
  390. end
  391. 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
  392. end
  393.  
  394. function Clerp(a, b, t)
  395. local qa = {QuaternionFromCFrame(a)}
  396. local qb = {QuaternionFromCFrame(b)}
  397. local ax, ay, az = a.x, a.y, a.z
  398. local bx, by, bz = b.x, b.y, b.z
  399. local _t = 1 - t
  400. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  401. end
  402.  
  403. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  404. local frame = IT("Frame")
  405. frame.BackgroundTransparency = TRANSPARENCY
  406. frame.BorderSizePixel = BORDERSIZEPIXEL
  407. frame.Position = POSITION
  408. frame.Size = SIZE
  409. frame.BackgroundColor3 = COLOR
  410. frame.BorderColor3 = BORDERCOLOR
  411. frame.Name = NAME
  412. frame.Parent = PARENT
  413. return frame
  414. end
  415.  
  416. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  417. local label = IT("TextLabel")
  418. label.BackgroundTransparency = 1
  419. label.Size = UD2(1, 0, 1, 0)
  420. label.Position = UD2(0, 0, 0, 0)
  421. label.TextColor3 = TEXTCOLOR
  422. label.TextStrokeTransparency = STROKETRANSPARENCY
  423. label.TextTransparency = TRANSPARENCY
  424. label.FontSize = TEXTFONTSIZE
  425. label.Font = TEXTFONT
  426. label.BorderSizePixel = BORDERSIZEPIXEL
  427. label.TextScaled = false
  428. label.Text = TEXT
  429. label.Name = NAME
  430. label.Parent = PARENT
  431. return label
  432. end
  433.  
  434. function NoOutlines(PART)
  435. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  436. end
  437.  
  438. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  439. local NEWWELD = IT(TYPE)
  440. NEWWELD.Part0 = PART0
  441. NEWWELD.Part1 = PART1
  442. NEWWELD.C0 = C0
  443. NEWWELD.C1 = C1
  444. NEWWELD.Parent = PARENT
  445. return NEWWELD
  446. end
  447.  
  448. local S = IT("Sound")
  449. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  450. local NEWSOUND = nil
  451. coroutine.resume(coroutine.create(function()
  452. NEWSOUND = S:Clone()
  453. NEWSOUND.Parent = PARENT
  454. NEWSOUND.Volume = VOLUME
  455. NEWSOUND.Pitch = PITCH
  456. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  457. NEWSOUND:play()
  458. if DOESLOOP == true then
  459. NEWSOUND.Looped = true
  460. else
  461. repeat wait(1) until NEWSOUND.Playing == false
  462. NEWSOUND:remove()
  463. end
  464. end))
  465. return NEWSOUND
  466. end
  467.  
  468. local EyeSizes={
  469. NumberSequenceKeypoint.new(0,2,0),
  470. NumberSequenceKeypoint.new(1,0,0)
  471. }
  472. local EyeTrans={
  473. NumberSequenceKeypoint.new(0,0.5,0),
  474. NumberSequenceKeypoint.new(1,1,0)
  475. }
  476. local PE=Instance.new("ParticleEmitter",nil)
  477. PE.LightEmission=.8
  478. PE.Color = ColorSequence.new(BRICKC("Alder").Color,BRICKC("Really white").Color)
  479. PE.Size=NumberSequence.new(EyeSizes)
  480. PE.Transparency=NumberSequence.new(EyeTrans)
  481. PE.Lifetime=NumberRange.new(0.35,1)
  482. PE.Rotation=NumberRange.new(0,360)
  483. PE.Rate=100
  484. PE.VelocitySpread = 10000
  485. PE.Acceleration = Vector3.new(0,85,0)
  486. PE.Drag = 5
  487. PE.Speed = NumberRange.new(0.1,5)
  488. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  489. PE.ZOffset = 0.5
  490. PE.Name = "PE"
  491. PE.Enabled = false
  492.  
  493. function Fire(art)
  494. local PARTICLES = PE:Clone()
  495. PARTICLES.Parent = art
  496. PARTICLES.Enabled = true
  497. return PARTICLES
  498. end
  499.  
  500. function CFrameFromTopBack(at, top, back)
  501. local right = top:Cross(back)
  502. 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)
  503. end
  504.  
  505. --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})
  506. function WACKYEFFECT(Table)
  507. local TYPE = (Table.EffectType or "Sphere")
  508. local SIZE = (Table.Size or VT(1,1,1))
  509. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  510. local TRANSPARENCY = (Table.Transparency or 0)
  511. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  512. local CFRAME = (Table.CFrame or Torso.CFrame)
  513. local MOVEDIRECTION = (Table.MoveToPos or nil)
  514. local ROTATION1 = (Table.RotationX or 0)
  515. local ROTATION2 = (Table.RotationY or 0)
  516. local ROTATION3 = (Table.RotationZ or 0)
  517. local MATERIAL = (Table.Material or "Neon")
  518. local COLOR = (Table.Color or C3(1,1,1))
  519. local TIME = (Table.Time or 45)
  520. local SOUNDID = (Table.SoundID or nil)
  521. local SOUNDPITCH = (Table.SoundPitch or nil)
  522. local SOUNDVOLUME = (Table.SoundVolume or nil)
  523. coroutine.resume(coroutine.create(function()
  524. local PLAYSSOUND = false
  525. local SOUND = nil
  526. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  527. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  528. PLAYSSOUND = true
  529. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  530. end
  531. EFFECT.Color = COLOR
  532. local MSH = nil
  533. if TYPE == "Sphere" then
  534. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  535. elseif TYPE == "Block" or TYPE == "Box" then
  536. MSH = IT("BlockMesh",EFFECT)
  537. MSH.Scale = SIZE
  538. elseif TYPE == "Wave" then
  539. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  540. elseif TYPE == "Ring" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  542. elseif TYPE == "Slash" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  544. elseif TYPE == "Round Slash" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  546. elseif TYPE == "Swirl" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  548. elseif TYPE == "Skull" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  550. elseif TYPE == "Crystal" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  552. end
  553. if MSH ~= nil then
  554. local MOVESPEED = nil
  555. if MOVEDIRECTION ~= nil then
  556. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  557. end
  558. local GROWTH = SIZE - ENDSIZE
  559. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  560. if TYPE == "Block" then
  561. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  562. else
  563. EFFECT.CFrame = CFRAME
  564. end
  565. for LOOP = 1, TIME+1 do
  566. Swait()
  567. MSH.Scale = MSH.Scale - GROWTH/TIME
  568. if TYPE == "Wave" then
  569. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  570. end
  571. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  572. if TYPE == "Block" then
  573. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  574. else
  575. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  576. end
  577. if MOVEDIRECTION ~= nil then
  578. local ORI = EFFECT.Orientation
  579. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  580. EFFECT.Orientation = ORI
  581. end
  582. end
  583. if PLAYSSOUND == false then
  584. EFFECT:remove()
  585. else
  586. repeat wait(1) until SOUND.Playing == false
  587. EFFECT:remove()
  588. end
  589. else
  590. if PLAYSSOUND == false then
  591. EFFECT:remove()
  592. else
  593. repeat Swait() until SOUND.Playing == false
  594. EFFECT:remove()
  595. end
  596. end
  597. end))
  598. end
  599.  
  600. function MakeForm(PART,TYPE)
  601. if TYPE == "Cyl" then
  602. local MSH = IT("CylinderMesh",PART)
  603. elseif TYPE == "Ball" then
  604. local MSH = IT("SpecialMesh",PART)
  605. MSH.MeshType = "Sphere"
  606. elseif TYPE == "Wedge" then
  607. local MSH = IT("SpecialMesh",PART)
  608. MSH.MeshType = "Wedge"
  609. end
  610. end
  611.  
  612. Debris = game:GetService("Debris")
  613.  
  614. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  615. local DIRECTION = CF(StartPos,EndPos).lookVector
  616. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  617. end
  618.  
  619. local HATWELD = nil
  620. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  621. PLAYMAINANIM = false
  622. if WhichPose == "Cast1" then
  623. for i=0, Time, 0.1 / Animation_Speed do
  624. Swait()
  625. if Magic == true then
  626. 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"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  627. end
  628. if Gyro ~= nil and Gyro ~= false then
  629. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  630. end
  631. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  633. 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)
  634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  635. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  637. end
  638. elseif WhichPose == "Cast2" then
  639. for i=0, Time, 0.1 / Animation_Speed do
  640. Swait()
  641. if Magic == true then
  642. 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"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  643. 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"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  644. end
  645. if Gyro ~= nil and Gyro ~= false then
  646. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  647. end
  648. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  649. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  650. 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)
  651. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  652. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  654. end
  655. elseif WhichPose == "RightArmUp" then
  656. for i=0, Time, 0.1 / Animation_Speed do
  657. Swait()
  658. if Magic == true then
  659. 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"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  660. end
  661. if Gyro ~= nil and Gyro ~= false then
  662. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  663. end
  664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  666. 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)
  667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  668. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  669. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  670. end
  671. elseif WhichPose == "Taunt" then
  672. for i=0, Time, 0.1 / Animation_Speed do
  673. Swait()
  674. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  675. 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)
  676. 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)
  677. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  678. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  679. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  680. end
  681. HATWELD.Part0 = RightArm
  682. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  683. CreateSound(221057812,Torso,10,1,false)
  684. for i=0, Time*2, 0.1 / Animation_Speed do
  685. Swait()
  686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  687. 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)
  688. 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)
  689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  692. end
  693. for i=0, Time, 0.1 / Animation_Speed do
  694. Swait()
  695. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  699. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  701. 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)
  702. end
  703. HATWELD.Part0 = Head
  704. HATWELD.C0 = CF(0,0.35,0)
  705. elseif WhichPose == "Prepare key" then
  706. for i=0, Time, 0.1 / Animation_Speed do
  707. Swait()
  708. if Gyro ~= nil and Gyro ~= false then
  709. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  710. end
  711. 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)
  712. 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)
  713. 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)
  714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  715. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  717. end
  718. elseif WhichPose == "Turn key" then
  719. for i=0, Time, 0.1 / Animation_Speed do
  720. Swait()
  721. if Gyro ~= nil and Gyro ~= false then
  722. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  723. end
  724. 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)
  725. 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)
  726. 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)
  727. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  728. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  729. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  730. end
  731. end
  732. PLAYMAINANIM = true
  733. end
  734.  
  735. --LIGHTNING({Material = "Neon", FadeIn = false, 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, FadeTime = 15, Thicken = false})
  736. function Lightning(Table)
  737. local Texture = "rbxassetid://242997264"
  738. local Color = Table.Color or C3(1,1,1)
  739. local StartPos = Table.Start or Torso.Position
  740. local EndPos = Table.End or Mouse.Hit.p
  741. local SegmentLength = Table.SegmentL or 2
  742. local Thickness = Table.Thickness or 0.1
  743. local Dissapear = Table.DoesFade or false
  744. local Parent = Table.Ignore or Character
  745. local MaxDist = Table.MaxDist or 400
  746. local Branches = Table.Branches or false
  747. local Thicken = Table.Thicken or false
  748. local FadeTime = Table.FadeTime or 15
  749. local FadeIn = Table.FadeIn or false
  750. local Material = Table.Material or "Neon"
  751. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  752. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  753. local LIGHTNINGMODEL = IT("Model",Effects)
  754. LIGHTNINGMODEL.Name = "Lightning"
  755. local LastBolt = nil
  756. for E = 1, DISTANCE do
  757. local ExtraSize = 0
  758. if Thicken == true then
  759. ExtraSize = (DISTANCE-E)/15
  760. end
  761. local TRANSPARENCY = 0
  762. if FadeIn == true then
  763. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  764. if TRANSPARENCY < 0 then
  765. TRANSPARENCY = 0
  766. end
  767. end
  768. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  769. PART.Color = Color
  770. MakeForm(PART,"Cyl")
  771. if LastBolt == nil then
  772. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  773. else
  774. 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,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  775. end
  776. LastBolt = PART
  777. if Branches == true and E < (DISTANCE-5) then
  778. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  779. if CHOICE == 1 then
  780. local LASTBRANCH = nil
  781. for i = 1, MRANDOM(2,5) do
  782. local ExtraSize2 = 0
  783. if Thicken == true then
  784. ExtraSize = ((DISTANCE-E)/25)/i
  785. end
  786. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  787. PART.Color = Color
  788. MakeForm(PART,"Cyl")
  789. if LASTBRANCH == nil then
  790. 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)
  791. else
  792. 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)
  793. end
  794. LASTBRANCH = PART
  795. end
  796. end
  797. end
  798. end
  799. if Dissapear == true then
  800. coroutine.resume(coroutine.create(function()
  801. for i = 1, FadeTime do
  802. Swait()
  803. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  804. if c.ClassName == "Part" then
  805. c.Transparency = c.Transparency + (i/FadeTime)/10
  806. end
  807. end
  808. end
  809. LIGHTNINGMODEL:remove()
  810. end))
  811. elseif Dissapear == false then
  812. Debris:AddItem(LIGHTNINGMODEL,0.1)
  813. end
  814. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  815. end
  816.  
  817.  
  818. --//=================================\\
  819. --|| WEAPON CREATION
  820. --\\=================================//
  821.  
  822. Player = game:GetService("Players").LocalPlayer
  823. PlayerGui = Player.PlayerGui
  824. Cam = workspace.CurrentCamera
  825. Backpack = Player.Backpack
  826. Character = Player.Character
  827. Humanoid = Character.Humanoid
  828. Mouse = Player:GetMouse()
  829. RootPart = Character["HumanoidRootPart"]
  830. Torso = Character["Torso"]
  831. Head = Character["Head"]
  832. RightArm = Character["Right Arm"]
  833. LeftArm = Character["Left Arm"]
  834. RightLeg = Character["Right Leg"]
  835. LeftLeg = Character["Left Leg"]
  836. RootJoint = RootPart["RootJoint"]
  837. Neck = Torso["Neck"]
  838. RightShoulder = Torso["Right Shoulder"]
  839. LeftShoulder = Torso["Left Shoulder"]
  840. RightHip = Torso["Right Hip"]
  841. LeftHip = Torso["Left Hip"]
  842.  
  843. IT = Instance.new
  844. CF = CFrame.new
  845. VT = Vector3.new
  846. RAD = math.rad
  847. C3 = Color3.new
  848. UD2 = UDim2.new
  849. BRICKC = BrickColor.new
  850. ANGLES = CFrame.Angles
  851. EULER = CFrame.fromEulerAnglesXYZ
  852. COS = math.cos
  853. ACOS = math.acos
  854. SIN = math.sin
  855. ASIN = math.asin
  856. ABS = math.abs
  857. MRANDOM = math.random
  858. FLOOR = math.floor
  859.  
  860.  
  861. Player = game:GetService("Players").LocalPlayer
  862. PlayerGui = Player.PlayerGui
  863. Cam = workspace.CurrentCamera
  864. Backpack = Player.Backpack
  865. Character = Player.Character
  866. Humanoid = Character.Humanoid
  867. Mouse = Player:GetMouse()
  868. RootPart = Character["HumanoidRootPart"]
  869. Torso = Character["Torso"]
  870. Head = Character["Head"]
  871. RightArm = Character["Right Arm"]
  872. LeftArm = Character["Left Arm"]
  873. RightLeg = Character["Right Leg"]
  874. LeftLeg = Character["Left Leg"]
  875. RootJoint = RootPart["RootJoint"]
  876. Neck = Torso["Neck"]
  877. RightShoulder = Torso["Right Shoulder"]
  878. LeftShoulder = Torso["Left Shoulder"]
  879. RightHip = Torso["Right Hip"]
  880. LeftHip = Torso["Left Hip"]
  881.  
  882. IT = Instance.new
  883. CF = CFrame.new
  884. VT = Vector3.new
  885. RAD = math.rad
  886. C3 = Color3.new
  887. UD2 = UDim2.new
  888. BRICKC = BrickColor.new
  889. ANGLES = CFrame.Angles
  890. EULER = CFrame.fromEulerAnglesXYZ
  891. COS = math.cos
  892. ACOS = math.acos
  893. SIN = math.sin
  894. ASIN = math.asin
  895. ABS = math.abs
  896. MRANDOM = math.random
  897. FLOOR = math.floor
  898.  
  899. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  900. MakeForm(Eye,"Ball")
  901. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  902. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  903. MakeForm(Eye,"Ball")
  904. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  905. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.1,1,1)/2,false)
  906. MakeForm(Eye,"Ball")
  907. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  908. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.1,1,1)/2,false)
  909. MakeForm(Eye,"Ball")
  910. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  911.  
  912. local A = IT("Attachment",Torso)
  913. A.Position = VT(1,1.3,0)
  914. A.Orientation = VT(-0.098, -89.999, 0.227)
  915. local B = IT("Attachment",Torso)
  916. B.Position = VT(-1.3,-0.6,0)
  917. B.Orientation = VT(-88.911, -68.808, 158.782)
  918. local ChainLink = IT("Beam",Torso)
  919. ChainLink.Texture = "rbxassetid://641078192"
  920. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  921. ChainLink.TextureSpeed = 1
  922. ChainLink.FaceCamera = true
  923. ChainLink.Width0 = 1
  924. ChainLink.Width1 = 1
  925. ChainLink.TextureLength = 3
  926. ChainLink.Attachment0 = A
  927. ChainLink.Attachment1 = B
  928. ChainLink.CurveSize0 = 1.6
  929. ChainLink.CurveSize1 = 1.6
  930. ChainLink.FaceCamera = true
  931. ChainLink.Transparency = NumberSequence.new(0)
  932. local ChainLink = IT("Beam",Torso)
  933. ChainLink.Texture = "rbxassetid://641078192"
  934. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  935. ChainLink.TextureSpeed = 1
  936. ChainLink.FaceCamera = true
  937. ChainLink.Width0 = 1
  938. ChainLink.Width1 = 1
  939. ChainLink.TextureLength = 3
  940. ChainLink.Attachment0 = B
  941. ChainLink.Attachment1 = A
  942. ChainLink.CurveSize0 = 1.6
  943. ChainLink.CurveSize1 = 1.6
  944. ChainLink.FaceCamera = true
  945. ChainLink.Transparency = NumberSequence.new(0)
  946. local A = IT("Attachment",Torso)
  947. A.Position = VT(1.3,-0.85,0)
  948. A.Orientation = VT(-0.098, -89.999, 0.227)
  949. local B = IT("Attachment",Torso)
  950. B.Position = VT(-1,2,0)
  951. B.Orientation = VT(-88.911, -68.808, 158.782)
  952. local ChainLink = IT("Beam",Torso)
  953. ChainLink.Texture = "rbxassetid://641078192"
  954. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  955. ChainLink.TextureSpeed = 1
  956. ChainLink.FaceCamera = true
  957. ChainLink.Width0 = 1
  958. ChainLink.Width1 = 1
  959. ChainLink.TextureLength = 3
  960. ChainLink.Attachment0 = A
  961. ChainLink.Attachment1 = B
  962. ChainLink.CurveSize0 = 1.3
  963. ChainLink.CurveSize1 = 1.3
  964. ChainLink.FaceCamera = true
  965. ChainLink.Transparency = NumberSequence.new(0)
  966. local ChainLink = IT("Beam",Torso)
  967. ChainLink.Texture = "rbxassetid://641078192"
  968. ChainLink.Color = ColorSequence.new(C3(1,1,1))
  969. ChainLink.TextureSpeed = 1
  970. ChainLink.FaceCamera = true
  971. ChainLink.Width0 = 1
  972. ChainLink.Width1 = 1
  973. ChainLink.TextureLength = 3
  974. ChainLink.Attachment0 = B
  975. ChainLink.Attachment1 = A
  976. ChainLink.CurveSize0 = 1.3
  977. ChainLink.CurveSize1 = 1.3
  978. ChainLink.FaceCamera = true
  979. ChainLink.Transparency = NumberSequence.new(0)
  980.  
  981.  
  982. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
  983. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  984. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
  985. MakeForm(Part,"Wedge")
  986. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  987. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
  988. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  989. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  990. MakeForm(Part,"Cyl")
  991. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  992. for i = 1, 8 do
  993. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  994. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  995. end
  996. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  997. MakeForm(Part,"Wedge")
  998. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  999. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
  1000. MakeForm(Part,"Cyl")
  1001. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1002. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  1003. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1004. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
  1005. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1006. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
  1007. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1008. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
  1009. MakeForm(RightBarrel,"Cyl")
  1010. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1011. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
  1012. MakeForm(Part,"Wedge")
  1013. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1014. local Hole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  1015. MakeForm(Hole,"Cyl")
  1016. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  1017.  
  1018. for i = 1, 15 do
  1019. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1020. FACE.Color = C3(0,0,0)
  1021. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1022. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1023. end
  1024. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  1025. MakeForm(HAT1,"Cyl")
  1026. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1027. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  1028. BELT.Color = C3(15/255,15/255,15/255)
  1029. MakeForm(BELT,"Cyl")
  1030. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1031. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  1032. MakeForm(HAT2,"Cyl")
  1033. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1034. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  1035. BELT.Color = C3(15/255,15/255,15/255)
  1036. MakeForm(BELT,"Cyl")
  1037. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1038. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Gem", VT(0.25,0.25,0.1),false)
  1039. MakeForm(GEM,"Ball")
  1040. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1041. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Gem", VT(0.25,0.25,0.1),false)
  1042. MakeForm(GEM,"Ball")
  1043. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1044. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Gem", VT(0.1,0.25,0.25),false)
  1045. MakeForm(GEM,"Ball")
  1046. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1047. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Gem", VT(0.1,0.25,0.25),false)
  1048. MakeForm(GEM,"Ball")
  1049. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1050. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1051. BELT.Color = C3(15/255,15/255,15/255)
  1052. MakeForm(BELT,"Cyl")
  1053. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1054. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1055. BELT.Color = C3(15/255,15/255,15/255)
  1056. MakeForm(BELT,"Cyl")
  1057. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1058. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1059. BELT.Color = C3(15/255,15/255,15/255)
  1060. MakeForm(BELT,"Cyl")
  1061. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1062. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1063. BELT.Color = C3(15/255,15/255,15/255)
  1064. MakeForm(BELT,"Cyl")
  1065. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1066. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1067. MakeForm(BELT,"Ball")
  1068. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1069. Humanoid.DisplayDistanceType = "None"
  1070. local naeeym2 = IT("BillboardGui",Character)
  1071. naeeym2.AlwaysOnTop = true
  1072. naeeym2.Size = UDim2.new(5,35,2,15)
  1073. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1074. naeeym2.MaxDistance = 75
  1075. naeeym2.Adornee = Character.Head
  1076. naeeym2.Name = "Name"
  1077. naeeym2.PlayerToHideFrom = None
  1078. local tecks2 = IT("TextLabel",naeeym2)
  1079. tecks2.BackgroundTransparency = 1
  1080. tecks2.TextScaled = true
  1081. tecks2.BorderSizePixel = 0
  1082. tecks2.Text = "Warden The Time Master"
  1083. tecks2.Font = "Bodoni"
  1084. tecks2.TextSize = 30
  1085. tecks2.TextStrokeTransparency = 0.5
  1086. tecks2.TextColor3 = C3(0,0,0)
  1087. tecks2.TextStrokeColor3 = BRICKC"Really black".Color
  1088. tecks2.Size = UDim2.new(1,0,0.5,0)
  1089. tecks2.Parent = naeeym2
  1090. local top = Instance.new("Shirt")
  1091. top.ShirtTemplate = "rbxassetid://676428254"
  1092. top.Parent = Character
  1093. top.Name = "Cloth"
  1094. local bottom = Instance.new("Pants")
  1095. bottom.PantsTemplate = "rbxassetid://676428351"
  1096. bottom.Parent = Character
  1097. bottom.Name = "Cloth"
  1098. for _, c in pairs(Character:GetChildren()) do
  1099. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1100. c.Material = "Neon"
  1101. if c:FindFirstChildOfClass("ParticleEmitter") then
  1102. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1103. end
  1104. c.Color = C3(1,1,1)
  1105. if c == Head then
  1106. if c:FindFirstChild("face") then
  1107. c.face:remove()
  1108. end
  1109. end
  1110. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1111. c:remove()
  1112. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1113. c:remove()
  1114. end
  1115. end
  1116. local BODY = {}
  1117. for _, c in pairs(Character:GetDescendants()) do
  1118. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1119. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1120. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1121. end
  1122. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1123. elseif c:IsA("JointInstance") then
  1124. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1125. end
  1126. end
  1127. for e = 1, #BODY do
  1128. if BODY[e] ~= nil then
  1129. local STUFF = BODY[e]
  1130. local PART = STUFF[1]
  1131. local PARENT = STUFF[2]
  1132. local MATERIAL = STUFF[3]
  1133. local COLOR = STUFF[4]
  1134. local TRANSPARENCY = STUFF[5]
  1135. if PART.ClassName == "Part" and PART ~= RootPart then
  1136. PART.Material = MATERIAL
  1137. PART.Color = COLOR
  1138. PART.Transparency = TRANSPARENCY
  1139. end
  1140. PART.AncestryChanged:Connect(function()
  1141. PART.Parent = PARENT
  1142. end)
  1143. end
  1144. end
  1145. function refit()
  1146. Character.Parent = workspace
  1147. for e = 1, #BODY do
  1148. if BODY[e] ~= nil then
  1149. local STUFF = BODY[e]
  1150. local PART = STUFF[1]
  1151. local PARENT = STUFF[2]
  1152. local MATERIAL = STUFF[3]
  1153. local COLOR = STUFF[4]
  1154. local TRANSPARENCY = STUFF[5]
  1155. if PART.ClassName == "Part" and PART ~= RootPart then
  1156. PART.Material = MATERIAL
  1157. PART.Color = COLOR
  1158. PART.Transparency = TRANSPARENCY
  1159. end
  1160. if PART.Parent ~= PARENT then
  1161. Humanoid:remove()
  1162. PART.Parent = PARENT
  1163. Humanoid = IT("Humanoid",Character)
  1164. end
  1165. end
  1166. end
  1167. end
  1168. local SKILLTEXTCOLOR = BRICKC"Really white".Color
  1169. local SKILLFONT = "Bodoni"
  1170. local SKILLTEXTSIZE = 7
  1171.  
  1172. Humanoid.Died:connect(function()
  1173. refit()
  1174. end)
  1175.  
  1176. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1177. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1178. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1179. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1180. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1181. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.65, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1182. local SKILL7FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.07, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1183. local SKILL8FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.07, 0, 0.60, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1184. local SKILL9FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.65, 0, 0.60, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1185.  
  1186. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Thunderbolt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1187. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lightning Storm", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1188. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Flame Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1189. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1190. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Hell Prison", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1191. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[E] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1192. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[Q] Smash", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0,2, 0, "Text 7")
  1193. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[F] Painful Blast", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
  1194. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[R] Painless Rain", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  1195.  
  1196. --//=================================\\
  1197. --|| DAMAGING
  1198. --\\=================================//
  1199.  
  1200. function ApplyAOE(POSITION,RANGE,FLING,BURN)
  1201. local CHILDREN = workspace:GetDescendants()
  1202. for index, CHILD in pairs(CHILDREN) do
  1203. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1204. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1205. if HUM then
  1206. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1207. if TORSO then
  1208. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1209. CHILD:BreakJoints()
  1210. if FLING ~= 0 then
  1211. for _, c in pairs(CHILD:GetChildren()) do
  1212. if c:IsA("BasePart") and c.Transparency == 0 then
  1213. if BURN == true then
  1214. Fire(c)
  1215. end
  1216. local bv = Instance.new("BodyVelocity")
  1217. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1218. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1219. bv.Parent = c
  1220. Debris:AddItem(bv,0.05)
  1221. end
  1222. end
  1223. end
  1224. end
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230.  
  1231.  
  1232.  
  1233. --
  1234. --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})
  1235. function WACKYEFFECT(Table)
  1236. local TYPE = (Table.EffectType or "Sphere")
  1237. local SIZE = (Table.Size or VT(1,1,1))
  1238. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1239. local TRANSPARENCY = (Table.Transparency or 0)
  1240. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1241. local CFRAME = (Table.CFrame or Torso.CFrame)
  1242. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1243. local ROTATION1 = (Table.RotationX or 0)
  1244. local ROTATION2 = (Table.RotationY or 0)
  1245. local ROTATION3 = (Table.RotationZ or 0)
  1246. local MATERIAL = (Table.Material or "Neon")
  1247. local COLOR = (Table.Color or C3(1,1,1))
  1248. local TIME = (Table.Time or 45)
  1249. local SOUNDID = (Table.SoundID or nil)
  1250. local SOUNDPITCH = (Table.SoundPitch or nil)
  1251. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1252. coroutine.resume(coroutine.create(function()
  1253. local PLAYSSOUND = false
  1254. local SOUND = nil
  1255. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1256. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1257. PLAYSSOUND = true
  1258. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1259. end
  1260. EFFECT.Color = COLOR
  1261. local MSH = nil
  1262. if TYPE == "Sphere" then
  1263. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1264. elseif TYPE == "Block" then
  1265. MSH = IT("BlockMesh",EFFECT)
  1266. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1267. elseif TYPE == "Wave" then
  1268. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1269. elseif TYPE == "Ring" then
  1270. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1271. elseif TYPE == "Slash" then
  1272. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1273. elseif TYPE == "Round Slash" then
  1274. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1275. elseif TYPE == "Swirl" then
  1276. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1277. elseif TYPE == "Skull" then
  1278. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1279. elseif TYPE == "Crystal" then
  1280. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1281. end
  1282. if MSH ~= nil then
  1283. local MOVESPEED = nil
  1284. if MOVEDIRECTION ~= nil then
  1285. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1286. end
  1287. local GROWTH = SIZE - ENDSIZE
  1288. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1289. if TYPE == "Block" then
  1290. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1291. else
  1292. EFFECT.CFrame = CFRAME
  1293. end
  1294. for LOOP = 1, TIME+1 do
  1295. Swait()
  1296. MSH.Scale = MSH.Scale - GROWTH/TIME
  1297. if TYPE == "Wave" then
  1298. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1299. end
  1300. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1301. if TYPE == "Block" then
  1302. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1303. else
  1304. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1305. end
  1306. if MOVEDIRECTION ~= nil then
  1307. local ORI = EFFECT.Orientation
  1308. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1309. EFFECT.Orientation = ORI
  1310. end
  1311. end
  1312. if PLAYSSOUND == false then
  1313. EFFECT:remove()
  1314. else
  1315. SOUND.Stopped:Connect(function()
  1316. EFFECT:remove()
  1317. end)
  1318. end
  1319. else
  1320. if PLAYSSOUND == false then
  1321. EFFECT:remove()
  1322. else
  1323. repeat Swait() until SOUND.Playing == false
  1324. EFFECT:remove()
  1325. end
  1326. end
  1327. end))
  1328. end
  1329.  
  1330. function MakeForm(PART,TYPE)
  1331. if TYPE == "Cyl" then
  1332. local MSH = IT("CylinderMesh",PART)
  1333. elseif TYPE == "Ball" then
  1334. local MSH = IT("SpecialMesh",PART)
  1335. MSH.MeshType = "Sphere"
  1336. elseif TYPE == "Wedge" then
  1337. local MSH = IT("SpecialMesh",PART)
  1338. MSH.MeshType = "Wedge"
  1339. end
  1340. end
  1341.  
  1342. Debris = game:GetService("Debris")
  1343.  
  1344. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1345. local DIRECTION = CF(StartPos,EndPos).lookVector
  1346. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1347. end
  1348.  
  1349. function turnto(position)
  1350. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1351. end
  1352.  
  1353. function getbloody(victim,amount)
  1354. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1355. PART.CFrame = victim.CFrame
  1356. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1357. Debris:AddItem(PART,5)
  1358. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1359. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1360. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1361. local prtcl = asd:Clone()
  1362. prtcl.Parent = PART
  1363. prtcl:Emit(amount*10)
  1364. end
  1365.  
  1366.  
  1367. function SpawnTrail(FROM,TO,BIG)
  1368. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(0,0,0))
  1369. MakeForm(TRAIL,"Cyl")
  1370. local DIST = (FROM - TO).Magnitude
  1371. if BIG == true then
  1372. TRAIL.Size = VT(0.5,DIST,0.5)
  1373. else
  1374. TRAIL.Size = VT(0.35,DIST,0.35)
  1375. end
  1376. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1377. coroutine.resume(coroutine.create(function()
  1378. for i = 1, 5 do
  1379. Swait()
  1380. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1381. end
  1382. TRAIL:remove()
  1383. end))
  1384. end
  1385.  
  1386.  
  1387. function ApplyDamage(Humanoid,Damage)
  1388. Damage = Damage * DAMAGEMULTIPLIER
  1389. if Humanoid.Health ~= 0 then
  1390. Humanoid.Health = Humanoid.Health - Damage
  1391. end
  1392. end
  1393.  
  1394. function ApplYAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  1395. local CHILDREN = workspace:GetDescendants()
  1396. for index, CHILD in pairs(CHILDREN) do
  1397. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1398. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1399. if HUM then
  1400. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1401. if TORSO then
  1402. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1403. if INSTAKILL == true then
  1404. CHILD:BreakJoints()
  1405. if OPTION ~= nil then
  1406. Kill(CHILD,OPTION)
  1407. end
  1408. else
  1409. local DMG = MRANDOM(MINDMG,MAXDMG)
  1410. ApplyDamage(HUM,DMG)
  1411. end
  1412. if FLING ~= 0 then
  1413. for _, c in pairs(CHILD:GetChildren()) do
  1414. if c:IsA("BasePart") then
  1415. local bv = Instance.new("BodyVelocity")
  1416. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1417. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1418. bv.Parent = c
  1419. Debris:AddItem(bv,0.05)
  1420. end
  1421. end
  1422. end
  1423. end
  1424. end
  1425. end
  1426. end
  1427. end
  1428. end
  1429.  
  1430. --//=================================\\
  1431. --|| ATTACK FUNCTIONS AND STUFF
  1432. --\\=================================//
  1433.  
  1434. function TimeStop()
  1435. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1436. CreateSound(1193182658, Character, 5, 1, false)
  1437. back = CreateSound(1841228386, Character, 5, 1, false)
  1438. local killsky = Instance.new('Sky', game:GetService'Lighting')
  1439. killsky.SkyboxBk = "rbxassetid://1013852"
  1440. killsky.SkyboxDn = "rbxassetid://1013853"
  1441. killsky.SkyboxFt = "rbxassetid://1013850"
  1442. killsky.SkyboxLf = "rbxassetid://1013851"
  1443. killsky.SkyboxRt = "rbxassetid://1013849"
  1444. killsky.SkyboxUp = "rbxassetid://1013854"
  1445. killsky.StarCount = 0
  1446. killsky.SunAngularSize = 0
  1447. killsky.MoonAngularSize = 0
  1448. killsky.MoonTextureId = ""
  1449. killsky.CelestialBodiesShown = false
  1450. game.Lighting.FogColor = Color3.new(1,1,0)
  1451. game.Lighting.FogEnd = 1400
  1452. if HITFLOOR ~= nil then
  1453. ATTACK = false
  1454. Rooted = false
  1455. local RINGSPIN = true
  1456. local CONSTRUCTING = true
  1457. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Really white", "Ring", VT(0,0,0))
  1458. RING.Color = C3(0,0,0)
  1459. MakeForm(RING,"Cyl")
  1460. RING.CFrame = CF(HITPOS)
  1461. coroutine.resume(coroutine.create(function()
  1462. repeat
  1463. Swait()
  1464. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1465. until CONSTRUCTING == false
  1466. repeat
  1467. Swait()
  1468. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1469. until RINGSPIN == false
  1470. for i = 1, 25 do
  1471. Swait()
  1472. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1473. RING.Size = RING.Size - VT(0.15,0,0.15)
  1474. --DECAL.Transparency = DECAL.Transparency + 1/25
  1475. RING.Transparency = RING.Transparency + 1/25
  1476. end
  1477. RING:remove()
  1478. end))
  1479. for i = 1, 15 do
  1480. Swait()
  1481. RING.Size = RING.Size + VT(0,0,0)
  1482. RING.Transparency = RING.Transparency - 1/15
  1483. end
  1484. end
  1485. local RANDOMEFFECT = MRANDOM(1)
  1486. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  1487. BASE.Color = C3(0,0,0)
  1488. BASE.Transparency = 1
  1489. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1490. if RANDOMEFFECT == 1 then
  1491. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  1492. FIELD.CFrame = BASE.CFrame
  1493. MakeForm(FIELD,"Ball")
  1494. for i = 1, 50 do
  1495. Swait()
  1496. FIELD.Size = VT(0,0,0)
  1497. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1498. end
  1499. end
  1500. wait(0.2)
  1501. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  1502. FIELD.CFrame = BASE.CFrame
  1503. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  1504. coroutine.resume(coroutine.create(function()
  1505. for i = 1, 75 do
  1506. Swait()
  1507. LOOP.Volume = LOOP.Volume + 10/75
  1508. LOOP.Parent = FIELD
  1509. local CHILDREN = workspace:GetDescendants()
  1510. for index, CHILD in pairs(CHILDREN) do
  1511. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1512. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1513. if HUM then
  1514. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1515. if TORSO then
  1516. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1517. HUM.Health = HUM.Health - 0
  1518. TORSO.Velocity = VT(0,5,0)
  1519. HUM.PlatformStand = true
  1520. if TORSO.RotVelocity.Magnitude < 15 then
  1521. TORSO.Anchored = true
  1522. end
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. FIELD.Size = FIELD.Size + VT(90,90,90)
  1529. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1530. end
  1531. for i = 1, 500 do
  1532. Swait()
  1533. LOOP.Parent = FIELD
  1534. local CHILDREN = workspace:GetDescendants()
  1535. for index, CHILD in pairs(CHILDREN) do
  1536. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1537. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1538. if HUM then
  1539. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1540. if TORSO then
  1541. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1542. TORSO.Velocity = VT(0,5,0)
  1543. HUM.Health = HUM.Health - 0
  1544. HUM.PlatformStand = true
  1545. if TORSO.RotVelocity.Magnitude < 15 then
  1546. TORSO.Anchored = true
  1547. end
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end
  1553. end
  1554. wait (20)
  1555. back:Remove()
  1556. CreateSound(1538466750, Character, 99999, 1, false)
  1557. killsky:Remove()
  1558. game.Lighting.FogEnd = 90000000
  1559. wait (5)
  1560. CHOICE = MRANDOM (1,5)
  1561. for i = 1, 25 do
  1562. Swait()
  1563. LOOP.Volume = LOOP.Volume + 10/25
  1564. LOOP.Parent = FIELD
  1565. local CHILDREN = workspace:GetDescendants()
  1566. for index, CHILD in pairs(CHILDREN) do
  1567. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1568. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1569. if HUM then
  1570. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1571. if TORSO then
  1572. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1573. TORSO.Velocity = VT(0,5,0)
  1574. HUM.Health = HUM.Health - 0
  1575. HUM.PlatformStand = false
  1576. if TORSO.RotVelocity.Magnitude < 15 then
  1577. TORSO.Anchored = false
  1578. end
  1579. end
  1580. end
  1581. end
  1582. end
  1583. FIELD.Size = FIELD.Size - VT(3,3,3)
  1584. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1585. end
  1586. end
  1587. end))
  1588. FIELD:Remove()
  1589. ATTACK = false
  1590. Rooted = false
  1591. end
  1592.  
  1593.  
  1594.  
  1595. function Warden_Zap()
  1596. ATTACK = true
  1597. Rooted = false
  1598. local GYRO = IT("BodyGyro",RootPart)
  1599. GYRO.D = 750
  1600. GYRO.P = 20000
  1601. GYRO.MaxTorque = VT(0,40000000,0)
  1602. CreateSound(348663022,RightArm,1.5,2,false)
  1603. Pose("Cast1",0.8,1,true,GYRO)
  1604. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
  1605. local Hitpos = LightningTable.End
  1606. ApplyAOE(Hitpos,10,35)
  1607. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1608. for i = 1, 4 do
  1609. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1610. end
  1611. Pose("Cast1",0.6,1,true)
  1612. GYRO:remove()
  1613. ATTACK = false
  1614. Rooted = false
  1615. end
  1616.  
  1617. function Warden_Thunder()
  1618. ATTACK = true
  1619. Rooted = false
  1620. local GYRO = IT("BodyGyro",RootPart)
  1621. GYRO.D = 750
  1622. GYRO.P = 20000
  1623. GYRO.MaxTorque = VT(0,40000000,0)
  1624. CreateSound(469345336,Torso,3,2,false)
  1625. Pose("Cast2",1.5,2,true,GYRO)
  1626. coroutine.resume(coroutine.create(function()
  1627. local FRAME = RootPart.CFrame
  1628. for i = 1, 25 do
  1629. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  1630. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
  1631. local Hitpos = LightningTable.End
  1632. ApplyAoE(Hitpos,20,15)
  1633. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1634. for i = 1, 4 do
  1635. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1636. end
  1637. wait(0.05)
  1638. end
  1639. end))
  1640. Pose("Cast2",1.5,0.7,true)
  1641. GYRO:remove()
  1642. ATTACK = false
  1643. Rooted = false
  1644. end
  1645.  
  1646. function Inferno_Ring()
  1647. ATTACK = true
  1648. Rooted = false
  1649. local GYRO = IT("BodyGyro",RootPart)
  1650. GYRO.D = 750
  1651. GYRO.P = 20000
  1652. GYRO.MaxTorque = VT(0,40000000,0)
  1653. local FIRE = IT("Model",Effects)
  1654. FIRE.Name = "Fire"
  1655. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really white", "Center", VT(0,0,0))
  1656. FIRE.PrimaryPart = MAIN
  1657. local FIRES = {}
  1658. for i = 1, 45 do
  1659. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really white", "RingPart", VT(8,8,8))
  1660. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  1661. local F = Fire(PRT)
  1662. table.insert(FIRES,F)
  1663. end
  1664. repeat
  1665. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  1666. Pose("Cast1",1.5,0.01,false,GYRO)
  1667. until HOLD == true
  1668. coroutine.resume(coroutine.create(function()
  1669. for i = 1, 4 do
  1670. ApplyAOE(MAIN.Position,21,-15,true)
  1671. CreateSound(463598785,MAIN,3,1,false)
  1672. for E = 1, #FIRES do
  1673. if FIRES[E] ~= nil then
  1674. FIRES[E].Acceleration = VT(0,300,0)
  1675. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  1676. end
  1677. end
  1678. wait(0.3)
  1679. end
  1680. for E = 1, #FIRES do
  1681. if FIRES[E] ~= nil then
  1682. FIRES[E].Enabled = false
  1683. end
  1684. end
  1685. Debris:AddItem(FIRE,5)
  1686. end))
  1687. CreateSound(215395388,RightArm,3,2,false)
  1688. Pose("RightArmUp",1.5,0.5,true)
  1689. GYRO:remove()
  1690. ATTACK = false
  1691. Rooted = false
  1692. end
  1693.  
  1694. function Kill(Char)
  1695. local NewCharacter = IT("Model",Effects)
  1696. NewCharacter.Name = "Ow im ded ;-;"
  1697. for _, c in pairs(Char:GetDescendants()) do
  1698. if c:IsA("BasePart") and c.Transparency == 0 then
  1699. if c.Parent == Char then
  1700. getbloody(c,5)
  1701. end
  1702. c:BreakJoints()
  1703. c.Material = "Glass"
  1704. c.Color = C3(0.5,0,0)
  1705. c.CanCollide = true
  1706. c.Transparency = 0.3
  1707. if c:FindFirstChildOfClass("SpecialMesh") then
  1708. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1709. end
  1710. if c.Name == "Head" then
  1711. c:ClearAllChildren()
  1712. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1713. end
  1714. if c.ClassName == "MeshPart" then
  1715. c.TextureID = ""
  1716. end
  1717. if c:FindFirstChildOfClass("BodyPosition") then
  1718. c:FindFirstChildOfClass("BodyPosition"):remove()
  1719. end
  1720. if c:FindFirstChildOfClass("ParticleEmitter") then
  1721. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1722. end
  1723. c.Parent = NewCharacter
  1724. c.Name = "DeadPart"
  1725. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1726. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1727. end
  1728. end
  1729. Char:remove()
  1730. Debris:AddItem(NewCharacter,5)
  1731. end
  1732.  
  1733. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1734. local CHILDREN = workspace:GetDescendants()
  1735. for index, CHILD in pairs(CHILDREN) do
  1736. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1737. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1738. if HUM then
  1739. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1740. if TORSO then
  1741. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1742. if BRUTAL == true then
  1743. Kill(CHILD)
  1744. else
  1745. CHILD:BreakJoints()
  1746. end
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. end
  1753.  
  1754.  
  1755. function Morning_Star()
  1756. ATTACK = true
  1757. Rooted = true
  1758. for i=0, 1, 0.1 / Animation_Speed do
  1759. Swait()
  1760. 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)
  1761. 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)
  1762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1763. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1764. end
  1765. coroutine.resume(coroutine.create(function()
  1766. local POS = Mouse.Hit.p
  1767. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really white", "Strike", VT(0,2000,0))
  1768. MakeForm(RAY,"Cyl")
  1769. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really white", "Strike", VT(0,0,0))
  1770. MakeForm(SPHERE,"Ball")
  1771. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Strike", VT(0,0,0))
  1772. MakeForm(SHIELD,"Ball")
  1773. SHIELD.CFrame = CF(POS)
  1774. RAY.CFrame = CF(POS)
  1775. SPHERE.CFrame = CF(POS)
  1776. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1777. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1778. for i = 1, 200 do
  1779. Swait()
  1780. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1781. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1782. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1783. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1784. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1785. end
  1786. for i = 1, 45 do
  1787. Swait()
  1788. RAY.Transparency = RAY.Transparency + 1/45
  1789. SPHERE.Transparency = RAY.Transparency
  1790. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1791. end
  1792. RAY:remove()
  1793. SHIELD:remove()
  1794. SPHERE:remove()
  1795. end))
  1796. for i=0, 1, 0.1 / Animation_Speed do
  1797. Swait()
  1798. 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)
  1799. 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)
  1800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1802. end
  1803. ATTACK = false
  1804. Rooted = false
  1805. end
  1806.  
  1807.  
  1808.  
  1809. function Warden_Wall()
  1810. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  1811. if HITFLOOR ~= nil then
  1812. if HITFLOOR.Anchored == true then
  1813. local WALL = HITFLOOR:Clone()
  1814. WALL.Size = VT(55,55,5)
  1815. WALL.Parent = Effects
  1816. WALL.Name = "Wall"
  1817. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  1818. CreateSound(130972023,WALL,5,0.8,false)
  1819. ATTACK = true
  1820. Rooted = true
  1821. local HIT = WALL.Touched:Connect(function(hit)
  1822. if hit.Parent ~= Character then
  1823. hit:BreakJoints()
  1824. end
  1825. end)
  1826. coroutine.resume(coroutine.create(function()
  1827. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1828. for i = 1, 90 do
  1829. Swait()
  1830. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  1831. end
  1832. HIT:disconnect()
  1833. wait(5)
  1834. for i = 1, 46 do
  1835. Swait()
  1836. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  1837. end
  1838. WALL:remove()
  1839. end))
  1840. Pose("RightArmUp",1.5,1.2,true)
  1841. ATTACK = false
  1842. Rooted = false
  1843. end
  1844. end
  1845. end
  1846.  
  1847. function Prison_Key()
  1848. if Mouse.Target ~= nil then
  1849. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1850. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1851. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1852. local GYRO = IT("BodyGyro",RootPart)
  1853. GYRO.D = 750
  1854. GYRO.P = 20000
  1855. GYRO.MaxTorque = VT(0,40000000,0)
  1856. local grav = Instance.new("BodyPosition",TORSO)
  1857. grav.D = 15
  1858. grav.P = 20000
  1859. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1860. grav.position = TORSO.Position
  1861. local GYRO2 = IT("BodyGyro",TORSO)
  1862. GYRO2.D = 750
  1863. GYRO2.P = 20000
  1864. GYRO2.MaxTorque = VT(0,40000000,0)
  1865. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1866. grav.Name = "Jail"
  1867. local LOCKPARTS = {}
  1868. ATTACK = true
  1869. Rooted = false
  1870. local LOCK = IT("Model",Effects)
  1871. LOCK.Name = "Lock"
  1872. local LOCK2 = IT("Model",LOCK)
  1873. LOCK2.Name = "Metal"
  1874. --CREATE LOCK--
  1875. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  1876. LOCK.PrimaryPart = BASE
  1877. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1878. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  1879. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1880. MakeForm(PRT,"Cyl")
  1881. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  1882. PRT.Color = C3(0,0,0)
  1883. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1884. MakeForm(PRT,"Cyl")
  1885. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  1886. PRT.Color = C3(0,0,0)
  1887. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1888. for i = 1, 45 do
  1889. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1890. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1891. end
  1892. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  1893. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1894. LOCK2.PrimaryPart = PRT
  1895. ---------------
  1896. local CHILDREN = LOCK:GetDescendants()
  1897. for index, CHILD in pairs(CHILDREN) do
  1898. if CHILD:IsA("BasePart") then
  1899. CHILD.Transparency = 1
  1900. end
  1901. end
  1902. for i = 1, 75 do
  1903. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1904. Swait()
  1905. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1906. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1907. local CHILDREN = LOCK:GetDescendants()
  1908. for index, CHILD in pairs(CHILDREN) do
  1909. if CHILD:IsA("BasePart") then
  1910. CHILD.Transparency = CHILD.Transparency - 1/75
  1911. end
  1912. end
  1913. end
  1914. HUM.DisplayDistanceType = "None"
  1915. local KEY = IT("Model",Effects)
  1916. KEY.Name = "Key"
  1917. --CREATE KEY--
  1918. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really white", "KeyBase", VT(0.1, 1, 0.1),false)
  1919. KEY.PrimaryPart = KBASE
  1920. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1921. local WLD = weldBetween(RightArm,KBASE)
  1922. for i = 1, 45 do
  1923. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really white", "Key", VT(0.1, 0.1, 0.1),false)
  1924. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1925. weldBetween(KBASE,PRT)
  1926. end
  1927. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really white", "Key", VT(0.3, 0.1, 0.1),false)
  1928. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1929. weldBetween(KBASE,PRT)
  1930. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really white", "Key", VT(0.3, 0.1, 0.1),false)
  1931. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1932. weldBetween(KBASE,PRT)
  1933. --------------
  1934. Rooted = true
  1935. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1936. coroutine.resume(coroutine.create(function()
  1937. for i = 1, 10 do
  1938. Swait()
  1939. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1940. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1941. end
  1942. CreateSound(1149318312,BASE,5,1,false)
  1943. CreateSound(160772554,BASE,3,1,false)
  1944. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1945. for i = 1, 4 do
  1946. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1947. end
  1948. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1949. wait(1)
  1950. TORSO.Parent.Parent = LOCK
  1951. for i = 1, 75 do
  1952. Swait()
  1953. local CHILDREN = KEY:GetDescendants()
  1954. for index, CHILD in pairs(CHILDREN) do
  1955. if CHILD:IsA("BasePart") then
  1956. CHILD.Transparency = i/25
  1957. end
  1958. end
  1959. local CHILDREN = LOCK:GetDescendants()
  1960. for index, CHILD in pairs(CHILDREN) do
  1961. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1962. CHILD.Transparency = CHILD.Transparency + 1/75
  1963. elseif CHILD.ClassName == "Decal" then
  1964. CHILD.Transparency = CHILD.Transparency + 1/75
  1965. end
  1966. end
  1967. end
  1968. TORSO.Parent:ClearAllChildren()
  1969. KEY:remove()
  1970. LOCK:remove()
  1971. end))
  1972. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1973. GYRO:remove()
  1974. ATTACK = false
  1975. Rooted = false
  1976. end
  1977. end
  1978. end
  1979.  
  1980. function Hat()
  1981. ATTACK = true
  1982. Rooted = false
  1983. Pose("Taunt",0.4,1.2,false)
  1984. ATTACK = false
  1985. Rooted = false
  1986. end
  1987.  
  1988.  
  1989. Player = game:GetService("Players").LocalPlayer
  1990. PlayerGui = Player.PlayerGui
  1991. Cam = workspace.CurrentCamera
  1992. Backpack = Player.Backpack
  1993. Character = Player.Character
  1994. Humanoid = Character.Humanoid
  1995. Mouse = Player:GetMouse()
  1996. RootPart = Character["HumanoidRootPart"]
  1997. Torso = Character["Torso"]
  1998. Head = Character["Head"]
  1999. RightArm = Character["Right Arm"]
  2000. LeftArm = Character["Left Arm"]
  2001. RightLeg = Character["Right Leg"]
  2002. LeftLeg = Character["Left Leg"]
  2003. RootJoint = RootPart["RootJoint"]
  2004. Neck = Torso["Neck"]
  2005. RightShoulder = Torso["Right Shoulder"]
  2006. LeftShoulder = Torso["Left Shoulder"]
  2007. RightHip = Torso["Right Hip"]
  2008. LeftHip = Torso["Left Hip"]
  2009.  
  2010. IT = Instance.new
  2011. CF = CFrame.new
  2012. VT = Vector3.new
  2013. RAD = math.rad
  2014. C3 = Color3.new
  2015. UD2 = UDim2.new
  2016. BRICKC = BrickColor.new
  2017. ANGLES = CFrame.Angles
  2018. EULER = CFrame.fromEulerAnglesXYZ
  2019. COS = math.cos
  2020. ACOS = math.acos
  2021. SIN = math.sin
  2022. ASIN = math.asin
  2023. ABS = math.abs
  2024. MRANDOM = math.random
  2025. FLOOR = math.floor
  2026.  
  2027.  
  2028. --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})
  2029. function WACKYEFFECT(Table)
  2030. local TYPE = (Table.EffectType or "Sphere")
  2031. local SIZE = (Table.Size or VT(1,1,1))
  2032. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2033. local TRANSPARENCY = (Table.Transparency or 0)
  2034. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2035. local CFRAME = (Table.CFrame or Torso.CFrame)
  2036. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2037. local ROTATION1 = (Table.RotationX or 0)
  2038. local ROTATION2 = (Table.RotationY or 0)
  2039. local ROTATION3 = (Table.RotationZ or 0)
  2040. local MATERIAL = (Table.Material or "Neon")
  2041. local COLOR = (Table.Color or C3(1,1,1))
  2042. local TIME = (Table.Time or 45)
  2043. local SOUNDID = (Table.SoundID or nil)
  2044. local SOUNDPITCH = (Table.SoundPitch or nil)
  2045. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2046. coroutine.resume(coroutine.create(function()
  2047. local PLAYSSOUND = false
  2048. local SOUND = nil
  2049. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2050. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2051. PLAYSSOUND = true
  2052. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2053. end
  2054. EFFECT.Color = COLOR
  2055. local MSH = nil
  2056. if TYPE == "Sphere" then
  2057. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2058. elseif TYPE == "Block" then
  2059. MSH = IT("BlockMesh",EFFECT)
  2060. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2061. elseif TYPE == "Wave" then
  2062. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2063. elseif TYPE == "Ring" then
  2064. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2065. elseif TYPE == "Slash" then
  2066. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2067. elseif TYPE == "Round Slash" then
  2068. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2069. elseif TYPE == "Swirl" then
  2070. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2071. elseif TYPE == "Skull" then
  2072. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2073. elseif TYPE == "Crystal" then
  2074. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2075. end
  2076. if MSH ~= nil then
  2077. local MOVESPEED = nil
  2078. if MOVEDIRECTION ~= nil then
  2079. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2080. end
  2081. local GROWTH = SIZE - ENDSIZE
  2082. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2083. if TYPE == "Block" then
  2084. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2085. else
  2086. EFFECT.CFrame = CFRAME
  2087. end
  2088. for LOOP = 1, TIME+1 do
  2089. Swait()
  2090. MSH.Scale = MSH.Scale - GROWTH/TIME
  2091. if TYPE == "Wave" then
  2092. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2093. end
  2094. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2095. if TYPE == "Block" then
  2096. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2097. else
  2098. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2099. end
  2100. if MOVEDIRECTION ~= nil then
  2101. local ORI = EFFECT.Orientation
  2102. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2103. EFFECT.Orientation = ORI
  2104. end
  2105. end
  2106. if PLAYSSOUND == false then
  2107. EFFECT:remove()
  2108. else
  2109. repeat Swait() until SOUND.Playing == false
  2110. EFFECT:remove()
  2111. end
  2112. else
  2113. if PLAYSSOUND == false then
  2114. EFFECT:remove()
  2115. else
  2116. repeat Swait() until SOUND.Playing == false
  2117. EFFECT:remove()
  2118. end
  2119. end
  2120. end))
  2121. end
  2122.  
  2123.  
  2124. function Smack()
  2125. ATTACK = true
  2126. Rooted = true
  2127. for i=0, 0.2, 0.1 / Animation_Speed do
  2128. Swait()
  2129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25+(i/15) - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(135), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2133. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.1, -0.7) * ANGLES(RAD(15), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2135. end
  2136. for i= 1, 90 do
  2137. Swait()
  2138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-25-(i/15)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25+(i/15) - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(135+(i/15)), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2142. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.1, -0.7) * ANGLES(RAD(15), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2144. end
  2145. CreateSound(165970126,RightArm,7,MRANDOM(8,13)/10,false)
  2146. for i=0, 0.10, 0.1 / Animation_Speed do
  2147. Swait()
  2148. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 - 0.03 * SIN(SINE / 12), -0.25) * ANGLES(RAD(25), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2152. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.1, -0.7) * ANGLES(RAD(15), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2154. end
  2155. for i = 1, 3 do
  2156. ApplyAoE(RightArm.Position,40*i,15,15,15,false)
  2157. end
  2158. for i = 1, 4 do
  2159. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(36*i,15-(3*i),36*i), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Fabric", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2160. end
  2161. for i = 1, 3 do
  2162. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(17,17,17)*i, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RightArm.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"White".Color, SoundID = 438666542, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 1})
  2163. end
  2164. for i=0, 0.35, 0.1 / Animation_Speed do
  2165. Swait()
  2166. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * SIN(SINE / 12), 0, 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  2167. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  2168. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 - 0.03 * SIN(SINE / 12), -0.25) * ANGLES(RAD(25), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2169. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.03 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2170. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.1, -0.7) * ANGLES(RAD(15), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2172. end
  2173. ATTACK = false
  2174. Rooted = false
  2175. end
  2176.  
  2177. function EMOTE()
  2178. ATTACK = true
  2179. Rooted = false
  2180. local LOOP = 0
  2181. for i=0, 0.1, 0.1 / Animation_Speed do
  2182. Swait()
  2183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2187. end
  2188. for i=0, 3, 0.1 / Animation_Speed do
  2189. Swait()
  2190. LOOP = LOOP + 1
  2191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2195. end
  2196. for i=0, 0.1, 0.1 / Animation_Speed do
  2197. Swait()
  2198. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2200. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2201. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2202. end
  2203. ATTACK = false
  2204. Rooted = false
  2205. end
  2206.  
  2207. function Taunt2()
  2208. ATTACK = true
  2209. Rooted = true
  2210. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  2211. repeat
  2212. Swait()
  2213. TAUNT.Parent = Torso
  2214. TAUNT.Playing = true
  2215. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2218. 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)
  2219. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2221. until TAUNT.TimePosition >= 1.25
  2222. for i=0, 1.6, 0.1 / Animation_Speed do
  2223. Swait()
  2224. TAUNT.Parent = Torso
  2225. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2226. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2227. 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)
  2228. 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)
  2229. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2231. end
  2232. ATTACK = false
  2233. Rooted = false
  2234. end
  2235.  
  2236. function Kill(Victim,Fire)
  2237. coroutine.resume(coroutine.create(function()
  2238. local NIL = script.TotalNil:Clone()
  2239. NIL.Parent = Victim
  2240. NIL.Disabled = false
  2241. if Fire ~= true then
  2242. Victim:BreakJoints()
  2243. for _, c in pairs(Victim:GetChildren()) do
  2244. if c:IsA("BasePart") then
  2245. c.Anchored = true
  2246. end
  2247. end
  2248. for _, c in pairs(Victim:GetChildren()) do
  2249. if c:IsA("BasePart") then
  2250. Shatter(c)
  2251. end
  2252. end
  2253. else
  2254. Victim:BreakJoints()
  2255. local FIRES = {}
  2256. for _, e in pairs(Victim:GetDescendants()) do
  2257. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  2258. e.Transparency = 1
  2259. e:ClearAllChildren()
  2260. local FIRE = script.HellFire:Clone()
  2261. FIRE.Parent = e
  2262. FIRE.Enabled = true
  2263. table.insert(FIRES,FIRE)
  2264. elseif e.ClassName == "Decal" then
  2265. e:remove()
  2266. end
  2267. end
  2268. for i = 1, 50 do
  2269. Victim:BreakJoints()
  2270. wait()
  2271. end
  2272. for i = 1, #FIRES do
  2273. FIRES[i].Enabled = false
  2274. end
  2275. wait(1.1)
  2276. Victim:remove()
  2277. end
  2278. end))
  2279. end
  2280.  
  2281.  
  2282. function PainlessRain()
  2283. ATTACK = true
  2284. Rooted = true
  2285. local SPOTS = {}
  2286. local BULLETS = 0
  2287. repeat
  2288. BULLETS = BULLETS + 1
  2289. for i = 1, 15 do
  2290. Swait()
  2291. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2292. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2293. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2294. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2295. end
  2296. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = RightBarrel.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  2297. until KEYHOLD == false
  2298. for i = 1, BULLETS do
  2299. for i=0, 0.5, 0.1 / Animation_Speed do
  2300. Swait()
  2301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2305. end
  2306. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  2307. table.insert(SPOTS,HITPOS)
  2308. CreateSound(145080998, RightBarrel, 2, 1, false)
  2309. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = RightBarrel.CFrame*CF(0, 1, 0.045).p, End = RightBarrel.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  2310. for i=0, 0.35, 0.1 / Animation_Speed do
  2311. Swait()
  2312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2316. end
  2317. end
  2318. coroutine.resume(coroutine.create(function()
  2319. for i = 1, #SPOTS do
  2320. wait(0.1)
  2321. coroutine.resume(coroutine.create(function()
  2322. local SPOT = SPOTS[i]
  2323. local BOLT = Lightning({Material = "Neon", FadeIn = true, Color = C3(1,1,1), Start = SPOT+VT(0,150,0), End = SPOT, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 125, Thicken = true})
  2324. local POSITION = BOLT.Pos
  2325. ApplYAoE(POSITION,75/2,0,0,350,true)
  2326. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,150,50), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  2327. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(75,5,75), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = 165970126, SoundPitch = 1, SoundVolume = 4})
  2328. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(35,15,35), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really white".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  2329. end))
  2330. end
  2331. end))
  2332. ATTACK = false
  2333. Rooted = false
  2334. end
  2335.  
  2336. Player = game:GetService("Players").LocalPlayer
  2337. PlayerGui = Player.PlayerGui
  2338. Cam = workspace.CurrentCamera
  2339. Backpack = Player.Backpack
  2340. Character = Player.Character
  2341. Humanoid = Character.Humanoid
  2342. Mouse = Player:GetMouse()
  2343. RootPart = Character["HumanoidRootPart"]
  2344. Torso = Character["Torso"]
  2345. Head = Character["Head"]
  2346. RightArm = Character["Right Arm"]
  2347. LeftArm = Character["Left Arm"]
  2348. RightLeg = Character["Right Leg"]
  2349. LeftLeg = Character["Left Leg"]
  2350. RootJoint = RootPart["RootJoint"]
  2351. Neck = Torso["Neck"]
  2352. RightShoulder = Torso["Right Shoulder"]
  2353. LeftShoulder = Torso["Left Shoulder"]
  2354. RightHip = Torso["Right Hip"]
  2355. LeftHip = Torso["Left Hip"]
  2356.  
  2357. IT = Instance.new
  2358. CF = CFrame.new
  2359. VT = Vector3.new
  2360. RAD = math.rad
  2361. C3 = Color3.new
  2362. UD2 = UDim2.new
  2363. BRICKC = BrickColor.new
  2364. ANGLES = CFrame.Angles
  2365. EULER = CFrame.fromEulerAnglesXYZ
  2366. COS = math.cos
  2367. ACOS = math.acos
  2368. SIN = math.sin
  2369. ASIN = math.asin
  2370. ABS = math.abs
  2371. MRANDOM = math.random
  2372. FLOOR = math.floor
  2373. local TOBANISH = {}
  2374. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2375. WEAPONGUI.Name = "BanishV3Gui"
  2376. local Weapon = IT("Model")
  2377. Weapon.Name = "Adds"
  2378. local Effects = IT("Folder", Weapon)
  2379. Effects.Name = "Effects"
  2380.  
  2381. --WACKYEFFECTt({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})
  2382. function WackyEffect(Table)
  2383. local TYPE = (Table.EffectType or "Sphere")
  2384. local SIZE = (Table.Size or VT(1,1,1))
  2385. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2386. local TRANSPARENCY = (Table.Transparency or 0)
  2387. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2388. local CFRAME = (Table.CFrame or Torso.CFrame)
  2389. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2390. local ROTATION1 = (Table.RotationX or 0)
  2391. local ROTATION2 = (Table.RotationY or 0)
  2392. local ROTATION3 = (Table.RotationZ or 0)
  2393. local MATERIAL = (Table.Material or "Neon")
  2394. local COLOR = (Table.Color or C3(1,1,1))
  2395. local TIME = (Table.Time or 45)
  2396. local SOUNDID = (Table.SoundID or nil)
  2397. local SOUNDPITCH = (Table.SoundPitch or nil)
  2398. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2399. coroutine.resume(coroutine.create(function()
  2400. local PLAYSSOUND = false
  2401. local SOUND = nil
  2402. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2403. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2404. PLAYSSOUND = true
  2405. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2406. end
  2407. EFFECT.Color = COLOR
  2408. local MSH = nil
  2409. if TYPE == "Sphere" then
  2410. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2411. elseif TYPE == "Block" then
  2412. MSH = IT("BlockMesh",EFFECT)
  2413. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2414. elseif TYPE == "Wave" then
  2415. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2416. elseif TYPE == "Ring" then
  2417. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2418. elseif TYPE == "Slash" then
  2419. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2420. elseif TYPE == "Round Slash" then
  2421. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2422. elseif TYPE == "Swirl" then
  2423. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2424. elseif TYPE == "Skull" then
  2425. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2426. elseif TYPE == "Crystal" then
  2427. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2428. end
  2429. if MSH ~= nil then
  2430. local MOVESPEED = nil
  2431. if MOVEDIRECTION ~= nil then
  2432. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2433. end
  2434. local GROWTH = SIZE - ENDSIZE
  2435. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2436. if TYPE == "Block" then
  2437. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2438. else
  2439. EFFECT.CFrame = CFRAME
  2440. end
  2441. for LOOP = 1, TIME+1 do
  2442. Swait()
  2443. MSH.Scale = MSH.Scale - GROWTH/TIME
  2444. if TYPE == "Wave" then
  2445. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2446. end
  2447. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2448. if TYPE == "Block" then
  2449. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2450. else
  2451. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2452. end
  2453. if MOVEDIRECTION ~= nil then
  2454. local ORI = EFFECT.Orientation
  2455. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2456. EFFECT.Orientation = ORI
  2457. end
  2458. end
  2459. if PLAYSSOUND == false then
  2460. EFFECT:remove()
  2461. else
  2462. SOUND.Stopped:Connect(function()
  2463. EFFECT:remove()
  2464. end)
  2465. end
  2466. else
  2467. if PLAYSSOUND == false then
  2468. EFFECT:remove()
  2469. else
  2470. repeat Swait() until SOUND.Playing == false
  2471. EFFECT:remove()
  2472. end
  2473. end
  2474. end))
  2475. end
  2476.  
  2477. Debris = game:GetService("Debris")
  2478.  
  2479. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2480. local DIRECTION = CF(StartPos,EndPos).lookVector
  2481. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2482. end
  2483.  
  2484. function turnto(position)
  2485. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2486. end
  2487.  
  2488. function MakeForm(PART,TYPE)
  2489. if TYPE == "Cyl" then
  2490. local MSH = IT("CylinderMesh",PART)
  2491. elseif TYPE == "Ball" then
  2492. local MSH = IT("SpecialMesh",PART)
  2493. MSH.MeshType = "Sphere"
  2494. elseif TYPE == "Wedge" then
  2495. local MSH = IT("SpecialMesh",PART)
  2496. MSH.MeshType = "Wedge"
  2497. end
  2498. end
  2499.  
  2500.  
  2501. function printbye(Name)
  2502. 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, "}
  2503. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2504. end
  2505.  
  2506. workspace.ChildAdded:connect(function(instance)
  2507. for BANISH = 1, #TOBANISH do
  2508. if TOBANISH[BANISH] ~= nil then
  2509. if instance.Name == TOBANISH[BANISH] then
  2510. coroutine.resume(coroutine.create(function()
  2511. printbye(instance.Name)
  2512. instance:ClearAllChildren()
  2513. Debris:AddItem(instance,0.0005)
  2514. end))
  2515. end
  2516. end
  2517. end
  2518. end)
  2519. function Banish(Foe)
  2520. if Foe then
  2521. coroutine.resume(coroutine.create(function()
  2522. --if game.Players:FindFirstChild(Foe.Name) then
  2523. table.insert(TOBANISH,Foe.Name)
  2524. printbye(Foe.Name)
  2525. --end
  2526. Foe.Archivable = true
  2527. local CLONE = Foe:Clone()
  2528. Foe:Destroy()
  2529. CLONE.Parent = Effects
  2530. CLONE:BreakJoints()
  2531. local MATERIALS = {"Glass","Neon"}
  2532. for _, c in pairs(CLONE:GetDescendants()) do
  2533. if c:IsA("BasePart") then
  2534. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2535. CreateSound(340722848, c, 10, 1, false)
  2536. end
  2537. c.Anchored = true
  2538. c.Transparency = c.Transparency + 0.2
  2539. c.Material = MATERIALS[MRANDOM(1,2)]
  2540. c.Color = C3(1,0,0)
  2541. if c.ClassName == "MeshPart" then
  2542. c.TextureID = ""
  2543. end
  2544. if c:FindFirstChildOfClass("SpecialMesh") then
  2545. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2546. end
  2547. if c:FindFirstChildOfClass("Decal") then
  2548. c:FindFirstChildOfClass("Decal"):remove()
  2549. end
  2550. c.Name = "Banished"
  2551. c.CanCollide = false
  2552. else
  2553. c:remove()
  2554. end
  2555. end
  2556. local A = false
  2557. for i = 1, 35 do
  2558. if A == false then
  2559. A = true
  2560. elseif A == true then
  2561. A = false
  2562. end
  2563. for _, c in pairs(CLONE:GetDescendants()) do
  2564. if c:IsA("BasePart") then
  2565. c.Anchored = true
  2566. c.Material = MATERIALS[MRANDOM(1,2)]
  2567. c.Transparency = c.Transparency + 0.8/35
  2568. if A == false then
  2569. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2570. elseif A == true then
  2571. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2572. end
  2573. end
  2574. end
  2575. Swait()
  2576. end
  2577. CLONE:remove()
  2578. end))
  2579. end
  2580. end
  2581.  
  2582. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2583. local CHILDREN = workspace:GetDescendants()
  2584. for index, CHILD in pairs(CHILDREN) do
  2585. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2586. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2587. if HUM then
  2588. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2589. if TORSO then
  2590. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2591. if ISBANISH == true then
  2592. Banish(CHILD)
  2593. else
  2594. if ISBANISH == "Gravity" then
  2595. HUM.PlatformStand = true
  2596. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2597. local grav = Instance.new("BodyPosition",TORSO)
  2598. grav.D = 15
  2599. grav.P = 20000
  2600. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2601. grav.position = TORSO.Position
  2602. grav.Name = "V3BanishForce"..Player.Name
  2603. else
  2604. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2605. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2606. end
  2607. else
  2608. HUM.PlatformStand = false
  2609. end
  2610. end
  2611. elseif ISBANISH == "Gravity" then
  2612. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2613. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2614. HUM.PlatformStand = false
  2615. end
  2616. end
  2617. end
  2618. end
  2619. end
  2620. end
  2621. end
  2622.  
  2623. function Bullet()
  2624. ATTACK = true
  2625. Rooted = false
  2626. for i=0, 0.4, 0.1 / Animation_Speed do
  2627. Swait()
  2628. turnto(Mouse.Hit.p)
  2629. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2630. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2631. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2632. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2633. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2634. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2635. end
  2636. repeat
  2637. for i=0, 0.2, 0.1 / Animation_Speed do
  2638. Swait()
  2639. turnto(Mouse.Hit.p)
  2640. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2644. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2645. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2646. end
  2647. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2648. SpawnTrail(Hole.Position,POS)
  2649. if HIT ~= nil then
  2650. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2651. Banish(HIT.Parent)
  2652. end
  2653. end
  2654. CreateSound(145080998, RightBarrel, 2, 1, false)
  2655. 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2656. 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(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2657. 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2658. 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2659. for i=0, 0.3, 0.1 / Animation_Speed do
  2660. Swait()
  2661. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2662. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2663. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2664. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2665. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2666. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2667. end
  2668. until KEYHOLD == false
  2669. ATTACK = false
  2670. Rooted = false
  2671. end
  2672.  
  2673. --//=================================\\
  2674. --|| ASSIGN THINGS TO KEYS
  2675. --\\=================================//
  2676.  
  2677. function MouseDown(Mouse)
  2678. HOLD = true
  2679. if ATTACK == false then
  2680. Bullet()
  2681. end
  2682. end
  2683.  
  2684. function MouseUp(Mouse)
  2685. HOLD = false
  2686. end
  2687.  
  2688. function KeyDown(Key)
  2689. KEYHOLD = true
  2690. if Key == "z" and ATTACK == false then
  2691. Warden_Zap()
  2692. end
  2693.  
  2694. if Key == "e" and ATTACK == false then
  2695. TimeStop()
  2696. end
  2697.  
  2698. if Key == "b" and ATTACK == false then
  2699. Warden_Thunder()
  2700. end
  2701.  
  2702. if Key == "c" and ATTACK == false then
  2703. Inferno_Ring()
  2704. end
  2705.  
  2706. if Key == "v" and ATTACK == false then
  2707. Warden_Wall()
  2708. end
  2709.  
  2710. if Key == "g" and ATTACK == false then
  2711. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  2712. TOBANISH = {}
  2713. end
  2714.  
  2715. if Key == "q" and ATTACK == false then
  2716. Smack()
  2717. end
  2718.  
  2719. if Key == "x" and ATTACK == false then
  2720. Prison_Key()
  2721. end
  2722.  
  2723. if Key == "f" and ATTACK == false then
  2724. Morning_Star()
  2725. end
  2726.  
  2727. if Key == "y" and ATTACK == false then
  2728. EMOTE()
  2729. end
  2730.  
  2731. if Key == "r" and ATTACK == false then
  2732. PainlessRain()
  2733. end
  2734.  
  2735. if Key == "p" and ATTACK == false then
  2736. Taunt2()
  2737. end
  2738.  
  2739. if Key == "t" and ATTACK == false then
  2740. Hat()
  2741. end
  2742. end
  2743.  
  2744. function KeyUp(Key)
  2745. KEYHOLD = false
  2746. end
  2747.  
  2748. Mouse.Button1Down:connect(function(NEWKEY)
  2749. MouseDown(NEWKEY)
  2750. end)
  2751. Mouse.Button1Up:connect(function(NEWKEY)
  2752. MouseUp(NEWKEY)
  2753. end)
  2754. Mouse.KeyDown:connect(function(NEWKEY)
  2755. KeyDown(NEWKEY)
  2756. end)
  2757. Mouse.KeyUp:connect(function(NEWKEY)
  2758. KeyUp(NEWKEY)
  2759. end)
  2760.  
  2761. --//=================================\\
  2762. --\\=================================//
  2763.  
  2764.  
  2765. function unanchor()
  2766. if UNANCHOR == true then
  2767. g = Character:GetChildren()
  2768. for i = 1, #g do
  2769. if g[i].ClassName == "Part" then
  2770. g[i].Anchored = false
  2771. end
  2772. end
  2773. end
  2774. end
  2775.  
  2776.  
  2777. --//=================================\\
  2778. --|| WRAP THE WHOLE SCRIPT UP
  2779. --\\=================================//
  2780.  
  2781. Humanoid.Changed:connect(function(Jump)
  2782. if Jump == "Jump" and (Disable_Jump == true) then
  2783. Humanoid.Jump = false
  2784. end
  2785. end)
  2786.  
  2787. while true do
  2788. Swait()
  2789. script.Parent = WEAPONGUI
  2790. Humanoid.Parent = Character
  2791. if Humanoid then
  2792. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2793. IDLEANIMATION:Play()
  2794. end
  2795. if ANIMATE.Parent == Character then
  2796. ANIMATE:Destroy()
  2797. end
  2798. RightArmGrasp.C0 = Clerp(RightArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(-1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  2799. SINE = SINE + CHANGE
  2800. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2801. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2802. Humanoid.HipHeight = 1
  2803. Humanoid.Name = "Warden"
  2804. Humanoid.PlatformStand = false
  2805. if PLAYMAINANIM == true then
  2806. if TORSOVELOCITY < 1 then
  2807. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2808. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2809. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2810. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2811. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2812. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2813. elseif TORSOVELOCITY > 1 then
  2814. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2815. 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)
  2816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2818. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2819. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2820. end
  2821. end
  2822. unanchor()
  2823. Humanoid.MaxHealth = "inf"
  2824. Humanoid.Health = "inf"
  2825. if Rooted == false then
  2826. Disable_Jump = false
  2827. Humanoid.WalkSpeed = Speed
  2828. elseif Rooted == true then
  2829. Disable_Jump = true
  2830. Humanoid.WalkSpeed = 0
  2831. end
  2832. for _, c in pairs(Character:GetChildren()) do
  2833. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2834. c.Material = "Neon"
  2835. if c:FindFirstChildOfClass("ParticleEmitter") then
  2836. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2837. end
  2838. c.Color = C3(1,1,1)
  2839. if c == Head then
  2840. if c:FindFirstChild("face") then
  2841. c.face:remove()
  2842. end
  2843. end
  2844. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" then
  2845. c:remove()
  2846. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2847. c:remove()
  2848. end
  2849. end
  2850. sick.SoundId = "rbxassetid://1996312061"
  2851. sick.Looped = true
  2852. sick.Pitch = 1
  2853. sick.Volume = 2.5
  2854. sick:Resume()
  2855. sick.Parent = Torso
  2856. refit()
  2857. if Head:FindFirstChildOfClass("Sound") then
  2858. Head:FindFirstChildOfClass("Sound"):remove()
  2859. end
  2860. end
  2861.  
  2862. --//=================================\\
  2863. --\\=================================//
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869. --//====================================================\\--
  2870. --|| END OF SCRIPT
  2871. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement