Idiotic Investing Script
- Topia CSH
- May 22, 2022
- 1 min read
local DevConsole = game:GetService("CoreGui"):WaitForChild("DevConsoleMaster")
local Window = DevConsole.DevConsoleWindow
local UI = Window.DevConsoleUI
local MainView = UI:WaitForChild("MainView")
local ClientLog = MainView:WaitForChild("ClientLog")
local GetHighest = function(...)
local HighestValue
for _, Value in next, ... do
if not HighestValue or Value > HighestValue then
HighestValue = Value
end
end
return HighestValue
end
local CPrint = function(...)
local Args = {...}
local TempColour = table.remove(Args)
local Colour
if typeof(TempColour) == "Color3" then
Colour = TempColour
else
Colour = Color3.fromRGB(255,255,255)
table.insert(Args, TempColour)
end
local CandidParts = {}
for _, Element in next, ClientLog:GetChildren() do
local Name = Element.Name
if Name:match("%d+") then
table.insert(CandidParts, tonumber(Element.Name))
end
end
local Expecting = GetHighest(CandidParts)
Expecting = Expecting and (Expecting + 1) or (2)
print(unpack(Args))
local ExpectedPart = ClientLog:WaitForChild(Expecting)
local MessagePart = ExpectedPart:FindFirstChild("msg")
if MessagePart then
MessagePart.TextColor3 = Colour
end
end
-- Script Made by diamonds
for i,v in pairs(game:GetService("ReplicatedStorage").PlayerInfo:GetDescendants()) do
if v.Name == "1" or v.Name == "2" or v.Name == "3" then
CPrint(v.Value, Color3.fromRGB(0,255,109))
wait()
end
end
zaza