Advertisement
JacksoMykalJunior

UNWELDD

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