Advertisement
Guest User

Untitled

a guest
Jan 8th, 2021
8,349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.65 KB | None | 0 0
  1. --# Transfur Infection 2 Script #--
  2. --# by QuadSquad or Jexytd#3339 (i dont take credits so.. you can grab something on this script) #--
  3.  
  4. --/ GUI Library --
  5. local Lib = loadstring(game:HttpGet("https://pastebin.com/raw/3gQQtaKX"))();
  6.  
  7. --/ Tabs --
  8. local TAB_1 = Lib:CreateTab("Home")
  9. local TAB_100 = Lib:CreateTab("Misc")
  10.  
  11. --/ Sections --
  12. local T1_SECTION_1 = TAB_1:CreateSection("Main")
  13. local T1_SECTION_2 = TAB_1:CreateSection("Other")
  14.  
  15. local T100_SECTION_1 = TAB_100:CreateSection("Misc 1")
  16. local T100_SECTION_2 = TAB_100:CreateSection("Misc 2")
  17.  
  18. --/ Variables --
  19. AUTOFARM = false
  20. AUTOFARM2 = false
  21. AUTOESCAPE = false
  22. NoClip = false
  23.  
  24. --[[
  25. TAB: MAIN
  26. DESCRIPTION: MAIN FEATURE
  27. ]]--
  28.  
  29. spawn(function()
  30. if not workspace:FindFirstChild("Angus Cat0") then
  31. local Part = Instance.new("Part")
  32. Part.Parent = workspace
  33. Part.Name = "Angus Cat0"
  34. Part.Size = Vector3.new(10, 1, 10)
  35. Part.Position = Vector3.new(0, math.random(10000, 100000), 0)
  36. Part.CFrame = CFrame.new(0, math.random(10000, 100000), 0)
  37. Part.Anchored = true
  38. else
  39. workspace:FindFirstChild("Angus Cat0"):remove()
  40. local Part = Instance.new("Part")
  41. Part.Parent = workspace
  42. Part.Name = "Angus Cat0"
  43. Part.Size = Vector3.new(10, 1, 10)
  44. Part.Position = Vector3.new(0, math.random(10000, 100000), 0)
  45. Part.CFrame = CFrame.new(0, math.random(10000, 100000), 0)
  46. Part.Anchored = true
  47. end
  48. FRIENDZONE = workspace:FindFirstChild("Angus Cat0")
  49. end)
  50.  
  51. --# Auto Farm (INFECTED) #--
  52. T1_SECTION_1:CreateToggle("Auto Farm (Infected)", function(state)
  53. AUTOFARM = state
  54. local Stepped
  55. Stepped = game:service'RunService'.RenderStepped:connect(function()
  56. if AUTOFARM == true then
  57. pcall(function()
  58. game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
  59. end)
  60. end
  61. if AUTOFARM == false then
  62. Stepped:Disconnect()
  63. end
  64. end)
  65. while AUTOFARM do
  66. pcall(function()
  67. local function GetHuman()
  68. local _obj
  69. pcall(function()
  70. for _,v in pairs(game:service'Players':GetChildren()) do
  71. if v.Name ~= game:service'Players'.LocalPlayer.Name and v.Team == game:service'Teams'.Human then
  72. if v.Character and v.Character.Humanoid.Health > 0 then
  73. for _,v2 in pairs(game:GetService("Workspace").Spawns:GetChildren()) do
  74. if v:DistanceFromCharacter(v2.Position) >= 140 then
  75. _obj = v.Character
  76. end
  77. end
  78. end
  79. end
  80. end
  81. end)
  82. return _obj
  83. end
  84. if game:service'Players'.LocalPlayer.Team == game:service'Teams'.Infected and game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected") then
  85. local Char = GetHuman()
  86. if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("InfectDebounce") then
  87. pcall(function()
  88. game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("InfectDebounce"):remove()
  89. end)
  90. end
  91. if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Stun") then
  92. pcall(function()
  93. game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Stun"):remove()
  94. end)
  95. end
  96. if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Ragdoll") then
  97. pcall(function()
  98. game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Ragdoll"):remove()
  99. end)
  100. end
  101. if Char then
  102. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = Char.HumanoidRootPart.CFrame
  103. if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoAttack") and game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoJump") and game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoRun") then
  104. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
  105. else
  106. local Event = game:GetService("ReplicatedStorage").Remotes.Input
  107. Event:FireServer({["input"] = Enum.UserInputType.MouseButton1, ["keycode"] = Enum.KeyCode.Unknown})
  108. end
  109. end
  110. else
  111. if game:GetService("Workspace").Goop:FindFirstChild("Infect") then
  112. local part = game:GetService("Workspace").Goop:GetChildren()[math.random(1, #game:GetService("Workspace").Goop:GetChildren())]
  113. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame
  114. end
  115. end
  116. end)
  117. wait()
  118. if not AUTOFARM then
  119. pcall(function()
  120. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
  121. end)
  122. end
  123. end
  124. end)
  125.  
  126. --# Auto Farm (HUMAN) #--
  127. T1_SECTION_1:CreateToggle("Auto Farm (Human)", function(state)
  128. AUTOFARM2 = state
  129. local Stepped
  130. Stepped = game:service'RunService'.RenderStepped:connect(function()
  131. if AUTOFARM2 == true then
  132. pcall(function()
  133. game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
  134. end)
  135. end
  136. if AUTOFARM2 == false then
  137. Stepped:Disconnect()
  138. end
  139. end)
  140. while AUTOFARM2 do
  141. pcall(function()
  142. local function GetInfected()
  143. local _obj
  144. pcall(function()
  145. for _,v in pairs(game:service'Players':GetChildren()) do
  146. if v.Name ~= game:service'Players'.LocalPlayer.Name and v.Team ~= game:service'Teams'.Human then
  147. if v.Character and v.Character.Humanoid.Health > 0 then
  148. _obj = v.Character
  149. end
  150. end
  151. end
  152. end)
  153. return _obj
  154. end
  155. if game:service'Players'.LocalPlayer.Team == game:service'Teams'.Human and not game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected") then
  156. local Char = GetInfected()
  157. if Char then
  158. repeat
  159. pcall(function()
  160. local Char = GetInfected()
  161. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = Char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(-90), 0, 0) + Vector3.new(0, 4.5, 0)
  162. end)
  163. wait()
  164. pcall(function()
  165. for _,v in pairs(game:service'Players'.LocalPlayer.Character.Status:GetChildren()) do
  166. if v.Name:lower():match("debounce") then
  167. v:remove()
  168. end
  169. end
  170. if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoMove") then
  171. game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoMove"):remove()
  172. end
  173.  
  174. if game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle") then
  175. game:service'Players'.LocalPlayer.Character.Humanoid:EquipTool(game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle"))
  176. else
  177. fireclickdetector(game:GetService("Workspace")["Bottle Buy"].ClickDetector)
  178. end
  179.  
  180. if game:service'Players'.LocalPlayer.Character and game:service'Players'.LocalPlayer.Character:FindFirstChild("Bottle") then
  181. local Event = game:GetService("ReplicatedStorage").Remotes.Input
  182. Event:FireServer({["input"] = Enum.UserInputType.MouseButton1, ["keycode"] = Enum.KeyCode.Unknown})
  183. else
  184. game:service'Players'.LocalPlayer.Character.Humanoid:EquipTool(game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle"))
  185. end
  186.  
  187. if Char:FindFirstChild("Status") and Char.Status:FindFirstChild("Ragdoll") then
  188. Char.Status:FindFirstChild("Ragdoll"):remove()
  189. end
  190. end)
  191. until not Char or Char.Humanoid.Health <= 0 or not AUTOFARM2 or game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected")
  192. end
  193. else
  194. game:service'Players'.LocalPlayer.Character.Humanoid.Health = 0
  195. end
  196. end)
  197. wait()
  198. if not AUTOFARM2 then
  199. pcall(function()
  200. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
  201. end)
  202. end
  203. end
  204. end)
  205.  
  206. --# Auto Escape #--
  207. T1_SECTION_1:CreateToggle("Auto Escape", function(state)
  208. AUTOESCAPE = state
  209. while AUTOESCAPE do
  210. pcall(function()
  211. local OldRoot = game:service'Players'.LocalPlayer.Character.HumanoidRootPart:Clone()
  212. if workspace:FindFirstChild("Music") and workspace:FindFirstChild("Music").SoundId == "rbxassetid://337599795" and workspace:FindFirstChild("Music").Playing == true then
  213. if workspace:FindFirstChild("GATE") then
  214. local part = workspace:FindFirstChild("GATE")
  215. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame
  216. wait(.2)
  217. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = OldRoot.CFrame + Vector3.new(0, 3, 0)
  218. end
  219. else
  220. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = OldRoot.CFrame + Vector3.new(0, 3, 0)
  221. end
  222. end)
  223. wait()
  224. break
  225. end
  226. end)
  227.  
  228. --# Hide Character #--
  229. T1_SECTION_2:CreateToggle("Hide Character", function(state)
  230. HIDECHAR = state
  231. while HIDECHAR do
  232. pcall(function()
  233. if game:service'Players'.LocalPlayer.Character:FindFirstChild("Shirt") or game:service'Players'.LocalPlayer.Character:FindFirstChild("Pants") then
  234. for i,v in pairs(game:service'Players'.LocalPlayer.Character:GetDescendants()) do
  235. if v.ClassName == "Accessory" or v.Name == "Shirt" or v.Name == "Pants" then
  236. v:remove()
  237. end
  238. end
  239. end
  240. end)
  241. wait(.5)
  242. end
  243. end)
  244.  
  245. --# Tool No Cooldown #--
  246. T1_SECTION_2:CreateToggle("Tool No Cooldown", function(state)
  247. HIDECHAR = state
  248. while HIDECHAR do
  249. pcall(function()
  250. for _,v in pairs(game:service'Players'.LocalPlayer.Character.Status:GetChildren()) do
  251. if v.Name:lower():match("debounce") then
  252. v:remove()
  253. end
  254. end
  255. end)
  256. wait(.5)
  257. end
  258. end)
  259.  
  260. --[[
  261. TAB: EXTRA
  262. DESCRIPTION: EXTRA FEATURE
  263. ]]--
  264.  
  265. T100_SECTION_1:CreateButton("Suicide", function()
  266. pcall(function()
  267. game:service'Players'.LocalPlayer.Character.Humanoid.Health = 0
  268. end)
  269. end)
  270.  
  271. local _WS = tonumber(game:service'Players'.LocalPlayer.Character.Humanoid.WalkSpeed)
  272. local _JP = tonumber(game:service'Players'.LocalPlayer.Character.Humanoid.JumpPower)
  273.  
  274. T100_SECTION_1:CreateSlider("WalkSpeed", 16, 400, _WS, false, function(value)
  275. _WS = tonumber(value)
  276. end)
  277.  
  278. T100_SECTION_1:CreateButton("Set WalkSpeed", function()
  279. game:service'Players'.LocalPlayer.Character.Humanoid.WalkSpeed = _WS
  280. end)
  281.  
  282. T100_SECTION_1:CreateSlider("JumpPower", 50, 400, _JP, false, function(value)
  283. _JP = tonumber(value)
  284. end)
  285.  
  286. T100_SECTION_1:CreateButton("Set JumpPower", function()
  287. game:service'Players'.LocalPlayer.Character.Humanoid.JumpPower = _JP
  288. end)
  289.  
  290. --/ NoClip \--
  291. T100_SECTION_2:CreateToggle("No Clip", function(state)
  292. NoClip = state
  293. local Stepped
  294. Stepped = game:service'RunService'.RenderStepped:connect(function()
  295. if NoClip == true then
  296. pcall(function()
  297. game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
  298. end)
  299. end
  300. if NoClip == false then
  301. Stepped:Disconnect()
  302. end
  303. end)
  304. end)
  305.  
  306. --/ Destroy Gui Button --
  307. T100_SECTION_2:CreateButton("Kill GUI", function()
  308. local function GetGuiName()
  309. local GUI
  310. pcall(function()
  311. for i,v in pairs(game:service'CoreGui':GetChildren()) do
  312. if (string.len(v.Name) >= 35) then
  313. GUI = v
  314. end
  315. end
  316. end)
  317. return tostring(GUI)
  318. end
  319. local _GUINAME = GetGuiName()
  320. if game:service'CoreGui':FindFirstChild(_GUINAME) then game:service'CoreGui':FindFirstChild(_GUINAME):remove() end
  321. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement