Advertisement
SUUKIDIS_69

Script Bad find the markers GUI

Mar 6th, 2022
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local FindthemarkersGUI = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local MarkerESP = Instance.new("TextButton")
  9. local HEADER = Instance.new("TextLabel")
  10. local TPRANDOM = Instance.new("TextButton")
  11.  
  12. --Properties:
  13.  
  14. FindthemarkersGUI.Name = "Find the markers GUI"
  15. FindthemarkersGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. FindthemarkersGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. Frame.Parent = FindthemarkersGUI
  19. Frame.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  20. Frame.BorderSizePixel = 0
  21. Frame.Position = UDim2.new(0.260368675, 0, 0.296158612, 0)
  22. Frame.Size = UDim2.new(0, 106, 0, 98)
  23.  
  24. MarkerESP.Name = "Marker ESP"
  25. MarkerESP.Parent = Frame
  26. MarkerESP.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  27. MarkerESP.BorderSizePixel = 0
  28. MarkerESP.Position = UDim2.new(0, 0, 0.32872498, 0)
  29. MarkerESP.Size = UDim2.new(0, 104, 0, 28)
  30. MarkerESP.Font = Enum.Font.SourceSans
  31. MarkerESP.Text = "Marker ESP"
  32. MarkerESP.TextColor3 = Color3.fromRGB(255, 255, 255)
  33. MarkerESP.TextScaled = true
  34. MarkerESP.TextSize = 14.000
  35. MarkerESP.TextWrapped = true
  36.  
  37. HEADER.Name = "HEADER"
  38. HEADER.Parent = Frame
  39. HEADER.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  40. HEADER.BackgroundTransparency = 1.000
  41. HEADER.Size = UDim2.new(1, 0, 0.32872498, 0)
  42. HEADER.Font = Enum.Font.SourceSans
  43. HEADER.Text = "Find The Markers GUI"
  44. HEADER.TextColor3 = Color3.fromRGB(255, 255, 255)
  45. HEADER.TextScaled = true
  46. HEADER.TextSize = 14.000
  47. HEADER.TextWrapped = true
  48.  
  49. TPRANDOM.Name = "TPRANDOM"
  50. TPRANDOM.Parent = Frame
  51. TPRANDOM.BackgroundColor3 = Color3.fromRGB(93, 93, 93)
  52. TPRANDOM.BorderSizePixel = 0
  53. TPRANDOM.Position = UDim2.new(0.0094339624, 0, 0.705051124, 0)
  54. TPRANDOM.Size = UDim2.new(0, 104, 0, 28)
  55. TPRANDOM.Font = Enum.Font.SourceSans
  56. TPRANDOM.Text = "Teleport to random marker"
  57. TPRANDOM.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. TPRANDOM.TextScaled = true
  59. TPRANDOM.TextSize = 14.000
  60. TPRANDOM.TextWrapped = true
  61.  
  62. -- Scripts:
  63.  
  64. local function OGVDEV_fake_script() -- Frame.MakeDraggable
  65. local script = Instance.new('LocalScript', Frame)
  66.  
  67. frame = script.Parent
  68. frame.Draggable = true
  69. frame.Active = true
  70. frame.Selectable = true
  71. end
  72. coroutine.wrap(OGVDEV_fake_script)()
  73. local function EKFIWUG_fake_script() -- Frame.Buttons
  74. local script = Instance.new('LocalScript', Frame)
  75.  
  76. local MAIN = script.Parent
  77.  
  78. MAIN["Marker ESP"].MouseButton1Down:Connect(function()
  79. local Attach1 = Instance.new("Attachment")
  80. Attach1.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  81. for i,v in pairs(game.Workspace:GetChildren()) do
  82. if string.find(v.Name, "Marker") ~= nil then
  83. local attach2 = Instance.new("Attachment")
  84. attach2.Parent = v:FindFirstChildWhichIsA("Part")
  85. local line = Instance.new("Beam")
  86. line.Parent = v:FindFirstChildWhichIsA("Part")
  87. line.Attachment0 = Attach1
  88. line.Attachment1 = attach2
  89. line.FaceCamera = true
  90. line.Width0 = .1
  91. line.Width1 = .1
  92. end
  93. end
  94. end)
  95.  
  96. MAIN["TPRANDOM"].MouseButton1Down:Connect(function()
  97. local MarkerTable = {}
  98. for i,v in pairs(game.Workspace:GetChildren()) do
  99. if string.find(v.Name, "Marker") ~= nil then
  100. table.insert(MarkerTable, v)
  101. end
  102. end
  103. local e = 0
  104. for _ in pairs(MarkerTable) do e = e + 1; end
  105. local ran = math.random(1, e)
  106. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = MarkerTable[ran]:FindFirstChildWhichIsA("Part").CFrame
  107. end)
  108.  
  109. end
  110. coroutine.wrap(EKFIWUG_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement