Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Simple Gui Script by Dat Boi for TC3, pretty easy to make so wont hide the code.
- Gui to script by darkelementallord was used, hence the messy code.
- I've added notes to anything I've personally added, feel free to check them out.
- --]]
- -- Start of Gui to Script Creation by darkelementallord
- local NewGuiPart1 = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- NewGuiPart1.Name = "UI Workspace"
- -------
- local NewGuiPart2 = Instance.new("Frame")
- NewGuiPart2.Active = true
- NewGuiPart2.BackgroundColor3 = Color3.new(0.796079, 0.796079, 0.796079)
- NewGuiPart2.Position = UDim2.new(0, 610, 0, 410)
- NewGuiPart2.Size = UDim2.new(0, 450, 0, 110)
- NewGuiPart2.Draggable = true
- NewGuiPart2.Parent = NewGuiPart1
- -------
- local NewGuiPart3 = Instance.new("TextLabel")
- NewGuiPart3.Active = true
- NewGuiPart3.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- NewGuiPart3.Size = UDim2.new(0, 90, 0, 20)
- NewGuiPart3.Font = Enum.Font.Legacy
- NewGuiPart3.FontSize = Enum.FontSize.Size8
- NewGuiPart3.Text = "Values"
- NewGuiPart3.Parent = NewGuiPart2
- -------
- local NewGuiPart4 = Instance.new("TextLabel")
- NewGuiPart4.Active = true
- NewGuiPart4.BackgroundColor3 = Color3.new(0.647059, 0.443137, 0.443137)
- NewGuiPart4.Position = UDim2.new(0, 90, 0, 0)
- NewGuiPart4.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart4.Font = Enum.Font.Legacy
- NewGuiPart4.FontSize = Enum.FontSize.Size8
- NewGuiPart4.Text = "Red"
- NewGuiPart4.Parent = NewGuiPart2
- -------
- local redcash = Instance.new("TextLabel")
- redcash.Active = true
- redcash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- redcash.Position = UDim2.new(0, 100, 0, 30)
- redcash.Size = UDim2.new(0, 40, 0, 20)
- redcash.Font = Enum.Font.Legacy
- redcash.FontSize = Enum.FontSize.Size8
- redcash.Text = "redcash"
- redcash.Parent = NewGuiPart2
- -------
- local NewGuiPart6 = Instance.new("TextLabel")
- NewGuiPart6.Active = true
- NewGuiPart6.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- NewGuiPart6.Position = UDim2.new(0, 330, 0, 0)
- NewGuiPart6.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart6.Font = Enum.Font.Legacy
- NewGuiPart6.FontSize = Enum.FontSize.Size8
- NewGuiPart6.Text = "Black"
- NewGuiPart6.Parent = NewGuiPart2
- -------
- local NewGuiPart7 = Instance.new("TextLabel")
- NewGuiPart7.Active = true
- NewGuiPart7.BackgroundColor3 = Color3.new(0.639216, 0.647059, 0.47451)
- NewGuiPart7.Position = UDim2.new(0, 270, 0, 0)
- NewGuiPart7.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart7.Font = Enum.Font.Legacy
- NewGuiPart7.FontSize = Enum.FontSize.Size8
- NewGuiPart7.Text = "Yellow"
- NewGuiPart7.Parent = NewGuiPart2
- -------
- local NewGuiPart8 = Instance.new("TextLabel")
- NewGuiPart8.Active = true
- NewGuiPart8.BackgroundColor3 = Color3.new(0.443137, 0.647059, 0.462745)
- NewGuiPart8.Position = UDim2.new(0, 150, 0, 0)
- NewGuiPart8.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart8.Font = Enum.Font.Legacy
- NewGuiPart8.FontSize = Enum.FontSize.Size8
- NewGuiPart8.Text = "Green"
- NewGuiPart8.Parent = NewGuiPart2
- -------
- local NewGuiPart9 = Instance.new("TextLabel")
- NewGuiPart9.Active = true
- NewGuiPart9.BackgroundColor3 = Color3.new(0.647059, 0.458824, 0.639216)
- NewGuiPart9.Position = UDim2.new(0, 390, 0, 0)
- NewGuiPart9.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart9.Font = Enum.Font.Legacy
- NewGuiPart9.FontSize = Enum.FontSize.Size8
- NewGuiPart9.Text = "Purple"
- NewGuiPart9.Parent = NewGuiPart2
- -------
- local NewGuiPart10 = Instance.new("TextLabel")
- NewGuiPart10.Active = true
- NewGuiPart10.BackgroundColor3 = Color3.new(0.713726, 0.713726, 0.713726)
- NewGuiPart10.Position = UDim2.new(0, 0, 0, 70)
- NewGuiPart10.Size = UDim2.new(0, 90, 0, 20)
- NewGuiPart10.Font = Enum.Font.Legacy
- NewGuiPart10.FontSize = Enum.FontSize.Size8
- NewGuiPart10.Text = "Cash Per Min"
- NewGuiPart10.Parent = NewGuiPart2
- -------
- local yellowmin = Instance.new("TextLabel")
- yellowmin.Active = true
- yellowmin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- yellowmin.Position = UDim2.new(0, 280, 0, 70)
- yellowmin.Size = UDim2.new(0, 40, 0, 20)
- yellowmin.Font = Enum.Font.Legacy
- yellowmin.FontSize = Enum.FontSize.Size8
- yellowmin.Text = "yellowmin"
- yellowmin.Parent = NewGuiPart2
- -------
- local redmin = Instance.new("TextLabel")
- redmin.Active = true
- redmin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- redmin.Position = UDim2.new(0, 100, 0, 70)
- redmin.Size = UDim2.new(0, 40, 0, 20)
- redmin.Font = Enum.Font.Legacy
- redmin.FontSize = Enum.FontSize.Size8
- redmin.Text = "redmin"
- redmin.Parent = NewGuiPart2
- -------
- local puplemin = Instance.new("TextLabel")
- puplemin.Active = true
- puplemin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- puplemin.Position = UDim2.new(0, 400, 0, 70)
- puplemin.Size = UDim2.new(0, 40, 0, 20)
- puplemin.Font = Enum.Font.Legacy
- puplemin.FontSize = Enum.FontSize.Size8
- puplemin.Text = "purplemin"
- puplemin.Parent = NewGuiPart2
- -------
- local yellowcash = Instance.new("TextLabel")
- yellowcash.Active = true
- yellowcash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- yellowcash.Position = UDim2.new(0, 280, 0, 30)
- yellowcash.Size = UDim2.new(0, 40, 0, 20)
- yellowcash.Font = Enum.Font.Legacy
- yellowcash.FontSize = Enum.FontSize.Size8
- yellowcash.Text = "yellowcash"
- yellowcash.Parent = NewGuiPart2
- -------
- local bluecash = Instance.new("TextLabel")
- bluecash.Active = true
- bluecash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- bluecash.Position = UDim2.new(0, 220, 0, 30)
- bluecash.Size = UDim2.new(0, 40, 0, 20)
- bluecash.Font = Enum.Font.Legacy
- bluecash.FontSize = Enum.FontSize.Size8
- bluecash.Text = "bluecash"
- bluecash.Parent = NewGuiPart2
- -------
- local blackmin = Instance.new("TextLabel")
- blackmin.Active = true
- blackmin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- blackmin.Position = UDim2.new(0, 340, 0, 70)
- blackmin.Size = UDim2.new(0, 40, 0, 20)
- blackmin.Font = Enum.Font.Legacy
- blackmin.FontSize = Enum.FontSize.Size8
- blackmin.Text = "blackmin"
- blackmin.Parent = NewGuiPart2
- -------
- local NewGuiPart17 = Instance.new("TextLabel")
- NewGuiPart17.Active = true
- NewGuiPart17.BackgroundColor3 = Color3.new(0.705882, 0.701961, 0.713726)
- NewGuiPart17.Position = UDim2.new(0, 0, 0, 30)
- NewGuiPart17.Size = UDim2.new(0, 90, 0, 20)
- NewGuiPart17.Font = Enum.Font.Legacy
- NewGuiPart17.FontSize = Enum.FontSize.Size8
- NewGuiPart17.Text = "Cash"
- NewGuiPart17.Parent = NewGuiPart2
- -------
- local blackcash = Instance.new("TextLabel")
- blackcash.Active = true
- blackcash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- blackcash.Position = UDim2.new(0, 340, 0, 30)
- blackcash.Size = UDim2.new(0, 40, 0, 20)
- blackcash.Font = Enum.Font.Legacy
- blackcash.FontSize = Enum.FontSize.Size8
- blackcash.Text = "blackcash"
- blackcash.Parent = NewGuiPart2
- -------
- local purplecash = Instance.new("TextLabel")
- purplecash.Active = true
- purplecash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- purplecash.Position = UDim2.new(0, 400, 0, 30)
- purplecash.Size = UDim2.new(0, 40, 0, 20)
- purplecash.Font = Enum.Font.Legacy
- purplecash.FontSize = Enum.FontSize.Size8
- purplecash.Text = "purplecash"
- purplecash.Parent = NewGuiPart2
- -------
- local bluemin = Instance.new("TextLabel")
- bluemin.Active = true
- bluemin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- bluemin.Position = UDim2.new(0, 220, 0, 70)
- bluemin.Size = UDim2.new(0, 40, 0, 20)
- bluemin.Font = Enum.Font.Legacy
- bluemin.FontSize = Enum.FontSize.Size8
- bluemin.Text = "bluemin"
- bluemin.Parent = NewGuiPart2
- -------
- local greenmin = Instance.new("TextLabel")
- greenmin.Active = true
- greenmin.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- greenmin.Position = UDim2.new(0, 160, 0, 70)
- greenmin.Size = UDim2.new(0, 40, 0, 20)
- greenmin.Font = Enum.Font.Legacy
- greenmin.FontSize = Enum.FontSize.Size8
- greenmin.Text = "greenmin"
- greenmin.Parent = NewGuiPart2
- -------
- local greencash = Instance.new("TextLabel")
- greencash.Active = true
- greencash.BackgroundColor3 = Color3.new(0.478431, 0.647059, 0.45098)
- greencash.Position = UDim2.new(0, 160, 0, 30)
- greencash.Size = UDim2.new(0, 40, 0, 20)
- greencash.Font = Enum.Font.Legacy
- greencash.FontSize = Enum.FontSize.Size8
- greencash.Text = "greencash"
- greencash.Parent = NewGuiPart2
- -------
- local NewGuiPart23 = Instance.new("TextLabel")
- NewGuiPart23.Active = true
- NewGuiPart23.BackgroundColor3 = Color3.new(0.443137, 0.470588, 0.647059)
- NewGuiPart23.Position = UDim2.new(0, 210, 0, 0)
- NewGuiPart23.Size = UDim2.new(0, 60, 0, 20)
- NewGuiPart23.Font = Enum.Font.Legacy
- NewGuiPart23.FontSize = Enum.FontSize.Size8
- NewGuiPart23.Text = "Blue"
- NewGuiPart23.Parent = NewGuiPart2
- -------
- local NewGuiPart24 = Instance.new("TextLabel")
- NewGuiPart24.Active = true
- NewGuiPart24.BackgroundColor3 = Color3.new(0.647059, 0.647059, 0.647059)
- NewGuiPart24.Position = UDim2.new(0, 390, 0, 100)
- NewGuiPart24.Size = UDim2.new(0, 70, 0, 20)
- NewGuiPart24.Font = Enum.Font.Legacy
- NewGuiPart24.FontSize = Enum.FontSize.Size8
- NewGuiPart24.Text = "By Dat Boi"
- NewGuiPart24.Parent = NewGuiPart2
- -- End of Gui to Script Creation by darkelementallord
- -- This part is to make my life easier, I'm giving each path (the right part) a variable (the left part).
- red = game.Workspace.TeamSettings["Bright red"]
- green = game.Workspace.TeamSettings["Bright green"]
- blue = game.Workspace.TeamSettings["Bright blue"]
- yellow = game.Workspace.TeamSettings["Bright yellow"]
- purple = game.Workspace.TeamSettings["Bright violet"]
- black = game.Workspace.TeamSettings.Black
- while true do wait(0.1) -- This tells it to do everything between this and "end" every 0.1 seconds.
- -- The reason I'm doing this is to make my life even easier, this isn't required but I'm gonna do it anyway.
- blackvar = black.Cash.Value
- redvar = red.Cash.Value
- yellowvar = yellow.Cash.Value
- greenvar = green.Cash.Value
- purplevar = purple.Cash.Value
- bluevar = blue.Cash.Value
- -- Setting up the values to the GUI using .sub to avoid .349293 stuff
- greencash.Text = math.floor(greenvar)
- yellowcash.Text = math.floor(yellowvar)
- redcash.Text = math.floor(redvar)
- purplecash.Text = math.floor(purplevar)
- bluecash.Text = math.floor(bluevar)
- blackcash.Text = math.floor(bluevar)
- -- This shouldn't need sub you don't get to many .'s if any
- greenmin.Text = green.CashPerMinute.Value
- redmin.Text = red.CashPerMinute.Value
- blackmin.Text = black.CashPerMinute.Value
- bluemin.Text = blue.CashPerMinute.Value
- yellowmin.Text = yellow.CashPerMinute.Value
- puplemin.Text = purple.CashPerMinute.Value
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement