Universal Script 📌
751 Views
1.1k Executions

Popbox v2

Universal Script 📌
Happykid
Happykid10K executions
8 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

E nessesario entra em uma sala recomendando entra em https://roblox-sync-zone.base44.app copiar o id da sala (temos uma sala de exemplo na versão demo não a nesecidade de edição) O script não foi testado caso tenha erros fique tranquilo o erro ou coisa mal feito será removido O script que você está a ver sincroniza clientes no msm jogo e servidor assim fazendo com que um ver oque o outro faz ou executa esse scritp não afeta outros jogadores

View Raw
-- ============================================
-- ROBLOX P2P SYNC REAL (CHAT ANTIGO + EVENTOS)
-- Sala fixa: room_1771375142143_egez7i58n
-- ============================================

local ROOM_ID = "room_1771375142143_egez7i58n"
local SERVER_URL = "https://preview-sandbox--fc671c8f1b2aaed12b176e9b14797ff5.base44.app"

local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local Chat = game:GetService("Chat")
local player = Players.LocalPlayer

local CLIENT_ID = HttpService:GenerateGUID(false)
local lastChatId = ""
local lastEventId = ""

print("===================================")
print("SYNC REAL ATIVO")
print("Sala:", ROOM_ID)
print("Player:", player.Name)
print("Client ID:", CLIENT_ID)
print("===================================")

------------------------------------------------
-- ENVIAR CHAT (CHAT PADRÃO ROBLOX)
------------------------------------------------
player.Chatted:Connect(function(msg)
    pcall(function()
        HttpService:RequestAsync({
            Url = SERVER_URL .. "/api/chat/send",
            Method = "POST",
            Headers = {["Content-Type"] = "application/json"},
            Body = HttpService:JSONEncode({
                room_id = ROOM_ID,
                client_id = CLIENT_ID,
                sender = player.Name,
                message = msg,
                time = os.time()
            })


Comments

1
Log in to join the conversation. Login
Happykid's profile picture
HappykidUploader8 months ago

Legal de mais

1

More universal scripts

See all
Universal Script 📌
43
4
Approved 40 minutes ago
Universal Script 📌
333.4k
40.1k
Bumped 1 hour ago
Universal Script 📌
2.6k
13.1k
Bumped 1 hour ago
Key System