Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.81 KB | None | 0 0
  1. local Player = game:GetService('Players').LocalPlayer
  2. repeat wait() until Player.Character
  3. local Character = Player.Character
  4.  
  5. --All The Settings for Trails in this Script
  6. TrailSettings = {
  7. Lifetime = 0.7,
  8. Texture = 'rbxassetid://31270182',
  9. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  10. Color1 = ColorSequence.new(BrickColor.new('New Yeller').Color,BrickColor.new('New Yeller').Color),
  11. Color2 = ColorSequence.new(BrickColor.new('White').Color,BrickColor.new('White').Color),
  12. AllBody = true,
  13. UpperBodyOnly = false,
  14. LowerBodyOnly = false,
  15. Accessories = false,
  16. Extras = true,
  17. R15 = false, --Change to true if you're using R15
  18. R15Parts = {
  19. 'UpperTorso',
  20. 'LowerTorso',
  21. }
  22. }
  23.  
  24. local Trail; --Making other Trails uses this in this Script
  25.  
  26. --UpperBody Function
  27. UpperBody = function()
  28. if TrailSettings.R15 == false then
  29. A0 = Instance.new('Attachment',Character.Torso)
  30. A1 = Instance.new('Attachment',Character.Head)
  31. A2 = Instance.new('Attachment',Character['Right Arm'])
  32. A3 = Instance.new('Attachment',Character['Left Arm'])
  33. Trail = Instance.new('Trail',Character)
  34. Trail.Attachment0 = A0
  35. Trail.Attachment1 = A1
  36. Trail.Texture = TrailSettings.Texture
  37. Trail.Color = TrailSettings.Color1
  38. Trail.Lifetime = TrailSettings.Lifetime
  39. local Trail2 = Trail:Clone()
  40. Trail2.Parent = Character
  41. Trail2.Attachment1 = A2
  42. local Trail3 = Trail:Clone()
  43. Trail3.Parent = Character
  44. Trail3.Attachment1 = A3
  45. local Trail6 = Trail:Clone()
  46. Trail6.Parent = Character
  47. Trail6.Attachment0 = A1
  48. Trail6.Attachment1 = A2
  49. local Trail7 = Trail:Clone()
  50. Trail7.Parent = Character
  51. Trail7.Attachment0 = A1
  52. Trail7.Attachment1 = A3
  53. else
  54. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  55. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  56. A1 = Instance.new('Attachment',Character.Head)
  57. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  58. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  59. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  60. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  61. Trail = Instance.new('Trail',Character)
  62. Trail.Attachment0 = A0
  63. Trail.Attachment1 = A1
  64. Trail.Texture = TrailSettings.Texture
  65. Trail.Color = TrailSettings.Color1
  66. Trail.Lifetime = TrailSettings.Lifetime
  67. local Trail2 = Trail:Clone()
  68. Trail2.Parent = Character
  69. Trail2.Attachment1 = A2
  70. local Trail3 = Trail:Clone()
  71. Trail3.Parent = Character
  72. Trail3.Attachment1 = A3
  73. local Trail6 = Trail:Clone()
  74. Trail6.Parent = Character
  75. Trail6.Attachment0 = A1
  76. Trail6.Attachment1 = A2
  77. local Trail7 = Trail:Clone()
  78. Trail7.Parent = Character
  79. Trail7.Attachment0 = A1
  80. Trail7.Attachment1 = A3
  81. --R15 Trails
  82. local Trail1R = Trail:Clone()
  83. Trail1R.Parent = Character
  84. Trail1R.Attachment1 = A2R
  85. local Trail2R = Trail:Clone()
  86. Trail2R.Parent = Character
  87. Trail2R.Attachment1 = A3R
  88. local Trail6R = Trail:Clone()
  89. Trail6.Parent = Character
  90. Trail6.Attachment0 = A1
  91. Trail6.Attachment1 = A2R
  92. local Trail7R = Trail:Clone()
  93. Trail7.Parent = Character
  94. Trail7.Attachment0 = A1
  95. Trail7.Attachment1 = A3R
  96. end
  97. end
  98.  
  99. --Lower Body Function
  100. LowerBody = function()
  101. if TrailSettings.R15 == false then
  102. A4 = Instance.new('Attachment',Character['Right Leg'])
  103. A5 = Instance.new('Attachment',Character['Left Leg'])
  104. local Trail4 = Trail:Clone()
  105. Trail4.Parent = Character
  106. Trail4.Attachment1 = A4
  107. local Trail5 = Trail:Clone()
  108. Trail5.Parent = Character
  109. Trail5.Attachment1 = A5
  110. local Trail8 = Trail:Clone()
  111. Trail8.Parent = Character
  112. Trail8.Attachment0 = A2
  113. Trail8.Attachment1 = A4
  114. Trail8.Color = TrailSettings.Color2
  115. local Trail9 = Trail:Clone()
  116. Trail9.Parent = Character
  117. Trail9.Attachment0 = A3
  118. Trail9.Attachment1 = A5
  119. Trail9.Color = TrailSettings.Color2
  120. local FT = Trail:Clone()
  121. FT.Parent = Character
  122. FT.Attachment0 = A4
  123. FT.Attachment1 = A5
  124. FT.Color = TrailSettings.Color2
  125. else
  126. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  127. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  128. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  129. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  130. local Trail4 = Trail:Clone()
  131. Trail4.Parent = Character
  132. Trail4.Attachment1 = A4
  133. local Trail5 = Trail:Clone()
  134. Trail5.Parent = Character
  135. Trail5.Attachment1 = A5
  136. local Trail8 = Trail:Clone()
  137. Trail8.Parent = Character
  138. Trail8.Attachment0 = A2
  139. Trail8.Attachment1 = A4
  140. Trail8.Color = TrailSettings.Color2
  141. local Trail9 = Trail:Clone()
  142. Trail9.Parent = Character
  143. Trail9.Attachment0 = A3
  144. Trail9.Attachment1 = A5
  145. Trail9.Color = TrailSettings.Color2
  146. local FT = Trail:Clone()
  147. FT.Parent = Character
  148. FT.Attachment0 = A4
  149. FT.Attachment1 = A5
  150. FT.Color = TrailSettings.Color2
  151. --R15 Trails
  152. local Trail3R = Trail:Clone()
  153. Trail3R.Parent = Character
  154. Trail3R.Attachment1 = A4R
  155. local Trail4R = Trail:Clone()
  156. Trail4R.Parent = Character
  157. Trail4R.Attachment1 = A5R
  158. local Trail8 = Trail:Clone()
  159. Trail8.Parent = Character
  160. Trail8.Attachment0 = A2R
  161. Trail8.Attachment1 = A4R
  162. Trail8.Color = TrailSettings.Color2
  163. local Trail9 = Trail:Clone()
  164. Trail9.Parent = Character
  165. Trail9.Attachment0 = A3R
  166. Trail9.Attachment1 = A5R
  167. Trail9.Color = TrailSettings.Color2
  168. local FT2R = Trail:Clone()
  169. FT2R.Parent = Character
  170. FT2R.Attachment0 = A4R
  171. FT2R.Attachment1 = A5R
  172. FT2R.Color = TrailSettings.Color2
  173. end
  174. end
  175.  
  176. --All Body Function calling Both Functions
  177. AllBody = function()
  178. UpperBody()
  179. LowerBody()
  180. end
  181.  
  182. --Checking to make sure that Only some Variables are Selected else do All Body
  183. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  184. TrailSettings.UpperBodyOnly = false
  185. TrailSettings.LowerBodyOnly = false
  186. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  187. TrailSettings.UpperBodyOnly = false
  188. TrailSettings.LowerBodyOnly = false
  189. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  190. TrailSettings.UpperBodyOnly = false
  191. TrailSettings.LowerBodyOnly = false
  192. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  193. TrailSettings.AllBody = true
  194. TrailSettings.UpperBodyOnly = false
  195. TrailSettings.LowerBodyOnly = false
  196. end
  197.  
  198. --Call Trail Functions
  199. if TrailSettings.UpperBodyOnly == true then
  200. UpperBody()
  201. print('Called Upper Body Trail')
  202. elseif TrailSettings.LowerBodyOnly == true then
  203. LowerBody()
  204. print('Called Lower Body Trail')
  205. elseif TrailSettings.AllBody == true then
  206. AllBody()
  207. print('Called Full Body Trail')
  208. end
  209.  
  210. --Trails for Accessories
  211. if TrailSettings.Accessories == true then
  212. for Index,Item in pairs(Character:GetChildren()) do
  213. if Item:IsA'Accessory' then
  214. local AA = Instance.new('Attachment',Item.Handle)
  215. local ATrail = Trail:Clone()
  216. ATrail.Parent = Character
  217. ATrail.Attachment1 = AA
  218. end
  219. end
  220. end
  221.  
  222. --Extras
  223. if TrailSettings.Extras == true then
  224. --Making an Invisible Platform Part
  225. local a = Instance.new('Part',Character)
  226. a.CanCollide = false
  227. a.Size = Vector3.new(2,.2,2)
  228. a.Transparency = 1
  229.  
  230. --Constantly putting it under your feet
  231. if TrailSettings.R15 == false then
  232. spawn(function()
  233. game:GetService('RunService').RenderStepped:connect(function()
  234. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  235. end)
  236. end)
  237. else
  238. spawn(function()
  239. game:GetService('RunService').RenderStepped:connect(function()
  240. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  241. end)
  242. end)
  243. end
  244.  
  245. function swait(num)
  246. if num == 0 or num == nil then
  247. ArtificialHB.Event:wait()
  248. else
  249. for i = 0, num do
  250. ArtificialHB.Event:wait()
  251. end
  252. end
  253. end
  254.  
  255. function chatfunc(text)
  256. local chat = coroutine.wrap(function()
  257. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  258. Character:FindFirstChild("TalkingBillBoard"):destroy()
  259. end
  260. local Bill = Instance.new("BillboardGui",Character)
  261. Bill.Size = UDim2.new(0,100,0,40)
  262. Bill.StudsOffset = Vector3.new(0,3,0)
  263. Bill.Adornee = Character.Head
  264. Bill.Name = "TalkingBillBoard"
  265. local Hehe = Instance.new("TextLabel",Bill)
  266. Hehe.BackgroundTransparency = 1
  267. Hehe.BorderSizePixel = 0
  268. Hehe.Text = ""
  269. Hehe.Font = "Code"
  270. Hehe.TextSize = 40
  271. Hehe.TextStrokeTransparency = 0
  272. Hehe.Size = UDim2.new(1,0,0.5,0)
  273. coroutine.resume(coroutine.create(function()
  274. while Hehe ~= nil do
  275. swait()
  276. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  277. Hehe.Rotation = math.random(-5,5)
  278. Hehe.TextColor3 = Color3.new(255,255,255)
  279. Hehe.TextStrokeColor3 = Color3.new(17,17,17)
  280. end
  281. end))
  282. for i = 1,string.len(text),1 do
  283. swait()
  284. Hehe.Text = string.sub(text,1,i)
  285. end
  286. swait(90)--Re[math.random(1, 93)]
  287. for i = 0, 1, .025 do
  288. swait()
  289. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  290. Hehe.TextStrokeTransparency = i
  291. Hehe.TextTransparency = i
  292. end
  293. Bill:Destroy()
  294. end)
  295. chat()
  296. end
  297.  
  298. --Make a Trail from both feet to the Platform
  299. spawn(function()
  300. repeat wait() until Trail
  301. local AB = Instance.new('Attachment',a)
  302. local ABT = Trail:Clone()
  303. ABT.Parent = Character
  304. ABT.Attachment0 = A4
  305. ABT.Attachment1 = AB
  306. ABT.Color = TrailSettings.Color2
  307. local ABT2 = Trail:Clone()
  308. ABT2.Parent = Character
  309. ABT2.Attachment0 = A5
  310. ABT2.Attachment1 = AB
  311. ABT2.Color = TrailSettings.Color2
  312. end)
  313. end
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320. Player = game.Players.LocalPlayer
  321. Character = Player.Character
  322. local txt = Instance.new("BillboardGui", Character)
  323. txt.Adornee = Character.Head
  324. txt.Name = "_status"
  325. txt.Size = UDim2.new(2, 0, 1.2, 0)
  326. txt.StudsOffset = Vector3.new(-9, 8, 0)
  327. local text = Instance.new("TextLabel", txt)
  328. text.Size = UDim2.new(10, 0, 7, 0)
  329. text.FontSize = "Size24"
  330. text.TextScaled = true
  331. text.TextTransparency = 0
  332. text.BackgroundTransparency = 1
  333. text.TextTransparency = 0
  334. text.TextStrokeTransparency = 0
  335. text.Font = "Antique"
  336. text.TextStrokeColor3 = Color3.new(170,0,0)
  337. text.Text = "Dead Hunter"
  338. script.Name = "Banisher Gun V3 / 1"
  339. --//====================================================\\--
  340. --|| CREATED BY SHACKLUSTER
  341. --\\====================================================//--
  342.  
  343. script:ClearAllChildren()
  344. wait(0.2)
  345.  
  346. Player = game:GetService("Players").LocalPlayer
  347. PlayerGui = Player.PlayerGui
  348. Cam = workspace.CurrentCamera
  349. Backpack = Player.Backpack
  350. Character = Player.Character
  351. Humanoid = Character.Humanoid
  352. Mouse = Player:GetMouse()
  353. RootPart = Character["HumanoidRootPart"]
  354. Torso = Character["Torso"]
  355. Head = Character["Head"]
  356. RightArm = Character["Right Arm"]
  357. LeftArm = Character["Left Arm"]
  358. RightLeg = Character["Right Leg"]
  359. LeftLeg = Character["Left Leg"]
  360. RootJoint = RootPart["RootJoint"]
  361. Neck = Torso["Neck"]
  362. RightShoulder = Torso["Right Shoulder"]
  363. LeftShoulder = Torso["Left Shoulder"]
  364. RightHip = Torso["Right Hip"]
  365. LeftHip = Torso["Left Hip"]
  366. local TIME = 0
  367. local sick = Instance.new("Sound",Torso)
  368.  
  369. IT = Instance.new
  370. CF = CFrame.new
  371. VT = Vector3.new
  372. RAD = math.rad
  373. C3 = Color3.new
  374. UD2 = UDim2.new
  375. BRICKC = BrickColor.new
  376. ANGLES = CFrame.Angles
  377. EULER = CFrame.fromEulerAnglesXYZ
  378. COS = math.cos
  379. ACOS = math.acos
  380. SIN = math.sin
  381. ASIN = math.asin
  382. ABS = math.abs
  383. MRANDOM = math.random
  384. FLOOR = math.floor
  385.  
  386. --//=================================\\
  387. --|| USEFUL VALUES
  388. --\\=================================//
  389.  
  390. Animation_Speed = 3
  391. local FORCERESET = false
  392. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  393. local Speed = 16
  394. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  395. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  396. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  397. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  398. local DAMAGEMULTIPLIER = 1
  399. local ANIM = "Idle"
  400. local ATTACK = false
  401. local EQUIPPED = false
  402. local HOLD = false
  403. local COMBO = 1
  404. local Rooted = false
  405. local SINE = 0
  406. local KEYHOLD = false
  407. local CHANGE = 2 / Animation_Speed
  408. local WALKINGANIM = false
  409. local VALUE1 = false
  410. local VALUE2 = false
  411. local ROBLOXIDLEANIMATION = IT("Animation")
  412. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  413. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  414. --ROBLOXIDLEANIMATION.Parent = Humanoid
  415. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  416. WEAPONGUI.Name = "BanishV3Gui"
  417. local Weapon = IT("Model")
  418. Weapon.Name = "Adds"
  419. local Effects = IT("Folder", Weapon)
  420. Effects.Name = "Effects"
  421. local ANIMATOR = Humanoid.Animator
  422. local ANIMATE = Character:FindFirstChild("Animate")
  423. local UNANCHOR = true
  424. local TOBANISH = {}
  425. script.Parent = PlayerGui
  426.  
  427. --//=================================\\
  428. --\\=================================//
  429.  
  430.  
  431. --//=================================\\
  432. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  433. --\\=================================//
  434.  
  435. ArtificialHB = Instance.new("BindableEvent", script)
  436. ArtificialHB.Name = "ArtificialHB"
  437.  
  438. script:WaitForChild("ArtificialHB")
  439.  
  440. frame = Frame_Speed
  441. tf = 0
  442. allowframeloss = false
  443. tossremainder = false
  444. lastframe = tick()
  445. script.ArtificialHB:Fire()
  446.  
  447. game:GetService("RunService").Heartbeat:connect(function(s, p)
  448. tf = tf + s
  449. if tf >= frame then
  450. if allowframeloss then
  451. script.ArtificialHB:Fire()
  452. lastframe = tick()
  453. else
  454. for i = 1, math.floor(tf / frame) do
  455. script.ArtificialHB:Fire()
  456. end
  457. lastframe = tick()
  458. end
  459. if tossremainder then
  460. tf = 0
  461. else
  462. tf = tf - frame * math.floor(tf / frame)
  463. end
  464. end
  465. end)
  466.  
  467. --//=================================\\
  468. --\\=================================//
  469.  
  470. --//=================================\\
  471. --|| SOME FUNCTIONS
  472. --\\=================================//
  473.  
  474. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  475. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  476. end
  477.  
  478. function PositiveAngle(NUMBER)
  479. if NUMBER >= 0 then
  480. NUMBER = 0
  481. end
  482. return NUMBER
  483. end
  484.  
  485. function NegativeAngle(NUMBER)
  486. if NUMBER <= 0 then
  487. NUMBER = 0
  488. end
  489. return NUMBER
  490. end
  491.  
  492. function Swait(NUMBER)
  493. if NUMBER == 0 or NUMBER == nil then
  494. ArtificialHB.Event:wait()
  495. else
  496. for i = 1, NUMBER do
  497. ArtificialHB.Event:wait()
  498. end
  499. end
  500. end
  501.  
  502. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  503. local NEWMESH = IT(MESH)
  504. if MESH == "SpecialMesh" then
  505. NEWMESH.MeshType = MESHTYPE
  506. if MESHID ~= "nil" and MESHID ~= "" then
  507. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  508. end
  509. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  510. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  511. end
  512. end
  513. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  514. NEWMESH.Scale = SCALE
  515. NEWMESH.Parent = PARENT
  516. return NEWMESH
  517. end
  518.  
  519. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  520. local NEWPART = IT("Part")
  521. NEWPART.formFactor = FORMFACTOR
  522. NEWPART.Reflectance = REFLECTANCE
  523. NEWPART.Transparency = TRANSPARENCY
  524. NEWPART.CanCollide = false
  525. NEWPART.Locked = true
  526. NEWPART.Anchored = true
  527. if ANCHOR == false then
  528. NEWPART.Anchored = false
  529. end
  530. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  531. NEWPART.Name = NAME
  532. NEWPART.Size = SIZE
  533. NEWPART.Position = Torso.Position
  534. NEWPART.Material = MATERIAL
  535. NEWPART:BreakJoints()
  536. NEWPART.Parent = PARENT
  537. return NEWPART
  538. end
  539.  
  540. local function weldBetween(a, b)
  541. local weldd = Instance.new("ManualWeld")
  542. weldd.Part0 = a
  543. weldd.Part1 = b
  544. weldd.C0 = CFrame.new()
  545. weldd.C1 = b.CFrame:inverse() * a.CFrame
  546. weldd.Parent = a
  547. return weldd
  548. end
  549.  
  550.  
  551. function QuaternionFromCFrame(cf)
  552. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  553. local trace = m00 + m11 + m22
  554. if trace > 0 then
  555. local s = math.sqrt(1 + trace)
  556. local recip = 0.5 / s
  557. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  558. else
  559. local i = 0
  560. if m11 > m00 then
  561. i = 1
  562. end
  563. if m22 > (i == 0 and m00 or m11) then
  564. i = 2
  565. end
  566. if i == 0 then
  567. local s = math.sqrt(m00 - m11 - m22 + 1)
  568. local recip = 0.5 / s
  569. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  570. elseif i == 1 then
  571. local s = math.sqrt(m11 - m22 - m00 + 1)
  572. local recip = 0.5 / s
  573. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  574. elseif i == 2 then
  575. local s = math.sqrt(m22 - m00 - m11 + 1)
  576. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  577. end
  578. end
  579. end
  580.  
  581. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  582. local xs, ys, zs = x + x, y + y, z + z
  583. local wx, wy, wz = w * xs, w * ys, w * zs
  584. local xx = x * xs
  585. local xy = x * ys
  586. local xz = x * zs
  587. local yy = y * ys
  588. local yz = y * zs
  589. local zz = z * zs
  590. 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))
  591. end
  592.  
  593. function QuaternionSlerp(a, b, t)
  594. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  595. local startInterp, finishInterp;
  596. if cosTheta >= 0.0001 then
  597. if (1 - cosTheta) > 0.0001 then
  598. local theta = ACOS(cosTheta)
  599. local invSinTheta = 1 / SIN(theta)
  600. startInterp = SIN((1 - t) * theta) * invSinTheta
  601. finishInterp = SIN(t * theta) * invSinTheta
  602. else
  603. startInterp = 1 - t
  604. finishInterp = t
  605. end
  606. else
  607. if (1 + cosTheta) > 0.0001 then
  608. local theta = ACOS(-cosTheta)
  609. local invSinTheta = 1 / SIN(theta)
  610. startInterp = SIN((t - 1) * theta) * invSinTheta
  611. finishInterp = SIN(t * theta) * invSinTheta
  612. else
  613. startInterp = t - 1
  614. finishInterp = t
  615. end
  616. end
  617. 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
  618. end
  619.  
  620. function Clerp(a, b, t)
  621. local qa = {QuaternionFromCFrame(a)}
  622. local qb = {QuaternionFromCFrame(b)}
  623. local ax, ay, az = a.x, a.y, a.z
  624. local bx, by, bz = b.x, b.y, b.z
  625. local _t = 1 - t
  626. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  627. end
  628.  
  629. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  630. local frame = IT("Frame")
  631. frame.BackgroundTransparency = TRANSPARENCY
  632. frame.BorderSizePixel = BORDERSIZEPIXEL
  633. frame.Position = POSITION
  634. frame.Size = SIZE
  635. frame.BackgroundColor3 = COLOR
  636. frame.BorderColor3 = BORDERCOLOR
  637. frame.Name = NAME
  638. frame.Parent = PARENT
  639. return frame
  640. end
  641.  
  642. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  643. local label = IT("TextLabel")
  644. label.BackgroundTransparency = 1
  645. label.Size = UD2(1, 0, 1, 0)
  646. label.Position = UD2(0, 0, 0, 0)
  647. label.TextColor3 = TEXTCOLOR
  648. label.TextStrokeTransparency = STROKETRANSPARENCY
  649. label.TextTransparency = TRANSPARENCY
  650. label.FontSize = TEXTFONTSIZE
  651. label.Font = TEXTFONT
  652. label.BorderSizePixel = BORDERSIZEPIXEL
  653. label.TextScaled = false
  654. label.Text = TEXT
  655. label.Name = NAME
  656. label.Parent = PARENT
  657. return label
  658. end
  659.  
  660. function NoOutlines(PART)
  661. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  662. end
  663.  
  664. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  665. local NEWWELD = IT(TYPE)
  666. NEWWELD.Part0 = PART0
  667. NEWWELD.Part1 = PART1
  668. NEWWELD.C0 = C0
  669. NEWWELD.C1 = C1
  670. NEWWELD.Parent = PARENT
  671. return NEWWELD
  672. end
  673.  
  674. local S = IT("Sound")
  675. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  676. local NEWSOUND = nil
  677. coroutine.resume(coroutine.create(function()
  678. NEWSOUND = S:Clone()
  679. NEWSOUND.Parent = PARENT
  680. NEWSOUND.Volume = VOLUME
  681. NEWSOUND.Pitch = PITCH
  682. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  683. NEWSOUND:play()
  684. if DOESLOOP == true then
  685. NEWSOUND.Looped = true
  686. else
  687. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  688. NEWSOUND:remove()
  689. end
  690. end))
  691. return NEWSOUND
  692. end
  693.  
  694. function CFrameFromTopBack(at, top, back)
  695. local right = top:Cross(back)
  696. 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)
  697. end
  698.  
  699. --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})
  700. function WACKYEFFECT(Table)
  701. local TYPE = (Table.EffectType or "Sphere")
  702. local SIZE = (Table.Size or VT(1,1,1))
  703. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  704. local TRANSPARENCY = (Table.Transparency or 0)
  705. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  706. local CFRAME = (Table.CFrame or Torso.CFrame)
  707. local MOVEDIRECTION = (Table.MoveToPos or nil)
  708. local ROTATION1 = (Table.RotationX or 0)
  709. local ROTATION2 = (Table.RotationY or 0)
  710. local ROTATION3 = (Table.RotationZ or 0)
  711. local MATERIAL = (Table.Material or "Neon")
  712. local COLOR = (Table.Color or C3(1,1,1))
  713. local TIME = (Table.Time or 45)
  714. local SOUNDID = (Table.SoundID or nil)
  715. local SOUNDPITCH = (Table.SoundPitch or nil)
  716. local SOUNDVOLUME = (Table.SoundVolume or nil)
  717. coroutine.resume(coroutine.create(function()
  718. local PLAYSSOUND = false
  719. local SOUND = nil
  720. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  721. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  722. PLAYSSOUND = true
  723. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  724. end
  725. EFFECT.Color = COLOR
  726. local MSH = nil
  727. if TYPE == "Sphere" then
  728. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  729. elseif TYPE == "Block" then
  730. MSH = IT("BlockMesh",EFFECT)
  731. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  732. elseif TYPE == "Wave" then
  733. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  734. elseif TYPE == "Ring" then
  735. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  736. elseif TYPE == "Slash" then
  737. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  738. elseif TYPE == "Round Slash" then
  739. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  740. elseif TYPE == "Swirl" then
  741. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  742. elseif TYPE == "Skull" then
  743. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  744. elseif TYPE == "Crystal" then
  745. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  746. end
  747. if MSH ~= nil then
  748. local MOVESPEED = nil
  749. if MOVEDIRECTION ~= nil then
  750. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  751. end
  752. local GROWTH = SIZE - ENDSIZE
  753. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  754. if TYPE == "Block" then
  755. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  756. else
  757. EFFECT.CFrame = CFRAME
  758. end
  759. for LOOP = 1, TIME+1 do
  760. Swait()
  761. MSH.Scale = MSH.Scale - GROWTH/TIME
  762. if TYPE == "Wave" then
  763. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  764. end
  765. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  766. if TYPE == "Block" then
  767. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  768. else
  769. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  770. end
  771. if MOVEDIRECTION ~= nil then
  772. local ORI = EFFECT.Orientation
  773. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  774. EFFECT.Orientation = ORI
  775. end
  776. end
  777. if PLAYSSOUND == false then
  778. EFFECT:remove()
  779. else
  780. SOUND.Stopped:Connect(function()
  781. EFFECT:remove()
  782. end)
  783. end
  784. else
  785. if PLAYSSOUND == false then
  786. EFFECT:remove()
  787. else
  788. repeat Swait() until SOUND.Playing == false
  789. EFFECT:remove()
  790. end
  791. end
  792. end))
  793. end
  794.  
  795. function MakeForm(PART,TYPE)
  796. if TYPE == "Cyl" then
  797. local MSH = IT("CylinderMesh",PART)
  798. elseif TYPE == "Ball" then
  799. local MSH = IT("SpecialMesh",PART)
  800. MSH.MeshType = "Sphere"
  801. elseif TYPE == "Wedge" then
  802. local MSH = IT("SpecialMesh",PART)
  803. MSH.MeshType = "Wedge"
  804. end
  805. end
  806.  
  807. function SpawnTrail(FROM,TO,BIG)
  808. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  809. MakeForm(TRAIL,"Cyl")
  810. local DIST = (FROM - TO).Magnitude
  811. if BIG == true then
  812. TRAIL.Size = VT(0.5,DIST,0.5)
  813. else
  814. TRAIL.Size = VT(0.25,DIST,0.25)
  815. end
  816. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  817. coroutine.resume(coroutine.create(function()
  818. for i = 1, 5 do
  819. Swait()
  820. TRAIL.Transparency = TRAIL.Transparency + 0.1
  821. end
  822. TRAIL:remove()
  823. end))
  824. end
  825.  
  826. Debris = game:GetService("Debris")
  827.  
  828. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  829. local DIRECTION = CF(StartPos,EndPos).lookVector
  830. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  831. end
  832.  
  833. function turnto(position)
  834. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  835. end
  836.  
  837. --//=================================\\
  838. --|| WEAPON CREATION
  839. --\\=================================//
  840.  
  841. local Particle = IT("ParticleEmitter",nil)
  842. Particle.Enabled = false
  843. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  844. Particle.LightEmission = 0.5
  845. Particle.Rate = 150
  846. Particle.ZOffset = 0.2
  847. Particle.Rotation = NumberRange.new(-180, 180)
  848. Particle.RotSpeed = NumberRange.new(-180, 180)
  849. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  850. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  851.  
  852. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  853. function ParticleEmitter(Table)
  854. local PRTCL = Particle:Clone()
  855. local Speed = Table.Speed or 5
  856. local Drag = Table.Drag or 0
  857. local Size1 = Table.Size1 or 1
  858. local Size2 = Table.Size2 or 5
  859. local Lifetime1 = Table.Lifetime1 or 1
  860. local Lifetime2 = Table.Lifetime2 or 1.5
  861. local Parent = Table.Parent or Torso
  862. local Emit = Table.Emit or 100
  863. local Offset = Table.Offset or 360
  864. local Acel = Table.Acel or VT(0,0,0)
  865. local Enabled = Table.Enabled or false
  866. PRTCL.Parent = Parent
  867. PRTCL.Size = NumberSequence.new(Size1,Size2)
  868. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  869. PRTCL.Speed = NumberRange.new(Speed)
  870. PRTCL.VelocitySpread = Offset
  871. PRTCL.Drag = Drag
  872. PRTCL.Acceleration = Acel
  873. if Enabled == false then
  874. PRTCL:Emit(Emit)
  875. Debris:AddItem(PRTCL,Lifetime2)
  876. else
  877. PRTCL.Enabled = true
  878. end
  879. return PRTCL
  880. end
  881.  
  882. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  883. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  884. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  885. MakeForm(Part,"Wedge")
  886. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  887. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  888. MakeForm(Part,"Wedge")
  889. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  890. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  891. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  892. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  893. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  894. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  895. MakeForm(Part,"Cyl")
  896. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  897. for i = 1, 8 do
  898. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  899. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  900. end
  901. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  902. MakeForm(Part,"Cyl")
  903. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  904. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  905. MakeForm(Part,"Ball")
  906. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  907. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  908. MakeForm(Part,"Wedge")
  909. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  910. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  911. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  912. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  913. MakeForm(Part,"Cyl")
  914. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  915. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  916. MakeForm(Part,"Cyl")
  917. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  918. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  919. MakeForm(Part,"Cyl")
  920. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  921. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  922. MakeForm(Part,"Wedge")
  923. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  924. local LASTPART = Handle
  925. for i = 1, 10 do
  926. if LASTPART == Handle then
  927. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  928. LASTPART = Part
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  930. else
  931. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  932. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  933. LASTPART = Part
  934. end
  935. end
  936.  
  937. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  938. MakeForm(Barrel,"Cyl")
  939. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  940. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  941. MakeForm(Part,"Cyl")
  942. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  943. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  944. MakeForm(Part,"Wedge")
  945. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  946. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  947. MakeForm(Hole,"Cyl")
  948. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  949. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  950. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  951. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  953. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  954. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  955. coroutine.resume(coroutine.create(function()
  956. while wait() do
  957. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  958. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  959. end
  960. end))
  961.  
  962. 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)})
  963. --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)})
  964.  
  965. for _, c in pairs(Weapon:GetDescendants()) do
  966. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  967. c.Material = "Glass"
  968. c.Color = C3(0,0,0)
  969. elseif c.ClassName == "Part" and c.Name == "Eye" then
  970. c.Color = C3(1,0,0)
  971. c.Material = "Neon"
  972. end
  973. end
  974.  
  975. Weapon.Parent = Character
  976. for _, c in pairs(Weapon:GetChildren()) do
  977. if c.ClassName == "Part" then
  978. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  979. end
  980. end
  981.  
  982. local SKILLTEXTCOLOR = C3(1,0,0)
  983. local SKILLFONT = "Antique"
  984. local SKILLTEXTSIZE = 7
  985.  
  986. Humanoid.Died:connect(function()
  987. ATTACK = true
  988. end)
  989.  
  990. 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")
  991. --[[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")
  992. 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")
  993. 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")
  994. 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")
  995. ]]
  996. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  997. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  998. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  999. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1000. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1001. ]]
  1002. function printbye(Name)
  1003. 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, "}
  1004. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1005. end
  1006.  
  1007. workspace.ChildAdded:connect(function(instance)
  1008. for BANISH = 1, #TOBANISH do
  1009. if TOBANISH[BANISH] ~= nil then
  1010. if instance.Name == TOBANISH[BANISH] then
  1011. coroutine.resume(coroutine.create(function()
  1012. printbye(instance.Name)
  1013. instance:ClearAllChildren()
  1014. Debris:AddItem(instance,0.0005)
  1015. end))
  1016. end
  1017. end
  1018. end
  1019. end)
  1020.  
  1021. --//=================================\\
  1022. --|| DAMAGING
  1023. --\\=================================//
  1024.  
  1025. function Banish(Foe)
  1026. if Foe then
  1027. coroutine.resume(coroutine.create(function()
  1028. --if game.Players:FindFirstChild(Foe.Name) then
  1029. table.insert(TOBANISH,Foe.Name)
  1030. printbye(Foe.Name)
  1031. --end
  1032. Foe.Archivable = true
  1033. local CLONE = Foe:Clone()
  1034. Foe:Destroy()
  1035. CLONE.Parent = Effects
  1036. CLONE:BreakJoints()
  1037. local MATERIALS = {"Glass","Neon"}
  1038. for _, c in pairs(CLONE:GetDescendants()) do
  1039. if c:IsA("BasePart") then
  1040. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1041. CreateSound(340722848, c, 10, 1, false)
  1042. end
  1043. c.Anchored = true
  1044. c.Transparency = c.Transparency + 0.2
  1045. c.Material = MATERIALS[MRANDOM(1,2)]
  1046. c.Color = C3(1,0,0)
  1047. if c.ClassName == "MeshPart" then
  1048. c.TextureID = ""
  1049. end
  1050. if c:FindFirstChildOfClass("SpecialMesh") then
  1051. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1052. end
  1053. if c:FindFirstChildOfClass("Decal") then
  1054. c:FindFirstChildOfClass("Decal"):remove()
  1055. end
  1056. c.Name = "Banished"
  1057. c.CanCollide = false
  1058. else
  1059. c:remove()
  1060. end
  1061. end
  1062. local A = false
  1063. for i = 1, 35 do
  1064. if A == false then
  1065. A = true
  1066. elseif A == true then
  1067. A = false
  1068. end
  1069. for _, c in pairs(CLONE:GetDescendants()) do
  1070. if c:IsA("BasePart") then
  1071. c.Anchored = true
  1072. c.Material = MATERIALS[MRANDOM(1,2)]
  1073. c.Transparency = c.Transparency + 0.8/35
  1074. if A == false then
  1075. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1076. elseif A == true then
  1077. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1078. end
  1079. end
  1080. end
  1081. Swait()
  1082. end
  1083. CLONE:remove()
  1084. end))
  1085. end
  1086. end
  1087.  
  1088. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1089. local CHILDREN = workspace:GetDescendants()
  1090. for index, CHILD in pairs(CHILDREN) do
  1091. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1092. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1093. if HUM then
  1094. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1095. if TORSO then
  1096. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1097. if ISBANISH == true then
  1098. Banish(CHILD)
  1099. else
  1100. if ISBANISH == "Gravity" then
  1101. HUM.PlatformStand = true
  1102. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1103. local grav = Instance.new("BodyPosition",TORSO)
  1104. grav.D = 15
  1105. grav.P = 20000
  1106. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1107. grav.position = TORSO.Position
  1108. grav.Name = "V3BanishForce"..Player.Name
  1109. else
  1110. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1111. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1112. end
  1113. else
  1114. HUM.PlatformStand = false
  1115. end
  1116. end
  1117. elseif ISBANISH == "Gravity" then
  1118. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1119. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1120. HUM.PlatformStand = false
  1121. end
  1122. end
  1123. end
  1124. end
  1125. end
  1126. end
  1127. end
  1128.  
  1129. --//=================================\\
  1130. --|| ATTACK FUNCTIONS AND STUFF
  1131. --\\=================================//
  1132.  
  1133. function Shot()
  1134. ATTACK = true
  1135. Rooted = false
  1136. for i=0, 0.4, 0.1 / Animation_Speed do
  1137. Swait()
  1138. turnto(Mouse.Hit.p)
  1139. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1142. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1143. 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)
  1144. 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)
  1145. end
  1146. repeat
  1147. for i=0, 0.2, 0.1 / Animation_Speed do
  1148. Swait()
  1149. turnto(Mouse.Hit.p)
  1150. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1151. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1152. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1153. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1154. 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)
  1155. 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)
  1156. end
  1157. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1158. SpawnTrail(Hole.Position,POS)
  1159. if HIT ~= nil then
  1160. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1161. Banish(HIT.Parent)
  1162. end
  1163. end
  1164. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1165. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1166. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1167. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1168. for i=0, 0.3, 0.1 / Animation_Speed do
  1169. Swait()
  1170. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1171. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1172. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1173. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1174. 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)
  1175. 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)
  1176. end
  1177. until KEYHOLD == false
  1178. ATTACK = false
  1179. Rooted = false
  1180. end
  1181.  
  1182. function AttackTemplate()
  1183. ATTACK = true
  1184. Rooted = false
  1185. for i=0, 1, 0.1 / Animation_Speed do
  1186. Swait()
  1187. 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)
  1188. 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)
  1189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1191. 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)
  1192. 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)
  1193. end
  1194. ATTACK = false
  1195. Rooted = false
  1196. end
  1197.  
  1198. --//=================================\\
  1199. --|| ASSIGN THINGS TO KEYS
  1200. --\\=================================//
  1201.  
  1202. function MouseDown(Mouse)
  1203. if ATTACK == false then
  1204. end
  1205. end
  1206.  
  1207. function MouseUp(Mouse)
  1208. HOLD = false
  1209. end
  1210.  
  1211. function KeyDown(Key)
  1212. KEYHOLD = true
  1213. if Key == "z" and ATTACK == false then
  1214. Shot()
  1215. end
  1216.  
  1217. if Key == "b" and ATTACK == false then
  1218. end
  1219.  
  1220. if Key == "c" and ATTACK == false then
  1221. end
  1222.  
  1223. if Key == "v" and ATTACK == false then
  1224. end
  1225.  
  1226. if Key == "x" and ATTACK == false then
  1227. end
  1228. end
  1229.  
  1230. function KeyUp(Key)
  1231. KEYHOLD = false
  1232. end
  1233.  
  1234. Mouse.Button1Down:connect(function(NEWKEY)
  1235. MouseDown(NEWKEY)
  1236. end)
  1237. Mouse.Button1Up:connect(function(NEWKEY)
  1238. MouseUp(NEWKEY)
  1239. end)
  1240. Mouse.KeyDown:connect(function(NEWKEY)
  1241. KeyDown(NEWKEY)
  1242. end)
  1243. Mouse.KeyUp:connect(function(NEWKEY)
  1244. KeyUp(NEWKEY)
  1245. end)
  1246.  
  1247. --//=================================\\
  1248. --\\=================================//
  1249.  
  1250.  
  1251. function unanchor()
  1252. if UNANCHOR == true then
  1253. g = Character:GetChildren()
  1254. for i = 1, #g do
  1255. if g[i].ClassName == "Part" then
  1256. g[i].Anchored = false
  1257. end
  1258. end
  1259. end
  1260. end
  1261.  
  1262.  
  1263. --//=================================\\
  1264. --|| WRAP THE WHOLE SCRIPT UP
  1265. --\\=================================//
  1266.  
  1267. Humanoid.Changed:connect(function(Jump)
  1268. if Jump == "Jump" and (Disable_Jump == true) then
  1269. Humanoid.Jump = false
  1270. end
  1271. end)
  1272.  
  1273. sick.AncestryChanged:Connect(function()
  1274. sick.Parent = Character
  1275. end)
  1276.  
  1277. while true do
  1278. Swait()
  1279. script.Parent = WEAPONGUI
  1280. ANIMATE.Parent = nil
  1281. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1282. v:Stop();
  1283. end
  1284. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1285. Humanoid = IT("Humanoid",Character)
  1286. end
  1287. Humanoid.HipHeight = 2
  1288. SINE = SINE + CHANGE
  1289. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1290. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1291. if ATTACK == false then
  1292. if TORSOVELOCITY < 1 then
  1293. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1297. 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)
  1298. 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)
  1299. elseif TORSOVELOCITY > 1 then
  1300. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1304. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1305. 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)
  1306. end
  1307. end
  1308. unanchor()
  1309. Humanoid.MaxHealth = "inf"
  1310. Humanoid.Health = "inf"
  1311. if Rooted == false then
  1312. Disable_Jump = false
  1313. Humanoid.WalkSpeed = Speed
  1314. elseif Rooted == true then
  1315. Disable_Jump = true
  1316. Humanoid.WalkSpeed = 0
  1317. end
  1318. sick.Parent = Torso
  1319. sick:resume()
  1320. sick.Volume = 5
  1321. sick.Pitch = 1
  1322. sick.SoundId = "rbxassetid://924339757"
  1323. sick.Name = "BanishV3Music"
  1324. end
  1325. --//=================================\\
  1326. --\\=================================//
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332. --//====================================================\\--
  1333. --|| END OF SCRIPT
  1334. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement