Advertisement
AgentVK

xd

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