hackerslayercohen11

99% will fail script *improoved*

Jan 12th, 2022 (edited)
10,496
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.11 KB | None | 1 0
  1. -- what this this script does is it remembers what has been stepped on and shows you if
  2. -- it is safe to stand on, i have improoved it by teleporting your player to each Tile so
  3. -- that the script can detect if it is safe or not
  4. -- speed the smaller the number the faster, 3 is reccomended
  5. local Value = 3
  6.  
  7. --// Services \\--
  8. local Workspace = game:GetService("Workspace")
  9. local Players = game:GetService("Players")
  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)
  15.  
  16. --// Remember Broken Glass \\--
  17. Tiles.DescendantAdded:Connect(function(A_1)
  18.     if A_1.Name == "GlassShatter" then
  19.         -- Set Color
  20.         A_1.Parent.Color = Color3.new(1, 0, 0)
  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 Sibling Color
  29.         local Number = A_1.Parent.Name:match("%d+")
  30.         Tiles[Lane]["Tile" .. Number].Color = Color3.new(0, 1, 0)
  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.             -- Check if already broken
  40.             if A_2.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 = A_1.Parent.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
  58.                 Part.Color = Color3.new(1, 0, 0)
  59.                 -- Set Sibling Color
  60.                 local Number = A_1.Parent.Name:match("%d+")
  61.                 Tiles[Lane]["Tile" .. Number].Color = Color3.new(0, 1, 0)
  62.             elseif A_2.Parent.Humanoid.Health == 100 then
  63.                 -- Set Glass Color
  64.                 Part.Color = Color3.new(0, 1, 0)
  65.                 -- Set Sibling Color
  66.                 local Number = A_1.Parent.Name:match("%d+")
  67.                 Tiles[Lane]["Tile" .. Number].Color = Color3.new(1, 0, 0)
  68.             end
  69.         end)
  70.     end
  71. end
  72.  
  73. --// UI Library \\--
  74. local Library = loadstring(game:HttpGetAsync('https://raw.githubusercontent.com/Just-Egg-Salad/roblox-scripts/main/uwuware'))()
  75. local Window = Library:CreateWindow("Memory by Ezpi")
  76. Window:AddButton({
  77.     text = "Clear Colors",
  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.  
  89.  
  90.  
  91. -- Instances:
  92.  
  93. local ScreenGui = Instance.new("ScreenGui")
  94. local main = Instance.new("Frame")
  95. local CheckTiles = Instance.new("TextButton")
  96. local TextLabel = Instance.new("TextLabel")
  97.  
  98. --Properties:
  99.  
  100. ScreenGui.Parent = game.CoreGui
  101. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  102.  
  103. main.Name = "main"
  104. main.Parent = ScreenGui
  105. main.BackgroundColor3 = Color3.fromRGB(66, 66, 66)
  106. main.Position = UDim2.new(0.159695819, 0, 0.344383061, 0)
  107. main.Size = UDim2.new(0, 219, 0, 120)
  108. main.Active = true
  109. main.Draggable = true
  110.  
  111. CheckTiles.Name = "CheckTiles"
  112. CheckTiles.Parent = main
  113. CheckTiles.BackgroundColor3 = Color3.fromRGB(33, 33, 33)
  114. CheckTiles.Position = UDim2.new(0.132420093, 0, 0.383333325, 0)
  115. CheckTiles.Size = UDim2.new(0, 159, 0, 29)
  116. CheckTiles.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  117. CheckTiles.Font = Enum.Font.SourceSans
  118. CheckTiles.Text = "Start""Tile checker by Doggo Exploits"
  119. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  120. TextLabel.TextScaled = true
  121. TextLabel.TextSize = 14.000
  122. TextLabel.TextWrapped = true
  123.  
Add Comment
Please, Sign In to add comment