Penien23

EST

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