Advertisement
Mil_Dev

Untitled

Nov 16th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. --[[
  2. Mil#7075
  3. --]]
  4. local coordgui = Instance.new("ScreenGui")
  5. local main = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local credit = Instance.new("TextLabel")
  8. local grab = Instance.new("TextButton")
  9. local copy = Instance.new("TextButton")
  10. local cords = Instance.new("TextLabel")
  11. --Properties:
  12. coordgui.Name = "coordgui"
  13. coordgui.Parent = game.CoreGui
  14.  
  15. main.Name = "main"
  16. main.Parent = coordgui
  17. main.BackgroundColor3 = Color3.new(65, 65, 65)
  18. main.Position = UDim2.new(0.352638364, 0, 0.405797124, 0)
  19. main.Size = UDim2.new(0, 228, 0, 142)
  20. main.Style = Enum.FrameStyle.DropShadow
  21. main.Active = true
  22. main.Draggable = true
  23.  
  24. title.Name = "title"
  25. title.Parent = main
  26. title.BackgroundColor3 = Color3.new(0, 0, 0)
  27. title.Position = UDim2.new(-0.0517418832, 0, -0.054933358, 0)
  28. title.Size = UDim2.new(0, 235, 0, 19)
  29. title.Font = Enum.Font.SciFi
  30. title.Text = "Coordinates Grabber Gui"
  31. title.TextColor3 = Color3.new(1, 1, 1)
  32. title.TextSize = 14
  33.  
  34. credit.Name = "credit"
  35. credit.Parent = main
  36. credit.BackgroundColor3 = Color3.new(0, 0, 0)
  37. credit.Position = UDim2.new(-0.0517418832, 0, 0.930982113, 0)
  38. credit.Size = UDim2.new(0, 235, 0, 19)
  39. credit.Font = Enum.Font.SciFi
  40. credit.Text = "Made By Mil#7075"
  41. credit.TextColor3 = Color3.new(1, 1, 1)
  42. credit.TextSize = 14
  43.  
  44. grab.Name = "grab"
  45. grab.Parent = main
  46. grab.BackgroundColor3 = Color3.new(0, 0, 0)
  47. grab.Position = UDim2.new(0.0381504558, 0, 0.600263834, 0)
  48. grab.Size = UDim2.new(0, 128, 0, 31)
  49. grab.Font = Enum.Font.SciFi
  50. grab.Text = "Grab Coordinates"
  51. grab.TextColor3 = Color3.new(1, 1, 1)
  52. grab.TextSize = 14
  53.  
  54. copy.Name = "copy"
  55. copy.Parent = main
  56. copy.BackgroundColor3 = Color3.new(0, 0, 0)
  57. copy.Position = UDim2.new(0.697107434, 0, 0.595215261, 0)
  58. copy.Size = UDim2.new(0, 52, 0, 32)
  59. copy.Font = Enum.Font.SciFi
  60. copy.Text = "Copy"
  61. copy.TextColor3 = Color3.new(1, 1, 1)
  62. copy.TextSize = 14
  63.  
  64. cords.Name = "cords"
  65. cords.Parent = main
  66. cords.BackgroundColor3 = Color3.new(0, 0, 0)
  67. cords.Position = UDim2.new(0.0420129336, 0, 0.199266031, 0)
  68. cords.Size = UDim2.new(0, 194, 0, 37)
  69. cords.Font = Enum.Font.SciFi
  70. cords.Text = ""
  71. cords.TextColor3 = Color3.new(1, 1, 1)
  72. cords.TextSize = 14
  73. -- Scripts:
  74. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  75.  
  76. grab.MouseButton1Down:Connect(function()
  77. cords.Text = tostring(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  78. wait(0.25)
  79. print(''..tostring(game.Players.LocalPlayer.Character.HumanoidRootPart.Position))
  80. end)
  81.  
  82. copy.MouseButton1Down:Connect(function()
  83. setclipboard(""..cords.Text)
  84. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement