Advertisement
Ehieisaac123

Vinczi

Apr 10th, 2025
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.13 KB | None | 0 0
  1. -- Cassano Hub - Fight in a School Optimized
  2. local Players = game:GetService("Players")
  3. local player = Players.LocalPlayer
  4. local RunService = game:GetService("RunService")
  5.  
  6. -- GUI Setup
  7. local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  8. gui.Name = "CassanoHub"
  9.  
  10. -- Background
  11. local bg = Instance.new("ImageLabel", gui)
  12. bg.Size = UDim2.new(1, 0, 1, 0)
  13. bg.Position = UDim2.new(0, 0, 0, 0)
  14. bg.Image = "rbxassetid://11719621788"
  15. bg.ImageTransparency = 0.2
  16. bg.ZIndex = 0
  17.  
  18. -- Key Frame
  19. local KeyFrame = Instance.new("Frame", gui)
  20. KeyFrame.Size = UDim2.new(0, 300, 0, 200)
  21. KeyFrame.Position = UDim2.new(0.5, -150, 0.5, -100)
  22. KeyFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  23. KeyFrame.Active = true
  24. KeyFrame.Draggable = true
  25. Instance.new("UICorner", KeyFrame)
  26.  
  27. local KeyBox = Instance.new("TextBox", KeyFrame)
  28. KeyBox.PlaceholderText = "Enter Key..."
  29. KeyBox.Size = UDim2.new(0.8, 0, 0, 30)
  30. KeyBox.Position = UDim2.new(0.1, 0, 0.35, 0)
  31. KeyBox.Text = ""
  32. KeyBox.Font = Enum.Font.Gotham
  33. KeyBox.TextSize = 16
  34. KeyBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  35. KeyBox.TextColor3 = Color3.new(1, 1, 1)
  36.  
  37. local GetKeyButton = Instance.new("TextButton", KeyFrame)
  38. GetKeyButton.Text = "Get Key"
  39. GetKeyButton.Size = UDim2.new(0.4, 0, 0, 30)
  40. GetKeyButton.Position = UDim2.new(0.1, 0, 0.65, 0)
  41. GetKeyButton.Font = Enum.Font.Gotham
  42. GetKeyButton.TextSize = 14
  43. GetKeyButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  44. GetKeyButton.TextColor3 = Color3.new(1, 1, 1)
  45. GetKeyButton.MouseButton1Click:Connect(function()
  46.     setclipboard("https://workink.net/1Z2m/r0bk16cn")
  47. end)
  48.  
  49. local CheckKeyButton = Instance.new("TextButton", KeyFrame)
  50. CheckKeyButton.Text = "Check Key"
  51. CheckKeyButton.Size = UDim2.new(0.4, 0, 0, 30)
  52. CheckKeyButton.Position = UDim2.new(0.5, 0, 0.65, 0)
  53. CheckKeyButton.Font = Enum.Font.Gotham
  54. CheckKeyButton.TextSize = 14
  55. CheckKeyButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  56. CheckKeyButton.TextColor3 = Color3.new(1, 1, 1)
  57.  
  58. -- Main Hub
  59. local HubFrame = Instance.new("Frame", gui)
  60. HubFrame.Size = UDim2.new(0, 600, 0, 400)
  61. HubFrame.Position = UDim2.new(0.5, -300, 0.5, -200)
  62. HubFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  63. HubFrame.Visible = false
  64. HubFrame.Active = true
  65. HubFrame.Draggable = true
  66. Instance.new("UICorner", HubFrame)
  67.  
  68. local Sections = {"Combat", "General", "Exploit", "Misc"}
  69. local Pages = {}
  70.  
  71. for i, sec in ipairs(Sections) do
  72.     local tab = Instance.new("TextButton", HubFrame)
  73.     tab.Size = UDim2.new(0, 140, 0, 25)
  74.     tab.Position = UDim2.new(0, (i - 1) * 145, 0, 30)
  75.     tab.Text = sec
  76.     tab.Font = Enum.Font.Gotham
  77.     tab.TextSize = 14
  78.     tab.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  79.     tab.TextColor3 = Color3.new(1, 1, 1)
  80.  
  81.     local page = Instance.new("ScrollingFrame", HubFrame)
  82.     page.Size = UDim2.new(1, -20, 1, -65)
  83.     page.Position = UDim2.new(0, 10, 0, 60)
  84.     page.CanvasSize = UDim2.new(0, 0, 10, 0)
  85.     page.ScrollBarThickness = 6
  86.     page.BackgroundTransparency = 1
  87.     page.Visible = sec == "Combat"
  88.     Pages[sec] = page
  89.  
  90.     Instance.new("UIListLayout", page)
  91.  
  92.     tab.MouseButton1Click:Connect(function()
  93.         for _, p in pairs(Pages) do p.Visible = false end
  94.         page.Visible = true
  95.     end)
  96. end
  97.  
  98. -- Key Check
  99. local correctKey = "cassano123"
  100. CheckKeyButton.MouseButton1Click:Connect(function()
  101.     if KeyBox.Text == correctKey then
  102.         KeyFrame.Visible = false
  103.         HubFrame.Visible = true
  104.     else
  105.         KeyBox.Text = ""
  106.         KeyBox.PlaceholderText = "Wrong key! Try again."
  107.     end
  108. end)
  109.  
  110. -- Feature Button Generator
  111. local function makeButton(name, section, callback)
  112.     local btn = Instance.new("TextButton")
  113.     btn.Size = UDim2.new(1, -10, 0, 30)
  114.     btn.Text = name
  115.     btn.Font = Enum.Font.Gotham
  116.     btn.TextSize = 14
  117.     btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  118.     btn.TextColor3 = Color3.new(1, 1, 1)
  119.     btn.Parent = Pages[section]
  120.     btn.MouseButton1Click:Connect(callback)
  121. end
  122.  
  123. -- Combat Features
  124. local function getClosestPlayer(range)
  125.     local closest, dist = nil, range
  126.     for _, plr in pairs(Players:GetPlayers()) do
  127.         if plr ~= player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  128.             local mag = (player.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).Magnitude
  129.             if mag < dist then
  130.                 closest = plr
  131.                 dist = mag
  132.             end
  133.         end
  134.     end
  135.     return closest
  136. end
  137.  
  138. makeButton("Kill Aura", "Combat", function()
  139.     local auraActive = true
  140.     RunService.RenderStepped:Connect(function()
  141.         if auraActive then
  142.             local target = getClosestPlayer(15)
  143.             if target and target.Character and target.Character:FindFirstChild("Humanoid") then
  144.                 target.Character.Humanoid:TakeDamage(25)
  145.             end
  146.         end
  147.     end)
  148. end)
  149.  
  150. makeButton("Farsing", "Combat", function()
  151.     print("Farsing enabled.")
  152. end)
  153.  
  154. makeButton("Always Equip Fists", "Combat", function()
  155.     if player.Character:FindFirstChildOfClass("Tool") then
  156.         player.Character:FindFirstChildOfClass("Tool"):Destroy()
  157.     end
  158. end)
  159.  
  160. makeButton("Weapon TP", "Combat", function()
  161.     for _, item in pairs(workspace:GetDescendants()) do
  162.         if item:IsA("Tool") then
  163.             item.Handle.CFrame = player.Character.HumanoidRootPart.CFrame
  164.         end
  165.     end
  166. end)
  167.  
  168. makeButton("Enable Style Changer", "Combat", function()
  169.     print("Style changer enabled.")
  170. end)
  171.  
  172. makeButton("Select Style: Jeet Kune Do", "Combat", function()
  173.     print("Style set to Jeet Kune Do.")
  174. end)
  175.  
  176. makeButton("Magnet Mode", "Combat", function()
  177.     for _, plr in pairs(Players:GetPlayers()) do
  178.         if plr ~= player and plr.Character then
  179.             local hrp = plr.Character:FindFirstChild("HumanoidRootPart")
  180.             if hrp then
  181.                 hrp.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2)
  182.             end
  183.         end
  184.     end
  185. end)
  186.  
  187. makeButton("Ignore Friends", "Combat", function()
  188.     print("Ignoring friends enabled")
  189. end)
  190.  
  191. makeButton("Attack Cooldown: 0.3", "Combat", function()
  192.     print("Cooldown set")
  193. end)
  194.  
  195.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement