VIPER23

Untitled

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