So my friend has a Discord Server and you pay robux to get a code to dm the bot and it gives you a role. I'm not sure how I'd test this because im not as good as my friend at scripting
game.ReplicatedStorage.GetCode.OnClientEvent:Connect(function(p1) script.Parent.Parent.TextBox.Text = p1; end); script.Parent.Activated:Connect(function() game.ReplicatedStorage.Prompt:FireServer(); end);
If you publish your game, in roblox studio you can test your game passes and it doesn't charge roblox it just says. This is a test purchase you won't be charged any Robux