Advertisement
Guest_84210423435

;/

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