Advertisement
AugusTH

Click tp

Nov 4th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. --made by augus X
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame2 = Instance.new("Frame")
  5. local Frame = Instance.new("Frame")
  6. local TextButton2 = Instance.new("TextButton")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton1 = Instance.new("TextButton")
  9.  
  10.  
  11. --Properties:
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15. ScreenGui.ResetOnSpawn = false
  16.  
  17.  
  18. Frame2.Name = "Frame2"
  19. Frame2.Parent = ScreenGui
  20. Frame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21. Frame2.Position = UDim2.new(0.1, 0, 0.37327823, 0)
  22. Frame2.Size = UDim2.new(0, 363, 0, 199)
  23. Frame2.Visible = false
  24. Frame2.Style = Enum.FrameStyle.RobloxRound
  25.  
  26. Frame.Parent = ScreenGui
  27. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  28. Frame.Position = UDim2.new(0.832495809, 0, 0.508264482, 0)
  29. Frame.Size = UDim2.new(0, 200, 0, 67)
  30. Frame.Style = Enum.FrameStyle.RobloxRound
  31.  
  32. TextButton1.Parent = Frame
  33. TextButton1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  34. TextButton1.Position = UDim2.new(0.53 , 0, 0.68, 0)
  35. TextButton1.Size = UDim2.new(0, 85, 0, 15)
  36. TextButton1.Style = Enum.ButtonStyle.RobloxRoundButton
  37. TextButton1.Font = Enum.Font.Code
  38. TextButton1.Text = "Credit To Augus X"
  39. TextButton1.TextColor3 = Color3.fromRGB(0, 0, 0)
  40. TextButton1.TextSize = 10.000
  41.  
  42. TextButton.Parent = Frame
  43. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. TextButton.Position = UDim2.new(0, 0, 0.025828898, 0)
  45. TextButton.Size = UDim2.new(0, 100, 0, 50)
  46. TextButton.Style = Enum.ButtonStyle.RobloxRoundButton
  47. TextButton.Font = Enum.Font.Code
  48. TextButton.Text = "False"
  49. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. TextButton.TextSize = 25.000
  51.  
  52. -- Scripts:
  53.  
  54. local function RVRTSG_fake_script() -- TextButton.LocalScript
  55. local script = Instance.new('LocalScript', TextButton)
  56.  
  57. frame = script.Parent.Parent -- Take out {}s, and put name of frame
  58. frame.Draggable = true
  59. frame.Active = true
  60. frame.Selectable = true
  61.  
  62. local player = game.Players.LocalPlayer
  63. local mouse = player:GetMouse()
  64. local Toggle = false
  65. local Toggle2 = false
  66. local Toggle3 = false
  67. print("Script Launched")
  68.  
  69. script.Parent.Activated:Connect(function()
  70. if Toggle == true then
  71. Toggle = false
  72. script.Parent.Text = ("False")
  73. print("Now False")
  74. elseif Toggle == false then
  75. Toggle = true
  76. script.Parent.Text = ("True")
  77. print("Now True")
  78. end
  79. end)
  80.  
  81.  
  82. mouse.Button1Down:Connect(function()
  83. if Toggle == true then
  84. if mouse.Target ~= AV then
  85. player.Character.HumanoidRootPart.CFrame = mouse.Hit
  86. end
  87. end
  88. end)
  89.  
  90.  
  91. spawn(function()
  92. script.Parent.Parent:FindFirstChild("TextButton2").Activated:Connect(function()
  93. script.Parent.Parent.Parent:FindFirstChild("Frame2").Visible = Toggle2
  94. if Toggle2 == true then
  95. Toggle2 = false
  96. print("Now False")
  97. elseif Toggle2 == false then
  98. Toggle2 = true
  99. print("Now True")
  100. end
  101. end)
  102. end)
  103.  
  104. end
  105. coroutine.wrap(RVRTSG_fake_script)()
  106.  
  107. game.StarterGui:SetCore("SendNotification", {
  108. Title = "Click Tp Gui";
  109. Text = "Made By Augus X | You Can Drag The Button";
  110. Icon = "rbxassetid://12585776892";
  111. Duration = "10";
  112. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement