_G.Active = true _G.BearKills = false -- set this to "true" if you want it to farm kills _G.AntiBurnIn = true --[[set to false to disable the black screen wouldn't recommend since it prevents burn in]]-- cr = cloneref or function(hegoodtho) return hegoodtho end g = game LocalPlayer = cr(g.getService(g, 'Players').LocalPlayer) repeat task.wait() until LocalPlayer.Character RunService = cr(g.getService(g, 'RunService')) ReplicatedStorage = cr(g.getService(g, 'ReplicatedStorage')) VirtualUser = cr(g.getService(g, 'VirtualUser')) TeleportService = cr(g.getService(g, 'TeleportService')) HumanoidRootPart = LocalPlayer.Character:WaitForChild'HumanoidRootPart' if LocalPlayer.Team.Name ~= 'Waiting' then HumanoidRootPart.Parent.Humanoid.Health = 0 return end autofarm = RunService.RenderStepped:Connect(function() if _G.Active ~= false then if LocalPlayer.Team.Name ~= 'Bear' then HumanoidRootPart.CFrame = CFrame.new(418.967407, 52.897995, -17.8407974, 0.0233712438, 9.54281347e-08, 0.999726832, 3.64667896e-09, 1, -9.55394555e-08, -0.999726832, 5.87855897e-09, 0.0233712438) workspace.Lobby._Obby.Quidz.CFrame = CFrame.new(418.967407,52.897995 + math.sin(tick() * 4) * 1.5,-17.8407974,0.0233712438, 9.54281347e-08, 0.999726832,3.64667896e-09, 1, -9.55394555e-08,-0.999726832, 5.87855897e-09, 0.0233712438) elseif LocalPlayer.Team.Name == 'Bear' and _G.BearKills ~= false then for v, k in next, cr(g.getService(g, 'Players')):GetChildren() do if k:IsA'Player' and k.Name ~= LocalPlayer.Name and k.Character and k.Character.Humanoid.Health > 0 then k.Character.HumanoidRootPart.CFrame = HumanoidRootPart.CFrame end end end if _G.BearKills ~= true and LocalPlayer.Team.Name == 'Bear' then HumanoidRootPart.Parent.Humanoid.Health = 0 end elseif _G.Active ~= true then autofarm:Disconnect() autofarm = nil HumanoidRootPart.Parent.Humanoid.Health = 0 end end) if _G.BearKills ~= true then ReplicatedStorage._Remotes['RE/AFK_Toggle']:FireServer(false) end LocalPlayer:GetAttributeChangedSignal'AFK':Connect(function() if _G.BearKills ~= true and LocalPlayer:GetAttribute'AFK' ~= true then ReplicatedStorage._Remotes['RE/AFK_Toggle']:FireServer(false) end end) LocalPlayer.CharacterAdded:Connect(function(Character) HumanoidRootPart = Character:WaitForChild'HumanoidRootPart' end) LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) if _G.AntiBurnIn ~= false then Gui = Instance.new('ScreenGui', gethui and gethui() or cr(g.getService(g, 'CoreGui'))) Gui.Name = 'BlackScreen' Gui.ResetOnSpawn = false Gui.IgnoreGuiInset = true Gui.DisplayOrder = 999 Frame = Instance.new'(Frame', Gui) Frame.Size = UDim2.fromScale(1, 1) Frame.Position = UDim2.new() Frame.BackgroundColor3 = Color3.new(0, 0, 0) Frame.BorderSizePixel = 0 end