R

99fail purple memory

public
rrixh Apr 27, 2024 Never 72
Clone
Plaintext 99fail.purplememory_lulaslollipop.xlsx 87 lines (80 loc) | 2.78 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
9
--// Variables \\--
10
local Player = Players.LocalPlayer
11
local Tiles = Workspace:WaitForChild("Map"):WaitForChild("Game"):WaitForChild("Tiles")
12
local Original = Color3.fromRGB(198, 237, 255) --normal kolor
13
14
--// Remember Broken Glass \\--
15
Tiles.DescendantAdded:Connect(function(A_1)
16
if A_1.Name == "GlassShatter" then
17
-- Set Color to Red
18
A_1.Parent.Color = RED
19
-- Get Lane
20
local Lane = A_1.Parent.Parent.Name
21
if Lane == "Right" then
22
Lane = "Left"
23
else
24
Lane = "Right"
25
end
26
-- set to purple
27
local Number = A_1.Parent.Name:match("%d+")
28
Tiles[Lane]["Tile" .. Number].Color = PURPLE
29
end
30
end)
31
32
--// Remember Stepped Glass \\--
33
for _, A_1 in next, Tiles:GetDescendants() do
34
if A_1:IsA("TouchTransmitter") then
35
local Part = A_1.Parent
36
Part.Touched:Connect(function(A_2)
37
-- xhexk if already broken
38
if Part.Transparency == 1 then
39
return
40
end
41
-- Timer
42
local Timer = tick() + 0.5
43
repeat
44
task.wait()
45
until tick() - Timer > 0 or Part.Transparency == 1
46
-- Get Lane
47
local Lane = Part.Parent.Name
48
if Lane == "Right" then
49
Lane = "Left"
50
else
51
Lane = "Right"
52
end
53
-- Check if broke
54
if Part.Transparency == 1 then
55
-- Set Glass Color to Red
56
Part.Color = RED
57
-- Set Sibling Color to Purple
58
local Number = Part.Name:match("%d+")
59
Tiles[Lane]["Tile" .. Number].Color = PURPLE
60
elseif A_2.Parent:FindFirstChild("Humanoid") and A_2.Parent.Humanoid.Health == 100 then
61
-- Set Glass Color to Purple
62
Part.Color = PURPLE
63
-- Set Sibling Color to Red
64
local Number = Part.Name:match("%d+")
65
Tiles[Lane]["Tile" .. Number].Color = RED
66
end
67
end)
68
end
69
end
70
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))()