Advertisement
Guest User

roblox test gui

a guest
Feb 17th, 2020
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local menu = Instance.new("Frame")
  8. local closemenu = Instance.new("TextButton")
  9. local menutitle = Instance.new("TextBox")
  10. local btools = Instance.new("TextButton")
  11. local fefling = Instance.new("TextButton")
  12. local clicktp = Instance.new("TextButton")
  13. local openmenu = Instance.new("Frame")
  14. local openmenubutton = Instance.new("TextButton")
  15. local clicktpactive = false
  16. local localPlayer = game.Players.LocalPlayer
  17. local rootPart = localPlayer.Character.HumanoidRootPart
  18. local mouse = localPlayer:GetMouse()
  19. mouse.Button1Down:Connect(function()
  20. if clicktpactive then
  21. if mouse.Hit then
  22. rootPart.CFrame = CFrame.new(mouse.Hit.X,mouse.Hit.Y + 4.5,mouse.Hit.Z)
  23. end
  24. end
  25. end)
  26. --Properties:
  27.  
  28. ScreenGui.Parent = game.CoreGui
  29. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30.  
  31. menu.Name = "menu"
  32. menu.Parent = ScreenGui
  33. menu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  34. menu.Position = UDim2.new(0.149511442, 0, 0.403418809, 0)
  35. menu.Size = UDim2.new(0, 300, 0, 286)
  36.  
  37. closemenu.Name = "close menu"
  38. closemenu.Parent = menu
  39. closemenu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  40. closemenu.BorderColor3 = Color3.fromRGB(0, 0, 0)
  41. closemenu.Position = UDim2.new(0.871900797, 0, 0, 0)
  42. closemenu.Size = UDim2.new(0, 31, 0, 26)
  43. closemenu.Font = Enum.Font.SourceSans
  44. closemenu.Text = "x"
  45. closemenu.TextColor3 = Color3.fromRGB(170, 0, 0)
  46. closemenu.TextSize = 40.000
  47. closemenu.TextWrapped = true
  48. closemenu.MouseButton1Click:Connect(function()
  49. menu.Visible = false
  50. openmenu.Visible = true
  51. end)
  52.  
  53. menutitle.Name = "menu title"
  54. menutitle.Parent = menu
  55. menutitle.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  56. menutitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
  57. menutitle.Size = UDim2.new(0, 254, 0, 50)
  58. menutitle.Font = Enum.Font.SourceSans
  59. menutitle.Text = "tony's menu"
  60. menutitle.TextColor3 = Color3.fromRGB(0, 85, 255)
  61. menutitle.TextSize = 40.000
  62.  
  63. btools.Name = "btools"
  64. btools.Parent = menu
  65. btools.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  66. btools.Position = UDim2.new(0, 0, 0.223776206, 0)
  67. btools.Size = UDim2.new(0, 93, 0, 34)
  68. btools.Font = Enum.Font.SourceSans
  69. btools.Text = "Btools"
  70. btools.TextColor3 = Color3.fromRGB(0, 0, 255)
  71. btools.TextSize = 34.000
  72. btools.TextStrokeColor3 = Color3.fromRGB(0, 0, 127)
  73. btools.MouseButton1Click:Connect(function()
  74. local a = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  75. a.BinType = 2
  76. local b = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  77. b.BinType = 3
  78. local c = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  79. c.BinType = 4
  80. end)
  81.  
  82. fefling.Name = "fe fling"
  83. fefling.Parent = menu
  84. fefling.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  85. fefling.Position = UDim2.new(0.686666667, 0, 0.223776221, 0)
  86. fefling.Size = UDim2.new(0, 93, 0, 34)
  87. fefling.Font = Enum.Font.SourceSans
  88. fefling.Text = "FE Fling"
  89. fefling.TextColor3 = Color3.fromRGB(0, 0, 255)
  90. fefling.TextSize = 34.000
  91. fefling.MouseButton1Click:Connect(function()
  92. local LocalPlayer = game.Players.LocalPlayer
  93. local rootpart = LocalPlayer.Character.HumanoidRootPart
  94. local bodythrust = Instance.new("BodyThrust",rootpart)
  95. bodythrust.Force = Vector3.new(110000,0,0)
  96. bodythrust.Location = Vector3.new(1,0,1)
  97. bodythrust.Parent = rootpart
  98. end)
  99.  
  100. clicktp.Name = "click tp"
  101. clicktp.Parent = menu
  102. clicktp.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  103. clicktp.Position = UDim2.new(0.333333343, 0, 0.223776221, 0)
  104. clicktp.Size = UDim2.new(0, 106, 0, 34)
  105. clicktp.Font = Enum.Font.SourceSans
  106. clicktp.Text = "Click tp"
  107. clicktp.TextColor3 = Color3.fromRGB(0, 0, 255)
  108. clicktp.TextSize = 34.000
  109. openmenu.Name = "open menu"
  110. openmenu.Parent = ScreenGui
  111. openmenu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  112. openmenu.Position = UDim2.new(0.00368776894, 0, 0.391452998, 0)
  113. openmenu.Size = UDim2.new(0, 100, 0, 58)
  114. openmenu.Visible = false
  115. clicktp.MouseButton1Click:Connect(function()
  116. if clicktpactive then
  117. clicktpactive = false
  118. elseif not clicktpactive then
  119. clicktpactive = true
  120. end
  121. end)
  122.  
  123. openmenubutton.Name = "open menu button"
  124. openmenubutton.Parent = openmenu
  125. openmenubutton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  126. openmenubutton.Size = UDim2.new(0, 100, 0, 58)
  127. openmenubutton.Font = Enum.Font.SourceSans
  128. openmenubutton.Text = "Open"
  129. openmenubutton.TextColor3 = Color3.fromRGB(0, 0, 255)
  130. openmenubutton.TextSize = 35.000
  131. openmenubutton.MouseButton1Click:Connect(function()
  132. menu.Visible = true
  133. openmenu.Visible = false
  134. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement