localscript:
game.ReplicatedStorage.Appointment:FireServer(script.Parent.Parent.Parent.Parent.Info.MeetingWith.Value,script.Parent.Parent.Parent.Parent.Info.Reason.Value,script.Parent.Parent.Parent.Parent.Info.Urgent.Value)
serverscript:
game.ReplicatedStorage.Appointment.OnServerEvent:Connect(function(plr,meetingwith,reason,urgency)
local http = game:GetService("HttpService")
local Data = {
["content"] = "User: "..plr.Name.."\nRequesting: "..tostring(meetingwith).."\nReason: "..tostring(reason).."\nUrgency: "..tostring(urgency)
}
Data = http:JSONEncode(Data)
http:PostAsync("", Data)
end)
discord message: