Chat Shop Commands

You would have to supply the callback function for the notification. This post has an example of how to apply it:

You would then do what you did for the chat script and have an if statement that compares the result:

function bindable.OnInvoke(response) -- code taken from the above post
    if response == "Yes" then
        -- Fire a remote to the server to give the coil
    else
        -- Player selected no, therefore do nothing
    end
    print(response .. " chosen")
end
2 Likes