[Unlisted for privacy] [Unlisted for privacy] [Unlisted for privacy]
Hello! Can you send the server script?
You’re “problem” is much bigger, you need to learn the Client - Server model and how to communicate properly, it is vital for making any web application (like roblox games)
1 Like
It seems like there’s no communication between server and client.
Try to use a RemoteEvent, for example:
-- LocalScript (client)
local remote = <remote path>
local label = script.Parent
local keys = {
"test1",
"test2",
"test3"
}
local key = keys[math.random(#keys))
label.Text = 'Key:' .. key
remote:FireServer(key)
-- Script (server)
local remote = <remote path>
remote.OnServerEvent:Connect(function(player, key)
print(player.Name .. ' generated the key: ' .. key)
-- here you can send the webhook
end)
Just be careful, I don’t really understand what you’re trying to do, but an exploiter can manipulate the key.
Also, I would heavily recommend you to read the documentation or/and watch some videos about remotes
Have a nice week!