R

99fail pink memory

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