scripterhaxer

Cords Scirpt

Feb 7th, 2023
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. --= Made by SoundInfinity =--
  2. --// Settings
  3.  
  4. --< Replace "setclipboard" with your exploits set clipboard function >--
  5. local _Copy = setclipboard or print;
  6.  
  7. --< Do you want to copy the coords as a script >--
  8. --< i.e: Root.Position = Vector3.new(0, 0, 0) >--
  9. local Format = true;
  10.  
  11. --// Create GUI
  12.  
  13. local Main = Instance.new("ScreenGui")
  14. local Frame = Instance.new("Frame")
  15. local CoordsName = Instance.new("TextLabel")
  16. local CopyCoords = Instance.new("TextButton")
  17. local Frame_2 = Instance.new("Frame")
  18. local FPSName = Instance.new("TextLabel")
  19. local Coords = Instance.new("TextLabel")
  20. local FPS = Instance.new("TextLabel")
  21.  
  22. --Properties:
  23. Main.Name = "Main"
  24. Main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25.  
  26. Frame.Parent = Main
  27. Frame.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  28. Frame.BackgroundTransparency = 0.20000000298023
  29. Frame.BorderSizePixel = 0
  30. Frame.Position = UDim2.new(0, 18, 0, 18)
  31. Frame.Size = UDim2.new(0, 270, 0, 100)
  32.  
  33. CoordsName.Name = "CoordsName"
  34. CoordsName.Parent = Frame
  35. CoordsName.BackgroundColor3 = Color3.new(1, 1, 1)
  36. CoordsName.BackgroundTransparency = 1
  37. CoordsName.BorderSizePixel = 0
  38. CoordsName.Position = UDim2.new(0.0333333351, 0, 0.0799999982, 0)
  39. CoordsName.Size = UDim2.new(0, 73, 0, 25)
  40. CoordsName.Font = Enum.Font.Gotham
  41. CoordsName.Text = "Vector3"
  42. CoordsName.TextColor3 = Color3.new(1, 1, 1)
  43. CoordsName.TextSize = 14
  44. CoordsName.TextXAlignment = Enum.TextXAlignment.Left
  45.  
  46. CopyCoords.Parent = Frame
  47. CopyCoords.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  48. CopyCoords.BorderSizePixel = 0
  49. CopyCoords.Position = UDim2.new(0.0333333351, 0, 0.629999995, 0)
  50. CopyCoords.Size = UDim2.new(0, 101, 0, 22)
  51. CopyCoords.Font = Enum.Font.Gotham
  52. CopyCoords.Text = "Copy Coords"
  53. CopyCoords.TextColor3 = Color3.new(1, 1, 1)
  54. CopyCoords.TextSize = 14
  55.  
  56. Frame_2.Parent = CopyCoords;
  57. Frame_2.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  58. Frame_2.BorderSizePixel = 0
  59. Frame_2.Position = UDim2.new(0, 0, 1, 0)
  60. Frame_2.Size = UDim2.new(1, 0, 0, 3)
  61.  
  62. FPSName.Name = "FPSName"
  63. FPSName.Parent = Frame
  64. FPSName.BackgroundColor3 = Color3.new(1, 1, 1)
  65. FPSName.BackgroundTransparency = 1
  66. FPSName.BorderSizePixel = 0
  67. FPSName.Position = UDim2.new(0.0333333351, 0, 0.330000013, 0)
  68. FPSName.Size = UDim2.new(0, 73, 0, 25)
  69. FPSName.Font = Enum.Font.Gotham
  70. FPSName.Text = "FPS"
  71. FPSName.TextColor3 = Color3.new(1, 1, 1)
  72. FPSName.TextSize = 14
  73. FPSName.TextXAlignment = Enum.TextXAlignment.Left
  74.  
  75. Coords.Name = "Coords"
  76. Coords.Parent = Frame
  77. Coords.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Coords.BackgroundTransparency = 1
  79. Coords.BorderSizePixel = 0
  80. Coords.Position = UDim2.new(0.303703696, 0, 0.0799999982, 0)
  81. Coords.Size = UDim2.new(0, 179, 0, 25)
  82. Coords.Font = Enum.Font.Gotham
  83. Coords.Text = "0, 0, 0"
  84. Coords.TextColor3 = Color3.new(0, 0.666667, 1)
  85. Coords.TextSize = 14
  86. Coords.TextXAlignment = Enum.TextXAlignment.Left
  87.  
  88. FPS.Name = "FPS"
  89. FPS.Parent = Frame
  90. FPS.BackgroundColor3 = Color3.new(1, 1, 1)
  91. FPS.BackgroundTransparency = 1
  92. FPS.BorderSizePixel = 0
  93. FPS.Position = UDim2.new(0.303703696, 0, 0.330000013, 0)
  94. FPS.Size = UDim2.new(0, 179, 0, 25)
  95. FPS.Font = Enum.Font.Gotham
  96. FPS.Text = "0"
  97. FPS.TextColor3 = Color3.new(0.819608, 0.286275, 0.286275)
  98. FPS.TextSize = 14
  99. FPS.TextXAlignment = Enum.TextXAlignment.Left
  100.  
  101. --// Parent GUI
  102. local plr = game:GetService('Players').LocalPlayer;
  103. Main.Parent = (pcall(function() return Instance.new('TextLabel', game.CoreGui);end) and game.CoreGui) or plr:WaitForChild("PlayerGui", 2)
  104.  
  105. --// Colors
  106. local Colors = {
  107. ['Red'] = Color3.new(209, 73, 73);
  108. ['Green'] = Color3.new(0, 170, 0);
  109. ['Yellow'] = Color3.new(255, 255, 0);
  110. };
  111.  
  112. --// Loop FPS and Coordinates
  113. game:GetService('RunService').Heartbeat:Connect(function()
  114. local FPS_Calc = math.floor(workspace:GetRealPhysicsFPS());
  115. FPS.Text = tostring(FPS_Calc);
  116.  
  117. if FPS_Calc >= 50 then --// Green - Great
  118. FPS.TextColor3 = Colors.Green;
  119.  
  120. elseif FPS_Calc >= 30 then --// Yellow - Good
  121. FPS.TextColor3 = Colors.Yellow
  122.  
  123. elseif FPS_Calc >= 0 then --// Red - Bad
  124. FPS.TextColor3 = Colors.Red;
  125. end;
  126.  
  127. if plr and plr.Character then
  128. local root = plr.Character:FindFirstChild'HumanoidRootPart';
  129. if root then
  130. local XYZ = {X=root.Position.X,Y=root.Position.Y,Z=root.Position.Z}
  131.  
  132. for i, v in next, XYZ do
  133. XYZ[i] = math.floor(v);
  134. end;
  135.  
  136. Coords.Text = ('%s, %s, %s'):format(XYZ.X, XYZ.Y, XYZ.Z)
  137. end;
  138. end;
  139. end);
  140.  
  141. CopyCoords.MouseButton1Down:Connect(function()
  142. local formatted_coords = ('CFrame.new(%s)'):format(Coords.Text);
  143.  
  144. if Format then
  145. formatted_coords = 'game:GetService\'Players\'.LocalPlayer.Character.HumanoidRootPart.CFrame = ' .. formatted_coords;
  146. _Copy(formatted_coords);
  147. else
  148. _Copy(formatted_coords);
  149. end;
  150.  
  151. end)
Advertisement
Add Comment
Please, Sign In to add comment