Advertisement
RobuxGenerate

Fall Block

May 16th, 2022
545
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local FFFEEEE = Instance.new("ScreenGui")
  7. local TRaTTRF = Instance.new("Frame")
  8. local Pages1 = Instance.new("Frame")
  9. local Stage1 = Instance.new("TextButton")
  10. local Stage2 = Instance.new("TextButton")
  11. local Stage3 = Instance.new("TextButton")
  12. local Stage4 = Instance.new("TextButton")
  13. local Page1 = Instance.new("TextButton")
  14. local Pages2 = Instance.new("Frame")
  15. local DestroyAll = Instance.new("TextButton")
  16. local Speed = Instance.new("TextBox")
  17. local ToggleSpeed = Instance.new("TextButton")
  18. local Stage5 = Instance.new("TextButton")
  19. local CloseF = Instance.new("TextButton")
  20.  
  21. --Properties:
  22.  
  23. FFFEEEE.Name = "FFFEEEE"
  24. FFFEEEE.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25. FFFEEEE.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26. FFFEEEE.ResetOnSpawn = false
  27. TRaTTRF.Name = "TRaTTRF"
  28. TRaTTRF.Parent = FFFEEEE
  29. TRaTTRF.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  30. TRaTTRF.Position = UDim2.new(0.032822758, 0, 0.0796568617, 0)
  31. TRaTTRF.Size = UDim2.new(0, 284, 0, 264)
  32. TRaTTRF.Active = true
  33. TRaTTRF.Draggable = true
  34. Pages1.Name = "Pages 1"
  35. Pages1.Parent = TRaTTRF
  36. Pages1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37. Pages1.Position = UDim2.new(0.21322675, 0, 0, 0)
  38. Pages1.Size = UDim2.new(0, 223, 0, 264)
  39. Pages1.Visible = false
  40.  
  41. Stage1.Name = "Stage 1"
  42. Stage1.Parent = Pages1
  43. Stage1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. Stage1.Position = UDim2.new(0.0611057915, 0, 0.0424708575, 0)
  45. Stage1.Size = UDim2.new(0, 200, 0, 50)
  46. Stage1.ZIndex = 999
  47. Stage1.Font = Enum.Font.FredokaOne
  48. Stage1.Text = "Destroy Stage 1"
  49. Stage1.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. Stage1.TextSize = 20.000
  51.  
  52. Stage2.Name = "Stage 2"
  53. Stage2.Parent = Pages1
  54. Stage2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55. Stage2.Position = UDim2.new(0.0611057915, 0, 0.292470872, 0)
  56. Stage2.Size = UDim2.new(0, 200, 0, 50)
  57. Stage2.ZIndex = 999
  58. Stage2.Font = Enum.Font.FredokaOne
  59. Stage2.Text = "Destroy Stage 2"
  60. Stage2.TextColor3 = Color3.fromRGB(0, 0, 0)
  61. Stage2.TextSize = 20.000
  62.  
  63. Stage3.Name = "Stage 3"
  64. Stage3.Parent = Pages1
  65. Stage3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  66. Stage3.Position = UDim2.new(0.0611057915, 0, 0.550046623, 0)
  67. Stage3.Size = UDim2.new(0, 200, 0, 50)
  68. Stage3.ZIndex = 999
  69. Stage3.Font = Enum.Font.FredokaOne
  70. Stage3.Text = "Destroy Stage 3"
  71. Stage3.TextColor3 = Color3.fromRGB(0, 0, 0)
  72. Stage3.TextSize = 20.000
  73.  
  74. Stage4.Name = "Stage 4"
  75. Stage4.Parent = Pages1
  76. Stage4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  77. Stage4.Position = UDim2.new(0.0611057915, 0, 0.784895122, 0)
  78. Stage4.Size = UDim2.new(0, 200, 0, 50)
  79. Stage4.ZIndex = 999
  80. Stage4.Font = Enum.Font.FredokaOne
  81. Stage4.Text = "Destroy Stage 4"
  82. Stage4.TextColor3 = Color3.fromRGB(0, 0, 0)
  83. Stage4.TextSize = 20.000
  84.  
  85. Page1.Name = "Page 1"
  86. Page1.Parent = TRaTTRF
  87. Page1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  88. Page1.Position = UDim2.new(0.0281690136, 0, 0.0416666679, 0)
  89. Page1.Size = UDim2.new(0, 45, 0, 41)
  90. Page1.Font = Enum.Font.SciFi
  91. Page1.Text = "Page 1"
  92. Page1.TextColor3 = Color3.fromRGB(0, 0, 0)
  93. Page1.TextSize = 14.000
  94.  
  95. Pages2.Name = "Pages 2"
  96. Pages2.Parent = TRaTTRF
  97. Pages2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. Pages2.Position = UDim2.new(0.212256685, 0, 0.00378787518, 0)
  99. Pages2.Size = UDim2.new(0, 223, 0, 263)
  100.  
  101. DestroyAll.Name = "Destroy All"
  102. DestroyAll.Parent = Pages2
  103. DestroyAll.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  104. DestroyAll.Position = UDim2.new(0.0493273549, 0, 0.247148275, 0)
  105. DestroyAll.Size = UDim2.new(0, 200, 0, 50)
  106. DestroyAll.ZIndex = 99999999
  107. DestroyAll.Font = Enum.Font.FredokaOne
  108. DestroyAll.Text = "Destory all Stages"
  109. DestroyAll.TextColor3 = Color3.fromRGB(0, 0, 0)
  110. DestroyAll.TextSize = 20.000
  111.  
  112. Speed.Name = "Speed"
  113. Speed.Parent = Pages2
  114. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  115. Speed.Position = UDim2.new(0.0493273549, 0, 0.49809885, 0)
  116. Speed.Size = UDim2.new(0, 200, 0, 50)
  117. Speed.Font = Enum.Font.FredokaOne
  118. Speed.PlaceholderText = "Speed"
  119. Speed.Text = ""
  120. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  121. Speed.TextSize = 20.000
  122.  
  123. Stage5.Name = "Stage 5"
  124. Stage5.Parent = Pages2
  125. Stage5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  126. Stage5.Position = UDim2.new(0.0493273549, 0, 0.0190114062, 0)
  127. Stage5.Size = UDim2.new(0, 200, 0, 50)
  128. Stage5.Font = Enum.Font.FredokaOne
  129. Stage5.Text = "Destroy Stage 5"
  130. Stage5.TextColor3 = Color3.fromRGB(0, 0, 0)
  131. Stage5.TextSize = 20.000
  132.  
  133. CloseF.Name = "Close F"
  134. CloseF.Parent = TRaTTRF
  135. CloseF.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. CloseF.Position = UDim2.new(0.0388719514, 0, 0.332107842, 0)
  137. CloseF.Size = UDim2.new(0, 45, 0, 50)
  138. CloseF.Font = Enum.Font.PermanentMarker
  139. CloseF.Text = "X"
  140. CloseF.TextColor3 = Color3.fromRGB(255, 0, 0)
  141. CloseF.TextSize = 14.000
  142.  
  143. local LPH = game.Players.LocalPlayer.Character.HumanoidRootPart
  144.  
  145. Page1.MouseButton1Click:Connect(function()
  146.     if Pages1.Visible == true and Pages2.Visible == false then
  147.         Pages1.Visible = false
  148.         Pages2.Visible = true
  149.         Page1.Text = "Page 2"
  150.     else
  151.         Pages1.Visible = true
  152.         Pages2.Visible = false
  153.         Page1.Text = "Page 1"
  154.     end
  155. end)
  156.  
  157. Stage1.MouseButton1Click:Connect(function()
  158.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map1:GetChildren()) do
  159.         firetouchinterest(LPH, v, 0)
  160.         firetouchinterest(LPH, v, 1)
  161.     end
  162. end)
  163.  
  164. Stage2.MouseButton1Click:Connect(function()
  165.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map2:GetChildren()) do
  166.         firetouchinterest(LPH, v, 0)
  167.         firetouchinterest(LPH, v, 1)
  168.     end
  169. end)
  170.  
  171. Stage3.MouseButton1Click:Connect(function()
  172.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map3:GetChildren()) do
  173.         firetouchinterest(LPH, v, 0)
  174.         firetouchinterest(LPH, v, 1)
  175.     end
  176. end)
  177.  
  178. Stage4.MouseButton1Click:Connect(function()
  179.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map4:GetChildren()) do
  180.         firetouchinterest(LPH, v, 0)
  181.         firetouchinterest(LPH, v, 1)
  182.     end
  183. end)
  184.  
  185. Stage5.MouseButton1Click:Connect(function()
  186.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map5:GetChildren()) do
  187.         firetouchinterest(LPH, v, 0)
  188.         firetouchinterest(LPH, v, 1)
  189.     end
  190. end)
  191.  
  192. DestroyAll.MouseButton1Click:Connect(function()
  193.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map1:GetChildren()) do
  194.         firetouchinterest(LPH, v, 0)
  195.         firetouchinterest(LPH, v, 1)
  196.     end
  197.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map2:GetChildren()) do
  198.         firetouchinterest(LPH, v, 0)
  199.         firetouchinterest(LPH, v, 1)
  200.     end
  201.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map3:GetChildren()) do
  202.         firetouchinterest(LPH, v, 0)
  203.         firetouchinterest(LPH, v, 1)
  204.     end
  205.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map4:GetChildren()) do
  206.         firetouchinterest(LPH, v, 0)
  207.         firetouchinterest(LPH, v, 1)
  208.     end
  209.     for i,v in pairs(game:GetService("Workspace").Maps.Map.MapModel.Map5:GetChildren()) do
  210.         firetouchinterest(LPH, v, 0)
  211.         firetouchinterest(LPH, v, 1)
  212.     end
  213. end)
  214.  
  215. Speed.FocusLost:Connect(function(p1)
  216.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Speed.Text
  217. end)
  218.  
  219. CloseF.MouseButton1Click:Connect(function()
  220.         FFFEEEE:Destroy()
  221. end)
Advertisement
RAW Paste Data Copied
Advertisement