ComandoGame7

Horror elevador (Script work 100%)

Nov 7th, 2025
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 43.12 KB | Gaming | 0 0
  1. local CollectionScript = {}
  2.  
  3. -- Configurações
  4. CollectionScript.Config = {
  5.     WalkSpeed = 16,
  6.     JumpPower = 50,
  7.     AutoMoney = false,
  8.     AutoCollect = false,
  9.     AutoPullCoins = false,
  10.     GodMode = false,
  11.     SafeMode = false,
  12.     CollectionRadius = 3000,
  13.     -- Configurações Gráficos
  14.     NoFogEnabled = false,
  15.     NoShadowEnabled = false,
  16.     FullBrightEnabled = false,
  17.     RTXModeEnabled = false
  18. }
  19.  
  20. -- Variáveis
  21. CollectionScript.Connections = {}
  22. CollectionScript.Player = game:GetService("Players").LocalPlayer
  23. CollectionScript.SafePlatform = nil
  24. CollectionScript.Camera = workspace.CurrentCamera
  25. CollectionScript.Lighting = game:GetService("Lighting")
  26. CollectionScript.OriginalLighting = {
  27.     FogEnd = CollectionScript.Lighting.FogEnd,
  28.     FogStart = CollectionScript.Lighting.FogStart,
  29.     GlobalShadows = CollectionScript.Lighting.GlobalShadows,
  30.     Brightness = CollectionScript.Lighting.Brightness,
  31.     Ambient = CollectionScript.Lighting.Ambient,
  32.     OutdoorAmbient = CollectionScript.Lighting.OutdoorAmbient
  33. }
  34. CollectionScript.ColorCorrection = nil
  35. CollectionScript.Bloom = nil
  36. CollectionScript.CurrentPage = 1
  37. CollectionScript.Pages = {}
  38.  
  39. -- Função principal
  40. function CollectionScript:CreateGUI()
  41.     -- Cria a interface
  42.     local ScreenGui = Instance.new("ScreenGui")
  43.     ScreenGui.Name = "SimpleCollectionMenu"
  44.     ScreenGui.Parent = game.CoreGui
  45.     ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  46.  
  47.     -- Frame principal
  48.     local MainFrame = Instance.new("Frame")
  49.     MainFrame.Name = "MainFrame"
  50.     MainFrame.Size = UDim2.new(0, 240, 0, 300) -- Compactado
  51.     MainFrame.Position = UDim2.new(0.5, -120, 0.5, -150) -- Centralizado
  52.     MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 45)
  53.     MainFrame.BorderSizePixel = 0
  54.     MainFrame.Parent = ScreenGui
  55.    
  56.     local UICorner = Instance.new("UICorner")
  57.     UICorner.CornerRadius = UDim.new(0, 8)
  58.     UICorner.Parent = MainFrame
  59.    
  60.     local UIStroke = Instance.new("UIStroke")
  61.     UIStroke.Color = Color3.fromRGB(255, 50, 150)
  62.     UIStroke.Thickness = 2
  63.     UIStroke.Parent = MainFrame
  64.  
  65.     -- Cabeçalho arrastável
  66.     local Header = Instance.new("Frame")
  67.     Header.Name = "Header"
  68.     Header.Size = UDim2.new(1, 0, 0, 30)
  69.     Header.Position = UDim2.new(0, 0, 0, 0)
  70.     Header.BackgroundColor3 = Color3.fromRGB(255, 50, 150)
  71.     Header.BorderSizePixel = 0
  72.     Header.Active = true
  73.     Header.Parent = MainFrame
  74.    
  75.     local HeaderCorner = Instance.new("UICorner")
  76.     HeaderCorner.CornerRadius = UDim.new(0, 8)
  77.     HeaderCorner.Parent = Header
  78.  
  79.     -- Título
  80.     local Title = Instance.new("TextLabel")
  81.     Title.Name = "Title"
  82.     Title.Size = UDim2.new(0.5, 0, 1, 0)
  83.     Title.Position = UDim2.new(0.05, 0, 0, 0)
  84.     Title.BackgroundTransparency = 1
  85.     Title.Text = "MOD MENU"
  86.     Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  87.     Title.TextScaled = true
  88.     Title.Font = Enum.Font.GothamBold
  89.     Title.Parent = Header
  90.  
  91.     -- Botões de controle
  92.     local Controls = Instance.new("Frame")
  93.     Controls.Name = "Controls"
  94.     Controls.Size = UDim2.new(0.5, 0, 1, 0)
  95.     Controls.Position = UDim2.new(0.5, 0, 0, 0)
  96.     Controls.BackgroundTransparency = 1
  97.     Controls.Parent = Header
  98.  
  99.     -- Botão página anterior
  100.     local PrevPageButton = Instance.new("TextButton")
  101.     PrevPageButton.Name = "PrevPageButton"
  102.     PrevPageButton.Size = UDim2.new(0, 25, 0, 25)
  103.     PrevPageButton.Position = UDim2.new(0, 0, 0.5, -12.5)
  104.     PrevPageButton.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  105.     PrevPageButton.Text = "<"
  106.     PrevPageButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  107.     PrevPageButton.TextScaled = true
  108.     PrevPageButton.Font = Enum.Font.GothamBold
  109.     PrevPageButton.Parent = Controls
  110.    
  111.     local PrevPageCorner = Instance.new("UICorner")
  112.     PrevPageCorner.CornerRadius = UDim.new(0, 6)
  113.     PrevPageCorner.Parent = PrevPageButton
  114.  
  115.     -- Botão página seguinte
  116.     local NextPageButton = Instance.new("TextButton")
  117.     NextPageButton.Name = "NextPageButton"
  118.     NextPageButton.Size = UDim2.new(0, 25, 0, 25)
  119.     NextPageButton.Position = UDim2.new(0, 30, 0.5, -12.5)
  120.     NextPageButton.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  121.     NextPageButton.Text = ">"
  122.     NextPageButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  123.     NextPageButton.TextScaled = true
  124.     NextPageButton.Font = Enum.Font.GothamBold
  125.     NextPageButton.Parent = Controls
  126.    
  127.     local NextPageCorner = Instance.new("UICorner")
  128.     NextPageCorner.CornerRadius = UDim.new(0, 6)
  129.     NextPageCorner.Parent = NextPageButton
  130.  
  131.     -- Botão minimizar
  132.     local MinimizeButton = Instance.new("TextButton")
  133.     MinimizeButton.Name = "MinimizeButton"
  134.     MinimizeButton.Size = UDim2.new(0, 25, 0, 25)
  135.     MinimizeButton.Position = UDim2.new(0, 60, 0.5, -12.5)
  136.     MinimizeButton.BackgroundColor3 = Color3.fromRGB(255, 204, 0)
  137.     MinimizeButton.Text = "_"
  138.     MinimizeButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  139.     MinimizeButton.TextScaled = true
  140.     MinimizeButton.Font = Enum.Font.GothamBold
  141.     MinimizeButton.Parent = Controls
  142.    
  143.     local MinimizeCorner = Instance.new("UICorner")
  144.     MinimizeCorner.CornerRadius = UDim.new(0, 6)
  145.     MinimizeCorner.Parent = MinimizeButton
  146.  
  147.     -- Botão fechar
  148.     local CloseButton = Instance.new("TextButton")
  149.     CloseButton.Name = "CloseButton"
  150.     CloseButton.Size = UDim2.new(0, 25, 0, 25)
  151.     CloseButton.Position = UDim2.new(0, 90, 0.5, -12.5)
  152.     CloseButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  153.     CloseButton.Text = "X"
  154.     CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  155.     CloseButton.TextScaled = true
  156.     CloseButton.Font = Enum.Font.GothamBold
  157.     CloseButton.Parent = Controls
  158.    
  159.     local CloseCorner = Instance.new("UICorner")
  160.     CloseCorner.CornerRadius = UDim.new(0, 6)
  161.     CloseCorner.Parent = CloseButton
  162.  
  163.     -- Área de conteúdo
  164.     local ContentFrame = Instance.new("Frame")
  165.     ContentFrame.Name = "Content"
  166.     ContentFrame.Size = UDim2.new(1, -10, 1, -40)
  167.     ContentFrame.Position = UDim2.new(0, 5, 0, 35)
  168.     ContentFrame.BackgroundTransparency = 1
  169.     ContentFrame.Parent = MainFrame
  170.  
  171.     -- Criação das páginas
  172.     self.Pages = {
  173.         Page1 = Instance.new("Frame"),
  174.         Page2 = Instance.new("Frame"),
  175.         Page3 = Instance.new("Frame")
  176.     }
  177.  
  178.     for _, page in pairs(self.Pages) do
  179.         page.Size = UDim2.new(1, 0, 1, 0)
  180.         page.Position = UDim2.new(0, 0, 0, 0)
  181.         page.BackgroundTransparency = 1
  182.         page.Visible = false
  183.         page.Parent = ContentFrame
  184.         local Layout = Instance.new("UIListLayout")
  185.         Layout.Padding = UDim.new(0, 6)
  186.         Layout.Parent = page
  187.     end
  188.  
  189.     -- Página 1: Velocidade e Coleta
  190.     local Page1 = self.Pages.Page1
  191.     local MoveSection = self:CreateSection("VELOCIDADE", Color3.fromRGB(0, 200, 255), Page1)
  192.     MoveSection.Size = UDim2.new(1, 0, 0, 100)
  193.    
  194.     local SpeedLabel = Instance.new("TextLabel")
  195.     SpeedLabel.Size = UDim2.new(1, 0, 0, 20)
  196.     SpeedLabel.BackgroundTransparency = 1
  197.     SpeedLabel.Text = "Velocidade: " .. self.Config.WalkSpeed
  198.     SpeedLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  199.     SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left
  200.     SpeedLabel.Font = Enum.Font.Gotham
  201.     SpeedLabel.TextSize = 14
  202.     SpeedLabel.Parent = MoveSection
  203.  
  204.     local SpeedButton = Instance.new("TextButton")
  205.     SpeedButton.Size = UDim2.new(1, 0, 0, 28)
  206.     SpeedButton.Position = UDim2.new(0, 0, 0, 25)
  207.     SpeedButton.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  208.     SpeedButton.Text = "Aumentar Velocidade"
  209.     SpeedButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  210.     SpeedButton.TextSize = 14
  211.     SpeedButton.Font = Enum.Font.GothamBold
  212.     SpeedButton.Parent = MoveSection
  213.    
  214.     local SpeedCorner = Instance.new("UICorner")
  215.     SpeedCorner.CornerRadius = UDim.new(0, 6)
  216.     SpeedCorner.Parent = SpeedButton
  217.  
  218.     local JumpLabel = Instance.new("TextLabel")
  219.     JumpLabel.Size = UDim2.new(1, 0, 0, 20)
  220.     JumpLabel.Position = UDim2.new(0, 0, 0, 55)
  221.     JumpLabel.BackgroundTransparency = 1
  222.     JumpLabel.Text = "JumpPower: " .. self.Config.JumpPower
  223.     JumpLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  224.     JumpLabel.TextXAlignment = Enum.TextXAlignment.Left
  225.     JumpLabel.Font = Enum.Font.Gotham
  226.     JumpLabel.TextSize = 14
  227.     JumpLabel.Parent = MoveSection
  228.  
  229.     local JumpButton = Instance.new("TextButton")
  230.     JumpButton.Size = UDim2.new(1, 0, 0, 28)
  231.     JumpButton.Position = UDim2.new(0, 0, 0, 80)
  232.     JumpButton.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  233.     JumpButton.Text = "Aumentar JumpPower"
  234.     JumpButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  235.     JumpButton.TextSize = 14
  236.     JumpButton.Font = Enum.Font.GothamBold
  237.     JumpButton.Parent = MoveSection
  238.    
  239.     local JumpCorner = Instance.new("UICorner")
  240.     JumpCorner.CornerRadius = UDim.new(0, 6)
  241.     JumpCorner.Parent = JumpButton
  242.  
  243.     local CollectSection = self:CreateSection("COLETA", Color3.fromRGB(255, 100, 0), Page1)
  244.     CollectSection.Size = UDim2.new(1, 0, 0, 130)
  245.    
  246.     local CollectButton = Instance.new("TextButton")
  247.     CollectButton.Size = UDim2.new(1, 0, 0, 32)
  248.     CollectButton.Position = UDim2.new(0, 0, 0, 25)
  249.     CollectButton.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
  250.     CollectButton.Text = "COLETAR TUDO"
  251.     CollectButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  252.     CollectButton.TextSize = 15
  253.     CollectButton.Font = Enum.Font.GothamBold
  254.     CollectButton.Parent = CollectSection
  255.    
  256.     local CollectCorner = Instance.new("UICorner")
  257.     CollectCorner.CornerRadius = UDim.new(0, 6)
  258.     CollectCorner.Parent = CollectButton
  259.    
  260.     local TeleportItemsButton = Instance.new("TextButton")
  261.     TeleportItemsButton.Size = UDim2.new(1, 0, 0, 32)
  262.     TeleportItemsButton.Position = UDim2.new(0, 0, 0, 60)
  263.     TeleportItemsButton.BackgroundColor3 = Color3.fromRGB(255, 200, 0)
  264.     TeleportItemsButton.Text = "TELEPORTAR ITENS PRA MIM"
  265.     TeleportItemsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  266.     TeleportItemsButton.TextSize = 15
  267.     TeleportItemsButton.Font = Enum.Font.GothamBold
  268.     TeleportItemsButton.Parent = CollectSection
  269.    
  270.     local TeleportItemsCorner = Instance.new("UICorner")
  271.     TeleportItemsCorner.CornerRadius = UDim.new(0, 6)
  272.     TeleportItemsCorner.Parent = TeleportItemsButton
  273.    
  274.     local AutoPullCoinsButton = Instance.new("TextButton")
  275.     AutoPullCoinsButton.Size = UDim2.new(1, 0, 0, 32)
  276.     AutoPullCoinsButton.Position = UDim2.new(0, 0, 0, 95)
  277.     AutoPullCoinsButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  278.     AutoPullCoinsButton.Text = "Auto-Pull Coins: DESLIGADO"
  279.     AutoPullCoinsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  280.     AutoPullCoinsButton.TextSize = 14
  281.     AutoPullCoinsButton.Font = Enum.Font.Gotham
  282.     AutoPullCoinsButton.Parent = CollectSection
  283.    
  284.     local AutoPullCoinsCorner = Instance.new("UICorner")
  285.     AutoPullCoinsCorner.CornerRadius = UDim.new(0, 6)
  286.     AutoPullCoinsCorner.Parent = AutoPullCoinsButton
  287.  
  288.     -- Página 2: Automação e Proteção
  289.     local Page2 = self.Pages.Page2
  290.     local AutoSection = self:CreateSection("AUTOMAÇÃO", Color3.fromRGB(0, 255, 150), Page2)
  291.     AutoSection.Size = UDim2.new(1, 0, 0, 100)
  292.    
  293.     local AutoMoneyButton = Instance.new("TextButton")
  294.     AutoMoneyButton.Size = UDim2.new(1, 0, 0, 28)
  295.     AutoMoneyButton.Position = UDim2.new(0, 0, 0, 25)
  296.     AutoMoneyButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  297.     AutoMoneyButton.Text = "Auto-Money: DESLIGADO"
  298.     AutoMoneyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  299.     AutoMoneyButton.TextSize = 14
  300.     AutoMoneyButton.Font = Enum.Font.Gotham
  301.     AutoMoneyButton.Parent = AutoSection
  302.    
  303.     local AutoMoneyCorner = Instance.new("UICorner")
  304.     AutoMoneyCorner.CornerRadius = UDim.new(0, 6)
  305.     AutoMoneyCorner.Parent = AutoMoneyButton
  306.  
  307.     local AutoCollectButton = Instance.new("TextButton")
  308.     AutoCollectButton.Size = UDim2.new(1, 0, 0, 28)
  309.     AutoCollectButton.Position = UDim2.new(0, 0, 0, 55)
  310.     AutoCollectButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  311.     AutoCollectButton.Text = "Coleta Auto: DESLIGADO"
  312.     AutoCollectButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  313.     AutoCollectButton.TextSize = 14
  314.     AutoCollectButton.Font = Enum.Font.Gotham
  315.     AutoCollectButton.Parent = AutoSection
  316.    
  317.     local AutoCollectCorner = Instance.new("UICorner")
  318.     AutoCollectCorner.CornerRadius = UDim.new(0, 6)
  319.     AutoCollectCorner.Parent = AutoCollectButton
  320.  
  321.     local StatusLabel = Instance.new("TextLabel")
  322.     StatusLabel.Size = UDim2.new(1, 0, 0, 20)
  323.     StatusLabel.Position = UDim2.new(0, 0, 0, 85)
  324.     StatusLabel.BackgroundTransparency = 1
  325.     StatusLabel.Text = "Status: Pronto"
  326.     StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  327.     StatusLabel.TextSize = 12
  328.     StatusLabel.Font = Enum.Font.Gotham
  329.     StatusLabel.Parent = AutoSection
  330.  
  331.     local ProtectSection = self:CreateSection("PROTEÇÃO", Color3.fromRGB(150, 0, 255), Page2)
  332.     ProtectSection.Size = UDim2.new(1, 0, 0, 100)
  333.    
  334.     local GodModeButton = Instance.new("TextButton")
  335.     GodModeButton.Size = UDim2.new(1, 0, 0, 28)
  336.     GodModeButton.Position = UDim2.new(0, 0, 0, 25)
  337.     GodModeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  338.     GodModeButton.Text = "God-Mode: DESLIGADO"
  339.     GodModeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  340.     GodModeButton.TextSize = 14
  341.     GodModeButton.Font = Enum.Font.Gotham
  342.     GodModeButton.Parent = ProtectSection
  343.    
  344.     local GodModeCorner = Instance.new("UICorner")
  345.     GodModeCorner.CornerRadius = UDim.new(0, 6)
  346.     GodModeCorner.Parent = GodModeButton
  347.  
  348.     local SafeModeButton = Instance.new("TextButton")
  349.     SafeModeButton.Size = UDim2.new(1, 0, 0, 28)
  350.     SafeModeButton.Position = UDim2.new(0, 0, 0, 55)
  351.     SafeModeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  352.     SafeModeButton.Text = "Safe Mode: DESLIGADO"
  353.     SafeModeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  354.     SafeModeButton.TextSize = 14
  355.     SafeModeButton.Font = Enum.Font.Gotham
  356.     SafeModeButton.Parent = ProtectSection
  357.    
  358.     local SafeModeCorner = Instance.new("UICorner")
  359.     SafeModeCorner.CornerRadius = UDim.new(0, 6)
  360.     SafeModeCorner.Parent = SafeModeButton
  361.  
  362.     -- Página 3: Gráficos
  363.     local Page3 = self.Pages.Page3
  364.     local GraphicsSection = self:CreateSection("GRÁFICOS", Color3.fromRGB(0, 255, 255), Page3)
  365.     GraphicsSection.Size = UDim2.new(1, 0, 0, 130)
  366.    
  367.     local NoFogButton = Instance.new("TextButton")
  368.     NoFogButton.Size = UDim2.new(1, 0, 0, 32)
  369.     NoFogButton.Position = UDim2.new(0, 0, 0, 25)
  370.     NoFogButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  371.     NoFogButton.Text = "No Fog: DESLIGADO"
  372.     NoFogButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  373.     NoFogButton.TextSize = 14
  374.     NoFogButton.Font = Enum.Font.Gotham
  375.     NoFogButton.Parent = GraphicsSection
  376.    
  377.     local NoFogCorner = Instance.new("UICorner")
  378.     NoFogCorner.CornerRadius = UDim.new(0, 6)
  379.     NoFogCorner.Parent = NoFogButton
  380.  
  381.     local NoShadowButton = Instance.new("TextButton")
  382.     NoShadowButton.Size = UDim2.new(1, 0, 0, 32)
  383.     NoShadowButton.Position = UDim2.new(0, 0, 0, 60)
  384.     NoShadowButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  385.     NoShadowButton.Text = "No Shadow: DESLIGADO"
  386.     NoShadowButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  387.     NoShadowButton.TextSize = 14
  388.     NoShadowButton.Font = Enum.Font.Gotham
  389.     NoShadowButton.Parent = GraphicsSection
  390.    
  391.     local NoShadowCorner = Instance.new("UICorner")
  392.     NoShadowCorner.CornerRadius = UDim.new(0, 6)
  393.     NoShadowCorner.Parent = NoShadowButton
  394.  
  395.     local FullBrightButton = Instance.new("TextButton")
  396.     FullBrightButton.Size = UDim2.new(1, 0, 0, 32)
  397.     FullBrightButton.Position = UDim2.new(0, 0, 0, 95)
  398.     FullBrightButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  399.     FullBrightButton.Text = "Full Bright: DESLIGADO"
  400.     FullBrightButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  401.     FullBrightButton.TextSize = 14
  402.     FullBrightButton.Font = Enum.Font.Gotham
  403.     FullBrightButton.Parent = GraphicsSection
  404.    
  405.     local FullBrightCorner = Instance.new("UICorner")
  406.     FullBrightCorner.CornerRadius = UDim.new(0, 6)
  407.     FullBrightCorner.Parent = FullBrightButton
  408.  
  409.     local RTXButton = Instance.new("TextButton")
  410.     RTXButton.Size = UDim2.new(1, 0, 0, 32)
  411.     RTXButton.Position = UDim2.new(0, 0, 0, 130)
  412.     RTXButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  413.     RTXButton.Text = "RTX Mode: DESLIGADO"
  414.     RTXButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  415.     RTXButton.TextSize = 14
  416.     RTXButton.Font = Enum.Font.Gotham
  417.     RTXButton.Parent = GraphicsSection
  418.    
  419.     local RTXCorner = Instance.new("UICorner")
  420.     RTXCorner.CornerRadius = UDim.new(0, 6)
  421.     RTXCorner.Parent = RTXButton
  422.  
  423.     -- Armazena referências
  424.     self.GUI = ScreenGui
  425.     self.MainFrame = MainFrame
  426.     self.StatusLabel = StatusLabel
  427.     self.SpeedButton = SpeedButton
  428.     self.SpeedLabel = SpeedLabel
  429.     self.JumpButton = JumpButton
  430.     self.JumpLabel = JumpLabel
  431.     self.CollectButton = CollectButton
  432.     self.TeleportItemsButton = TeleportItemsButton
  433.     self.AutoPullCoinsButton = AutoPullCoinsButton
  434.     self.AutoMoneyButton = AutoMoneyButton
  435.     self.AutoCollectButton = AutoCollectButton
  436.     self.GodModeButton = GodModeButton
  437.     self.SafeModeButton = SafeModeButton
  438.     self.NoFogButton = NoFogButton
  439.     self.NoShadowButton = NoShadowButton
  440.     self.FullBrightButton = FullBrightButton
  441.     self.RTXButton = RTXButton
  442.     self.PrevPageButton = PrevPageButton
  443.     self.NextPageButton = NextPageButton
  444.  
  445.     -- Inicializa a primeira página
  446.     self:ShowPage(1)
  447.  
  448.     -- Configura funcionalidades
  449.     self:SetupFunctionality()
  450.    
  451.     return ScreenGui
  452. end
  453.  
  454. -- Função para criar seções
  455. function CollectionScript:CreateSection(title, color, parent)
  456.     local Section = Instance.new("Frame")
  457.     Section.Size = UDim2.new(1, 0, 0, 100)
  458.     Section.BackgroundColor3 = Color3.fromRGB(35, 35, 55)
  459.     Section.BackgroundTransparency = 0.1
  460.     Section.Parent = parent
  461.    
  462.     local SectionCorner = Instance.new("UICorner")
  463.     SectionCorner.CornerRadius = UDim.new(0, 6)
  464.     SectionCorner.Parent = Section
  465.    
  466.     local SectionStroke = Instance.new("UIStroke")
  467.     SectionStroke.Color = color
  468.     SectionStroke.Thickness = 1
  469.     SectionStroke.Parent = Section
  470.  
  471.     local SectionTitle = Instance.new("TextLabel")
  472.     SectionTitle.Size = UDim2.new(1, -10, 0, 20)
  473.     SectionTitle.Position = UDim2.new(0, 5, 0, 2)
  474.     SectionTitle.BackgroundTransparency = 1
  475.     SectionTitle.Text = title
  476.     SectionTitle.TextColor3 = color
  477.     SectionTitle.TextSize = 16
  478.     SectionTitle.Font = Enum.Font.GothamBold
  479.     SectionTitle.Parent = Section
  480.  
  481.     return Section
  482. end
  483.  
  484. -- Função para alternar páginas
  485. function CollectionScript:ShowPage(pageNumber)
  486.     self.CurrentPage = math.clamp(pageNumber, 1, 3)
  487.     for i, page in pairs(self.Pages) do
  488.         page.Visible = (i == "Page" .. self.CurrentPage)
  489.     end
  490.     self.PrevPageButton.Visible = self.CurrentPage > 1
  491.     self.NextPageButton.Visible = self.CurrentPage < 3
  492. end
  493.  
  494. -- Configura funcionalidades
  495. function CollectionScript:SetupFunctionality()
  496.     local UserInputService = game:GetService("UserInputService")
  497.    
  498.     -- SISTEMA DE ARRASTE
  499.     local dragging = false
  500.     local dragStart, startPos
  501.  
  502.     self.MainFrame.Header.InputBegan:Connect(function(input)
  503.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  504.             dragging = true
  505.             dragStart = input.Position
  506.             startPos = self.MainFrame.Position
  507.         end
  508.     end)
  509.  
  510.     UserInputService.InputChanged:Connect(function(input)
  511.         if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  512.             local delta = input.Position - dragStart
  513.             self.MainFrame.Position = UDim2.new(
  514.                 startPos.X.Scale,
  515.                 startPos.X.Offset + delta.X,
  516.                 startPos.Y.Scale,
  517.                 startPos.Y.Offset + delta.Y
  518.             )
  519.         end
  520.     end)
  521.  
  522.     UserInputService.InputEnded:Connect(function(input)
  523.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  524.             dragging = false
  525.         end
  526.     end)
  527.  
  528.     -- BOTÃO MINIMIZAR
  529.     self.MainFrame.Header.Controls.MinimizeButton.MouseButton1Click:Connect(function()
  530.         if self.MainFrame.Size.Y.Offset == 30 then
  531.             self.MainFrame.Size = UDim2.new(0, 240, 0, 300)
  532.             self.MainFrame.Content.Visible = true
  533.         else
  534.             self.MainFrame.Size = UDim2.new(0, 240, 0, 30)
  535.             self.MainFrame.Content.Visible = false
  536.         end
  537.     end)
  538.  
  539.     -- BOTÃO FECHAR
  540.     self.MainFrame.Header.Controls.CloseButton.MouseButton1Click:Connect(function()
  541.         self:StopAll()
  542.         self.GUI:Destroy()
  543.     end)
  544.  
  545.     -- BOTÕES DE NAVEGAÇÃO DE PÁGINAS
  546.     self.PrevPageButton.MouseButton1Click:Connect(function()
  547.         self:ShowPage(self.CurrentPage - 1)
  548.     end)
  549.  
  550.     self.NextPageButton.MouseButton1Click:Connect(function()
  551.         self:ShowPage(self.CurrentPage + 1)
  552.     end)
  553.  
  554.     -- CONTROLE DE VELOCIDADE
  555.     self.SpeedButton.MouseButton1Click:Connect(function()
  556.         if self.Config.WalkSpeed >= 100 then
  557.             self.Config.WalkSpeed = 16
  558.         else
  559.             self.Config.WalkSpeed = self.Config.WalkSpeed + 16
  560.         end
  561.         self.SpeedLabel.Text = "Velocidade: " .. self.Config.WalkSpeed
  562.         self:UpdateCharacterMovement()
  563.     end)
  564.  
  565.     -- CONTROLE DE JUMPPOWER
  566.     self.JumpButton.MouseButton1Click:Connect(function()
  567.         local jumpValues = {50, 75, 100, 125, 150}
  568.         local currentIndex = 1
  569.         for i, value in ipairs(jumpValues) do
  570.             if self.Config.JumpPower == value then
  571.                 currentIndex = i
  572.                 break
  573.             end
  574.         end
  575.         local nextIndex = currentIndex % #jumpValues + 1
  576.         self.Config.JumpPower = jumpValues[nextIndex]
  577.         self.JumpLabel.Text = "JumpPower: " .. self.Config.JumpPower
  578.         self:UpdateCharacterMovement()
  579.     end)
  580.  
  581.     -- BOTÃO COLETAR TUDO
  582.     self.CollectButton.MouseButton1Click:Connect(function()
  583.         self:CollectEverything()
  584.     end)
  585.    
  586.     -- BOTÃO TELEPORTAR ITENS
  587.     self.TeleportItemsButton.MouseButton1Click:Connect(function()
  588.         self:TeleportItemsToMe()
  589.     end)
  590.  
  591.     -- TOGGLE AUTO-PULL COINS
  592.     self.AutoPullCoinsButton.MouseButton1Click:Connect(function()
  593.         self.Config.AutoPullCoins = not self.Config.AutoPullCoins
  594.         if self.Config.AutoPullCoins then
  595.             self.AutoPullCoinsButton.BackgroundColor3 = Color3.fromRGB(255, 200, 0)
  596.             self.AutoPullCoinsButton.Text = "Auto-Pull Coins: LIGADO"
  597.             self:StartAutoPullCoins()
  598.         else
  599.             self.AutoPullCoinsButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  600.             self.AutoPullCoinsButton.Text = "Auto-Pull Coins: DESLIGADO"
  601.             self:StopAutoPullCoins()
  602.         end
  603.     end)
  604.  
  605.     -- TOGGLE AUTO-MONEY
  606.     self.AutoMoneyButton.MouseButton1Click:Connect(function()
  607.         self.Config.AutoMoney = not self.Config.AutoMoney
  608.         if self.Config.AutoMoney then
  609.             self.AutoMoneyButton.BackgroundColor3 = Color3.fromRGB(0, 255, 150)
  610.             self.AutoMoneyButton.Text = "Auto-Money: LIGADO"
  611.             self:StartAutoMoney()
  612.         else
  613.             self.AutoMoneyButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  614.             self.AutoMoneyButton.Text = "Auto-Money: DESLIGADO"
  615.             self:StopAutoMoney()
  616.         end
  617.     end)
  618.  
  619.     -- TOGGLE COLETA AUTO
  620.     self.AutoCollectButton.MouseButton1Click:Connect(function()
  621.         self.Config.AutoCollect = not self.Config.AutoCollect
  622.         if self.Config.AutoCollect then
  623.             self.AutoCollectButton.BackgroundColor3 = Color3.fromRGB(255, 150, 0)
  624.             self.AutoCollectButton.Text = "Coleta Auto: LIGADO"
  625.             self:StartAutoCollect()
  626.         else
  627.             self.AutoCollectButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  628.             self.AutoCollectButton.Text = "Coleta Auto: DESLIGADO"
  629.             self:StopAutoCollect()
  630.         end
  631.     end)
  632.    
  633.     -- TOGGLE GOD-MODE
  634.     self.GodModeButton.MouseButton1Click:Connect(function()
  635.         self.Config.GodMode = not self.Config.GodMode
  636.         if self.Config.GodMode then
  637.             self.GodModeButton.BackgroundColor3 = Color3.fromRGB(150, 0, 255)
  638.             self.GodModeButton.Text = "God-Mode: LIGADO"
  639.             self:StartGodMode()
  640.         else
  641.             self.GodModeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  642.             self.GodModeButton.Text = "God-Mode: DESLIGADO"
  643.             self:StopGodMode()
  644.         end
  645.     end)
  646.    
  647.     -- TOGGLE SAFE MODE (Corrigido para teleportar imediatamente)
  648.     self.SafeModeButton.MouseButton1Click:Connect(function()
  649.         self.Config.SafeMode = not self.Config.SafeMode
  650.         if self.Config.SafeMode then
  651.             self.SafeModeButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
  652.             self.SafeModeButton.Text = "Safe Mode: LIGADO"
  653.             self:TeleportToSafe() -- Teleporta imediatamente ao ativar
  654.             self.StatusLabel.Text = "Status: Teleportado para Safe Platform"
  655.             self.StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  656.             wait(2)
  657.             self.StatusLabel.Text = "Status: Pronto"
  658.             self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  659.         else
  660.             self.SafeModeButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  661.             self.SafeModeButton.Text = "Safe Mode: DESLIGADO"
  662.             if self.SafePlatform then
  663.                 self.SafePlatform:Destroy()
  664.                 self.SafePlatform = nil
  665.             end
  666.             self.StatusLabel.Text = "Status: Safe Mode Desativado"
  667.             self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  668.             wait(2)
  669.             self.StatusLabel.Text = "Status: Pronto"
  670.             self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  671.         end
  672.     end)
  673.  
  674.     -- TOGGLES GRÁFICOS
  675.     self.NoFogButton.MouseButton1Click:Connect(function()
  676.         self.Config.NoFogEnabled = not self.Config.NoFogEnabled
  677.         if self.Config.NoFogEnabled then
  678.             self.NoFogButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  679.             self.NoFogButton.Text = "No Fog: LIGADO"
  680.             self.Lighting.FogEnd = 1000000
  681.             self.Lighting.FogStart = 0
  682.         else
  683.             self.NoFogButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  684.             self.NoFogButton.Text = "No Fog: DESLIGADO"
  685.             self.Lighting.FogEnd = self.OriginalLighting.FogEnd
  686.             self.Lighting.FogStart = self.OriginalLighting.FogStart
  687.         end
  688.     end)
  689.  
  690.     self.NoShadowButton.MouseButton1Click:Connect(function()
  691.         self.Config.NoShadowEnabled = not self.Config.NoShadowEnabled
  692.         if self.Config.NoShadowEnabled then
  693.             self.NoShadowButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  694.             self.NoShadowButton.Text = "No Shadow: LIGADO"
  695.             self.Lighting.GlobalShadows = false
  696.         else
  697.             self.NoShadowButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  698.             self.NoShadowButton.Text = "No Shadow: DESLIGADO"
  699.             self.Lighting.GlobalShadows = self.OriginalLighting.GlobalShadows
  700.         end
  701.     end)
  702.  
  703.     self.FullBrightButton.MouseButton1Click:Connect(function()
  704.         self.Config.FullBrightEnabled = not self.Config.FullBrightEnabled
  705.         if self.Config.FullBrightEnabled then
  706.             self.FullBrightButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  707.             self.FullBrightButton.Text = "Full Bright: LIGADO"
  708.             self.Lighting.Brightness = 3
  709.             self.Lighting.Ambient = Color3.fromRGB(255, 255, 255)
  710.             self.Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
  711.         else
  712.             self.FullBrightButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  713.             self.FullBrightButton.Text = "Full Bright: DESLIGADO"
  714.             self.Lighting.Brightness = self.OriginalLighting.Brightness
  715.             self.Lighting.Ambient = self.OriginalLighting.Ambient
  716.             self.Lighting.OutdoorAmbient = self.OriginalLighting.OutdoorAmbient
  717.         end
  718.     end)
  719.  
  720.     self.RTXButton.MouseButton1Click:Connect(function()
  721.         self.Config.RTXModeEnabled = not self.Config.RTXModeEnabled
  722.         if self.Config.RTXModeEnabled then
  723.             self.RTXButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  724.             self.RTXButton.Text = "RTX Mode: LIGADO"
  725.             self.Lighting.Brightness = 2
  726.             self.Lighting.GlobalShadows = true
  727.             if not self.ColorCorrection then
  728.                 self.ColorCorrection = Instance.new("ColorCorrectionEffect")
  729.                 self.ColorCorrection.Parent = self.Lighting
  730.             end
  731.             self.ColorCorrection.Saturation = 0.5
  732.             self.ColorCorrection.Contrast = 0.2
  733.             if not self.Bloom then
  734.                 self.Bloom = Instance.new("BloomEffect")
  735.                 self.Bloom.Parent = self.Lighting
  736.             end
  737.             self.Bloom.Intensity = 0.5
  738.             self.Bloom.Size = 24
  739.             self.Bloom.Threshold = 0.8
  740.         else
  741.             self.RTXButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  742.             self.RTXButton.Text = "RTX Mode: DESLIGADO"
  743.             self.Lighting.Brightness = self.OriginalLighting.Brightness
  744.             self.Lighting.GlobalShadows = self.OriginalLighting.GlobalShadows
  745.             if self.ColorCorrection then
  746.                 self.ColorCorrection:Destroy()
  747.                 self.ColorCorrection = nil
  748.             end
  749.             if self.Bloom then
  750.                 self.Bloom:Destroy()
  751.                 self.Bloom = nil
  752.             end
  753.         end
  754.     end)
  755.  
  756.     -- Inicializa personagem
  757.     self.Character = self.Player.Character
  758.     if self.Character then
  759.         self:UpdateCharacterMovement()
  760.         if self.Config.GodMode then
  761.             self:StartGodMode()
  762.         end
  763.         if self.Config.SafeMode then
  764.             self:TeleportToSafe()
  765.         end
  766.     end
  767.    
  768.     self.Player.CharacterAdded:Connect(function(char)
  769.         self.Character = char
  770.         wait(1)
  771.         self:UpdateCharacterMovement()
  772.         if self.Config.GodMode then
  773.             self:StartGodMode()
  774.         end
  775.         if self.Config.SafeMode then
  776.             self:TeleportToSafe()
  777.         end
  778.     end)
  779. end
  780.  
  781. -- Atualiza movimento do personagem
  782. function CollectionScript:UpdateCharacterMovement()
  783.     if self.Character then
  784.         local humanoid = self.Character:FindFirstChildOfClass("Humanoid")
  785.         if humanoid then
  786.             humanoid.WalkSpeed = self.Config.WalkSpeed
  787.             humanoid.JumpPower = self.Config.JumpPower
  788.         end
  789.     end
  790. end
  791.  
  792. -- Encontra objetos coletáveis
  793. function CollectionScript:FindCollectibles()
  794.     local collectibles = {}
  795.    
  796.     for _, obj in pairs(workspace:GetDescendants()) do
  797.         if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj:FindFirstChild("TouchInterest") then
  798.             local name = string.lower(obj.Name)
  799.             if string.find(name, "moneda") or string.find(name, "coin") or
  800.                string.find(name, "money") or string.find(name, "gem") or
  801.                string.find(name, "diamond") then
  802.                 table.insert(collectibles, obj)
  803.             end
  804.         end
  805.     end
  806.    
  807.     return collectibles
  808. end
  809.  
  810. -- Encontra apenas moedas
  811. function CollectionScript:FindCoins()
  812.     local coins = {}
  813.    
  814.     for _, obj in pairs(workspace:GetDescendants()) do
  815.         if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Parent and obj:FindFirstChild("TouchInterest") then
  816.             local name = string.lower(obj.Name)
  817.             if string.find(name, "moneda") or string.find(name, "coin") or
  818.                string.find(name, "money") then
  819.                 table.insert(coins, obj)
  820.             end
  821.         end
  822.     end
  823.    
  824.     return coins
  825. end
  826.  
  827. -- Teleporta para objetos
  828. function CollectionScript:TeleportToObject(obj)
  829.     if not self.Character or not self.Character:FindFirstChild("HumanoidRootPart") or not obj.Parent then
  830.         return false
  831.     end
  832.    
  833.     local hrp = self.Character.HumanoidRootPart
  834.     hrp.CFrame = CFrame.new(obj.Position + Vector3.new(0, 3, 0))
  835.    
  836.     if firetouchinterest then
  837.         firetouchinterest(hrp, obj, 0)
  838.         wait(0.01)
  839.         firetouchinterest(hrp, obj, 1)
  840.     end
  841.    
  842.     wait(0.05)
  843.     return true
  844. end
  845.  
  846. -- Move objeto para o jogador
  847. function CollectionScript:MoveToPlayer(obj)
  848.     if not self.Character or not self.Character:FindFirstChild("HumanoidRootPart") or not obj.Parent then
  849.         return false
  850.     end
  851.    
  852.     local hrp = self.Character.HumanoidRootPart
  853.     obj.CFrame = hrp.CFrame + Vector3.new(math.random(-2,2), math.random(1,3), math.random(-2,2))
  854.    
  855.     if firetouchinterest then
  856.         firetouchinterest(hrp, obj, 0)
  857.         wait(0.01)
  858.         firetouchinterest(hrp, obj, 1)
  859.     end
  860.    
  861.     wait(0.05)
  862.     return true
  863. end
  864.  
  865. -- Coleta tudo
  866. function CollectionScript:CollectEverything()
  867.     local success, err = pcall(function()
  868.         self.StatusLabel.Text = "Status: Coletando..."
  869.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  870.        
  871.         local collectibles = self:FindCollectibles()
  872.         local collected = 0
  873.        
  874.         for _, obj in pairs(collectibles) do
  875.             if self:TeleportToObject(obj) then
  876.                 collected = collected + 1
  877.             end
  878.             wait(0.05)
  879.         end
  880.        
  881.         self.StatusLabel.Text = "Status: Coletados " .. collected .. " objetos"
  882.         self.StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  883.        
  884.         if self.Config.SafeMode then
  885.             self:TeleportToSafe()
  886.         end
  887.        
  888.         wait(2)
  889.         self.StatusLabel.Text = "Status: Pronto"
  890.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  891.     end)
  892.    
  893.     if not success then
  894.         self.StatusLabel.Text = "Status: Erro na coleta"
  895.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  896.         warn("Erro ao coletar: " .. err)
  897.         wait(2)
  898.         self.StatusLabel.Text = "Status: Pronto"
  899.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  900.     end
  901. end
  902.  
  903. -- Teleporta itens para o jogador
  904. function CollectionScript:TeleportItemsToMe()
  905.     local success, err = pcall(function()
  906.         self.StatusLabel.Text = "Status: Teleportando itens..."
  907.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  908.        
  909.         local items = self:FindCollectibles()
  910.         local collected = 0
  911.        
  912.         for _, obj in pairs(items) do
  913.             if self:MoveToPlayer(obj) then
  914.                 collected = collected + 1
  915.             end
  916.             wait(0.05)
  917.         end
  918.        
  919.         self.StatusLabel.Text = "Status: Teleportados " .. collected .. " itens"
  920.         self.StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  921.        
  922.         if self.Config.SafeMode then
  923.             self:TeleportToSafe()
  924.         end
  925.        
  926.         wait(2)
  927.         self.StatusLabel.Text = "Status: Pronto"
  928.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  929.     end)
  930.    
  931.     if not success then
  932.         self.StatusLabel.Text = "Status: Erro no teleporte"
  933.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  934.         warn("Erro ao teleportar itens: " .. err)
  935.         wait(2)
  936.         self.StatusLabel.Text = "Status: Pronto"
  937.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  938.     end
  939. end
  940.  
  941. -- Auto-Pull Coins (Corrigido para puxar todas as moedas continuamente)
  942. function CollectionScript:StartAutoPullCoins()
  943.     self:StopAutoPullCoins() -- Garante que não há conexões duplicadas
  944.    
  945.     self.AutoPullCoinsConnection = game:GetService("RunService").Heartbeat:Connect(function()
  946.         if not self.Config.AutoPullCoins or not self.Character or not self.Character:FindFirstChild("HumanoidRootPart") then
  947.             return
  948.         end
  949.        
  950.         local coins = self:FindCoins()
  951.         if #coins == 0 then
  952.             self.StatusLabel.Text = "Status: Aguardando moedas..."
  953.             self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  954.             return
  955.         end
  956.        
  957.         self.StatusLabel.Text = "Status: Puxando moedas..."
  958.         self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 0)
  959.        
  960.         for _, obj in pairs(coins) do
  961.             if not self.Config.AutoPullCoins then break end
  962.             if obj.Parent then -- Verifica se a moeda ainda existe
  963.                 self:MoveToPlayer(obj)
  964.             end
  965.             wait(0.05) -- Pequeno atraso para evitar sobrecarga
  966.         end
  967.        
  968.         if #coins > 0 then
  969.             self.StatusLabel.Text = "Status: Moedas coletadas!"
  970.             self.StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  971.         end
  972.        
  973.         if self.Config.SafeMode then
  974.             self:TeleportToSafe()
  975.         end
  976.     end)
  977. end
  978.  
  979. function CollectionScript:StopAutoPullCoins()
  980.     if self.AutoPullCoinsConnection then
  981.         self.AutoPullCoinsConnection:Disconnect()
  982.         self.AutoPullCoinsConnection = nil
  983.     end
  984.     self.StatusLabel.Text = "Status: Pronto"
  985.     self.StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  986. end
  987.  
  988. -- Auto-Money
  989. function CollectionScript:StartAutoMoney()
  990.     self:StopAutoMoney()
  991.    
  992.     self.AutoMoneyConnection = game:GetService("RunService").Heartbeat:Connect(function()
  993.         if not self.Config.AutoMoney then return end
  994.        
  995.         local collectibles = self:FindCollectibles()
  996.        
  997.         for _, obj in pairs(collectibles) do
  998.             if not self.Config.AutoMoney then break end
  999.             local name = string.lower(obj.Name)
  1000.             if string.find(name, "moneda") or string.find(name, "coin") or string.find(name, "money") then
  1001.                 self:TeleportToObject(obj)
  1002.                 wait(0.2)
  1003.             end
  1004.         end
  1005.        
  1006.         if self.Config.SafeMode then
  1007.             self:TeleportToSafe()
  1008.         end
  1009.     end)
  1010. end
  1011.  
  1012. function CollectionScript:StopAutoMoney()
  1013.     if self.AutoMoneyConnection then
  1014.         self.AutoMoneyConnection:Disconnect()
  1015.         self.AutoMoneyConnection = nil
  1016.     end
  1017. end
  1018.  
  1019. -- Coleta automática
  1020. function CollectionScript:StartAutoCollect()
  1021.     self:StopAutoCollect()
  1022.    
  1023.     self.AutoCollectConnection = game:GetService("RunService").Heartbeat:Connect(function()
  1024.         if not self.Config.AutoCollect then return end
  1025.        
  1026.         local collectibles = self:FindCollectibles()
  1027.        
  1028.         for _, obj in pairs(collectibles) do
  1029.             if not self.Config.AutoCollect then break end
  1030.             local name = string.lower(obj.Name)
  1031.             if string.find(name, "gem") or string.find(name, "coin") or string.find(name, "money") or string.find(name, "moneda") or string.find(name, "diamond") then
  1032.                 self:TeleportToObject(obj)
  1033.                 wait(0.2)
  1034.             end
  1035.         end
  1036.        
  1037.         if self.Config.SafeMode then
  1038.             self:TeleportToSafe()
  1039.         end
  1040.     end)
  1041. end
  1042.  
  1043. function CollectionScript:StopAutoCollect()
  1044.     if self.AutoCollectConnection then
  1045.         self.AutoCollectConnection:Disconnect()
  1046.         self.AutoCollectConnection = nil
  1047.     end
  1048. end
  1049.  
  1050. -- God Mode
  1051. function CollectionScript:StartGodMode()
  1052.     self:StopGodMode()
  1053.    
  1054.     if self.Character then
  1055.         local humanoid = self.Character:FindFirstChildOfClass("Humanoid")
  1056.         if humanoid then
  1057.             humanoid.MaxHealth = math.huge
  1058.             humanoid.Health = math.huge
  1059.            
  1060.             self.GodModeConnection = game:GetService("RunService").Heartbeat:Connect(function()
  1061.                 if not self.Config.GodMode then return end
  1062.                 if humanoid and humanoid.Health < math.huge then
  1063.                     humanoid.Health = math.huge
  1064.                 end
  1065.             end)
  1066.            
  1067.             self.GodModeDiedConnection = humanoid.Died:Connect(function()
  1068.                 if self.Config.GodMode then
  1069.                     local hrp = self.Character:FindFirstChild("HumanoidRootPart")
  1070.                     if hrp then
  1071.                         humanoid.Health = math.huge
  1072.                         hrp.Position = hrp.Position + Vector3.new(0, 5, 0)
  1073.                     end
  1074.                 end
  1075.             end)
  1076.         end
  1077.     end
  1078. end
  1079.  
  1080. function CollectionScript:StopGodMode()
  1081.     if self.GodModeConnection then
  1082.         self.GodModeConnection:Disconnect()
  1083.         self.GodModeConnection = nil
  1084.     end
  1085.     if self.GodModeDiedConnection then
  1086.         self.GodModeDiedConnection:Disconnect()
  1087.         self.GodModeDiedConnection = nil
  1088.     end
  1089.     if self.Character then
  1090.         local humanoid = self.Character:FindFirstChildOfClass("Humanoid")
  1091.         if humanoid then
  1092.             humanoid.MaxHealth = 100
  1093.             humanoid.Health = 100
  1094.         end
  1095.     end
  1096. end
  1097.  
  1098. -- Teleport to Safe Platform
  1099. function CollectionScript:TeleportToSafe()
  1100.     if not self.Character or not self.Character:FindFirstChild("HumanoidRootPart") then
  1101.         return
  1102.     end
  1103.  
  1104.     if not self.SafePlatform then
  1105.         self.SafePlatform = Instance.new("Part")
  1106.         self.SafePlatform.Name = "SafePlatform"
  1107.         self.SafePlatform.Size = Vector3.new(10, 1, 10)
  1108.         self.SafePlatform.Position = Vector3.new(0, 300, 0)
  1109.         self.SafePlatform.Anchored = true
  1110.         self.SafePlatform.CanCollide = true
  1111.         self.SafePlatform.Transparency = 0.5
  1112.         self.SafePlatform.Parent = workspace
  1113.     end
  1114.    
  1115.     local hrp = self.Character.HumanoidRootPart
  1116.     hrp.CFrame = CFrame.new(self.SafePlatform.Position + Vector3.new(0, 5, 0))
  1117. end
  1118.  
  1119. -- Para tudo
  1120. function CollectionScript:StopAll()
  1121.     self:StopAutoMoney()
  1122.     self:StopAutoCollect()
  1123.     self:StopAutoPullCoins()
  1124.     self:StopGodMode()
  1125.     self.Config.AutoMoney = false
  1126.     self.Config.AutoCollect = false
  1127.     self.Config.AutoPullCoins = false
  1128.     self.Config.GodMode = false
  1129.     self.Config.SafeMode = false
  1130.     self.Config.NoFogEnabled = false
  1131.     self.Config.NoShadowEnabled = false
  1132.     self.Config.FullBrightEnabled = false
  1133.     self.Config.RTXModeEnabled = false
  1134.     if self.SafePlatform then
  1135.         self.SafePlatform:Destroy()
  1136.         self.SafePlatform = nil
  1137.     end
  1138.     self.Lighting.FogEnd = self.OriginalLighting.FogEnd
  1139.     self.Lighting.FogStart = self.OriginalLighting.FogStart
  1140.     self.Lighting.GlobalShadows = self.OriginalLighting.GlobalShadows
  1141.     self.Lighting.Brightness = self.OriginalLighting.Brightness
  1142.     self.Lighting.Ambient = self.OriginalLighting.Ambient
  1143.     self.Lighting.OutdoorAmbient = self.OriginalLighting.OutdoorAmbient
  1144.     if self.ColorCorrection then
  1145.         self.ColorCorrection:Destroy()
  1146.         self.ColorCorrection = nil
  1147.     end
  1148.     if self.Bloom then
  1149.         self.Bloom:Destroy()
  1150.         self.Bloom = nil
  1151.     end
  1152. end
  1153.  
  1154. -- Inicializa
  1155. function CollectionScript:Init()
  1156.     local success, message = pcall(function()
  1157.         self:CreateGUI()
  1158.         print("✅ MOD MENU CARREGADO COM SUCESSO!")
  1159.         print("🎯 Auto-Pull Coins corrigido: puxa todas as moedas continuamente!")
  1160.         print("🛡️ Safe Mode ajustado: teleporta imediatamente ao ativar!")
  1161.         print("📱 Menu compactado (240x300) com sistema de páginas!")
  1162.     end)
  1163.    
  1164.     if not success then
  1165.         warn("❌ Erro: " .. message)
  1166.     end
  1167. end
  1168.  
  1169. -- Executa o script
  1170. CollectionScript:Init()
  1171.  
  1172. return CollectionScript
Advertisement
Add Comment
Please, Sign In to add comment