Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Is There A Way To Make This Discord Script Any Better I don't know if there is?

Asked by
AIetheo 236 Moderation Voter
3 years ago

Heres The Script:

local http = game:GetService("HttpService")

game:GetService("Players").PlayerAdded:Connect(function(player)
    if not game:GetService("RunService"):IsStudio() then
        local date = os.date("!*t")
        local Data = {
            ["content"] = player.Name.." joined your game on "..date.month.."/"..date.day.."/"..date.year
        }
        Data = http:JSONEncode(Data)
        http:PostAsync("https://discordapp.com/api/webhooks/370381711340470272/yTxQDswCY3_vdHrUcQNea-HTAVFyj6jFaND_uSQwRb2zzGWo7B9TydkjppimQeZNXnnG", Data)
    end
end)

I'm just wondering if you could make this any better

1 answer

Log in to vote
-2
Answered by 3 years ago

Function ? What is it supposed to do ?

0
Should've been a comment awfulszn 359 — 3y
Ad

Answer this question