Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local LegendsOfSpeed = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Start2 = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Start1 = Instance.new("TextButton")
- LegendsOfSpeed.Name = "Legends Of Speed"
- LegendsOfSpeed.Parent = game.CoreGui
- LegendsOfSpeed.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = LegendsOfSpeed
- MainFrame.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.327545375, 0, 0.320388347, 0)
- MainFrame.Size = UDim2.new(0, 200, 0, 232)
- MainFrame.Active = true
- MainFrame.Draggable = true
- Start2.Name = "Start 2"
- Start2.Parent = MainFrame
- Start2.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.87451)
- Start2.BorderSizePixel = 0
- Start2.Position = UDim2.new(0, 0, 0.633898318, 0)
- Start2.Size = UDim2.new(0, 200, 0, 50)
- Start2.Font = Enum.Font.Cartoon
- Start2.Text = "Start"
- Start2.TextColor3 = Color3.new(0, 0, 0)
- Start2.TextScaled = true
- Start2.TextSize = 14
- Start2.TextWrapped = true
- Start2.MouseButton1Click:connect(function()
- local Remote = game.ReplicatedStorage.rEvents['orbEvent']
- local Arguments = {
- [1] = "collectOrb",
- [2] = "Red Orb",
- [3] = "City"
- }
- while true do
- wait(0.01)
- Remote:FireServer(unpack(Arguments))
- end
- end)
- TextLabel.Parent = MainFrame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 0, -0.000248394907, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "Legends Of Speed"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Start1.Name = "Start 1"
- Start1.Parent = MainFrame
- Start1.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.87451)
- Start1.BorderSizePixel = 0
- Start1.Position = UDim2.new(0, 0, 0.308562219, 0)
- Start1.Size = UDim2.new(0, 200, 0, 50)
- Start1.Font = Enum.Font.Cartoon
- Start1.Text = "Start"
- Start1.TextColor3 = Color3.new(0, 0, 0)
- Start1.TextScaled = true
- Start1.TextSize = 14
- Start1.TextWrapped = true
- Start1.MouseButton1Click:connect(function()
- local children = workspace.Hoops:GetChildren()
- for i, child in ipairs(children) do
- if child.Name == "Hoop" then
- child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end
- end
- end)
Add Comment
Please, Sign In to add comment