Advertisement
ExcuseMehEdit

Test2

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