Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.