Accès anticipé

Voxel Destruction 2 — Scripts sandbox

Contenu susceptible d'évoluer avec le développement de VOXEL DESTRUCT 2.

Avertissement important

Les scripts présentés ci-dessous sont des exemples génériques pour sandboxes de destruction sur Roblox. Ils ne sont pas officiels, peuvent cesser de fonctionner après une mise à jour et peuvent violer les Conditions d'utilisation de Roblox. Utilisez-les uniquement à des fins éducatives, sur un compte secondaire et jamais pour nuire aux autres joueurs.

Script Vol (Fly)

Permet de voler au-dessus des structures pour repérer les points faibles avant une démolition. Adapté aux sandboxes VD2 où la hauteur aide à planifier l'effondrement.

  • -- Script Vol générique (sandbox destruction)
    local Players = game:GetService("Players")
    local UserInputService = game:GetService("UserInputService")
    local player = Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local hrp = character:WaitForChild("HumanoidRootPart")
    local flying = false
    local speed = 50
    
    local function setFly(state)
      flying = state
      local bodyVel = hrp:FindFirstChild("FlyVelocity")
      local bodyGyro = hrp:FindFirstChild("FlyGyro")
      if state then
        if not bodyVel then
          bodyVel = Instance.new("BodyVelocity")
          bodyVel.Name = "FlyVelocity"
          bodyVel.MaxForce = Vector3.new(1e5, 1e5, 1e5)
          bodyVel.Parent = hrp
        end
        if not bodyGyro then
          bodyGyro = Instance.new("BodyGyro")
          bodyGyro.Name = "FlyGyro"
          bodyGyro.MaxTorque = Vector3.new(1e5, 1e5, 1e5)
          bodyGyro.Parent = hrp
        end
      else
        if bodyVel then bodyVel:Destroy() end
        if bodyGyro then bodyGyro:Destroy() end
      end
    end
    
    UserInputService.InputBegan:Connect(function(input, gp)
      if gp then return end
      if input.KeyCode == Enum.KeyCode.F then
        setFly(not flying)
      end
    end)
    
    game:GetService("RunService").RenderStepped:Connect(function()
      if flying and hrp.Parent then
        local cam = workspace.CurrentCamera
        local dir = Vector3.new()
        if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir = dir + cam.CFrame.LookVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir = dir - cam.CFrame.LookVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir = dir - cam.CFrame.RightVector end
        if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir = dir + cam.CFrame.RightVector end
        hrp:FindFirstChild("FlyVelocity").Velocity = dir.Magnitude > 0 and dir.Unit * speed or Vector3.zero
        hrp:FindFirstChild("FlyGyro").CFrame = cam.CFrame
      end
    end)

Script Vitesse (Speed)

Augmente la vitesse de déplacement pour traverser rapidement de grandes cartes sandbox après une destruction complète.

  • -- Script Vitesse générique
    local Players = game:GetService("Players")
    local player = Players.LocalPlayer
    local SPEED = 80
    
    local function applySpeed()
      local char = player.Character
      if char then
        local hum = char:FindFirstChildOfClass("Humanoid")
        if hum then
          hum.WalkSpeed = SPEED
        end
      end
    end
    
    player.CharacterAdded:Connect(applySpeed)
    applySpeed()
    
    -- Raccourci pour basculer vitesse normale / rapide
    local UserInputService = game:GetService("UserInputService")
    local normal = 16
    UserInputService.InputBegan:Connect(function(input, gp)
      if gp then return end
      if input.KeyCode == Enum.KeyCode.V then
        local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
        if hum then
          hum.WalkSpeed = hum.WalkSpeed == normal and SPEED or normal
        end
      end
    end)

Script Noclip

Traverse les murs pour accéder aux fondations internes d'un bâtiment — utile pour déclencher un effondrement structurel depuis l'intérieur. Risque élevé de détection anti-triche.

  • -- Script Noclip générique
    local Players = game:GetService("Players")
    local RunService = game:GetService("RunService")
    local player = Players.LocalPlayer
    local noclip = false
    
    local function setNoclip(state)
      noclip = state
      local char = player.Character
      if not char then return end
      for _, part in ipairs(char:GetDescendants()) do
        if part:IsA("BasePart") then
          part.CanCollide = not state
        end
      end
    end
    
    game:GetService("UserInputService").InputBegan:Connect(function(input, gp)
      if gp then return end
      if input.KeyCode == Enum.KeyCode.N then
        setNoclip(not noclip)
      end
    end)
    
    RunService.Stepped:Connect(function()
      if noclip then
        local char = player.Character
        if char then
          for _, part in ipairs(char:GetDescendants()) do
            if part:IsA("BasePart") and part.CanCollide then
              part.CanCollide = false
            end
          end
        end
      end
    end)

Bonnes pratiques

  • Ne utilisez jamais de scripts sur votre compte principal.
  • Évitez les exécuteurs non vérifiés — risque de malware.
  • Conditions d'utilisation — cadre légal de ce wiki
  • Protéger les performances — le gameplay légitime reste la meilleure option

Guides associés

Questions fréquentes

Ces scripts sont-ils spécifiques à VD2 ?
Non, ce sont des bases génériques Roblox. Le moteur VD2 peut les bloquer ou les rendre instables.
Puis-je être banni ?
Oui. Roblox sanctionne l'usage de triche et d'exécuteurs tiers.
Existe-t-il des scripts officiels ?
Non. whatever_dev() ne publie pas de scripts communautaires pour tricher.
Alternatives légitimes au vol ?
Utilisez les outils prévus par l'expérience et optimisez vos déplacements avec notre guide contrôles.