Advertisement
Dark_EccentricYT

Untitled

Jun 20th, 2020
3,217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.24 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER, HARD REMADE WAS DONE
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. KEYHOLD = false
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48. local Torsos = {}
  49. Taunts = {907328147,907330619,907332856,907329044,907329893}
  50.  
  51.  
  52. q = Character:GetChildren()
  53. for u = 1, #q do
  54. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  55. q[u]:remove()
  56. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  57. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  58. end
  59. end
  60.  
  61. for i,v in pairs(Character:GetChildren()) do
  62. if v.ClassName == "Shirt" then
  63. v:Remove()
  64. end
  65. if v.ClassName == "Pants" then
  66. v:Remove()
  67. end
  68. end
  69.  
  70.  
  71.  
  72.  
  73. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  74. local NEWMESH = IT(MESH)
  75. if MESH == "SpecialMesh" then
  76. NEWMESH.MeshType = MESHTYPE
  77. if MESHID ~= "nil" and MESHID ~= "" then
  78. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  79. end
  80. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  81. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  82. end
  83. end
  84. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  85. NEWMESH.Scale = SCALE
  86. NEWMESH.Parent = PARENT
  87. return NEWMESH
  88. end
  89.  
  90. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  91. local NEWPART = IT("Part")
  92. NEWPART.formFactor = FORMFACTOR
  93. NEWPART.Reflectance = REFLECTANCE
  94. NEWPART.Transparency = TRANSPARENCY
  95. NEWPART.CanCollide = false
  96. NEWPART.Locked = true
  97. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  98. NEWPART.Name = NAME
  99. NEWPART.Size = SIZE
  100. NEWPART.Position = Torso.Position
  101. NEWPART.Material = MATERIAL
  102. NEWPART:BreakJoints()
  103. NEWPART.Parent = PARENT
  104. return NEWPART
  105. end
  106.  
  107. function particles(art,enabled)
  108. local EyeSizes={
  109. NumberSequenceKeypoint.new(0,.8,0),
  110. NumberSequenceKeypoint.new(1,0,0)
  111. }
  112. local EyeTrans={
  113. NumberSequenceKeypoint.new(0,0,0),
  114. NumberSequenceKeypoint.new(1,1,0)
  115. }
  116. local PE=Instance.new("ParticleEmitter",art)
  117. PE.LightEmission=.4
  118. PE.Size=NumberSequence.new(EyeSizes)
  119. PE.Transparency=NumberSequence.new(EyeTrans)
  120. PE.Lifetime=NumberRange.new(0.5,0.5,0.5)
  121. PE.Rate=360
  122. PE.Speed = NumberRange.new(0,0,0)
  123. PE.Texture="rbxassetid://24419398"
  124. PE.ZOffset = 0
  125. PE.Name = "PE"
  126. PE.Enabled = enabled
  127. end
  128.  
  129. particles(RightArm,true)
  130. particles(LeftArm,true)
  131. particles(RightLeg,true)
  132. particles(LeftLeg,true)
  133. particles(Torso,true)
  134. particles(Head,true)
  135.  
  136.  
  137.  
  138.  
  139. --//=================================\\
  140. --|| CUSTOMIZATION
  141. --\\=================================//
  142.  
  143. Class_Name = "Rannoch"
  144. Weapon_Name = "Add-ons"
  145.  
  146.  
  147. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  148. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  149.  
  150. Custom_Color_3 = BRICKC("Black"); --Color for the abilities.
  151. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  152. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  153. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  154. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  155.  
  156. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  157. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  158. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  159. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  160. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  161.  
  162.  
  163. Player_Size = 1 --Size of the player.
  164. Animation_Speed = 3
  165. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  166.  
  167. local Speed = 16
  168. local Effects2 = {}
  169.  
  170. --//=================================\\
  171. --|| END OF CUSTOMIZATION
  172. --\\=================================//
  173.  
  174. local function weldBetween(a, b)
  175. local weldd = Instance.new("ManualWeld")
  176. weldd.Part0 = a
  177. weldd.Part1 = b
  178. weldd.C0 = CFrame.new()
  179. weldd.C1 = b.CFrame:inverse() * a.CFrame
  180. weldd.Parent = a
  181. return weldd
  182. end
  183.  
  184. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  185. local acs = Instance.new("Part")
  186. acs.CanCollide = false
  187. acs.Anchored = false
  188. acs.Size = Vector3.new(0,0,0)
  189. acs.CFrame = attachmentpart.CFrame
  190. acs.Parent = Character
  191. acs.BrickColor = color
  192. local meshs = Instance.new("SpecialMesh")
  193. meshs.MeshId = mesh
  194. meshs.TextureId = texture
  195. meshs.Parent = acs
  196. meshs.Scale = scale
  197. meshs.Offset = offset
  198. weldBetween(attachmentpart,acs)
  199. end
  200.  
  201. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  202. if TYPE == "Gem" then
  203. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  204. acs.Anchored = false
  205. acs.CanCollide = false
  206. acs.CFrame = PART.CFrame
  207. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  208. weldBetween(PART,acs)
  209. elseif TYPE == "Skull" then
  210. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  211. acs.Anchored = false
  212. acs.CanCollide = false
  213. acs.CFrame = PART.CFrame
  214. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  215. weldBetween(PART,acs)
  216. elseif TYPE == "Eye" then
  217. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  218. acs.Anchored = false
  219. acs.CanCollide = false
  220. acs.CFrame = PART.CFrame
  221. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  222. weldBetween(PART,acs)
  223. end
  224. end
  225.  
  226. --//=================================\\
  227. --|| USEFUL VALUES
  228. --\\=================================//
  229.  
  230. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  231. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  232. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  233. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  234. local CO1 = 0
  235. local CO2 = 0
  236. local CO3 = 0
  237. local CO4 = 0
  238. local CHANGEDEFENSE = 0
  239. local CHANGEDAMAGE = 0
  240. local CHANGEMOVEMENT = 0
  241. local ANIM = "Idle"
  242. local ATTACK = false
  243. local EQUIPPED = false
  244. local HOLD = false
  245. local COMBO = 1
  246. local LASTPOINT = nil
  247. local BLCF = nil
  248. local SCFR = nil
  249. local STAGGERHITANIM = false
  250. local STAGGERANIM = false
  251. local STUNANIM = false
  252. local CRITCHANCENUMBER = 0
  253. local IDLENUMBER = 0
  254. local DONUMBER = 0
  255. local HANDIDLE = false
  256. local SINE = 0
  257. local CHANGE = 2 / Animation_Speed
  258. local WALKINGANIM = false
  259. local WALK = 0
  260. local DISABLEJUMPING = false
  261. local HASBEENBLOCKED = false
  262. local STUNDELAYNUMBER = 0
  263. local MANADELAYNUMBER = 0
  264. local SECONDARYMANADELAYNUMBER = 0
  265. local ROBLOXIDLEANIMATION = IT("Animation")
  266. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  267. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  268. --ROBLOXIDLEANIMATION.Parent = Humanoid
  269. local WEAPONGUI = IT("ScreenGui", nil)
  270. WEAPONGUI.Name = "Weapon GUI"
  271. local WEAPONTOOL = IT("HopperBin", nil)
  272. WEAPONTOOL.Name = Weapon_Name
  273. local Weapon = IT("Model")
  274. Weapon.Name = Weapon_Name
  275. local Effects = IT("Folder", Weapon)
  276. Effects.Name = "Effects"
  277. local ANIMATOR = Humanoid.Animator
  278. local ANIMATE = Character.Animate
  279. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  280. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  281. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  282. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  283. local UNANCHOR = true
  284.  
  285. --//=================================\\
  286. --\\=================================//
  287.  
  288. --//=================================\\
  289. --|| STATS
  290. --\\=================================//
  291.  
  292. if Character:FindFirstChild("Stats") ~= nil then
  293. Character:FindFirstChild("Stats").Parent = nil
  294. end
  295.  
  296. local Stats = IT("Folder", nil)
  297. Stats.Name = "Stats"
  298. local ChangeStat = IT("Folder", Stats)
  299. ChangeStat.Name = "ChangeStat"
  300. local Defense = IT("NumberValue", Stats)
  301. Defense.Name = "Defense"
  302. Defense.Value = 1
  303. local Movement = IT("NumberValue", Stats)
  304. Movement.Name = "Movement"
  305. Movement.Value = 1
  306. local Damage = IT("NumberValue", Stats)
  307. Damage.Name = "Damage"
  308. Damage.Value = 1
  309. local Mana = IT("NumberValue", Stats)
  310. Mana.Name = "Mana"
  311. Mana.Value = 0
  312. local SecondaryMana = IT("NumberValue", Stats)
  313. SecondaryMana.Name = "SecondaryMana"
  314. SecondaryMana.Value = 0
  315. local CanCrit = IT("BoolValue", Stats)
  316. CanCrit.Name = "CanCrit"
  317. CanCrit.Value = false
  318. local CritChance = IT("NumberValue", Stats)
  319. CritChance.Name = "CritChance"
  320. CritChance.Value = 20
  321. local CanPenetrateArmor = IT("BoolValue", Stats)
  322. CanPenetrateArmor.Name = "CanPenetrateArmor"
  323. CanPenetrateArmor.Value = false
  324. local AntiTeamKill = IT("BoolValue", Stats)
  325. AntiTeamKill.Name = "AntiTeamKill"
  326. AntiTeamKill.Value = false
  327. local Rooted = IT("BoolValue", Stats)
  328. Rooted.Name = "Rooted"
  329. Rooted.Value = false
  330. local Block = IT("BoolValue", Stats)
  331. Block.Name = "Block"
  332. Block.Value = false
  333. local RecentEnemy = IT("ObjectValue", Stats)
  334. RecentEnemy.Name = "RecentEnemy"
  335. RecentEnemy.Value = nil
  336. local StaggerHit = IT("BoolValue", Stats)
  337. StaggerHit.Name = "StaggerHit"
  338. StaggerHit.Value = false
  339. local Stagger = IT("BoolValue", Stats)
  340. Stagger.Name = "Stagger"
  341. Stagger.Value = false
  342. local Stun = IT("BoolValue", Stats)
  343. Stun.Name = "Stun"
  344. Stun.Value = false
  345. local StunValue = IT("NumberValue", Stats)
  346. StunValue.Name = "StunValue"
  347. StunValue.Value = 0
  348.  
  349.  
  350. --//=================================\\
  351. --\\=================================//
  352.  
  353.  
  354.  
  355.  
  356.  
  357. --//=================================\\
  358. --|| DEBUFFS / BUFFS
  359. --\\=================================//
  360.  
  361. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  362. DEFENSECHANGE1.Name = "ChangeDefense"
  363. DEFENSECHANGE1.Value = 0
  364.  
  365. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  366. MOVEMENTCHANGE1.Name = "ChangeMovement"
  367. MOVEMENTCHANGE1.Value = 0
  368.  
  369. --//=================================\\
  370. --\\=================================//
  371.  
  372.  
  373.  
  374.  
  375.  
  376. --//=================================\\
  377. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  378. --\\=================================//
  379.  
  380. ArtificialHB = Instance.new("BindableEvent", script)
  381. ArtificialHB.Name = "ArtificialHB"
  382.  
  383. script:WaitForChild("ArtificialHB")
  384.  
  385. frame = Frame_Speed
  386. tf = 0
  387. allowframeloss = false
  388. tossremainder = false
  389. lastframe = tick()
  390. script.ArtificialHB:Fire()
  391.  
  392. game:GetService("RunService").Heartbeat:connect(function(s, p)
  393. tf = tf + s
  394. if tf >= frame then
  395. if allowframeloss then
  396. script.ArtificialHB:Fire()
  397. lastframe = tick()
  398. else
  399. for i = 1, math.floor(tf / frame) do
  400. script.ArtificialHB:Fire()
  401. end
  402. lastframe = tick()
  403. end
  404. if tossremainder then
  405. tf = 0
  406. else
  407. tf = tf - frame * math.floor(tf / frame)
  408. end
  409. end
  410. end)
  411.  
  412. --//=================================\\
  413. --\\=================================//
  414.  
  415.  
  416.  
  417.  
  418.  
  419. --//=================================\\
  420. --|| SOME FUNCTIONS
  421. --\\=================================//
  422.  
  423. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  424. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  425. end
  426.  
  427. function PositiveAngle(NUMBER)
  428. if NUMBER >= 0 then
  429. NUMBER = 0
  430. end
  431. return NUMBER
  432. end
  433.  
  434. function NegativeAngle(NUMBER)
  435. if NUMBER <= 0 then
  436. NUMBER = 0
  437. end
  438. return NUMBER
  439. end
  440.  
  441. function Swait(NUMBER)
  442. if NUMBER == 0 or NUMBER == nil then
  443. ArtificialHB.Event:wait()
  444. else
  445. for i = 1, NUMBER do
  446. ArtificialHB.Event:wait()
  447. end
  448. end
  449. end
  450.  
  451. function QuaternionFromCFrame(cf)
  452. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  453. local trace = m00 + m11 + m22
  454. if trace > 0 then
  455. local s = math.sqrt(1 + trace)
  456. local recip = 0.5 / s
  457. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  458. else
  459. local i = 0
  460. if m11 > m00 then
  461. i = 1
  462. end
  463. if m22 > (i == 0 and m00 or m11) then
  464. i = 2
  465. end
  466. if i == 0 then
  467. local s = math.sqrt(m00 - m11 - m22 + 1)
  468. local recip = 0.5 / s
  469. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  470. elseif i == 1 then
  471. local s = math.sqrt(m11 - m22 - m00 + 1)
  472. local recip = 0.5 / s
  473. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  474. elseif i == 2 then
  475. local s = math.sqrt(m22 - m00 - m11 + 1)
  476. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  477. end
  478. end
  479. end
  480.  
  481. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  482. local xs, ys, zs = x + x, y + y, z + z
  483. local wx, wy, wz = w * xs, w * ys, w * zs
  484. local xx = x * xs
  485. local xy = x * ys
  486. local xz = x * zs
  487. local yy = y * ys
  488. local yz = y * zs
  489. local zz = z * zs
  490. 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))
  491. end
  492.  
  493. function QuaternionSlerp(a, b, t)
  494. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  495. local startInterp, finishInterp;
  496. if cosTheta >= 0.0001 then
  497. if (1 - cosTheta) > 0.0001 then
  498. local theta = ACOS(cosTheta)
  499. local invSinTheta = 1 / SIN(theta)
  500. startInterp = SIN((1 - t) * theta) * invSinTheta
  501. finishInterp = SIN(t * theta) * invSinTheta
  502. else
  503. startInterp = 1 - t
  504. finishInterp = t
  505. end
  506. else
  507. if (1 + cosTheta) > 0.0001 then
  508. local theta = ACOS(-cosTheta)
  509. local invSinTheta = 1 / SIN(theta)
  510. startInterp = SIN((t - 1) * theta) * invSinTheta
  511. finishInterp = SIN(t * theta) * invSinTheta
  512. else
  513. startInterp = t - 1
  514. finishInterp = t
  515. end
  516. end
  517. 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
  518. end
  519.  
  520. function Clerp(a, b, t)
  521. local qa = {QuaternionFromCFrame(a)}
  522. local qb = {QuaternionFromCFrame(b)}
  523. local ax, ay, az = a.x, a.y, a.z
  524. local bx, by, bz = b.x, b.y, b.z
  525. local _t = 1 - t
  526. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  527. end
  528.  
  529. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  530. local frame = IT("Frame")
  531. frame.BackgroundTransparency = TRANSPARENCY
  532. frame.BorderSizePixel = BORDERSIZEPIXEL
  533. frame.Position = POSITION
  534. frame.Size = SIZE
  535. frame.BackgroundColor3 = COLOR
  536. frame.BorderColor3 = BORDERCOLOR
  537. frame.Name = NAME
  538. frame.Parent = PARENT
  539. return frame
  540. end
  541.  
  542. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  543. local label = IT("TextLabel")
  544. label.BackgroundTransparency = 1
  545. label.Size = UD2(1, 0, 1, 0)
  546. label.Position = UD2(0, 0, 0, 0)
  547. label.TextColor3 = C3(255, 255, 255)
  548. label.TextStrokeTransparency = STROKETRANSPARENCY
  549. label.TextTransparency = TRANSPARENCY
  550. label.FontSize = TEXTFONTSIZE
  551. label.Font = TEXTFONT
  552. label.BorderSizePixel = BORDERSIZEPIXEL
  553. label.TextScaled = true
  554. label.Text = TEXT
  555. label.Name = NAME
  556. label.Parent = PARENT
  557. return label
  558. end
  559.  
  560. function NoOutlines(PART)
  561. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  562. end
  563.  
  564.  
  565. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  566. local NEWWELD = IT(TYPE)
  567. NEWWELD.Part0 = PART0
  568. NEWWELD.Part1 = PART1
  569. NEWWELD.C0 = C0
  570. NEWWELD.C1 = C1
  571. NEWWELD.Parent = PARENT
  572. return NEWWELD
  573. end
  574.  
  575. function CreateSound(ID, PARENT, VOLUME, PITCH)
  576. coroutine.resume(coroutine.create(function()
  577. local NEWSOUND = IT("Sound", PARENT)
  578. NEWSOUND.Volume = VOLUME
  579. NEWSOUND.Pitch = PITCH
  580. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  581. Swait()
  582. NEWSOUND:play()
  583. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  584. end))
  585. end
  586.  
  587. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  588. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  589. EFFECTPART.Anchored = true
  590. EFFECTPART.CFrame = CFRAME
  591. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  592. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  593. coroutine.resume(coroutine.create(function(PART, MESH)
  594. for i = 0, 1, delay do
  595. Swait()
  596. PART.CFrame = PART.CFrame * ROTATION
  597. PART.Transparency = i
  598. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  599. end
  600. PART.Parent = nil
  601. end), EFFECTPART, EFFECTMESH)
  602. end
  603.  
  604. function killnearest(position,range,maxstrength)
  605. for i,v in ipairs(workspace:GetChildren()) do
  606. local body = v:GetChildren()
  607. for part = 1, #body do
  608. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  609. if(body[part].Position - position).Magnitude < range then
  610. if v.ClassName == "Model" then
  611. v:BreakJoints()
  612. end
  613. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  614. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  615. end
  616. end
  617. end
  618. if v.ClassName == "Part" then
  619. if v.Anchored == false and (v.Position - position).Magnitude < range then
  620. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  621. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  622. end
  623. end
  624. end
  625. end
  626.  
  627.  
  628. function FuriousExplosion(PART,POS,SCALE)
  629. if PART ~= nil then
  630. PART:remove()
  631. end
  632. local FIREBALLCOLORS = {Custom_Color_1,Custom_Color_2,Custom_Color_3}
  633. POZ = POS.Position
  634. POS = CFrame.new(POS.Position)
  635. MagicSphere(Custom_Color_2, "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*40,SCALE*40,SCALE*40, -0.2,00.2,00.2, 0.01)
  636. MagicSphere(Custom_Color_3, "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*40,SCALE*40,SCALE*40, -0.5,-0.5,-0.5, 0.01)
  637. local POS2 = Instance.new("Part")
  638. POS2.Size = Vector3.new(SCALE,SCALE,SCALE)
  639. POS2.CFrame = CFrame.new(POS.X,POS.Y,POS.Z)
  640. POS2.Anchored = true
  641. POS2.CanCollide = false
  642. POS2.Parent = Effects
  643. POS2.Transparency = 1
  644. killnearest(POZ,SCALE,50)
  645. local PITCH = 2-SCALE/15
  646. if PITCH < 0.5 then
  647. PITCH = 0.5
  648. end
  649. game:GetService("Debris"):AddItem(POS2, 5)
  650. for i = 1, 8 do
  651. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", POS * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*50,115,115,SCALE*0.85,0,0, 0.02)
  652. end
  653. for i = 1, 12 do
  654. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", CF(POZ.X + math.random(-SCALE,SCALE),POZ.Y + math.random(-SCALE,SCALE),POZ.Z + math.random(-SCALE,SCALE)) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0,0,0,SCALE/5,SCALE/5,SCALE/5, 0.04)
  655. end
  656. CreateSound("636458264", Effects, SCALE/15, PITCH)
  657. local FIREBALLHITSOUNDS = {"331888892", "331666100", "304448425"}
  658. CreateSound("186772924", Effects, SCALE/15, PITCH)
  659. Swait()
  660. for i = 1, 5 do
  661. Swait()
  662. --MagnitudeDamage("", "", "", "", 1, 1, 1, 1, POS2, SCALE*1.3, false, 25, 35, 0, "Normal", RootPart, 0, 0.3, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false, "Damage")
  663. SIZE = MRANDOM(SCALE*32,SCALE*48)
  664. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE,2,SIZE, 5,0,5, 0.02)
  665. end
  666. end
  667.  
  668. --//=================================\\
  669. --\\=================================//
  670.  
  671.  
  672.  
  673.  
  674. --//=================================\\
  675. --|| RESIZE PLAYER
  676. --\\=================================//
  677.  
  678. if Player_Size ~= 1 then
  679. RootPart.Size = RootPart.Size * Player_Size
  680. Torso.Size = Torso.Size * Player_Size
  681. Head.Size = Head.Size * Player_Size
  682. RightArm.Size = RightArm.Size * Player_Size
  683. LeftArm.Size = LeftArm.Size * Player_Size
  684. RightLeg.Size = RightLeg.Size * Player_Size
  685. LeftLeg.Size = LeftLeg.Size * Player_Size
  686. RootJoint.Parent = RootPart
  687. Neck.Parent = Torso
  688. RightShoulder.Parent = Torso
  689. LeftShoulder.Parent = Torso
  690. RightHip.Parent = Torso
  691. LeftHip.Parent = Torso
  692.  
  693. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  694. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  695. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  696. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  697. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  698. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  699. if Disable_Moving_Arms == false then
  700. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  701. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  702. else
  703. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  704. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  705. end
  706. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  707. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  708. 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))
  709. 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))
  710. --------------------
  711. end
  712.  
  713.  
  714. --//=================================\\
  715. --|| NEEDED ACCESSORIES
  716. --\\=================================//
  717.  
  718.  
  719. createaccessory(Head,"http://www.roblox.com/asset/?id=1271547","rbxassetid://99174105",VT(1.05, 1.05, 1.05),VT(0, 1, 0),BrickColor.new"Really black")
  720. local eye1 = createbodypart("Eye","Institutional white",Head,VT(0.2, 0.23, -0.55),VT(5,3,3))
  721. local eye2 = createbodypart("Eye","Institutional white",Head,VT(-0.2, 0.23, -0.55),VT(5,3,3))
  722.  
  723.  
  724.  
  725.  
  726. --//=================================\\
  727. --|| WEAPON CREATION
  728. --\\=================================//
  729.  
  730. if Player_Size ~= 1 then
  731. for _, v in pairs (Weapon:GetChildren()) do
  732. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  733. local p1 = v.Part1
  734. v.Part1 = nil
  735. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  736. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  737. v.Part1 = p1
  738. elseif v.ClassName == "Part" then
  739. for _, b in pairs (v:GetChildren()) do
  740. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  741. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  742. end
  743. end
  744. end
  745. end
  746. end
  747.  
  748. for _, c in pairs(Weapon:GetChildren()) do
  749. if c.ClassName == "Part" then
  750. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  751. end
  752. end
  753.  
  754. Weapon.Parent = Character
  755.  
  756. print(Class_Name.." loaded.")
  757.  
  758. --//=================================\\
  759. --\\=================================//
  760.  
  761.  
  762.  
  763. --//=================================\\
  764. --|| ATTACK FUNCTIONS AND STUFF
  765. --\\=================================//
  766.  
  767. local raysound = Instance.new("Sound",Character)
  768. raysound.SoundId = "rbxassetid://346067083"
  769. raysound.Pitch = 2
  770. raysound.Looped = true
  771. raysound.Volume = 2
  772.  
  773. function Taunt()
  774. CreateSound(Taunts[MRANDOM(1, #Taunts)], Head, 1.4, 1)
  775. end
  776.  
  777.  
  778. function pew()
  779. Rooted = true
  780. CreateSound("331888685", Character, 2, 1)
  781. local sphere = Instance.new("Part",Effects)
  782. sphere.Size = Vector3.new(0,0,0)
  783. sphere.Material = "Neon"
  784. sphere.Shape = "Ball"
  785. sphere.Name = "AntimatterBullet"
  786. sphere.Anchored = true
  787. sphere.Color = Color3.new(0/255, 0/255, 0/255)
  788. sphere.CFrame = RightArm.CFrame * CF(0,-1,0)
  789. sphere.CanCollide = false
  790. particles(sphere,true)
  791. ATTACK = true
  792. local hit = sphere.Touched:connect(function(hit)
  793. if hit.CanCollide == true and hit.Parent ~= Character then
  794. if sphere:FindFirstChild("Inferno") then
  795. FuriousExplosion(sphere,sphere,sphere.Size.Y*20)
  796. else
  797. FuriousExplosion(sphere,sphere,sphere.Size.Y*20)
  798. end
  799. end
  800. end)
  801. repeat
  802. Swait()
  803. if sphere.Size.Y < 8.03 then
  804. sphere.Size = sphere.Size + Vector3.new(0.03,0.03,0.03)
  805. elseif sphere.Size.Y > 8 then
  806. sphere.Size = VT(8,8,8)
  807. end
  808. sphere.CFrame = RightArm.CFrame * CF(0,-1-sphere.Size.Y/2,0)
  809. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*3)
  810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed)
  811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(25), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*3)
  812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  813. RightHip.C0 = Clerp(RightHip.C0, CF(1 * 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*3)
  814. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * 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*3)
  815. until KEYHOLD == false
  816. CreateSound("1127797047", sphere, 4, MRANDOM(6, 10) / 10)
  817. local taunt = CreateSound("215395388", Character, 1.2, 2.5)
  818. local effect = IT("PitchShiftSoundEffect",taunt)
  819. effect.Octave = 1
  820. local bv = Instance.new("BodyVelocity")
  821. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  822. bv.velocity = RootPart.CFrame.lookVector*50
  823. bv.Parent = sphere
  824. bv.Name = "DASH"
  825. sphere.Anchored = false
  826. for i=0, 1, 0.1 / Animation_Speed*3 do
  827. Swait()
  828. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*3)
  829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed)
  830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*3)
  831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  832. RightHip.C0 = Clerp(RightHip.C0, CF(1 * 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*3)
  833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * 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*3)
  834. end
  835. Rooted = false
  836. ATTACK = false
  837. end
  838.  
  839. function HoldRay()
  840. ATTACK = true
  841. UNANCHOR = false
  842. for i=0, 1.5, 0.1 / Animation_Speed do
  843. Swait()
  844. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  848. RightHip.C0 = Clerp(RightHip.C0, CF(1 * 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)
  849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * 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)
  850. end
  851. CreateSound("428800263", Torso, 15, 3.5)
  852. local sphere = Instance.new("Part",Effects)
  853. sphere.Size = Vector3.new(0,0,0)
  854. sphere.Material = "Neon"
  855. sphere.Shape = "Ball"
  856. sphere.Name = "AntimatterRay"
  857. sphere.Anchored = true
  858. sphere.Color = Color3.new(0,0,0)
  859. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  860. sphere.CanCollide = false
  861. for i=0, 1, 0.1 / Animation_Speed do
  862. Swait()
  863. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  864. sphere.Size = sphere.Size + Vector3.new(0.6,0.6,0.6)
  865. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  866. end
  867. local sound = Instance.new("Sound",Effects)
  868. sound.SoundId = "rbxassetid://165487479"
  869. sound.Volume = 0
  870. sound.Pitch = 3
  871. sound:Play()
  872. repeat
  873. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  874. Swait()
  875. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  876. until sound.Playing == false
  877. sound:Remove()
  878. raysound:Play()
  879. local timer = 1
  880. local Lazor = Instance.new("Part",Effects)
  881. Lazor.Size = Vector3.new(12,12,1000)
  882. Lazor.Name = "AntimatterRay"
  883. Lazor.Material = "Neon"
  884. Lazor.Anchored = true
  885. Lazor.CanCollide = false
  886. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  887. Lazor.Color = Color3.new(0,0,0)
  888. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  889. local hit = Lazor.Touched:connect(function(hit)
  890. if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then
  891. if hit.Parent:FindFirstChild("Humanoid") then
  892. hit.Parent:BreakJoints()
  893. if hit.Parent:FindFirstChild("Vanishing") == nil then
  894. local vanish = Instance.new("BoolValue",hit.Parent)
  895. vanish.Name = "Vanishing"
  896. local sound = Instance.new("Sound",hit)
  897. sound.SoundId = "rbxassetid://1177785010"
  898. sound.Volume = 10
  899. sound:Play()
  900. end
  901. else
  902. local vanish = Instance.new("BoolValue",hit)
  903. vanish.Name = "Vanishing"
  904. hit.Color = Color3.new(0,0,0)
  905. table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1})
  906. if hit:FindFirstChildOfClass("SpecialMesh") then
  907. local mesh = hit:FindFirstChildOfClass("SpecialMesh")
  908. mesh.TextureId = ""
  909. end
  910. end
  911. end
  912. end)
  913. local hit2 = sphere.Touched:connect(function(hit)
  914. if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then
  915. if hit.Parent:FindFirstChild("Humanoid") then
  916. hit.Parent:BreakJoints()
  917. if hit.Parent:FindFirstChild("Vanishing") == nil then
  918. local vanish = Instance.new("BoolValue",hit.Parent)
  919. vanish.Name = "Vanishing"
  920. local sound = Instance.new("Sound",hit)
  921. sound.SoundId = "rbxassetid://1177785010"
  922. sound.Volume = 10
  923. sound:Play()
  924. end
  925. else
  926. local vanish = Instance.new("BoolValue",hit)
  927. vanish.Name = "Vanishing"
  928. hit.Color = Color3.new(0,0,0)
  929. table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1})
  930. if hit:FindFirstChildOfClass("SpecialMesh") then
  931. local mesh = hit:FindFirstChildOfClass("SpecialMesh")
  932. mesh.TextureId = ""
  933. end
  934. end
  935. end
  936. end)
  937. repeat
  938. if HOLD == true then
  939. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  940. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  941. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  942. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  943. if timer ==1 then
  944. Lazor.Color = Color3.new(1,1,1)
  945. sphere.Color = Color3.new(0,0,0)
  946. timer = 2
  947. elseif timer ==2 then
  948. Lazor.Color = Color3.new(0,0,0)
  949. sphere.Color = Color3.new(1,1,1)
  950. timer = 1
  951. end
  952. end
  953. Swait()
  954. until HOLD == false
  955. for i=0, 1, 0.1 / Animation_Speed/2 do
  956. Swait()
  957. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  958. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  959. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  960. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  961. sphere.Anchored = true
  962. Lazor.Anchored = true
  963. sphere.Size = sphere.Size - Vector3.new(0.2,0.2,0.2)
  964. Lazor.Size = Lazor.Size - Vector3.new(0.5,0.5,0)
  965. Lazor.Transparency = Lazor.Transparency + 0.03
  966. sphere.Transparency = sphere.Transparency + 0.03
  967. raysound.Volume = raysound.Volume - 0.1
  968. if timer ==1 then
  969. Lazor.Color = Color3.new(1,1,1)
  970. sphere.Color = Color3.new(0,0,0)
  971. timer = 2
  972. elseif timer ==2 then
  973. Lazor.Color = Color3.new(0,0,0)
  974. sphere.Color = Color3.new(1,1,1)
  975. timer = 1
  976. end
  977. end
  978. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Vector3.new(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
  979. hit2:disconnect()
  980. hit:disconnect()
  981. raysound:Stop()
  982. raysound.Volume = 5
  983. sphere:remove()
  984. Lazor:remove()
  985. BLCF = nil
  986. SCFR = nil
  987. coroutine.resume(coroutine.create(function()
  988. for i=0, 1, 0.1 / Animation_Speed do
  989. Swait()
  990. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  994. RightHip.C0 = Clerp(RightHip.C0, CF(1 * 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)
  995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * 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)
  996. end
  997. end))
  998. ATTACK = false
  999. UNANCHOR = true
  1000. end
  1001.  
  1002. local sick = Instance.new("Sound",Character)
  1003. sick.SoundId = "rbxassetid://0"
  1004. sick.Looped = true
  1005. sick.Pitch = 1
  1006. sick.Volume = 1
  1007. sick:Play()
  1008. sick.Name = "RannochIsHere"
  1009. cloneofmusic = sick:Clone()
  1010.  
  1011. local Spook = false
  1012.  
  1013.  
  1014.  
  1015. --//=================================\\
  1016. --|| ASSIGN THINGS TO KEYS
  1017. --\\=================================//
  1018.  
  1019. Humanoid.Changed:connect(function(Jump)
  1020. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1021. Humanoid.Jump = false
  1022. end
  1023. end)
  1024.  
  1025.  
  1026.  
  1027.  
  1028. function MouseDown(Mouse)
  1029. if HOLD == false and ATTACK == false then
  1030. HOLD = true
  1031. HoldRay()
  1032. elseif HOLD == true then
  1033. HOLD = false
  1034. end
  1035. end
  1036.  
  1037.  
  1038. function MouseUp(Mouse)
  1039. end
  1040.  
  1041. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1042. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1043. end
  1044.  
  1045. function KeyDown(Key)
  1046. if Key == "t" then
  1047. Taunt()
  1048. end
  1049. KEYHOLD = true
  1050. if Key == "w" and HOLD == false and ATTACK == false then
  1051. repeat
  1052. local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*150, 1.8, {workspace})
  1053. RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  1054. Swait()
  1055. until KEYHOLD == false
  1056. end
  1057. if Key == "s" and HOLD == false and ATTACK == false then
  1058. repeat
  1059. local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*-150, 1.8, {workspace})
  1060. RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  1061. Swait()
  1062. until KEYHOLD == false
  1063. end
  1064. if Key == "z" and ATTACK == false then
  1065. pew()
  1066. end
  1067. end
  1068.  
  1069. function KeyUp(Key)
  1070. KEYHOLD = false
  1071. end
  1072.  
  1073. Mouse.Button1Down:connect(function(NEWKEY)
  1074. MouseDown(NEWKEY)
  1075. end)
  1076. Mouse.Button1Up:connect(function(NEWKEY)
  1077. MouseUp(NEWKEY)
  1078. end)
  1079. Mouse.KeyDown:connect(function(NEWKEY)
  1080. KeyDown(NEWKEY)
  1081. end)
  1082. Mouse.KeyUp:connect(function(NEWKEY)
  1083. KeyUp(NEWKEY)
  1084. end)
  1085.  
  1086. --//=================================\\
  1087. --\\=================================//
  1088.  
  1089.  
  1090. function unanchor()
  1091. if UNANCHOR == true then
  1092. g = Character:GetChildren()
  1093. for i = 1, #g do
  1094. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1095. g[i].Anchored = false
  1096. end
  1097. end
  1098. end
  1099. RootPart.Anchored = true
  1100. end
  1101.  
  1102.  
  1103. --//=================================\\
  1104. --|| WRAP THE WHOLE SCRIPT UP
  1105. --\\=================================//
  1106.  
  1107. Humanoid.Changed:connect(function(Jump)
  1108. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1109. Humanoid.Jump = false
  1110. end
  1111. end)
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119. ANIMATE.Parent = nil
  1120. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1121. IDLEANIMATION:Play()
  1122.  
  1123. while true do
  1124. Swait()
  1125. SINE = SINE + CHANGE
  1126. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1127. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1128. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1129. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1130. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1131. if ANIM == "Idle" and TORSOVELOCITY > 1 then
  1132. ANIM = "Idle"
  1133. if ATTACK == false then
  1134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1138. end
  1139. if #Effects2>0 then
  1140. for e=1,#Effects2 do
  1141. if Effects2[e]~=nil then
  1142. local Thing=Effects2[e]
  1143. if Thing~=nil then
  1144. local Part=Thing[1]
  1145. local Mode=Thing[2]
  1146. local Delay=Thing[3]
  1147. local IncX=Thing[4]
  1148. local IncY=Thing[5]
  1149. local IncZ=Thing[6]
  1150. local Part2=Thing[8]
  1151. if Thing[1].Transparency<=1 then
  1152. if Thing[2]=="Block1" then
  1153. Thing[1].CFrame=Part2.CFrame
  1154. Mesh=Thing[1].Mesh
  1155. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1156. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1157. elseif Thing[2]=="Cylinder" then
  1158. Mesh=Thing[1].Mesh
  1159. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1160. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1161. elseif Thing[2]=="Blood" then
  1162. Mesh=Thing[7]
  1163. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1164. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1165. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1166. elseif Thing[2]=="Elec" then
  1167. Mesh=Thing[1].Mesh
  1168. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1169. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1170. elseif Thing[2]=="Disappear" then
  1171. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1172. elseif Thing[2]=="TorsoSpin" and Spook == true then
  1173. Thing[1].CFrame = CFrame.new(Thing[1].Position,Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180)))
  1174. end
  1175. else
  1176. Part.Parent=nil
  1177. table.remove(Effects2,e)
  1178. end
  1179. end
  1180. end
  1181. end
  1182. end
  1183. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  1184. q = Character:GetChildren()
  1185. for u = 1, #q do
  1186. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1187. q[u]:remove()
  1188. elseif q[u].ClassName == "RightArm" and q[u].Name ~= "HumanoidRootPart" then
  1189. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1190. elseif q[u].ClassName == "LeftArm" and q[u].Name ~= "HumanoidRootPart" then
  1191. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1192. elseif q[u].ClassName == "RightLeg" and q[u].Name ~= "HumanoidRootPart" then
  1193. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1194. elseif q[u].ClassName == "LeftLeg" and q[u].Name ~= "HumanoidRootPart" then
  1195. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1196. elseif q[u].ClassName == "Torso" and q[u].Name ~= "HumanoidRootPart" then
  1197. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1198. elseif q[u].ClassName == "Head" and q[u].Name ~= "HumanoidRootPart" then
  1199. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1200. end
  1201. end
  1202. Head.Color = Color3.new(0/255, 0/255, 0/255)
  1203. Torso.Color = Color3.new(0/255, 0/255, 0/255)
  1204. RightLeg.Color = Color3.new(0/255, 0/255, 0/255)
  1205. LeftLeg.Color = Color3.new(0/255, 0/255, 0/255)
  1206. RightArm.Color = Color3.new(0/255, 0/255, 0/255)
  1207. LeftArm.Color = Color3.new(0/255, 0/255, 0/255)
  1208. if sick.Parent == nil then
  1209. sick.Parent = game.Players.LocalPlayer.Character
  1210. end
  1211. unanchor()
  1212. Humanoid.MaxHealth = "inf"
  1213. Humanoid.Health = "inf"
  1214. if Rooted == false then
  1215. Disable_Jump = false
  1216. Humanoid.WalkSpeed = Speed
  1217. elseif Rooted == true then
  1218. Disable_Jump = true
  1219. Humanoid.WalkSpeed = 0
  1220. end
  1221. if Head:FindFirstChild("face") then
  1222. Head.face:remove()
  1223. end
  1224. end
  1225. end
  1226.  
  1227. --//=================================\\
  1228. --\\=================================//
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. --//====================================================\\--
  1235. --|| END OF SCRIPT
  1236. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement