Functions: mark the right path

Installation guide:
Copy the script from the button below.
Run any Injector (We recommend KRNL Injector)
Install it, insert the script and click execute
Enjoy it)
Thank you for using our website
Your script:
--// Services \\--
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")
--// Variables \\--
local Player = Players.LocalPlayer
local Tiles = Workspace:WaitForChild("Map"):WaitForChild("Game"):WaitForChild("Tiles")
local Original = Color3.fromRGB(198, 237, 255)
--// Remember Broken Glass \\--
Tiles.DescendantAdded:Connect(function(A_1)
if A_1.Name == "GlassShatter" then
-- Set Color
A_1.Parent.Color = Color3.new(1, 0, 0)
-- Get Lane
local Lane = A_1.Parent.Parent.Name
if Lane == "Right" then
Lane = "Left"
else
Lane = "Right"
end
-- Set Sibling Color
local Number = A_1.Parent.Name:match("%d+")
Tiles[Lane]["Tile" .. Number].Color = Color3.new(0, 1, 0)
end
end)
--// Remember Stepped Glass \\--
for _, A_1 in next, Tiles:GetDescendants() do
if A_1:IsA("TouchTransmitter") then
local Part = A_1.Parent
Part.Touched:Connect(function(A_2)
-- Check if already broken
if A_2.Transparency == 1 then
return
end
-- Timer
local Timer = tick() + 0.5
repeat
task.wait()
until tick() - Timer > 0 or Part.Transparency == 1
-- Get Lane
local Lane = A_1.Parent.Parent.Name
if Lane == "Right" then
Lane = "Left"
else
Lane = "Right"
end
-- Check if broke
if Part.Transparency == 1 then
-- Set Glass Color
Part.Color = Color3.new(1, 0, 0)
-- Set Sibling Color
local Number = A_1.Parent.Name:match("%d+")
Tiles[Lane]["Tile" .. Number].Color = Color3.new(0, 1, 0)
elseif A_2.Parent.Humanoid.Health == 100 then
-- Set Glass Color
Part.Color = Color3.new(0, 1, 0)
-- Set Sibling Color
local Number = A_1.Parent.Name:match("%d+")
Tiles[Lane]["Tile" .. Number].Color = Color3.new(1, 0, 0)
end
end)
end
end
--// UI Library \\--
local Library = loadstring(game:HttpGetAsync('https://raw.githubusercontent.com/Just-Egg-Salad/roblox-scripts/main/uwuware'))()
local Window = Library:CreateWindow("Memory by Ezpi")
Window:AddButton({
text = "Clear Colors",
callback = function()
for _, A_1 in next, Tiles:GetDescendants() do
if A_1:IsA("BasePart") then
A_1.Color = Original
end
end
end
})
Library:Init()
gukjgfhkkkkkkkj