Advertisement
zsx5e

NOCLIP

Jun 20th, 2023 (edited)
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.52 KB | None | 0 0
  1. -- NOCLIP --
  2.  
  3.  
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local NoclipGui = Instance.new("ScreenGui")
  6. local DragFrame = Instance.new("ImageLabel")
  7. local NoclipFrame = Instance.new("ImageLabel")
  8. local On = Instance.new("TextLabel")
  9. local Noclip = Instance.new("TextButton")
  10. local TextButton = Instance.new("TextButton")
  11. local Roundify = Instance.new("ImageLabel")
  12. local TextLabel = Instance.new("TextLabel")
  13. local X = Instance.new("TextButton")
  14. local TextButton_2 = Instance.new("TextButton")
  15. local TextLabel_2 = Instance.new("TextLabel")
  16. local Frame = Instance.new("Frame")
  17. local TextButton_3 = Instance.new("TextButton")
  18. local TextLabel_3 = Instance.new("TextLabel")
  19.  
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. NoclipGui.Name = "NoclipGui"
  25. NoclipGui.Parent = ScreenGui
  26.  
  27. DragFrame.Name = "DragFrame"
  28. DragFrame.Parent = NoclipGui
  29. DragFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  30. DragFrame.BackgroundTransparency = 1.000
  31. DragFrame.Position = UDim2.new(0.0757299438, 0, 0.0495575368, 0)
  32. DragFrame.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
  33. DragFrame.ScaleType = Enum.ScaleType.Slice
  34. DragFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  35. DragFrame.SliceScale = 0.667
  36.  
  37. NoclipFrame.Name = "NoclipFrame"
  38. NoclipFrame.Parent = DragFrame
  39. NoclipFrame.BackgroundColor3 = Color3.fromRGB(24, 24, 24)
  40. NoclipFrame.BackgroundTransparency = 0.600
  41. NoclipFrame.BorderSizePixel = 0
  42. NoclipFrame.Position = UDim2.new(2.98172498, 0, 6.12007523, 0)
  43. NoclipFrame.Size = UDim2.new(1.46938503, 0, 2.54469037, 0)
  44. NoclipFrame.Visible = false
  45. NoclipFrame.ImageColor3 = Color3.fromRGB(0, 0, 0)
  46. NoclipFrame.ImageTransparency = 1.000
  47. NoclipFrame.ScaleType = Enum.ScaleType.Slice
  48. NoclipFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  49.  
  50. On.Name = "On"
  51. On.Parent = NoclipFrame
  52. On.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. On.BackgroundTransparency = 1.000
  54. On.Position = UDim2.new(0.758313119, 0, 0.669421434, 0)
  55. On.Size = UDim2.new(0.241621062, 0, 0.330578566, 0)
  56. On.Font = Enum.Font.SciFi
  57. On.Text = "Noclip is off"
  58. On.TextColor3 = Color3.fromRGB(255, 255, 255)
  59. On.TextScaled = true
  60. On.TextSize = 14.000
  61. On.TextWrapped = true
  62.  
  63. Noclip.Name = "Noclip"
  64. Noclip.Parent = NoclipFrame
  65. Noclip.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  66. Noclip.BackgroundTransparency = 1.000
  67. Noclip.Position = UDim2.new(-0.00456204405, 0, 0.11937926, 0)
  68. Noclip.Size = UDim2.new(1, 0, 0.672906339, 0)
  69. Noclip.Font = Enum.Font.SciFi
  70. Noclip.Text = "Noclip"
  71. Noclip.TextColor3 = Color3.fromRGB(255, 255, 255)
  72. Noclip.TextScaled = true
  73. Noclip.TextSize = 14.000
  74. Noclip.TextWrapped = true
  75.  
  76. TextButton.Parent = Noclip
  77. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  78. TextButton.BackgroundTransparency = 1.000
  79. TextButton.Position = UDim2.new(0.828415871, 0, -0.406988889, 0)
  80. TextButton.Size = UDim2.new(0, 86, 0, 42)
  81. TextButton.Font = Enum.Font.SourceSans
  82. TextButton.Text = "X"
  83. TextButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  84. TextButton.TextSize = 50.000
  85.  
  86. Roundify.Name = "Roundify"
  87. Roundify.Parent = NoclipFrame
  88. Roundify.AnchorPoint = Vector2.new(0.5, 0.5)
  89. Roundify.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  90. Roundify.BackgroundTransparency = 1.000
  91. Roundify.Position = UDim2.new(1.02292264, 0, 0.711400688, 0)
  92. Roundify.Size = UDim2.new(2.04584527, 24, 1.42280149, 24)
  93. Roundify.Image = "rbxassetid://3570695787"
  94. Roundify.ImageColor3 = Color3.fromRGB(24, 24, 24)
  95. Roundify.ImageTransparency = 1.000
  96. Roundify.ScaleType = Enum.ScaleType.Slice
  97. Roundify.SliceCenter = Rect.new(100, 100, 100, 100)
  98. Roundify.SliceScale = 0.120
  99.  
  100. TextLabel.Parent = NoclipFrame
  101. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  102. TextLabel.BackgroundTransparency = 0.600
  103. TextLabel.Position = UDim2.new(0, 0, -0.169147491, 0)
  104. TextLabel.Size = UDim2.new(0, 493, 0, 46)
  105. TextLabel.Font = Enum.Font.SourceSans
  106. TextLabel.Text = "Noclip GUI v1.0.0"
  107. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  108. TextLabel.TextSize = 50.000
  109.  
  110. X.Name = "X"
  111. X.Parent = NoclipFrame
  112. X.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113. X.BackgroundTransparency = 1.000
  114. X.Position = UDim2.new(0.81626308, 0, -0.169535726, 0)
  115. X.Size = UDim2.new(0, 93, 0, 47)
  116. X.Font = Enum.Font.SourceSans
  117. X.Text = "X"
  118. X.TextColor3 = Color3.fromRGB(170, 0, 0)
  119. X.TextSize = 50.000
  120.  
  121. TextButton_2.Parent = DragFrame
  122. TextButton_2.BackgroundColor3 = Color3.fromRGB(0, 255, 127)
  123. TextButton_2.Position = UDim2.new(-0.378649771, 0, 5.79646063, 0)
  124. TextButton_2.Size = UDim2.new(0, 167, 0, 80)
  125. TextButton_2.Font = Enum.Font.SourceSans
  126. TextButton_2.Text = "Open Noclip GUI"
  127. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  128. TextButton_2.TextSize = 26.000
  129.  
  130. TextLabel_2.Parent = DragFrame
  131. TextLabel_2.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  132. TextLabel_2.Position = UDim2.new(-0.378649771, 0, 8.67437649, 0)
  133. TextLabel_2.Size = UDim2.new(0, 509, 0, 53)
  134. TextLabel_2.Font = Enum.Font.SourceSans
  135. TextLabel_2.Text = "Made By Shadow, Youtube: https://www.youtube.com/channel/UCNovziZnQUN5b3bGDYPTJ1Q"
  136. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  137. TextLabel_2.TextSize = 14.000
  138.  
  139. Frame.Parent = TextLabel_2
  140. Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  141. Frame.Position = UDim2.new(0, 0, 1.03773582, 0)
  142. Frame.Size = UDim2.new(0, 509, 0, 45)
  143.  
  144. TextButton_3.Parent = TextLabel_2
  145. TextButton_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  146. TextButton_3.BackgroundTransparency = 1.000
  147. TextButton_3.Position = UDim2.new(0.917485237, 0, 1.05660379, 0)
  148. TextButton_3.Size = UDim2.new(0, 42, 0, 19)
  149. TextButton_3.Font = Enum.Font.SourceSans
  150. TextButton_3.Text = "OK"
  151. TextButton_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  152. TextButton_3.TextSize = 20.000
  153.  
  154. TextLabel_3.Parent = TextLabel_2
  155. TextLabel_3.BackgroundColor3 = Color3.fromRGB(66, 66, 66)
  156. TextLabel_3.Position = UDim2.new(0, 0, -0.490566045, 0)
  157. TextLabel_3.Size = UDim2.new(0, 507, 0, 25)
  158. TextLabel_3.Font = Enum.Font.SourceSans
  159. TextLabel_3.Text = "Notification"
  160. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  161. TextLabel_3.TextSize = 20.000
  162.  
  163. -- Scripts:
  164.  
  165. local function GLEKL_fake_script() -- Noclip.NoScript
  166.     local script = Instance.new('LocalScript', Noclip)
  167.  
  168.     local function UpdateText(Obj,strl)
  169.         Obj.Text = strl
  170.     end
  171.     local On = false
  172.     local function SetOn()
  173.         if On == false then
  174.             On = true
  175.         else
  176.             On = false
  177.         end
  178.     end
  179.     local Player = game.Players.LocalPlayer
  180.     local Button = script.Parent
  181.  
  182.     Button.MouseButton1Up:Connect(function()
  183.         SetOn()
  184.         if On then
  185.             UpdateText(Button, "Clip")
  186.             UpdateText(script.Parent.Parent.On,"Noclip is On")
  187.  
  188.         else
  189.         UpdateText(Button, "Noclip")
  190.             UpdateText(script.Parent.Parent.On, "Noclip is off")
  191.         end
  192.         while On do
  193.             wait()
  194.             pcall(function()
  195.                 Player.Character.Humanoid:ChangeState(11)
  196.             end)
  197.         end
  198.     end)
  199. end
  200. coroutine.wrap(GLEKL_fake_script)()
  201. local function ZBOJNK_fake_script() -- X.LocalScript
  202.     local script = Instance.new('LocalScript', X)
  203.  
  204.     script.Parent.MouseButton1Click:Connect(function()
  205.         script.Parent.Parent.Visible = false
  206.     end)
  207.  
  208.  
  209.  
  210. end
  211. coroutine.wrap(ZBOJNK_fake_script)()
  212. local function NMNOMDP_fake_script() -- TextButton_2.LocalScript
  213.     local script = Instance.new('LocalScript', TextButton_2)
  214.  
  215.     local frame = script.Parent.Parent.NoclipFrame
  216.     local open = false
  217.  
  218.     script.Parent.MouseButton1Click:Connect(function()
  219.         if frame.Visible == false then
  220.             frame.Visible = true
  221.         end
  222.     end)
  223.  
  224. end
  225. coroutine.wrap(NMNOMDP_fake_script)()
  226. local function ZULPZ_fake_script() -- TextButton_3.LocalScript
  227.     local script = Instance.new('LocalScript', TextButton_3)
  228.  
  229.     script.Parent.MouseButton1Click:Connect(function()
  230.         script.Parent.Parent.Visible = false
  231.     end)
  232.  
  233.  
  234.  
  235. end
  236. coroutine.wrap(ZULPZ_fake_script)()
  237. local function YWWA_fake_script() -- NoclipGui.Dragify
  238.     local script = Instance.new('LocalScript', NoclipGui)
  239.  
  240.     local UIS = game:GetService("UserInputService")
  241.     function dragify(Frame)
  242.         dragToggle = nil
  243.         local dragSpeed = 0.50
  244.         dragInput = nil
  245.         dragStart = nil
  246.         local dragPos = nil
  247.         function updateInput(input)
  248.             local Delta = input.Position - dragStart
  249.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  250.             Frame:TweenPosition(Position,"Out","Quad",.5,true)
  251.         end
  252.         Frame.InputBegan:Connect(function(input)
  253.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  254.                 dragToggle = true
  255.                 dragStart = input.Position
  256.                 startPos = Frame.Position
  257.                 input.Changed:Connect(function()
  258.                     if input.UserInputState == Enum.UserInputState.End then
  259.                         dragToggle = false
  260.                     end
  261.                 end)
  262.             end
  263.         end)
  264.         Frame.InputChanged:Connect(function(input)
  265.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  266.                 dragInput = input
  267.             end
  268.         end)
  269.  
  270.         Frame.InputEnded:connect(function(input)
  271.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  272.                 dragStart = nil
  273.                 dragInput = nil
  274.             end
  275.         end)
  276.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  277.             if input == dragInput and dragToggle then
  278.                 updateInput(input)
  279.             end
  280.         end)
  281.     end
  282.  
  283.     dragify(script.Parent.DragFrame)
  284. end
  285. coroutine.wrap(YWWA_fake_script)()
Tags: #zsx5e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement