Advertisement
Vanihgol33

Brok Tower Script

Feb 20th, 2025
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.84 KB | None | 0 0
  1. local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  2.  
  3. local function updateCharacter(newCharacter) character = newCharacter humanoidRootPart = character:WaitForChild("HumanoidRootPart") end
  4.  
  5. player.CharacterAdded:Connect(updateCharacter)
  6.  
  7. local screenGui = Instance.new("ScreenGui") screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui")
  8.  
  9. local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 250, 0, 200) frame.Position = UDim2.new(0.3, 0, 0.3, 0) frame.BackgroundColor3 = Color3.new(0, 0, 0) frame.Active = true frame.Draggable = true frame.Parent = screenGui
  10.  
  11. local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 15) uiCorner.Parent = frame
  12.  
  13. local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(0, 200, 0, 30) textLabel.Position = UDim2.new(0.5, -100, 1, 10) textLabel.BackgroundTransparency = 1 textLabel.Text = "By Vanihgol333" textLabel.TextColor3 = Color3.new(1, 1, 1) textLabel.TextSize = 18 textLabel.Font = Enum.Font.SourceSansBold textLabel.Parent = frame
  14.  
  15. local function animateText() while true do for i = 0, 1, 0.05 do textLabel.TextTransparency = 1 - i task.wait(0.05) end task.wait(1) for i = 1, 0, -0.05 do textLabel.TextTransparency = 1 - i task.wait(0.05) end task.wait(1) end end
  16.  
  17. task.spawn(animateText)
  18.  
  19. local function createButton(text, position, callback) local button = Instance.new("TextButton") button.Size = UDim2.new(0, 100, 0, 30) button.Position = position button.BackgroundColor3 = Color3.fromRGB(0, 255, 0) button.Text = text button.Parent = frame button.MouseButton1Click:Connect(callback)
  20.  
  21. local btnCorner = Instance.new("UICorner")
  22. btnCorner.CornerRadius = UDim.new(0, 10)
  23. btnCorner.Parent = button
  24.  
  25. return button
  26.  
  27. end
  28.  
  29. local function teleportKakgem() if humanoidRootPart then local kakgem = game:GetService("Workspace"):FindFirstChild("BrookHavenMap") if kakgem then kakgem = kakgem:FindFirstChild("DivinBoard_Prank") if kakgem then kakgem = kakgem:FindFirstChild("Kakgem") if kakgem and kakgem:IsA("Part") then local originalPosition = kakgem.Position kakgem.Position = humanoidRootPart.Position + Vector3.new(0, 2, 0) task.wait(2) kakgem.Position = originalPosition end end end end end
  30.  
  31. local immortalityActive = false local immortalityButton local shelterZone
  32.  
  33. local function findShelterZone() local stages = game:GetService("Workspace"):FindFirstChild("Stages") if stages then local stageParts = stages:FindFirstChild("StageParts") if stageParts then local shelter = stageParts:FindFirstChild("Shelter") if shelter then return shelter:FindFirstChild("ShelterZone") end end end return nil end
  34.  
  35. local function toggleImmortality() immortalityActive = not immortalityActive
  36.  
  37. if immortalityActive then
  38.     immortalityButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  39.     task.spawn(function()
  40.         local originalPosition
  41.         while immortalityActive do
  42.             shelterZone = findShelterZone()
  43.             if shelterZone and humanoidRootPart then
  44.                 if not originalPosition then
  45.                     originalPosition = shelterZone.Position
  46.                 end
  47.                 shelterZone.Position = humanoidRootPart.Position + Vector3.new(0, 5, 0)
  48.             end
  49.             task.wait(0.1)
  50.         end
  51.         if shelterZone and originalPosition then
  52.             shelterZone.Position = originalPosition
  53.         end
  54.     end)
  55. else
  56.     immortalityButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  57. end
  58.  
  59. end
  60.  
  61. local catModeActive = false local catButton
  62.  
  63. local function findCatPart() return game:GetService("Workspace"):FindFirstChild("CatPart") end
  64.  
  65. local function toggleCatMode() catModeActive = not catModeActive
  66.  
  67. if catModeActive then
  68.     catButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  69.     task.spawn(function()
  70.         while catModeActive do
  71.             local catPart = findCatPart()
  72.             if catPart and catPart:IsA("Part") and humanoidRootPart then
  73.                 local forwardOffset = humanoidRootPart.CFrame.LookVector * 2
  74.                 local verticalOffset = Vector3.new(0, 1, 0)
  75.                 catPart.Position = humanoidRootPart.Position + forwardOffset + verticalOffset
  76.             end
  77.             task.wait(0.1)
  78.         end
  79.     end)
  80. else
  81.     catButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  82. end
  83.  
  84. end
  85.  
  86. local function teleportToVictory() if humanoidRootPart then humanoidRootPart.CFrame = CFrame.new(46.6008186340332, 343.2994384765625, 209.26109313964844) end end
  87.  
  88. createButton("Scream", UDim2.new(0, 10, 0, 10), teleportKakgem) immortalityButton = createButton("Immortality", UDim2.new(0, 10, 0, 50), toggleImmortality) catButton = createButton("Oii Aii Mode", UDim2.new(0, 10, 0, 90), toggleCatMode) createButton("Victory", UDim2.new(0, 10, 0, 130), teleportToVictory)
  89.  
  90.  
Tags: Brok Tower
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement