Advertisement
TheRealAK47

CoordinateGui

Dec 18th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. local Hook = game.CoreGui.RobloxGui.TopBarContainer
  2. local Parent = Instance.new("Frame")
  3. local Find = Instance.new("TextButton")
  4. local Copy = Instance.new("TextButton")
  5. local Last = Instance.new("TextButton")
  6. local Cords = Instance.new("TextLabel")
  7.  
  8. Parent.Name = "main"
  9. Parent.Parent = Hook
  10. Parent.Position = UDim2.new(0.09, 0, -0, 0)
  11. Parent.Size = UDim2.new(0.3, 0, 0.035, 0)
  12. Parent.BackgroundColor3 = Color3.new(0.25, 0.25, 0.25)
  13. Parent.Transparency = 1
  14. Parent.AnchorPoint = Vector2.new(0,0)
  15.  
  16. Find.Name = "Find"
  17. Find.Parent = Parent
  18. Find.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  19. Find.Position = UDim2.new(0, 0, 0, 0)
  20. Find.Size = UDim2.new(0, 113, 0, 34)
  21. Find.Font = Enum.Font.Code
  22. Find.Text = "Find"
  23. Find.TextColor3 = Color3.new(0.1, 0.6, 1)
  24. Find.TextSize = 30
  25. Find.AnchorPoint = Vector2.new(0,0)
  26. Find.MouseButton1Down:Connect(function()
  27. pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  28. Cords.Text = tostring(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  29. end)
  30.  
  31. Copy.Name = "Copy"
  32. Copy.Parent = Parent
  33. Copy.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  34. Copy.Position = UDim2.new(0.2, 0, 0, 0)
  35. Copy.Size = UDim2.new(0, 113, 0, 34)
  36. Copy.Font = Enum.Font.Code
  37. Copy.Text = "Copy"
  38. Copy.TextColor3 = Color3.new(0.1, 0.6, 1)
  39. Copy.TextSize = 30
  40. Copy.AnchorPoint = Vector2.new(0,0)
  41. Copy.MouseButton1Down:Connect(function()
  42. setclipboard(Cords.Text)
  43. end)
  44.  
  45. Last.Name = "Last"
  46. Last.Parent = Parent
  47. Last.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
  48. Last.Position = UDim2.new(0.4, 0, 0, 0)
  49. Last.Size = UDim2.new(0, 113, 0, 34)
  50. Last.Font = Enum.Font.Code
  51. Last.Text = "Last"
  52. Last.TextColor3 = Color3.new(0.1, 0.6, 1)
  53. Last.TextSize = 30
  54. Last.AnchorPoint = Vector2.new(0,0)
  55. Last.MouseButton1Down:Connect(function()
  56. game.Players.LocalPlayer.character.HumanoidRootPart.CFrame = pos
  57. end)
  58.  
  59. Cords.Name = "Label"
  60. Cords.Parent = Parent
  61. Cords.BackgroundColor3 = Color3.new(1, 1, 1)
  62. Cords.BackgroundTransparency = 1
  63. Cords.Position = UDim2.new(0.6, 0, 0.05, 0)
  64. Cords.Size = UDim2.new(0, 600, 0, 32)
  65. Cords.Font = Enum.Font.Code
  66. Cords.Text = ""
  67. Cords.TextColor3 = Color3.new(0.1, 0.6, 1)
  68. Cords.TextScaled = true
  69. Cords.TextSize = 30
  70. Cords.TextWrapped = true
  71. Cords.AnchorPoint = Vector2.new(0,0)
  72.  
  73. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  74. if key == "z" then
  75. if Parent.Visible == true then Parent.Visible = false
  76. elseif
  77. Parent.Visible == false then Parent.Visible = true
  78. end
  79. end
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement