Advertisement
lafur

Untitled

Mar 28th, 2020
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. script.Name = "Skid Killer"
  2. --Original script created by shackluster
  3. --Edit by iComboPE
  4. --SHOOTING PEOPLE WITH IT KICKS THEM
  5. script:ClearAllChildren()
  6. wait(0.2)
  7.  
  8. local kickedtable = {}
  9. local Kick_Reason = "Part skipping"
  10. Player = game:GetService("Players").LocalPlayer
  11. PlayerGui = Player.PlayerGui
  12. Cam = workspace.CurrentCamera
  13. Backpack = Player.Backpack
  14. Character = Player.Character
  15. Humanoid = Character.Humanoid
  16. Mouse = Player:GetMouse()
  17. RootPart = Character["HumanoidRootPart"]
  18. Torso = Character["Torso"]
  19. Head = Character["Head"]
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local TIME = 0
  31. local sick = Instance.new("Sound",Torso)
  32.  
  33. print'Hey You!'
  34. print'Somehow you got this script soo..'
  35. warn'Please do not leak or trade......'
  36.  
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53. Player_Size = 1
  54. local CLOCKLOOP = 0
  55. local CLOCKSPEED = 40
  56. local CLOCKTARGET = nil
  57. local SIZE = 1
  58.  
  59. --//=================================\\
  60. --|| USEFUL VALUES
  61. --\\=================================//
  62.  
  63. touchCounter = 0
  64. local cR=255
  65. local cG=0
  66. local cB=0
  67. local flg5=1 local omgidk=1
  68. local add=15
  69. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  70. if omgidk>10000 then omgidk=0 end
  71. omgidk=omgidk+1
  72. if cR>=255 then flg5=1 end
  73. if cG>=255 then flg5=2 end
  74. if cB>=255 then flg5=3 end
  75. if flg5==1 then cR=cR-add cG=cG+add end
  76. if flg5==2 then cG=cG-add cB=cB+add end
  77. if flg5==3 then cB=cB-add cR=cR+add end
  78. color=Color3.fromRGB(cR,cG,cB)
  79. end)
  80.  
  81. Animation_Speed = 3
  82. local FORCERESET = false
  83. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  84. local Speed = 35
  85. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  86. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  87. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  88. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  89. local DAMAGEMULTIPLIER = 1
  90. local ANIM = "Idle"
  91. local ATTACK = false
  92. local EQUIPPED = false
  93. local HOLD = false
  94. local COMBO = 1
  95. local Rooted = false
  96. local SINE = 0
  97. local KEYHOLD = false
  98. local CHANGE = 2 / Animation_Speed
  99. local WALKINGANIM = false
  100. local VALUE1 = false
  101. local VALUE2 = false
  102. local ROBLOXIDLEANIMATION = IT("Animation")
  103. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  104. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  105. --ROBLOXIDLEANIMATION.Parent = Humanoid
  106. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  107. WEAPONGUI.Name = "BanishV3Gui"
  108. local Weapon = IT("Model")
  109. Weapon.Name = "Adds"
  110. local Effects = IT("Folder", Weapon)
  111. Effects.Name = "Effects"
  112. local ANIMATOR = Humanoid.Animator
  113. local ANIMATE = Character:FindFirstChild("Animate")
  114. local UNANCHOR = true
  115. local TOBANISH = {}
  116. script.Parent = PlayerGui
  117. local MODE = "GoodCop"
  118. local Weapon2 = IT("Model")
  119. Weapon2.Name = "Adds2"
  120. local Effects = IT("Folder", Weapon2)
  121. Effects.Name = "Effects"
  122. local SINE = 0
  123.  
  124.  
  125. --//=================================\\
  126. --\\=================================//
  127.  
  128.  
  129. --//=================================\\
  130. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  131. --\\=================================//
  132.  
  133. ArtificialHB = Instance.new("BindableEvent", script)
  134. ArtificialHB.Name = "ArtificialHB"
  135.  
  136. script:WaitForChild("ArtificialHB")
  137.  
  138. frame = Frame_Speed
  139. tf = 0
  140. allowframeloss = false
  141. tossremainder = false
  142. lastframe = tick()
  143. script.ArtificialHB:Fire()
  144.  
  145. game:GetService("RunService").Heartbeat:connect(function(s, p)
  146. tf = tf + s
  147. if tf >= frame then
  148. if allowframeloss then
  149. script.ArtificialHB:Fire()
  150. lastframe = tick()
  151. else
  152. for i = 1, math.floor(tf / frame) do
  153. script.ArtificialHB:Fire()
  154. end
  155. lastframe = tick()
  156. end
  157. if tossremainder then
  158. tf = 0
  159. else
  160. tf = tf - frame * math.floor(tf / frame)
  161. end
  162. end
  163. end)
  164.  
  165. --//=================================\\
  166. --\\=================================//
  167.  
  168. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  169. local CHILDREN = workspace:GetDescendants()
  170. for index, CHILD in pairs(CHILDREN) do
  171. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  172. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  173. if HUM then
  174. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  175. if TORSO then
  176. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  177. if INSTAKILL == true then
  178. CHILD:BreakJoints()
  179. else
  180. local DMG = MRANDOM(MINDMG,MAXDMG)
  181. ApplyDamage(HUM,DMG,TORSO)
  182. end
  183. if FLING > 0 then
  184. for _, c in pairs(CHILD:GetChildren()) do
  185. if c:IsA("BasePart") then
  186. local bv = Instance.new("BodyVelocity")
  187. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  188. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  189. bv.Parent = c
  190. Debris:AddItem(bv,0.05)
  191. end
  192. end
  193. end
  194. end
  195. end
  196. end
  197. end
  198. end
  199. end
  200.  
  201.  
  202.  
  203. --//=================================\\
  204. --|| SOME FUNCTIONS
  205. --\\=================================//
  206.  
  207. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  208. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  209. end
  210.  
  211. function PositiveAngle(NUMBER)
  212. if NUMBER >= 0 then
  213. NUMBER = 0
  214. end
  215. return NUMBER
  216. end
  217.  
  218. function NegativeAngle(NUMBER)
  219. if NUMBER <= 0 then
  220. NUMBER = 0
  221. end
  222. return NUMBER
  223. end
  224.  
  225. function Swait(NUMBER)
  226. if NUMBER == 0 or NUMBER == nil then
  227. ArtificialHB.Event:wait()
  228. else
  229. for i = 1, NUMBER do
  230. ArtificialHB.Event:wait()
  231. end
  232. end
  233. end
  234.  
  235. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  236. local NEWMESH = IT(MESH)
  237. if MESH == "SpecialMesh" then
  238. NEWMESH.MeshType = MESHTYPE
  239. if MESHID ~= "nil" and MESHID ~= "" then
  240. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  241. end
  242. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  243. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  244. end
  245. end
  246. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  247. NEWMESH.Scale = SCALE
  248. NEWMESH.Parent = PARENT
  249. return NEWMESH
  250. end
  251.  
  252. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  253. local NEWPART = IT("Part")
  254. NEWPART.formFactor = FORMFACTOR
  255. NEWPART.Reflectance = REFLECTANCE
  256. NEWPART.Transparency = TRANSPARENCY
  257. NEWPART.CanCollide = false
  258. NEWPART.Locked = true
  259. NEWPART.Anchored = true
  260. if ANCHOR == false then
  261. NEWPART.Anchored = false
  262. end
  263. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  264. NEWPART.Name = NAME
  265. NEWPART.Size = SIZE
  266. NEWPART.Position = Torso.Position
  267. NEWPART.Material = MATERIAL
  268. NEWPART:BreakJoints()
  269. NEWPART.Parent = PARENT
  270. return NEWPART
  271. end
  272.  
  273. local function weldBetween(a, b)
  274. local weldd = Instance.new("ManualWeld")
  275. weldd.Part0 = a
  276. weldd.Part1 = b
  277. weldd.C0 = CFrame.new()
  278. weldd.C1 = b.CFrame:inverse() * a.CFrame
  279. weldd.Parent = a
  280. return weldd
  281. end
  282.  
  283.  
  284. function QuaternionFromCFrame(cf)
  285. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  286. local trace = m00 + m11 + m22
  287. if trace > 0 then
  288. local s = math.sqrt(1 + trace)
  289. local recip = 0.5 / s
  290. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  291. else
  292. local i = 0
  293. if m11 > m00 then
  294. i = 1
  295. end
  296. if m22 > (i == 0 and m00 or m11) then
  297. i = 2
  298. end
  299. if i == 0 then
  300. local s = math.sqrt(m00 - m11 - m22 + 1)
  301. local recip = 0.5 / s
  302. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  303. elseif i == 1 then
  304. local s = math.sqrt(m11 - m22 - m00 + 1)
  305. local recip = 0.5 / s
  306. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  307. elseif i == 2 then
  308. local s = math.sqrt(m22 - m00 - m11 + 1)
  309. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  310. end
  311. end
  312. end
  313.  
  314. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  315. local xs, ys, zs = x + x, y + y, z + z
  316. local wx, wy, wz = w * xs, w * ys, w * zs
  317. local xx = x * xs
  318. local xy = x * ys
  319. local xz = x * zs
  320. local yy = y * ys
  321. local yz = y * zs
  322. local zz = z * zs
  323. 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))
  324. end
  325.  
  326. function QuaternionSlerp(a, b, t)
  327. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  328. local startInterp, finishInterp;
  329. if cosTheta >= 0.0001 then
  330. if (1 - cosTheta) > 0.0001 then
  331. local theta = ACOS(cosTheta)
  332. local invSinTheta = 1 / SIN(theta)
  333. startInterp = SIN((1 - t) * theta) * invSinTheta
  334. finishInterp = SIN(t * theta) * invSinTheta
  335. else
  336. startInterp = 1 - t
  337. finishInterp = t
  338. end
  339. else
  340. if (1 + cosTheta) > 0.0001 then
  341. local theta = ACOS(-cosTheta)
  342. local invSinTheta = 1 / SIN(theta)
  343. startInterp = SIN((t - 1) * theta) * invSinTheta
  344. finishInterp = SIN(t * theta) * invSinTheta
  345. else
  346. startInterp = t - 1
  347. finishInterp = t
  348. end
  349. end
  350. 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
  351. end
  352.  
  353. function Clerp(a, b, t)
  354. local qa = {QuaternionFromCFrame(a)}
  355. local qb = {QuaternionFromCFrame(b)}
  356. local ax, ay, az = a.x, a.y, a.z
  357. local bx, by, bz = b.x, b.y, b.z
  358. local _t = 1 - t
  359. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  360. end
  361.  
  362. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  363. local frame = IT("Frame")
  364. frame.BackgroundTransparency = TRANSPARENCY
  365. frame.BorderSizePixel = BORDERSIZEPIXEL
  366. frame.Position = POSITION
  367. frame.Size = SIZE
  368. frame.BackgroundColor3 = COLOR
  369. frame.BorderColor3 = BORDERCOLOR
  370. frame.Name = NAME
  371. frame.Parent = PARENT
  372. return frame
  373. end
  374.  
  375. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  376. local label = IT("TextLabel")
  377. label.BackgroundTransparency = 1
  378. label.Size = UD2(1, 0, 1, 0)
  379. label.Position = UD2(0, 0, 0, 0)
  380. label.TextColor3 = TEXTCOLOR
  381. label.TextStrokeTransparency = STROKETRANSPARENCY
  382. label.TextTransparency = TRANSPARENCY
  383. label.FontSize = TEXTFONTSIZE
  384. label.Font = TEXTFONT
  385. label.BorderSizePixel = BORDERSIZEPIXEL
  386. label.TextScaled = false
  387. label.Text = TEXT
  388. label.Name = NAME
  389. label.Parent = PARENT
  390. return label
  391. end
  392.  
  393. function NoOutlines(PART)
  394. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  395. end
  396.  
  397. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  398. local NEWWELD = IT(TYPE)
  399. NEWWELD.Part0 = PART0
  400. NEWWELD.Part1 = PART1
  401. NEWWELD.C0 = C0
  402. NEWWELD.C1 = C1
  403. NEWWELD.Parent = PARENT
  404. return NEWWELD
  405. end
  406.  
  407. local S = IT("Sound")
  408. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  409. local NEWSOUND = nil
  410. coroutine.resume(coroutine.create(function()
  411. NEWSOUND = S:Clone()
  412. NEWSOUND.Parent = PARENT
  413. NEWSOUND.Volume = VOLUME
  414. NEWSOUND.Pitch = PITCH
  415. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  416. NEWSOUND:play()
  417. if DOESLOOP == true then
  418. NEWSOUND.Looped = true
  419. else
  420. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  421. NEWSOUND:remove()
  422. end
  423. end))
  424. return NEWSOUND
  425. end
  426.  
  427. function CFrameFromTopBack(at, top, back)
  428. local right = top:Cross(back)
  429. 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)
  430. end
  431.  
  432. --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})
  433. function WACKYEFFECT(Table)
  434. local TYPE = (Table.EffectType or "Sphere")
  435. local SIZE = (Table.Size or VT(1,1,1))
  436. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  437. local TRANSPARENCY = (Table.Transparency or 0)
  438. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  439. local CFRAME = (Table.CFrame or Torso.CFrame)
  440. local MOVEDIRECTION = (Table.MoveToPos or nil)
  441. local ROTATION1 = (Table.RotationX or 0)
  442. local ROTATION2 = (Table.RotationY or 0)
  443. local ROTATION3 = (Table.RotationZ or 0)
  444. local MATERIAL = (Table.Material or "Neon")
  445. local COLOR = (Table.Color or C3(1,1,1))
  446. local TIME = (Table.Time or 45)
  447. local SOUNDID = (Table.SoundID or nil)
  448. local SOUNDPITCH = (Table.SoundPitch or nil)
  449. local SOUNDVOLUME = (Table.SoundVolume or nil)
  450. coroutine.resume(coroutine.create(function()
  451. local PLAYSSOUND = false
  452. local SOUND = nil
  453. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  454. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  455. PLAYSSOUND = true
  456. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  457. end
  458. EFFECT.Color = COLOR
  459. local MSH = nil
  460. if TYPE == "Sphere" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  462. elseif TYPE == "Block" then
  463. MSH = IT("BlockMesh",EFFECT)
  464. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  465. elseif TYPE == "Wave" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  467. elseif TYPE == "Ring" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  469. elseif TYPE == "Slash" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  471. elseif TYPE == "Round Slash" then
  472. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  473. elseif TYPE == "Swirl" then
  474. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  475. elseif TYPE == "Skull" then
  476. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  477. elseif TYPE == "Crystal" then
  478. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  479. end
  480. if MSH ~= nil then
  481. local MOVESPEED = nil
  482. if MOVEDIRECTION ~= nil then
  483. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  484. end
  485. local GROWTH = SIZE - ENDSIZE
  486. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  487. if TYPE == "Block" then
  488. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  489. else
  490. EFFECT.CFrame = CFRAME
  491. end
  492. for LOOP = 1, TIME+1 do
  493. Swait()
  494. MSH.Scale = MSH.Scale - GROWTH/TIME
  495. if TYPE == "Wave" then
  496. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  497. end
  498. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  499. if TYPE == "Block" then
  500. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  501. else
  502. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  503. end
  504. if MOVEDIRECTION ~= nil then
  505. local ORI = EFFECT.Orientation
  506. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  507. EFFECT.Orientation = ORI
  508. end
  509. end
  510. if PLAYSSOUND == false then
  511. EFFECT:remove()
  512. else
  513. SOUND.Stopped:Connect(function()
  514. EFFECT:remove()
  515. end)
  516. end
  517. else
  518. if PLAYSSOUND == false then
  519. EFFECT:remove()
  520. else
  521. repeat Swait() until SOUND.Playing == false
  522. EFFECT:remove()
  523. end
  524. end
  525. end))
  526. end
  527.  
  528. function MakeForm(PART,TYPE)
  529. if TYPE == "Cyl" then
  530. local MSH = IT("CylinderMesh",PART)
  531. elseif TYPE == "Ball" then
  532. local MSH = IT("SpecialMesh",PART)
  533. MSH.MeshType = "Sphere"
  534. elseif TYPE == "Wedge" then
  535. local MSH = IT("SpecialMesh",PART)
  536. MSH.MeshType = "Wedge"
  537. end
  538. end
  539.  
  540. function SpawnTrail(FROM,TO,BIG)
  541. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  542. MakeForm(TRAIL,"Cyl")
  543. local cR=255
  544. local cG=0
  545. local cB=0
  546. local flg5=1 local omgidk=1
  547. local add=15
  548. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  549. if omgidk>10000 then omgidk=0 end
  550. omgidk=omgidk+1
  551. if cR>=255 then flg5=1 end
  552. if cG>=255 then flg5=2 end
  553. if cB>=255 then flg5=3 end
  554. if flg5==1 then cR=cR-add cG=cG+add end
  555. if flg5==2 then cG=cG-add cB=cB+add end
  556. if flg5==3 then cB=cB-add cR=cR+add end
  557. color=Color3.fromRGB(cR,cG,cB)
  558. TRAIL.Color = color
  559. end)
  560. local DIST = (FROM - TO).Magnitude
  561. if BIG == true then
  562. TRAIL.Size = VT(5,DIST,5)
  563. else
  564. TRAIL.Size = VT(5,DIST,5)
  565. end
  566. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  567. coroutine.resume(coroutine.create(function()
  568. for i = 1, 55 do
  569. Swait()
  570. TRAIL.Transparency = TRAIL.Transparency + 0.01
  571. end
  572. TRAIL:remove()
  573. end))
  574. end
  575.  
  576. Debris = game:GetService("Debris")
  577.  
  578. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  579. local DIRECTION = CF(StartPos,EndPos).lookVector
  580. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  581. end
  582.  
  583. function turnto(position)
  584. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  585. end
  586.  
  587.  
  588.  
  589. --//=================================\\
  590. --|| Kick Reason
  591. --\\=================================//
  592.  
  593.  
  594. Player.Chatted:connect(function(Message)
  595. if string.sub(Message,1,10) == "SetReason!" then
  596. if string.sub(Message,11) then
  597. local Kick_Reason = "Nothing" ..string.sub(Message,11)
  598. end
  599. end
  600. if string.sub(Message,1,5) == "!Ban" then
  601. if string.sub(Message,6) then
  602. local Kick_Reason = "Server Banned: " ..string.sub(Message,6)
  603. end
  604. end
  605. end)
  606.  
  607.  
  608. function BAN(People)
  609. local BANFOLDER = IT("Folder",Effects)
  610. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  611. naeeym2.AlwaysOnTop = false
  612. naeeym2.Size = UDim2.new(5,35,2,35)
  613. naeeym2.StudsOffset = Vector3.new(0,1,0)
  614. naeeym2.Name = "AAAA"
  615. local tecks2 = Instance.new("TextLabel",naeeym2)
  616. tecks2.BackgroundTransparency = 1
  617. tecks2.TextScaled = true
  618. tecks2.BorderSizePixel = 0
  619. tecks2.Text = "BEANED"
  620. tecks2.Font = "Code"
  621. tecks2.TextSize = 30
  622. tecks2.TextStrokeTransparency = 1
  623. tecks2.TextColor3 = Color3.new(1,0,0)
  624. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  625. tecks2.Size = UDim2.new(1,0,0.5,0)
  626. tecks2.Parent = naeeym2
  627.  
  628. People:Kick(Kick_Reason)
  629. end
  630.  
  631. function BANNEAREST(POS,RANGE)
  632. for i,v in ipairs(workspace:GetChildren()) do
  633. local body = v:GetChildren()
  634. for part = 1, #body do
  635. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  636. if(body[part].Position - POS).Magnitude < RANGE then
  637. if v:FindFirstChildOfClass("Humanoid") then
  638. local Person = game:GetService("Players"):GetPlayerFromCharacter(v)
  639. table.insert(kickedtable,Person.Name)
  640. wait()
  641. BAN(Person)
  642. end
  643. end
  644. end
  645. end
  646. end
  647. end
  648.  
  649. --//=================================\\
  650. --|| TRANSFORMATIONS
  651. --\\=================================//
  652.  
  653. function Switch()
  654. ATTACK = true
  655. Rooted = true
  656. if MODE == "GoodCop" then
  657. for i=0, 0.3, 0.1 / Animation_Speed do
  658. Swait()
  659. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  660. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  661. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  662. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  663. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  664. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  665. end
  666. for i=0, 1, 0.1 / Animation_Speed do
  667. Swait()
  668. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  669. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  672. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  673. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  674. end
  675.  
  676. CreateSound(363808674, Torso, 6, 1, false)
  677. for i=0, 0.6, 0.1 / Animation_Speed do
  678. Swait()
  679. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  685. end
  686. CreateSound(363808674, Torso, 6, 1, false)
  687. for i=0, 0.6, 0.1 / Animation_Speed do
  688. Swait()
  689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  693. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  695. end
  696. MODE = "BadCop"
  697. elseif MODE == "BadCop" then
  698. CreateSound(147722227, Torso, 4, 1.3, false)
  699. for i=0, 0.3, 0.1 / Animation_Speed do
  700. Swait()
  701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  705. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  707. end
  708. MODE = "GoodCop"
  709.  
  710. end
  711. ATTACK = false
  712. Rooted = false
  713. end
  714.  
  715.  
  716.  
  717. --//=================================\\
  718. --|| WEAPON CREATION
  719. --\\=================================//
  720.  
  721. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  722.  
  723. local Particle = IT("ParticleEmitter",nil)
  724. Particle.Enabled = false
  725. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  726. Particle.LightEmission = 0.5
  727. Particle.Rate = 150
  728. Particle.ZOffset = 0.2
  729. Particle.Rotation = NumberRange.new(-180, 180)
  730. Particle.RotSpeed = NumberRange.new(-180, 180)
  731. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  732. Particle.Color = ColorSequence.new(C3(18/255,238/255,212/255))
  733.  
  734. local Particle2 = IT("ParticleEmitter",nil)
  735. Particle2.Enabled = false
  736. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  737. Particle2.LightEmission = 0.5
  738. Particle2.Rate = 150
  739. Particle2.ZOffset = 0.2
  740. Particle2.Rotation = NumberRange.new(-180, 180)
  741. Particle2.RotSpeed = NumberRange.new(-180, 180)
  742. Particle2.Texture = "http://www.roblox.com/asset/?id=304437537"
  743. Particle2.Color = ColorSequence.new(C3(0/255, 255/255, 0/255))
  744.  
  745. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  746. function ParticleEmitter(Table)
  747. local PRTCL = Particle:Clone()
  748. local Speed = Table.Speed or 5
  749. local Drag = Table.Drag or 0
  750. local Size1 = Table.Size1 or 1
  751. local Size2 = Table.Size2 or 5
  752. local Lifetime1 = Table.Lifetime1 or 1
  753. local Lifetime2 = Table.Lifetime2 or 1.5
  754. local Parent = Table.Parent or Torso
  755. local Emit = Table.Emit or 100
  756. local Offset = Table.Offset or 360
  757. local Acel = Table.Acel or VT(0,0,0)
  758. local Enabled = Table.Enabled or false
  759. PRTCL.Parent = Parent
  760. PRTCL.Size = NumberSequence.new(Size1,Size2)
  761. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  762. PRTCL.Speed = NumberRange.new(Speed)
  763. PRTCL.VelocitySpread = Offset
  764. PRTCL.Drag = Drag
  765. PRTCL.Acceleration = Acel
  766. if Enabled == false then
  767. PRTCL:Emit(Emit)
  768. Debris:AddItem(PRTCL,Lifetime2)
  769. else
  770. PRTCL.Enabled = true
  771. end
  772. return PRTCL
  773. end
  774.  
  775. function ParticleEmitter2(Table)
  776. local PRTCL = Particle2:Clone()
  777. local Speed = Table.Speed or 5
  778. local Drag = Table.Drag or 0
  779. local Size1 = Table.Size1 or 1
  780. local Size2 = Table.Size2 or 5
  781. local Lifetime1 = Table.Lifetime1 or 1
  782. local Lifetime2 = Table.Lifetime2 or 1.5
  783. local Parent = Table.Parent or Torso
  784. local Emit = Table.Emit or 100
  785. local Offset = Table.Offset or 360
  786. local Acel = Table.Acel or VT(0,0,0)
  787. local Enabled = Table.Enabled or false
  788. PRTCL.Parent = Parent
  789. PRTCL.Size = NumberSequence.new(Size1,Size2)
  790. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  791. PRTCL.Speed = NumberRange.new(Speed)
  792. PRTCL.VelocitySpread = Offset
  793. PRTCL.Drag = Drag
  794. PRTCL.Acceleration = Acel
  795. if Enabled == false then
  796. PRTCL:Emit(Emit)
  797. Debris:AddItem(PRTCL,Lifetime2)
  798. else
  799. PRTCL.Enabled = true
  800. end
  801. return PRTCL
  802. end
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  824. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  825.  
  826. local GRIP2 = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  827.  
  828. local Handle2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  829. local LeftArmGrasp2 = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  830. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  831. MakeForm(Part,"Wedge")
  832. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  833. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  834. MakeForm(Part,"Wedge")
  835. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  836. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  837. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  839. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  840. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  841. MakeForm(Part,"Cyl")
  842. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  843. for i = 1, 8 do
  844. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0,0.35,0.41),false)
  845. CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  846. end
  847. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0.38,0.41,0.38),false)
  848. MakeForm(Part,"Cyl")
  849. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  850. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  851. MakeForm(Part,"Ball")
  852. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  853. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  854. MakeForm(Part,"Wedge")
  855. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  856. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  857. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  858. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  859. MakeForm(Part,"Cyl")
  860. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  861. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  862. MakeForm(Part,"Cyl")
  863. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  864. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  865. MakeForm(Part,"Cyl")
  866. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  867. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  868. MakeForm(Part,"Wedge")
  869. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  870. local LASTPART = Handle2
  871. for i = 1, 10 do
  872. if LASTPART == Handle2 then
  873. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  874. LASTPART = Part
  875. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  876. else
  877. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  878. CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  879. LASTPART = Part
  880. end
  881. end
  882.  
  883. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  884. MakeForm(Barrel,"Cyl")
  885. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  886. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  887. MakeForm(Part,"Cyl")
  888. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  889. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  890. MakeForm(Part,"Wedge")
  891. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  892. local Hole2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0.125,0,0.125),false)
  893. MakeForm(Hole2,"Cyl")
  894. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  895. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  896. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  897. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  898. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye2", VT(0,0,0),false)
  899. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  900. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  901. coroutine.resume(coroutine.create(function()
  902. while wait() do
  903. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  904. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  905. end
  906. end))
  907.  
  908. ParticleEmitter2({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  909. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  910.  
  911.  
  912. for _, c in pairs(Weapon2:GetDescendants()) do
  913. if c.ClassName == "Part" and c.Name ~= "Eye2" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  914. c.Material = "Glass"
  915. c.Color = C3(18/255,238/255,212/255)
  916. elseif c.ClassName == "Part" and c.Name == "Eye2" then
  917. c.Color = C3(18/255,238/255,212/255)
  918. c.Material = "Neon"
  919. end
  920. end
  921.  
  922. Weapon2.Parent = Character
  923. for _, c in pairs(Weapon2:GetChildren()) do
  924. if c.ClassName == "Part" then
  925. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  926. end
  927. end
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. local Particle = IT("ParticleEmitter",nil)
  935. Particle.Enabled = false
  936. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  937. Particle.LightEmission = 0.5
  938. Particle.Rate = 150
  939. Particle.ZOffset = 0.2
  940. Particle.Rotation = NumberRange.new(-180, 180)
  941. Particle.RotSpeed = NumberRange.new(-180, 180)
  942. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  943. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  944. local Particle2 = IT("ParticleEmitter",nil)
  945. Particle2.Enabled = false
  946. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  947. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  948. Particle2.LightEmission = 0
  949. Particle2.RotSpeed = NumberRange.new(0, 180)
  950. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  951. Particle2.LightEmission = 1
  952. Particle2.Rate = 20
  953. Particle2.RotSpeed = NumberRange.new(-20, 20)
  954. local Particle3 = IT("ParticleEmitter",nil)
  955. Particle3.Enabled = false
  956. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  957. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  958. Particle3.LightEmission = 0
  959. Particle3.RotSpeed = NumberRange.new(0, 180)
  960. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  961. Particle3.LightEmission = 1
  962. Particle3.Rate = 20
  963. Particle3.RotSpeed = NumberRange.new(-20, 20)
  964. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  965. function ParticleEmitter(Table)
  966. local PRTCL = Particle:Clone()
  967. local Speed = Table.Speed or 5
  968. local Drag = Table.Drag or 0
  969. local Size1 = Table.Size1 or 1
  970. local Size2 = Table.Size2 or 5
  971. local Lifetime1 = Table.Lifetime1 or 1
  972. local Lifetime2 = Table.Lifetime2 or 1.5
  973. local Parent = Table.Parent or Torso
  974. local Emit = Table.Emit or 100
  975. local Offset = Table.Offset or 360
  976. local Acel = Table.Acel or VT(0,0,0)
  977. local Enabled = Table.Enabled or false
  978. PRTCL.Parent = Parent
  979. PRTCL.Size = NumberSequence.new(Size1,Size2)
  980. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  981. PRTCL.Speed = NumberRange.new(Speed)
  982. PRTCL.VelocitySpread = Offset
  983. PRTCL.Drag = Drag
  984. PRTCL.Acceleration = Acel
  985. if Enabled == false then
  986. PRTCL:Emit(Emit)
  987. Debris:AddItem(PRTCL,Lifetime2)
  988. else
  989. PRTCL.Enabled = true
  990. end
  991. return PRTCL
  992. end
  993. function ParticleEmitter2(Table)
  994. local PRTCL2 = Particle2:Clone()
  995. local LockedToPart = Table.LTP or true
  996. local Speed = Table.Speed or 0
  997. local Drag = Table.Drag or 0
  998. local Size1 = Table.Size1 or 1
  999. local Size2 = Table.Size2 or 2
  1000. local Lifetime1 = Table.Lifetime1 or 1
  1001. local Lifetime2 = Table.Lifetime2 or 1
  1002. local Parent = Table.Parent or Torso
  1003. local Emit = Table.Emit or 100
  1004. local Offset = Table.Offset or 360
  1005. local Acel = Table.Acel or VT(0,0,0)
  1006. local Enabled = Table.Enabled or false
  1007. PRTCL2.Parent = Parent
  1008. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1009. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1010. PRTCL2.Speed = NumberRange.new(Speed)
  1011. PRTCL2.VelocitySpread = Offset
  1012. PRTCL2.Drag = Drag
  1013. PRTCL2.Acceleration = Acel
  1014. PRTCL2.Parent = Parent
  1015. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1016. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1017. PRTCL2.Speed = NumberRange.new(Speed)
  1018. PRTCL2.VelocitySpread = Offset
  1019. PRTCL2.Drag = Drag
  1020. PRTCL2.Acceleration = Acel
  1021. PRTCL2.LockedToPart = true
  1022. if Enabled == false then
  1023. PRTCL2:Emit(Emit)
  1024. Debris:AddItem(PRTCL2,Lifetime2)
  1025. else
  1026. PRTCL2.Enabled = true
  1027. end
  1028. return PRTCL2
  1029. end
  1030. function ParticleEmitter3(Table)
  1031. local PRTCL3 = Particle2:Clone()
  1032. local Speed = Table.Speed or 0
  1033. local Drag = Table.Drag or 0
  1034. local Size1 = Table.Size1 or 1
  1035. local Size2 = Table.Size2 or 2
  1036. local Lifetime1 = Table.Lifetime1 or 1
  1037. local Lifetime2 = Table.Lifetime2 or 1
  1038. local Parent = Table.Parent or Torso
  1039. local Emit = Table.Emit or 100
  1040. local Offset = Table.Offset or 0
  1041. local Acel = Table.Acel or VT(0,0,0)
  1042. local Enabled = Table.Enabled or false
  1043. PRTCL3.Parent = Parent
  1044. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1045. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1046. PRTCL3.Speed = NumberRange.new(Speed)
  1047. PRTCL3.VelocitySpread = Offset
  1048. PRTCL3.Drag = Drag
  1049. PRTCL3.Acceleration = Acel
  1050. PRTCL3.Parent = Parent
  1051. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1052. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1053. PRTCL3.Speed = NumberRange.new(Speed)
  1054. PRTCL3.VelocitySpread = Offset
  1055. PRTCL3.Drag = Drag
  1056. PRTCL3.Acceleration = Acel
  1057. if Enabled == false then
  1058. PRTCL3:Emit(Emit)
  1059. Debris:AddItem(PRTCL3,Lifetime2)
  1060. else
  1061. PRTCL3.Enabled = true
  1062. end
  1063. return PRTCL3
  1064. end
  1065.  
  1066. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1067. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1068. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1069. MakeForm(Part,"Wedge")
  1070. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1071. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1072. MakeForm(Part,"Wedge")
  1073. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1074. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1075. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1076. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1077. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1078. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1079. MakeForm(Part,"Cyl")
  1080. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1081. for i = 1, 8 do
  1082. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1083. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1084. end
  1085. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1086. MakeForm(Part,"Cyl")
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1089. MakeForm(Part,"Ball")
  1090. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1091. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1092. MakeForm(Part,"Wedge")
  1093. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1094. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1097. MakeForm(Part,"Cyl")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1099. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1100. MakeForm(Part,"Cyl")
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1103. MakeForm(Part,"Cyl")
  1104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1106. MakeForm(Part,"Wedge")
  1107. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1108. local LASTPART = Handle
  1109. for i = 1, 10 do
  1110. if LASTPART == Handle then
  1111. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1112. LASTPART = Part
  1113. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1114. else
  1115. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1116. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1117. LASTPART = Part
  1118. end
  1119. end
  1120.  
  1121. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1122. MakeForm(Barrel,"Cyl")
  1123. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1124. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1125. MakeForm(Part,"Cyl")
  1126. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1127. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1128. MakeForm(Part,"Wedge")
  1129. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1130. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1131. MakeForm(Hole,"Cyl")
  1132. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1133. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1134. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -1.0, 0.7), CF(0, 0, 0))
  1135. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.5))
  1136. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1137. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.0, 0.7), CF(0, 0, 0))
  1138. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.5))
  1139. coroutine.resume(coroutine.create(function()
  1140. while wait() do
  1141. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(4), RAD(6))
  1142. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(-3), RAD(-5))
  1143. end
  1144. end))
  1145. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1146. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1147. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0.7), CF(0, 0, 0))
  1148. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.3,0.3,1.2), VT(0,0,0.2))
  1149. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1150. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -1.3, 0.7), CF(0, 0, 0))
  1151. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.4,0.4,0.4), VT(0,0,0.2))
  1152. coroutine.resume(coroutine.create(function()
  1153. while wait() do
  1154. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(3), RAD(3), RAD(5))
  1155. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(-3), RAD(-3), RAD(-5))
  1156. end
  1157. end))
  1158.  
  1159. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1160. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1161.  
  1162. for _, c in pairs(Weapon:GetDescendants()) do
  1163. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1164. c.Material = "Glass"
  1165. c.Color = C3(0,0,0)
  1166. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1167. c.Color = C3(0,1,0)
  1168. c.Material = "Neon"
  1169. end
  1170. end
  1171.  
  1172. Weapon.Parent = Character
  1173. for _, c in pairs(Weapon:GetChildren()) do
  1174. if c.ClassName == "Part" then
  1175. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1176. end
  1177. end
  1178.  
  1179.  
  1180. local SKILLTEXTCOLOR = C3(0,0,1)
  1181. local SKILLFONT = "Antique"
  1182. local SKILLTEXTSIZE = 7
  1183.  
  1184. Humanoid.Died:connect(function()
  1185. ATTACK = true
  1186. end)
  1187.  
  1188. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1189. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1190. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1191. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1192. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1193. --]]
  1194. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1195. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1196. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1197. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1198. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1199. --]]
  1200. function printbye(Name)
  1201. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1202. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1203.  
  1204. end
  1205.  
  1206.  
  1207. --//=================================\\
  1208. --|| DAMAGING
  1209. --\\=================================//
  1210. --BANNEAREST(RootPart.CFrame*CF(0,0,-4).p,18)
  1211.  
  1212.  
  1213. --//=================================\\
  1214. --|| ATTACK FUNCTIONS AND STUFF
  1215. --\\=================================//
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227. Animation_Speed2 = 0.5
  1228. function Banisher()
  1229. ATTACK = true
  1230. Rooted = false
  1231. for i=0, 0.4, 0.1 / Animation_Speed2 do
  1232. Swait()
  1233. turnto(Mouse.Hit.p)
  1234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1238. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1239. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1240. end
  1241. repeat
  1242. for i=0, 0.2, 0.1 / Animation_Speed2 do
  1243. Swait()
  1244. turnto(Mouse.Hit.p)
  1245. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1246. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1248. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1249. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1250. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1251. end
  1252. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1253. SpawnTrail(Hole.Position,POS)
  1254. if HIT ~= nil then
  1255. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then BANNEAREST(RootPart.CFrame*CF(0,0,-4).p,50)
  1256. end
  1257. end
  1258. WACKYEFFECT({Time = 20, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1259. WACKYEFFECT({Time = 20, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 7})
  1260. WACKYEFFECT({Time = 20, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1261. WACKYEFFECT({Time = 20, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1262. for i=0, 0.3, 0.1 / Animation_Speed2 do
  1263. Swait()
  1264. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1268. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1270. end
  1271. until KEYHOLD == false
  1272. ATTACK = false
  1273. Rooted = false
  1274. end
  1275.  
  1276. function AttackTemplate()
  1277. ATTACK = true
  1278. Rooted = false
  1279. for i=0, 1, 0.1 / Animation_Speed do
  1280. Swait()
  1281. 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)
  1282. 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)
  1283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1285. 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)
  1286. 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)
  1287. end
  1288. ATTACK = false
  1289. Rooted = false
  1290. end
  1291.  
  1292.  
  1293. function BanishmentBeam()
  1294. ATTACK = true
  1295. Rooted = false
  1296. local GYRO = IT("BodyGyro",RootPart)
  1297. GYRO.D = 100
  1298. GYRO.P = 2000
  1299. GYRO.MaxTorque = VT(0,4000000,0)
  1300. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1301. CreateSound("93724183", RightArm, 5, 1, false)
  1302. for i=1, 35 do
  1303. Swait()
  1304. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1305. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1310. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1312. end
  1313. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Toothpaste", "Lazer", VT(0,0,0))
  1314. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  1315. local TOCH = BEAM.Touched:Connect(function(hit)
  1316. end)
  1317. local I = 0
  1318. repeat
  1319. Swait()
  1320. I = I + 1
  1321. if I <= 10 then
  1322. BEAM.Transparency = BEAM.Transparency - 0.5
  1323. end
  1324. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1325. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1326. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1327. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1328. BEAM.Size = VT(2,2,DISTANCE)
  1329. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1330. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0.75, Transparency2 = 0.005, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1331. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1332. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1334. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1335. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1336. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. if ENDHIT ~= nil then
  1338. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1339. BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,24)
  1340. end
  1341. end
  1342. until LOOP.Playing == false
  1343. GYRO:remove()
  1344. BEAM:remove()
  1345. ATTACK = false
  1346. Rooted = false
  1347. end
  1348.  
  1349.  
  1350. function Lift()
  1351. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1352. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1353. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1354. if TORSO and HUM.Health > 0 then
  1355. ATTACK = true
  1356. Rooted = false
  1357. local GYRO = IT("BodyGyro",RootPart)
  1358. GYRO.D = 275
  1359. GYRO.P = 20000
  1360. GYRO.MaxTorque = VT(0,40000,0)
  1361. for i=0, 0.8, 0.1 / Animation_Speed do
  1362. Swait()
  1363. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1364. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1366. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1367. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1368. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1369. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1370. end
  1371. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  1372. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1373. local grav = Instance.new("BodyPosition",TORSO)
  1374. grav.D = 1500
  1375. grav.P = 20000
  1376. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1377. grav.position = TORSO.Position+VT(0,15,0)
  1378. Debris:AddItem(grav,10)
  1379. Debris:AddItem(MAGIC,10)
  1380. CreateSound(902204346, Torso, 7, 1, false)
  1381. CreateSound(902204346, TORSO, 7, 1, false)
  1382. for i=0, 1, 0.1 / Animation_Speed do
  1383. Swait()
  1384. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1385. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1386. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1387. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1388. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1389. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1390. end
  1391. GYRO:remove()
  1392. ATTACK = false
  1393. Rooted = false
  1394. end
  1395. end
  1396. end
  1397.  
  1398.  
  1399.  
  1400.  
  1401. --//=================================\\
  1402. --|| ASSIGN THINGS TO KEYS
  1403. --\\=================================//
  1404.  
  1405. function MouseDown(Mouse)
  1406. if ATTACK == false then
  1407. end
  1408. end
  1409.  
  1410. function MouseUp(Mouse)
  1411. HOLD = false
  1412. end
  1413.  
  1414. function KeyDown(Key)
  1415. KEYHOLD = true
  1416. if Key == "z" and ATTACK == false then
  1417. Banisher()
  1418. end
  1419.  
  1420. if Key == "c" and ATTACK == false then
  1421. if MODE == "BadCop" then
  1422. BanishmentBeam()
  1423. end
  1424. end
  1425.  
  1426. if Key == "v" and ATTACK == false then
  1427. if MODE == "BadCop" then
  1428.  
  1429. end
  1430. end
  1431.  
  1432. if Key == "f" and ATTACK == false then
  1433. Switch()
  1434. end
  1435.  
  1436. if Key == "x" and ATTACK == false then
  1437. Lift()
  1438. end
  1439. end
  1440.  
  1441. function KeyUp(Key)
  1442. KEYHOLD = false
  1443. end
  1444.  
  1445. Mouse.Button1Down:connect(function(NEWKEY)
  1446. MouseDown(NEWKEY)
  1447. end)
  1448. Mouse.Button1Up:connect(function(NEWKEY)
  1449. MouseUp(NEWKEY)
  1450. end)
  1451. Mouse.KeyDown:connect(function(NEWKEY)
  1452. KeyDown(NEWKEY)
  1453. end)
  1454. Mouse.KeyUp:connect(function(NEWKEY)
  1455. KeyUp(NEWKEY)
  1456. end)
  1457.  
  1458. --//=================================\\
  1459. --\\=================================//
  1460.  
  1461.  
  1462. function unanchor()
  1463. if UNANCHOR == true then
  1464. g = Character:GetChildren()
  1465. for i = 1, #g do
  1466. if g[i].ClassName == "Part" then
  1467. g[i].Anchored = false
  1468. end
  1469. end
  1470. end
  1471. end
  1472.  
  1473.  
  1474. --//=================================\\
  1475. --|| WRAP THE WHOLE SCRIPT UP
  1476. --\\=================================//
  1477.  
  1478. Humanoid.Changed:connect(function(Jump)
  1479. if Jump == "Jump" and (Disable_Jump == true) then
  1480. Humanoid.Jump = false
  1481. end
  1482. end)
  1483.  
  1484. local CONNECT = nil
  1485.  
  1486. while true do
  1487. Swait()
  1488. ANIMATE.Parent = nil
  1489. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1490. Humanoid = IT("Humanoid",Character)
  1491. end
  1492. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1493. v:Stop();
  1494. end
  1495. SINE = SINE + CHANGE
  1496. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1497. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1498. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1499. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1500.  
  1501. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1502. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1503. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  1504. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1505. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1506. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1507. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1508. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1509. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1510. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1511. end
  1512. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1513. ANIM = "Jump"
  1514. if ATTACK == false then
  1515. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1519. 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)
  1520. 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)
  1521. end
  1522. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1523. ANIM = "Fall"
  1524. if ATTACK == false then
  1525. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(10), RAD(10)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1529. 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)
  1530. 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)
  1531. end
  1532. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1533. ANIM = "Idle"
  1534. if ATTACK == false then
  1535. if MODE == "GoodCop" then
  1536. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1537. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(180), RAD(65), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1539. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(35), RAD(20), RAD(10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1540. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1542. elseif MODE == "BadCop" then
  1543.  
  1544.  
  1545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1547. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), 0, 0 + 0.05 * COS(SINE / 7)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-3.5 * COS(SINE / 24)), RAD(0), RAD(12)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 24) + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1549. RightHip.C0 = Clerp(RightHip.C0, CF(1 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), -1 - 0.05 * COS(SINE / 7), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1550. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), -1 - 0.05 * COS(SINE / 7), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1551. end
  1552. end
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1559. ANIM = "Walk"
  1560. if ATTACK == false then
  1561. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1562. 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)
  1563. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1564. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1565. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1566. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1567. end
  1568. end
  1569. unanchor()
  1570. Humanoid.MaxHealth = "inf"
  1571. Humanoid.Health = "inf"
  1572. if Rooted == false then
  1573. Disable_Jump = false
  1574. Humanoid.WalkSpeed = Speed
  1575. elseif Rooted == true then
  1576. Disable_Jump = true
  1577. Humanoid.WalkSpeed = 0
  1578. end
  1579. sick.Parent = Torso
  1580. sick:resume()
  1581. sick.Volume = 2
  1582. sick.Pitch = 1
  1583. sick.SoundId = "rbxassetid://1241592221"
  1584. sick.Name = "BanishV3Music"
  1585. end
  1586.  
  1587. --//=================================\\
  1588. --\\=================================//
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594. --//====================================================\\--
  1595. --|| END OF SCRIPT
  1596. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement