Город МОСКОВСКИЙ
00:05:31

How to send Message(Data) across Servers in Roblox! (Roblox Studio Scripting Tutorial 2022)

Аватар
Игровые Аркады и Веселье
Просмотры:
71
Дата загрузки:
30.10.2023 00:56
Длительность:
00:05:31
Категория:
Видеоигры

Описание

If you guys need any help or want more videos you can join my discord and lemme know, don't forget to drop a like!

Join my new discord: https://discord.gg/KAjdEH3e3n
Join my new roblox group: https://www.roblox.com/groups/5821166/No-limit-Projects#!/about

send message script:

local MSG = game:GetService("MessagingService")

game.Players.PlayerAdded:Connect(function(plr)
MSG:PublishAsync("PlayerJoined", plr.Name.. " Has joined")
end)

receive message script:

local MSG = game:GetService("MessagingService")

MSG:SubscribeAsync("PlayerJoined", function(msg)
print(msg)
end)

Рекомендуемые видео