Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- what this this script does is it remembers what has been stepped on and shows you if
- -- it is safe to stand on, i have improoved it by teleporting your player to each Tile so
- -- that the script can detect if it is safe or not
- -- speed the smaller the number the faster, 3 is reccomended
- local Value = 3
- --// 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()
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local CheckTiles = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(66, 66, 66)
- main.Position = UDim2.new(0.159695819, 0, 0.344383061, 0)
- main.Size = UDim2.new(0, 219, 0, 120)
- main.Active = true
- main.Draggable = true
- CheckTiles.Name = "CheckTiles"
- CheckTiles.Parent = main
- CheckTiles.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
- CheckTiles.Position = UDim2.new(0.132420093, 0, 0.383333325, 0)
- CheckTiles.Size = UDim2.new(0, 159, 0, 29)
- CheckTiles.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- CheckTiles.Font = Enum.Font.SourceSans
- CheckTiles.Text = "Start""Tile checker by Doggo Exploits"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
Add Comment
Please, Sign In to add comment