ElectronUser

[Patched]Noclip Gui [Fixed, Noclip Does Not Make U Float In The Air When U Jump Or "Fall" Off An Edge]

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