Chaseycoil

Noclip - Universal Wall noclipper!

Aug 18th, 2025
133,315
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.44 KB | Source Code | 0 0
  1. -- Noclip Toggle GUI (Safe Lua Example)
  2. -- Put this in a LocalScript inside StarterGui
  3.  
  4. -- Create ScreenGui
  5. local screenGui = Instance.new("ScreenGui")
  6. screenGui.Name = "NoclipGUI"
  7. screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  8.  
  9. -- Main Frame
  10. local frame = Instance.new("Frame")
  11. frame.Size = UDim2.new(0, 200, 0, 100)
  12. frame.Position = UDim2.new(0.3, 0, 0.3, 0)
  13. frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  14. frame.Active = true
  15. frame.Draggable = true
  16. frame.Parent = screenGui
  17.  
  18. -- Close Button
  19. local closeBtn = Instance.new("TextButton")
  20. closeBtn.Size = UDim2.new(0, 25, 0, 25)
  21. closeBtn.Position = UDim2.new(1, -30, 0, 5)
  22. closeBtn.Text = "X"
  23. closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  24. closeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
  25. closeBtn.Parent = frame
  26.  
  27. -- Minimize Button
  28. local minimizeBtn = Instance.new("TextButton")
  29. minimizeBtn.Size = UDim2.new(0, 25, 0, 25)
  30. minimizeBtn.Position = UDim2.new(1, -60, 0, 5)
  31. minimizeBtn.Text = "-"
  32. minimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  33. minimizeBtn.BackgroundColor3 = Color3.fromRGB(50, 120, 200)
  34. minimizeBtn.Parent = frame
  35.  
  36. -- Title
  37. local title = Instance.new("TextLabel")
  38. title.Size = UDim2.new(1, -70, 0, 25)
  39. title.Position = UDim2.new(0, 5, 0, 5)
  40. title.Text = "Noclip Toggle"
  41. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  42. title.BackgroundTransparency = 1
  43. title.TextXAlignment = Enum.TextXAlignment.Left
  44. title.Parent = frame
  45.  
  46. -- Toggle Button
  47. local toggleBtn = Instance.new("TextButton")
  48. toggleBtn.Size = UDim2.new(0, 180, 0, 50)
  49. toggleBtn.Position = UDim2.new(0, 10, 0, 35)
  50. toggleBtn.Text = "Noclip: OFF"
  51. toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. toggleBtn.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  53. toggleBtn.Parent = frame
  54.  
  55. -- Minimized Circle
  56. local miniFrame = Instance.new("TextButton")
  57. miniFrame.Size = UDim2.new(0, 50, 0, 50)
  58. miniFrame.Position = UDim2.new(0.4, 0, 0.4, 0)
  59. miniFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  60. miniFrame.Text = "🚶‍♂️➡️🧱"
  61. miniFrame.Visible = false
  62. miniFrame.Active = true
  63. miniFrame.Draggable = true
  64. miniFrame.Parent = screenGui
  65.  
  66. -- Logic
  67. local noclip = false
  68. local player = game.Players.LocalPlayer
  69. local character, humanoidRootPart
  70.  
  71. local function setNoclip(state)
  72.     noclip = state
  73.     if noclip then
  74.         toggleBtn.Text = "Noclip: ON"
  75.         toggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50)
  76.     else
  77.         toggleBtn.Text = "Noclip: OFF"
  78.         toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
  79.     end
  80. end
  81.  
  82. -- Toggle button
  83. toggleBtn.MouseButton1Click:Connect(function()
  84.     setNoclip(not noclip)
  85. end)
  86.  
  87. -- Close button
  88. closeBtn.MouseButton1Click:Connect(function()
  89.     screenGui:Destroy()
  90. end)
  91.  
  92. -- Minimize button
  93. minimizeBtn.MouseButton1Click:Connect(function()
  94.     frame.Visible = false
  95.     miniFrame.Visible = true
  96. end)
  97.  
  98. -- Restore button
  99. miniFrame.MouseButton1Click:Connect(function()
  100.     frame.Visible = true
  101.     miniFrame.Visible = false
  102. end)
  103.  
  104. -- Noclip loop
  105. game:GetService("RunService").Stepped:Connect(function()
  106.     if noclip then
  107.         character = player.Character
  108.         if character then
  109.             for _, part in pairs(character:GetDescendants()) do
  110.                 if part:IsA("BasePart") and part.CanCollide then
  111.                     part.CanCollide = false
  112.                 end
  113.             end
  114.         end
  115.     else
  116.         character = player.Character
  117.         if character then
  118.             for _, part in pairs(character:GetDescendants()) do
  119.                 if part:IsA("BasePart") then
  120.                     part.CanCollide = true
  121.                 end
  122.             end
  123.         end
  124.     end
  125. end)
  126.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment