Skip to content

Instantly share code, notes, and snippets.

View Joaoscript2014's full-sized avatar

Joaoscript2014

View GitHub Profile
-- Define as variáveis principais do Hub
local players = game:GetService("Players")
local player = players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local mouse = player:GetMouse()
-- Função para criar o GUI
local function criarGUI()
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui
-- Configuração inicial
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "CofreGUI"
-- Função para mostrar os jogadores com casas
local function mostrarJogadoresComCasa()
local menu = Instance.new("Frame", gui)
menu.Size = UDim2.new(0, 200, 0, 300)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "CofreGUI"
-- Botão principal
local btn = Instance.new("TextButton", gui)
btn.Size = UDim2.new(0, 150, 0, 40)
btn.Position = UDim2.new(0, 10, 0.3, 0)
btn.Text = "Roubar Cofre"
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
-- GUI principal
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "TubersGUI"
local frame = Instance.new("Frame", gui)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
-- GUI principal
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "TubersGUI"
local frame = Instance.new("Frame", gui)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
-- GUI principal
local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
gui.Name = "TubersGUI"
local frame = Instance.new("Frame", gui)
local ScreenGui = Instance.new("ScreenGui", game.Players.LocalPlayer:WaitForChild("PlayerGui"))
ScreenGui.Name = "ESP_Fly_GUI"
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 150, 0, 110)
Frame.Position = UDim2.new(0.05, 0, 0.2, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.Active = true
Frame.Draggable = true
-- Serviços do Roblox
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
--[[
Configurações do ESP (padrões)
--]]
local espEnabled = true
local showBoxes = true
local showNames = true
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent")
local function sendGlobalMessage(message)
game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(message, "All")
end