Advertisement
Sheepz

Noclip Script (ROBLOX SCRIPT)

Jul 30th, 2023 (edited)
7,072
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.16 KB | Source Code | 1 0
  1. -- made by me (Sheepz)
  2.  
  3. local Workspace = game:GetService("Workspace")
  4. local CoreGui = game:GetService("CoreGui")
  5. local Players = game:GetService("Players")
  6. local Noclip = Instance.new("ScreenGui")
  7. local BG = Instance.new("Frame")
  8. local Title = Instance.new("TextLabel")
  9. local Toggle = Instance.new("TextButton")
  10. local StatusPF = Instance.new("TextLabel")
  11. local Status = Instance.new("TextLabel")
  12. local Credit = Instance.new("TextLabel")
  13. local Plr = Players.LocalPlayer
  14. local Clipon = false
  15.  
  16. Noclip.Name = "Noclip"
  17. Noclip.Parent = game.CoreGui
  18.  
  19. BG.Name = "BG"
  20. BG.Parent = Noclip
  21. BG.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  22. BG.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  23. BG.BorderSizePixel = 2
  24. BG.Position = UDim2.new(0.149479166, 0, 0.82087779, 0)
  25. BG.Size = UDim2.new(0, 210, 0, 127)
  26. BG.Active = true
  27. BG.Draggable = true
  28.  
  29. Title.Name = "Title"
  30. Title.Parent = BG
  31. Title.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  32. Title.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  33. Title.BorderSizePixel = 2
  34. Title.Size = UDim2.new(0, 210, 0, 33)
  35. Title.Font = Enum.Font.Highway
  36. Title.Text = "Noclip"
  37. Title.TextColor3 = Color3.new(1, 1, 1)
  38. Title.FontSize = Enum.FontSize.Size32
  39. Title.TextSize = 30
  40. Title.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  41. Title.TextStrokeTransparency = 0
  42.  
  43. Toggle.Parent = BG
  44. Toggle.BackgroundColor3 = Color3.new(0.266667, 0.00392157, 0.627451)
  45. Toggle.BorderColor3 = Color3.new(0.180392, 0, 0.431373)
  46. Toggle.BorderSizePixel = 2
  47. Toggle.Position = UDim2.new(0.152380958, 0, 0.374192119, 0)
  48. Toggle.Size = UDim2.new(0, 146, 0, 36)
  49. Toggle.Font = Enum.Font.Highway
  50. Toggle.FontSize = Enum.FontSize.Size28
  51. Toggle.Text = "Toggle"
  52. Toggle.TextColor3 = Color3.new(1, 1, 1)
  53. Toggle.TextSize = 25
  54. Toggle.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  55. Toggle.TextStrokeTransparency = 0
  56.  
  57. StatusPF.Name = "StatusPF"
  58. StatusPF.Parent = BG
  59. StatusPF.BackgroundColor3 = Color3.new(1, 1, 1)
  60. StatusPF.BackgroundTransparency = 1
  61. StatusPF.Position = UDim2.new(0.314285725, 0, 0.708661377, 0)
  62. StatusPF.Size = UDim2.new(0, 56, 0, 20)
  63. StatusPF.Font = Enum.Font.Highway
  64. StatusPF.FontSize = Enum.FontSize.Size24
  65. StatusPF.Text = "Status:"
  66. StatusPF.TextColor3 = Color3.new(1, 1, 1)
  67. StatusPF.TextSize = 20
  68. StatusPF.TextStrokeColor3 = Color3.new(0.333333, 0.333333, 0.333333)
  69. StatusPF.TextStrokeTransparency = 0
  70. StatusPF.TextWrapped = true
  71.  
  72. Status.Name = "Status"
  73. Status.Parent = BG
  74. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  75. Status.BackgroundTransparency = 1
  76. Status.Position = UDim2.new(0.580952346, 0, 0.708661377, 0)
  77. Status.Size = UDim2.new(0, 56, 0, 20)
  78. Status.Font = Enum.Font.Highway
  79. Status.FontSize = Enum.FontSize.Size14
  80. Status.Text = "off"
  81. Status.TextColor3 = Color3.new(0.666667, 0, 0)
  82. Status.TextScaled = true
  83. Status.TextSize = 14
  84. Status.TextStrokeColor3 = Color3.new(0.180392, 0, 0.431373)
  85. Status.TextWrapped = true
  86. Status.TextXAlignment = Enum.TextXAlignment.Left
  87.  
  88. Credit.Name = "Credit"
  89. Credit.Parent = BG
  90. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  91. Credit.BackgroundTransparency = 1
  92. Credit.Position = UDim2.new(0.195238099, 0, 0.866141737, 0)
  93. Credit.Size = UDim2.new(0, 128, 0, 17)
  94. Credit.Font = Enum.Font.SourceSans
  95. Credit.FontSize = Enum.FontSize.Size18
  96. Credit.Text = "Created by Sheepz"
  97. Credit.TextColor3 = Color3.new(1, 1, 1)
  98. Credit.TextSize = 16
  99. Credit.TextStrokeColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  100. Credit.TextStrokeTransparency = 0
  101. Credit.TextWrapped = true
  102.  
  103. Toggle.MouseButton1Click:connect(function()
  104.     if Status.Text == "off" then
  105.         Clipon = true
  106.         Status.Text = "on"
  107.         Status.TextColor3 = Color3.new(0,185,0)
  108.         Stepped = game:GetService("RunService").Stepped:Connect(function()
  109.             if not Clipon == false then
  110.                 for a, b in pairs(Workspace:GetChildren()) do
  111.                 if b.Name == Plr.Name then
  112.                 for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
  113.                 if v:IsA("BasePart") then
  114.                 v.CanCollide = false
  115.                 end end end end
  116.             else
  117.                 Stepped:Disconnect()
  118.             end
  119.         end)
  120.     elseif Status.Text == "on" then
  121.         Clipon = false
  122.         Status.Text = "off"
  123.         Status.TextColor3 = Color3.new(170,0,0)
  124.     end
  125. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement