Robert666121

banish gun v3

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