Advertisement
Honansik

Tower Of Misery GUI Script

Jan 25th, 2022
391
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local hook; hook = hookmetamethod(game, "__namecall", function(self, ...)
  2.     local method = getnamecallmethod()
  3.    
  4.     if self.Name == "CallFunction" and method == "InvokeServer" then
  5.         return
  6.     end
  7.    
  8.     return hook(self, ...)
  9. end)
  10.  
  11. local UILibrary = loadstring(game:HttpGet("https://raw.githubusercontent.com/VaultGitos/AbyssHub/main/uwuware.lua"))()
  12. local Window = UILibrary:CreateWindow("Tower Of Misery")
  13. local Main = Window:AddFolder('Main')
  14. Main:AddToggle({text = "God Mode", flag = "god_mode"})
  15. Main:AddToggle({text = "Lazer Collision", flag = "lazer_collision"})
  16. Main:AddToggle({text = "Auto Win", flag = "auto_win"})
  17. local Settings = UILibrary:CreateWindow("Settings")
  18. Settings:AddBind({text = "GUI Toggle", key = Enum.KeyCode.RightShift, callback = function()
  19.     UILibrary:Close()
  20. end})
  21. UILibrary:Init()
  22.  
  23. while task.wait() do
  24.     pcall(function()
  25.         if UILibrary.flags.auto_win then
  26.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.TopSection.Hallway.RewardDoor.CFrame * CFrame.new(-20, 0, 0)
  27.             firetouchinterest(game.Players.LocalPlayer.Character.PrimaryPart, workspace.TopSection.Hallway.RewardDoor, 0)
  28.             wait()
  29.             firetouchinterest(game.Players.LocalPlayer.Character.PrimaryPart, workspace.TopSection.Hallway.RewardDoor, 1)
  30.         end
  31.         if UILibrary.flags.god_mode then
  32.             for i, v in pairs(workspace:GetDescendants()) do
  33.                 if v.Name == "KillPart" then
  34.                     v.Name = "DisabledKillPart"
  35.                 end
  36.             end
  37.         else
  38.             for i, v in pairs(workspace:GetDescendants()) do
  39.                 if v.Name == "DisabledKillPart" then
  40.                     v.Name = "KillPart"
  41.                 end
  42.             end
  43.         end
  44.        
  45.         if UILibrary.flags.lazer_collision then
  46.             for i, v in pairs(workspace:GetDescendants()) do
  47.                 if v.Name == "Kill Part" then
  48.                     v.CanCollide = true
  49.                 end
  50.             end
  51.         else
  52.             for i, v in pairs(workspace:GetDescendants()) do
  53.                 if v.Name == "Kill Part" then
  54.                     v.CanCollide = false
  55.                 end
  56.             end
  57.         end
  58.     end)
  59. end
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement