Advertisement
Nova355killer

FPS COrds Etc

Apr 24th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 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 toclipboard 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:GetService("CoreGui")
  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.fromRGB(209, 73, 73);
  108. ['Green'] = Color3.fromRGB(0, 170, 0);
  109. ['Yellow'] = Color3.fromRGB(255, 255, 0);
  110. };
  111.  
  112.  
  113. local tws = game:GetService('TweenService');
  114.  
  115. local function ChangeTextColor(Object, Color)
  116. local twi = TweenInfo.new(.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out);
  117. local tw = tws:Create(Object, twi, { TextColor3 = Color });
  118. tw:Play();
  119.  
  120. return tw;
  121. end;
  122.  
  123. --// Loop FPS and Coordinates
  124. game:GetService('RunService').Heartbeat:Connect(function()
  125. local FPS_Calc = math.floor(workspace:GetRealPhysicsFPS());
  126. FPS.Text = tostring(FPS_Calc);
  127.  
  128. if FPS_Calc >= 50 then --// Green - Great
  129. ChangeTextColor(FPS, Colors.Green);
  130.  
  131. elseif FPS_Calc >= 30 then --// Yellow - Good
  132. ChangeTextColor(FPS, Colors.Yellow)
  133.  
  134. elseif FPS_Calc >= 0 then --// Red - Bad
  135. ChangeTextColor(FPS, Colors.Red);
  136. end;
  137.  
  138. if plr and plr.Character then
  139. local root = plr.Character:FindFirstChild'HumanoidRootPart';
  140. if root then
  141. local XYZ = {X=root.Position.X,Y=root.Position.Y,Z=root.Position.Z}
  142.  
  143. for i, v in next, XYZ do
  144. XYZ[i] = math.floor(v);
  145. end;
  146.  
  147. Coords.Text = ('%s, %s, %s'):format(XYZ.X, XYZ.Y, XYZ.Z)
  148. end;
  149. end;
  150. end);
  151.  
  152. CopyCoords.MouseButton1Down:Connect(function()
  153. local formatted_coords = ('CFrame.new(%s)'):format(Coords.Text);
  154.  
  155. if Format then
  156. formatted_coords = 'game:GetService\'Players\'.LocalPlayer.Character.HumanoidRootPart.CFrame = ' .. formatted_coords ..';';
  157. _Copy(formatted_coords);
  158. else
  159. _Copy(formatted_coords);
  160. end;
  161.  
  162. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement