Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --# Transfur Infection 2 Script #--
- --# by QuadSquad or Jexytd#3339 (i dont take credits so.. you can grab something on this script) #--
- --/ GUI Library --
- local Lib = loadstring(game:HttpGet("https://pastebin.com/raw/3gQQtaKX"))();
- --/ Tabs --
- local TAB_1 = Lib:CreateTab("Home")
- local TAB_100 = Lib:CreateTab("Misc")
- --/ Sections --
- local T1_SECTION_1 = TAB_1:CreateSection("Main")
- local T1_SECTION_2 = TAB_1:CreateSection("Other")
- local T100_SECTION_1 = TAB_100:CreateSection("Misc 1")
- local T100_SECTION_2 = TAB_100:CreateSection("Misc 2")
- --/ Variables --
- AUTOFARM = false
- AUTOFARM2 = false
- AUTOESCAPE = false
- NoClip = false
- --[[
- TAB: MAIN
- DESCRIPTION: MAIN FEATURE
- ]]--
- spawn(function()
- if not workspace:FindFirstChild("Angus Cat0") then
- local Part = Instance.new("Part")
- Part.Parent = workspace
- Part.Name = "Angus Cat0"
- Part.Size = Vector3.new(10, 1, 10)
- Part.Position = Vector3.new(0, math.random(10000, 100000), 0)
- Part.CFrame = CFrame.new(0, math.random(10000, 100000), 0)
- Part.Anchored = true
- else
- workspace:FindFirstChild("Angus Cat0"):remove()
- local Part = Instance.new("Part")
- Part.Parent = workspace
- Part.Name = "Angus Cat0"
- Part.Size = Vector3.new(10, 1, 10)
- Part.Position = Vector3.new(0, math.random(10000, 100000), 0)
- Part.CFrame = CFrame.new(0, math.random(10000, 100000), 0)
- Part.Anchored = true
- end
- FRIENDZONE = workspace:FindFirstChild("Angus Cat0")
- end)
- --# Auto Farm (INFECTED) #--
- T1_SECTION_1:CreateToggle("Auto Farm (Infected)", function(state)
- AUTOFARM = state
- local Stepped
- Stepped = game:service'RunService'.RenderStepped:connect(function()
- if AUTOFARM == true then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
- end)
- end
- if AUTOFARM == false then
- Stepped:Disconnect()
- end
- end)
- while AUTOFARM do
- pcall(function()
- local function GetHuman()
- local _obj
- pcall(function()
- for _,v in pairs(game:service'Players':GetChildren()) do
- if v.Name ~= game:service'Players'.LocalPlayer.Name and v.Team == game:service'Teams'.Human then
- if v.Character and v.Character.Humanoid.Health > 0 then
- for _,v2 in pairs(game:GetService("Workspace").Spawns:GetChildren()) do
- if v:DistanceFromCharacter(v2.Position) >= 140 then
- _obj = v.Character
- end
- end
- end
- end
- end
- end)
- return _obj
- end
- if game:service'Players'.LocalPlayer.Team == game:service'Teams'.Infected and game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected") then
- local Char = GetHuman()
- if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("InfectDebounce") then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("InfectDebounce"):remove()
- end)
- end
- if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Stun") then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Stun"):remove()
- end)
- end
- if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Ragdoll") then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Ragdoll"):remove()
- end)
- end
- if Char then
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = Char.HumanoidRootPart.CFrame
- 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
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
- else
- local Event = game:GetService("ReplicatedStorage").Remotes.Input
- Event:FireServer({["input"] = Enum.UserInputType.MouseButton1, ["keycode"] = Enum.KeyCode.Unknown})
- end
- end
- else
- if game:GetService("Workspace").Goop:FindFirstChild("Infect") then
- local part = game:GetService("Workspace").Goop:GetChildren()[math.random(1, #game:GetService("Workspace").Goop:GetChildren())]
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame
- end
- end
- end)
- wait()
- if not AUTOFARM then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
- end)
- end
- end
- end)
- --# Auto Farm (HUMAN) #--
- T1_SECTION_1:CreateToggle("Auto Farm (Human)", function(state)
- AUTOFARM2 = state
- local Stepped
- Stepped = game:service'RunService'.RenderStepped:connect(function()
- if AUTOFARM2 == true then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
- end)
- end
- if AUTOFARM2 == false then
- Stepped:Disconnect()
- end
- end)
- while AUTOFARM2 do
- pcall(function()
- local function GetInfected()
- local _obj
- pcall(function()
- for _,v in pairs(game:service'Players':GetChildren()) do
- if v.Name ~= game:service'Players'.LocalPlayer.Name and v.Team ~= game:service'Teams'.Human then
- if v.Character and v.Character.Humanoid.Health > 0 then
- _obj = v.Character
- end
- end
- end
- end)
- return _obj
- end
- if game:service'Players'.LocalPlayer.Team == game:service'Teams'.Human and not game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected") then
- local Char = GetInfected()
- if Char then
- repeat
- pcall(function()
- local Char = GetInfected()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = Char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(-90), 0, 0) + Vector3.new(0, 4.5, 0)
- end)
- wait()
- pcall(function()
- for _,v in pairs(game:service'Players'.LocalPlayer.Character.Status:GetChildren()) do
- if v.Name:lower():match("debounce") then
- v:remove()
- end
- end
- if game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoMove") then
- game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("NoMove"):remove()
- end
- if game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle") then
- game:service'Players'.LocalPlayer.Character.Humanoid:EquipTool(game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle"))
- else
- fireclickdetector(game:GetService("Workspace")["Bottle Buy"].ClickDetector)
- end
- if game:service'Players'.LocalPlayer.Character and game:service'Players'.LocalPlayer.Character:FindFirstChild("Bottle") then
- local Event = game:GetService("ReplicatedStorage").Remotes.Input
- Event:FireServer({["input"] = Enum.UserInputType.MouseButton1, ["keycode"] = Enum.KeyCode.Unknown})
- else
- game:service'Players'.LocalPlayer.Character.Humanoid:EquipTool(game:service'Players'.LocalPlayer.Backpack:FindFirstChild("Bottle"))
- end
- if Char:FindFirstChild("Status") and Char.Status:FindFirstChild("Ragdoll") then
- Char.Status:FindFirstChild("Ragdoll"):remove()
- end
- end)
- until not Char or Char.Humanoid.Health <= 0 or not AUTOFARM2 or game:service'Players'.LocalPlayer.Character.Status:FindFirstChild("Infected")
- end
- else
- game:service'Players'.LocalPlayer.Character.Humanoid.Health = 0
- end
- end)
- wait()
- if not AUTOFARM2 then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = FRIENDZONE.CFrame + Vector3.new(0, 3, 0)
- end)
- end
- end
- end)
- --# Auto Escape #--
- T1_SECTION_1:CreateToggle("Auto Escape", function(state)
- AUTOESCAPE = state
- while AUTOESCAPE do
- pcall(function()
- local OldRoot = game:service'Players'.LocalPlayer.Character.HumanoidRootPart:Clone()
- if workspace:FindFirstChild("Music") and workspace:FindFirstChild("Music").SoundId == "rbxassetid://337599795" and workspace:FindFirstChild("Music").Playing == true then
- if workspace:FindFirstChild("GATE") then
- local part = workspace:FindFirstChild("GATE")
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = part.CFrame
- wait(.2)
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = OldRoot.CFrame + Vector3.new(0, 3, 0)
- end
- else
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = OldRoot.CFrame + Vector3.new(0, 3, 0)
- end
- end)
- wait()
- break
- end
- end)
- --# Hide Character #--
- T1_SECTION_2:CreateToggle("Hide Character", function(state)
- HIDECHAR = state
- while HIDECHAR do
- pcall(function()
- if game:service'Players'.LocalPlayer.Character:FindFirstChild("Shirt") or game:service'Players'.LocalPlayer.Character:FindFirstChild("Pants") then
- for i,v in pairs(game:service'Players'.LocalPlayer.Character:GetDescendants()) do
- if v.ClassName == "Accessory" or v.Name == "Shirt" or v.Name == "Pants" then
- v:remove()
- end
- end
- end
- end)
- wait(.5)
- end
- end)
- --# Tool No Cooldown #--
- T1_SECTION_2:CreateToggle("Tool No Cooldown", function(state)
- HIDECHAR = state
- while HIDECHAR do
- pcall(function()
- for _,v in pairs(game:service'Players'.LocalPlayer.Character.Status:GetChildren()) do
- if v.Name:lower():match("debounce") then
- v:remove()
- end
- end
- end)
- wait(.5)
- end
- end)
- --[[
- TAB: EXTRA
- DESCRIPTION: EXTRA FEATURE
- ]]--
- T100_SECTION_1:CreateButton("Suicide", function()
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Humanoid.Health = 0
- end)
- end)
- local _WS = tonumber(game:service'Players'.LocalPlayer.Character.Humanoid.WalkSpeed)
- local _JP = tonumber(game:service'Players'.LocalPlayer.Character.Humanoid.JumpPower)
- T100_SECTION_1:CreateSlider("WalkSpeed", 16, 400, _WS, false, function(value)
- _WS = tonumber(value)
- end)
- T100_SECTION_1:CreateButton("Set WalkSpeed", function()
- game:service'Players'.LocalPlayer.Character.Humanoid.WalkSpeed = _WS
- end)
- T100_SECTION_1:CreateSlider("JumpPower", 50, 400, _JP, false, function(value)
- _JP = tonumber(value)
- end)
- T100_SECTION_1:CreateButton("Set JumpPower", function()
- game:service'Players'.LocalPlayer.Character.Humanoid.JumpPower = _JP
- end)
- --/ NoClip \--
- T100_SECTION_2:CreateToggle("No Clip", function(state)
- NoClip = state
- local Stepped
- Stepped = game:service'RunService'.RenderStepped:connect(function()
- if NoClip == true then
- pcall(function()
- game:service'Players'.LocalPlayer.Character.Humanoid:ChangeState(11)
- end)
- end
- if NoClip == false then
- Stepped:Disconnect()
- end
- end)
- end)
- --/ Destroy Gui Button --
- T100_SECTION_2:CreateButton("Kill GUI", function()
- local function GetGuiName()
- local GUI
- pcall(function()
- for i,v in pairs(game:service'CoreGui':GetChildren()) do
- if (string.len(v.Name) >= 35) then
- GUI = v
- end
- end
- end)
- return tostring(GUI)
- end
- local _GUINAME = GetGuiName()
- if game:service'CoreGui':FindFirstChild(_GUINAME) then game:service'CoreGui':FindFirstChild(_GUINAME):remove() end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement