Advertisement
Guest User

Untitled

a guest
May 26th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ToggleableNoClip = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. --Properties:
  9. ToggleableNoClip.Name = "ToggleableNoClip"
  10. ToggleableNoClip.Parent = game.CoreGui
  11. ToggleableNoClip.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12. ToggleableNoClip.ResetOnSpawn = false
  13.  
  14. Main.Name = "Main"
  15. Main.Parent = ToggleableNoClip
  16. Main.BackgroundColor3 = Color3.new(0, 0.431373, 1)
  17. Main.Size = UDim2.new(0, 340, 0, 94)
  18.  
  19. TextLabel.Parent = Main
  20. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  21. TextLabel.Position = UDim2.new(0.0149253849, 0, 0.0229885112, 0)
  22. TextLabel.Size = UDim2.new(0, 326, 0, 17)
  23. TextLabel.Font = Enum.Font.SourceSans
  24. TextLabel.Text = "By JasonkaranikYoutube"
  25. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  26. TextLabel.TextScaled = true
  27. TextLabel.TextSize = 14
  28. TextLabel.TextWrapped = true
  29.  
  30. TextButton.Parent = Main
  31. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TextButton.Position = UDim2.new(0.200000003, 0, 0.297872335, 0)
  33. TextButton.Size = UDim2.new(0, 200, 0, 50)
  34. TextButton.Font = Enum.Font.SourceSans
  35. TextButton.Text = "NoClip: Disabled"
  36. TextButton.TextColor3 = Color3.new(0, 0, 0)
  37. TextButton.TextSize = 14
  38. -- Scripts:
  39. function SCRIPT_NMAK80_FAKESCRIPT() -- TextButton.LocalScript
  40. local script = Instance.new('LocalScript')
  41. script.Parent = TextButton
  42. script.Parent.MouseButton1Click:Connect(function()
  43. if script.Parent.Parent.curretstate.Value == true then
  44. script.Parent.Text = "NoClip: Disabled"
  45. script.Parent.Parent.curretstate.Value = false
  46. else
  47. script.Parent.Text = "NoClip: Enabled"
  48. script.Parent.Parent.curretstate.Value = true
  49. end
  50. end)
  51.  
  52. end
  53. coroutine.resume(coroutine.create(SCRIPT_NMAK80_FAKESCRIPT))
  54. function SCRIPT_QNRM66_FAKESCRIPT() -- TextButton.LocalScript
  55. local script = Instance.new('LocalScript')
  56. script.Parent = TextButton
  57. local curretstate = script.Parent.Parent.curretstate
  58.  
  59. while wait() do
  60. game:GetService("Players").LocalPlayer.Character.RightHand.Touched:connect(function(obj)
  61. if curretstate.Value == true then
  62. if obj ~= workspace.Terrain then
  63. obj.CanCollide = false
  64. wait(1)
  65. obj.CanCollide = true
  66. end
  67. end
  68. end)
  69. end
  70.  
  71.  
  72. end
  73. coroutine.resume(coroutine.create(SCRIPT_QNRM66_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement