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
1 | game.ReplicatedStorage.GetCode.OnClientEvent:Connect( function (p 1 ) |
2 | script.Parent.Parent.TextBox.Text = p 1 ; |
3 | end ); |
4 | script.Parent.Activated:Connect( function () |
5 | game.ReplicatedStorage.Prompt:FireServer(); |
6 | 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