Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- 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(60,0, 100)
- -- 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(60,0,100)
- elseif A_2.Parent.Humanoid.Health == 100 then
- -- Set Glass Color
- Part.Color = Color3.new(60,0,100)
- -- 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 uwuRRIXH = loadstring(game:HttpGet("https://raw.githubusercontent.com/rrixh/uwuware/main/mobileware",true))();local lulaslollipop="lulaslollipop 🍭";
- local uwu=uwuRRIXH:CreateWindow[[Memory Skript]];
- uwu:AddButton({text = "Reset Kolors",
- callback = function()
- for _, A_1 in next, Tiles:GetDescendants() do
- if A_1:IsA[[BasePart]] then
- A_1.Color = Original
- end
- end
- end})
- uwu:AddFolder(lulaslollipop);
- uwuRRIXH:Init();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement