Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.49 KB | None | 0 0
  1. wait(0.2)
  2. local kickedtable = {}
  3. local Kick_Reason = "Nothing!"
  4. local Player = game:GetService("Players").iComboPE
  5. Mouse = Player:GetMouse()
  6. Mouse = Player:getMouse()
  7. PlayerGui = Player.PlayerGui
  8. Cam = workspace.CurrentCamera
  9. Backpack = Player.Backpack
  10. Character = Player.Character
  11. Humanoid = Character.Humanoid
  12. RootPart = Character["HumanoidRootPart"]
  13. Torso = Character["Torso"]
  14. Head = Character["Head"]
  15. RightArm = Character["Right Arm"]
  16. LeftArm = Character["Left Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LeftLeg = Character["Left Leg"]
  19. RootJoint = RootPart["RootJoint"]
  20. Neck = Torso["Neck"]
  21. RightShoulder = Torso["Right Shoulder"]
  22. LeftShoulder = Torso["Left Shoulder"]
  23. RightHip = Torso["Right Hip"]
  24. LeftHip = Torso["Left Hip"]
  25. local sick = Instance.new("Sound",Character)
  26. sick.SoundId = "rbxassetid://1696854181"
  27. sick.Looped = true
  28. sick.Pitch = 1.25
  29. sick.Volume = 1
  30. sick:Play()
  31.  
  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.  
  49. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  50. local NEWMESH = IT(MESH)
  51. if MESH == "SpecialMesh" then
  52. NEWMESH.MeshType = MESHTYPE
  53. if MESHID ~= "nil" and MESHID ~= "" then
  54. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  55. end
  56. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  57. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  58. end
  59. end
  60. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  61. NEWMESH.Scale = SCALE
  62. NEWMESH.Parent = PARENT
  63. return NEWMESH
  64. end
  65.  
  66. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  67. local NEWPART = IT("Part")
  68. NEWPART.formFactor = FORMFACTOR
  69. NEWPART.Reflectance = REFLECTANCE
  70. NEWPART.Transparency = TRANSPARENCY
  71. NEWPART.CanCollide = false
  72. NEWPART.Locked = true
  73. NEWPART.Anchored = true
  74. if ANCHOR == false then
  75. NEWPART.Anchored = false
  76. end
  77. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  78. NEWPART.Name = NAME
  79. NEWPART.Size = SIZE
  80. NEWPART.Position = Torso.Position
  81. NEWPART.Material = MATERIAL
  82. NEWPART:BreakJoints()
  83. NEWPART.Parent = PARENT
  84. return NEWPART
  85. end
  86.  
  87. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  88. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  89. local mesh = IT("SpecialMesh",wave)
  90. mesh.MeshType = "FileMesh"
  91. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  92. mesh.Scale = SIZE
  93. mesh.Offset = VT(0,0,-SIZE.X/8)
  94. wave.CFrame = CFRAME
  95. coroutine.resume(coroutine.create(function(PART)
  96. for i = 1, WAIT do
  97. Swait()
  98. mesh.Scale = mesh.Scale + GROW
  99. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  100. if DOESROT == true then
  101. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  102. end
  103. wave.Transparency = wave.Transparency + (0.5/WAIT)
  104. if wave.Transparency > 0.99 then
  105. wave:remove()
  106. end
  107. end
  108. end))
  109. end
  110.  
  111.  
  112.  
  113. --//=================================\\
  114. --|| CUSTOMIZATION
  115. --\\=================================//
  116.  
  117. Player_Size = 1 --Size of the player.
  118. Animation_Speed = 1.5
  119. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  120.  
  121. local Speed = 16
  122. local Effects2 = {}
  123.  
  124. --//=================================\\
  125. --|| END OF CUSTOMIZATION
  126. --\\=================================//
  127.  
  128. local function weldBetween(a, b)
  129. local weldd = Instance.new("ManualWeld")
  130. weldd.Part0 = a
  131. weldd.Part1 = b
  132. weldd.C0 = CFrame.new()
  133. weldd.C1 = b.CFrame:inverse() * a.CFrame
  134. weldd.Parent = a
  135. return weldd
  136. end
  137.  
  138. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  139. local acs = Instance.new("Part")
  140. acs.CanCollide = false
  141. acs.Anchored = false
  142. acs.Size = Vector3.new(0,0,0)
  143. acs.CFrame = attachmentpart.CFrame
  144. acs.Parent = Character
  145. acs.BrickColor = color
  146. local meshs = Instance.new("SpecialMesh")
  147. meshs.MeshId = mesh
  148. meshs.TextureId = texture
  149. meshs.Parent = acs
  150. meshs.Scale = scale
  151. meshs.Offset = offset
  152. weldBetween(attachmentpart,acs)
  153. end
  154.  
  155. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  156. if TYPE == "Gem" then
  157. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  158. acs.Anchored = false
  159. acs.CanCollide = false
  160. acs.CFrame = PART.CFrame
  161. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  162. weldBetween(PART,acs)
  163. elseif TYPE == "Skull" then
  164. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  165. acs.Anchored = false
  166. acs.CanCollide = false
  167. acs.CFrame = PART.CFrame
  168. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  169. weldBetween(PART,acs)
  170. elseif TYPE == "Eye" then
  171. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  172. acs.Anchored = false
  173. acs.CanCollide = false
  174. acs.CFrame = PART.CFrame
  175. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  176. weldBetween(PART,acs)
  177. end
  178. end
  179.  
  180. --//=================================\\
  181. --|| USEFUL VALUES
  182. --\\=================================//
  183.  
  184. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  185. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  186. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  187. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  188. local CHANGEDEFENSE = 0
  189. local CHANGEDAMAGE = 0
  190. local CHANGEMOVEMENT = 0
  191. local ANIM = "Idle"
  192. local ATTACK = false
  193. local EQUIPPED = false
  194. local HOLD = false
  195. local COMBO = 1
  196. local Rooted = false
  197. local SINE = 0
  198. local KEYHOLD = false
  199. local CHANGE = 2 / Animation_Speed
  200. local WALKINGANIM = false
  201. local WALK = 0
  202. local VALUE1 = false
  203. local HITFLOOR = nil
  204. local VALUE2 = false
  205. local ROBLOXIDLEANIMATION = IT("Animation")
  206. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  207. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=2971808194"
  208. --ROBLOXIDLEANIMATION.Parent = Humanoid
  209. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  210. WEAPONGUI.Name = "Weapon GUI"
  211. local Weapon = IT("Model")
  212. Weapon.Name = "Adds"
  213.  
  214. local Effects = IT("Folder", Weapon)
  215. Effects.Name = "Effects"
  216. local ANIMATOR = Humanoid.Animator
  217. local ANIMATE = Character.Animate
  218. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  219. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  220. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  221. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  222. local UNANCHOR = true
  223.  
  224. local SKILLTEXTCOLOR = C3(0,0,0)
  225.  
  226. --//=================================\\
  227. --\\=================================//
  228.  
  229.  
  230. --//=================================\\
  231. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  232. --\\=================================//
  233.  
  234. ArtificialHB = Instance.new("BindableEvent", script)
  235. ArtificialHB.Name = "ArtificialHB"
  236.  
  237. script:WaitForChild("ArtificialHB")
  238.  
  239. frame = Frame_Speed
  240. tf = 0
  241. allowframeloss = false
  242. tossremainder = false
  243. lastframe = tick()
  244. script.ArtificialHB:Fire()
  245.  
  246. game:GetService("RunService").Heartbeat:connect(function(s, p)
  247. tf = tf + s
  248. if tf >= frame then
  249. if allowframeloss then
  250. script.ArtificialHB:Fire()
  251. lastframe = tick()
  252. else
  253. for i = 1, math.floor(tf / frame) do
  254. script.ArtificialHB:Fire()
  255. end
  256. lastframe = tick()
  257. end
  258. if tossremainder then
  259. tf = 0
  260. else
  261. tf = tf - frame * math.floor(tf / frame)
  262. end
  263. end
  264. end)
  265.  
  266. --//=================================\\
  267. --\\=================================//
  268.  
  269. --//=================================\\
  270. --|| SOME FUNCTIONS
  271. --\\=================================//
  272.  
  273.  
  274. --//=================================\\
  275. --|| Kick Reason
  276. --\\=================================//
  277.  
  278.  
  279. Player.Chatted:connect(function(Message)
  280. if string.sub(Message,1,10) == "SetReason!" then
  281. if string.sub(Message,11) then
  282. local Kick_Reason = "Nothing" ..string.sub(Message,11)
  283. end
  284. end
  285. if string.sub(Message,1,5) == "/e r/" then
  286. if string.sub(Message,6) then
  287. local Kick_Reason = "Server Banned: " ..string.sub(Message,6)
  288. end
  289. end
  290. end)
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  298. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  299. end
  300.  
  301. function PositiveAngle(NUMBER)
  302. if NUMBER >= 0 then
  303. NUMBER = 0
  304. end
  305. return NUMBER
  306. end
  307.  
  308. function NegativeAngle(NUMBER)
  309. if NUMBER <= 0 then
  310. NUMBER = 0
  311. end
  312. return NUMBER
  313. end
  314.  
  315. function Swait(NUMBER)
  316. if NUMBER == 0 or NUMBER == nil then
  317. ArtificialHB.Event:wait()
  318. else
  319. for i = 1, NUMBER do
  320. ArtificialHB.Event:wait()
  321. end
  322. end
  323. end
  324.  
  325. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  326. local NEWMESH = IT(MESH)
  327. if MESH == "SpecialMesh" then
  328. NEWMESH.MeshType = MESHTYPE
  329. if MESHID ~= "nil" and MESHID ~= "" then
  330. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  331. end
  332. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  333. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  334. end
  335. end
  336. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  337. NEWMESH.Scale = SCALE
  338. NEWMESH.Parent = PARENT
  339. return NEWMESH
  340. end
  341.  
  342. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  343. local NEWPART = IT("Part")
  344. NEWPART.formFactor = FORMFACTOR
  345. NEWPART.Reflectance = REFLECTANCE
  346. NEWPART.Transparency = TRANSPARENCY
  347. NEWPART.CanCollide = false
  348. NEWPART.Locked = true
  349. NEWPART.Anchored = true
  350. if ANCHOR == false then
  351. NEWPART.Anchored = false
  352. end
  353. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  354. NEWPART.Name = NAME
  355. NEWPART.Size = SIZE
  356. NEWPART.Position = Torso.Position
  357. NEWPART.Material = MATERIAL
  358. NEWPART:BreakJoints()
  359. NEWPART.Parent = PARENT
  360. return NEWPART
  361. end
  362.  
  363. local function weldBetween(a, b)
  364. local weldd = Instance.new("ManualWeld")
  365. weldd.Part0 = a
  366. weldd.Part1 = b
  367. weldd.C0 = CFrame.new()
  368. weldd.C1 = b.CFrame:inverse() * a.CFrame
  369. weldd.Parent = a
  370. return weldd
  371. end
  372.  
  373.  
  374. function QuaternionFromCFrame(cf)
  375. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  376. local trace = m00 + m11 + m22
  377. if trace > 0 then
  378. local s = math.sqrt(1 + trace)
  379. local recip = 0.5 / s
  380. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  381. else
  382. local i = 0
  383. if m11 > m00 then
  384. i = 1
  385. end
  386. if m22 > (i == 0 and m00 or m11) then
  387. i = 2
  388. end
  389. if i == 0 then
  390. local s = math.sqrt(m00 - m11 - m22 + 1)
  391. local recip = 0.5 / s
  392. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  393. elseif i == 1 then
  394. local s = math.sqrt(m11 - m22 - m00 + 1)
  395. local recip = 0.5 / s
  396. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  397. elseif i == 2 then
  398. local s = math.sqrt(m22 - m00 - m11 + 1)
  399. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  400. end
  401. end
  402. end
  403.  
  404. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  405. local xs, ys, zs = x + x, y + y, z + z
  406. local wx, wy, wz = w * xs, w * ys, w * zs
  407. local xx = x * xs
  408. local xy = x * ys
  409. local xz = x * zs
  410. local yy = y * ys
  411. local yz = y * zs
  412. local zz = z * zs
  413. 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))
  414. end
  415.  
  416. function QuaternionSlerp(a, b, t)
  417. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  418. local startInterp, finishInterp;
  419. if cosTheta >= 0.0001 then
  420. if (1 - cosTheta) > 0.0001 then
  421. local theta = ACOS(cosTheta)
  422. local invSinTheta = 1 / SIN(theta)
  423. startInterp = SIN((1 - t) * theta) * invSinTheta
  424. finishInterp = SIN(t * theta) * invSinTheta
  425. else
  426. startInterp = 1 - t
  427. finishInterp = t
  428. end
  429. else
  430. if (1 + cosTheta) > 0.0001 then
  431. local theta = ACOS(-cosTheta)
  432. local invSinTheta = 1 / SIN(theta)
  433. startInterp = SIN((t - 1) * theta) * invSinTheta
  434. finishInterp = SIN(t * theta) * invSinTheta
  435. else
  436. startInterp = t - 1
  437. finishInterp = t
  438. end
  439. end
  440. 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
  441. end
  442.  
  443. function Clerp(a, b, t)
  444. local qa = {QuaternionFromCFrame(a)}
  445. local qb = {QuaternionFromCFrame(b)}
  446. local ax, ay, az = a.x, a.y, a.z
  447. local bx, by, bz = b.x, b.y, b.z
  448. local _t = 1 - t
  449. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  450. end
  451.  
  452. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  453. local frame = IT("Frame")
  454. frame.BackgroundTransparency = TRANSPARENCY
  455. frame.BorderSizePixel = BORDERSIZEPIXEL
  456. frame.Position = POSITION
  457. frame.Size = SIZE
  458. frame.BackgroundColor3 = COLOR
  459. frame.BorderColor3 = BORDERCOLOR
  460. frame.Name = NAME
  461. frame.Parent = PARENT
  462. return frame
  463. end
  464.  
  465. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  466. local label = IT("TextLabel")
  467. label.BackgroundTransparency = 1
  468. label.Size = UD2(1, 0, 1, 0)
  469. label.Position = UD2(0, 0, 0, 0)
  470. label.TextColor3 = TEXTCOLOR
  471. label.TextStrokeTransparency = STROKETRANSPARENCY
  472. label.TextTransparency = TRANSPARENCY
  473. label.FontSize = TEXTFONTSIZE
  474. label.Font = TEXTFONT
  475. label.BorderSizePixel = BORDERSIZEPIXEL
  476. label.TextScaled = false
  477. label.Text = TEXT
  478. label.Name = NAME
  479. label.Parent = PARENT
  480. return label
  481. end
  482.  
  483. function NoOutlines(PART)
  484. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  485. end
  486.  
  487. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  488. local NEWWELD = IT(TYPE)
  489. NEWWELD.Part0 = PART0
  490. NEWWELD.Part1 = PART1
  491. NEWWELD.C0 = C0
  492. NEWWELD.C1 = C1
  493. NEWWELD.Parent = PARENT
  494. return NEWWELD
  495. end
  496.  
  497. local S = IT("Sound")
  498. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  499. local NEWSOUND = nil
  500. coroutine.resume(coroutine.create(function()
  501. NEWSOUND = S:Clone()
  502. NEWSOUND.Parent = PARENT
  503. NEWSOUND.Volume = VOLUME
  504. NEWSOUND.Pitch = PITCH
  505. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  506. NEWSOUND:play()
  507. if DOESLOOP == true then
  508. NEWSOUND.Looped = true
  509. else
  510. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  511. NEWSOUND:remove()
  512. end
  513. end))
  514. return NEWSOUND
  515. end
  516.  
  517. function CFrameFromTopBack(at, top, back)
  518. local right = top:Cross(back)
  519. 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)
  520. end
  521.  
  522. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  523. function WACKYEFFECT(Table)
  524. local TYPE = (Table.EffectType or "Sphere")
  525. local SIZE = (Table.Size or VT(1,1,1))
  526. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  527. local TRANSPARENCY = (Table.Transparency or 0)
  528. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  529. local CFRAME = (Table.CFrame or Torso.CFrame)
  530. local MOVEDIRECTION = (Table.MoveToPos or nil)
  531. local ROTATION1 = (Table.RotationX or 0)
  532. local ROTATION2 = (Table.RotationY or 0)
  533. local ROTATION3 = (Table.RotationZ or 0)
  534. local MATERIAL = (Table.Material or "Neon")
  535. local COLOR = (Table.Color or C3(1,1,1))
  536. local TIME = (Table.Time or 45)
  537. local SOUNDID = (Table.SoundID or nil)
  538. local SOUNDPITCH = (Table.SoundPitch or nil)
  539. local SOUNDVOLUME = (Table.SoundVolume or nil)
  540. coroutine.resume(coroutine.create(function()
  541. local PLAYSSOUND = false
  542. local SOUND = nil
  543. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  544. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  545. PLAYSSOUND = true
  546. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  547. end
  548. EFFECT.Color = COLOR
  549. local MSH = nil
  550. if TYPE == "Sphere" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Block" then
  553. MSH = IT("BlockMesh",EFFECT)
  554. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  555. elseif TYPE == "Wave" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  557. elseif TYPE == "Ring" then
  558. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  559. elseif TYPE == "Slash" then
  560. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  561. elseif TYPE == "Round Slash" then
  562. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  563. elseif TYPE == "Swirl" then
  564. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  565. elseif TYPE == "Skull" then
  566. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  567. elseif TYPE == "Crystal" then
  568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  569. end
  570. if MSH ~= nil then
  571. local MOVESPEED = nil
  572. if MOVEDIRECTION ~= nil then
  573. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  574. end
  575. local GROWTH = SIZE - ENDSIZE
  576. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  577. if TYPE == "Block" then
  578. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  579. else
  580. EFFECT.CFrame = CFRAME
  581. end
  582. for LOOP = 1, TIME+1 do
  583. Swait()
  584. MSH.Scale = MSH.Scale - GROWTH/TIME
  585. if TYPE == "Wave" then
  586. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  587. end
  588. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  589. if TYPE == "Block" then
  590. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591. else
  592. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  593. end
  594. if MOVEDIRECTION ~= nil then
  595. local ORI = EFFECT.Orientation
  596. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  597. EFFECT.Orientation = ORI
  598. end
  599. end
  600. if PLAYSSOUND == false then
  601. EFFECT:remove()
  602. else
  603. SOUND.Stopped:Connect(function()
  604. EFFECT:remove()
  605. end)
  606. end
  607. else
  608. if PLAYSSOUND == false then
  609. EFFECT:remove()
  610. else
  611. repeat Swait() until SOUND.Playing == false
  612. EFFECT:remove()
  613. end
  614. end
  615. end))
  616. end
  617.  
  618. function MakeForm(PART,TYPE)
  619. if TYPE == "Cyl" then
  620. local MSH = IT("CylinderMesh",PART)
  621. elseif TYPE == "Ball" then
  622. local MSH = IT("SpecialMesh",PART)
  623. MSH.MeshType = "Sphere"
  624. elseif TYPE == "Wedge" then
  625. local MSH = IT("SpecialMesh",PART)
  626. MSH.MeshType = "Wedge"
  627. end
  628. end
  629.  
  630. function SpawnTrail(FROM,TO,BIG)
  631. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  632. MakeForm(TRAIL,"Cyl")
  633. local DIST = (FROM - TO).Magnitude
  634. if BIG == true then
  635. TRAIL.Size = VT(0.5,DIST,0.5)
  636. else
  637. TRAIL.Size = VT(0.25,DIST,0.25)
  638. end
  639. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  640. coroutine.resume(coroutine.create(function()
  641. for i = 1, 5 do
  642. Swait()
  643. TRAIL.Transparency = TRAIL.Transparency + 0.1
  644. end
  645. TRAIL:remove()
  646. end))
  647. end
  648.  
  649. Debris = game:GetService("Debris")
  650.  
  651. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  652. local DIRECTION = CF(StartPos,EndPos).lookVector
  653. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  654. end
  655.  
  656. function turnto(position)
  657. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  658. end
  659.  
  660.  
  661. --//=================================\\
  662. --|| Kick Reason
  663. --\\=================================//
  664.  
  665.  
  666. Player.Chatted:connect(function(Message)
  667. if string.sub(Message,1,10) == "SetReason!" then
  668. if string.sub(Message,11) then
  669. local Kick_Reason = "Nothing" ..string.sub(Message,11)
  670. end
  671. end
  672. if string.sub(Message,1,5) == "/e r/" then
  673. if string.sub(Message,6) then
  674. local Kick_Reason = "Server Banned: " ..string.sub(Message,6)
  675. end
  676. end
  677. end)
  678.  
  679.  
  680.  
  681.  
  682. --//=================================\\
  683. --|| WEAPON CREATION
  684. --\\=================================//
  685.  
  686.  
  687. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  688. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008))
  689. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  690. FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  691. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  692. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  693. Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005))
  694. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  695. CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  696. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  697. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  698. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  699. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  700. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  701. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  702. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  703. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  704. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  705. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  706. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  707. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  708. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  709. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  710. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  711. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  712. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  713. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  714. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976))
  715. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1))
  716. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15))
  717. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  718. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008))
  719. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  720. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  721. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  722. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  723. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011))
  724. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  725. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  726. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  727. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  728. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  729. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014))
  730. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008))
  731. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  732. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  733. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008))
  734. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  735. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024))
  736. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008))
  737. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  738. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036))
  739. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  740. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  741. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024))
  742. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  743. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  744. for _,c in pairs(m:children()) do
  745. if c.className == "Part" then
  746. table.insert(Hammer, c)
  747. end
  748. end
  749. for _,c in pairs(m:children()) do
  750. if c.className == "Weld" then
  751. table.insert(HammerWelds, c)
  752. print(c)
  753. end
  754. end
  755. local model2 = (Instance.new("Model"))
  756. model2.Parent = nil
  757. model2.Name = "Chakkran"
  758. DBlade = {}
  759. DBladeWelds = {}
  760. Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  761. Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928))
  762. FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  763. FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  764. Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1))
  765. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  766. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005))
  767. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  768. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  769. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  770. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  771. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  772. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  773. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037))
  774. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  775. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  776. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037))
  777. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  778. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  779. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037))
  780. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  781. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  782. Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1))
  783. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  784. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3))
  785. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  786. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  787. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  788. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  789. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  790. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  791. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  792. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  793. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  794. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  795. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  796. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  797. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  798. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  799. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  800. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  801. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  802. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  803. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  804. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  805. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  806. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  807. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  808. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  809. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  810. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  811. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  812. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  813. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  814. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  815. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  816. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  817. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  818. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  819. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  820. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  821. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  822. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  823. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  824. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  825. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  826. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  827. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  828. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  829. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  830. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  831. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  832. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  833. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037))
  834. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  835. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  836. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  837. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  838. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  839. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  840. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  841. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  842. Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978))
  843. Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  844. CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  845. for _,c in pairs(model2:children()) do
  846. if c.className == "Part" then
  847. table.insert(DBlade, c)
  848. end
  849. end
  850. for _,c in pairs(model2:children()) do
  851. if c.className == "Weld" then
  852. table.insert(DBladeWelds, c)
  853. print(c)
  854. end
  855. end
  856.  
  857.  
  858. --//=================================\\
  859. --|| ATTACK FUNCTIONS AND STUFF
  860. --\\=================================//
  861.  
  862. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  863. if FLOOR ~= nil then
  864. coroutine.resume(coroutine.create(function()
  865. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  866. PART.CFrame = CF(POSITION)
  867. for i = 1, 45 do
  868. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  869. RingPiece.Material = FLOOR.Material
  870. RingPiece.Color = FLOOR.Color
  871. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  872. Debris:AddItem(RingPiece,SWAIT/100)
  873. end
  874. PART:remove()
  875. end))
  876. end
  877. end
  878.  
  879. function BANSLAM()
  880. ATTACK = true
  881. Rooted = false
  882. repeat
  883. for i=0, 0.2, 0.1 / Animation_Speed do
  884. Swait()
  885. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  886. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  887. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  888. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  889. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  890. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  891. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  892. end
  893. for i=0, 0.08, 0.1 / Animation_Speed do
  894. Swait()
  895. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  900. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  901. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  902. end
  903. for i=0, 0.08, 0.1 / Animation_Speed do
  904. Swait()
  905. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  906. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  910. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  911. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  912. end
  913. CreateSound("147722910", Effects, 10, 1)
  914. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  915. if HITFLOOR ~= nil then
  916. CreateSound("289842971", HandlePart, 10, 1)
  917. CreateSound("289842971", HandlePart, 10, 1)
  918. CreateSound("289842971", HandlePart, 10, 1)
  919. CreateSound("289842971", HandlePart, 10, 1)
  920. CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  921. end
  922. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
  923. CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
  924. for i=0, 0.1, 0.1 / Animation_Speed do
  925. Swait()
  926. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  931. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  933. end
  934. if HOLD == true then
  935. for i=0, 0.08, 0.1 / Animation_Speed do
  936. Swait()
  937. if HOLD == false then
  938. break
  939. end
  940. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  941. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  945. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  946. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  947. end
  948. end
  949. until HOLD == false
  950. for i=0, 1, 0.1 / Animation_Speed do
  951. Swait()
  952. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  957. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  959. end
  960. for i=0, 5, 0.1 / Animation_Speed do
  961. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  962. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  963. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  964. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  968. end
  969. ATTACK = false
  970. Rooted = false
  971. end
  972.  
  973.  
  974.  
  975.  
  976. --//=================================\\
  977. --|| ASSIGN THINGS TO KEYS
  978. --\\=================================//
  979.  
  980.  
  981.  
  982.  
  983.  
  984. --//=================================\\
  985. --\\=================================//
  986.  
  987.  
  988. function unanchor()
  989. if UNANCHOR == true then
  990. g = Character:GetChildren()
  991. for i = 1, #g do
  992. if g[i].ClassName == "Part" then
  993. g[i].Anchored = false
  994. end
  995. end
  996. end
  997. end
  998.  
  999.  
  1000. --//=================================\\
  1001. --|| WRAP THE WHOLE SCRIPT UP
  1002. --\\=================================//
  1003.  
  1004. Humanoid.Changed:connect(function(Jump)
  1005. if Jump == "Jump" and (Disable_Jump == true) then
  1006. Humanoid.Jump = false
  1007. end
  1008. end)
  1009.  
  1010. Speed = 23
  1011.  
  1012. while true do
  1013. Swait()
  1014. ANIMATE.Parent = nil
  1015. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1016. IDLEANIMATION:Play()
  1017. SINE = SINE + CHANGE
  1018. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1019. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1020. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1021. HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1022. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1023. if ATTACK == false then
  1024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1025. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1026. end
  1027. if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  1028. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1029. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1030. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1031. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1032. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  1033. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1034. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1035. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1036. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1037. end
  1038. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1039. ANIM = "Jump"
  1040. if ATTACK == false then
  1041. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1044. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1046. end
  1047. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1048. ANIM = "Fall"
  1049. if ATTACK == false then
  1050. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1051. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1052. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1053. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1054. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1055. end
  1056. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1057. ANIM = "Idle"
  1058. if ATTACK == false then
  1059. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1060. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1062. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1063. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1064. end
  1065. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1066. ANIM = "Walk"
  1067. WALK = WALK + 1 / Animation_Speed
  1068. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1069. WALK = 0
  1070. if WALKINGANIM == true then
  1071. WALKINGANIM = false
  1072. elseif WALKINGANIM == false then
  1073. WALKINGANIM = true
  1074. end
  1075. end
  1076. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1077. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1078. if ATTACK == false then
  1079. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1080. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1081. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1082. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1083. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1084. end
  1085. end
  1086. unanchor()
  1087. Humanoid.MaxHealth = 5e15
  1088. Humanoid.Health = 5e15
  1089. if Rooted == false then
  1090. Disable_Jump = false
  1091. Humanoid.WalkSpeed = Speed
  1092. elseif Rooted == true then
  1093. Disable_Jump = true
  1094. Humanoid.WalkSpeed = 0
  1095. end
  1096. local MATHS = {"0","1"}
  1097. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1098. Humanoid.PlatformStand = false
  1099. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement