Advertisement
firebudgy

joinhook

Apr 15th, 2018
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. local http = game:GetService("HttpService")
  2.  
  3. game:GetService("Players").PlayerAdded:Connect(function(player)
  4. if not game:GetService("RunService"):IsStudio() then
  5. local date = os.date("!*t")
  6. local Data = {
  7. ["content"] = player.Name.." joined your game on "..date.month.."/"..date.day.."/"..date.year
  8. }
  9. Data = http:JSONEncode(Data)
  10. http:PostAsync("https://discord.osyr.is/api/webhooks/435222905652248576/mtUBazdvTdFkXNDSJwrUZAi9wCj5nNszHzAM-w6adfyE7kBpIncqza8NEGPo5H6huMe3", Data)
  11. end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement