Print("Successfully sent a check to the server.")
Local pro = īutton.MouseButton1Click:connect(function() SendToDiscord(' promote '.player.Name.' Owns this gamepass!')Ĭlient (where your current script is): local button = script.Parent
If (game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 5694417)) then Remote.OnServerEvent:connect(function(player) Local http = game:GetService("HttpService") Local remote = Instance.new("RemoteEvent", game.ReplicatedStorage) Use this instead: -//Server Script in ServerScriptService:
You cannot send an HTTP request from client. SendToDiscord(." Owns this gamepass!")Įdit: Sorry for unfinished post earlier i accidentally posted. If game:GetService("MarketplaceService"):UserOwnsGamePassASync(plr, 5694417) then Local httpservice = game:GetService("HttpService") Server Script: function SendToDiscord(msg) Local remote = īutton.MouseButton1Click:Connect(function() Then add a LocalScript into the TextButton, put
This sub is operated by volunteers that aren't employed by Discord and does not function as an official support forum.You should get a ScreenGui and put it into StarterGui first, then in the ScreenGui add a TextButton and change its properties to whatever you like. If you're having an issue with Discord, please contact support. If you believe a user has violated ToS, please report them. This sub is for talking about Discord as a product, service, or brand in ways that don't break Discord's Terms of Service or Guidelines. Submitting there guarantees higher visibility from the people who can implement the suggestions.
To learn how to report them via the Discord Testers server, read this blog post for instructions! While feature requests and feedback inspire awesome discussions on the subreddit, we encourage sharing them with Discord directly via a Discord Feedback submission. Consider looking in the sidebar of subreddits you enjoy, reading the bios of your favorite content creators, or utilizing Server Discovery to find communities that are new to you!īug reports should be shared directly with Discord. Asking for or providing invites to non-official servers is not allowed. No advertising, self-promotion, spamming, selling or trying to buy accounts, trading, or nitro begging. Any NSFW or objectionable content will be removed.Ĥ. Questions about other services, bots, or servers should be directed at their specific support channels. This includes topics that others have recently posted, posts and screenshots of Discord that do not inspire active discussion, content that comes from meme generators, and things of this nature. Controversial topics of discussion unrelated to Discord are not welcome on this subreddit. Absolutely no harassment, witch-hunting, sexism, homophobia, racism, or hate speech will be tolerated. Keep it civil and respectful, and do not make personal attacks or use offensive language in addressing others. Discord is a voice, video and text communication service to talk and hang out with your friends and communities. NOTE: /r/discordapp is unofficial & community-run.