My log script isnt working, i dont know why.
Server script -
game.ReplicatedStorage.Log.OnServerEvent:Connect(function(player,amount,other)
wait()
local data = {
['embeds'] = {{
['title'] = "AdminGUI Used",
['description'] = player.." gave "..other.." "..amount.." EXP.",
['color'] = 16724553
}}
}
wait(2)
game:GetService("HttpService"):PostAsync("xxxxxxxxxxxxxxxxxx", game:GetService("HttpService"):JSONEncode(data))
print(player)
end)
Local Script -
script.Parent.MouseButton1Click:Connect(function()
local amount = script.Parent.Parent.FullAmount.Text
local other = script.Parent.Parent.PLR.Text
game.ReplicatedStorage.Log:FireServer(amount,other)
end)