KaySeey

Location Gui

Jun 30th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local a = Instance.new("ScreenGui")
  5. local WayPointsFrame = Instance.new("Frame")
  6. local Name = Instance.new("TextLabel")
  7. local ShowLocation = Instance.new("TextLabel")
  8. local Copy = Instance.new("TextButton")
  9. local Close = Instance.new("TextButton")
  10. local Status = Instance.new("TextLabel")
  11. --Properties:
  12. a.Name = "a"
  13. a.Parent = game.CoreGui
  14. a.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. WayPointsFrame.Name = "WayPointsFrame "
  17. WayPointsFrame.Parent = a
  18. WayPointsFrame.Active = true
  19. WayPointsFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  20. WayPointsFrame.BorderSizePixel = 0
  21. WayPointsFrame.Position = UDim2.new(0.11105904, 0, 0.224539876, 0)
  22. WayPointsFrame.Size = UDim2.new(0, 314, 0, 188)
  23. WayPointsFrame.Draggable = true
  24.  
  25. Name.Name = "Name"
  26. Name.Parent = WayPointsFrame
  27. Name.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  28. Name.BorderSizePixel = 0
  29. Name.Size = UDim2.new(0, 313, 0, 29)
  30. Name.Font = Enum.Font.Cartoon
  31. Name.Text = "Show Location"
  32. Name.TextColor3 = Color3.new(1, 1, 1)
  33. Name.TextSize = 16
  34.  
  35. ShowLocation.Name = "ShowLocation"
  36. ShowLocation.Parent = WayPointsFrame
  37. ShowLocation.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  38. ShowLocation.BorderSizePixel = 0
  39. ShowLocation.Position = UDim2.new(0.122699387, 0, 0.265957445, 0)
  40. ShowLocation.Size = UDim2.new(0, 246, 0, 41)
  41. ShowLocation.Font = Enum.Font.Cartoon
  42. ShowLocation.Text = "Current Location "
  43. ShowLocation.TextColor3 = Color3.new(1, 1, 1)
  44. ShowLocation.TextSize = 16
  45.  
  46. Copy.Name = "Copy"
  47. Copy.Parent = WayPointsFrame
  48. Copy.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  49. Copy.BorderSizePixel = 0
  50. Copy.Position = UDim2.new(0.242331281, 0, 0.574468076, 0)
  51. Copy.Size = UDim2.new(0, 168, 0, 37)
  52. Copy.Font = Enum.Font.Cartoon
  53. Copy.Text = "Copy"
  54. Copy.TextColor3 = Color3.new(1, 1, 1)
  55. Copy.TextSize = 16
  56.  
  57. Close.Name = "Close"
  58. Close.Parent = WayPointsFrame
  59. Close.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  60. Close.BorderSizePixel = 0
  61. Close.Position = UDim2.new(0.932515323, 0, 0, 0)
  62. Close.Size = UDim2.new(0, 21, 0, 21)
  63. Close.Font = Enum.Font.SciFi
  64. Close.Text = "X"
  65. Close.TextColor3 = Color3.new(1, 1, 1)
  66. Close.TextSize = 14
  67. Close.MouseButton1Down:connect(function()
  68. a:Destroy()
  69. end)
  70.  
  71. Status.Name = "Status"
  72. Status.Parent = WayPointsFrame
  73. Status.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
  74. Status.BackgroundTransparency = 1
  75. Status.BorderSizePixel = 0
  76. Status.Position = UDim2.new(0.297546029, 0, 0.861702144, 0)
  77. Status.Size = UDim2.new(0, 132, 0, 26)
  78. Status.Font = Enum.Font.Cartoon
  79. Status.Text = " Status : "
  80. Status.TextColor3 = Color3.new(1, 1, 1)
  81. Status.TextSize = 16
  82. Status.TextXAlignment = Enum.TextXAlignment.Left
  83. -- Scripts
  84. pausehumcheck = false
  85.  
  86. function round(num, numDecimalPlaces)
  87. local mult = 10^(numDecimalPlaces or 0)
  88. return math.floor(num * mult + 0.5) / mult
  89. end
  90.  
  91. -- Status
  92. local function setStatus(txt)
  93. Status.Text = " Status : "..txt
  94. end
  95.  
  96. spawn (function()
  97. while true do
  98. if not pausehumcheck then
  99. local player = game:GetService'Players'.LocalPlayer
  100. local character = player.Character or player.CharacterAdded:wait()
  101. local head = character:WaitForChild'Head'
  102. local hum = player.Character.HumanoidRootPart
  103. LocationX = round(hum.Position.x, 1)
  104. LocationY = round(hum.Position.y, 1)
  105. LocationZ = round(hum.Position.z, 1)
  106. ShowLocation.Text = LocationX..", "..LocationY..", "..LocationZ
  107. end
  108. wait(0.5)
  109. end
  110. end)
  111.  
  112. -- Copy Position
  113. Copy.MouseButton1Down:connect(function()
  114. toclipboard(ShowLocation.Text)
  115. print("Copied: " ..ShowLocation.Text)
  116. setStatus("Copied!")
  117. wait(2)
  118. setStatus("")
  119. end)
Advertisement
Add Comment
Please, Sign In to add comment