Advertisement
EdisonD316

Roblox Blocks n' Props | Skip Hack

Jul 16th, 2023 (edited)
1,281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.93 KB | Gaming | 0 0
  1. -- Services:
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. UIS = game:GetService("UserInputService")
  5.  
  6. -- Instances:
  7.  
  8. local EndGUI = Instance.new("ScreenGui")
  9. local TextButton = Instance.new("TextButton")
  10. local UICorner = Instance.new("UICorner")
  11. local UIStroke = Instance.new("UIStroke")
  12. local BlueTeam = Instance.new("UIGradient")
  13. local RedTeam = Instance.new("UIGradient")
  14. local Neutral = Instance.new("UIGradient")
  15. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  16.  
  17. -- Color3 Values:
  18.  
  19. Red = Color3.new(0.768627, 0.156863, 0.109804)
  20. Blue = Color3.new(0.0509804, 0.411765, 0.67451)
  21. Yellow = Color3.new(0.960784, 0.803922, 0.188235)
  22. White = Color3.new(0.94902, 0.952941, 0.952941)
  23.  
  24. -- Win Block and Position:
  25.  
  26. Button = workspace.Map.Classic:FindFirstChild("Button")
  27. ButtonPos = Button.CFrame
  28.  
  29. -- Changes:
  30.  
  31. Player:GetPropertyChangedSignal("TeamColor"):Connect(function()
  32.    
  33.     if Player.TeamColor == BrickColor.new("Bright red") then
  34.  
  35.         RedTeam.Enabled = true
  36.         BlueTeam.Enabled = false
  37.         Neutral.Enabled = false
  38.  
  39.     elseif Player.TeamColor == BrickColor.new("Bright blue") then
  40.  
  41.         RedTeam.Enabled = false
  42.         BlueTeam.Enabled = true
  43.         Neutral.Enabled = false
  44.  
  45.     elseif Player.TeamColor == BrickColor.new("White") then
  46.  
  47.         RedTeam.Enabled = false
  48.         BlueTeam.Enabled = false
  49.         Neutral.Enabled = true
  50.  
  51.     else print("bruh wth")
  52.  
  53.     end
  54.  
  55.    
  56. end)
  57.  
  58. --Properties:
  59.  
  60. EndGUI.Name = "EndGUI"
  61. EndGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  62. EndGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  63. EndGUI.ResetOnSpawn = false
  64.  
  65. TextButton.Parent = EndGUI
  66. TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  67. TextButton.BackgroundTransparency = 0.550
  68. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  69. TextButton.BorderSizePixel = 0
  70. TextButton.Position = UDim2.new(0.0174650699, 0, 0.929723442, 0)
  71. TextButton.Size = UDim2.new(0.0998004004, 0, 0.0432027653, 0)
  72. TextButton.Font = Enum.Font.Cartoon
  73. TextButton.Text = "Automatic Skip"
  74. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. TextButton.TextScaled = true
  76. TextButton.TextSize = 14.000
  77. TextButton.TextWrapped = true
  78.  
  79. function Teleport()
  80.  
  81. HRP = workspace[Player.Name]:FindFirstChild("HumanoidRootPart")
  82.    
  83.     HRP.Anchored = true
  84.     HRP.CFrame = Button.CFrame
  85.     task.wait(.5)
  86.     HRP.Anchored = false
  87.    
  88.    
  89. end
  90.  
  91. function SystemMessage(Message, ColorValue)
  92.  
  93. game.StarterGui:SetCore("ChatMakeSystemMessage",
  94.     {
  95.         Text = Message,
  96.         Color = ColorValue,
  97.         Font = Enum.Font.Highway,
  98.         TextSize = 18,
  99.     })
  100.  
  101. end
  102.  
  103. Debounce = false
  104.  
  105. TextButton.MouseButton1Click:Connect(function()
  106.    
  107.     if Debounce == false then
  108.        
  109.         Debounce = true
  110.        
  111.         TextButton.Text = "Processing"
  112.         SystemMessage("Starting Automatic Skip", Blue)
  113.        
  114.         local Sound = Instance.new("Sound", workspace)
  115.         Sound.SoundId = "rbxassetid://2390695935"
  116.         Sound.Volume = .75
  117.         Sound:Play()
  118.         Sound.Ended:Connect(function()
  119.  
  120.             Sound:Destroy()
  121.  
  122.         end)
  123.        
  124.         while Player.TeamColor ~= BrickColor.new("Bright red") do
  125.  
  126.             if Player.TeamColor == BrickColor.new("Bright blue") then
  127.  
  128.                 Teleport()
  129.                 SystemMessage("Ended Game Automatically", Yellow)
  130.                
  131.             end
  132.  
  133.             wait(1)
  134.  
  135.         end
  136.        
  137.         TextButton.Text = "Done!"
  138.         SystemMessage("You are now Destroyer, Have fun knocking down noobs! 💀", Red)
  139.        
  140.         task.wait(.5)
  141.        
  142.         TextButton.Text = "Automatic Skip"
  143.        
  144.         Debounce = false
  145.        
  146.     else
  147.        
  148.         local Sound = Instance.new("Sound", workspace)
  149.         Sound.SoundId = "rbxassetid://2390698929"
  150.         Sound.Volume = .85
  151.         Sound:Play()
  152.         Sound.Ended:Connect(function()
  153.            
  154.             Sound:Destroy()
  155.            
  156.         end)
  157.        
  158.     end
  159.  
  160. end)
  161.  
  162. UICorner.CornerRadius = UDim.new(0.100000001, 8)
  163. UICorner.Parent = TextButton
  164.  
  165. UIStroke.Parent = TextButton
  166. UIStroke.Color = Color3.fromRGB(255, 255, 255)
  167. UIStroke.Thickness = 5.000
  168. UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  169.  
  170. BlueTeam.Enabled = false
  171. BlueTeam.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 50, 255)), ColorSequenceKeypoint.new(0.50, Color3.fromRGB(0, 115, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 50, 255))}
  172. BlueTeam.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 1.00), NumberSequenceKeypoint.new(0.50, 0.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  173. BlueTeam.Name = "BlueTeam"
  174. BlueTeam.Parent = UIStroke
  175.  
  176. RedTeam.Enabled = false
  177. RedTeam.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(100, 0, 0)), ColorSequenceKeypoint.new(0.50, Color3.fromRGB(200, 0, 0)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(100, 0, 0))}
  178. RedTeam.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 1.00), NumberSequenceKeypoint.new(0.50, 0.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  179. RedTeam.Name = "RedTeam"
  180. RedTeam.Parent = UIStroke
  181.  
  182. Neutral.Enabled = false
  183. Neutral.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(100, 100, 100)), ColorSequenceKeypoint.new(0.50, Color3.fromRGB(200, 200, 200)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(100, 100, 100))}
  184. Neutral.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 1.00), NumberSequenceKeypoint.new(0.50, 0.00), NumberSequenceKeypoint.new(1.00, 1.00)}
  185. Neutral.Name = "Neutral"
  186. Neutral.Parent = UIStroke
  187.  
  188. -- Startup:
  189.  
  190. BlueTeam.Enabled = false
  191. RedTeam.Enabled = false
  192. Neutral.Enabled = false
  193.  
  194. if Player.TeamColor == BrickColor.new("Bright red") then
  195.  
  196.     RedTeam.Enabled = true
  197.  
  198. elseif Player.TeamColor == BrickColor.new("Bright blue") then
  199.  
  200.     BlueTeam.Enabled = true
  201.  
  202. elseif Player.TeamColor == BrickColor.new("White") then
  203.  
  204.     Neutral.Enabled = true
  205.  
  206. else print("bruh wth")
  207.  
  208. end
  209.  
  210.  
  211. UIAspectRatioConstraint.Parent = TextButton
  212. UIAspectRatioConstraint.AspectRatio = 4.000
  213.  
  214. -- Scripts:
  215.  
  216. local function TGGTG_script() -- Stroke
  217.     local script = Instance.new('LocalScript', UIStroke)
  218.    
  219.     while true do
  220.        
  221.         local G1 = script.Parent:WaitForChild("RedTeam")
  222.         local G2 = script.Parent:WaitForChild("BlueTeam")
  223.         local G3 = script.Parent:WaitForChild("Neutral")
  224.  
  225.         G1.Rotation += 1
  226.         G2.Rotation += 1
  227.         G3.Rotation += 1
  228.  
  229.         task.wait()
  230.        
  231.     end
  232.    
  233. end
  234.  
  235. coroutine.wrap(TGGTG_script)()
  236.  
  237. local function TGGTC_script() -- TextButton.TextColor
  238.     local script = Instance.new('LocalScript', TextButton)
  239.  
  240.     Box = script.Parent
  241.    
  242.     while true do
  243.        
  244.         for o = 255, 100, -10 do
  245.            
  246.             Box.TextColor3 = Color3.fromRGB(255,o,o)
  247.             wait(.05)
  248.            
  249.         end
  250.        
  251.         for o = 100, 255, 10 do
  252.    
  253.             Box.TextColor3 = Color3.fromRGB(255,o,o)
  254.             wait(.05)
  255.    
  256.         end
  257.        
  258.     end
  259. end
  260.  
  261. UIS.InputBegan:Connect(function(Input)
  262.    
  263.     if Input.KeyCode == Enum.KeyCode.E then
  264.        
  265.         if Player.TeamColor == BrickColor.new("Bright blue") then
  266.            
  267.             local Sound = Instance.new("Sound", workspace)
  268.             Sound.SoundId = "rbxassetid://2390686285"
  269.             Sound.Volume = .75
  270.             Sound:Play()
  271.             Sound.Ended:Connect(function()
  272.                
  273.                 Sound:Destroy()
  274.                
  275.             end)
  276.            
  277.             Teleport()
  278.             SystemMessage('Teleported with "E" key', White)
  279.            
  280.         end
  281.        
  282.     end
  283.    
  284. end)
  285.  
  286. coroutine.wrap(TGGTC_script)()
Tags: #roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement