Palogist

Legends Of Speed GUI

Apr 1st, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. local LegendsOfSpeed = Instance.new("ScreenGui")
  2. local MainFrame = Instance.new("Frame")
  3. local Start2 = Instance.new("TextButton")
  4. local TextLabel = Instance.new("TextLabel")
  5. local Start1 = Instance.new("TextButton")
  6.  
  7. LegendsOfSpeed.Name = "Legends Of Speed"
  8. LegendsOfSpeed.Parent = game.CoreGui
  9. LegendsOfSpeed.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. MainFrame.Name = "MainFrame"
  12. MainFrame.Parent = LegendsOfSpeed
  13. MainFrame.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  14. MainFrame.BorderSizePixel = 0
  15. MainFrame.Position = UDim2.new(0.327545375, 0, 0.320388347, 0)
  16. MainFrame.Size = UDim2.new(0, 200, 0, 232)
  17. MainFrame.Active = true
  18. MainFrame.Draggable = true
  19.  
  20. Start2.Name = "Start 2"
  21. Start2.Parent = MainFrame
  22. Start2.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.87451)
  23. Start2.BorderSizePixel = 0
  24. Start2.Position = UDim2.new(0, 0, 0.633898318, 0)
  25. Start2.Size = UDim2.new(0, 200, 0, 50)
  26. Start2.Font = Enum.Font.Cartoon
  27. Start2.Text = "Start"
  28. Start2.TextColor3 = Color3.new(0, 0, 0)
  29. Start2.TextScaled = true
  30. Start2.TextSize = 14
  31. Start2.TextWrapped = true
  32. Start2.MouseButton1Click:connect(function()
  33. local Remote = game.ReplicatedStorage.rEvents['orbEvent']
  34.  
  35. local Arguments = {
  36. [1] = "collectOrb",
  37. [2] = "Red Orb",
  38. [3] = "City"
  39. }
  40.  
  41. while true do
  42. wait(0.01)
  43. Remote:FireServer(unpack(Arguments))
  44. end
  45. end)
  46.  
  47. TextLabel.Parent = MainFrame
  48. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  49. TextLabel.BackgroundTransparency = 1
  50. TextLabel.Position = UDim2.new(0, 0, -0.000248394907, 0)
  51. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  52. TextLabel.Font = Enum.Font.Cartoon
  53. TextLabel.Text = "Legends Of Speed"
  54. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  55. TextLabel.TextScaled = true
  56. TextLabel.TextSize = 14
  57. TextLabel.TextWrapped = true
  58.  
  59. Start1.Name = "Start 1"
  60. Start1.Parent = MainFrame
  61. Start1.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.87451)
  62. Start1.BorderSizePixel = 0
  63. Start1.Position = UDim2.new(0, 0, 0.308562219, 0)
  64. Start1.Size = UDim2.new(0, 200, 0, 50)
  65. Start1.Font = Enum.Font.Cartoon
  66. Start1.Text = "Start"
  67. Start1.TextColor3 = Color3.new(0, 0, 0)
  68. Start1.TextScaled = true
  69. Start1.TextSize = 14
  70. Start1.TextWrapped = true
  71. Start1.MouseButton1Click:connect(function()
  72. local children = workspace.Hoops:GetChildren()
  73. for i, child in ipairs(children) do
  74. if child.Name == "Hoop" then
  75. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  76. end
  77. end
  78. end)
Add Comment
Please, Sign In to add comment